/* ==========================================================================
   WRITER TOKENS  (design system preserved)
   ========================================================================== */
:root{
  /* Single accent: a muted sage-olive drawn from the warm palette. Replaces the
     old purple/blue entirely — those cool synthetic hues read as generic.
     Used sparingly: one highlighted word, kickers, bullets, small marks. */
  --sage:#5b6247;
  --sage-deep:#454b34;
  --sage-light:#b9bda3;       /* the accent as it must appear on bronze/dark */
  --sage-wash:#ecebe1;

  /* --accent flips to the light tone inside dark bands (see .section--dark),
     so every mark stays legible without per-rule overrides */
  --accent:var(--sage);

  /* legacy accent names now resolve to the accent (kept so every existing
     rule inherits the change instead of being rewritten one by one) */
  --orchid:var(--accent);
  --iris:var(--accent);
  --cobalt:var(--accent);

  /* warm neutral stack: paper → linen → fog → stone → pebble → graphite */
  --ink:#32302f;              /* graphite ink — primary text, never pure black */
  --white:#fcfcfc;            /* paper white — page canvas, card surfaces */
  --lavender:#faf8f5;         /* linen cream — warm alternate sections */
  --obsidian:#3a3525;
  --warm-ivory:#efe9dd;   /* user-supplied swatch — the #problem band */         /* bronze field — full-bleed dark feature blocks */
  --graphite:#09090a;         /* charcoal — filled buttons, strong contrast */
  --mist:#e4e2e1;             /* stone — hairline borders, dividers, rules */
  --fog:#f1f0f0;              /* fog veil — quiet elevated surfaces, hovers */
  --ash:#b4b0ac;
  --slate:#686664;            /* pebble — secondary text, helper copy */
  --stone:#d6d3cb;            /* matches the core render's studio backdrop */
  --banner-gradient:linear-gradient(50deg,#e7e4d6 50px,#f4f2ec 130px,#f4f2ec 100%);

  /* header keeps its original cool palette — pinned in the NAV block, do not warm */
  --nav-white:#ffffff;
  --nav-ink:#000000;
  --nav-obsidian:#27272b;
  --nav-mist:#e4e7ed;

  --font-poppins:'Poppins',ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-serif:'Lora',Georgia,'Times New Roman',serif;
  --font-sans:'Inter',ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;

  --radius-card:24px;
  --radius-input:999px;
  --radius-btn:999px;

  --page-max:1200px;
  --pad:clamp(20px,5vw,40px);
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--font-sans);font-size:16px;line-height:1.5;letter-spacing:.005em;
  font-feature-settings:"clig" 0,"liga" 0;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,video{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--font-serif);margin:0;font-weight:500;letter-spacing:-.01em}
p{margin:0}
a{color:inherit}

/* ==========================================================================
   A11Y
   ========================================================================== */
:focus-visible{outline:2px solid var(--iris);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--obsidian);color:var(--white);padding:12px 20px;font-size:13px;border-radius:0 0 12px 0}
.skip:focus{left:0;top:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.wrap{width:100%;max-width:var(--page-max);margin:0 auto;padding-inline:var(--pad)}
.section{padding-block:clamp(64px,9vw,112px)}
/* On the bronze field the accent flips light so kickers, bullets and the
   highlighted word stay legible. The legacy names must be re-declared here too:
   var(--orchid) is substituted where it is DECLARED (:root), so overriding only
   --accent would never reach it. */
.section--dark,.cta{
  --accent:var(--sage-light);
  --orchid:var(--sage-light);
  --iris:var(--sage-light);
  --cobalt:var(--sage-light);
}
.section--dark{background:var(--obsidian);color:var(--white)}
/* warm band — a soft ivory the user picked to replace the olive dark band.
   Light surface, so every element that hardcoded white text needs an override
   below (same bug class as light-surface-in-dark-section, inverted). */
.section--warm{background:var(--warm-ivory);color:var(--ink)}
.section--warm .eyebrow{color:var(--slate)}
.section--warm .lede{color:var(--ink)}
.section--warm .gain{border-top-color:var(--stone)}
.section--warm .gain__n{color:var(--sage)}
.section--warm .gain__t{color:var(--ink)}
.section--warm .gain__d{color:var(--slate)}
.section--warm .pcard{color:var(--ink);border-top-color:var(--stone)}
.section--warm .pcard__q{color:var(--ink)}
.section--warm .pcard__a{color:var(--slate)}
.section--warm .pcard__k{color:var(--slate)}
.section--warm .media__k{color:var(--sage)}
.section--warm .band-strip{background:var(--warm-ivory)}
.section--wash{background:var(--lavender)}
.section--line{border-top:1px solid var(--mist)}
.center{text-align:center}
.narrow{max-width:680px;margin-inline:auto}

/* editorial eyebrow — natural case, muted warm grey, never bold (see style ref) */
.eyebrow{
  font-family:var(--font-sans);
  font-size:14px;font-weight:400;letter-spacing:.005em;
  color:var(--slate);margin-bottom:16px;
}
.section--dark .eyebrow,.cta .eyebrow{color:var(--white);opacity:.7}

.display{font-family:var(--font-serif);font-size:clamp(38px,6.6vw,64px);font-weight:500;line-height:1.08;letter-spacing:-.01em}
.display .hl{color:var(--orchid)}
.heading{font-family:var(--font-serif);font-size:clamp(28px,4.4vw,44px);font-weight:500;line-height:1.16;letter-spacing:-.01em}
.heading .hl{color:var(--orchid)}
.heading-sm{font-family:var(--font-serif);font-size:25px;font-weight:500;line-height:1.24;letter-spacing:-.01em}
.subheading{font-family:var(--font-sans);font-size:20px;font-weight:500;line-height:1.3;letter-spacing:0}

/* body copy is always the sans — never set running text in the serif */
.lede{font-family:var(--font-sans);font-size:clamp(16px,1.8vw,18px);line-height:1.5;color:var(--ink);max-width:60ch}
.section--dark .lede,.cta .lede{color:rgba(255,255,255,.78)}
.center .lede{margin-inline:auto}
.caption{font-size:11px;line-height:1.5;color:var(--slate)}

/* disclosure / disclaimer note */
.note{
  font-size:13px;line-height:1.6;color:var(--slate);
  background:var(--white);border:1px solid var(--mist);border-left:3px solid var(--orchid);
  border-radius:var(--radius-card);padding:16px 20px;
}
.section--dark .note{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:rgba(255,255,255,.72)}

/* small status badge */
.badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  padding:6px 14px;border-radius:var(--radius-btn);
  background:var(--lavender);color:var(--iris);
}
.badge--quiet{background:transparent;border:1px solid var(--mist);color:var(--slate)}

/* ==========================================================================
   ANNOUNCEMENT BANNER
   ========================================================================== */
.announce{background:var(--banner-gradient);color:var(--ink)}
.announce__inner{display:flex;align-items:center;justify-content:center;gap:16px;padding:9px var(--pad);font-size:13px;text-align:center}
.announce__inner a{text-decoration:underline;text-underline-offset:3px;font-weight:500}
.announce__x{margin-left:auto;background:none;border:0;cursor:pointer;color:var(--ink);font-size:16px;line-height:1;padding:4px 8px;border-radius:50%;opacity:.6;transition:opacity .2s var(--ease),background .2s var(--ease)}
.announce__x:hover{opacity:1;background:rgba(0,0,0,.06)}

/* ==========================================================================
   NAV
   ========================================================================== */
/* ---------------------------------------------------------------------------
   The header is deliberately excluded from the warm restyle — it keeps its
   original palette, Poppins type and button shapes. Do not let the global
   token/type changes leak in here.
   --------------------------------------------------------------------------- */
.announce{background:var(--banner-gradient);color:var(--nav-ink);font-family:var(--font-poppins)}
.announce__x{color:var(--nav-ink)}
.nav{position:sticky;top:0;z-index:60;background:var(--nav-white);font-family:var(--font-poppins);transition:box-shadow .3s var(--ease)}
.nav.is-stuck{box-shadow:0 1px 0 var(--nav-mist)}
.nav .logo,.nav__links a{color:var(--nav-ink)}
.nav__links a::after{background:var(--nav-ink)}
.nav .logo__mark{background:var(--nav-obsidian)}
.nav .btn{font-family:var(--font-poppins);font-size:14px;font-weight:500;line-height:1;letter-spacing:normal;border-width:1.5px;border-radius:60px}
.nav .btn--primary{background:var(--nav-obsidian);border-color:var(--nav-obsidian);color:var(--nav-white)}
.nav .btn--primary::before{background:var(--nav-ink)}
.nav .btn--light{background:var(--nav-white);color:var(--nav-ink);border-color:var(--nav-white)}
/* gap is tight because the glow menu is wider than the old text links, and the
   homepage header carries two CTA buttons inside the 1200px cap */
.nav__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px}
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;font-weight:600;letter-spacing:-.02em}
/* the mark sits on a near-black tile, so the letter takes the LIGHT accent —
   the standard sage lands at ~2:1 here and disappears */
.logo__mark{width:28px;height:28px;flex:none;display:grid;place-items:center;background:var(--obsidian);color:var(--sage-light);border-radius:8px;font-size:15px;font-weight:600}
.logo__ai{color:var(--orchid)}
/* ---------------------------------------------------------------------------
   GLOW MENU — vanilla port of the React/framer-motion `MenuBar` component.
   Same anatomy: a blurred pill bar that lights up on hover, and items that
   flip on the X axis (front face rotates away, back face rotates in) over a
   radial glow. Rewritten in CSS because this site has no React/Tailwind.
   Palette is the site's warm stack — the original's blue/purple/red glows are
   deliberately not used.
   --------------------------------------------------------------------------- */
.nav__links{
  position:relative;overflow:hidden;
  display:flex;align-items:center;gap:0;
  list-style:none;margin:0;padding:5px;
  border-radius:16px;
  background:linear-gradient(to bottom,rgba(252,252,252,.85),rgba(244,242,236,.45));
  border:1px solid rgba(45,45,45,.10);
  box-shadow:0 1px 2px rgba(58,53,37,.04),0 6px 18px rgba(58,53,37,.05);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
/* bar-wide glow that fades in while the pointer is anywhere on the menu */
.nav__links::before{
  content:"";position:absolute;inset:-8px;z-index:0;pointer-events:none;border-radius:24px;
  background:
    radial-gradient(circle at 20% 50%,rgba(91,98,71,.16),transparent 45%),
    radial-gradient(circle at 55% 50%,rgba(176,141,87,.16),transparent 45%),
    radial-gradient(circle at 85% 50%,rgba(58,53,37,.13),transparent 45%);
  opacity:0;transition:opacity .5s cubic-bezier(.4,0,.2,1);
}
.nav__links:hover::before{opacity:1}

.nav__links li{position:relative;z-index:1}

/* the flipping item */
.nav__links a{
  position:relative;display:block;border-radius:12px;
  perspective:600px;
  text-decoration:none;white-space:nowrap;
  font-size:14px;font-weight:500;color:var(--slate);
}
/* per-item radial glow — set by --gm-glow, revealed on hover and when active */
.nav__links a::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:16px;
  background:var(--gm-glow,radial-gradient(circle,rgba(91,98,71,.15) 0%,rgba(91,98,71,.06) 50%,transparent 100%));
  opacity:0;transform:scale(.8);
  transition:opacity .5s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.34,1.56,.64,1);
}
.nav__links a:hover::after,
.nav__links a.is-active::after{opacity:1;transform:scale(2)}

.gm__face{
  display:flex;align-items:center;gap:7px;
  padding:8px 11px;border-radius:12px;
  transform-style:preserve-3d;backface-visibility:hidden;
  transition:transform .5s cubic-bezier(.34,1.3,.64,1),opacity .5s cubic-bezier(.4,0,.2,1),color .3s var(--ease);
}
.gm__face--front{position:relative;z-index:1;transform-origin:center bottom}
.gm__face--back{
  position:absolute;inset:0;z-index:1;transform-origin:center top;
  transform:rotateX(90deg);opacity:0;
}
.nav__links a:hover .gm__face--front{transform:rotateX(-90deg);opacity:0}
.nav__links a:hover .gm__face--back{transform:rotateX(0);opacity:1}
.nav__links a:hover,
.nav__links a.is-active{color:var(--nav-ink)}

.gm__icon{
  width:17px;height:17px;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;
  color:var(--gm-ink,var(--sage));
  transition:color .3s var(--ease);
}
.nav__links a:not(.is-active) .gm__icon{color:var(--ash)}
.nav__links a:hover .gm__icon{color:var(--gm-ink,var(--sage))}

/* Between the mobile breakpoint and ~1140px the six iconed items plus the CTA
   exceed the row, which pushed the button off-screen. Drop the icons and
   tighten the labels rather than losing the nav entirely. */
@media (max-width:1140px){
  .gm__icon{display:none}
  .gm__face{padding:8px 9px;gap:0}
  .nav__links a{font-size:13px}
  .nav__links{padding:4px}
}
/* tablet range: shrink the labels to keep the nav as long as it genuinely fits */
@media (max-width:1000px){
  .gm__face{padding:7px 6px}
  .nav__links a{font-size:12px}
  .nav__inner{gap:12px}
}
/* below ~880px the six labels + logo + CTA cannot share the row at any sane
   size, so the inline menu drops out and the hamburger below takes over. */
@media (max-width:880px){
  .nav__links{display:none}
}

/* ---------- mobile menu ----------
   The nav used to simply vanish below 880px with no hamburger, which left
   phones with no navigation at all. The toggle reveals the same links as a
   stacked panel and re-surfaces the secondary CTA that the row cannot fit. */
.nav__toggle{display:none}
.nav__panelcta{display:none}

@media (max-width:880px){
  .nav{position:relative}
  .nav__toggle{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;flex:none;padding:0;
    background:transparent;border:1px solid var(--nav-mist);border-radius:12px;
    color:var(--nav-ink);cursor:pointer;
  }
  .nav__toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .nav__toggle .nav__toggle-x{display:none}
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars{display:none}
  .nav__toggle[aria-expanded="true"] .nav__toggle-x{display:block}

  .nav__menu{
    position:absolute;left:0;right:0;top:100%;
    display:none;
    background:var(--nav-white);
    border-top:1px solid var(--nav-mist);border-bottom:1px solid var(--nav-mist);
    box-shadow:0 16px 32px rgba(0,0,0,.07);
    padding:4px var(--pad) 16px;
    max-height:calc(100vh - 64px);overflow-y:auto;
  }
  .nav.is-open .nav__menu{display:block}

  /* the glow-menu pill becomes a plain stacked list here */
  .nav.is-open .nav__links{
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    background:none;border:0;box-shadow:none;padding:0;backdrop-filter:none;
  }
  .nav.is-open .nav__links::before{display:none}
  .nav.is-open .nav__links li{width:100%}
  .nav.is-open .nav__links a{display:block;width:100%;border-bottom:1px solid var(--fog);color:var(--nav-ink)}
  .nav.is-open .nav__links a::after{display:none}
  .nav.is-open .gm__face--back{display:none}
  .nav.is-open .gm__face--front{transform:none;opacity:1;padding:15px 2px;font-size:16px;gap:11px}
  .nav.is-open .gm__icon{display:inline-block;width:18px;height:18px;color:var(--gm-ink,var(--sage))}

  .nav.is-open .nav__panelcta{display:block;margin-top:16px}
  .nav.is-open .nav__panelcta .btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .nav.is-open .gm__face--front{transform:none}
}
/* very narrow phones (320px): logo + CTA pill + toggle overflow the row, so
   tighten all three rather than dropping any of them */
@media (max-width:400px){
  /* the wrap's own padding is a large share of a 320px row — trim it here so
     logo + CTA + toggle fit without dropping any of them */
  .nav__inner{gap:8px;padding-inline:14px}
  .nav__cta{gap:8px}
  .nav__cta .btn{padding:9px 11px;font-size:12px}
  .logo{font-size:15px;gap:8px}
  .logo__mark{width:26px;height:26px;font-size:14px}
  .nav__toggle{width:40px;height:40px}
  .nav__menu{padding-inline:14px}
}

@media (prefers-reduced-motion:reduce){
  .gm__face{transition:none}
  .nav__links a:hover .gm__face--front{transform:none;opacity:1}
  .nav__links a:hover .gm__face--back{display:none}
  .nav__links::before,.nav__links a::after{transition:none}
}
.nav__cta{display:flex;align-items:center;gap:12px}

/* ==========================================================================
   PILL BUTTONS
   ========================================================================== */
.btn{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-sans);font-size:15px;font-weight:400;line-height:1.2;letter-spacing:.025em;
  padding:16px 32px;border:1px solid transparent;border-radius:var(--radius-btn);
  text-decoration:none;cursor:pointer;white-space:nowrap;
  transition:color .3s var(--ease),border-color .3s var(--ease),background .3s var(--ease),transform .3s var(--ease);
}
.btn__label{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px}
.btn__arrow{display:inline-block;transition:transform .35s var(--ease)}
.btn:hover .btn__arrow{transform:translateX(4px)}
.btn::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;transform:scaleX(0);transform-origin:left;border-radius:inherit;transition:transform .45s var(--ease)}

/* charcoal, not bronze — bronze is reserved for full-bleed dark bands */
.btn--primary{background:var(--graphite);color:var(--white);border-color:var(--graphite)}
.btn--primary::before{background:var(--sage-deep)}
.btn--accent{background:var(--iris);color:var(--white);border-color:var(--iris);padding:12px 24px}
.btn--accent::before{background:var(--sage-deep)}
/* on bronze the accent fill is the pale sage, so the label must go dark or it
   drops to ~1.9:1 against it */
.section--dark .btn--accent,.cta .btn--accent{color:var(--obsidian)}
.section--dark .btn--accent::before,.cta .btn--accent::before{background:var(--white)}
.btn--ghost{background:transparent;color:var(--iris);border-color:var(--iris);padding:16px 32px}
.btn--ghost::before{background:var(--iris)}
.btn--ghost:hover{color:var(--white)}
.btn--light{background:var(--white);color:var(--ink);border-color:var(--white)}
.btn--light::before{background:var(--lavender)}
.btn--outline-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.4)}
.btn--outline-light::before{background:var(--white)}
.btn--outline-light:hover{color:var(--ink);border-color:var(--white)}
.btn--sm{padding:12px 24px;font-size:14px}
.btn--lg{padding:18px 36px;font-size:16px}
.btn[disabled]{opacity:.45;cursor:not-allowed}

@media (prefers-reduced-motion:no-preference){
  .btn:not([disabled]):hover::before{transform:scaleX(1)}
  .btn:not([disabled]):active{transform:scale(.98)}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{padding-top:clamp(44px,6vw,72px);padding-bottom:0}
.hero__title{max-width:940px;margin-inline:auto;text-wrap:balance}
.hero__sub{margin-top:26px}
.hero__cred{
  margin-top:22px;display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--slate);
}
.hero__cred::before{content:"";width:22px;height:1px;background:var(--iris);flex:none}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:36px}

/* six-beat capability strip — what happens, in order */
.beats{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;margin-top:36px;
}
.beats li{
  list-style:none;display:inline-flex;align-items:center;gap:9px;
  font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);
  border:1px solid var(--mist);border-radius:var(--radius-btn);padding:9px 16px;
}
.beats li b{color:var(--iris);font-weight:600}

.pill-tag{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  background:var(--lavender);color:var(--ink);padding:9px 18px;border-radius:var(--radius-btn);margin-bottom:26px;
  text-wrap:balance;
}
/* the tracked-out label wraps badly once the pill is narrower than the text */
@media (max-width:520px){
  .pill-tag{font-size:11px;letter-spacing:.08em;padding:8px 14px;gap:8px}
}
.pill-tag b{color:var(--iris);font-weight:600}
.dot-live{width:7px;height:7px;border-radius:50%;background:var(--iris);flex:none;position:relative}
.dot-live::after{content:"";position:absolute;inset:0;border-radius:50%;border:1px solid var(--iris);opacity:0}
@media (prefers-reduced-motion:no-preference){
  .dot-live::after{animation:ripple 2.4s ease-out infinite}
  @keyframes ripple{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.2);opacity:0}}
}

/* ==========================================================================
   HERO CORE  (AI core stage — spinning machined sphere)
   ========================================================================== */
/* Contained hero plate — deliberately narrower than the page, so the image
   reads dense and high-resolution rather than stretched across the viewport. */
.core{
  margin:clamp(40px,5vw,64px) 0 0;
  padding-inline:var(--pad);
  display:flex;flex-direction:column;align-items:center;gap:14px;
}
.core__stage{
  position:relative;margin:0;width:100%;max-width:940px;
  aspect-ratio:4/3;overflow:hidden;
  border-radius:var(--radius-card);
  background:var(--lavender);
}
/* no CSS drift here: the footage supplies the motion, and scaling it up would
   only cost sharpness */
.core__img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
/* the render's own backdrop is warm cream, so only a whisper of edge shading
   is needed to seat it on the page */
.core__stage::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(86% 96% at 50% 44%,transparent 58%,rgba(120,115,104,.10) 88%,rgba(120,115,104,.18) 100%);
}

/* plate caption — a quiet technical line, not an overlay */
.core__spec{
  width:100%;max-width:940px;margin:0;
  display:flex;align-items:center;gap:12px;
  font-family:var(--font-sans);font-size:12px;font-weight:400;letter-spacing:.005em;
  color:var(--slate);
}
.core__spec span{color:var(--accent);font-weight:500;flex:none}
.core__spec::after{content:"";flex:1 1 auto;height:1px;background:var(--mist)}

/* the five stages, directly under the core plate */
.method{padding-top:clamp(28px,4vw,40px)}

/* Slim cinematic banner used inside a section — anchors the block without
   competing with the hero. Used on the bronze "Where AI is going" band and in
   "Go deeper". */
.band-strip{
  width:100%;max-width:940px;margin:clamp(32px,4vw,44px) auto 0;
  aspect-ratio:320/107;overflow:hidden;
  border-radius:var(--radius-card);background:var(--lavender);
}
.band-strip video{width:100%;height:100%;object-fit:cover;display:block}
/* the cream placeholder bleeds as a pale wash inside a dark band — match the
   band instead, so nothing shows through the video's edges or while it loads */
.section--dark .band-strip,.cta .band-strip{background:var(--obsidian)}

/* Wider plate for in-section use. Deliberately keeps the site's contained +
   rounded media language (same radius as .core__stage and .figure) — only the
   width and height grow. A full-bleed square-cornered version was tried and
   read as foreign against every other media block on the page. */
.band-fig{margin:clamp(36px,4.5vw,56px) 0 0;display:flex;flex-direction:column;align-items:center;gap:14px}
.band-strip--wide{
  max-width:none;width:100%;margin:0;
  /* matches the cropped clip exactly (1280x280) so nothing is re-cropped and
     the blown-out desk that used to merge into the page is gone */
  aspect-ratio:32/7;height:auto;
  border-radius:var(--radius-card);
}
/* own stacking context + an explicitly promoted video, so the plate's own
   background can never paint over the footage */
.band-strip{position:relative;isolation:isolate}
.band-strip video{position:relative;z-index:1}
/* caption below the plate — the same hairline spec line the hero uses */
.band-spec{
  width:100%;margin:0;display:flex;align-items:center;gap:12px;
  font-family:var(--font-sans);font-size:12px;font-weight:400;letter-spacing:.005em;
  color:var(--slate);
}
.band-spec span{color:var(--accent);font-weight:500;flex:none}
.band-spec::after{content:"";flex:1 1 auto;height:1px;background:var(--mist)}
@media (max-width:600px){
  /* the trailing hairline squeezes the label into a narrow column here — stack
     the two parts and drop the rule instead */
  .band-spec{flex-direction:column;align-items:flex-start;gap:3px;font-size:11px;line-height:1.45}
  .band-spec::after{display:none}
}
@media (max-width:760px){
  .band-strip{aspect-ratio:16/9}
  .band-strip--wide{aspect-ratio:16/9;height:auto}
}

/* Go-deeper cards. The plain hairline columns read as a table here, so these
   get a real surface: warm card, iconed, with an explicit read-more affordance.
   Still no drop shadows — depth comes from the surface + border pair. */
.dgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.dgrid--2{grid-template-columns:repeat(2,1fr)}
/* the dcard's own surface would vanish on the warm band — give it a lighter
   paper face and a slightly firmer hairline so it still reads as a card */
.section--warm .dcard{background:var(--white);border-color:var(--stone)}
.section--warm .dcard__t{color:var(--ink)}
.section--warm .dcard__d{color:var(--slate)}
.dcard{
  display:flex;flex-direction:column;gap:10px;
  padding:26px 24px 22px;
  background:var(--lavender);border:1px solid var(--mist);border-radius:var(--radius-card);
  text-decoration:none;color:var(--ink);
  transition:background .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease);
}
.dcard__icon{
  width:42px;height:42px;flex:none;display:grid;place-items:center;
  background:var(--white);border:1px solid var(--mist);border-radius:12px;
  color:var(--accent);margin-bottom:6px;
  transition:background .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease);
}
.dcard__icon svg{
  width:19px;height:19px;
  fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;
}
.dcard__k{font-size:13px;color:var(--slate)}
.dcard__t{font-family:var(--font-sans);font-size:18px;font-weight:500;line-height:1.3;color:var(--ink)}
.dcard__d{font-size:15px;line-height:1.5;color:var(--slate)}
.dcard__go{
  margin-top:auto;padding-top:14px;
  font-size:13px;font-weight:500;color:var(--accent);
  display:inline-flex;align-items:center;gap:7px;
}
.dcard__go i{font-style:normal;transition:transform .3s var(--ease)}

.dcard:hover{background:var(--white);border-color:var(--accent);transform:translateY(-2px)}
.dcard:hover .dcard__icon{background:var(--accent);border-color:var(--accent);color:var(--white)}
.dcard:hover .dcard__go i{transform:translateX(4px)}

/* the three stage cards lead — slightly taller, accent rule across the top */
.dcard--lead{position:relative;overflow:hidden;padding-top:28px}
.dcard--lead::before{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--accent);opacity:.55;
}

/* labelled hairline between the two tiers */
.dgrid__rule{
  display:flex;align-items:center;gap:16px;
  margin:clamp(32px,4vw,44px) 0 clamp(18px,2.4vw,22px);
  font-size:13px;color:var(--slate);
}
.dgrid__rule::before,.dgrid__rule::after{content:"";flex:1 1 auto;height:1px;background:var(--mist)}

@media (max-width:900px){
  .dgrid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .dgrid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .dcard,.dcard__go i{transition:none}
  .dcard:hover{transform:none}
}

/* app.js pauses the hero video when the visitor prefers reduced motion, so the
   poster frame stands in for it */

/* ==========================================================================
   BANNER VIDEO
   ========================================================================== */
.banner{margin-top:clamp(44px,6vw,72px);position:relative}
.banner-frame{
  position:relative;width:100%;overflow:hidden;aspect-ratio:1200/460;min-height:300px;
  background:
    radial-gradient(60% 120% at 25% 45%,rgba(91,98,71,.16),transparent 62%),
    radial-gradient(50% 110% at 78% 60%,rgba(58,53,37,.12),transparent 68%),
    var(--lavender);
}
.banner-frame video{width:100%;height:100%;object-fit:cover}
/* keeps the process strip legible over whatever frame the video is on */
.banner-frame::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(255,255,255,.97) 0,rgba(255,255,255,.88) 26%,rgba(255,255,255,.10) 52%,transparent 72%);
}
.banner-overlay{
  position:absolute;inset:auto 0 0 0;z-index:2;
  padding:0 var(--pad) clamp(20px,3vw,30px);
  display:flex;justify-content:center;
}
.banner-o{width:100%;max-width:var(--page-max)}
.banner-o__head{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;
  padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid rgba(0,0,0,.12);
}
.banner-o__k{font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--iris)}
.banner-o__cred{font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}
/* the five stages, as the banner's actual content */
.banner-o__steps{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;list-style:none;margin:0;padding:0}
.banner-o__steps li{display:flex;flex-direction:column;gap:5px;position:relative;padding-right:12px}
.banner-o__steps li::after{
  content:"";position:absolute;right:0;top:7px;width:5px;height:5px;
  border-top:1.5px solid var(--fog);border-right:1.5px solid var(--fog);transform:rotate(45deg);
}
.banner-o__steps li:last-child::after{display:none}
.banner-o__n{font-size:11px;font-weight:600;letter-spacing:.2em;color:var(--iris)}
.banner-o__t{font-size:clamp(13px,1.4vw,15px);font-weight:600;letter-spacing:-.2px;color:var(--ink);line-height:1.25}
.banner-o__d{font-size:12px;line-height:1.45;color:var(--slate)}

/* ==========================================================================
   USE-CASE CLUSTERS  (/use-cases/)
   One function per band, entries read top-to-bottom instead of as a filtered
   grid — the point of the page is to explain them one at a time.
   ========================================================================== */
.uc-jump{
  display:flex;flex-wrap:wrap;gap:8px;justify-content:center;
  max-width:820px;margin:36px auto 0;
}
.uc-jump a{
  font-size:13px;color:var(--slate);text-decoration:none;
  padding:7px 15px;border:1px solid var(--mist);border-radius:var(--radius-btn);
  transition:color .3s var(--ease),border-color .3s var(--ease),background .3s var(--ease);
}
.uc-jump a:hover{color:var(--ink);border-color:var(--ink);background:var(--lavender)}

.uc-cluster{scroll-margin-top:96px}
.uc-cluster__head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding-bottom:14px;border-bottom:1px solid var(--mist);
}
.uc-cluster__count{font-size:13px;color:var(--slate);flex:none}
/* slim banner per cluster — wide and short so nine of them do not turn the
   page into a photo gallery */
/* The library shots are deliberately head-cropped torso framings, so biasing
   the band low shows the desk, hands and work rather than a headless suit. */
.uc-photo{
  margin:26px 0 0;overflow:hidden;border-radius:var(--radius-card);
  aspect-ratio:1200/415;background:var(--fog);
}
.uc-photo img{width:100%;height:100%;object-fit:cover;object-position:center 68%}
@media (max-width:700px){
  .uc-photo{aspect-ratio:16/9}
}

.uc-list{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 32px;margin-top:32px}
.uc-entry{display:flex;flex-direction:column;gap:12px}
.uc-entry__t{font-family:var(--font-sans);font-size:18px;font-weight:500;line-height:1.3;color:var(--ink);margin:0}
.uc-entry__p{font-size:16px;line-height:1.5;color:var(--slate);margin:0}
.uc-entry__dl{margin:4px 0 0;display:flex;flex-direction:column;gap:10px}
.uc-entry__dl>div{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:start}
.uc-entry__dl dt{
  font-size:12px;font-weight:500;letter-spacing:.02em;color:var(--accent);
  padding-top:2px;
}
.uc-entry__dl dd{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}

@media (max-width:860px){
  .uc-list{grid-template-columns:1fr;gap:36px}
}
@media (max-width:560px){
  .uc-entry__dl>div{grid-template-columns:1fr;gap:2px}
  .uc-cluster__head{flex-direction:column;gap:4px}
}

/* ==========================================================================
   CAPABILITY MARQUEE
   ========================================================================== */
.trust{border-bottom:1px solid var(--mist)}
.trust__inner{padding-block:30px;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.trust__track{display:flex;width:max-content}
.trust__item{
  display:inline-flex;align-items:center;gap:12px;padding:0 26px;
  font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--slate);white-space:nowrap;
}
.trust__item::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--fog);flex:none}
@media (prefers-reduced-motion:no-preference){
  .trust__track{animation:marq 52s linear infinite}
  .trust__inner:hover .trust__track{animation-play-state:paused}
  @keyframes marq{to{transform:translateX(-50%)}}
}

/* ==========================================================================
   MODEL / PLATFORM MARQUEE
   Wordmarks, not vendor logo artwork — see the note in the markup. Scrolls
   opposite to the capability marquee so the two never read as one band.
   ========================================================================== */
.brands{
  padding-block:clamp(40px,5vw,56px);
  background:var(--lavender);border-block:1px solid var(--mist);
}
.brands__k{
  font-family:var(--font-sans);font-size:13px;font-weight:400;letter-spacing:.02em;
  color:var(--slate);margin:0;
}
/* full-bleed: the chips run right to the edges, with only a short fade so the
   loop point is never visible */
.brands__inner{
  margin-top:26px;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
}
.brands__track{display:flex;width:max-content;align-items:center}
.brand{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  margin:0 10px;padding:12px 24px;white-space:nowrap;
  font-family:var(--font-sans);font-size:17px;font-weight:500;letter-spacing:-.01em;
  color:var(--ink);
  background:var(--white);border:1px solid var(--mist);border-radius:var(--radius-btn);
  transition:border-color .3s var(--ease),color .3s var(--ease);
}
/* marks render monochrome in the current ink so the strip stays inside the
   warm palette instead of turning into a row of clashing brand colours */
.brand__mark{width:19px;height:19px;flex:none;fill:currentColor}
.brand__n{line-height:1}
.brands__inner:hover .brand{color:var(--slate)}
.brand:hover{color:var(--ink);border-color:var(--accent)}
.brands__note{
  max-width:640px;margin:26px auto 0;
  font-size:12px;line-height:1.55;color:var(--slate);
}
@media (prefers-reduced-motion:no-preference){
  .brands__track{animation:marqBrands 44s linear infinite}
  .brands__inner:hover .brands__track{animation-play-state:paused}
  @keyframes marqBrands{from{transform:translateX(-50%)}to{transform:translateX(0)}}
}

/* ==========================================================================
   IMAGERY — 12px radius, no frames, no shadows (per design system)
   ========================================================================== */
.figure{border-radius:var(--radius-card);overflow:hidden;background:var(--lavender);margin:0}
.figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/9;display:block}
.figure--tall img{aspect-ratio:4/3}
/* image + copy, side by side */
.media{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px);align-items:center;margin-top:48px}
.media--flip .figure{order:2}
/* fill variant: the image stretches to the text column's height instead of
   floating as a short, centred 16:9 crop */
.media--fill{align-items:stretch}
.media--fill .figure{align-self:stretch}
.media--fill .figure img{aspect-ratio:auto;height:100%;min-height:320px}
.media__body .card__list{margin-top:18px}
.media__k{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--iris);margin-bottom:14px}
.section--dark .media__k{color:var(--orchid)}

/* ==========================================================================
   GENERIC CARD GRIDS
   ========================================================================== */
/* generous gaps: with no card chrome, whitespace is what separates columns */
.grid{display:grid;gap:40px 32px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.mt-48{margin-top:48px}
.mt-32{margin-top:32px}
.mt-24{margin-top:24px}

/* Feature column with top divider.
   A .card is no longer a boxed surface — it is an editorial column whose only
   chrome is a hairline rule across the top. It can still sit inside
   .section--dark, so it sets its own ink colour and a light rule there. */
.card{
  background:transparent;color:var(--ink);
  border:0;border-top:1px solid var(--mist);border-radius:0;
  padding:20px 0 0;display:flex;flex-direction:column;gap:12px;
  transition:border-color .3s var(--ease);
}
.card:hover{border-top-color:var(--ink)}
.card__num{font-family:var(--font-sans);font-size:14px;font-weight:400;letter-spacing:.005em;text-transform:none;color:var(--slate)}
.card__title{font-family:var(--font-sans);font-size:20px;font-weight:500;line-height:1.3;letter-spacing:0;color:var(--ink)}
.card__title a{
  text-decoration:none;color:inherit;
  background-image:linear-gradient(var(--mist),var(--mist));
  background-size:100% 1px;background-position:0 100%;background-repeat:no-repeat;
  transition:background-image .3s var(--ease);
}
.card__title a:hover{background-image:linear-gradient(var(--accent),var(--accent))}
.card__body{font-size:16px;line-height:1.5;color:var(--ink)}
.card__list{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.card__list li{font-size:15px;line-height:1.5;color:var(--slate);padding-left:22px;position:relative}
.card__list li::before{content:"";position:absolute;left:0;top:7px;width:10px;height:10px;border-radius:50%;border:1px solid var(--iris)}
.section--dark .card{background:transparent;border-top-color:rgba(252,252,252,.28);color:var(--white)}
.section--dark .card:hover{border-top-color:rgba(252,252,252,.7)}
.section--dark .card__title{color:var(--white)}
.section--dark .card__body{color:rgba(252,252,252,.78)}
.section--dark .card__num,.section--dark .card__list li{color:rgba(252,252,252,.66)}

/* "how AI is improving business" points — light hairline columns on the bronze
   band, numbered so they read as a set rather than a list of claims */
.gain{display:flex;flex-direction:column;gap:10px;padding-top:18px;border-top:1px solid rgba(252,252,252,.26)}
.gain__n{font-size:13px;color:var(--sage-light);letter-spacing:.04em}
.gain__t{font-family:var(--font-sans);font-size:18px;font-weight:500;line-height:1.3;color:var(--white);margin:0}
.gain__d{font-size:15px;line-height:1.55;color:rgba(252,252,252,.76);margin:0}

/* problem columns (dark band) — same hairline treatment */
.pcard{
  background:transparent;color:var(--white);border-radius:0;
  border-top:1px solid rgba(252,252,252,.28);
  padding:20px 0 0;display:flex;flex-direction:column;gap:12px;
}
.pcard__q{font-family:var(--font-serif);font-size:22px;font-weight:500;line-height:1.24;letter-spacing:-.01em;color:var(--white)}
.pcard__a{font-family:var(--font-sans);font-size:16px;line-height:1.5;color:rgba(252,252,252,.78)}
.pcard__k{font-family:var(--font-sans);font-size:14px;font-weight:400;letter-spacing:.005em;text-transform:none;color:rgba(252,252,252,.6)}

/* ==========================================================================
   FUNCTION TABS (what we improve)
   ========================================================================== */
.tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:40px}
.tab{
  font-family:var(--font-poppins);font-size:14px;font-weight:500;
  background:transparent;color:var(--ink);border:1px solid var(--mist);
  border-radius:var(--radius-btn);padding:11px 20px;cursor:pointer;
  transition:background .28s var(--ease),color .28s var(--ease),border-color .28s var(--ease);
}
.tab:hover{border-color:var(--iris);color:var(--iris)}
.tab[aria-selected="true"]{background:var(--obsidian);color:var(--white);border-color:var(--obsidian)}
.tabpanel{margin-top:32px}
.tabpanel[hidden]{display:none}
.flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.flow{
  background:var(--white);border:1px solid var(--mist);border-radius:var(--radius-card);
  padding:18px 20px;display:flex;flex-direction:column;gap:6px;
  transition:border-color .3s var(--ease),background .3s var(--ease);
}
.flow:hover{border-color:var(--iris);background:var(--lavender)}
.flow__t{font-size:15px;font-weight:600;line-height:1.35}
.flow__d{font-family:var(--font-serif);font-size:14px;line-height:1.55;color:var(--slate)}

/* ==========================================================================
   PROCESS (5 stages + foundation)
   ========================================================================== */
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:48px}
.step{
  background:var(--white);color:var(--ink);border:1px solid var(--mist);border-radius:var(--radius-card);
  padding:24px 20px;display:flex;flex-direction:column;gap:12px;position:relative;
  transition:background .3s var(--ease),border-color .3s var(--ease);
}
.step:hover{background:var(--lavender);border-color:var(--lavender)}
.step__n{font-size:11px;font-weight:600;letter-spacing:.22em;color:var(--iris)}
.step__stage{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate)}
.step__t{font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.2px}
.step__d{font-family:var(--font-serif);font-size:14px;line-height:1.55;color:var(--graphite)}
.foundation{
  margin-top:12px;border:1px dashed var(--fog);border-radius:var(--radius-card);
  padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;justify-content:center;
  background:var(--white);
}
.foundation__label{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate);width:100%;text-align:center}
.foundation__item{
  font-size:13px;font-weight:500;color:var(--ink);
  display:inline-flex;align-items:center;gap:9px;
}
.foundation__item::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--iris);flex:none}

/* ==========================================================================
   SCORING MATRIX
   ========================================================================== */
.matrix{margin-top:40px;border:1px solid var(--mist);border-radius:var(--radius-card);overflow:hidden;background:var(--white)}
.matrix__scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;min-width:640px}
th,td{text-align:left;padding:14px 20px;font-size:14px;border-bottom:1px solid var(--mist)}
th{font-weight:600;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--slate);background:var(--lavender)}
/* the matrix sits on a dark band, so cells must not inherit its white text */
td{color:var(--graphite)}
td:first-child{font-weight:600;color:var(--ink)}
tbody tr:last-child td{border-bottom:0}
.score{display:inline-flex;gap:3px;align-items:center}
.score i{width:7px;height:7px;border-radius:50%;background:var(--mist)}
.score i.on{background:var(--iris)}

/* ==========================================================================
   USE-CASE LIBRARY
   ========================================================================== */
.lib__filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:36px}
.lib__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.uc{
  background:var(--white);color:var(--ink);border:1px solid var(--mist);border-radius:var(--radius-card);
  padding:22px;display:flex;flex-direction:column;gap:12px;
}
.uc__fn{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--iris)}
.uc__t{font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.2px}
.uc__row{display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.5}
.uc__k{font-weight:600;color:var(--slate);font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.uc__v{color:var(--graphite)}
.uc__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px;padding-top:14px;border-top:1px solid var(--mist)}
.tagx{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:5px 12px;border-radius:var(--radius-btn);background:var(--lavender);color:var(--iris)}
.tagx--low{background:#eaf7ee;color:#1e7a3c}
.tagx--med{background:#fdf3e3;color:#8a5a10}
.tagx--high{background:#fdeaea;color:#a32020}
.uc__details{margin-top:2px}
.uc__details summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--iris);list-style:none}
.uc__details summary::-webkit-details-marker{display:none}
.uc__details summary::after{content:" →"}
.uc__details[open] summary::after{content:" ↑"}
.uc__body{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.lib__empty{text-align:center;color:var(--slate);font-size:14px;padding:32px 0}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calc{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,48px);margin-top:48px;align-items:start}
.calc__inputs{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:13px;font-weight:500;color:var(--ink)}
.field .hint{font-size:11px;color:var(--slate)}
.field input,.field select,.field textarea{
  font-family:var(--font-poppins);font-size:14px;font-weight:400;color:var(--ink);
  background:var(--white);border:1px solid var(--ash);border-radius:var(--radius-input);
  padding:13px 20px;width:100%;transition:border-color .25s var(--ease);
}
.field textarea{border-radius:var(--radius-card);resize:vertical;min-height:88px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--iris)}
.field input::placeholder,.field textarea::placeholder{color:var(--slate)}
.field--wide{grid-column:1/-1}
.calc__out{background:var(--lavender);border-radius:var(--radius-card);padding:28px;position:sticky;top:96px}
.calc__head{
  display:flex;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid rgba(0,0,0,.09);
  font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate);
}
.out{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid rgba(0,0,0,.09)}
.out:last-of-type{border-bottom:0}
.out__k{font-size:13px;color:var(--graphite);max-width:60%}
.out__v{font-size:20px;font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums;white-space:nowrap}
.out--hero .out__v{font-size:clamp(28px,4vw,36px);font-weight:500;color:var(--iris);letter-spacing:-.8px}

/* ==========================================================================
   QUALIFICATION FORM
   ========================================================================== */
.qform{margin-top:48px;background:var(--white);border:1px solid var(--mist);border-radius:var(--radius-card);padding:clamp(24px,4vw,40px)}
.qform__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.qform__legend{
  font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--iris);
  grid-column:1/-1;padding-top:12px;
}
.qform fieldset{border:0;padding:0;margin:0;display:contents}
.qform__foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:28px;padding-top:24px;border-top:1px solid var(--mist)}
.qform__note{font-size:12px;color:var(--slate);max-width:52ch}
.req{color:var(--iris)}
.err{font-size:12px;color:#a32020}
.qform__done{background:var(--lavender);border-radius:var(--radius-card);padding:clamp(24px,4vw,40px);text-align:left}
.qform__steps{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.qform__steps li{display:flex;gap:14px;font-size:14px;line-height:1.55;color:var(--graphite)}
.qform__steps b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--iris);color:var(--white);font-size:12px;font-weight:600;display:grid;place-items:center}

/* ==========================================================================
   ENGAGEMENT LADDER
   ========================================================================== */
.ladder{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:48px}
.rung{
  background:var(--white);color:var(--ink);border:1px solid var(--mist);border-radius:var(--radius-card);
  padding:24px 20px;display:flex;flex-direction:column;gap:12px;
}
.rung--free{border-color:var(--iris);background:var(--lavender)}
.rung__k{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate)}
.rung--free .rung__k{color:var(--iris)}
.rung__t{font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.2px}
.rung__d{font-family:var(--font-serif);font-size:14px;line-height:1.55;color:var(--graphite)}
.rung__price{margin-top:auto;padding-top:14px;border-top:1px solid var(--mist);font-size:12px;font-weight:500;color:var(--slate)}
.rung--free .rung__price{border-top-color:rgba(91,98,71,.3);color:var(--accent);font-weight:600}

/* ==========================================================================
   FINAL CTA / FOOTER
   ========================================================================== */
.cta{background:var(--obsidian);color:var(--white);padding-block:clamp(80px,11vw,120px);text-align:center}
.cta__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:36px}
.cta__note{margin-top:26px;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.5)}

.footer{background:var(--white);padding-block:56px;border-top:1px solid var(--mist)}
.footer__inner{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between;align-items:flex-start}
.footer__tag{margin-top:14px;font-family:var(--font-serif);font-size:16px;color:var(--graphite);max-width:34ch}
.footer__col h3{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate);margin-bottom:14px}
.footer__links{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}
.footer__links a{font-size:14px;font-weight:500;color:var(--ink);text-decoration:none}
.footer__links a:hover{color:var(--iris)}
.footer__legal{width:100%;padding-top:28px;margin-top:8px;border-top:1px solid var(--mist);font-size:11px;color:var(--slate);line-height:1.7}

.totop{
  position:fixed;right:24px;bottom:24px;z-index:70;width:44px;height:44px;display:grid;place-items:center;
  background:var(--obsidian);color:var(--white);border:0;border-radius:12px;cursor:pointer;
  opacity:0;pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.totop.is-on{opacity:1;pointer-events:auto}
.totop:hover{transform:translateY(-2px)}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1240px){
  .nav__inner{gap:20px}
  .nav__links{gap:20px}
  .nav__cta .btn--accent{display:none}
}
@media (max-width:1080px){
  .steps{grid-template-columns:repeat(2,1fr)}
  .ladder{grid-template-columns:repeat(2,1fr)}
  .nav__links{gap:16px}
  .nav__links a{font-size:13px}
}
@media (max-width:960px){
  .grid-3,.grid-4,.flow-grid,.lib__grid{grid-template-columns:repeat(2,1fr)}
  .calc{grid-template-columns:1fr}
  .calc__out{position:static}
  .media{grid-template-columns:1fr;gap:28px}
  .media--flip .figure{order:0}
  .banner-o__steps{grid-template-columns:repeat(3,1fr);gap:14px 12px}
  .banner-o__steps li:nth-child(3)::after{display:none}
  .banner-frame{aspect-ratio:auto;min-height:0}
  .banner-frame video{aspect-ratio:16/9;height:auto}
  .banner-overlay{position:static;padding:0}
  .banner-frame::after{display:none}
  .banner-o{background:var(--white);padding:22px var(--pad) 26px;max-width:none}
  .method .banner-o{background:transparent;padding:0}
}
@media (max-width:760px){
  .core__stage{aspect-ratio:1/1}
  /* the hairline rule squeezes the caption into two ragged lines down here */
  .core__spec{font-size:11px;flex-wrap:wrap;gap:4px 10px}
  .core__spec::after{display:none}
  .nav__links{display:none}
  .nav__cta .btn--accent{display:none}
  .nav__inner{height:64px;gap:12px}
  .logo{font-size:17px}
  .hero__actions .btn,.cta__actions .btn{flex:1 1 100%}
  /* banner goes stacked here (see the 960px block) — do not re-impose a frame ratio */
  .banner-o__steps{grid-template-columns:repeat(2,1fr);gap:16px 14px}
  .banner-o__steps li::after{display:none}
  .banner-o__head{flex-direction:column;gap:6px}
  .banner-o__cred{font-size:11px;letter-spacing:.08em}
  .grid-2,.grid-3,.grid-4,.flow-grid,.lib__grid,.steps,.ladder,
  .calc__inputs,.qform__grid{grid-template-columns:1fr}
  .footer__inner{flex-direction:column;gap:28px}
  .announce__inner{font-size:12px;gap:8px}
}

/* reveal */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
  .reveal.is-in{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
}

/* ==========================================================================
   MULTI-PAGE ADDITIONS — breadcrumbs, FAQ accordion, link cards
   ========================================================================== */
.crumbs{padding-top:24px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;font-size:12px;color:var(--slate)}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li+li::before{content:"/";color:var(--fog)}
.crumbs a{color:var(--slate);text-decoration:none}
.crumbs a:hover{color:var(--iris)}
.crumbs [aria-current]{color:var(--ink);font-weight:500}

/* FAQ accordion */
.faq{max-width:820px;margin:40px auto 0}
.faq__g{
  font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--iris);margin:40px 0 8px;padding-bottom:12px;border-bottom:1px solid var(--mist);
}
.section--dark .faq__g{color:var(--orchid);border-bottom-color:rgba(255,255,255,.14)}
.faq .faq__g:first-child{margin-top:0}
.qa{border-bottom:1px solid var(--mist);background:transparent}
.section--dark .qa{border-bottom-color:rgba(255,255,255,.14)}
.qa summary{
  display:flex;align-items:flex-start;gap:16px;justify-content:space-between;
  padding:22px 0;cursor:pointer;list-style:none;
  font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.2px;color:var(--ink);
}
.section--dark .qa summary{color:var(--white)}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{
  content:"";flex:none;width:11px;height:11px;margin-top:7px;
  border-right:2px solid var(--iris);border-bottom:2px solid var(--iris);
  transform:rotate(45deg);transition:transform .3s var(--ease);
}
.qa[open] summary::after{transform:rotate(-135deg)}
.qa summary:hover{color:var(--iris)}
.section--dark .qa summary:hover{color:var(--orchid)}
.qa__a{padding:0 0 24px}
.qa__a p{font-family:var(--font-serif);font-size:16px;line-height:1.65;color:var(--graphite);max-width:68ch}
.section--dark .qa__a p{color:rgba(255,255,255,.78)}

/* clickable cards + inline link styling */
.linkcard{text-decoration:none;color:inherit;display:flex}
.linkcard:hover{background:var(--lavender);border-color:var(--lavender)}
.linkish{color:inherit;text-decoration:none}
.linkish:hover{color:var(--iris)}

/* wide worked-example block on solution pages */
.uc--wide{max-width:860px;margin-inline:auto;border:1px solid var(--mist);background:var(--white);color:var(--ink);
  border-radius:var(--radius-card);padding:28px;gap:18px;display:flex;flex-direction:column}
.uc--wide .uc__k{font-size:11px}
.uc--wide .uc__v{font-size:15px;line-height:1.6}

/* grid and flex children default to min-width:auto, which lets long
   nowrap content (e.g. pill button labels) push a track wider than the
   viewport. Allow them to shrink. */
.grid > *,.grid-2 > *,.grid-3 > *,.grid-4 > *,.flow-grid > *,.lib__grid > *,
.steps > *,.ladder > *,.media > *{min-width:0}
.card .btn{max-width:100%;white-space:normal;text-align:center}

/* hero figure on interior pages */
.figure--hero{max-width:960px;margin-inline:auto}
.card > .figure.card__media{aspect-ratio:16/9;background:var(--lavender)}
.card > .figure.card__media img{aspect-ratio:16/9}

/* nav CTA must not push the header wider than a phone viewport */
@media (max-width:760px){
  .nav__cta .btn{padding:11px 16px;font-size:13px}
  .nav__inner{gap:10px}
}

/* ==========================================================================
   CHARTS
   Single-series, single-hue by design: the brand accents fail CVD separation
   as a categorical set (iris↔orchid ΔE 1.7 protan), and these categories are
   nominal, so a value-ramp would be wrong too. One colour + labels it is.
   ========================================================================== */
/* the chart card can sit inside .section--dark, so it must set its own ink
   colour rather than inheriting white onto a white surface */
.chart{background:var(--white);color:var(--ink);border:1px solid var(--mist);border-radius:var(--radius-card);padding:clamp(20px,3vw,28px)}
.chart__t{color:var(--ink)}
.chart__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;margin-bottom:6px}
.chart__t{font-size:17px;font-weight:600;letter-spacing:-.2px}
.chart__u{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--slate)}
.chart__sub{font-size:13px;color:var(--slate);margin-bottom:22px;max-width:60ch}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.chart .grid-line{stroke:var(--mist);stroke-width:1}
.chart .axis-t{font-family:var(--font-poppins);font-size:11px;fill:var(--slate)}
.chart .bar-l{font-family:var(--font-poppins);font-size:13px;font-weight:500;fill:var(--ink)}
.chart .bar-v{font-family:var(--font-poppins);font-size:13px;font-weight:600;fill:var(--ink);font-variant-numeric:tabular-nums}
.chart .bar{fill:var(--iris);transition:opacity .2s var(--ease)}
.chart .bar-hit{fill:transparent;cursor:pointer}
.chart:hover .bar{opacity:.55}
.chart .barg:hover .bar{opacity:1}
/* matrix */
.chart .quad{fill:var(--lavender);opacity:.5}
.chart .quad-l{font-family:var(--font-poppins);font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;fill:var(--slate)}
.chart .dot{fill:var(--iris);stroke:var(--white);stroke-width:2}
.chart .dot--hi{fill:var(--orchid)}
.chart .dot-l{font-family:var(--font-poppins);font-size:12px;font-weight:500;fill:var(--ink)}
.chart .axis-name{font-family:var(--font-poppins);font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;fill:var(--slate)}
/* shared */
.chart__note{font-size:12px;color:var(--slate);margin-top:18px;padding-top:16px;border-top:1px solid var(--mist);line-height:1.6}
.chart__table{margin-top:14px}
.chart__table summary{font-size:12px;font-weight:600;color:var(--iris);cursor:pointer;list-style:none}
.chart__table summary::-webkit-details-marker{display:none}
.chart__table summary::after{content:" ↓"}
.chart__table[open] summary::after{content:" ↑"}
.chart__table table{margin-top:14px;min-width:0}
.chart__table th,.chart__table td{padding:9px 12px;font-size:13px}
.chart__table th{background:var(--lavender)}
.chart-tip{
  position:fixed;z-index:90;pointer-events:none;opacity:0;transform:translate(-50%,-120%);
  background:var(--obsidian);color:var(--white);border-radius:8px;padding:9px 13px;
  font-size:12px;line-height:1.45;white-space:nowrap;transition:opacity .15s var(--ease);
}
.chart-tip.on{opacity:1}
.chart-tip b{font-weight:600;display:block}
@media (max-width:760px){
  .chart .bar-l,.chart .bar-v{font-size:12px}
  .chart .dot-l{font-size:11px}
}

/* thumbnail on process-stage and evidence cards */
.step__media,.card__thumb{
  border-radius:var(--radius-card);overflow:hidden;background:var(--lavender);margin:0 0 4px;
}
.step__media img,.card__thumb img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10;display:block}
.step{padding-top:16px}
/* three-up image band */
.band{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:48px}
.band .figure img{aspect-ratio:4/3}
.band figcaption{
  margin-top:12px;font-size:12px;font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);
}
.section--dark .band figcaption{color:rgba(255,255,255,.6)}
@media (max-width:760px){
  .band{grid-template-columns:1fr;gap:24px}
}

/* captions live below the image, so the figure must not clip them —
   the radius moves onto the image itself instead */
.band .figure{overflow:visible;background:transparent}
.band .figure img{height:auto;border-radius:var(--radius-card)}

/* ==========================================================================
   BLOG
   ========================================================================== */
.bgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(24px,4vw,40px)}
.bgrid--2{grid-template-columns:repeat(2,1fr)}
.bcard{display:flex;flex-direction:column;gap:16px}
.bcard__media{border-radius:var(--radius-card);overflow:hidden;background:var(--lavender);display:block;aspect-ratio:16/10}
.bcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.bcard__media:hover img{transform:scale(1.03)}
.bcard__body{display:flex;flex-direction:column;gap:10px}
.bcard__k{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--iris)}
.bcard__t{font-size:clamp(20px,2.4vw,24px);font-weight:600;line-height:1.25;letter-spacing:-.3px}
.bcard__t a{color:var(--ink);text-decoration:none}
.bcard__t a:hover{color:var(--iris)}
.bcard__x{font-family:var(--font-serif);font-size:15px;line-height:1.6;color:var(--graphite)}
.bcard__more{font-size:14px;font-weight:600;color:var(--iris);text-decoration:none}
.bcard__more:hover{text-decoration:underline;text-underline-offset:3px}

/* single post */
.post__head{text-align:center}
.post__title{font-size:clamp(30px,4.8vw,46px);font-weight:600;line-height:1.12;letter-spacing:-.02em;margin-top:6px}
.post__meta{margin-top:18px;font-size:13px;font-weight:500;letter-spacing:.04em;color:var(--slate)}
.post__hero{max-width:960px;margin:clamp(32px,5vw,52px) auto 0}

/* prose — article typography */
.prose{margin-top:clamp(36px,5vw,56px)}
.prose > *{max-width:100%}
.prose p{font-family:var(--font-serif);font-size:clamp(16px,1.7vw,18px);line-height:1.7;color:var(--graphite);margin-bottom:22px}
.prose .lede{color:var(--ink);font-size:clamp(18px,2vw,21px);line-height:1.5;margin-bottom:32px}
.prose h2{font-size:clamp(24px,3.4vw,32px);font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--ink);margin:44px 0 18px}
.prose h3{font-size:18px;font-weight:600;line-height:1.3;color:var(--ink);margin:0}
.prose a{color:var(--iris);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{color:var(--orchid)}
.prose strong{color:var(--ink);font-weight:600}
.prose em{font-style:italic}
.prose .caption{font-family:var(--font-poppins);font-size:12px;color:var(--slate);margin-top:-8px;margin-bottom:28px}
.prose .note{font-family:var(--font-poppins);margin:8px 0 30px}
.prose .note strong{color:var(--ink)}

/* in-post lists */
.postlist{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-direction:column;gap:14px}
.postlist li{position:relative;padding-left:26px;font-family:var(--font-serif);font-size:clamp(16px,1.7vw,17px);line-height:1.6;color:var(--graphite)}
.postlist li::before{content:"";position:absolute;left:0;top:9px;width:12px;height:12px;border-radius:50%;border:1.5px solid var(--iris)}
.postlist strong{color:var(--ink);font-weight:600}

/* in-post three-up cards */
.postcards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 34px}
.postcard{background:var(--white);border:1px solid var(--mist);border-radius:var(--radius-card);padding:22px;display:flex;flex-direction:column;gap:10px;color:var(--ink)}
.postcard--accent{border-color:var(--lavender);background:var(--lavender)}
.postcard__k{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--slate)}
.postcard--accent .postcard__k{color:var(--iris)}
.postcard h3{font-size:17px;font-weight:600;line-height:1.3;color:var(--ink);margin:0}
.postcard p{font-family:var(--font-serif);font-size:14px;line-height:1.55;color:var(--graphite);margin:0}
.postcard a{font-family:var(--font-poppins);font-weight:600;font-size:13px}

/* pricing tiers */
.ratetable{display:flex;flex-direction:column;border:1px solid var(--mist);border-radius:var(--radius-card);overflow:hidden;margin:24px 0 10px}
.rate{display:grid;grid-template-columns:1fr auto;grid-template-areas:"tier num" "note note";gap:4px 16px;padding:18px 22px;border-bottom:1px solid var(--mist)}
.rate:last-child{border-bottom:0}
.rate__tier{grid-area:tier;font-family:var(--font-poppins);font-weight:600;font-size:15px;color:var(--ink);align-self:center}
.rate__num{grid-area:num;font-family:var(--font-poppins);font-weight:600;font-size:clamp(18px,2.4vw,24px);letter-spacing:-.4px;color:var(--iris);white-space:nowrap;align-self:center}
.rate__num small{font-size:13px;font-weight:500;color:var(--slate)}
.rate__note{grid-area:note;font-family:var(--font-serif);font-size:14px;line-height:1.5;color:var(--slate)}

@media (max-width:760px){
  .bgrid,.bgrid--2,.postcards{grid-template-columns:1fr}
}

/* numbered template list (AI policy post) */
.policylist{list-style:none;counter-reset:pol;margin:0 0 30px;padding:0;display:flex;flex-direction:column;gap:16px}
.policylist li{counter-increment:pol;position:relative;padding-left:48px;min-height:32px;font-family:var(--font-serif);font-size:clamp(16px,1.7vw,17px);line-height:1.6;color:var(--graphite)}
.policylist li::before{content:counter(pol);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:var(--lavender);color:var(--iris);font-family:var(--font-poppins);font-weight:600;font-size:14px;display:grid;place-items:center}
.policylist strong{color:var(--ink);font-weight:600}
