:root{
  /* Theme, taken from the logo: a deep navy page, steel-blue light and a
     silver call to action. To change the accent, run: python3 tools/recolor.py "#hex"
     It sets --accent-rgb, re-tints the five tokens under it and the
     background textures. By hand, --accent-rgb (R G B, 0-255) alone drives
     every glow and edge; the five tints are fine-tuning. */
  --accent-rgb:154 174 207;
  --accent:rgb(var(--accent-rgb));
  --accent-hi:#eef1f6;                         /* hottest point of the video border glow */
  --btn-ink:#0a1222;                           /* primary button text */
  --node-top:#1f293df2; --node-bottom:#121a2bf2; /* timeline number discs */
  --neg-rgb:239 68 68; --neg-hi-rgb:248 113 113; /* the "not for you" column */

  --bg-rgb:14 21 37;                            /* the page: the navy of the logo's shadowed side, #0e1525 */
  --bg:rgb(var(--bg-rgb));
  --panel:#121a2b;                             /* behind video, clips and screenshots while they load */
  /* edges: the logo's silver-steel. --line for every card edge and divider,
     --line-strong for controls, --lit for the lit top edge of a raised card */
  --edge-rgb:170 184 208;
  --line:rgb(var(--edge-rgb) / .15); --line-strong:rgb(var(--edge-rgb) / .22);
  --lit:inset 0 1px 0 rgb(255 255 255 / .07); --lit-accent:inset 0 1px 0 rgb(var(--accent-rgb) / .4);
  /* text tiers: all white by default; dim 2-4 and muted to add hierarchy */
  --text:#fff; --text-2:#fff; --text-3:#fff; --text-4:#fff; --muted:#fff;
  --display:'Geist',system-ui,-apple-system,sans-serif;
  --body:'Geist',system-ui,-apple-system,sans-serif;
  --serif:'Instrument Serif',ui-serif,Georgia,serif;
  --maxw:1180px;                               /* hero and brand bar width */
}
/* drives the rotating border glow on the video */
@property --spin{syntax:'<angle>'; initial-value:0deg; inherits:true}
@keyframes spin{to{--spin:360deg}}
@keyframes bob{0%,100%{opacity:.55}50%{opacity:.9}}
*,*::before,*::after{box-sizing:border-box}
/* clip, not hidden: hidden makes the page its own scroll box, which stops
   sticky elements (the What's included clip, the bio portrait) */
html{-webkit-text-size-adjust:100%; overflow-x:hidden; overflow-x:clip}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden; overflow-x:clip;
}
img{max-width:100%; height:auto; display:block}

/* Page shell */
.shell{position:relative; z-index:1; overflow:clip}

/* Brand bar: floats INSIDE the hero so the glow runs behind it */
/* Logo on the left, links to your other pages in the middle, the button on
   the right. app.js measures whether the links fit and sets data-fit on the
   bar: "inline" shows them in the bar, "menu" folds them into a menu beside
   the button, and "tight" (the narrowest phones) moves the button in too. */
.brandbar{
  --bar-pad:32px;
  position:relative; z-index:4;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px;
  width:100%; max-width:calc(var(--maxw) + 80px); margin-inline:auto;
  padding:16px var(--bar-pad) 0;
}
.brandbar > :first-child{justify-self:start}
.brandbar img{height:26px; width:auto; max-width:none; flex-shrink:0; opacity:.96}
.brandbar__end{grid-column:3; display:flex; align-items:center; justify-content:flex-end; gap:8px}
.nav-cta, .more-btn{
  font-family:var(--body); font-size:13.5px; font-weight:500; letter-spacing:0;
  color:var(--text-2); text-decoration:none; white-space:nowrap;
  padding:9px 18px; border-radius:999px;
  border:1px solid var(--line-strong); background:#ffffff0a;
  backdrop-filter:blur(8px);
  transition:border-color .2s, background .2s, color .2s;
}
.nav-cta:hover, .more-btn:hover{border-color:rgb(var(--accent-rgb) / .35); background:rgb(var(--accent-rgb) / .1); color:#fff}

/* links to the other pages, in the bar */
.brandbar__nav{display:flex; gap:4px; width:max-content}
.brandbar__nav a{
  display:inline-flex; align-items:center; height:40px; padding:0 16px; border-radius:999px;
  font-family:var(--body); font-size:13.5px; font-weight:500; white-space:nowrap;
  color:rgb(255 255 255 / .7); text-decoration:none;
  transition:background-color .2s, color .25s ease;
}
/* no pills: hover lifts the text a touch, and the current page is full white */
.brandbar__nav a:hover{color:rgb(255 255 255 / .88)}
.brandbar__nav a:focus-visible{color:#fff}
.brandbar__nav a[aria-current=page]{color:#fff}
.brandbar__nav a:focus-visible, .navmenu:focus-visible{outline:2px solid rgb(var(--accent-rgb) / .6); outline-offset:2px}
.brandbar__nav .navmenu__cta{display:none}

/* the menu button: two bars that turn into a cross while it's open */
.navmenu{
  display:none; place-items:center; width:40px; height:40px; padding:0; border-radius:50%;
  color:#fff; cursor:pointer; -webkit-tap-highlight-color:transparent;
  border:1px solid var(--line-strong); background:#ffffff0a; backdrop-filter:blur(8px);
  transition:border-color .2s, background .2s;
}
.navmenu:hover, .navmenu[aria-expanded=true]{border-color:rgb(var(--accent-rgb) / .35); background:rgb(var(--accent-rgb) / .1)}
.navmenu__glyph{position:relative; display:block; width:16px; height:10px}
.navmenu__glyph::before, .navmenu__glyph::after{
  content:''; position:absolute; left:0; right:0; height:1.5px; border-radius:2px; background:currentColor;
  transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.navmenu__glyph::before{top:0}
.navmenu__glyph::after{bottom:0}
.navmenu[aria-expanded=true] .navmenu__glyph::before{transform:translateY(4.25px) rotate(45deg)}
.navmenu[aria-expanded=true] .navmenu__glyph::after{transform:translateY(-4.25px) rotate(-45deg)}

/* folded: the links become a panel hanging under the button */
.brandbar:is([data-fit=menu], [data-fit=tight]) .navmenu{display:inline-grid}
.brandbar:is([data-fit=menu], [data-fit=tight]) .brandbar__nav{
  position:absolute; top:calc(100% + 10px); right:var(--bar-pad);
  display:none; flex-direction:column; gap:0; width:min(17rem, calc(100vw - 2.5rem));
  padding:6px; border-radius:16px;
  background:rgb(20 20 20 / .85); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  box-shadow:0 0 0 1px var(--line), 0 18px 40px -12px #000c;
  transform-origin:top right;
}
.brandbar.menu-open .brandbar__nav{display:flex; animation:menu-in .2s cubic-bezier(.16,1,.3,1)}
@keyframes menu-in{from{opacity:0; transform:translateY(-6px) scale(.97)}}
.brandbar:is([data-fit=menu], [data-fit=tight]) .brandbar__nav a{
  height:auto; padding:12px 14px; border-radius:12px; background:none;
  font-size:15px; font-weight:400; color:rgb(255 255 255 / .75);
}
.brandbar:is([data-fit=menu], [data-fit=tight]) .brandbar__nav a:is(:hover, :focus-visible){background:#ffffff0f; color:#fff}
.brandbar:is([data-fit=menu], [data-fit=tight]) .brandbar__nav a[aria-current=page]{color:#fff}
.brandbar:is([data-fit=menu], [data-fit=tight]) .brandbar__nav a[aria-current=page]::after{
  content:''; margin-left:auto; width:6px; height:6px; border-radius:50%; background:rgb(var(--accent-rgb));
}
.brandbar[data-fit=tight] .brandbar__end .nav-cta{display:none}
.brandbar[data-fit=tight] .brandbar__nav .navmenu__cta{
  display:flex; justify-content:center; position:relative; margin-top:13px;
  font-weight:500; color:#fff; background:rgb(var(--accent-rgb) / .12);
  box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb) / .3);
}
.brandbar[data-fit=tight] .brandbar__nav .navmenu__cta:is(:hover, :focus-visible){background:rgb(var(--accent-rgb) / .18)}
.brandbar[data-fit=tight] .brandbar__nav .navmenu__cta::before{
  content:''; position:absolute; left:8px; right:8px; top:-7px; height:1px; background:#ffffff14;
}
/* Until app.js has measured, phones get the menu button. With JavaScript
   off, the links sit on a row of their own under the bar instead. */
@media (max-width:720px){
  .js .brandbar:not([data-fit]):has(.brandbar__nav) .navmenu{display:inline-grid}
  .js .brandbar:not([data-fit]) .brandbar__nav{display:none}
  html:not(.js) .brandbar__nav{grid-column:1 / -1; grid-row:2; justify-self:center; flex-wrap:wrap; justify-content:center; width:auto}
}
@media (prefers-reduced-motion:reduce){
  .brandbar.menu-open .brandbar__nav{animation:none}
  .navmenu__glyph::before, .navmenu__glyph::after{transition:none}
}

/* Hero */
.hero{
  position:relative; overflow:hidden;
  border:0; border-radius:0;
  background:transparent;
  margin:0;
  width:100%;
}
.hero__bg{
  position:absolute; inset:0; z-index:0;
  /* pure CSS light: the old aurora photo was so compressed it showed blocks
     and white specks. Gradients stay smooth at any size. */
  background:
    radial-gradient(60% 62% at 50% -6%, rgb(var(--accent-rgb) / .17) 0%, rgb(var(--accent-rgb) / .065) 42%, rgb(var(--accent-rgb) / 0) 74%),
    radial-gradient(38% 40% at 50% 34%, rgb(var(--accent-rgb) / .045) 0%, rgb(var(--accent-rgb) / 0) 72%);
  /* reach zero before the hero's bottom edge. the hero clips at that edge, so
     anything still painting there steps against the page background below and
     draws a hard line across the section boundary. */
  mask-image:linear-gradient(180deg,#000 0,#000 50%,transparent 86%);
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 50%,transparent 86%);
}
/* ONE grid. A fine mesh plus a heavier overlay reads as two grids fighting,
   which is exactly how it looked. Same 66px cell as the sections below, so
   the whole page shares a single continuous system. */
.hero__grid{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:66px 66px;
  background-position:center top;
  mask-image:radial-gradient(140% 120% at 50% 8%, #000 0%, #000000d9 38%, #00000066 62%, transparent 84%),
             linear-gradient(180deg,#000 0,#000 50%,transparent 86%);
  -webkit-mask-image:radial-gradient(140% 120% at 50% 8%, #000 0%, #000000d9 38%, #00000066 62%, transparent 84%),
             linear-gradient(180deg,#000 0,#000 50%,transparent 86%);
  mask-composite:intersect; -webkit-mask-composite:source-in;
}
/* the beam falling from top centre */
.hero__beam{
  position:absolute; left:50%; top:-8%; z-index:1; pointer-events:none;
  width:min(700px,92vw); height:52%; transform:translateX(-50%);
  background:radial-gradient(50% 60% at 50% 0%, rgb(var(--accent-rgb) / .22) 0%, rgb(var(--accent-rgb) / .063) 42%, transparent 72%);
  filter:blur(22px);
}
.hero__inner{
  position:relative; z-index:3; text-align:center;
  width:100%; max-width:calc(var(--maxw) + 80px); margin-inline:auto;
  padding:22px 32px 0;
}

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--body); font-size:13.5px; font-weight:400;
  letter-spacing:0; text-transform:none; color:var(--text-3);
  padding:8px 17px 8px 13px; border-radius:999px;
  border:1px solid var(--line); background:#ffffff08;
  backdrop-filter:blur(10px);
}
.eyebrow b{font-weight:500; color:var(--text-2)}
.eyebrow .dot{
  width:6px; height:6px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 10px 2px rgb(var(--accent-rgb) / .5); flex:none;
}

h1{
  font-family:var(--display); font-weight:400;
  font-size:clamp(2.1rem, 4.4vw, 3.6rem); line-height:1.08;
  letter-spacing:-2px; color:#fff;
  margin:18px auto 0; max-width:46ch; text-wrap:balance;
}
h1 .accent{
  font-family:var(--serif); font-style:normal; font-weight:400;
  font-size:1.08em; letter-spacing:-.005em;
  background:linear-gradient(180deg,#fff 26%,var(--accent) 170%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.nb{white-space:nowrap}
h1 .l2{display:block}
.sub{
  font-size:clamp(.95rem,1.4vw,1.03rem); line-height:1.55;
  color:var(--text-4); margin:12px auto 0; max-width:62ch; text-wrap:pretty;
}

/* Video stage: lead-magnet pages fanned behind the player */
.video-stage{
  position:relative; margin:17px auto 0;
  width:min(660px, calc(42vh * 1.778)); max-width:100%;
}
/* holds the #sheet-tone filter; takes no space */
.sheet-tone{position:absolute; width:0; height:0; pointer-events:none}
.sheet{
  position:absolute; width:39%; top:-3%;
  border-radius:5px;
  box-shadow:0 24px 60px -18px #000, 0 2px 10px -2px #000c;
  /* OPAQUE. paper is not see-through, so depth comes from brightness, never
     from opacity: stacked translucent sheets read as a glitch.
     #sheet-tone (in index.html) maps each page onto the logo's steel, so
     plain grey paper never reads warm against the navy. */
  opacity:1; filter:url(#sheet-tone);
  outline:1px solid rgb(var(--edge-rgb) / .14); outline-offset:-1px;
  /* fade only the last stretch, where the sheet meets the dark page */
  mask-image:linear-gradient(180deg,#000 0%,#000 62%,#0000 95%);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 62%,#0000 95%);
  pointer-events:none;
}
.sheet--fl{left:-25%;  z-index:1; --r:-12deg}
.sheet--fr{right:-25%; z-index:1; --r:12deg}
.sheet--nl{left:-14%;  z-index:0; top:9%; --r:-6deg; filter:url(#sheet-tone) brightness(.6);
  mask-image:linear-gradient(180deg,#000 0%,#000 26%,#0000 58%);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 26%,#0000 58%)}
.sheet--nr{right:-14%; z-index:0; top:9%; --r:6deg; filter:url(#sheet-tone) brightness(.6);
  mask-image:linear-gradient(180deg,#000 0%,#000 26%,#0000 58%);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 26%,#0000 58%)}

/* Video: framed, with a glow travelling around the border */
.video-frame{
  position:relative; z-index:2; margin:0;
  width:100%; max-width:100%;
  padding:1.5px; border-radius:11px;
  background:
    conic-gradient(from var(--spin),
      rgb(var(--accent-rgb) / 0) 0deg,  rgb(var(--accent-rgb) / 0) 56deg,
      rgb(var(--accent-rgb) / .5) 92deg, var(--accent-hi) 116deg, rgb(var(--accent-rgb) / .5) 140deg,
      rgb(var(--accent-rgb) / 0) 176deg,rgb(var(--accent-rgb) / 0) 360deg),
    linear-gradient(#ffffff1f,#ffffff1f);
  animation:spin 5.5s linear infinite;
}
/* the same travelling light, blurred, blooming outward */
.video-frame::before{
  content:''; position:absolute; inset:-11px; z-index:-1; border-radius:20px;
  background:conic-gradient(from var(--spin),
      rgb(var(--accent-rgb) / 0) 0deg, rgb(var(--accent-rgb) / 0) 64deg,
      rgb(var(--accent-rgb) / .8) 100deg, #ffffff 118deg, rgb(var(--accent-rgb) / .8) 136deg,
      rgb(var(--accent-rgb) / 0) 172deg,rgb(var(--accent-rgb) / 0) 360deg);
  filter:blur(22px); opacity:.34;
  animation:bob 5.5s ease-in-out infinite;
}
.video{
  position:relative; width:100%;
  border-radius:10px; overflow:hidden;
  box-shadow:0 30px 90px -30px #000;
  /* poster: shows instantly and stays if the player is slow or blocked.
     Use the video's own first frame so the swap is invisible. */
  background:url('assets/video-poster.webp') center / cover no-repeat var(--panel);
  aspect-ratio:16/9;          /* reserve space so the fold never shifts */
}
/* whichever player goes in the slot fills the frame */
.video > iframe, .video > video, .video > wistia-player{
  position:absolute; inset:0; display:block; width:100%; height:100%; border:0;
}
/* play button over the poster until a player is in place (for Wistia, until
   its script has loaded). The icon colour is in the data URI: %230a1222 is
   #0a1222, the same as --btn-ink. */
.video:not(:has(> iframe, > video, > wistia-player:defined))::after{
  content:''; position:absolute; inset:0; margin:auto;
  width:66px; height:66px; border-radius:50%;
  background:#ffffffeb url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5-9-5.5z' fill='%230a1222'/%3E%3C/svg%3E") center/28px no-repeat;
  box-shadow:0 8px 30px -6px #000c, 0 0 44px -8px rgb(var(--accent-rgb) / .4);
  pointer-events:none;
}

/* CTA */
.cta-row{margin:19px auto 0; display:flex; flex-direction:column; align-items:center; gap:11px}
.btn{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-size:16px; font-weight:600; letter-spacing:-.005em;
  color:var(--btn-ink); text-decoration:none; white-space:nowrap;
  padding:16px 32px; border-radius:999px; border:0;
  background:#f4f6f9;
  box-shadow:inset 0 1px 0 #fff, 0 1px 2px #00000066, 0 8px 24px -10px #000000b3;
  cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s;
}
.btn:hover{transform:translateY(-1px); background:#fff}
.btn:active{transform:translateY(0)}
.btn svg{flex:none}
.trust{
  font-size:13.5px; letter-spacing:0; text-align:center;
  color:rgba(255,255,255,.7);
}
.hero__foot{height:64px}
.btn-row{margin-top:34px; text-align:center}

/* ══ Below the fold ═══════════════════════════════════════════════════
   The fold carries the headline, the video and one button. Most visitors
   never press play, so every section below makes the same case in text. */
section.band{padding:64px 0; position:relative}
.band__inner{max-width:880px; margin-inline:auto; padding-inline:24px; position:relative; z-index:1}
.band--wide .band__inner{max-width:1120px}

/* Scroll reveal. Spring-ish easing, staggered children. */
[data-anim]{
  opacity:0; transform:translate3d(0,34px,0);
  transition:opacity .78s cubic-bezier(.16,1,.3,1), transform .86s cubic-bezier(.16,1,.3,1);
  will-change:opacity, transform;
}
[data-anim="left"]{transform:translate3d(-38px,0,0)}
[data-anim="scale"]{transform:translate3d(0,26px,0) scale(.945)}
[data-anim].in{opacity:1; transform:none; will-change:auto}

/* Hero entrance, runs once on load
   Staggered so the eye lands on the headline, then the player, then the
   button, in the order the page wants them read. */
.hero .brandbar,
.hero .eyebrow, .hero h1, .hero .sub,
.hero .video-stage, .hero .cta-row{
  opacity:0; transform:translate3d(0,26px,0);
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero .brandbar   {animation-delay:.05s; transform:translate3d(0,-14px,0)}
.hero .eyebrow    {animation-delay:.20s}
.hero h1          {animation-delay:.30s}
.hero .sub        {animation-delay:.42s}
.hero .video-stage{animation-delay:.52s; transform:translate3d(0,34px,0) scale(.965)}
.hero .cta-row    {animation-delay:.68s}
/* the travelling border glow repaints every frame; stop paying for it
   once the hero has scrolled away */
.hero.offstage .video-frame, .hero.offstage .video-frame::before{animation-play-state:paused}
@keyframes heroIn{to{opacity:1; transform:none}}

/* the sheets fan out from behind the player as it lands.
   each keeps its own angle in --r, and both keyframe states use the same
   function order so the interpolation stays clean rather than falling back
   to matrix blending. */
.sheet{
  transform:translate3d(0,0,0) rotate(var(--r,0deg)) scale(1);
  animation:sheetIn 1.1s cubic-bezier(.16,1,.3,1) both; animation-delay:.6s;
}
@keyframes sheetIn{
  from{opacity:0; transform:translate3d(0,30px,0) rotate(0deg) scale(.86)}
}

/* one soft glow behind the form and one behind the close. closest-side
   makes each reach zero before its section's edges, so no seam is drawn
   between sections and the page reads as one continuous navy. */
.form-band::after, .band--close::after{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(closest-side, rgb(var(--accent-rgb) / .08) 0%, rgb(var(--accent-rgb) / .03) 55%, rgb(var(--accent-rgb) / 0) 92%);
}

/* section headings. Wrap a phrase in <em> for the serif accent. */
h2{
  text-align:center;
  font-family:var(--display); font-weight:400;
  font-size:2rem; line-height:1.16; letter-spacing:-2px;
  color:#fff; margin:0 0 24px; text-wrap:balance;
}
h2 em{font-family:var(--serif); font-style:normal; font-weight:400; font-size:1.07em; color:#fff}
/* h3: for a sub-heading inside any section (none in the sample page) */
h3{font-family:var(--display); font-weight:500; font-size:1.05rem; line-height:1.35; color:#fff; margin:0 0 8px; letter-spacing:-.04em}
.band p{color:var(--text-4); font-size:1.02rem; line-height:1.68; margin:0 0 17px; text-wrap:pretty}
.band p:last-child{margin-bottom:0}
.band strong{color:var(--text); font-weight:500}

/* Card surface: a faint fill plus a backdrop blur, so the grid and the ray
   plate behind each card soften rather than reading straight through it. */
.vs, .stat, .faq details{
  backdrop-filter:blur(14px) saturate(118%);
  -webkit-backdrop-filter:blur(14px) saturate(118%);
}

/* section 3: what's included (see the comment above it in index.html).
   .inc__clip and .inc__item are scroll-reveal targets, so nothing here puts
   a transition on them. */
.inc{display:grid; gap:36px; align-items:start}
.inc__clip{margin:0 auto; width:100%; max-width:460px}
.inc__frame{
  position:relative; aspect-ratio:1; overflow:hidden; border-radius:18px; background:var(--panel);
  box-shadow:0 0 0 1px var(--line), 0 30px 80px -30px #000, 0 0 60px -20px rgb(var(--accent-rgb) / .15);
}
.inc__frame video{position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover}
.inc__clip figcaption{margin-top:16px; font-size:13px; line-height:1.4; color:rgb(255 255 255 / .55)}
.inc__list{list-style:none; margin:0; padding:0}
.inc__item{padding:28px 0}
.inc__item + .inc__item{border-top:1px solid var(--line)}
.inc__item:first-child{padding-top:0}
.inc__item:last-child{padding-bottom:0}
.inc__t{margin:0; font-family:var(--serif); font-weight:700; font-size:1.62rem; line-height:1.25; color:#fff; letter-spacing:0}
.band p.inc__b{margin:10px 0 0; font-size:.98rem; line-height:1.6; color:rgba(255,255,255,.6)}
@media (min-width:721px){
  .inc{grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:48px}
  /* stays in view, roughly centred, while the list scrolls past */
  .inc__clip{position:sticky; top:max(5rem, calc(50vh - 15rem))}
  .inc__item{padding:32px 0}
}
@media (min-width:961px){
  .inc{gap:80px}
}

/* section 4: the outcome timeline. The rail draws in as you scroll (--tlp,
   set by app.js) and each item gets .lit when the rail reaches its number. */
.tl{list-style:none; margin:8px 0 0; padding:0; position:relative}
.tl::before{
  content:''; position:absolute; left:23px; top:10px; bottom:10px; width:2px;
  background:var(--line); border-radius:2px; z-index:0;
}
.tl::after{
  content:''; position:absolute; left:23px; top:10px; width:2px;
  height:calc(100% - 20px);
  background:linear-gradient(180deg,var(--accent),rgb(var(--accent-rgb) / .35));
  border-radius:2px;
  box-shadow:0 0 12px rgb(var(--accent-rgb) / .25);
  transform:scaleY(var(--tlp,0)); transform-origin:top;
  transition:transform .18s linear; z-index:0;
}
.tl__item{
  position:relative; z-index:1; display:grid; grid-template-columns:48px 1fr;
  gap:18px; padding:0 0 18px;
}
.tl__node{
  position:relative; z-index:1; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; align-self:start;
  border:1px solid var(--line-strong);
  background:linear-gradient(180deg,var(--node-top),var(--node-bottom));
  backdrop-filter:blur(14px) saturate(118%);
  -webkit-backdrop-filter:blur(14px) saturate(118%);
  font-family:var(--display); font-weight:500; font-size:.92rem; color:#fff;
  letter-spacing:0; transition:border-color .25s, box-shadow .25s, color .25s;
}
.tl__item.lit .tl__node{
  border-color:rgb(var(--accent-rgb) / .45); color:var(--accent);
  box-shadow:0 0 16px -2px rgb(var(--accent-rgb) / .35);
}
.tl__card{
  padding:18px 20px; border-radius:13px;
  border:1px solid var(--line); box-shadow:var(--lit);
  background:linear-gradient(180deg,#ffffff0d,#ffffff06);
  backdrop-filter:blur(14px) saturate(118%);
  -webkit-backdrop-filter:blur(14px) saturate(118%);
  transition:border-color .25s;
}
.tl__item.lit .tl__card{border-color:rgb(var(--accent-rgb) / .3)}
.tl__t{font-family:var(--serif); font-weight:700; font-size:1.66rem; color:#fff; letter-spacing:0}
.band p.tl__b{margin:8px 0 0; font-size:.98rem; line-height:1.6; color:rgba(255,255,255,.6)}
.band p.after{text-align:center; max-width:62ch; margin:32px auto 0}
.band p.tl__solves{margin:12px 0 0; font-size:.86rem; line-height:1.4; color:var(--accent)}

/* section 5: pillar cards, five of them laid out 3 + 2 and centred */
.pillars{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:0}
.pillar{
  flex:0 1 calc((100% - 24px) / 3); min-width:280px;
  padding:22px 22px 20px; border-radius:14px;
  border:1px solid var(--line); box-shadow:var(--lit);
  background:linear-gradient(180deg,#ffffff0d,#ffffff06);
  backdrop-filter:blur(14px) saturate(118%);
  -webkit-backdrop-filter:blur(14px) saturate(118%);
  transition:border-color .2s;
}
.pillar:hover{border-color:rgb(var(--accent-rgb) / .3)}
/* bento: the second row's two cards span half the grid each, so the rows
   read as 3 + 2 at full width instead of two orphans floating in space */
.pillar:nth-child(4), .pillar:nth-child(5){flex-basis:calc((100% - 12px) / 2)}
.pillar__t{font-family:var(--serif); font-weight:700; font-size:1.5rem; line-height:1.15; color:#fff; letter-spacing:0}
.band p.pillar__b{margin:10px 0 0; font-size:.98rem; line-height:1.55; color:rgba(255,255,255,.6)}
/* the payoff clause is the point; it reads at full strength */
.pillar__so{display:block; margin-top:8px; color:#fff; font-weight:500}

.band p.cap{margin-top:34px; font-size:13.5px; letter-spacing:0; color:rgba(255,255,255,.7); text-align:center}
.band p.cap--tight{margin-top:14px}

/* section 6: who it's for / who it's not for */
.versus{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:32px 0 0}
.vs{padding:26px 24px; border-radius:15px; border:1px solid var(--line); box-shadow:var(--lit); background:linear-gradient(180deg,#ffffff0d,#ffffff06);}

.vs--them .vs__t .pip{background:rgb(var(--neg-hi-rgb)); box-shadow:0 0 10px 2px rgb(var(--neg-rgb) / .35)}
.vs--them li::before{background:rgb(var(--neg-hi-rgb) / .4)}

.vs__t{
  display:flex; align-items:center; gap:9px; margin-bottom:16px;
  font-family:var(--display); font-weight:500; font-size:1.35rem; color:#fff; letter-spacing:-.045em;
}
.vs__t .pip{width:7px; height:7px; border-radius:50%; background:#ffffff4d; flex:none}
.vs--us .vs__t .pip{background:var(--accent); box-shadow:0 0 10px 2px rgb(var(--accent-rgb) / .45)}
/* optional: a short <ul> in a card instead of the paragraph */
.vs ul{list-style:none; margin:0; padding:0; display:grid; gap:11px}
.vs li{color:#fff; font-size:.97rem; line-height:1.5; padding-left:16px; position:relative}
.vs li::before{content:''; position:absolute; left:0; top:9px; width:5px; height:5px; border-radius:50%; background:#ffffff40}
.vs--us li::before{background:var(--accent)}

/* section 5: stat tiles. The figure in .stat__n counts up on reveal. */
.stats{display:grid; gap:12px; grid-template-columns:repeat(4,1fr); margin:0 0 30px}
.stat{
  position:relative; padding:22px 18px; border-radius:13px;
  border:1px solid var(--line); background:linear-gradient(180deg,#ffffff0f,#ffffff07);
  box-shadow:var(--lit-accent);
  transition:border-color .2s, background .2s;
}
.stat:hover{border-color:rgb(var(--accent-rgb) / .3); background:rgb(var(--accent-rgb) / .031)}
.stat__i{
  width:40px; height:40px; border-radius:10px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  color:var(--accent); border:1px solid rgb(var(--accent-rgb) / .19); background:rgb(var(--accent-rgb) / .059);
}
.stat__n{
  margin-top:14px; font-family:var(--display); font-weight:500; font-size:1.15rem;
  color:var(--accent); letter-spacing:0; line-height:1.1;
}
.stat__l{font-family:var(--display); font-weight:600; font-size:1.02rem; color:#fff; line-height:1.35}
.stat__d{margin-top:8px; font-size:.9rem; color:rgba(255,255,255,.6); line-height:1.5}

/* scroll word-fill: words sit dim and light to full opacity as you read.
   the dim state is only ever applied by JS, so no-JS renders fully legible. */
.scrollfill .pivot{
  font-family:var(--serif); font-size:1.5rem; line-height:1.3; letter-spacing:-.01em;
  margin:26px 0;
}
.sf-init .w{opacity:.18; transition:opacity .22s linear}
.sf-init .w.on{opacity:1}

/* founder portrait beside the credibility copy */
.bio{display:grid; grid-template-columns:300px 1fr; gap:44px; align-items:start}
.bio__shot{margin:0; position:sticky; top:64px}
.bio__shot img{
  width:100%; height:auto; display:block; border-radius:14px;
  border:1px solid var(--line);
  box-shadow:0 30px 70px -28px #000, 0 0 70px -26px rgb(var(--accent-rgb) / .35);
}
/* accent edge around the portrait */
.bio__shot::after{
  content:''; position:absolute; inset:-1px; border-radius:15px; pointer-events:none;
  background:linear-gradient(150deg, rgb(var(--accent-rgb) / .22), transparent 42%, transparent 70%, rgb(var(--accent-rgb) / .12));
  mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  mask-composite:exclude; -webkit-mask-composite:xor; padding:1px;
}
.bio__copy p:first-child{margin-top:0}

.faq-wrap{max-width:760px; margin-inline:auto}

/* FAQ: one card per question */
.faq{display:grid; gap:12px}
.faq details{
  border:1px solid var(--line); border-radius:13px; box-shadow:var(--lit);
  background:linear-gradient(180deg,#ffffff0d,#ffffff06);
  padding:0 20px;
}
.faq details[open]{border-color:rgb(var(--accent-rgb) / .3)}
.faq summary{
  cursor:pointer; list-style:none; padding:19px 34px 19px 0; position:relative;
  font-family:var(--display); font-weight:500; font-size:1.02rem; color:#fff; letter-spacing:-.04em;
}
.faq summary::-webkit-details-marker{display:none}
/* a drawn chevron that turns in place */
.faq summary::after{
  content:''; position:absolute; right:0; top:50%; width:24px; height:24px; margin-top:-12px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:rotate .4s cubic-bezier(.33,1,.68,1);
}
.faq details[open] summary::after{rotate:180deg}
.faq p{padding:0 0 20px; margin:0; font-size:.99rem}
/* answers ease open and shut where the browser can animate to an auto
   height; elsewhere they open at once. The transitions sit on the answer's
   box, never on details itself, which is a scroll-reveal target. */
@supports selector(::details-content){
  .faq details{interpolate-size:allow-keywords}
  /* opens on a soft ease-out and shuts a little quicker; the answer fades
     in just behind the height and fades out before it's clipped */
  .faq details::details-content{
    block-size:0; overflow:clip;
    transition:block-size .28s cubic-bezier(.4,0,.2,1), content-visibility .28s allow-discrete;
  }
  .faq details[open]::details-content{
    block-size:auto;
    transition:block-size .4s cubic-bezier(.33,1,.68,1), content-visibility .4s allow-discrete;
  }
  .faq details > :not(summary){opacity:0; translate:0 -6px; transition:opacity .15s, translate .15s}
  .faq details[open] > :not(summary){
    opacity:1; translate:0 0;
    transition:opacity .34s cubic-bezier(.33,1,.68,1) 75ms, translate .34s cubic-bezier(.33,1,.68,1) 75ms;
  }
  @starting-style{
    .faq details[open] > :not(summary){opacity:0; translate:0 -6px}
  }
}
@media (prefers-reduced-motion:reduce){
  .faq details::details-content,
  .faq details > :not(summary),
  .faq summary::after{transition:none}
  .results__clip::after{transition:none}
}

.formwrap{
  /* a fixed height the embed fills exactly; set it to your form's height.
     a min-height taller than the form's iframe leaves a dark strip under it. */
  position:relative; height:560px; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); background:var(--panel);
  box-shadow:var(--lit), 0 0 90px -34px rgb(var(--accent-rgb) / .6);
}
/* pin any embed to the box. Typeform nests wrappers with their own heights,
   so sizing through that chain leaves a gap; absolute positioning ignores
   whatever the script builds. */
.formwrap [data-tf-live], .formwrap [data-tf-live] > div{height:100% !important}
.formwrap iframe{
  position:absolute !important; inset:0 !important;
  width:100% !important; height:100% !important; border:0 !important;
}
/* shown until a form is embedded */
.form-placeholder{
  position:absolute; inset:16px; border-radius:6px;
  border:1px dashed var(--line-strong);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; padding:24px; text-align:center; color:var(--accent);
}
.band .form-placeholder p{margin:0}
.band .form-placeholder__t{font-family:var(--display); font-weight:500; font-size:1.2rem; color:#fff}
.band .form-placeholder__b{font-size:.95rem; color:rgba(255,255,255,.6); max-width:34ch}

/* section 9: closing call to action */
.close{text-align:center}

/* results wall (see the comment above the section in index.html) */
.band p.results__lede, .band p.inc__lede{text-align:center; max-width:60ch; margin:0 auto 40px}
.results__clip{position:relative}
.results__clip.is-folded{max-height:1200px; overflow:hidden}
/* the fade over the fold; it dissolves while the wall opens */
.results__clip::after{
  content:''; position:absolute; inset:auto 0 0; height:224px; pointer-events:none;
  background:linear-gradient(to top, var(--bg), rgb(var(--bg-rgb) / .85) 50%, transparent);
  opacity:0; transition:opacity .5s ease;
}
.results__clip.is-folded::after{opacity:1}
.results-wall{columns:1; column-gap:12px}
.shot{break-inside:avoid; margin:0 0 12px; border-radius:12px; overflow:hidden; background:var(--panel); box-shadow:0 0 0 1px var(--line)}
.shot img{display:block; width:100%; height:auto}
@media (min-width:721px){ .results-wall{columns:2} }
@media (min-width:961px){ .results-wall{columns:3} }
/* app.js swaps the CSS columns above for level, left-to-right ones */
.results-wall.is-packed{columns:auto; display:flex; align-items:flex-start; gap:12px}
.results-col{flex:1; min-width:0; display:flex; flex-direction:column; gap:12px}
.results-col .shot{margin:0}
.results__more{position:relative; display:flex; justify-content:center; margin-top:-32px}
.results__more[hidden]{display:none}
.more-btn{display:inline-flex; align-items:center; gap:8px; cursor:pointer; line-height:inherit}

/* click to enlarge: the thumbnails (app.js wraps each image in a button) */
/* hover and focus live on the button, never on .shot itself: .shot is a
   scroll-reveal target, and a transition there would replace the reveal's */
.shot__zoom{position:relative; display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; border-radius:inherit; outline:none}
.shot__zoom::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb) / .3); opacity:0; transition:opacity .2s;
}
.shot__zoom:hover::after{opacity:1}
.shot__zoom:focus-visible::after{opacity:1; box-shadow:inset 0 0 0 2px rgb(var(--accent-rgb) / .6)}
.shot__zoom img{transition:transform .5s cubic-bezier(.16,1,.3,1)}
.shot__zoom:hover img{transform:scale(1.015)}

/* the lightbox: a native <dialog> that fills the screen, built by app.js.
   app.js grows the image out of its screenshot; CSS only dims the page. */
.lightbox{
  position:fixed; inset:0; width:100%; height:100dvh; max-width:none; max-height:none;
  margin:0; padding:64px 16px 24px; border:0; background:transparent; color:var(--text);
  overflow:hidden; cursor:zoom-out; touch-action:pan-y;
}
.lightbox[open]{display:grid; grid-template:minmax(0,1fr) / minmax(0,1fr); place-items:center}
.lightbox::backdrop{
  background:rgb(var(--bg-rgb) / .6); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); opacity:0;
  transition:opacity .3s ease-out, display .3s allow-discrete, overlay .3s allow-discrete;
}
.lightbox[open]::backdrop{opacity:1}
.lightbox.is-closing::backdrop{opacity:0}
@starting-style{
  .lightbox[open]::backdrop{opacity:0}
}
html:has(.lightbox[open]){overflow:hidden}
.lightbox__img{
  display:block; width:auto; height:auto; max-width:100%; max-height:100%; transform-origin:0 0;
  border-radius:12px; box-shadow:0 0 0 1px rgb(255 255 255 / .1), 0 25px 50px -12px rgb(0 0 0 / .6);
  user-select:none; -webkit-user-select:none;
}
.lightbox__close{
  position:absolute; top:16px; right:16px; display:grid; place-items:center; width:40px; height:40px; padding:0;
  border-radius:999px; border:1px solid var(--line-strong); background:#ffffff0a; color:var(--text);
  backdrop-filter:blur(8px); cursor:pointer;
  transition:opacity .3s ease-out, border-color .2s, background .2s;
}
@starting-style{
  .lightbox[open] .lightbox__close{opacity:0}
}
.lightbox.is-closing .lightbox__close{opacity:0; transition-duration:.15s}
.lightbox__close:hover{border-color:rgb(var(--accent-rgb) / .35); background:rgb(var(--accent-rgb) / .1)}
.lightbox__close:focus-visible{outline:2px solid rgb(var(--accent-rgb) / .6); outline-offset:2px}
.lightbox__close svg{width:20px; height:20px}
@media (min-width:721px){
  .lightbox{padding:64px}
  .lightbox__close{top:20px; right:24px}
}
@media (prefers-reduced-motion:reduce){
  .shot__zoom img{transition:none}
  .shot__zoom:hover img{transform:none}
  .lightbox::backdrop, .lightbox__close{transition:none}
}

/* footer */
footer{border-top:1px solid var(--line); padding:56px 0 64px; margin-top:0}
footer .band__inner{max-width:1040px}
.foot-top{display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:26px}
.foot-top img{height:20px; width:auto; opacity:.6}
/* InfoHire stacked wordmark: two lines, so it needs more height than a one-line logo */
.brandbar img.logo-stack{height:32px; opacity:1}
.foot-top img.logo-stack{height:28px; opacity:.9}
.foot-nav{display:flex; gap:8px 20px; flex-wrap:wrap}
.foot-nav a{color:#fff; font-size:.88rem; text-decoration:none; transition:color .2s}
.foot-nav a:hover, .foot-nav a[aria-current=page]{color:rgb(var(--accent-rgb))}
.foot-legal{display:flex; gap:8px 20px; flex-wrap:wrap; margin-top:28px}
.foot-legal a{color:rgb(255 255 255 / .55); font-size:.8rem; text-decoration:none; transition:color .2s}
.foot-legal a:hover{color:#fff}
.foot-legal a[aria-current=page]{color:rgb(var(--accent-rgb))}
.legal{font-size:.78rem; line-height:1.65; color:#fff; margin:0 0 15px}
.legal b{color:var(--muted); font-weight:500}

@media (max-width:960px){
  .bio{grid-template-columns:1fr; gap:26px}
  .bio__shot{position:relative; top:auto; width:100%; margin-inline:auto}
  .versus{grid-template-columns:1fr}
}
@media (max-width:860px){
  .pillar, .pillar:nth-child(4), .pillar:nth-child(5){flex-basis:100%; min-width:0}
  .stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .stats{grid-template-columns:1fr}
}
@media (max-width:720px){
  section.band{padding:48px 0}
  .hero{margin-bottom:38px}
  #apply{padding-top:36px}
}

@media (max-width:720px){
  .hero__inner{padding:40px 20px 0}
  .video-stage{margin-top:20px; width:100%}
  .video-frame{border-radius:9px}
  .video{border-radius:8px}
  .sheet{width:34%; top:-2%}
  .sheet--nl, .sheet--nr{display:none}
  .sheet--fl{left:-17%}
  .sheet--fr{right:-17%}
  .brandbar{--bar-pad:20px}
  .eyebrow{font-size:12.5px}
  .brandbar img{height:22px}
  .brandbar img.logo-stack{height:28px}
  .foot-top img.logo-stack{height:24px}
  .hero__foot{height:48px}
}
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{animation:none !important; transition:none !important}
  .video-frame{--spin:118deg}
  .video-frame::before{opacity:.4}
  [data-anim]{opacity:1 !important; transform:none !important}
  .sf-init .w{opacity:1 !important}
  .tl{--tlp:1}
  .tl__item .tl__node{border-color:rgb(var(--accent-rgb) / .45); color:var(--accent)}
  .hero .brandbar, .hero .eyebrow, .hero h1, .hero .sub,
  .hero .video-stage, .hero .cta-row{opacity:1 !important; transform:none !important}
  .sheet{opacity:1 !important; transform:translate3d(0,0,0) rotate(var(--r,0deg)) !important}
}
/* Desktop body copy at 18px
   Prose only. Buttons, nav, captions, the trust line, stat figures and
   legal fine print keep their own scale, and mobile is untouched. */
@media (min-width:721px){
  .band p,
  .band p.inc__b, .band p.tl__b, .band p.pillar__b,
  .faq p,
  .stat__d,
  .sub{font-size:18px}
}

/* ══ Inner pages ═════════════════════════════════════════════════════════
   page.html, privacy.html, terms.html and contact.html. They share the
   home page's brand bar and footer. .page-head holds the title, and .doc
   styles long text: h2 sections, paragraphs, lists, links and notes. */
.page-top{position:relative; z-index:2; isolation:isolate} /* z-index keeps the open menu above the page body */
/* the same light and grid as the hero, much quieter */
.page-top::before{
  content:''; position:absolute; inset:0 0 -120px; z-index:-1; pointer-events:none;
  background:radial-gradient(70% 420px at 50% 0, rgb(var(--accent-rgb) / .13), rgb(var(--accent-rgb) / .04) 45%, transparent 75%);
}
.page-top::after{
  content:''; position:absolute; inset:0 0 -120px; z-index:-1; pointer-events:none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:66px 66px; background-position:center top;
  mask-image:radial-gradient(60% 100% at 50% 0, #000, transparent 85%);
  -webkit-mask-image:radial-gradient(60% 100% at 50% 0, #000, transparent 85%);
}
.brandbar__home{display:flex; border-radius:6px}
.page-head{max-width:808px; margin-inline:auto; padding:80px 24px 0}
.page-head h1{
  font-family:var(--display); font-weight:400; color:#fff;
  font-size:clamp(2.1rem,4.4vw,2.9rem); line-height:1.08; letter-spacing:-2px;
  margin:0; text-wrap:balance;
}
.page-head h1 em{font-family:var(--serif); font-style:normal; font-size:1.07em}
.page-meta{margin:16px 0 0; font-size:.88rem; color:rgba(255,255,255,.6)}
.page-lede{margin:22px 0 0; font-size:1.02rem; line-height:1.68; text-wrap:pretty}
section.band.page-body{padding:48px 0 80px}
.page-body .band__inner{max-width:808px}

/* long text */
.doc h2{
  text-align:left; font-size:1.4rem; line-height:1.3; letter-spacing:-.03em;
  margin:48px 0 12px; scroll-margin-top:24px;
}
.doc > h2:first-child{margin-top:0}
.doc h3{margin:28px 0 8px}
.doc ul, .doc ol{margin:0 0 17px; padding-left:1.3em}
.doc li{font-size:1.02rem; line-height:1.68; margin:0 0 8px; padding-left:4px}
.doc li::marker{color:var(--accent)}
.doc a{color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px}
.doc a:hover{color:#fff}
.doc hr{border:0; border-top:1px solid var(--line); margin:44px 0}
/* a boxed aside, for "this is a placeholder" or any notice */
.band p.doc-note, .doc-note{
  margin:0 0 40px; padding:16px 20px; border-radius:12px;
  border:1px dashed rgb(var(--accent-rgb) / .3); background:rgb(var(--accent-rgb) / .04);
  font-size:.92rem; line-height:1.6; color:rgba(255,255,255,.82);
}

/* contact page: method cards, then an optional form */
.contact-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin:0 0 56px}
.contact-grid .pillar{min-width:0}
.contact-grid .pillar__t{font-size:1.35rem}
.band .contact-grid p.pillar__b{margin-top:8px}
.contact-grid a{color:#fff; text-decoration:underline; text-decoration-color:rgb(var(--accent-rgb) / .5); text-underline-offset:3px}
.contact-grid a:hover{color:var(--accent)}

/* entrance: the brand bar drops in, then the title block rises, once */
.page-top .brandbar, .page-head > *{
  opacity:0; transform:translate3d(0,22px,0);
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) forwards;
}
.page-top .brandbar{animation-delay:.05s; transform:translate3d(0,-14px,0)}
.page-head > :nth-child(1){animation-delay:.18s}
.page-head > :nth-child(2){animation-delay:.28s}
.page-head > :nth-child(n+3){animation-delay:.38s}

@media (min-width:721px){
  .page-lede, .doc li{font-size:18px}
}
@media (max-width:720px){
  .page-head{padding-top:56px}
  section.band.page-body{padding:36px 0 64px}
}
@media (prefers-reduced-motion:reduce){
  .page-top .brandbar, .page-head > *{opacity:1 !important; transform:none !important; animation:none !important}
}

/* ══ Once per visit ═════════════════════════════════════════════════════
   Each load animation plays the first time someone sees it in a visit
   (one browser tab, until it's closed): the brand bar on the first page
   they open, the hero the first time they see the home page, and the
   title block on the first other page. The script near the top of each
   page's <head> adds seen-bar, seen-home or seen-page to <html> for the
   ones already played, and these rules open them in place. app.js does
   the same for scroll reveals that are on screen when the page opens.
   The home page has data-entrance="home" on <html>; other pages need
   nothing. */
.seen-bar .brandbar,
.seen-home .hero :is(.eyebrow, h1, .sub, .video-stage, .cta-row),
.seen-page .page-head > *{animation:none; opacity:1; transform:none}
.seen-home .sheet{animation:none}

/* ══ Polish layer (11-20) ════════════════════════════════════════════════
   Type and colour follow scalingplans.com exactly: Geist 400 at -2px, pure
   white text (card bodies at 60%), flat white-alpha cards, accent-tinted
   "for you" card, FAQ and form. On top: shadcn / Magic UI motion only —
   cursor spotlight on cards, shine button, badge ping, blur-in reveals,
   Lenis smooth scroll (app.js). Delete this block to go back. */
:root{
  --line:rgb(255 255 255 / .08); --line-strong:rgb(255 255 255 / .12);
  --ring:rgb(var(--accent-rgb) / .6);
  --ease-out:cubic-bezier(.22,1,.36,1);
}
::selection{background:rgb(var(--accent-rgb) / .35); color:#fff}
html{scroll-padding-top:24px}
html:not(.lenis){scroll-behavior:smooth}
html.lenis, html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
:focus-visible{outline:2px solid var(--ring); outline-offset:3px; border-radius:8px}

/* Jeremy's sizes */
h1{font-size:clamp(1.6rem, 2.55vw, 2.3rem); line-height:1.12; letter-spacing:-2px; margin-top:18px}
section.band{padding:96px 0}

/* Jeremy's surfaces */
.tl__card, .pillar, .stat{border-color:rgb(255 255 255 / .08); box-shadow:none}
.faq details{border-color:rgb(var(--accent-rgb) / .19); box-shadow:none}
.faq details[open]{border-color:rgb(var(--accent-rgb) / .32)}
.vs{border-color:rgb(255 255 255 / .08); box-shadow:none}
.vs--us{
  background:linear-gradient(180deg, rgb(var(--accent-rgb) / .09), rgb(var(--accent-rgb) / .024));
  border-color:rgb(var(--accent-rgb) / .24);
  box-shadow:0 0 70px -30px rgb(var(--accent-rgb) / .5);
}
.formwrap{border-color:rgb(var(--accent-rgb) / .2)}
.eyebrow{border-color:rgb(255 255 255 / .1); background:rgb(255 255 255 / .03)}

/* cursor spotlight (Magic UI "magic card"); reveal transitions stay in the
   list or the cards would pop in instead of fading */
.tl__card, .pillar, .vs, .faq details, .stat{
  position:relative; isolation:isolate;
  transition:opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out),
             border-color .3s var(--ease-out);
}
:is(.tl__card, .pillar, .vs, .faq details, .stat)::before{
  content:''; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none;
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,-30%), rgb(var(--accent-rgb) / .09), transparent 45%);
  opacity:0; transition:opacity .4s var(--ease-out);
}
:is(.tl__card, .pillar, .vs, .faq details, .stat)::after{
  content:''; position:absolute; inset:-1px; border-radius:inherit; pointer-events:none; padding:1px;
  background:radial-gradient(240px circle at var(--mx,50%) var(--my,-30%), rgb(var(--accent-rgb) / .55), transparent 60%);
  -webkit-mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
          mask:linear-gradient(#000,#000) content-box exclude, linear-gradient(#000,#000);
  -webkit-mask-composite:xor;
  opacity:0; transition:opacity .4s var(--ease-out);
}
:is(.tl__card, .pillar, .vs, .faq details, .stat):hover::before,
:is(.tl__card, .pillar, .vs, .faq details, .stat):hover::after{opacity:1}

/* timeline number pulses once when the rail reaches it */
.tl__item.lit .tl__node{animation:nodePing .9s var(--ease-out) 1}
@keyframes nodePing{
  0%{box-shadow:0 0 0 0 rgb(var(--accent-rgb) / .45), 0 0 16px -2px rgb(var(--accent-rgb) / .35)}
  100%{box-shadow:0 0 0 12px rgb(var(--accent-rgb) / 0), 0 0 16px -2px rgb(var(--accent-rgb) / .35)}
}

/* badge dot pings */
.eyebrow .dot{position:relative}
.eyebrow .dot::after{content:''; position:absolute; inset:0; border-radius:50%; background:var(--accent); animation:ping 2.2s cubic-bezier(0,0,.2,1) infinite}
@keyframes ping{75%,100%{transform:scale(2.6); opacity:0}}

/* button: shine sweep, arrow nudge, press */
.btn{overflow:hidden; isolation:isolate; transition:transform .25s var(--ease-out), background-color .2s, box-shadow .25s}
.btn::after{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .9) 48%, transparent 66%);
  translate:-110% 0; transition:translate .8s var(--ease-out);
}
.btn:hover{transform:translateY(-2px)}
.btn:hover::after{translate:110% 0}
.btn:active{transform:translateY(0) scale(.97); transition-duration:.08s}
.btn svg{transition:transform .3s var(--ease-out)}
.btn:hover svg{transform:translateX(4px)}
.nav-cta:active, .more-btn:active{transform:scale(.97)}

/* blur-in reveal */
[data-anim]{
  transform:translate3d(0,20px,0); filter:blur(8px);
  transition:opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
[data-anim="left"]{transform:translate3d(-24px,0,0)}
[data-anim="scale"]{transform:translate3d(0,16px,0) scale(.96)}
[data-anim].in{filter:none}
.hero .eyebrow, .hero h1, .hero .sub, .hero .cta-row{animation-name:heroInBlur; animation-duration:1.1s}
@keyframes heroInBlur{from{filter:blur(10px)} to{opacity:1; transform:none; filter:none}}

@media (max-width:720px){ section.band{padding:60px 0} }
@media (hover:none){
  :is(.tl__card, .pillar, .vs, .faq details, .stat)::before,
  :is(.tl__card, .pillar, .vs, .faq details, .stat)::after{display:none}
}
@media (prefers-reduced-motion:reduce){
  [data-anim]{filter:none !important}
  .btn::after, .eyebrow .dot::after{display:none}
  .btn:hover svg{transform:none}
}

/* Darker (11-20): near-black page, the logo navy kept as light */
:root{
  --bg-rgb:3 5 10;                     /* #03050a, black with a blue cast */
  --navy-rgb:14 24 48;                 /* deep logo navy used as light */
  --panel:#080c16;
  --node-top:#121a2bf2; --node-bottom:#070b14f2;
}
/* navy pooled behind the hero, fading to black before the hero ends */
.hero__bg{
  background:
    radial-gradient(60% 62% at 50% -6%, rgb(var(--accent-rgb) / .14) 0%, rgb(var(--accent-rgb) / .05) 42%, rgb(var(--accent-rgb) / 0) 74%),
    radial-gradient(90% 75% at 50% 10%, rgb(var(--navy-rgb) / .95) 0%, rgb(var(--navy-rgb) / .45) 45%, rgb(var(--navy-rgb) / 0) 80%);
}
.hero__grid{opacity:.7}
/* the same navy behind the form and the close, under the accent glow */
.form-band::after, .band--close::after{
  background:
    radial-gradient(closest-side, rgb(var(--accent-rgb) / .07) 0%, rgb(var(--accent-rgb) / 0) 70%),
    radial-gradient(closest-side, rgb(var(--navy-rgb) / .9) 0%, rgb(var(--navy-rgb) / .35) 55%, rgb(var(--navy-rgb) / 0) 95%);
}

/* Application form (#af, form.js)
   One question per screen, built from FORM-STUDY.md. Lives in .formwrap,
   which keeps its 560px height on desktop and grows with the form on phones. */
.af{height:100%; display:flex; flex-direction:column; text-align:left; color:#fff; position:relative}
/* the step centres itself with auto margins, so a tall step scrolls from its top instead of being cut off at both ends */
.af-stage{flex:1; min-height:0; display:flex; flex-direction:column; padding:32px 56px 8px; overflow-y:auto}
.af-step{border:0; margin:auto; padding:0; min-width:0; width:100%; max-width:520px}
.af [hidden]{display:none !important}
.af-q{float:left; width:100%; padding:0; margin:0 0 22px; outline:none;
  font-family:var(--display); font-weight:500; font-size:clamp(1.28rem, 2.3vw, 1.55rem);
  line-height:1.3; letter-spacing:-.02em; color:#fff; text-wrap:balance}
.af-q label{cursor:inherit}
.af-step > :not(legend){clear:both}
.af-num{display:inline-flex; align-items:center; gap:5px; margin-right:10px; vertical-align:.18em;
  font-size:.8rem; font-weight:600; letter-spacing:0; color:var(--accent)}
.af-num::after{content:"→"; font-size:.75rem}

.af-choices{display:flex; flex-direction:column; gap:8px; max-width:420px}
/* long lists (the seat question) sit in two columns on wider screens */
@media (min-width:721px){ .af-choices--two{display:grid; grid-template-columns:1fr 1fr; max-width:none} }
.af-choice{
  display:flex; align-items:center; gap:12px; min-height:48px; padding:8px 16px 8px 11px;
  border-radius:10px; border:1px solid var(--line-strong); background:rgb(var(--edge-rgb) / .06);
  color:#fff; font:inherit; font-size:1rem; line-height:1.3; text-align:left; cursor:pointer;
  transition:background-color .25s cubic-bezier(.215,.61,.355,1), border-color .25s cubic-bezier(.215,.61,.355,1);
}
.af-choice:hover{background:rgb(var(--accent-rgb) / .1); border-color:rgb(var(--accent-rgb) / .35)}
.af-choice[aria-checked=true]{background:rgb(var(--accent-rgb) / .18); border-color:var(--accent)}
.af-choice:focus-visible, .af-next:focus-visible, .af-skip:focus-visible, .af-arrow:focus-visible{
  outline:2px solid var(--accent-hi); outline-offset:2px}
.af-key{position:relative; flex:none; width:22px; height:22px; display:grid; place-items:center;
  border-radius:5px; border:1px solid var(--line-strong); font-size:12px; font-weight:600; color:rgb(255 255 255 / .8)}
.af-choice[aria-checked=true] .af-key{background:#fff; border-color:#fff; color:transparent}
.af-choice[aria-checked=true] .af-key::after{content:"✓"; position:absolute; inset:0; display:grid; place-items:center; color:var(--btn-ink); font-size:12px}
.af-choice.is-blink{animation:af-blink .3s linear}
@keyframes af-blink{0%,50%,100%{background:rgb(var(--accent-rgb) / .18)} 25%,75%{background:rgb(var(--accent-rgb) / .02)}}

.af-other{margin-top:16px; max-width:420px}
.af-fields{display:flex; flex-direction:column; gap:16px; max-width:420px}
.af-label{display:block; margin-bottom:2px; font-size:.85rem; font-weight:500; color:rgb(255 255 255 / .7)}
.af-input{display:block; width:100%; max-width:420px; margin:0; padding:8px 0; border:0; border-radius:0;
  border-bottom:1px solid var(--line-strong); background:transparent; color:#fff;
  font:inherit; font-size:16px; line-height:1.4; outline:none; box-shadow:0 1px 0 transparent;
  transition:border-color .2s, box-shadow .2s}
.af-input--big{font-size:1.25rem; max-width:none}
.af-input:focus{border-bottom-color:var(--accent); box-shadow:0 1px 0 var(--accent)}
.af-input[aria-invalid=true]{border-bottom-color:rgb(var(--neg-hi-rgb)); box-shadow:0 1px 0 rgb(var(--neg-hi-rgb))}
.af-text{resize:none; overflow-y:auto; max-height:150px}
.formwrap p.af-hint{margin:8px 0 0; font-size:.85rem; line-height:1.45; color:rgb(255 255 255 / .5)}
.formwrap p.af-err{margin:6px 0 0; font-size:.85rem; line-height:1.45; color:rgb(var(--neg-hi-rgb))}
.formwrap p.af-err:empty{display:none}

.af-next{display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:22px; padding:10px 20px;
  border:0; border-radius:999px; background:#f4f6f9; color:var(--btn-ink); text-decoration:none;
  font:inherit; font-size:14px; font-weight:600; cursor:pointer;
  box-shadow:inset 0 1px 0 #fff, 0 1px 2px #00000066, 0 8px 24px -12px #000000b3;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s, opacity .18s}
.af-next:hover{transform:translateY(-1px); background:#fff}
.af-next:disabled{opacity:.35; cursor:default; transform:none}
.af-enter{font-size:12px; opacity:.55}
.af-row{display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:22px}
.af-row .af-next{margin-top:0}
.af-skip{min-height:44px; padding:10px 18px; border-radius:999px; border:1px solid var(--line-strong);
  background:transparent; color:#fff; font:inherit; font-size:14px; cursor:pointer;
  transition:background-color .18s, border-color .18s}
.af-skip:hover{background:rgb(var(--accent-rgb) / .1); border-color:rgb(var(--accent-rgb) / .35)}

/* ── Booking calendar: the iClosed reference from iclosed-teardown/rebuild,
   mounted as is in #af-cal (booking-form.css + variants.js 'iclosed').
   Booked: the question line turns into "You're booked" (form.js). Don't hide
   or resize that line: moving the calendar while it swaps to the booked card
   leaves the card with a stale zero-height layout in Chromium (seen 11-21). */
.af-step--wide{max-width:680px}
.af-step.is-booked .af-num{visibility:hidden; width:0; margin:0}
/* The reference goes side by side from 768px; the 640px card fits this box from 640px. */
@container (min-width:640px) and (max-width:767px){
  #af-cal .bf-card.is-cal-times{width:640px}
  #af-cal .is-cal-times .bf-body{grid-template-columns:1fr 230px}
  #af-cal .is-cal-times .bf-pane + .bf-pane{border-top:0; border-left:1px solid var(--bf-border)}
}
/* Side by side, the times run the full height of the card: the calendar sets the height,
   the list fills the rest of the right side under its heading and scrolls inside it. */
@container (min-width:640px){
  #af-cal .is-cal-times .bf-pane + .bf-pane{position:relative}
  #af-cal .is-cal-times .bf-pane + .bf-pane .bf-times{position:absolute; left:20px; right:14px; top:59px; bottom:20px; max-height:none; overscroll-behavior:contain}
}
/* the page's own h2 rule would turn the booked heading white */
#af-cal .bf h2{color:var(--bf-text); font-family:inherit; letter-spacing:normal; line-height:1.4}
#af-cal .bf-foot{display:none}
.formwrap.is-booking{height:auto; min-height:560px}
.formwrap.is-booking .af-stage{overflow:visible}

/* Booking motion
   shadcn's enter recipe (tw-animate-css: fade-in, zoom-in-95, slide-in-from-*-2)
   on the project's ease-out curve (vsl-landing-shadcn EASE_OUT). Only transform
   and opacity move. form.js adds .m-in to replay a list when its content changes,
   because the card patches its DOM in place and a CSS animation only runs once. */
#af-cal{--m-ease:cubic-bezier(.16,1,.3,1)}
@keyframes m-enter{from{opacity:var(--m-o,0); transform:translate3d(var(--m-x,0),var(--m-y,0),0) scale(var(--m-s,1))}}
@keyframes m-grow{from{flex-grow:0; opacity:0}}
@keyframes m-pop{from{transform:scale(.82)} 60%{transform:scale(1.04)}}
/* the card rises in when the step opens, like a shadcn dialog */
#af-cal .bf-card{animation:m-enter .42s var(--m-ease) both; --m-s:.96; --m-y:10px}
/* inside it: calendar first, then the times */
#af-cal .bf-body > .bf-pane{animation:m-enter .4s var(--m-ease) both; --m-y:6px}
#af-cal .bf-body > .bf-pane:nth-child(1){animation-delay:.08s}
#af-cal .bf-body > .bf-pane:nth-child(2){animation-delay:.14s}
/* time buttons cascade in, 24ms apart, capped so a long day isn't slow */
#af-cal .bf-slot.m-in{animation:m-enter .32s var(--m-ease) both; --m-y:-6px; animation-delay:calc(var(--m-base,0s) + min(var(--i,0), 10) * 24ms)}
/* month change: the grid slides in from the side you went */
#af-cal .bf-grid.m-in{animation:m-enter .3s var(--m-ease) both; --m-x:calc(var(--m-dir,1) * 14px)}
/* picking a day: the dark square pops; buttons give under the finger */
#af-cal .bf-day.is-selected{animation:m-pop .34s var(--m-ease)}
#af-cal .bf-day.is-avail:active, #af-cal .bf-slot button:active, #af-cal .bf-nav button:active{transform:scale(.95); transition-duration:.06s}
#af-cal .bf-slot button{transition:background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--m-ease)}
/* picking a time: Confirm grows out of the time button instead of jumping in */
#af-cal .bf-slot button.confirm{flex-basis:0; min-width:0; overflow:hidden; white-space:nowrap; animation:m-grow .34s var(--m-ease) both}
/* 12h / 24h: one pill slides between the two, like shadcn Tabs with a moving indicator */
#af-cal .bf-toggle{position:relative; display:grid; grid-template-columns:1fr 1fr; isolation:isolate}
#af-cal .bf-toggle::before{content:""; position:absolute; inset:0 50% 0 0; z-index:-1; background:#eef1f6;
  transition:transform .32s var(--m-ease)}
#af-cal .bf-toggle:has(button:last-child.is-on)::before{transform:translateX(100%)}
#af-cal .bf-toggle button, #af-cal .bf-toggle button.is-on{background:transparent; position:relative; transition:color .2s ease}
#af-cal .bf-toggle button:active{transform:scale(.94)}
/* booked: the card settles in, then its rows follow one by one */
#af-cal .bf-card.is-done{animation:none}
#af-cal .bf-done > *{animation:m-enter .44s var(--m-ease) both; --m-y:8px}
#af-cal .bf-done > :nth-child(1){animation-delay:.12s; --m-s:.94}
#af-cal .bf-done > :nth-child(2){animation-delay:.18s}
#af-cal .bf-done > :nth-child(3){animation-delay:.24s}
#af-cal .bf-done > :nth-child(4){animation-delay:.3s}
#af-cal .bf-done > :nth-child(n+5){animation-delay:.36s}
/* the step change itself (calendar → booked): out like shadcn's zoom-out-95, in like zoom-in-95 */
::view-transition-group(*){animation-duration:.38s; animation-timing-function:cubic-bezier(.16,1,.3,1)}
::view-transition-old(*){animation:m-vt-out .16s ease-in both}
::view-transition-new(*){animation:m-vt-in .36s cubic-bezier(.16,1,.3,1) .06s both}
::view-transition-old(root), ::view-transition-new(root){animation:none}
@keyframes m-vt-out{to{opacity:0; transform:scale(.97)}}
@keyframes m-vt-in{from{opacity:0; transform:translateY(8px) scale(.97)}}
@media (prefers-reduced-motion: reduce){
  #af-cal *{animation:none !important; transition:none !important}
}
.formwrap p.af-empty{margin:0; font-size:.95rem; color:rgb(255 255 255 / .7)}

.formwrap p.af-end__b{margin:0; max-width:44ch; font-size:1.02rem; color:rgb(255 255 255 / .75)}
.af-end .af-next{margin-top:24px}

.af-foot{display:flex; align-items:center; justify-content:flex-end; gap:12px; padding:12px 18px 16px 22px}
.af-nav{display:flex; gap:4px}
.af-arrow{width:36px; height:36px; display:grid; place-items:center; padding:0; border-radius:8px;
  border:1px solid var(--line); background:rgb(var(--edge-rgb) / .06); color:#fff; cursor:pointer;
  transition:background-color .18s, opacity .18s}
.af-arrow:hover{background:rgb(var(--accent-rgb) / .14)}
.af-arrow:disabled{opacity:.3; cursor:default; background:rgb(var(--edge-rgb) / .06)}
.af-nav[hidden]{display:none}
.formwrap p.af-live{position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* screen changes: the old question leaves upward, the new one rises in.
   --af-dir is -1 when going back, so both run the other way. */
.af-step.is-out{animation:af-out .16s cubic-bezier(.55,.055,.675,.19) forwards}
.af-step.is-in{animation:af-in .25s cubic-bezier(.215,.61,.355,1)}
@keyframes af-out{to{opacity:0; transform:translateY(calc(var(--af-dir, 1) * -16px))}}
@keyframes af-in{from{opacity:0; transform:translateY(calc(var(--af-dir, 1) * 16px))}}
@media (prefers-reduced-motion:reduce){
  .af-step.is-out{animation-name:af-fade-out}
  .af-step.is-in{animation-name:af-fade-in}
  .af-choice.is-blink{animation:none}
}
@keyframes af-fade-out{to{opacity:0}}
@keyframes af-fade-in{from{opacity:0}}

@media (pointer:coarse){ .af-arrow{width:44px; height:44px} .formwrap p#af-why-hint{display:none} }
@media (max-width:720px){
  .formwrap{height:auto; min-height:540px}
  .af{min-height:540px}
  .af-stage{padding:30px 20px 8px; overflow:visible}
  .af-step{margin-top:0}
  .af-foot{padding:10px 12px 14px 20px}
}
