/* Homepage only. Keep the shared header, Studio and Admin styles independent. */
body.hp-body { margin:0; background:#03070c; color:#f3f5f8; font-family:"Satoshi","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.hp-main { --hp-width:1160px; --hp-gutter:clamp(20px,4vw,56px); --hp-muted:#b5bfcc; --hp-border:rgba(195,211,232,.22); --hp-section-space:clamp(48px,5vw,72px); --hp-visual-gap:clamp(24px,2.5vw,36px); --hp-control-time:180ms; --hp-control-bg:#14212d; --hp-control-edge:#788797; overflow-x:clip; }
.hp-main *, .hp-main *::before, .hp-main *::after { box-sizing:border-box; }
.hp-shell { width:min(var(--hp-width),calc(100% - var(--hp-gutter)*2)); margin-inline:auto; }
.hp-section { padding-block:var(--hp-section-space); border-bottom:1px solid var(--hp-border); scroll-margin-top:110px; }
.hp-editor { padding-top:clamp(88px,8vw,112px); background:radial-gradient(ellipse at 50% 45%,#091622 0%,transparent 68%); }
.hp-heading { text-align:center; max-width:860px; margin-inline:auto; }
.hp-eyebrow { margin:0 0 16px; color:#d5dfeb; font-size:11px; font-weight:700; letter-spacing:.28em; }
.hp-main h1,.hp-main h2,.hp-main h3,.hp-main p { text-wrap:pretty; }
.hp-main h1 { margin:0; font-size:clamp(40px,6.2vw,76px); line-height:1.08; letter-spacing:-.055em; }
.hp-main h1 span { color:#aebef6; }
.hp-main h2 { margin:0; font-size:clamp(30px,4vw,48px); line-height:1.14; letter-spacing:-.045em; }
.hp-subtitle { margin:12px 0 0; font-size:clamp(17px,2.2vw,24px); line-height:1.5; }
.hp-description { color:var(--hp-muted); margin:12px auto 0; max-width:600px; font-size:15px; line-height:1.65; }
.hp-actions { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px; margin-top:24px; }
.hp-button { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-height:44px; padding:11px 24px; border:1px solid var(--hp-control-edge); border-radius:999px; background:linear-gradient(160deg,#ffffff06,transparent 70%),var(--hp-control-bg); box-shadow:inset 0 1px 2px #ffffff14; color:#f5f7fa; font-family:inherit; font-size:14px; font-weight:600; text-decoration:none; transition:background-color var(--hp-control-time),border-color var(--hp-control-time); }
.hp-button-secondary { background:#111820; border-color:#596471; }
.hp-button:hover { background:#283744; border-color:#b1bdcb; }
.hp-button:active:not(:disabled) { background:#1b2a36; border-color:#c3cdd9; }
.hp-main :is(a,button):focus-visible,.hp-row:focus-visible { outline:3px solid #b3ceff; outline-offset:5px; }
.hp-artwork-slot { display:grid; place-items:center; }
.hp-projects { display:grid; grid-template-columns:1fr 1.7fr 1fr; align-items:center; gap:20px; margin-top:var(--hp-visual-gap); }
.hp-project { min-width:0; margin:0; }
.hp-project a { color:inherit; text-decoration:none; display:block; border-radius:12px; }
.hp-project img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border:1px solid var(--hp-border); border-radius:12px; }
.hp-project-side img { filter:brightness(.66); }
.hp-project figcaption { text-align:center; padding:14px 4px 0; line-height:1.5; }
.hp-project strong { font-size:16px; font-weight:500; display:block; }
.hp-project small { font-size:12px; color:var(--hp-muted); display:block; margin-top:4px; }
.hp-project a:hover img { border-color:#a7bbd3; }
.hp-skip { position:fixed; top:12px; left:16px; z-index:9999; transform:translateY(-160%); padding:12px 18px; background:#eef3fa; color:#07111e; border-radius:6px; }
.hp-skip:focus { transform:none; }
@media(max-width:760px) { .hp-projects { grid-template-columns:1fr 1fr; align-items:start; } .hp-project-featured { grid-column:1/-1; grid-row:1; } .hp-project-side img { filter:none; } .hp-main h1 { letter-spacing:-.04em; } }
@media(max-width:400px) { .hp-projects { gap:12px; } .hp-project strong { font-size:13px; } .hp-project small { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .hp-main *, .hp-main *::before, .hp-main *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

/* Homepage display hierarchy: explicit weights prevent legacy h1/h2 800 inheritance.
   Retain the public font stack; no application or shared navigation selectors. */
.hp-main {
  --hp-heading-weight-strong:600;
  --hp-heading-weight-standard:500;
  --hp-heading-tracking:-.035em;
  --hp-heading-leading:1.16;
}
.hp-main :is(#editorTitle,#workTitle,#libraryTitle,#studioTitle,#whyHeading,#closingHeading) {
  font-synthesis:none;
  font-weight:var(--hp-heading-weight-standard);
  letter-spacing:var(--hp-heading-tracking);
  line-height:var(--hp-heading-leading);
  text-wrap:balance;
}
.hp-main :is(#editorTitle,#workTitle,#closingHeading) { font-weight:var(--hp-heading-weight-strong); }
.hp-main #editorTitle { letter-spacing:-.04em; line-height:1.1; }
/* Section background shortcuts keep controls and selectable copy independent. */
.hp-main [data-section-shortcut] {cursor:pointer;}
.hp-main [data-section-shortcut] :is(h1,h2,h3,h4,p,strong,small) {cursor:text;}
.hp-main [data-section-shortcut] :is(.hp-studio-demo,.hp-why-stages,.hp-why-controls) {cursor:auto;}
