  @font-face { font-family: 'Geist'; src: url(/fonts/geist.woff2) format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
  @font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

  :root { --gold: #E8C77A; --mid: #a1a1a6; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scrollbar-gutter: stable; }
  html.locked { overflow: hidden; }
  html, body { background: #000; color: #f5f5f7; font-family: 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  body { overflow-x: hidden; }

  #hero { position: relative; }
  .stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }

  /* header: hidden until the visitor scrolls past the intro; the big logo docks into it */
  header { position: fixed; inset: 0 0 auto; z-index: 20; height: 56px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px); background: rgba(0,0,0,.5); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(-100%); }
  .mark { display: block; width: 84px; height: 27px; }       /* empty slot: the hero logo flies into it */
  header nav { display: flex; gap: 32px; font-size: 13px; color: #a1a1a6; }
  header nav a { color: inherit; text-decoration: none; transition: color .2s; }
  header nav a:hover { color: #fff; }
  .pill { font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; background: #f5f5f7; color: #000; text-decoration: none; }
  @media (max-width: 760px) { header nav { display: none; } }
  #sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

  /* logo lives in its native 1280x714 space, placed and scaled by JS */
  #logo { position: fixed; z-index: 21; left: 0; top: 0; width: 1280px; height: 714px; transform-origin: 0 0; pointer-events: none; }
  .piece { position: absolute; inset: 0; background: 0 0 / 1280px 714px no-repeat; opacity: 0; will-change: transform, opacity, filter; }
  #p { background-image: url(/logo/p.png); }
  #star { background-image: url(/logo/star.png); }
  #l { background-image: url(/logo/l.png); }
  #u { background-image: url(/logo/u.png); }
  #s { background-image: url(/logo/s.png); }
  #shine { position: absolute; inset: 0; opacity: 0;
    -webkit-mask: url(/logo/polus-logo.png) 0 0 / 1280px 714px no-repeat; mask: url(/logo/polus-logo.png) 0 0 / 1280px 714px no-repeat;
    background: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255,244,214,.95) 50%, transparent 60%, transparent 100%) no-repeat;
    background-size: 300% 100%; }

  .hint { position: absolute; left: 0; right: 0; bottom: max(28px, 4vh); display: grid; justify-items: center; gap: 10px;
    font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .32em; color: #e5e5ea; transition: opacity .8s; pointer-events: none; }
  .hint.off { opacity: 0; transition-duration: .3s; }
  .hint .ring { width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 14px; position: relative;
    box-shadow: 0 0 18px rgba(232,199,122,.25); }
  .hint .ring::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
    background: #fff; box-shadow: 0 0 8px rgba(232,199,122,.9); animation: wheel 1.8s cubic-bezier(.5,0,.3,1) infinite; }
  @keyframes wheel { 0% { transform: translateY(0); opacity: 0 } 20% { opacity: 1 } 80% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }
  .hint span { text-shadow: 0 0 12px rgba(0,0,0,.9); }
  #tag { position: absolute; left: 0; right: 0; text-align: center; padding: 0 20px; opacity: 0; will-change: opacity, transform; }
  #tag p { font-size: clamp(16px, 1.7vw, 21px); color: var(--mid); letter-spacing: -.01em; }

  .after-unused { min-height: 100vh; display: grid; place-items: center; color: #3a3a3d; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .2em; }

  /* ---------- chapters: one fixed screen, one scroll per chapter ---------- */
  :root { --g: clamp(20px, 6vw, 96px); --frame: max(var(--g), calc((100vw - 1360px) / 2)); --ease: cubic-bezier(.2,.7,.1,1); }
  .ch { position: fixed; inset: 0; z-index: 5; pointer-events: none; padding: 96px var(--frame) 88px; display: flex; flex-direction: column; justify-content: center; }
  .ch { visibility: hidden; }
  .ch.on, .ch.out { visibility: visible; }            /* only the current (and the leaving) chapter exist */
  .ch.on { pointer-events: auto; }
  .copy { width: min(640px, 50vw); }
  .meta { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .24em; color: var(--gold); margin-bottom: 22px; }
  .ch h2 { font-weight: 600; font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -.045em; }
  .ch h2 .soft { font-weight: 300; color: #8e8e93; letter-spacing: -.035em; }
  .lead { margin-top: 24px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: #a1a1a6; max-width: 46ch; }

  /* text moves line by line: in from below, out through the top */
  .ln { display: block; overflow: hidden; padding-bottom: .06em; }
  .ln > span { display: block; transform: translateY(105%); opacity: 0;
    transition: transform .95s var(--ease) calc(var(--i, 0) * 55ms), opacity .7s var(--ease) calc(var(--i, 0) * 55ms); }
  .ch.on .ln > span { transform: none; opacity: 1; }
  .ch.out .ln > span { transform: translateY(-105%); opacity: 0; transition-duration: .5s; transition-delay: calc(var(--i, 0) * 20ms); }

  .signals { list-style: none; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); max-width: 520px; }
  .signals li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .signals li > span { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; }
  .signals b { font-weight: 500; }
  .signals i { font-style: normal; color: #8e8e93; text-align: right; }

  .feats { list-style: none; margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
  .feats li > span { padding-left: 16px; position: relative; }
  .feats li > span::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(232,199,122,.8); }
  .feats b, .step b { display: block; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
  .feats i, .step i { display: block; font-style: normal; font-size: 14px; line-height: 1.45; color: #8e8e93; }

  /* process: labels are pinned to the constellation's stars by JS */
  .step { position: absolute; width: min(190px, 14vw); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .step.lit { opacity: 1; transform: none; }
  .step .n { display: block; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }

  /* pricing */
  #ch14 .copy { width: 100%; max-width: 1180px; }
  .plans { margin-top: 36px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
  .plan { padding: 24px 28px 0 0; }
  .plan + .plan { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
  .plan .lbl { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .2em; color: #8e8e93; }
  .plan.build .lbl { color: var(--gold); }
  .plan .amt { font-size: clamp(32px, 3.2vw, 48px); font-weight: 600; letter-spacing: -.045em; margin: 12px 0 6px; }
  .plan .amt small { font-size: 15px; font-weight: 400; color: #8e8e93; letter-spacing: 0; }
  .plan .note { font-size: 14px; line-height: 1.45; color: #a1a1a6; max-width: 34ch; }
  .plan ul { list-style: none; margin-top: 16px; display: grid; gap: 7px; font-size: 14px; color: #d2d2d7; }
  .plan li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin: 0 10px 2px 0; vertical-align: middle; }
  .fine { margin-top: 26px; font-size: 12px; color: #6e6e73; }
  .seg { display: none; }

  /* contact */
  #ch15 { align-items: center; text-align: center; justify-content: flex-end; padding-bottom: 12vh; }
  #ch15 .copy { width: min(720px, 100%); }
  #ch15 .lead { margin-left: auto; margin-right: auto; }
  .btn { display: inline-flex; align-items: center; height: 48px; padding: 0 28px; margin-top: 30px; border-radius: 999px; background: #f5f5f7; color: #000;
    font-size: 16px; font-weight: 500; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(232,199,122,.6); }
  .addr { display: block; margin-top: 16px; font-family: 'Geist Mono', monospace; font-size: 12px; color: #6e6e73; }
  .foot { opacity: 0; transition: opacity .6s .6s; }
  #ch15.on .foot { opacity: 1; }
  .foot { position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 11px; color: #48484a; }

  /* progress rail: the chapters as a small constellation on the right */
  .rail { position: fixed; right: clamp(14px, 2.5vw, 36px); top: 50%; transform: translateY(-50%); z-index: 15; display: grid; gap: 22px; opacity: 0; transition: opacity .6s; }
  .rail.show { opacity: 1; }
  .rail::before { content: ""; position: absolute; right: 5px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.14); }
  .rail::after { content: ""; position: absolute; right: 5px; top: 6px; width: 1px; height: calc(var(--fill, 0) * (100% - 12px)); background: var(--gold); box-shadow: 0 0 8px rgba(232,199,122,.8); transition: height .9s var(--ease); }
  .rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; cursor: pointer; color: #6e6e73;
    font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .2em; }
  .rail button span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
  .rail button:hover span, .rail button.on span { opacity: 1; transform: none; }
  .rail button.on { color: #f5f5f7; }
  .rail button i { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: #000; border: 1px solid rgba(255,255,255,.35); transition: all .4s; }
  .rail button.done i { border-color: var(--gold); }
  .rail button.on i { background: #fff; border-color: #fff; box-shadow: 0 0 12px 2px rgba(232,199,122,.7); }

  @media (max-aspect-ratio: 4/5) {
    .ch { justify-content: flex-end; padding: 80px 20px 96px; }
    .ch::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72%; background: linear-gradient(transparent, rgba(0,0,0,.82) 30%); z-index: -1; opacity: 0; transition: opacity .6s; }
    .ch.on::before { opacity: 1; }
    .copy { width: 100%; }
    .feats { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
    .feats i { font-size: 13px; }
    .signals li > span { font-size: 14px; flex-direction: column; gap: 2px; padding: 11px 0; }
    .signals i { text-align: left; }
    .step { width: calc(100vw - 96px); }
    .step b { margin-bottom: 1px; font-size: 14px; } .step i { font-size: 13px; } .step .n { margin-bottom: 3px; }
    .plans { grid-template-columns: 1fr; margin-top: 18px; border-top: 0; }
    .plan, .plan + .plan { padding: 0; border: 0; display: none; }
    .plan.show { display: block; }
    .seg { display: flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); width: fit-content; }
    .seg button { border: 0; background: none; color: #a1a1a6; font: 500 13px 'Geist', sans-serif; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
    .seg button.on { background: #f5f5f7; color: #000; }
    .rail { display: none; }
    #ch15 { padding-bottom: 14vh; }
  }
  @media (max-aspect-ratio: 4/5) and (max-height: 700px) {
    .feats i, .lead { display: none; }
    .ch h2 { font-size: 30px; }
    .meta { margin-bottom: 12px; }
    .step .n { display: none; }
    .step i { font-size: 12px; line-height: 1.35; }
    .plan .note { display: none; }
    .plan .amt { margin: 6px 0 2px; font-size: 30px; }
    .plan ul { gap: 4px; margin-top: 10px; font-size: 13px; }
    .seg { margin-top: 14px; }
    .fine { margin-top: 14px; font-size: 11px; }
  }

  /* chapter 1: the fix, with before/after dials */
  #ch1 .lead { color: #c7c7cc; font-size: clamp(16px, 1.3vw, 19px); }
  .fix { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(232,199,122,.35); }
  .fix .meta { margin-bottom: 10px; }
  .fixline { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; max-width: 30ch; }
  .gauges > span { display: flex !important; gap: clamp(20px, 2.6vw, 40px); margin-top: 22px; }
  .gauge { display: grid; justify-items: start; gap: 4px; }
  .gauge .ring { position: relative; width: clamp(64px, 5.6vw, 84px); aspect-ratio: 1; margin-bottom: 8px; }
  .gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
  .gauge circle { fill: none; stroke-width: 4; }
  .gauge .trk { stroke: rgba(255,255,255,.1); }
  .gauge .val { stroke: #f5f5f7; stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 276.5; }
  .gauge.done .val { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(232,199,122,.7)); }
  .gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(20px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.03em; }
  .gauge .gl { font-size: 13px; color: #d2d2d7; }
  .gauge .was { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .1em; color: #6e6e73; }
  .src { margin-top: 18px; font-size: 11px; color: #6e6e73; }
  @media (max-aspect-ratio: 4/5) {
    #ch1 { padding-bottom: 28px; }
    #ch1::before { display: none; }
    .fix { margin-top: 18px; padding-top: 14px; }
    .gauges > span { margin-top: 12px; }
    .gauge .ring { width: 56px; margin-bottom: 4px; }
  }
  @media (max-aspect-ratio: 4/5) and (max-height: 700px) {
    .fixline { font-size: 15px; } .src { margin-top: 8px; }
    #ch2 .pillars i { display: none; }
    .pillars li > span { align-items: center; }
    #ch2 .fix { margin-top: 14px; padding-top: 12px; }
    .gauge .ring { width: 50px; }
  }

  /* chapter 1 on wide screens: full-width copy that bends around the globe */
  @media (min-aspect-ratio: 4/5) {
    #ch1 { justify-content: flex-start; padding-top: max(92px, 11vh); }   /* copy rides the globe's upper curve */
    #ch1 .copy { width: 100%; }
    #ch1 h2 { line-height: .98; }
    #ch1 h2 > .ln { width: max-content; white-space: nowrap; }
    #ch1 .lead { max-width: 44ch; }
  }

  @media (min-aspect-ratio: 4/5) and (max-height: 760px) {
    #ch1 .lead { margin-top: 14px; font-size: 15px; }
    .fix { margin-top: 18px; padding-top: 14px; }
    .gauges > span { margin-top: 12px; }
    .gauge .ring { width: 58px; margin-bottom: 4px; }
    .src { margin-top: 10px; }
  }

  /* chapter 2: three fixes, one per problem */
  .pillars { list-style: none; margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 760px; }
  .pillars svg { width: 30px; height: 30px; fill: none; stroke: #f5f5f7; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; display: block; }
  .pillars svg .g { stroke: var(--gold); }
  .pillars b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 6px; }
  .pillars i { display: block; font-style: normal; font-size: 14px; line-height: 1.45; color: #a1a1a6; }


  @media (max-aspect-ratio: 4/5) {
    #ch2 .copy { width: 100%; }
    .pillars { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
    .pillars li > span { display: grid !important; grid-template-columns: 26px 1fr; column-gap: 12px; }
    .pillars svg { width: 24px; height: 24px; margin: 0; grid-row: span 2; }
    .pillars b { font-size: 15px; margin-bottom: 1px; } .pillars i { font-size: 13px; }
  }

  /* chapter 1: the three problems shown, not described */
  .ch .copy > .meta { font-size: 15px; letter-spacing: .22em; margin-bottom: 26px; }
  .leaks { display: grid; grid-template-columns: 1fr; margin-top: 30px; max-width: 560px; }
  .leak { display: grid; grid-template-columns: clamp(110px, min(14vw, 17vh), 200px) 1fr; align-items: center; gap: clamp(20px, 2.4vw, 36px); padding: clamp(10px, 1.6vh, 18px) 0; border-top: 1px solid rgba(255,255,255,.1); }
  .leaks > .ln:last-child .leak { border-bottom: 1px solid rgba(255,255,255,.1); }
  /* sub-steps: revealed one per scroll inside the chapter */
  .ln.stp { overflow: visible; will-change: transform; }
  .ch.on .ln.stp > span { transform: none; opacity: 1; transition: none; }
  .leak svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .leak .s { stroke: #f5f5f7; stroke-width: 1.5; }
  .leak .d { stroke: #55555a; stroke-width: 1.5; }
  .leak .gold { stroke: var(--gold); stroke-width: 1.8; }
  .leak .dash { stroke-dasharray: 4 4; animation: blink 1.8s ease-in-out infinite; }
  .leak text { fill: var(--gold); stroke: none; font: 8px 'Geist Mono', monospace; letter-spacing: .12em; text-anchor: middle; animation: blink 1.8s ease-in-out infinite; }
  .leak .spin { transform-box: fill-box; transform-origin: center; animation: spin 1.1s linear infinite; }
  .leak .bar { fill: var(--gold); transform-box: fill-box; transform-origin: left; animation: crawl 3.4s ease-in-out infinite; }
  .leak .over { animation: slide 2.8s ease-in-out infinite alternate; }
  .leak .tap { animation: blink 1.4s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .25; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes crawl { 0% { transform: scaleX(0); opacity: 1 } 55% { transform: scaleX(.3) } 88% { transform: scaleX(.33); opacity: 1 } 100% { transform: scaleX(.33); opacity: 0 } }
  @keyframes slide { to { transform: translateX(-22px); } }
  .leak figcaption { margin: 0; }
  .leak b { display: block; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.01em; }
  .leak i { display: block; font-style: normal; font-size: clamp(14px, 1.1vw, 16px); color: #a1a1a6; margin-top: 4px; }
  .leakline { margin-top: 30px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; color: var(--gold); }
  @media (max-aspect-ratio: 4/5) {
    .ch .copy > .meta { font-size: 13px; margin-bottom: 14px; }
    .leaks { margin-top: 16px; }
    .leak { grid-template-columns: 84px 1fr; gap: 16px; padding: 8px 0; }
    .leak b { font-size: 15px; } .leak i { font-size: 13px; }
    .leakline { margin-top: 18px; font-size: 15px; }
  }

  /* ---------- story scenes: every scroll swaps the whole screen ---------- */
  .ln > span { transition-duration: .7s, .5s; }
  /* each scene has its own way of arriving */
  .ch[data-fx="type"] h2 .ln > span { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .75s steps(16) calc(var(--i) * 120ms), opacity .2s; }
  .ch[data-fx="type"].on h2 .ln > span { clip-path: inset(0 0 0 0); }
  .ch[data-fx="type"] h2 .ln:first-child > span::after { content: ""; display: inline-block; width: .06em; height: .8em; margin-left: .06em; background: var(--gold); vertical-align: -.05em; animation: caret .9s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }
  .ch[data-fx="blur"] .ln > span { transform: scale(1.06); filter: blur(14px); transition: transform .9s var(--ease) calc(var(--i) * 70ms), opacity .7s calc(var(--i) * 70ms), filter .9s var(--ease) calc(var(--i) * 70ms); }
  .ch[data-fx="blur"].on .ln > span { transform: none; filter: none; }
  .ch[data-fx="slide"] .ln > span { transform: translateX(70px); transition: transform .7s cubic-bezier(.2,.9,.2,1.15) calc(var(--i) * 60ms), opacity .4s calc(var(--i) * 60ms); }
  .ch[data-fx="slide"].on .ln > span { transform: none; }
  .ch[data-fx="slide"].out .ln > span { transform: translateX(-70px); }
  .ch[data-fx="lean"] .ln > span { transform: translateY(110%) skewY(7deg); transform-origin: left; }
  .ch[data-fx="lean"].on .ln > span { transform: none; }
  .ch[data-fx="snap"] .ln > span { transform: scale(.86) translateY(30%); transform-origin: left bottom; transition: transform .6s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * 50ms), opacity .3s calc(var(--i) * 50ms); }
  .ch[data-fx="snap"].on .ln > span { transform: none; }
  .ch .lead { color: #c7c7cc; }
  .ch[data-fx] .copy { width: min(600px, 48vw); }
  #ch9 .copy { width: min(820px, 70vw); }
  #ch9 .gauges > span { gap: clamp(28px, 4.5vw, 72px); margin-top: 40px; }
  #ch9 .gauge .ring { width: clamp(92px, 10vw, 150px); }
  #ch9 .gauge b { font-size: clamp(28px, 3vw, 46px); }
  #ch9 .gauge .gl { font-size: 15px; }
  #ch9 .src { margin-top: 26px; font-size: 12px; }

  /* the art stage */
  #art { position: fixed; z-index: 4; pointer-events: none; right: max(clamp(24px, 11vw, 190px), calc(var(--frame) - 150px)); top: 50%; width: min(44vw, 720px); aspect-ratio: 320 / 220; transform: translateY(-46%); }
  .art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0; visibility: hidden; transform: scale(.92) translateY(14px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .5s; }
  .art.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .28s, transform .8s var(--ease) .28s, visibility 0s; }
  .art .s { stroke: #f5f5f7; stroke-width: 1.6; }
  .art .d { stroke: #55555a; stroke-width: 1.6; }
  .art .gold { stroke: var(--gold); stroke-width: 1.8; }
  .art .fillg { fill: rgba(232,199,122,.12); }
  .art text { stroke: none; }
  .art .q { fill: #8e8e93; font: 12px 'Geist', sans-serif; }
  .art .q.mid { text-anchor: middle; }
  .art .t { fill: var(--gold); font: 10px 'Geist Mono', monospace; letter-spacing: .14em; text-anchor: middle; }
  .art .t.start { text-anchor: start; } .art .t.dim { fill: #f5f5f7; font-size: 12px; }
  .art * { transform-box: fill-box; }
  .art .blink, .art .dash, .art .dash + text { animation: blink 1.6s ease-in-out infinite; }
  .art .dash { stroke-dasharray: 5 5; }
  /* 2: results drop in from the top, your slot is missing */
  .art.on .row { animation: dropIn .55s var(--ease) both; animation-delay: calc(var(--k) * 90ms + .35s); }
  @keyframes dropIn { from { transform: translateY(-16px); opacity: 0; } }
  /* 3: flickers on, spins, stalls */
  .art[data-s="3"].on { animation: flicker .8s steps(1) both .3s; }
  @keyframes flicker { 0% { opacity: 0 } 15% { opacity: .7 } 25% { opacity: .1 } 45% { opacity: .9 } 55% { opacity: .3 } 70%, 100% { opacity: 1 } }
  .art .spin { transform-origin: center; animation: spin 1.1s linear infinite; }
  .art .bar { fill: var(--gold); transform-origin: left; animation: crawl 3.6s ease-in-out infinite; }
  /* 4: the phone tips in, content spills off the screen, taps miss */
  .art.on .phone { transform-origin: center; animation: tipIn .9s cubic-bezier(.2,.9,.25,1.2) both .3s; }
  @keyframes tipIn { from { transform: rotate(-16deg) translateX(-40px) scale(.9); opacity: 0; } }
  .art .over { animation: slide 2.6s ease-in-out infinite alternate; }
  .art .tap { animation: blink 1.3s ease-in-out infinite; }
  .art .miss { stroke: #8e8e93; stroke-width: 1.2; stroke-dasharray: 3 4; transform-origin: center; animation: miss 1.8s ease-out infinite; }
  @keyframes miss { 0% { transform: scale(.3); opacity: 0 } 30% { opacity: 1 } 100% { transform: scale(1.6); opacity: 0 } }
  /* 6: your business climbs from 5th to 1st */
  .art.on .you { animation: climb 1.2s cubic-bezier(.2,.8,.2,1) both .55s; }
  .art.on .shift { animation: shift 1.2s cubic-bezier(.2,.8,.2,1) both .55s; }
  @keyframes climb { from { transform: translateY(128px); } }
  @keyframes shift { from { transform: translateY(-32px); } }
  .art.on .you rect { animation: glowUp 1.4s ease both 1.6s; }
  @keyframes glowUp { 50% { fill: rgba(232,199,122,.35); } }
  /* 7: the bar zips to full, the page pops in, a tick draws */
  .art .barfull { fill: var(--gold); transform-origin: left; transform: scaleX(0); }
  .art.on .barfull { animation: zip .5s cubic-bezier(.5,0,.1,1) both .4s; }
  @keyframes zip { to { transform: scaleX(1); } }
  .art .pop { opacity: 0; }
  .art.on .pop { animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(.85s + var(--k) * 70ms); }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { opacity: 1; } }
  .art .check { stroke-dasharray: 14; stroke-dashoffset: 14; }
  .art.on .check { animation: draw .4s ease both 1.4s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  /* 8: a message flies from the button to the inbox */
  .art .btn { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 8% { transform: scale(.93); } 16% { transform: scale(1); } }
  .art.on .env { animation: fly 2.4s cubic-bezier(.4,0,.2,1) infinite .5s; opacity: 0; }
  @keyframes fly { 0% { transform: translate(140px, 166px) scale(.5); opacity: 0 } 12% { opacity: 1 } 50% { transform: translate(215px, 96px) scale(1.05) rotate(-8deg) } 82% { transform: translate(271px, 152px) scale(.7); opacity: 1 } 90%, 100% { transform: translate(271px, 160px) scale(.5); opacity: 0 } }
  .art .badge circle { fill: var(--gold); stroke: none; } .art .badge text { fill: #000; font: 600 11px 'Geist', sans-serif; text-anchor: middle; }
  .art .badge { transform-origin: center; transform: scale(0); }
  .art.on .badge { animation: badge 2.4s ease infinite .5s; }
  @keyframes badge { 0%, 80% { transform: scale(0); } 88% { transform: scale(1.25); } 94%, 100% { transform: scale(1); } }

  @media (max-aspect-ratio: 4/5) {
    #art { left: 20px; right: 20px; top: 72px; width: auto; height: 34vh; aspect-ratio: auto; transform: none; }
    .ch[data-fx] .copy, #ch9 .copy { width: 100%; }
    #ch9 .gauges > span { gap: 18px; margin-top: 24px; }
    #ch9 .gauge .ring { width: 76px; }
    #ch9 .gauge b { font-size: 24px; }
  }

  /* ---------- enquiry: always-visible button + intake form ---------- */
  .pill-slot { width: 118px; }
  #tag { pointer-events: none; }                    /* made clickable by dock() once the tagline is showing */
  .cta-top { position: fixed; top: 11px; right: clamp(16px, 4vw, 48px); z-index: 30; height: 34px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--gold); color: #000; font: 600 13px 'Geist', sans-serif; box-shadow: 0 0 0 0 rgba(232,199,122,.5);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .6s, transform .6s var(--ease), box-shadow .4s; }
  .cta-top.show { opacity: 1; transform: none; pointer-events: auto; animation: ctaGlow 3.2s ease-in-out infinite 1s; }
  .cta-top:hover { box-shadow: 0 8px 30px -8px rgba(232,199,122,.8); }
  @keyframes ctaGlow { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(232,199,122,0); } 35% { box-shadow: 0 0 0 7px rgba(232,199,122,.16); } }
  .cta-hero { margin-top: 26px; height: 50px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer; background: var(--gold); color: #000;
    font: 600 16px 'Geist', sans-serif; transition: transform .4s var(--ease), box-shadow .4s; }
  .cta-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(232,199,122,.8); }
  .cta-hero span { display: inline-block; transition: transform .3s; } .cta-hero:hover span { transform: translateX(4px); }
  .btn.gold { background: var(--gold); border: 0; cursor: pointer; font-family: 'Geist', sans-serif; }

  .modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.86); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
    opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; overflow: hidden auto; overscroll-behavior: contain; }
  .modal.open { opacity: 1; visibility: visible; transition: opacity .45s; }
  .modal .x { position: fixed; top: 14px; right: clamp(16px, 4vw, 48px); z-index: 2; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .modal .x span { position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: #f5f5f7; transition: transform .4s var(--ease), background .2s; }
  .modal .x span:first-child { transform: rotate(45deg); } .modal .x span:last-child { transform: rotate(-45deg); }
  .modal .x:hover span { background: var(--gold); } .modal .x:hover span:first-child { transform: rotate(135deg); } .modal .x:hover span:last-child { transform: rotate(45deg); }
  .sheet { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(84px, 12vh, 120px) var(--g) clamp(40px, 8vh, 80px); max-width: 1180px; }
  .sheet .meta { margin-bottom: 18px; }
  .sheet h3 { font-size: clamp(15px, 1.2vw, 17px); font-weight: 400; color: #8e8e93; letter-spacing: 0; margin-bottom: clamp(18px, 3vh, 30px); }
  /* lines rise in when the form opens */
  .enq-ln { overflow: hidden; }
  .enq-ln > span { display: block; transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .6s; }
  .modal.open .enq-ln > span { transform: none; opacity: 1; }
  .modal.open .enq-ln:nth-of-type(1) > span { transition-delay: .08s; } .modal.open .enq-ln:nth-of-type(2) > span { transition-delay: .14s; }
  .madlib .enq-ln:nth-child(1) > span { transition-delay: .2s; } .madlib .enq-ln:nth-child(2) > span { transition-delay: .27s; }
  .madlib .enq-ln:nth-child(3) > span { transition-delay: .34s; } .madlib .enq-ln:nth-child(4) > span { transition-delay: .41s; }
  .modal.open .more > span { transition-delay: .48s; } .modal.open .foot-row > span { transition-delay: .55s; }
  .madlib p { font-size: clamp(24px, 3.1vw, 46px); font-weight: 500; line-height: 1.5; letter-spacing: -.03em; color: #f5f5f7; }
  .madlib p > span { padding-bottom: .08em; }
  .madlib input { font: inherit; letter-spacing: inherit; color: var(--gold); background: none; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.28); border-radius: 0;
    padding: 0 .1em; margin: 0 .08em; outline: none; min-width: 3ch; max-width: 100%; transition: border-color .25s; }
  .madlib input::placeholder { color: #48484a; }
  .madlib input:focus { border-bottom-color: var(--gold); }
  .madlib input.bad { border-bottom-color: #ff9f8a; }
  .tg { position: relative; cursor: pointer; white-space: nowrap; }
  .tg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .tg span { color: #6e6e73; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: color .25s; }
  .tg span::after { content: ""; display: inline-block; width: 0; height: .34em; margin-left: 0; border: solid var(--gold); border-width: 0 0 .09em .09em;
    transform: rotate(-45deg) translateY(-.28em); opacity: 0; transition: width .3s var(--ease), margin .3s, opacity .2s; }
  .tg:hover span { color: #c7c7cc; }
  .tg input:checked + span { color: var(--gold); }
  .tg input:checked + span::after { width: .62em; margin-left: .22em; opacity: 1; }
  .tg input:focus-visible + span { outline: 2px solid rgba(232,199,122,.5); outline-offset: 3px; }
  .tg.bad span { color: #ff9f8a; }
  .more { margin-top: clamp(18px, 3vh, 30px); max-width: 760px; }
  .more textarea { width: 100%; font: 400 clamp(16px, 1.3vw, 19px)/1.5 'Geist', sans-serif; color: #f5f5f7; background: none; border: 0;
    border-bottom: 1px solid rgba(255,255,255,.18); padding: 8px 0; resize: none; outline: none; overflow: hidden; transition: border-color .25s; }
  .more textarea::placeholder { color: #55555a; }
  .more textarea:focus { border-bottom-color: var(--gold); }
  .msg { min-height: 20px; margin-top: 14px; font-size: 14px; color: #ff9f8a; }
  .foot-row > span { display: flex !important; align-items: center; justify-content: space-between; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
  .agree { display: flex; gap: 12px; align-items: flex-start; max-width: 520px; font-size: 13px; line-height: 1.5; color: #8e8e93; cursor: pointer; }
  .agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .agree i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); position: relative; transition: all .25s; }
  .agree i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #000; transform: scale(0); transition: transform .25s var(--ease); }
  .agree input:checked + i { background: var(--gold); border-color: var(--gold); }
  .agree input:checked + i::after { transform: scale(1); }
  .agree input:focus-visible + i { box-shadow: 0 0 0 3px rgba(232,199,122,.35); }
  .agree.bad i { border-color: #ff9f8a; }
  .send { display: inline-flex; align-items: center; gap: 14px; height: 64px; padding: 0 34px 0 38px; border: 0; border-radius: 999px; background: var(--gold); color: #000;
    font: 600 19px 'Geist', sans-serif; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
  .send span { transition: transform .35s var(--ease); }
  .send:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -14px rgba(232,199,122,.9); }
  .send:hover span { transform: translateX(5px); }
  .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .done h3 { font-size: clamp(48px, 7vw, 104px); font-weight: 600; letter-spacing: -.05em; color: #f5f5f7; line-height: 1; margin: 0; }
  .done p { font-size: clamp(17px, 1.5vw, 22px); color: #a1a1a6; margin: 22px 0 36px; max-width: 34ch; line-height: 1.45; }
  .done .meta { font-size: 13px; color: var(--gold); margin: 0 0 18px; }
  .back { background: none; border: 0; border-bottom: 1.5px solid var(--gold); padding: 0 0 4px; color: #f5f5f7; font: 500 17px 'Geist', sans-serif; cursor: pointer; }
  .back span { display: inline-block; transition: transform .3s; } .back:hover span { transform: translateX(5px); }
  .done > * { animation: doneIn .8s var(--ease) both; } .done > :nth-child(2) { animation-delay: .08s; } .done > :nth-child(3) { animation-delay: .16s; } .done > :nth-child(4) { animation-delay: .24s; }
  @keyframes doneIn { from { transform: translateY(24px); opacity: 0; } }
  @media (max-width: 760px) { .pill-slot { display: none; } .cta-top { top: 10px; height: 34px; padding: 0 14px; } }
  @media (max-width: 640px) {
    .madlib p { font-size: 22px; line-height: 1.7; }
    .foot-row > span { flex-direction: column; align-items: stretch; gap: 18px; }
    .send { justify-content: center; height: 56px; }
  }

  /* ---------- How it works: readable steps + the journey constellation ---------- */
  .how h2 { margin-bottom: 0; }
  .six { list-style: none; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; max-width: 520px; counter-reset: s; }
  .six li { border-top: 1px solid rgba(255,255,255,.1); }
  .six li > span { padding: 13px 0; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; }
  .six em, .step2 em { font-style: normal; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .14em; color: var(--gold); margin-right: 14px; }
  .step2 { margin-top: clamp(22px, 4vh, 40px); max-width: 520px; }
  .step2 em { display: block; margin: 0 0 10px; font-size: 13px; }
  .step2 b { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
  .step2 i { display: block; font-style: normal; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #c7c7cc; margin-top: 12px; max-width: 38ch; }
  .step2 + .step2 { padding-top: clamp(22px, 4vh, 40px); border-top: 1px solid rgba(255,255,255,.1); }

  /* the zoomed constellation stays on its own side of the screen: it fades out before the step text */
  .journey { overflow: visible;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect; }
  @media (max-aspect-ratio: 4/5) { .journey { -webkit-mask-image: linear-gradient(transparent 0, #000 10%, #000 88%, transparent); mask-image: linear-gradient(transparent 0, #000 10%, #000 88%, transparent); } }
  .journey .tilt, .journey .world { transform-box: view-box; transform-origin: 160px 110px; transition: transform 1.25s cubic-bezier(.65,0,.2,1); }
  .journey .world { transform-origin: 0 0; }
  .journey .path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .8; transition: stroke-dashoffset 1.8s var(--ease) .35s; }
  .journey.on .path { stroke-dashoffset: 0; }
  .journey .halo { fill: rgba(232,199,122,.0); transition: fill .6s; }
  .journey .core { fill: #3a3a3d; transition: fill .6s, r .6s; }
  .journey .st.lit .halo { fill: rgba(232,199,122,.18); }
  .journey .st.lit .core { fill: #fff; }
  .journey .st text { fill: #6e6e73; font: 7px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .1em; transition: fill .6s; }
  .journey .st.lit text { fill: var(--gold); }
  .journey .here { fill: #fff; stroke: var(--gold); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(232,199,122,.9)); transition: transform 1.25s cubic-bezier(.65,0,.2,1); transform-box: view-box; }
  .journey .ic { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .5s var(--ease); }
  .journey.on .ic.show { opacity: 1; transform: none; transition: opacity .5s .55s, transform .8s cubic-bezier(.3,1.5,.5,1) .55s; }
  .journey .bob { animation: bob 2.6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translate(6px, -4px) rotate(-4deg); } }
  .journey .sweep, .journey .sign, .journey .beam { fill: none; stroke-dasharray: 10; stroke-dashoffset: 10; }
  .journey .ic.show .sweep { animation: draw 1.4s ease-in-out .9s forwards; }
  .journey .ic.show .sign { animation: draw 1.2s ease-in-out 1s forwards; }
  .journey .ic.show .beam { animation: beamUp 1.8s cubic-bezier(.5,0,.2,1) .9s infinite; }
  @keyframes beamUp { 0% { stroke-dashoffset: 10; opacity: 1 } 60% { stroke-dashoffset: 0; opacity: 1 } 100% { stroke-dashoffset: -10; opacity: 0 } }
  .journey .blk { opacity: 0; }
  .journey .ic.show .blk { animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(1s + var(--k) * 180ms); }
  .journey .ring { fill: none; transform-box: fill-box; transform-origin: center; transform: rotate(-20deg); }
  .journey .moon { fill: var(--gold); offset-path: path('M312 52a20 8 0 1 1 -40 0a20 8 0 1 1 40 0'); animation: orbit 3s linear infinite; }
  @keyframes orbit { to { offset-distance: 100%; } }
  .journey .s { stroke: #f5f5f7; stroke-width: 1.2; fill: none; } .journey .d { stroke: #6e6e73; stroke-width: 1.2; fill: none; } .journey .gold { stroke: var(--gold); stroke-width: 1.4; }
  .journey rect.gold.blk { fill: rgba(232,199,122,.3); }
  /* the camera: overview, then onto each pair of steps, then pull away for pricing */
  #art[data-scene="11"] .journey .world { transform: translate(48px, -150px) scale(1.75); }
  #art[data-scene="11"] .journey .tilt { transform: rotate(-7deg); }
  #art[data-scene="12"] .journey .world { transform: translate(-148px, -88px) scale(1.75); }
  #art[data-scene="12"] .journey .tilt { transform: rotate(6deg); }
  #art[data-scene="13"] .journey .world { transform: translate(-330px, -38px) scale(1.75); }
  #art[data-scene="13"] .journey .tilt { transform: rotate(-4deg); }
  #art[data-scene="14"] .journey .world { transform: translate(80px, 55px) scale(.5); }
  #art[data-scene="14"] .journey .tilt { transform: rotate(24deg); }
  #art[data-scene="10"] .journey .here { transform: translate(30px, 176px); }
  #art[data-scene="11"] .journey .here { transform: translate(86px, 124px); }
  #art[data-scene="12"] .journey .here { transform: translate(198px, 98px); }
  #art[data-scene="13"] .journey .here, #art[data-scene="14"] .journey .here { transform: translate(292px, 52px); }
  @media (max-aspect-ratio: 4/5) and (max-height: 700px) { #art { height: 27vh; } }
  @media (max-aspect-ratio: 4/5) {
    .six li > span { padding: 9px 0; font-size: 15px; }
    .six { margin-top: 18px; gap: 0 18px; }
    .step2 { margin-top: 18px; } .step2 + .step2 { padding-top: 18px; }
    .step2 b { font-size: 28px; } .step2 i { font-size: 15px; margin-top: 8px; }
  }

  .agree a, .foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .agree a:hover, .foot a:hover { color: var(--gold); }
  .addr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .addr a:hover { color: var(--gold); }
