/* The opening chapter. Every colour belongs to this theme layer. */
.hero-story {
  --hero-cream: #faf8ef;
  --hero-paper: #f2f0e5;
  --hero-edge: #7f9188;
  --hero-glass: #17231f;
  --hero-shadow: rgb(5 18 14 / 33%);
  --hero-reflection: rgb(255 255 240 / 24%);
  --hero-hairline: rgb(243 245 224 / 20%);
  --hero-soft-ink: rgb(32 45 44 / 14%);
  --hero-orbit: #43614f;
}
.hero-intro { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(15rem,.7fr); gap:3rem; align-items:end; padding-block:3.3rem 2.8rem; }
.hero-intro .eyebrow { margin-bottom:1.2rem; }
.hero-intro h1 { font-size:clamp(2.8rem,4.8vw,4.65rem); line-height:1.04; letter-spacing:-.058em; max-width:17ch; }
.hero-intro h1 span,.hero-intro h1 em { display:block; }
.hero-intro h1 em { margin-top:.08em; }
.hero-invitation { padding-bottom:.3rem; }
.hero-invitation .waitlist-action { margin:0; }
.hero-invitation .email-note,.hero-invitation .quiet-note { font-size:.68rem; max-width:18rem; }
.hero-runway { width:min(calc(100% - 2rem),88rem); margin:auto; position:relative; }
.hero-stage { position:relative; min-height:600px; background:var(--stage-deep); border-radius:26px; overflow:clip; color:var(--on-dark); isolation:isolate; }
.hero-stage::before { content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(ellipse at 80% 30%,var(--hero-orbit),transparent 66%),linear-gradient(145deg,var(--stage),var(--stage-deep) 70%); opacity:.75; }
.hero-stage-grain { position:absolute; inset:0; opacity:.11; z-index:-1; background-image:repeating-linear-gradient(0deg,transparent 0 2px,var(--hero-hairline) 2px 3px); pointer-events:none; }
.hero-stage-brand { position:absolute; top:2.2rem; left:3.3rem; right:3.3rem; display:flex; align-items:center; gap:1rem; color:var(--dark-muted); font-size:.65rem; letter-spacing:.02em; }
.hero-brand-mark { font-size:1.5rem; color:var(--hero-cream); font-weight:500; letter-spacing:.06em; line-height:1; }
.hero-stage-brand>span:last-child { padding-left:1rem; border-left:1px solid var(--hero-hairline); }
.hero-scene-copy { padding:7rem 3rem; display:grid; gap:2rem; }
.hero-scene-kicker { color:var(--dark-muted); font-size:.65rem; text-transform:uppercase; letter-spacing:.12em; display:flex; align-items:center; gap:.7rem; margin-bottom:1.5rem; }
.hero-scene-kicker span { color:var(--lime); }
.hero-copy-panel h2 { font-size:clamp(2.3rem,4.8vw,4.6rem); max-width:12ch; line-height:1.04; letter-spacing:-.055em; font-weight:420; }
.hero-copy-panel h2 em { color:var(--lime); font-weight:420; }
.hero-scene-detail { color:var(--dark-muted); font-size:.94rem; line-height:1.8; margin-top:1.6rem; }
.hero-story-accessible { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.hero-art,.hero-chapter-progress { display:none; }
.hero-runway.is-enhanced { --scene-height:min(820px,calc(100svh - var(--header-height) - 24px)); height:calc(var(--scene-height) + 180svh); }
.is-enhanced .hero-stage { position:sticky; top:calc(var(--header-height) + 12px); height:var(--scene-height); min-height:0; }
.is-enhanced .hero-scene-copy { position:absolute; top:51%; left:5.4%; width:42%; padding:0; display:block; transform:translateY(-50%); }
.is-enhanced .hero-copy-panel { position:absolute; top:0; left:0; width:100%; transform:translateY(-50%); will-change:transform,opacity; }
.is-enhanced .hero-copy-panel:not(:first-child) { opacity:0; }
.is-enhanced .hero-art { display:block; position:absolute; width:57%; right:0; top:30px; bottom:75px; }
.hero-art-canvas { position:absolute; width:620px; height:620px; top:50%; left:50%; transform:translate(-50%,-50%) scale(var(--art-scale,1)); transform-origin:center; }
.hero-object-shadow { position:absolute; width:450px; height:130px; background:var(--hero-shadow); border-radius:50%; filter:blur(30px); bottom:5px; left:110px; transform:rotate(-8deg); }
.hero-device { position:absolute; width:274px; height:552px; left:0; top:0; border-radius:44px; padding:7px; background:linear-gradient(125deg,var(--hero-edge),var(--hero-glass) 27%,var(--hero-edge) 56%,var(--hero-glass) 80%); box-shadow:inset 0 0 0 1px var(--hero-reflection), 12px 25px 18px var(--hero-shadow), 30px 55px 75px var(--hero-shadow); will-change:transform; }
.hero-device-edge { position:absolute; left:-2px; top:125px; width:3px; height:58px; border-radius:4px; background:var(--hero-edge); }
.hero-device { z-index:10; }
.hero-device-edge::after { content:""; position:absolute; top:72px; width:3px; height:35px; border-radius:4px; background:var(--hero-edge); }
.hero-device-screen { position:relative; height:100%; overflow:hidden; border:2px solid var(--hero-glass); border-radius:37px; background:var(--hero-cream); padding:47px 18px 20px; }
.hero-device-island { position:absolute; top:11px; left:50%; transform:translateX(-50%); width:75px; height:20px; border-radius:15px; background:var(--hero-glass); }
.hero-device-brand { display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:600; font-size:15px; }
.hero-device-brand img { width:27px; border-radius:7px; }
.hero-people { display:flex; margin-left:auto; }
.hero-people i,.hero-avatar-pair i { display:block; width:23px; height:23px; border-radius:50%; background:var(--teal-soft); border:2px solid var(--hero-cream); }
.hero-people i+ i,.hero-avatar-pair i+i { margin-left:-8px; background:var(--sand); }
.hero-device-eyebrow { margin-top:25px; font-size:7px; letter-spacing:.12em; color:var(--teal); }
.hero-device-title { margin-top:8px; color:var(--ink); font-family:Fraunces,Georgia,serif; font-size:26px; line-height:1.13; letter-spacing:-.04em; }
.hero-device-title em { color:var(--teal); }
.hero-device-views { position:relative; height:226px; margin-top:24px; }
.hero-device-view { position:absolute; inset:0; border-radius:15px; padding:18px 15px; background:var(--warm); color:var(--ink); }
.hero-device-view:not(:first-child) { opacity:0; }
.hero-view-label { font-size:7px; letter-spacing:.12em; font-weight:600; }
.hero-device-view>p { font-family:Fraunces,Georgia,serif; font-size:21px; line-height:1.15; letter-spacing:-.035em; margin:12px 0 15px; color:inherit; }
.hero-device-row { display:flex; align-items:center; gap:8px; font-size:9px; padding:7px 0; border-top:1px solid var(--hero-soft-ink); }
.hero-device-row svg { width:14px; fill:none; stroke:var(--teal); stroke-width:1.5; }
.hero-device-reserve { background:var(--stage); color:var(--on-dark); }
.hero-device-reserve>p em { color:var(--lime); }
.hero-reserve-windows { display:flex; gap:5px; align-items:end; margin-top:23px; height:38px; }
.hero-reserve-windows i { background:var(--lime); border-radius:5px; width:33%; height:100%; }
.hero-reserve-windows i:nth-child(2) { height:75%; opacity:.7; }.hero-reserve-windows i:nth-child(3) { height:52%; opacity:.4; }
.hero-device-reserve>small { font-size:8px; margin-top:12px; display:block; color:var(--dark-muted); }
.hero-device-plans { background:var(--sand); }
.hero-device-bottom { display:flex; align-items:center; gap:8px; color:var(--teal); margin-top:20px; font-size:8px; }
.hero-avatar-pair { display:flex; }
.hero-avatar-pair i { width:21px; height:21px; }
.hero-device-home { position:absolute; bottom:9px; width:80px; height:4px; background:var(--ink); border-radius:6px; left:50%; transform:translateX(-50%); }
.hero-household-card { position:absolute; top:0; left:0; width:300px; height:355px; border-radius:19px; background:var(--hero-paper); color:var(--ink); padding:28px; box-shadow:0 0 0 1px var(--hero-reflection), 0 20px 25px var(--hero-shadow), 15px 40px 70px var(--hero-shadow); will-change:transform,opacity; }
.hero-household-card::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(125deg,var(--hero-reflection),transparent 40%); }
.hero-card-meta { display:flex; justify-content:space-between; align-items:center; font-size:8px; letter-spacing:.13em; font-weight:650; }
.hero-card-meta span+span { opacity:.5; font-weight:400; }
.hero-card-title { color:inherit; font-family:Fraunces,Georgia,serif; font-size:37px; line-height:1.06; letter-spacing:-.045em; margin-top:27px; }
.hero-card-rule { height:1px; background:var(--hero-soft-ink); margin:22px 0 12px; }
.hero-card-list { display:grid; gap:10px; font-size:12px; }.hero-card-list>span { display:flex; align-items:center; gap:11px; }.hero-card-list svg { width:16px; fill:none; stroke:var(--teal); stroke-width:1.5; }
.hero-card-signoff { display:flex; align-items:center; gap:9px; border-top:1px solid var(--hero-soft-ink); margin-top:20px; padding-top:15px; }
.hero-card-signoff small { font-size:8px; color:var(--muted); }
.hero-card-room { background:var(--lime); }
.hero-card-room .hero-card-title { font-size:35px; }
.hero-reserve-fold { position:relative; margin-top:22px; height:118px; }
.hero-reserve-fold>div { position:absolute; width:100%; height:48px; border-radius:9px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; font-size:10px; background:var(--hero-cream); border:1px solid var(--hero-soft-ink); box-shadow:0 8px 15px var(--hero-soft-ink); }
.hero-reserve-fold>div:first-child { top:0; transform:rotate(-3deg); }
.hero-reserve-fold>div:nth-child(2) { top:33px; background:var(--stage); color:var(--on-dark); transform:rotate(1deg); z-index:2; }
.hero-reserve-fold>div:nth-child(3) { top:66px; transform:rotate(-1deg); z-index:1; }
.hero-reserve-fold i { width:7px; height:7px; border-radius:50%; background:var(--teal); }.hero-reserve-fold>div:nth-child(2) i { background:var(--lime); }
.hero-card-footnote { display:block; margin-top:17px; font-size:8px; color:var(--muted); }
.hero-card-plans { background:var(--sand); }
.hero-plan-pages { margin-top:22px; position:relative; height:118px; }
.hero-plan-pages>div { position:absolute; background:var(--hero-cream); width:100%; height:50px; border-radius:8px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; border:1px solid var(--hero-soft-ink); font-size:12px; }
.hero-plan-pages>div:nth-child(1) { top:0; width:91%; left:4.5%; }.hero-plan-pages>div:nth-child(2) { top:34px; width:96%; left:2%; background:var(--teal-soft); }.hero-plan-pages>div:nth-child(3) { top:68px; background:var(--stage); color:var(--on-dark); }
.hero-plan-pages b { font-size:8px; font-weight:400; opacity:.6; }
.is-enhanced .hero-chapter-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:1.8rem; position:absolute; bottom:1.8rem; left:5.4%; right:5.4%; }
.hero-chapter-progress>div { display:grid; grid-template-columns:auto 1fr; gap:8px; align-items:center; font-size:.68rem; color:var(--dark-muted); }
.hero-chapter-progress span { font-size:.56rem; opacity:.7; }.hero-chapter-progress strong { font-weight:450; }.hero-chapter-progress i { grid-column:1/-1; display:block; height:2px; background:var(--hero-hairline); overflow:hidden; }.hero-chapter-progress b { display:block; background:var(--lime); height:100%; transform-origin:left; transform:scaleX(0); }.hero-chapter-progress .is-current { color:var(--lime); }
.hero-afterword { display:grid; grid-template-columns:3rem 1fr; gap:2rem; padding-block:3rem 4.5rem; max-width:58rem; }
.hero-afterword>span { font-size:2rem; color:var(--teal); }.hero-afterword p { font-size:1.05rem; line-height:1.85; }
.hero-in-focus .mobile-beta-bar { transform:translateY(150%); visibility:hidden; }
@media(max-width:1000px) {
  .hero-intro { grid-template-columns:1fr; text-align:center; gap:1.7rem; padding-block:2.5rem; }
  .hero-intro h1 { margin:auto; max-width:20ch; font-size:clamp(2.6rem,5.8vw,4.2rem); }
  .hero-invitation .waitlist-action { align-items:center; }.hero-invitation .email-note,.hero-invitation .quiet-note { max-width:none; }
  .hero-stage-brand { top:1.7rem; left:2rem; right:2rem; }
  .is-enhanced .hero-scene-copy { top:5.3rem; left:7%; width:86%; transform:none; text-align:center; }
  .is-enhanced .hero-copy-panel { transform:none; }
  .hero-copy-panel h2 { font-size:3.6rem; max-width:none; }.hero-copy-panel h2 br { display:none; }
  .hero-scene-kicker { justify-content:center; margin-bottom:1rem; }.hero-scene-detail { margin-top:1rem; font-size:.88rem; line-height:1.6; }
  .is-enhanced .hero-art { width:100%; top:260px; bottom:65px; }
}
@media(max-width:600px) {
  .hero-intro { padding-block:2rem 1.8rem; gap:1.4rem; }.hero-intro .eyebrow { font-size:.6rem; margin-bottom:1rem; }.hero-intro h1 { font-size:clamp(2.55rem,9vw,3.5rem); line-height:1.06; max-width:14ch; }
  .hero-invitation .button { font-size:.8rem; padding:.8rem 1.2rem; }.hero-invitation .email-note,.hero-invitation .quiet-note { font-size:.6rem; }
  .hero-runway { width:calc(100% - 1rem); }.hero-stage { border-radius:18px; }
  .hero-runway.is-enhanced { --scene-height:calc(100svh - var(--header-height) - 18px); height:calc(var(--scene-height) + 160svh); }.is-enhanced .hero-stage { top:calc(var(--header-height) + 8px); }
  .hero-stage-brand { top:1.2rem; left:1.4rem; right:1.4rem; font-size:.53rem; }.hero-brand-mark { font-size:1.2rem; }
  .is-enhanced .hero-scene-copy { top:4.4rem; left:7%; width:86%; }
  .hero-copy-panel h2 { font-size:clamp(2rem,8.3vw,2.8rem); line-height:1.05; }.hero-copy-panel h2 br { display:block; }.hero-scene-kicker { font-size:.56rem; margin-bottom:.8rem; }.hero-scene-detail { font-size:.72rem; line-height:1.65; margin-top:.8rem; }
  .is-enhanced .hero-art { top:225px; bottom:60px; }
  .is-enhanced .hero-chapter-progress { left:1.2rem; right:1.2rem; bottom:1.3rem; gap:.75rem; }.hero-chapter-progress>div { font-size:.53rem; gap:5px; }.hero-chapter-progress span { font-size:.45rem; }
  .hero-afterword { grid-template-columns:1fr; gap:.7rem; padding-block:2rem 3rem; }.hero-afterword p { font-size:.95rem; }.hero-afterword>span { font-size:1.5rem; }
}
@media(max-height:650px) and (min-width:601px) {
  .hero-runway.is-enhanced { --scene-height:calc(100svh - var(--header-height) - 12px); }
  .is-enhanced .hero-stage { top:calc(var(--header-height) + 6px); }
  .hero-stage-brand { top:1rem; left:1.8rem; font-size:.55rem; }.hero-brand-mark { font-size:1.2rem; }
  .is-enhanced .hero-scene-copy { top:52%; left:5%; width:44%; text-align:left; transform:translateY(-50%); }.is-enhanced .hero-copy-panel { transform:translateY(-50%); }
  .hero-copy-panel h2 { font-size:clamp(1.75rem,3.5vw,2.8rem); }.hero-copy-panel h2 br { display:block; }.hero-scene-kicker { justify-content:start; font-size:.52rem; margin-bottom:.7rem; }.hero-scene-detail { font-size:.65rem; line-height:1.6; margin-top:.8rem; }
  .is-enhanced .hero-art { width:52%; top:15px; bottom:42px; }
  .is-enhanced .hero-chapter-progress { bottom:.9rem; gap:1rem; }.hero-chapter-progress>div { font-size:.55rem; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-runway.is-enhanced { height:auto; }.is-enhanced .hero-stage { position:relative; top:0; height:auto; min-height:0; }
  .is-enhanced .hero-scene-copy { position:relative; inset:auto; width:auto; transform:none; display:grid; gap:2.5rem; text-align:left; padding:6rem 2rem 2.5rem; }
  .is-enhanced .hero-copy-panel { position:relative; opacity:1!important; transform:none!important; }
  .hero-scene-kicker { justify-content:start; }.hero-copy-panel h2 { font-size:2.5rem; }
  .is-enhanced .hero-art,.is-enhanced .hero-chapter-progress { display:none; }
}
