/* Atmo Orbit / Engine Editorial. Public pages only, not the editor chrome. */
.atmo-project-home.ph-engine {
  --ph-ink:#152d3a; --ph-muted:#536674; --ph-blue:#175fce; --ph-cyan:#166d7e;
  --ph-line:#ccd6d9; --ph-paper:#f7f8f5; --ph-surface:#fff; --ph-soft:#f4eee4;
  background:radial-gradient(ellipse at 85% 0,#cfdfec45,transparent 38%),#f7f8f5;
  color:var(--ph-ink); font-size:16px;
}
.ph-engine .ph-shell { max-width:1280px; width:calc(100% - 64px); }
.ph-engine .ph-header { background:#f7f8f5f5; border-color:var(--ph-line); }
.ph-engine .ph-header-row { min-height:76px; gap:24px; }
.ph-engine .ph-brand { font-size:22px; letter-spacing:-.04em; }
.ph-engine .ph-brand img { width:36px; height:36px; }
.ph-engine .ph-nav { font-size:13px; gap:22px; }
.ph-engine .ph-nav a { padding:8px 0; }
.ph-engine .ph-nav a:hover { text-decoration:underline; text-decoration-thickness:2px; }
.ph-engine .ph-eyebrow { font-size:13px; letter-spacing:.08em; line-height:1.6; }
.ph-engine .ph-button { border-radius:5px; min-height:44px; padding:11px 17px; box-shadow:none; font-size:14px; font-weight:700; gap:12px; }
.ph-engine .ph-button-primary { background:#175fce; border-color:#175fce; color:#fff; }
.ph-engine .ph-button-primary:hover { background:#114b9f; color:#fff; }
.ph-engine .ph-button-warm { background:#efe7db; border-color:#d3c1a8; color:#654019; }
.ph-engine h1,.ph-engine h2,.ph-engine h3 { text-wrap:balance; }
.ph-engine h2 { font-size:clamp(30px,3.7vw,48px); letter-spacing:-.04em; }
.ph-engine h3 { letter-spacing:-.025em; }
.ph-engine .ph-section { padding:72px 0; }
.ph-engine .ph-section-head { gap:20px; margin-bottom:30px; }
.ph-engine .ph-section-head > a { font-size:14px; font-weight:700; padding-bottom:8px; }
.ph-engine .ph-card { border-radius:6px; padding:26px; box-shadow:none; }
.ph-engine .ph-status { border-radius:3px; font-size:11px; }
.ph-engine .ph-tags { gap:0; font-size:12px; }
.ph-engine .ph-tags span { background:none; border:0; padding:0 12px; border-right:1px solid var(--ph-line); border-radius:0; }
.ph-engine .ph-tags span:first-child { padding-left:0; }
.ph-engine .ph-tags span:last-child { border-right:0; }
.ph-engine .ph-showcase { border-radius:10px; border-color:var(--ph-line); box-shadow:0 16px 40px #1a344b10; }
.ph-engine .ph-showcase-title { left:24px; bottom:22px; }
.ph-engine .ph-showcase .ph-showcase-title h2 { font-size:clamp(22px,2.8vw,38px); max-width:600px; }
.ph-engine .ph-showcase-label { border-radius:5px; }
.ph-engine .ph-showcase-art:after { inset:35% 0 0; }
.ph-engine .pe-portal-hero { padding:54px 0 0; }
.ph-engine .pe-masthead { display:grid; grid-template-columns:1.1fr 1fr; gap:58px; align-items:end; margin-bottom:36px; }
.ph-engine .pe-masthead h1 { font-size:clamp(44px,5.6vw,78px); line-height:1.04; letter-spacing:-.055em; margin:22px 0 4px; text-wrap:initial; }
.ph-engine .pe-masthead-copy { padding-bottom:4px; }
.ph-engine .pe-masthead-copy .ph-lead { font-size:22px; line-height:1.4; margin:0 0 14px; }
.ph-engine .pe-masthead-copy .ph-actions { margin:22px 0 12px; }
.ph-engine .pe-masthead-copy .ph-small { margin-bottom:0; }
.ph-engine .pe-portal-hero .ph-showcase-slide { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
.ph-engine .pe-portal-hero .ph-showcase-art { grid-column:1/-1; aspect-ratio:21/9; }
.ph-engine .pe-portal-hero .ph-showcase-code { grid-column:1; }
.ph-engine .pe-portal-hero .ph-showcase-note { display:flex; align-items:center; padding:24px; font-size:13px; border-top:1px solid var(--ph-line); }
.ph-engine .pe-product-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--ph-line); }
.ph-engine .pe-product-links a { display:flex; align-items:center; min-height:62px; border-right:1px solid var(--ph-line); padding:12px 18px; font-size:12px; font-weight:700; color:var(--ph-ink); text-decoration:none; }
.ph-engine .pe-product-links a:first-child { padding-left:0; }
.ph-engine .pe-product-links a:last-child { border-right:0; }
.ph-engine .pe-product-links a:hover { color:var(--ph-blue); background:#dbe8ee40; }
.ph-engine .ph-hub { border-top:0; }
.ph-engine .ph-hub-grid { gap:0; border-top:1px solid var(--ph-line); }
.ph-engine .ph-hub-card { border:0; border-bottom:1px solid var(--ph-line); border-right:1px solid var(--ph-line); border-radius:0; background:transparent; padding:26px; }
.ph-engine .ph-hub-card:nth-child(3n) { border-right:0; }
.ph-engine .ph-hub-card .ph-num { font-size:14px; font-weight:700; letter-spacing:.04em; }
.ph-engine .ph-hub-card h3 { font-size:23px; margin:18px 0 14px; }
.ph-engine .ph-hub-card > .ph-button { align-self:flex-start; padding:11px 16px; margin-top:16px; }
.ph-engine .ph-hub-more .ph-route-button { justify-content:flex-start; padding:14px 16px; min-height:64px; }
.ph-engine .ph-publication { background:none; border:0; border-top:1px solid var(--ph-line); border-radius:0; padding:22px 0; }
.ph-engine .ph-publication h3 { font-size:24px; line-height:1.2; }
.ph-engine .ph-publication p { font-size:15px; }
.ph-engine .ph-filters { gap:6px; }
.ph-engine .ph-filters button { border-radius:3px; font-size:12px; }
.ph-engine .pe-made-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.ph-engine .pe-made-grid article { min-width:0; }
.ph-engine .pe-made-image { background:#0c1623; border:1px solid #273c4b; aspect-ratio:2.1/1; overflow:hidden; }
.ph-engine .pe-made-image img { display:block; width:100%; height:100%; object-fit:contain; }
.ph-engine .pe-made-caption { display:flex; justify-content:space-between; align-items:start; gap:12px; margin-top:18px; }
.ph-engine .pe-made-caption h3 { font-size:24px; margin:6px 0; }
.ph-engine .pe-made-grid article > p { font-size:15px; margin-top:8px; }
.ph-engine .pe-project-state { font:10px/1.5 "Ubuntu Mono",monospace; text-transform:uppercase; color:var(--ph-muted); border:1px solid var(--ph-line); padding:4px 6px; white-space:nowrap; }
.ph-engine .pe-feature-list { border-top:1px solid var(--ph-line); }
.ph-engine .pe-feature-list article { display:grid; grid-template-columns:64px 1fr 1.2fr; gap:30px; align-items:start; padding:30px 0; border-bottom:1px solid var(--ph-line); }
.ph-engine .pe-feature-list article > span { font:22px/1.4 "Ubuntu Mono",monospace; color:var(--ph-cyan); }
.ph-engine .pe-feature-list h3 { font-size:28px; margin:0; }
.ph-engine .pe-feature-list p { margin:0 0 14px; }
.ph-engine .pe-feature-list a { font-size:14px; font-weight:700; }
.ph-engine .pe-desktop-band { display:grid; grid-template-columns:1.25fr 1fr; gap:70px; padding:48px; background:radial-gradient(ellipse at 90% 10%,#32647b50,transparent 60%),#142f42; color:#e7f3fc; }
.ph-engine .pe-desktop-band h2 { color:#f5faff; }
.ph-engine .pe-desktop-band p,.ph-engine .pe-desktop-band small { color:#bdd0df; }
.ph-engine .pe-desktop-band .ph-eyebrow,.ph-engine .pe-desktop-band a:not(.ph-button) { color:#b6e9f2; }
.ph-engine .pe-workflow { align-self:center; display:flex; flex-direction:column; gap:14px; padding:28px; border:1px solid #6e899b; background:#ffffff04; }
.ph-engine .pe-workflow > span { font:11px/1.5 "Ubuntu Mono",monospace; color:#b6d7e3; }
.ph-engine .pe-workflow strong { font-size:22px; }
.ph-engine .pe-workflow .pe-workflow-line { height:30px; width:1px; background:#83cddd; margin-left:4px; }
.ph-engine .pe-workflow p { font-size:13px; margin:0; }.ph-engine .pe-workflow small { font-size:12px; }
.ph-engine .pe-learning-paths { border-top:1px solid var(--ph-line); }
.ph-engine .pe-learning-paths > a { display:flex; flex-direction:column; gap:8px; padding:22px 0; border-bottom:1px solid var(--ph-line); text-decoration:none; }
.ph-engine .pe-learning-paths > a > span { font-size:12px; color:var(--ph-muted); }
.ph-engine .pe-learning-paths strong { font-size:20px; color:var(--ph-ink); line-height:1.25; }
.ph-engine .pe-learning-paths > a:hover strong { color:var(--ph-blue); }
.ph-engine [data-project-feed="roadmap"] { gap:0; }
.ph-engine [data-project-feed="roadmap"] .ph-card { border-radius:0; background:none; border:0; border-top:1px solid var(--ph-line); padding:24px 24px 24px 0; }
.ph-engine [data-project-feed="roadmap"] h3 { font-size:22px; }
.ph-engine [data-project-feed="roadmap"] p { font-size:14px; }
.ph-engine .ph-book { grid-template-columns:145px minmax(0,1fr); padding:20px 0; border-top:1px solid var(--ph-line); }
.ph-engine .ph-book-image { box-shadow:5px 8px 14px #153d5014; }
.ph-engine .ph-book-cover { min-height:0; }
.ph-engine .pe-final { padding-top:62px; padding-bottom:62px; }
.ph-engine .pe-final h2 { font-size:clamp(38px,5vw,64px); }
.ph-engine .ph-footer { background:#edf0ee; padding:34px 0; }
.ph-engine .ph-footer p { max-width:1000px; font-size:12px; }
.ph-engine .ph-footer-links a { font-size:13px; }
.ph-engine.ph-studio .ph-hero { padding:86px 0 48px; grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr); gap:42px; }
.ph-engine.ph-studio .ph-hero h1 { font-size:clamp(42px,5.2vw,72px); line-height:1.04; letter-spacing:-.05em; }
.ph-engine.ph-studio .ph-hero .ph-lead { font-size:19px; }
.ph-engine .pe-workbench-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--ph-line); border-bottom:1px solid var(--ph-line); }
.ph-engine .pe-workbench-strip > div { display:flex; flex-direction:column; gap:7px; padding:22px; border-right:1px solid var(--ph-line); }
.ph-engine .pe-workbench-strip > div:first-child { padding-left:0; }.ph-engine .pe-workbench-strip > div:last-child { border-right:0; }
.ph-engine .pe-workbench-strip span { color:var(--ph-cyan); font:11px/1.5 "Ubuntu Mono",monospace; }
.ph-engine .pe-workbench-strip strong { font-size:18px; }
body.atmo-theme-gray .ph-engine { --ph-ink:#243540; --ph-muted:#4e606b; --ph-line:#bac5c9; --ph-surface:#f3f5f4; --ph-soft:#e0e6e6; background:linear-gradient(150deg,#edf0ed,#e4e9e9); }
body.atmo-theme-dark .ph-engine { --ph-ink:#e5eef5; --ph-muted:#b8c9d8; --ph-line:#475b69; --ph-surface:#203747; --ph-soft:#293e48; --ph-blue:#8abaff; --ph-cyan:#85cbd4; background:radial-gradient(ellipse at 85% 0,#24495560,transparent 45%),#152a38; }
body.atmo-theme-dark .ph-engine .ph-footer { background:#102432; }
body.atmo-theme-dark .ph-engine .ph-button:not(.ph-button-primary) { color:#e3edf7; border-color:#658296; }
body.atmo-theme-dark .ph-engine .ph-button:not(.ph-button-primary):hover { background:#304c60; }
body.atmo-theme-dark .ph-engine .ph-button.ph-button-warm { background:#394750; color:#f3d5ab; border-color:#998465; }
@media(max-width:1100px) {
  .ph-engine .pe-masthead { gap:28px; }.ph-engine .pe-masthead h1 { font-size:clamp(40px,5.6vw,68px); }
  .ph-engine .pe-desktop-band { gap:30px; padding:32px; }.ph-engine .pe-feature-list article { gap:20px; grid-template-columns:42px 1fr 1.2fr; }
  .ph-engine.ph-studio .ph-hero { gap:26px; }
}
@media(max-width:1000px) {
  .ph-engine .ph-header-row { flex-wrap:wrap; padding:16px 0; gap:12px; min-height:72px; }
  .ph-engine .ph-button.ph-menu-toggle { display:inline-flex; }
  .ph-engine .ph-nav { width:100%; flex-direction:column; align-items:stretch; gap:0; }
  .ph-engine .ph-nav a { padding:10px 0; border-top:1px solid var(--ph-line); }
}
@media(max-width:800px) {
  .ph-engine .ph-shell { width:calc(100% - 40px); }
  .ph-engine .pe-masthead { grid-template-columns:minmax(0,1fr); gap:24px; }
  .ph-engine .pe-masthead h1 { font-size:clamp(42px,9vw,70px); margin-bottom:0; }
  .ph-engine .pe-masthead-copy .ph-lead { font-size:20px; }
  .ph-engine .pe-portal-hero { display:flex; flex-direction:column; gap:20px; }
  .ph-engine .pe-masthead,.ph-engine .pe-masthead-copy { display:contents; }
  .ph-engine .pe-masthead > div:first-child { order:0; }
  .ph-engine .pe-masthead-copy > .ph-actions { order:1; margin:0 0 8px; }
  .ph-engine .pe-portal-hero > .ph-showcase { order:2; width:100%; }
  .ph-engine .pe-masthead-copy > .ph-lead { order:3; margin:4px 0 0; }
  .ph-engine .pe-masthead-copy > p:not([class]) { order:4; margin:0; }
  .ph-engine .pe-masthead-copy > .ph-small { order:5; }
  .ph-engine .pe-product-links { order:6; }
  .ph-engine .pe-portal-hero .ph-showcase-slide { display:block; }
  .ph-engine .pe-portal-hero .ph-showcase-art { aspect-ratio:16/9; }
  .ph-engine .pe-portal-hero .ph-showcase-note { padding:10px 16px; font-size:11px; min-height:65px; }
  .ph-engine .pe-product-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ph-engine .pe-product-links a { min-height:52px; padding:12px; border-bottom:1px solid var(--ph-line); }
  .ph-engine .pe-product-links a:nth-child(2n) { border-right:0; }
  .ph-engine .pe-product-links a:nth-child(3) { padding-left:0; }
  .ph-engine .pe-desktop-band { grid-template-columns:minmax(0,1fr); }
  .ph-engine .pe-feature-list article { grid-template-columns:36px minmax(0,1fr); gap:14px; }
  .ph-engine .pe-feature-list article > div { grid-column:2; }
  .ph-engine .ph-hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ph-engine .ph-hub-card:nth-child(3n) { border-right:1px solid var(--ph-line); }
  .ph-engine .ph-hub-card:nth-child(2n) { border-right:0; }
  .ph-engine .pe-made-grid { grid-template-columns:minmax(0,1fr); gap:30px; }
  .ph-engine .ph-book { grid-template-columns:125px minmax(0,1fr); }
  .ph-engine .pe-workbench-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ph-engine .pe-workbench-strip > div:nth-child(2n) { border-right:0; }
  .ph-engine .pe-workbench-strip > div:nth-child(3) { padding-left:0; }
}
@media(max-width:760px) {
  .ph-engine .ph-section { padding:44px 0; }.ph-engine .pe-portal-hero { padding-top:34px; }
  .ph-engine.ph-studio .ph-hero { grid-template-columns:minmax(0,1fr); padding-top:78px; gap:14px; }
  .ph-engine.ph-studio .ph-hero h1 { font-size:clamp(40px,10vw,64px); }
  .ph-engine .ph-showcase-title { left:15px; bottom:14px; }
  .ph-engine .ph-showcase .ph-showcase-title h2 { font-size:clamp(20px,3.5vw,28px); }
  .ph-engine .ph-book-cover { padding:0; min-height:0; }
}
@media(max-width:540px) {
  .ph-engine .ph-shell { width:calc(100% - 32px); }
  .ph-engine .ph-hub-grid { grid-template-columns:minmax(0,1fr); }
  .ph-engine .ph-hub-card { padding:24px 0; border-right:0!important; }
  .ph-engine .pe-desktop-band { padding:28px 22px; }.ph-engine .pe-workflow { padding:20px; }
  .ph-engine .pe-made-caption { flex-direction:column; gap:6px; }
  .ph-engine .pe-project-state { align-self:start; }
  .ph-engine .ph-book { grid-template-columns:110px minmax(0,1fr); gap:16px; }
}
@media(max-width:360px) {
  .ph-engine .pe-masthead h1 { font-size:38px; }
  .ph-engine .pe-portal-hero .ph-showcase-note { min-height:74px; }
  .ph-engine .pe-product-links a { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .ph-engine * { scroll-behavior:auto!important; } }
