/* v64 hero remake (25 Oct 2026). --r and --ov come from fit.js. */
@media (min-width:901px){
  .o5 .hx-stage{height:calc(clamp(200px,18vw,262px) * var(--r,1))}
  .o5 .hx-cardwrap{margin-top:calc(clamp(12px,2vw,26px) - var(--ov,0) * clamp(200px,18vw,262px) * var(--r,1))}
}

/* ---- lines from the engines to the star (hx4.js, html data-line) ---- */
/* L1 light beam: thin solid line, bright at both ends (gradient set in hx4.js), and a glint that runs to the star */
[data-line="1"] .hx-lines .ln{stroke-dasharray:none;stroke-width:1;animation:none;opacity:.2}
/* (v64 round 2) only the active engine's line shows */
[data-line="1"] .hx-lines .ln:not(.on){opacity:0!important}
[data-line="1"] .hx-lines .ln.on{stroke-width:1.25;opacity:1}
.hx-lines .gl{fill:none;stroke:#fffdf8;stroke-linecap:round;stroke-width:2;stroke-dasharray:5 140;stroke-dashoffset:6;opacity:0;pointer-events:none}
.hx-lines .gl.run{opacity:.95}
.hx-lines .glw{stroke:#ffc58f;stroke-width:6;stroke-dasharray:9 140}
.hx-lines .glw.run{opacity:.25}

/* (v64 round 5-8) the film grain: halved, then up 25%, then 5% more (.12 -> .055 -> .069 -> .0725); the footer's night sky matches */
.o5 .sky .grain,.fg-grain::before{opacity:.0725}

/* (v64 round 7) FAQ: the left side (heading + map) no longer sticks while scrolling. Held at the bottom of the list, it
   snapped down ~80px whenever an answer opened (the list grew under it) and back when it closed */
.faq-side{position:static}
/* (v66) back to sticking on desktop: answers now grow open smoothly (page.js), so the map follows the list instead of snapping */
@media (min-width:901px){.faq-side{position:sticky;top:112px}}

/* the new second line is longer than "in the AI answers now.", so the heading box is no longer capped at 672px (it spilled
   out of it, off centre); the font-size cap from v2.css still keeps it inside the screen */
.hx .hero-title{max-width:none}

/* hero heading: Fraunces joins "f" and "i" into one shape (a ligature) in "find"; Zaid found it odd, so it's off */
.hero-title{font-variant-ligatures:no-common-ligatures;font-feature-settings:"liga" 0}

/* (26 Oct) the nav button sits flat on the bar like the links (no glow under it, no dark bottom edge, a gentler fade):
   it was the only raised thing up there, and its glow read as light spilling under it on the dark sky. Hero buttons keep theirs */
.wn:not(.is-pill) .wn-solid{background:linear-gradient(180deg,#cc5b23 0%,#c2521a 100%);box-shadow:inset 0 1px 0 rgba(255,222,190,.26)}
.wn:not(.is-pill) .wn-solid:hover{background:linear-gradient(180deg,#d4632b 0%,#c85920 100%);box-shadow:inset 0 1px 0 rgba(255,222,190,.32)}
/* the longer label pushed the links left of centre: the logo side and the button side now take equal room */
@media (min-width:901px){.wn:not(.is-pill) .wn-logo,.wn:not(.is-pill) .wn-cta{flex:1 1 0;min-width:0}.wn:not(.is-pill) .wn-cta{justify-content:flex-end}}
/* and on phones (360-414px) the two hero buttons stacked; a little less side padding keeps them on one row */
@media (max-width:430px){.hx .hero-actions .btn{padding-inline:18px}}
@media (max-width:380px){.hx .hero-actions .btn{padding-inline:15px}}

/* (26 Oct) services cards: closing used the opening's sharp ease-out, so about half the card vanished in the first 70ms and
   everything below jumped up. Closing now runs on an even curve, and the contents fade out first so they aren't seen being
   cut off. Opening is unchanged */
.disc:not(.open) .disc-body{transition:grid-template-rows .5s cubic-bezier(.45,0,.25,1)}
.disc-inner{transition:opacity .35s ease .12s}
.disc:not(.open) .disc-inner{opacity:0;transition:opacity .18s ease}
@media (prefers-reduced-motion:reduce){.disc-inner{transition:none!important}}

/* (26 Oct) desktop: the orbit stage and the answer card wait for fit.js's first sizing (one frame), so they don't jump into
   place as the page loads. If the script never runs they appear after 2s anyway */
@media (min-width:901px){
  html.wf-js .hx.o5:not(.fit-ready) :is(.hx-stage,.hx-cardwrap){visibility:hidden;animation:wfFitShow 0s 2s forwards}
}
@keyframes wfFitShow{to{visibility:visible}}

/* (v66, Zaid picked option B) nav pill: the star a touch bigger (27 -> 30px) and closer to "The Shift" (23 -> 19px);
   its distance from the pill's left edge stays 17px */
@media (min-width:901px){.wn.is-pill .wn-logo .mk{transform:scale(1.07)}.wn.is-pill .wn-logo{margin-right:-16.5px}.wn.is-pill .wn-bar{padding-left:17px}}
