/* ==========================================================================
   Stryfe Growth Labs — design system
   ========================================================================== */

:root {
  --ink: #0a0b09;
  --ink-2: #121410;
  --ink-3: #1b1e18;
  --paper: #ffffff;
  --paper-2: #f4f5f2;
  --lime: #d4f224;
  --lime-dim: #b3ce16;
  /* Lime hits only 1.27:1 on white — unusable as text. This is the brand green
     darkened to 5.2:1 on paper, for links and emphasis in light sections. */
  --lime-ink: #5f7505;
  /* Portrait plate. The agent renders are cut out with transparent
     backgrounds and wear black suits, so they need a light backing. */
  --plate: #edefe7;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(10, 11, 9, 0.12);

  --fg: #f5f6f3;
  --fg-mute: rgba(245, 246, 243, 0.62);
  /* 0.38 measured 3.33:1 against --ink and failed AA on the small text that
     uses it (footer headings, card footers). 0.56 lands at 5.97:1. */
  --fg-faint: rgba(245, 246, 243, 0.56);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --shell: min(1240px, 100% - 2.5rem);
  --radius: 22px;
  --radius-lg: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing — every <img> carries width/height attributes for
   layout stability, and without this the intrinsic height wins over CSS width. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.025em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- layout -- */

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--narrow { width: min(820px, 100% - 2.5rem); }

section { position: relative; }

.band {
  padding: clamp(5rem, 11vw, 9.5rem) 0;
}

.band--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.band--paper {
  background: var(--paper);
  color: var(--ink);
}

.band--paper .eyebrow { color: var(--ink); }
.band--paper .lede,
.band--paper .muted { color: rgba(10, 11, 9, 0.62); }

/* Lime is decorative-only on paper — anything carrying meaning uses --lime-ink. */
.band--paper .accent,
.band--paper .arrow-link { color: var(--lime-ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
}

/* Neutral rule. This dash appears beside every section label on every page —
   as lime it was the single biggest source of scattered accent on the site. */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: rgba(245, 246, 243, 0.32);
  border-radius: 2px;
}

.band--paper .eyebrow::before { background: rgba(10, 11, 9, 0.28); }

/* Optional section index — "01", "02". Mono, quiet, sits before the label. */
.eyebrow b {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
}

/* 0.62 is the audited light-band tone; 0.55 measured 4.42:1 and failed. */
.band--paper .eyebrow b { color: rgba(10, 11, 9, 0.62); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 62ch;
}

.muted { color: var(--fg-mute); }
.accent { color: var(--lime); }

/* ----------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 11, 9, 0.55);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  view-transition-name: site-nav;
}

.nav.is-stuck {
  background: rgba(10, 11, 9, 0.82);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px; /* the image is 30px tall; the tap target must not be */
  view-transition-name: site-mark;
}

.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-mute);
  border-radius: 999px;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.nav__link:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current="page"] { color: var(--fg); }

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--lime);
}

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 17px;
  height: 1.6px;
  margin-inline: auto;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s linear;
}

.nav__toggle span { position: relative; }
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after { top: 5.5px; }

.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- button - */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* WCAG tap target — applies to .btn--sm too */
  gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #e2ff45; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--fg);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.band--paper .btn--ghost {
  background: rgba(10, 11, 9, 0.04);
  border-color: var(--line-dark);
  color: var(--ink);
}
.band--paper .btn--ghost:hover { background: rgba(10, 11, 9, 0.09); }

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  font-weight: 560;
  color: var(--lime);
}
.arrow-link svg { transition: transform 0.35s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ hero - */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  /* Matte, not glowing. Was a lime radial at 0.16 that breathed on a 9s loop —
     ambient light is what made a flat black ground read as glossy. A trace of
     warmth stays so the corner is not dead flat. */
  background: radial-gradient(circle, rgba(212, 242, 36, 0.05), rgba(212, 242, 36, 0) 60%);
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.09); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}

.hero__mark {
  width: clamp(96px, 13vw, 148px);
  view-transition-name: hero-mark;
}

.hero h1 { max-width: 16ch; }

.hero__sub {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  color: var(--fg-mute);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.6rem;
}

/* ------------------------------------------------- landing hero (index) -- */

/* The base .hero above is still used by 404.html — everything below is scoped
   to .hero--lead so that page keeps its centred stack. */

.hero--lead {
  min-height: min(100svh, 920px);
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 8vw, 6rem);
}

/* Anchored low and left, behind the headline. A centred breathing orb is the
   one thing every generated hero ships with. */
.hero--lead .hero__glow {
  left: 6%;
  top: 66%;
  width: min(840px, 110vw);
  background: radial-gradient(circle, rgba(212, 242, 36, 0.055), rgba(212, 242, 36, 0) 62%);
}

/* Grid pushed under the roster panel so the two halves read differently. */
.hero--lead .hero__grid {
  mask-image: radial-gradient(ellipse 56% 70% at 78% 46%, #000 6%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 56% 70% at 78% 46%, #000 6%, transparent 76%);
  opacity: 0.75;
}

.hero__lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  text-align: left;
}

.hero__copy { display: grid; justify-items: start; gap: 1.4rem; }

.hero--lead h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.hero--lead .hero__sub { max-width: 46ch; margin: 0; text-wrap: pretty; }
.hero--lead .hero__actions { justify-content: flex-start; margin-top: 0.45rem; }

/* Mono status line above the headline. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.kicker i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(245, 246, 243, 0.32);
}

/* Lime rule that draws itself under one word of the headline. */
.mark {
  position: relative;
  font-style: normal;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  left: -0.03em;
  right: -0.03em;
  bottom: 0.04em;
  height: 0.085em;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  animation: rule-in 0.9s var(--ease-out) 0.45s forwards;
}

@keyframes rule-in { to { transform: scaleX(1); } }

/* ------------------------------------------------------- roster board --- */

.board {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

/* Lime hairline across the top edge. */
.board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.board__list { display: grid; }

/* The hero panel carries the four proof points. It used to list all six agents,
   which meant meeting the whole roster twice within one scroll — here and again
   in the wheel directly below. The wheel is the better introduction, so it gets
   the job alone and this panel earns its space with facts instead. */
.board__fact {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
}

.board__fact + .board__fact { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.board__fact b {
  font-size: 1.45rem;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
}

.board__fact > div { display: grid; gap: 0.15rem; min-width: 0; }

.board__fact span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.board__fact em { font-style: normal; font-size: 0.85rem; color: var(--fg-mute); }

@media (max-width: 980px) {
  .hero--lead { min-height: 0; }
  .hero__lead { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero--lead .hero__grid {
    mask-image: radial-gradient(ellipse 82% 58% at 50% 38%, #000 12%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 82% 58% at 50% 38%, #000 12%, transparent 78%);
  }
  .hero--lead .hero__glow { left: 50%; top: 34%; }
}

@media (max-width: 420px) {
  .board__fact { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.8rem; }
  .board__fact b { font-size: 1.25rem; }
}

/* page hero (interior pages) */

.phero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4.5rem, 10vw, 8rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Off-centre, matching the landing hero. Was left:50% — a centred glow behind
   a single centred column is the look this page family is trying to shed. */
.phero__glow {
  position: absolute;
  left: 16%;
  top: -34%;
  width: min(940px, 115vw);
  aspect-ratio: 1;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(212, 242, 36, 0.05), transparent 60%);
  pointer-events: none;
}

/* Split header: title left, supporting copy bottom-aligned right. Same device
   as .stage__head on the landing, so the pages read as one family. */
.phero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.phero__lead,
.phero__aside { display: grid; gap: 1.2rem; justify-items: start; align-content: end; }

.phero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); max-width: 15ch; }
.phero .lede { max-width: 46ch; margin: 0; }
.phero .hero__actions { justify-content: flex-start; margin: 0; }

@media (max-width: 900px) {
  .phero__inner { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .phero__lead, .phero__aside { align-content: start; }
  .phero h1 { max-width: 18ch; }
}

/* ------------------------------------------------------- scroll reveals -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(0.94);
  opacity: 0;
}
[data-reveal="scale"].is-in { transform: none; opacity: 1; }

/* ----------------------------------------------------------- stage band -- */

/* Deliberately oversized and full-bleed. Every other section on this page is a
   1240px box with matching vertical padding, and that even metronome is most of
   what makes a page read as generated. The wheel is the centrepiece, so this
   one breaks the grid: wider shell, roughly double the height, its own ground. */

/* A flat raised surface, not a lit one. The two lime radials that used to sit
   here were the loudest atmosphere on the site; the hairlines and the extra
   height carry the separation on their own. */
.band--stage {
  padding: clamp(6.5rem, 14vw, 13rem) 0;
  background: var(--ink-2);
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

/* Gutter must match .shell, not exceed it — a wider gutter made this narrower
   than a normal band at 1280px, where the shell is already gutter-limited.
   The extra width only appears above ~1300px; below that the section is set
   apart by its height and its own ground instead. */
.shell--wide { width: min(1460px, 100% - 2.5rem); }

/* Split header — heading left, lede bottom-aligned right. The other sections
   stack eyebrow/h2/lede in one 46ch column; this one shouldn't match them. */
.stage__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.stage__head h2 { max-width: 14ch; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.stage__head .lede { max-width: 44ch; margin: 0; }

.stage__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin: 1.2rem 0 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.stage__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }

.stage__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(245, 246, 243, 0.32);
}

/* The extra width is only worth taking if the wheel actually grows into it. */
.band--stage .wheel { gap: clamp(2rem, 6vw, 6rem); }
.band--stage .wheel__stage { max-width: 620px; }
.band--stage .wheel__panel { min-height: 19rem; }
.band--stage .wheel__panel h3 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }

@media (max-width: 900px) {
  .stage__head { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
  .stage__head h2 { max-width: 18ch; }
  .band--stage .wheel__stage { max-width: 380px; }
}

/* ----------------------------------------------------------- agent wheel- */

.wheel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.wheel__stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  touch-action: pan-y;
  cursor: grab;
  /* cqw = 1% of the stage's own width, so seat size and orbit radius scale
     with the wheel instead of needing a breakpoint for every size. */
  container-type: inline-size;
}

.wheel__stage:active { cursor: grabbing; }

/* Concentric guides — decorative, but they give the spin something to read against. */
.wheel__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wheel__rings i {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.wheel__rings i:nth-child(1) { width: 100%; height: 100%; }
.wheel__rings i:nth-child(2) {
  width: 74%;
  height: 74%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.09);
}
.wheel__rings i:nth-child(3) { width: 46%; height: 46%; border-color: rgba(255, 255, 255, 0.06); }

/* The ring that actually rotates. Each seat is counter-rotated so faces stay upright. */
.wheel__ring {
  position: absolute;
  inset: 0;
  transform: rotate(var(--spin, 0deg));
}

.wheel__ring.is-settling {
  transition: transform 0.75s var(--ease-out);
}

.wheel__seat {
  --seat: 22cqw;
  --orbit: 37cqw;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--seat);
  height: var(--seat);
  margin: calc(var(--seat) / -2);
  /* push out to the orbit, then undo the ring's rotation and the seat's own angle */
  transform:
    rotate(var(--angle))
    translateY(calc(var(--orbit) * -1))
    rotate(calc((var(--angle) + var(--spin, 0deg)) * -1));
  transition: transform 0.75s var(--ease-out);
}

.wheel__ring:not(.is-settling) .wheel__seat { transition: none; }

.wheel__btn {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 28%;
  cursor: pointer;
  display: block;
  position: relative;
}

.wheel__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28%;
  /* The characters wear near-black suits (measured rgb 24–37). On a dark plate
     their shoulders vanish — 1.1:1. This pale plate puts them at ~13:1. */
  background: var(--plate);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  filter: saturate(0.6) brightness(0.78);
  transform: scale(0.84);
  transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
}

/* The ring stays — it is the only thing marking which agent is selected.
   The 44px lime halo under it does not. */
.wheel__seat[data-active] .wheel__btn img {
  filter: none;
  transform: scale(1.14);
  box-shadow: 0 0 0 2px var(--lime);
}

.wheel__btn:hover img { filter: saturate(0.9) brightness(0.95); transform: scale(0.95); }
.wheel__seat[data-active] .wheel__btn:hover img { transform: scale(1.14); }

/* Name tag under the active seat only */
.wheel__seat span {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  translate: -50% 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.wheel__seat[data-active] span { opacity: 1; color: var(--lime); }

/* Centre hub shows the selected agent */
.wheel__hub {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42%;
  height: 42%;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  pointer-events: none;
}

.wheel__hub b {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wheel__hub em {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.wheel__hub > div {
  animation: hub-in 0.5s var(--ease-out);
}

@keyframes hub-in {
  from { opacity: 0; transform: translateY(8px) scale(0.94); }
}

/* Read-out panel beside the wheel */
.wheel__panel { display: grid; gap: 1rem; align-content: center; min-height: 17rem; }

.wheel__panel > * { animation: panel-in 0.55s var(--ease-out) both; }
.wheel__panel > *:nth-child(2) { animation-delay: 0.05s; }
.wheel__panel > *:nth-child(3) { animation-delay: 0.1s; }
.wheel__panel > *:nth-child(4) { animation-delay: 0.15s; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
}

.wheel__panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.wheel__panel p { color: var(--fg-mute); max-width: 46ch; }

.wheel__nav {
  grid-column: 2; /* sits under the read-out panel, not the wheel */
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.wheel__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.wheel__arrow:hover { background: rgba(212, 242, 36, 0.16); border-color: var(--lime); }

.wheel__count {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
  margin-left: 0.3rem;
}

@media (max-width: 900px) {
  .wheel { grid-template-columns: 1fr; gap: 2rem; }
  .wheel__nav { grid-column: 1; } /* one column — don't create an implicit second */
  .wheel__stage { max-width: 380px; }
  .wheel__panel { min-height: 0; text-align: center; justify-items: center; }
  .wheel__panel p { max-width: 52ch; }
  .wheel__nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel__ring,
  .wheel__seat { transition: none; }
  .wheel__hub > div,
  .wheel__panel > * { animation: none; }
}

.avatar {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  object-fit: cover;
  background: var(--plate); /* black suits need a light backing — see --plate */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}

.agent:hover .avatar {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 0 1px rgba(212, 242, 36, 0.5), 0 14px 32px -12px rgba(212, 242, 36, 0.75);
}

.avatar--lg { width: 84px; height: 84px; border-radius: 24px; }

.agent__name {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.agent__name b {
  font-size: 1.32rem;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.agent__name span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.agent-head {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin-bottom: 1.2rem;
}

.agent-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.agent-head .agent__name { gap: 0.25rem; }
.agent-head .agent__name span { font-size: 0.74rem; line-height: 1.4; }

@media (max-width: 420px) {
  .agent-head { gap: 0.8rem; }
  .avatar--lg { width: 64px; height: 64px; border-radius: 19px; }
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(212, 242, 36, 0.11);
  border: 1px solid rgba(212, 242, 36, 0.26);
  border-radius: 999px;
}

/* --------------------------------------------------------------- lists --- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.96rem;
  color: var(--fg-mute);
}

/* Every capability bullet on the services page used to be a lime square —
   roughly thirty of them on one scroll. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(245, 246, 243, 0.3);
}

.band--paper .ticks li::before { background: rgba(10, 11, 9, 0.26); }

.band--paper .ticks li { color: rgba(10, 11, 9, 0.68); }

/* ---------------------------------------------------------------- cards -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), background 0.5s var(--ease-out);
}

.card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.075); }
.card p { font-size: 0.96rem; color: var(--fg-mute); }

/* Neutral chip. Services alone carries about a dozen of these; in lime they
   read as a repeating pattern rather than an accent. `.tag` stays lime because
   it labels something ("Track 01", "01 · Sales") — an icon only decorates. */
.card__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--fg-mute);
}

.band--paper .card {
  background: #fff;
  border-color: var(--line-dark);
  box-shadow: 0 1px 2px rgba(10, 11, 9, 0.05);
}

/* Icons need 3:1 non-text contrast too — lime on a pale tint doesn't reach it. */
.band--paper .card__ico {
  color: rgba(10, 11, 9, 0.62);
  background: rgba(10, 11, 9, 0.04);
  border-color: var(--line-dark);
}

.band--paper .tag {
  color: var(--lime-ink);
  background: rgba(95, 117, 5, 0.1);
  border-color: rgba(95, 117, 5, 0.35);
}
.band--paper .card:hover { box-shadow: 0 18px 40px -22px rgba(10, 11, 9, 0.35); }
.band--paper .card p { color: rgba(10, 11, 9, 0.62); }

/* --------------------------------------------------------------- ledger - */

/* Numbered editorial rows. Replaces the stock three-up icon-card grid, which
   is the most template-looking block a marketing page can carry. */

.ledger { list-style: none; margin: 0; padding: 0; display: grid; }

.ledger__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.ledger__item:last-child { border-bottom: 1px solid var(--line); }

/* Matches .eyebrow b, which is already neutral — both are decorative indices. */
.ledger__n {
  padding-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
}

.ledger h3 { margin-bottom: 0.45rem; }
.ledger p { font-size: 0.98rem; color: var(--fg-mute); max-width: 54ch; }

.band--paper .ledger__item { border-color: var(--line-dark); }
/* The numeral carries meaning, so on paper it must be --lime-ink, not --lime. */
.band--paper .ledger__n { color: rgba(10, 11, 9, 0.62); }
.band--paper .ledger p { color: rgba(10, 11, 9, 0.62); }

@media (max-width: 480px) {
  .ledger__item { grid-template-columns: 1fr; gap: 0.5rem; }
  .ledger__n { padding-top: 0; }
}

/* --------------------------------------------------------------- process - */

.steps {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem);
  background: var(--paper);
  transition: background 0.4s var(--ease-out);
}

.step:hover { background: var(--paper-2); }
.step__n { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: rgba(10, 11, 9, 0.68); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: rgba(10, 11, 9, 0.62); font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* Alternating sections put the figure first in the DOM so it sits on the left
   at two columns. Stacked, the copy should always lead — so push it back. */
@media (max-width: 900px) {
  .split--flip > .figure { order: 1; }
}

.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.band--paper .figure {
  border-color: var(--line-dark);
  background: var(--paper-2);
}

/* ---------------------------------------------------------------- policy - */

.policy-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: grid;
  gap: 0.15rem;
}

.policy-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  color: var(--fg-mute);
  border-left: 2px solid var(--line);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.policy-nav a:hover,
.policy-nav a.is-active { color: var(--fg); border-left-color: var(--lime); }

.policy { scroll-margin-top: calc(var(--nav-h) + 2rem); }
.policy + .policy { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.policy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.policy h3 { font-size: 1.05rem; margin: 1.8rem 0 0.5rem; }
.policy p, .policy li { color: var(--fg-mute); font-size: 0.98rem; }
.policy ul { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.policy a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.stamp {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ------------------------------------------------------------------ faq -- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.55rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}

.faq__q:hover { color: var(--lime); }

.faq__q i {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}
.faq__q i::before,
.faq__q i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__item.is-open .faq__q { color: var(--lime); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
/* 68ch was past the comfortable measure for body text at this size. */
.faq__a p { padding-bottom: 1.5rem; color: var(--fg-mute); max-width: 62ch; line-height: 1.68; }

/* ------------------------------------------------------------------ cta -- */

.cta {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--radius-lg);
  /* Flat panel. The lime wash and the ellipse glow beneath it made this the
     brightest thing on the page — louder than its own button. */
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
}

.cta > * { position: relative; }
.cta h2 { max-width: 18ch; }
.cta p { max-width: 52ch; color: var(--fg-mute); }

/* --------------------------------------------------------------- footer -- */

.footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.5rem;
}

.footer__brand { display: grid; gap: 1rem; align-content: start; max-width: 34ch; }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { font-size: 0.92rem; color: var(--fg-mute); }

.footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 600;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { font-size: 0.92rem; color: var(--fg-mute); transition: color 0.25s var(--ease-out); }
.footer a:hover { color: var(--lime); }

.footer__bot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--fg-faint);
}

/* ------------------------------------------------------ view transitions - */

@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out 0.32s var(--ease-io) both;
}
::view-transition-new(root) {
  animation: vt-in 0.48s var(--ease-out) both;
}

@keyframes vt-out {
  to { opacity: 0; transform: scale(0.985); filter: blur(4px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: scale(1.012); filter: blur(6px); }
}

::view-transition-group(site-nav),
::view-transition-group(site-mark) { animation-duration: 0.5s; }

::view-transition-old(site-nav),
::view-transition-new(site-nav) { animation: none; mix-blend-mode: normal; }

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 900px) {
  .policy-wrap { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-auto-flow: column; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.5rem; }
  .policy-nav a { border-left: 0; border-bottom: 2px solid var(--line); white-space: nowrap; }
  .policy-nav a:hover, .policy-nav a.is-active { border-bottom-color: var(--lime); }
  .sheet__head { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem 1.25rem 1.6rem;
    background: rgba(10, 11, 9, 0.96);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 0.85rem 0.4rem; font-size: 1.05rem; border-radius: 10px; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 0.8rem 0 0; justify-content: center; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  /* Without this the rule sits invisible through its 0.45s delay, then snaps. */
  .mark::after { animation: none; transform: none; }
  @view-transition { navigation: none; }
}
