/* LeadAIO: mission control for a brand's launch into AI answers. */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../fonts/bricolage-latin.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/jetbrainsmono-latin.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #0e0e0d;
  --panel-2: #151513;
  --rule: #3a3220;
  --rule-strong: #5a4a28;
  --grid: rgba(214, 174, 75, 0.06);
  --ink: #f4f1ea;
  --muted: #a8a59e;
  --dim: #8c887f;
  --gold: #d6ae4b;
  --gold-hi: #e4c574;
  --gold-soft: rgba(214, 174, 75, 0.12);
  --on-gold: #0b0a07;

  --f-title: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --f-text: 'Archivo', system-ui, sans-serif;
  --f-data: 'JetBrains Mono', ui-monospace, monospace;

  --t-sm: 0.875rem;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --t-h2: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --t-h1: clamp(2.6rem, 1.5rem + 3.4vw, 4.6rem);

  --margin: clamp(1rem, 2.4vw, 2.5rem);
  --section: clamp(4rem, 6.5vw, 5.5rem); /* the one gap between every section */
  --section-sm: var(--section);
  --max: 96rem;
  --gap: clamp(1.5rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);        /* strong ease-out: entrances, feedback */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* on-screen movement */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; scrollbar-color: #3a3220 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-text); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role], ol { list-style: none; padding: 0; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-title); text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--gold); color: var(--on-gold); padding: 0.7rem 1rem; }
.skip:focus { top: 1rem; }
.note { font-size: var(--t-sm); color: var(--dim); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3.25rem; padding: 0 1.5rem; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, transform 140ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--sm { min-height: 2.75rem; padding: 0 1.15rem; font-size: 0.9375rem; }
.arr { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform 200ms var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.tag { font-family: var(--f-data); font-size: 0.75rem; color: var(--gold); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 0.2rem 0.55rem; white-space: nowrap; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(9, 9, 9, 0.96); border-bottom: 1px solid var(--rule); }
.bar-in { max-width: var(--max); margin-inline: auto; padding: 0.85rem var(--margin); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--f-title); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; }
.brand-mark { width: 1.85rem; height: 1.85rem; color: var(--gold); }
.brand-logo { display: block; height: 2.1rem; width: auto; }
.foot-brand .brand-logo { height: 2.4rem; }
.bar-nav { display: flex; gap: clamp(1.5rem, 4vw, 4rem); font-family: var(--f-data); font-size: 0.9375rem; }
.bar-nav a { text-decoration: none; color: var(--ink); transition: color 160ms ease; }
.bar-nav a:hover { color: var(--gold); }
.bar .btn { justify-self: end; }

/* ---------- hero console ---------- */
.hero { max-width: var(--max); margin-inline: auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin) 0; }
.console { position: relative; min-height: clamp(30rem, 53svh, 34rem); padding: clamp(1.25rem, 2.2vw, 2rem) clamp(1.25rem, 2.2vw, 2rem); }
.corner { position: absolute; width: 14px; height: 14px; border-color: var(--rule-strong); border-style: solid; border-width: 0; }
.corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hero-copy { position: relative; z-index: 2; display: grid; gap: 1.6rem; justify-items: start; max-width: 38rem; }
.hero h1 { font-size: var(--t-h1); line-height: 1; letter-spacing: -0.022em; font-weight: 720; }
.hero-sub { font-size: var(--t-lead); max-width: 31em; color: var(--ink); line-height: 1.5; }

.flight-area { position: absolute; inset: 0; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; }
#flight-grid line { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.baseline { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
#flight-ticks line { stroke: var(--rule-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.path-ghost { fill: none; stroke: rgba(214, 174, 75, 0.18); stroke-width: 2; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.path-live { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.marker { position: absolute; left: var(--mx, 4%); top: var(--my, 84%); width: 0; height: 0; z-index: 3; }
.marker i { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(214, 174, 75, 0.18); }
.orbit { position: absolute; left: 86%; top: 25%; width: 0; height: 0; pointer-events: none; opacity: var(--orbit-o, 1); transition: opacity 500ms ease; }
.orbit i { position: absolute; border: 1px solid var(--gold); border-radius: 50%; left: 50%; top: 50%; }
.orbit .o1 { width: 92px; height: 92px; margin: -46px; opacity: 0.55; }
.orbit .o2 { width: 58px; height: 58px; margin: -29px; opacity: 0.7; }
.orbit .o3 { width: 190px; height: 74px; margin: -37px -95px; border-style: dashed; opacity: 0.5; transform: rotate(-12deg); }

.waypoints { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wp { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.wp::before { content: ""; position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--rule-strong); border-radius: 50%; background: var(--bg); transition: background-color 300ms ease, transform 300ms var(--ease); }
.wp.is-lit::before { border-color: var(--gold); transform: scale(1.1); }
.wp--named::before { display: none; }
.wp::after { content: ""; position: absolute; left: 0; top: 10px; height: 26px; border-left: 1px dashed var(--rule-strong); }
.wp--named::after, .wp[data-stage="0"]::after { display: none; }
.wp button { pointer-events: auto; position: absolute; left: 12px; top: 34px; display: grid; gap: 0.15rem; text-align: left; padding: 0.3rem 0.5rem; border-radius: 4px; white-space: nowrap; transition: background-color 160ms ease; }
.wp button:hover { background: var(--gold-soft); }
.wp button[aria-pressed="true"] .wp-name { color: var(--gold); }
.wp[data-stage="0"] button { left: -8px; top: 16px; }
.wp--named button { left: 56px; top: -78px; }
.wp-name { font-family: var(--f-data); font-size: 0.9375rem; color: var(--ink); transition: color 200ms ease; }
.wp-co { font-family: var(--f-data); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.replay { position: absolute; right: clamp(1.25rem, 2.2vw, 2rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 3; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); padding: 0.4rem 0.6rem; border-radius: 4px; transition: color 160ms ease, background-color 160ms ease; }
.replay svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.replay:hover { color: var(--gold); background: var(--gold-soft); }

/* telemetry strip */
.telemetry { margin: 1.5rem 0 0; display: grid; grid-template-columns: 1.25fr repeat(5, 1fr); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 1.4rem 0; }
.telemetry > div { padding: 0 1.5rem; border-left: 1px solid var(--rule-strong); }
.telemetry > div:first-child { border-left: 0; }
.tm-label dt { font-family: var(--f-data); font-size: 0.8125rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.tm-label dd { margin-top: 0.75rem; font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); max-width: 18ch; }
.tm-cell dt { font-family: var(--f-data); font-size: 0.8125rem; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; }
.tm-cell dd { margin-top: 0.6rem; font-family: var(--f-data); color: var(--gold); font-variant-numeric: tabular-nums; }
.tm-cell b { font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; }
.tm-cell span { font-size: 1.5rem; }
.tm-cell:nth-child(2) dd { color: var(--ink); }
.tm-cell small { display: block; margin-top: 0.4rem; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- panel sections ---------- */
.panel-section { max-width: var(--max); margin: var(--section-sm) auto 0; padding-inline: var(--margin); }
.panel { border: 1px solid var(--rule-strong); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel-head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.panel-head h2, .feed-copy h2, .tele-copy h2, .faq h2, .contact h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; }
.panel-head p { color: var(--muted); max-width: 52ch; justify-self: end; }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.stage { border: 1px solid var(--rule); border-radius: 6px; padding: 1.4rem; display: grid; gap: 0.7rem; align-content: start; transition: border-color 200ms ease, background-color 200ms ease; }
.stage:hover { border-color: var(--rule-strong); background: var(--panel); }
.stage-n { font-family: var(--f-data); font-size: 1.125rem; color: var(--gold); }
.stage h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.stage-when { font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); }
.stage p:last-child { color: var(--muted); font-size: 0.9375rem; }

/* ---------- answer feed ---------- */
.feed-section { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feed-copy { display: grid; gap: 1.25rem; }
.feed-copy p:not(.note) { color: var(--muted); max-width: 44ch; }
[data-ui].feed { border: 1px solid var(--rule-strong); border-radius: 8px; padding: 1.25rem; background: var(--panel); font-size: 0.9375rem; }
[data-ui] .feed-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
[data-ui] .live { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); }
[data-ui] .live i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #5fd38a; }
[data-ui] .feed-time { color: var(--gold); text-transform: none; letter-spacing: 0; }
[data-ui] .feed-q { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--rule); border-radius: 6px; padding: 0.85rem 1rem; font-size: 1.0625rem; }
[data-ui] .feed-q svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--muted); stroke-width: 1.5; flex: none; }
[data-ui] .feed-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1rem 0 0.75rem; }
[data-ui] .feed-tabs button { font-size: 0.8125rem; padding: 0.4rem 0.75rem; border-radius: 999px; color: var(--muted); background: var(--panel-2); transition: color 160ms ease, background-color 160ms ease; }
[data-ui] .feed-tabs button:hover { color: var(--ink); }
[data-ui] .feed-tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); font-weight: 600; }
[data-ui] .feed-answer { border: 1px solid var(--rule); border-radius: 6px; padding: 1rem; line-height: 1.6; min-height: 6.5rem; }
[data-ui] .feed-answer mark { background: none; color: var(--gold); font-weight: 700; font-size: 1.0625rem; }
[data-ui] .feed-answer.is-swap p { opacity: 0; transform: translateY(4px); }
[data-ui] .feed-answer p { transition: opacity 220ms ease, transform 220ms var(--ease); }
[data-ui] .feed-sources { margin-top: 1rem; }
[data-ui] .fs-h { font-family: var(--f-data); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
[data-ui] .feed-sources ul { list-style: none; padding: 0; margin: 0; }
[data-ui] .feed-sources li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--rule); }
[data-ui] .fs-k { font-family: var(--f-data); font-size: 0.75rem; color: var(--gold); padding-top: 0.1rem; }

/* ---------- routing ---------- */
.routing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; position: relative; }
.r-sources, .r-engines { display: grid; gap: 0.75rem; }
.r-sources li { border: 1px solid var(--rule); border-radius: 6px; padding: 0.9rem 1rem; background: var(--bg); position: relative; z-index: 1; transition: border-color 200ms ease; }
.r-sources li:hover { border-color: var(--gold); }
.r-sources h3 { font-family: var(--f-text); font-size: 1rem; font-weight: 650; }
.r-sources p { font-size: 0.875rem; color: var(--muted); }
.r-core { position: relative; align-self: stretch; display: grid; place-items: center; }
.r-wires { position: absolute; left: calc(-1 * clamp(1.5rem, 3vw, 3rem)); right: calc(-1 * clamp(1.5rem, 3vw, 3rem)); top: 0; bottom: 0; width: calc(100% + 2 * clamp(1.5rem, 3vw, 3rem)); height: 100%; overflow: visible; }
.r-wires path { fill: none; stroke: var(--rule-strong); stroke-width: 1.25; }
.r-wires path.flow { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 10; }
.r-hub { position: relative; z-index: 1; border: 1px solid var(--gold); border-radius: 8px; background: var(--bg); padding: 1.25rem; display: grid; gap: 0.75rem; max-width: 15rem; }
.r-hub svg { width: 1.75rem; height: 1.75rem; color: var(--gold); }
.r-hub p { font-size: 0.9375rem; color: var(--muted); }
.r-hub b { color: var(--ink); }
.r-engines li { border: 1px solid var(--rule); border-radius: 6px; padding: 0.9rem 1rem; background: var(--bg); display: grid; position: relative; z-index: 1; }
.r-engines b { font-family: var(--f-title); font-size: 1.125rem; }
.r-engines span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- telemetry section ---------- */
.tele-section { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tele-copy { display: grid; gap: 1.25rem; }
.tele-copy p { color: var(--muted); max-width: 44ch; }
[data-ui].tele { border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--panel); }
[data-ui] .tele-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--rule); font-size: 0.875rem; color: var(--muted); }
[data-ui] .tele-top b { color: var(--ink); }
[data-ui] .tele-chart { width: 100%; height: auto; padding: 1rem 1.1rem 0.25rem; overflow: visible; }
[data-ui] .sov-grid line { stroke: var(--rule); }
[data-ui] .sov-ax text { fill: var(--dim); font-family: var(--f-data); font-size: 11px; }
[data-ui] .sov-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
[data-ui] .sov-lab { font-family: var(--f-text); font-size: 12px; font-weight: 600; }
[data-ui] .tele-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
[data-ui] .tele-table th { text-align: left; font-weight: 500; font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); padding: 0.6rem 1.1rem; border-top: 1px solid var(--rule); }
[data-ui] .tele-table td { padding: 0.65rem 1.1rem; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
[data-ui] .tele-table td.v { font-family: var(--f-data); color: var(--gold); }
[data-ui] .tele-table td:last-child { color: var(--muted); }

/* ---------- sample logos ---------- */
.logos { max-width: var(--max); margin: var(--section) auto 0; padding: 2.25rem var(--margin); border-block: 1px solid var(--rule); }
.logos-h { font-family: var(--f-text); margin: 0 0 1.5rem; font-size: var(--t-sm); font-weight: 500; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.logos-h span { color: var(--dim); }
.logo-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1.5rem; align-items: center; }
.lg { color: #8f8b81; font-size: 1.375rem; line-height: 1; text-align: center; white-space: nowrap; transition: color 200ms ease; }
.lg:hover { color: var(--ink); }
.lg--a { font-weight: 800; font-stretch: 75%; letter-spacing: -0.02em; font-size: 1.6rem; }
.lg--b { font-weight: 600; font-stretch: 125%; letter-spacing: 0.08em; font-size: 0.95rem; }
.lg--c { font-weight: 300; font-size: 1.55rem; letter-spacing: -0.03em; }
.lg--d { font-family: var(--f-title); font-weight: 700; letter-spacing: -0.04em; }
.lg--e { font-weight: 900; font-stretch: 62%; letter-spacing: 0.02em; font-size: 1.5rem; }
.lg--f { font-family: var(--f-data); font-weight: 500; font-size: 1.1rem; }
.lg--g { font-weight: 500; font-stretch: 118%; font-style: italic; }
.lg--h { font-weight: 700; font-stretch: 90%; letter-spacing: 0.14em; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.faq-list { border-top: 1px solid var(--rule-strong); }
:is(.faq, .mini-faq) details { border-bottom: 1px solid var(--rule); }
:is(.faq, .mini-faq) summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-size: 1.0625rem; font-weight: 600; position: relative; transition: color 160ms ease; }
:is(.faq, .mini-faq) summary::-webkit-details-marker { display: none; }
:is(.faq, .mini-faq) summary::after, :is(.faq, .mini-faq) summary::before { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.85rem; height: 1.5px; background: var(--gold); transition: transform 200ms var(--ease); }
:is(.faq, .mini-faq) summary::before { transform: rotate(90deg); }
:is(.faq, .mini-faq) details[open] summary::before { transform: rotate(0deg); }
:is(.faq, .mini-faq) summary:hover { color: var(--gold); }
:is(.faq, .mini-faq) details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 68ch; }

/* ---------- contact ---------- */
.contact { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.console--small { min-height: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(1.75rem, 4vw, 3.5rem); }
.contact-head { display: grid; gap: 1.25rem; justify-items: start; }
.contact-head p { color: var(--muted); max-width: 38ch; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ch { display: grid; gap: 0.35rem; align-content: start; padding: 1.5rem; text-decoration: none; border: 1px solid var(--rule); border-radius: 6px; transition: border-color 160ms ease, background-color 160ms ease; }
.ch:hover { border-color: var(--gold); background: var(--panel); }
.ch svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; margin-bottom: 1.25rem; }
.ch-name { font-family: var(--f-title); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.ch-note { font-size: var(--t-sm); color: var(--muted); }
.ch-value { margin-top: 1rem; font-weight: 600; color: var(--gold); font-size: 0.9375rem; white-space: nowrap; }

/* ---------- footer ---------- */
.foot { margin-top: var(--section); border-top: 1px solid var(--rule); background: var(--panel); }
.foot-in { max-width: var(--max); margin-inline: auto; padding: 3.5rem var(--margin) 2.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; }
.foot-brand { display: grid; gap: 0.75rem; align-content: start; }
.foot-brand p { color: var(--muted); font-size: var(--t-sm); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; font-size: var(--t-sm); }
.foot-links h2 { font-family: var(--f-data); font-size: 0.75rem; font-weight: 500; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }
.foot-links ul { display: grid; gap: 0.45rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-legal { max-width: var(--max); margin-inline: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding: 1.25rem var(--margin) 2rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar-in { grid-template-columns: auto 1fr auto; }
  .bar-nav { justify-content: center; gap: 1.5rem; font-size: 0.875rem; }
  .telemetry { grid-template-columns: repeat(3, 1fr); row-gap: 1.25rem; }
  .telemetry > div:nth-child(4) { border-left: 0; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-section, .tele-section, .faq, .console--small { grid-template-columns: minmax(0, 1fr); }
  .routing { grid-template-columns: minmax(0, 1fr); }
  .r-wires { display: none; }
  .r-hub { max-width: none; }
  .logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.75rem; }
  .panel-head { grid-template-columns: 1fr; }
  .panel-head p { justify-self: start; }
  .wp--named button { left: auto; right: 44px; top: -84px; text-align: right; }
}
@media (max-width: 760px) {
  .brand { font-size: 1.5rem; }
  .brand-logo { height: 1.75rem; }
  [data-ui] .tele-table th:last-child, [data-ui] .tele-table td:last-child { display: none; }
  [data-ui] .tele-table th, [data-ui] .tele-table td { padding-inline: 0.8rem; }
  .telemetry { grid-template-columns: repeat(2, 1fr); padding: 1rem 0; }
  .telemetry > div { padding: 0 1rem; }
  .tm-label { grid-column: 1 / -1; }
  .telemetry > div:nth-child(even) { border-left: 0; }
  .telemetry > div:nth-child(odd):not(:first-child) { border-left: 1px solid var(--rule-strong); }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-links { grid-template-columns: 1fr 1fr; }
  [data-ui] .feed-sources li { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (max-width: 900px) {
  .bar-nav { display: none; }
  .bar-in { grid-template-columns: 1fr auto; }
  .console { min-height: 0; }
  .hero-copy { gap: 1.25rem; }
  .flight-area { position: relative; inset: auto; height: 22rem; margin: 0.5rem -0.5rem 0; }
  .wp-co { display: none; }
  .wp-name { font-size: 0.8125rem; }
  .wp button { left: 8px; top: 30px; padding: 0.2rem 0.35rem; }
  .wp--named button { left: -150px; right: auto; top: -62px; text-align: left; }
  .wp[data-stage="3"] button { left: -118px; top: -34px; }
  .orbit .o3 { width: 112px !important; height: 46px !important; margin: -23px -56px !important; }
  .orbit .o3 { width: 140px; height: 56px; margin: -28px -70px; }
  .orbit .o1 { width: 70px; height: 70px; margin: -35px; }
  .replay { bottom: 0.25rem; right: 0.5rem; }
  .menu { display: block; }
  .bar-end .btn { padding: 0 0.9rem; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .marker i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
  .r-wires path.flow { animation: flow 1.4s linear infinite; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .sov-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease); }
  .js .tele.is-in .sov-line { stroke-dashoffset: 0; }
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.8; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -14; } }

/* =========================================================
   MOTION LAYER
   Load sequence, cursor telemetry, answer streaming, routing pulses,
   stage track, marquee, FAQ, hover feedback, scroll progress.
   transform / opacity / clip-path only. Reduced motion keeps fades.
   ========================================================= */

/* scroll progress along the top bar */
.bar { position: sticky; }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .bar::after { animation: progress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes progress { to { transform: scaleX(1); } }

/* nav link underline grows from the left */
.bar-nav a { position: relative; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .bar-nav a:hover::after { transform: scaleX(1); }
  .stage:hover, .ch:hover, .r-sources li:hover, .r-engines li:hover { transform: translateY(-3px); }
  .wp:hover::before { transform: scale(1.25); }
  .lg:hover { transform: translateY(-2px); }
}
.stage, .ch, .r-sources li, .r-engines li { transition: border-color 200ms ease, background-color 200ms ease, transform 220ms var(--ease); }
.lg { transition: color 200ms ease, transform 200ms var(--ease); }
.replay:active, .feed-tabs button:active, .wp button:active { transform: scale(0.96); }
.replay, [data-ui] .feed-tabs button, .wp button { transition: color 160ms ease, background-color 160ms ease, transform 140ms var(--ease); }
.replay svg { transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .replay:hover svg { transform: rotate(-200deg); } }

/* cursor telemetry in the console (fine pointers only) */
.xhair { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 240ms ease; overflow: hidden; }
.console.is-tracking .xhair { opacity: 1; }
.xhair i { position: absolute; left: 0; top: 0; background: rgba(214, 174, 75, 0.28); will-change: transform; }
.xhair .xh { width: 100%; height: 1px; }
.xhair .xv { width: 1px; height: 100%; }
.xhair .xl { position: absolute; left: 0; top: 0; font-family: var(--f-data); font-size: 0.6875rem; color: var(--gold); background: var(--bg); padding: 0.1rem 0.35rem; border: 1px solid var(--rule-strong); border-radius: 3px; white-space: nowrap; will-change: transform; }

/* stage track */
.stages { position: relative; padding-top: 2rem; }
.stages::before, .stages::after { content: ""; position: absolute; left: 0; right: 0; top: 0.5rem; height: 2px; border-radius: 2px; }
.stages::before { background: var(--rule); }
.stages::after { background: var(--gold); transform-origin: left; transform: scaleX(var(--track, 1)); transition: transform 1600ms var(--ease-in-out); }
.stage { position: relative; }
.stage::before { content: ""; position: absolute; top: calc(-2rem + 0.5rem - 5px); left: 1.4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }

/* answer feed: streaming caret and thinking dots */
[data-ui] .caret { display: inline-block; width: 0.5em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--gold); }
[data-ui] .thinking { display: inline-flex; gap: 5px; align-items: center; height: 1.4em; }
[data-ui] .thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
[data-ui] .feed-sources li { transition: opacity 400ms var(--ease), transform 500ms var(--ease); }
[data-ui] .feed-sources.is-hidden li { opacity: 0; transform: translateX(-10px); }

/* routing pulses */
.r-wires .pulse { fill: var(--gold); }

/* sample logo marquee */
.logo-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-row.is-marquee { display: flex; width: max-content; gap: 4.5rem; }
.logo-row.is-marquee .lg { flex: none; }

/* FAQ height: animate open and close where supported */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  :is(.faq, .mini-faq) details::details-content { block-size: 0; overflow: clip; transition: block-size 260ms var(--ease), content-visibility 260ms allow-discrete; }
  :is(.faq, .mini-faq) details[open]::details-content { block-size: auto; }
}
:is(.faq, .mini-faq) details p { transition: opacity 260ms ease, transform 300ms var(--ease); }
:is(.faq, .mini-faq) details:not([open]) p { opacity: 0; transform: translateY(-6px); }

@media (prefers-reduced-motion: no-preference) {
  /* load sequence */
  .js .bar-in > * { opacity: 0; transform: translateY(-8px); animation: drop-in 600ms var(--ease) forwards; }
  .js .bar-in > :nth-child(2) { animation-delay: 80ms; }
  .js .bar-in > :nth-child(3) { animation-delay: 160ms; }
  .js :is(.hero, .page-hero) .corner { opacity: 0; animation: corner-in 700ms var(--ease) 200ms forwards; }
  .js :is(.hero, .page-hero) .corner--tl { --cx: 18px; --cy: 18px; } .js :is(.hero, .page-hero) .corner--tr { --cx: -18px; --cy: 18px; }
  .js :is(.hero, .page-hero) .corner--bl { --cx: 18px; --cy: -18px; } .js :is(.hero, .page-hero) .corner--br { --cx: -18px; --cy: -18px; }
  .js #flight-grid, .js .baseline, .js #flight-ticks { opacity: 0; animation: fade-in 1200ms ease 300ms forwards; }
  .js :is(.hero, .page-hero) h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .js :is(.hero, .page-hero) h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise 900ms var(--ease) forwards; animation-delay: calc(250ms + var(--wi) * 55ms); }
  .js .hero-sub { opacity: 0; transform: translateY(12px); animation: drop-in 800ms var(--ease) 700ms forwards; }
  .js .hero-copy .btn { opacity: 0; transform: translateY(12px) scale(0.97); animation: drop-in 700ms var(--ease) 850ms forwards; }
  .js .replay { opacity: 0; animation: fade-in 600ms ease 1000ms forwards; }
  .js .wp button { opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease), background-color 160ms ease; }
  .js .wp.is-lit button, .js .wp.was-lit button { opacity: 1; transform: none; }
  .js .telemetry > div { opacity: 0; transform: translateY(14px); animation: drop-in 700ms var(--ease) forwards; animation-delay: calc(900ms + var(--ti) * 70ms); }

  /* orbit drifts */
  .orbit .o3 { animation: orbit 18s linear infinite; }
  .orbit .o1 { animation: breathe 4s var(--ease-in-out) infinite alternate; }

  /* stage track fills when the stages enter */
  .js .stages:not(.is-in) { --track: 0; }
  .js .stages .stage::before { transform: scale(0.6); opacity: 0; transition: transform 400ms var(--ease), opacity 400ms ease; transition-delay: calc(300ms + var(--i, 0) * 380ms); }
  .js .stages.is-in .stage::before { transform: none; opacity: 1; }

  [data-ui] .caret { animation: caret 1s steps(1) infinite; }
  [data-ui] .thinking i { animation: think 1s var(--ease-in-out) infinite; }
  [data-ui] .thinking i:nth-child(2) { animation-delay: 150ms; }
  [data-ui] .thinking i:nth-child(3) { animation-delay: 300ms; }
  [data-ui] .feed-sources li:nth-child(2) { transition-delay: 90ms; }
  [data-ui] .feed-sources li:nth-child(3) { transition-delay: 180ms; }

  .logo-row.is-marquee { animation: marquee 40s linear infinite; }
  .logo-viewport:hover .logo-row.is-marquee { animation-play-state: paused; }

  .js .console--small .corner { opacity: 0; transition: opacity 600ms ease, transform 700ms var(--ease); }
  .js .console--small.is-in .corner { opacity: 1; transform: none; }
  .js .console--small .corner--tl { transform: translate(18px, 18px); } .js .console--small .corner--tr { transform: translate(-18px, 18px); }
  .js .console--small .corner--bl { transform: translate(18px, -18px); } .js .console--small .corner--br { transform: translate(-18px, -18px); }

  .js .tele-table tbody tr { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); transition-delay: calc(900ms + var(--ri) * 90ms); }
  .js .tele.is-in .tele-table tbody tr { opacity: 1; transform: none; }
  .js .tele circle { opacity: 0; transition: opacity 300ms ease 1500ms; }
  .js .tele.is-in circle { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-sub, .js .hero-copy .btn { animation: fade-in 400ms ease forwards; opacity: 0; }
  .js .reveal { transition: opacity 400ms ease !important; transform: none !important; }
  .stages::after { transition: none; }
}
@keyframes drop-in { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise { to { transform: none; } }
@keyframes corner-in { from { opacity: 0; transform: translate(var(--cx), var(--cy)); } to { opacity: 1; transform: none; } }
@keyframes orbit { from { transform: rotate(-12deg); } to { transform: rotate(348deg); } }
@keyframes breathe { from { transform: scale(0.94); } to { transform: scale(1.06); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes think { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   INNER PAGES: shared header menu, page heroes, about, book, contact
   ========================================================= */
.bar-end { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }
.bar-nav a[aria-current="page"] { color: var(--gold); }
.bar-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule-strong); border-radius: 6px; display: grid; place-content: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 220ms var(--ease); }
.menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(18rem, calc(100vw - 2rem)); display: grid; padding: 0.5rem; background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); transform-origin: top right; }
.menu-panel a { padding: 0.8rem 0.9rem; border-radius: 6px; text-decoration: none; font-family: var(--f-data); font-size: 0.9375rem; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--gold-soft); color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-panel { animation: menu-in 180ms var(--ease); }
}
@keyframes menu-in { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
.btn--line { border: 1px solid var(--rule-strong); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.sel { user-select: all; color: var(--ink); font-weight: 600; }
.inline { color: var(--gold); text-underline-offset: 0.2em; }

/* page hero */
.page-hero { max-width: var(--max); margin-inline: auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin) 0; }
.console--page { min-height: 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2rem, 4.5vw, 4rem) clamp(1.5rem, 3.5vw, 3.5rem); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 10% 20%; }
.console--slim { padding-block: clamp(2rem, 4vw, 3.25rem); }
.page-hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.page-hero h1 { font-size: var(--t-h1); line-height: 1; letter-spacing: -0.022em; font-weight: 720; }
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 1.5rem 2.5rem; justify-content: start; align-self: end; }
.hero-meta dt { font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-meta dd { margin-top: 0.35rem; font-family: var(--f-data); font-size: 1.0625rem; color: var(--gold); }
.hero-meta--stack { grid-template-columns: 1fr; margin-top: 2rem; }
.hero-meta--stack dd { color: var(--ink); }

/* about: mission log */
[data-ui].log { border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--bg); }
[data-ui] .log-top { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1rem; border-bottom: 1px solid var(--rule); font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
[data-ui] .log-lines { list-style: none; margin: 0; padding: 0.75rem 1rem 1rem; display: grid; gap: 0.6rem; font-family: var(--f-data); font-size: 0.8125rem; }
[data-ui] .log-lines li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.75rem; color: var(--muted); }
[data-ui] .log-lines time { color: var(--dim); }
[data-ui] .log-lines .is-gold span { color: var(--gold); }

/* about: shifts, rules, never, coverage */
.about-why { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.about-why h2, .never h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; max-width: 16ch; margin-bottom: 2.5rem; }
.shifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; position: relative; }
.shift { border: 1px solid var(--rule); border-radius: 6px; padding: 1.6rem; display: grid; gap: 0.8rem; align-content: start; transition: border-color 200ms ease, transform 220ms var(--ease); }
.shift-k { font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.shift h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
.shift p { color: var(--muted); }
.shift--gold { border-color: var(--gold); }
.shift--gold .shift-k { color: var(--gold); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rules li { border-top: 2px solid var(--gold); padding: 1.25rem 0 0.5rem; display: grid; gap: 0.5rem; }
.rules h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.rules p { color: var(--muted); max-width: 48ch; }
.never { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.never h2 { margin-bottom: 1.25rem; }
.never-copy p { color: var(--muted); max-width: 40ch; }
.never-list { border-top: 1px solid var(--rule-strong); }
.never-list li { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); font-family: var(--f-title); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 600; letter-spacing: -0.015em; }
.never-list li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(45deg, transparent 45%, var(--gold) 45%, var(--gold) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--gold) 45%, var(--gold) 55%, transparent 55%); }
.cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.cover h3 { font-family: var(--f-data); font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.9375rem; transition: border-color 160ms ease, color 160ms ease; }
.chips li:hover { border-color: var(--gold); color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-self: center; justify-self: end; }

/* forms */
.book { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; display: grid; gap: 1.25rem; }
legend { font-family: var(--f-title); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; padding: 0; margin-bottom: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field label, .field .label { font-size: 0.9375rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--dim); font-size: 0.8125rem; margin-left: 0.35rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 0.8rem 0.9rem; transition: border-color 160ms ease, background-color 160ms ease; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--gold); background: var(--panel-2); box-shadow: 0 0 0 3px var(--gold-soft); }
.err { display: none; font-size: 0.8125rem; color: #f08f6b; }
.field.is-bad .err { display: block; }
.field.is-bad input, .field.is-bad textarea { border-color: #f08f6b; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.95rem; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 0.9375rem; color: var(--muted); transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 140ms var(--ease); }
.check span::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 160ms ease; }
.check input:checked + span { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.check input:checked + span::before { background: var(--gold); }
.check input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check:active span { transform: scale(0.97); }
.form-end { display: grid; gap: 0.85rem; justify-items: start; }
.form-note { font-size: 0.875rem; color: var(--muted); max-width: 52ch; }
.form-done { border: 1px solid var(--gold); border-radius: 8px; padding: 1.75rem; display: grid; gap: 1rem; justify-items: start; margin-top: 1.5rem; }
.form-done h2 { font-size: 1.75rem; letter-spacing: -0.02em; }
.form-done p { color: var(--muted); max-width: 56ch; }
.is-sent > :not(.form-done) { display: none; }
.form-done[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .form-done:not([hidden]) { animation: drop-in 500ms var(--ease) both; opacity: 0; transform: translateY(10px); }
  .field.is-bad { animation: nudge 300ms var(--ease); }
}
@keyframes nudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }

/* book: briefing card and agenda */
.book-side { position: sticky; top: 6rem; display: grid; gap: 2rem; }
[data-ui].briefing { border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--panel); }
[data-ui] .briefing-top { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--rule); font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
[data-ui] .brief-status { color: var(--muted); transition: color 200ms ease; }
[data-ui] .brief-status.is-ready { color: var(--gold); }
[data-ui] .brief-rows { margin: 0; padding: 0.4rem 1.1rem; }
[data-ui] .brief-rows div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
[data-ui] .brief-rows div:last-child { border-bottom: 0; }
[data-ui] .brief-rows dt { font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); padding-top: 0.15rem; }
[data-ui] .brief-rows dd { margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
[data-ui] .brief-rows dd.is-empty { color: var(--dim); }
[data-ui] .brief-rows dd.is-fresh { animation: fresh 600ms var(--ease); }
[data-ui] .brief-progress { height: 3px; margin: 0 1.1rem; background: var(--rule); border-radius: 3px; overflow: hidden; }
[data-ui] .brief-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 400ms var(--ease); }
[data-ui] .brief-count { padding: 0.6rem 1.1rem 0.9rem; font-family: var(--f-data); font-size: 0.75rem; color: var(--muted); }
[data-ui] .brief-count b { color: var(--gold); font-weight: 500; }
@keyframes fresh { from { color: var(--gold); } }
.agenda h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.agenda ol { display: grid; gap: 0; position: relative; }
.agenda ol::before { content: ""; position: absolute; left: 1.7rem; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--rule-strong); }
.agenda li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding-bottom: 1.25rem; position: relative; }
.agenda time { font-family: var(--f-data); font-size: 0.75rem; color: var(--gold); background: var(--bg); position: relative; z-index: 1; padding: 0.15rem 0; justify-self: start; }
.agenda h3 { font-size: 1.0625rem; font-family: var(--f-text); font-weight: 650; }
.agenda p { font-size: 0.9375rem; color: var(--muted); }

/* contact page */
.signal { justify-self: center; position: relative; width: clamp(9rem, 16vw, 13rem); aspect-ratio: 1; display: grid; place-items: center; }
.signal i { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 50%; opacity: 0.25; }
.signal i:nth-child(2) { inset: 18%; opacity: 0.45; }
.signal i:nth-child(3) { inset: 36%; opacity: 0.7; }
.signal b { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(214, 174, 75, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  .signal i { animation: signal 3.2s var(--ease) infinite; }
  .signal i:nth-child(2) { animation-delay: 1.07s; }
  .signal i:nth-child(3) { animation-delay: 2.14s; }
}
@keyframes signal { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(1.05); opacity: 0; } }
.contact-page { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; gap: var(--section); }
.channels--page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.channels--page .ch { padding: 2rem; }
.msg-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.msg-copy h2, .mini-faq h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; margin-bottom: 1.25rem; }
.msg-copy p { color: var(--muted); max-width: 42ch; }
.msg-form { display: grid; gap: 1.25rem; }
.mini-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }

@media (max-width: 1100px) {
  .console--page, .book, .msg-wrap, .never, .mini-faq { grid-template-columns: minmax(0, 1fr); }
  .book-side { position: static; }
  .shifts { grid-template-columns: minmax(0, 1fr); }
  .cta-row { justify-self: start; }
  .signal { display: none; }
}
@media (max-width: 760px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .rules, .cover, .field-row, .channels--page { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   INNER PAGE MOTION
   ========================================================= */
.rules li { border-top: 0; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  /* page hero entrance, after the headline words */
  .js .page-hero .hero-sub { opacity: 0; transform: translateY(12px); animation: drop-in 800ms var(--ease) 650ms forwards; }
  .js .page-hero-copy .btn { opacity: 0; transform: translateY(12px) scale(0.97); animation: drop-in 700ms var(--ease) 800ms forwards; }
  .js .page-hero .hero-meta > div { opacity: 0; transform: translateY(10px); animation: drop-in 600ms var(--ease) forwards; }
  .js .page-hero .hero-meta > div:nth-child(1) { animation-delay: 900ms; }
  .js .page-hero .hero-meta > div:nth-child(2) { animation-delay: 980ms; }
  .js .page-hero .hero-meta > div:nth-child(3) { animation-delay: 1060ms; }
  .js .page-hero .log { opacity: 0; transform: translateY(16px) scale(0.98); animation: drop-in 800ms var(--ease) 450ms forwards; }
  .js .page-hero .signal { opacity: 0; transform: scale(0.9); animation: drop-in 900ms var(--ease) 500ms forwards; }
  .js .console--page { background-size: 10% 20%; animation: grid-in 1400ms ease 200ms both; }

  /* about: rule lines draw across, X marks spin in */
  .js .rules li.reveal::before, .js .rules li:not(.is-in)::before { transform: scaleX(0); }
  .js .rules li::before { transition: transform 900ms var(--ease) 150ms; }
  .js .rules li.is-in::before { transform: scaleX(1); }
  .js .never-list li::before { transition: transform 600ms var(--ease) 200ms, opacity 400ms ease 200ms; }
  .js .never-list li.reveal:not(.is-in)::before { transform: rotate(-90deg) scale(0.4); opacity: 0; }
  .js .shift--gold.is-in { animation: glow-border 1600ms var(--ease) 600ms both; }

  /* book: agenda line draws down, times pop in */
  .js .agenda ol::before { transform-origin: top; transform: scaleY(0); transition: transform 1400ms var(--ease-in-out) 200ms; }
  .js .agenda.is-in ol::before { transform: none; }

  /* chips cascade */
  .js .chips li.reveal { transition-delay: calc(var(--i, 0) * 45ms); }
}
@keyframes grid-in { from { background-size: 10% 0, 0 20%; } to { background-size: 10% 20%, 10% 20%; } }
@keyframes glow-border { 0% { border-color: var(--rule); } 50% { border-color: var(--gold-hi); } 100% { border-color: var(--gold); } }

/* =========================================================
   HOME: SEO vs AEO, program deep-dive, example mission,
   prompts we track, who it is for, every month
   ========================================================= */
.versus, .programs-detail, .prompts, .fit { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
:is(.versus-head, .prompts-head) h2, .programs-detail > h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; }

/* SEO vs AEO */
.versus { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.versus-head { display: grid; gap: 1.25rem; position: sticky; top: 6.5rem; }
.versus-head h2 { max-width: 13ch; }
.versus-head p { color: var(--muted); max-width: 40ch; }
.versus-table { border-top: 1px solid var(--rule-strong); }
.vt-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.25fr); border-bottom: 1px solid var(--rule); }
.vt-row > * { padding: 1.15rem 1.25rem 1.15rem 0; }
.vt-row > :last-child { padding-left: 1.25rem; border-left: 1px solid var(--rule-strong); color: var(--ink); font-weight: 500; position: relative; }
.vt-row > :nth-child(2) { color: var(--muted); }
.vt-row [role="rowheader"] { font-family: var(--f-data); font-size: 0.8125rem; color: var(--dim); letter-spacing: 0.04em; text-transform: uppercase; padding-top: 1.3rem; }
.vt-head > * { font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400 !important; }
.vt-head .vt-gold { color: var(--gold); }
.vt-row:not(.vt-head) > :last-child::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--gold); transform-origin: top; transform: scaleY(var(--fill, 1)); }

/* program deep-dive */
.programs-detail > h2 { margin-bottom: 2.25rem; }
.pd { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; }
.pd-tabs { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--rule-strong); padding: 0.75rem 0; counter-reset: pt; }
.pd-tabs button { position: relative; display: flex; gap: 1rem; align-items: baseline; text-align: left; padding: 1rem 1.5rem; font-size: 1.0625rem; font-weight: 600; color: var(--muted); counter-increment: pt; transition: color 160ms ease, background-color 160ms ease; }
.pd-tabs button::before { content: "0" counter(pt); font-family: var(--f-data); font-size: 0.8125rem; font-weight: 400; color: var(--dim); transition: color 160ms ease; }
.pd-tabs button:hover { color: var(--ink); }
.pd-tabs button[aria-selected="true"] { color: var(--ink); background: var(--gold-soft); }
.pd-tabs button[aria-selected="true"]::before { color: var(--gold); }
.pd-ind { position: absolute; left: 0; top: 0; width: 2px; height: 1px; background: var(--gold); transform-origin: 0 0; transform: translateY(var(--y, 0)) scaleY(var(--h, 0)); transition: transform 420ms var(--ease); pointer-events: none; }
.pd-panels { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--panel); min-height: 24rem; }
.pd-panel { display: grid; gap: 1.25rem; align-content: start; }
.pd-panel[hidden] { display: none; }
.pd-panel h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.05; }
.pd-lead { font-size: var(--t-lead); max-width: 46ch; line-height: 1.5; }
.pd-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.pd-cols h4 { margin: 0 0 0.85rem; font-family: var(--f-data); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.pd-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.pd-cols li { position: relative; padding-left: 1.1rem; font-size: 0.9375rem; color: var(--muted); }
.pd-cols li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.5rem; height: 1.5px; background: var(--rule-strong); }

/* example mission */
.case-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.case-steps { position: relative; display: grid; }
.case-steps::before, .case-steps::after { content: ""; position: absolute; left: 0.3rem; top: 1.6rem; bottom: 1.6rem; width: 2px; }
.case-steps::before { background: var(--rule); }
.case-steps::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 700ms var(--ease-in-out); }
.case-steps li { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0 1.1rem 2rem; cursor: pointer; }
.case-steps li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--rule-strong); z-index: 1; transition: border-color 300ms ease, background-color 300ms ease, transform 300ms var(--ease); }
.case-steps li.is-past::before { border-color: var(--gold); }
.case-steps li.is-on::before { border-color: var(--gold); background: var(--gold); transform: scale(1.15); }
.case-steps time { font-family: var(--f-data); font-size: 0.875rem; color: var(--dim); padding-top: 0.2rem; transition: color 300ms ease; }
.case-steps h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.15; transition: color 300ms ease; }
.case-steps p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }
.case-steps li.is-on time { color: var(--gold); }
.case-steps li.is-gold.is-on h3 { color: var(--gold); }
[data-ui].case-meter { position: sticky; top: 6.5rem; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--panel); padding: 1.5rem; display: grid; gap: 1rem; justify-items: start; }
[data-ui] .cm-label { font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
[data-ui] .cm-value { font-family: var(--f-data); color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
[data-ui] .cm-value b { display: inline-block; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 500; letter-spacing: -0.03em; }
[data-ui] .cm-value span { margin-left: 0.4rem; font-size: 1.25rem; color: var(--muted); }
[data-ui] .cm-bars { width: 100%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
[data-ui] .cm-bars i { height: 1.35rem; border-radius: 2px; background: var(--panel-2); border: 1px solid var(--rule); transition: background-color 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
[data-ui] .cm-bars i.is-on { background: var(--gold); border-color: var(--gold); }
[data-ui] .cm-bars i.is-first { background: var(--gold-hi); border-color: var(--gold-hi); }
[data-ui] .cm-foot { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
[data-ui] .cm-week { font-family: var(--f-data); font-size: 0.9375rem; color: var(--ink); }

/* prompts we track */
.prompts-head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: end; }
.prompts-head p { color: var(--muted); max-width: 52ch; justify-self: end; }
.prompt-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 2.25rem 0 1.25rem; }
.prompt-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.prompt-filter button { font-family: var(--f-data); font-size: 0.8125rem; padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--muted); border: 1px solid var(--rule); transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease); }
.prompt-filter button:hover { color: var(--ink); border-color: var(--rule-strong); }
.prompt-filter button:active { transform: scale(0.96); }
.prompt-filter button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 500; }
.prompt-count { font-family: var(--f-data); font-size: 0.8125rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.prompt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.prompt-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid var(--rule); border-radius: 6px; padding: 0.95rem 1.1rem; transition: border-color 200ms ease, background-color 200ms ease; }
.prompt-list li[hidden] { display: none; }
.pl-q { display: flex; gap: 0.75rem; align-items: baseline; min-width: 0; }
.pl-q::before { content: "›"; font-family: var(--f-data); color: var(--gold); }
.pl-k { flex: none; font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); }

/* who it is for */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.fit-col h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.022em; font-weight: 720; margin-bottom: 1.5rem; }
.fit-list li { position: relative; padding: 1.25rem 0 1.25rem 2.5rem; border-top: 1px solid var(--rule); }
.fit-list li:last-child { border-bottom: 1px solid var(--rule); }
.fit-list li::before, .fit-list li::after { content: ""; position: absolute; }
.fit-list--yes li::before { left: 0.15rem; top: 1.45rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--gold); }
.fit-list--yes li::after { left: 0.52rem; top: 1.68rem; width: 0.3rem; height: 0.52rem; border: solid var(--gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.fit-list--no li::before, .fit-list--no li::after { left: 0.1rem; top: 2rem; width: 1.15rem; height: 1.5px; background: var(--dim); transform: rotate(45deg); }
.fit-list--no li::after { transform: rotate(-45deg); }
.fit-list h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
.fit-list p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; max-width: 50ch; }
.fit-list--no h3 { color: var(--muted); }

/* every month */
.monthly { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: m; }
.monthly li { counter-increment: m; border: 1px solid var(--rule); border-radius: 6px; padding: 1.4rem; display: grid; gap: 0.55rem; align-content: start; transition: border-color 200ms ease, background-color 200ms ease, transform 220ms var(--ease); }
.monthly li::before { content: "0" counter(m); font-family: var(--f-data); font-size: 0.875rem; color: var(--gold); margin-bottom: 0.4rem; }
.monthly h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
.monthly p { color: var(--muted); font-size: 0.9375rem; }
.monthly-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@media (hover: hover) and (pointer: fine) {
  .monthly li:hover, .prompt-list li:hover { border-color: var(--rule-strong); background: var(--panel); }
  .monthly li:hover { transform: translateY(-3px); }
  .case-steps li:hover h3 { color: var(--gold); }
}

@media (max-width: 1100px) {
  .versus, .fit { grid-template-columns: minmax(0, 1fr); }
  .versus-head { position: static; }
  .versus-head h2 { max-width: 18ch; }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--rule-strong); padding: 0 0.5rem; }
  .pd-tabs::-webkit-scrollbar { display: none; }
  .pd-tabs button { flex: none; padding: 1rem 1.1rem; font-size: 0.9375rem; white-space: nowrap; }
  .pd-ind { top: auto; bottom: 0; width: 1px; height: 2px; transform: translateX(var(--x, 0)) scaleX(var(--w, 0)); }
  .pd-panels { min-height: 0; }
  .prompts-head { grid-template-columns: minmax(0, 1fr); }
  .prompts-head p { justify-self: start; }
  .monthly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .vt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vt-row [role="rowheader"] { grid-column: 1 / -1; padding: 1rem 0 0; }
  .vt-head > :first-child { display: none; }
  .vt-row > * { padding: 0.5rem 1rem 1rem 0; font-size: 0.9375rem; }
  .vt-head > * { padding: 1rem 1rem 0.75rem 0; font-size: 0.75rem !important; }
  .vt-row > :last-child { padding-left: 1rem; }
  .pd-cols { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .case-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  [data-ui].case-meter { order: -1; top: 4.6rem; z-index: 5; padding: 1rem; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.6rem 1rem; box-shadow: 0 12px 24px rgba(9, 9, 9, 0.85); }
  [data-ui] .cm-label { grid-column: 1 / -1; }
  [data-ui] .cm-value b { font-size: 2.5rem; }
  [data-ui] .cm-value span { font-size: 1rem; }
  [data-ui] .cm-bars { gap: 3px; }
  [data-ui] .cm-bars i { height: 0.85rem; }
  [data-ui] .cm-foot { grid-column: 1 / -1; }
  .case-steps li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; padding-left: 1.9rem; }
  .prompt-list { grid-template-columns: minmax(0, 1fr); }
  .prompt-list li { padding: 0.85rem 0.95rem; font-size: 0.9375rem; }
  .monthly { grid-template-columns: minmax(0, 1fr); }
  .monthly-cta .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  /* gold column draws down when the table enters */
  .js .versus-table:not(.is-in) { --fill: 0; }
  .vt-row:not(.vt-head) > :last-child::before { transition: transform 900ms var(--ease-in-out); }
  .vt-row:nth-child(3) > :last-child::before { transition-delay: 150ms; }
  .vt-row:nth-child(4) > :last-child::before { transition-delay: 300ms; }
  .vt-row:nth-child(5) > :last-child::before { transition-delay: 450ms; }
  .vt-row:nth-child(6) > :last-child::before { transition-delay: 600ms; }
  /* program panel swap */
  .pd-panel.is-enter { animation: pd-in 420ms var(--ease); }
  .pd-panel.is-enter .pd-cols > div { animation: pd-in 520ms var(--ease) backwards; }
  .pd-panel.is-enter .pd-cols > div:nth-child(2) { animation-delay: 70ms; }
  .pd-panel.is-enter .pd-cols > div:nth-child(3) { animation-delay: 140ms; }
  /* meter cells fill in sequence */
  [data-ui] .cm-bars i.is-on { transition-delay: calc(var(--k, 0) * 22ms); }
  [data-ui] .cm-value b.is-tick { animation: tick 360ms var(--ease); }
  /* filtered prompts settle in */
  .prompt-list li.is-pop { animation: pop-in 420ms var(--ease) backwards; animation-delay: calc(var(--k, 0) * 40ms); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-ind, .case-steps::after { transition: none; }
}
@keyframes pd-in { from { opacity: 0; transform: translateX(12px); } }
@keyframes tick { from { transform: translateY(-6px); opacity: 0.4; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px); } }

/* touch: bigger targets */
@media (pointer: coarse) {
  .bar-nav a { padding-block: 0.7rem; }
  .bar-nav a::after { bottom: 0.35rem; }
  .wp button { padding: 0.45rem 0.55rem; }
}

/* =========================================================
   PHONES AND TABLETS
   ========================================================= */
@media (max-width: 1100px) {
  /* the stage track only reads in a single row of four */
  .stages { padding-top: 0; }
  .stages::before, .stages::after, .stage::before { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  :root { --section: 4rem; }
  .monthly li, .stage { padding: 1.25rem; }
  /* routing: hub on top, sources and engines side by side */
  .routing { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
  .r-core { grid-column: 1 / -1; order: -1; }
  .r-hub { max-width: 32rem; width: 100%; }
}
@media (max-width: 760px) {
  :root { --section: 3.5rem; }
  .panel-head { margin-bottom: 1.5rem; }

  /* swipe rows: stages and monthly deliverables */
  .stages, .monthly { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)); padding-inline: clamp(1.5rem, 3vw, 2.25rem); scroll-padding-inline: clamp(1.5rem, 3vw, 2.25rem); }
  .stages::-webkit-scrollbar, .monthly::-webkit-scrollbar { display: none; }
  .stages > li, .monthly > li { scroll-snap-align: start; }
  .stages { padding-top: 0; }
  .stages::before, .stages::after, .stage::before { display: none; }


  /* routing: engines two by two */
  .r-engines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .r-sources { gap: 0.5rem; }
  .r-sources li, .r-engines li { padding: 0.75rem 0.85rem; }

  /* hero telemetry: named-in on its own row, engines two by two */
  .tm-cell:nth-child(2) { grid-column: 1 / -1; }
  .telemetry > div:nth-child(odd):not(:first-child) { border-left: 0; }
  .telemetry > div:nth-child(4), .telemetry > div:nth-child(6) { border-left: 1px solid var(--rule-strong); }
  .telemetry > div:nth-child(2) { border-left: 0; }

  /* contact channels: compact rows */
  .ch { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: 0.15rem; padding: 1.1rem 1.15rem; }
  .ch svg { grid-row: 1 / span 3; margin: 0.2rem 0 0; }
  .ch-value { margin-top: 0.45rem; }
  .sel, .ch-value { white-space: nowrap; }
  .hero-meta--stack { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

  /* forms: 16px inputs stop iOS from zooming */
  .field input:not([type="checkbox"]):not([type="radio"]), .field textarea { font-size: 16px; }
  .form-end .btn, .msg-form .btn { width: 100%; justify-content: center; }
}
.swipe-hint { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem; font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); }
.swipe-hint b { font-weight: 400; color: var(--gold); font-variant-numeric: tabular-nums; }
.swipe-dots { display: flex; gap: 5px; margin-left: auto; }
.swipe-dots i { width: 14px; height: 2px; border-radius: 2px; background: var(--rule-strong); transition: background-color 200ms ease, transform 200ms var(--ease); transform-origin: left; }
.swipe-dots i.is-on { background: var(--gold); transform: scaleX(1.6); }
@media (min-width: 761px) { .swipe-hint { display: none; } }

/* =========================================================
   ABOUT: launch panel with a rocket
   ========================================================= */
.console--launch { align-items: center; }
.launch-copy { display: grid; gap: 2rem; justify-items: start; }
.launch-copy .cta-row { justify-self: start; }
.launch { width: 100%; max-width: 30rem; justify-self: end; }
.launch-svg { width: 100%; height: auto; overflow: hidden; font-family: var(--f-data); }
.rk-grid line { stroke: var(--grid); stroke-width: 1; }
.rk-ground { stroke: var(--rule-strong); stroke-width: 1.25; }
.rk-tower path { fill: none; stroke: var(--rule-strong); stroke-width: 1.5; stroke-linecap: round; }
.rk-arm { fill: none; stroke: var(--rule-strong); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: left center; transition: transform 500ms var(--ease); }
.rk-ghost { fill: none; stroke: rgba(214, 174, 75, 0.22); stroke-width: 1.5; stroke-dasharray: 3 6; }
.rk-trail { fill: none; stroke: var(--gold); stroke-width: 2.25; stroke-linecap: round; transition: opacity 600ms ease; }
.rk-target circle { fill: none; stroke: var(--gold); stroke-width: 1; }
.rk-target circle:first-child { opacity: 0.4; stroke-dasharray: 2 4; }
.rk-target circle:nth-child(2) { opacity: 0.7; }
.rk-target .rk-dot { fill: var(--gold); stroke: none; opacity: 0.35; transition: opacity 300ms ease; }
.rk-target { transform-box: fill-box; transform-origin: center; }
.rk-label { fill: var(--gold); font-size: 11px; letter-spacing: 0.04em; }
.rk-status { fill: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.rk-puffs circle { fill: none; stroke: var(--muted); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rk-body { fill: var(--panel-2); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.rk-nose { fill: var(--gold); }
.rk-fin { fill: var(--gold); opacity: 0.85; }
.rk-window { fill: var(--bg); stroke: var(--gold); stroke-width: 1.5; }
.rk-nozzle { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.rk-flame { transform-box: fill-box; transform-origin: right center; transform: scale(0); transition: transform 260ms var(--ease); }
.rk-flame .f1 { fill: var(--gold); }
.rk-flame .f2 { fill: #fff3d1; }
.rk { transition: opacity 500ms ease; }
.launch.is-lit .rk-flame { transform: none; }
.launch.is-lit .rk-arm { transform: rotate(-60deg); }
.launch.is-docked .rk-dot { opacity: 1; }
.launch.is-docked .rk-label { fill: var(--gold-hi); }
.launch.is-gone .rk { opacity: 0; }
.launch.is-fade .rk-trail { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .launch.is-lit .rk-flame .f1 { animation: flicker 140ms steps(2) infinite alternate; transform-box: fill-box; transform-origin: right center; }
  .launch.is-lit .rk-flame .f2 { animation: flicker 110ms steps(2) infinite alternate-reverse; transform-box: fill-box; transform-origin: right center; }
  .launch.is-ignite .rk-shake { animation: shake 90ms linear infinite; }
  .launch.is-ignite .rk-puffs circle { animation: puff 1.6s var(--ease) forwards; }
  .launch.is-ignite .rk-puffs circle:nth-child(2) { animation-delay: 120ms; }
  .launch.is-ignite .rk-puffs circle:nth-child(3) { animation-delay: 240ms; }
  .launch.is-ignite .rk-puffs circle:nth-child(4) { animation-delay: 360ms; }
  .launch.is-docked .rk-target { animation: dock 700ms var(--ease); }
}
@keyframes flicker { from { transform: scale(0.82, 0.9); } to { transform: scale(1.12, 1.05); } }
@keyframes shake { 0% { transform: translate(0, 0); } 25% { transform: translate(0.6px, -0.5px); } 50% { transform: translate(-0.5px, 0.6px); } 75% { transform: translate(0.5px, 0.4px); } 100% { transform: translate(0, 0); } }
@keyframes puff { 0% { opacity: 0.7; transform: translateX(0) scale(0.3); } 100% { opacity: 0; transform: translateX(var(--dx)) scale(1.8); } }
@keyframes dock { 40% { transform: scale(1.25); } }
@media (min-width: 761px) {
  .console--small.console--launch { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
@media (max-width: 760px) {
  .launch { justify-self: center; max-width: 24rem; margin-top: 0.5rem; }
}
.nowrap { white-space: nowrap; }

/* =========================================================
   HOME: case studies (demo customers)
   ========================================================= */
.cases { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.cases-head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.cases-head h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; }
.cases-head p { color: var(--muted); max-width: 54ch; justify-self: end; }
.cases-head .note { display: block; margin-top: 0.5rem; }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; row-gap: 0; }
.cs { display: grid; grid-row: span 7; grid-template-rows: subgrid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--panel); transition: border-color 200ms ease, transform 220ms var(--ease); }
.cs-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cs-logo { color: var(--ink); text-align: left; }
.cs-cat { font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); letter-spacing: 0.04em; text-transform: uppercase; }
.cs h3 { font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.02em; }
.cs-metric { align-self: end; }
.cs-metric p:first-child { font-family: var(--f-data); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.cs-metric b { font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem); font-weight: 500; letter-spacing: -0.03em; }
.cs-metric span { margin-left: 0.4rem; font-size: 1.125rem; color: var(--muted); }
.cs-sub { margin-top: 0.4rem; font-size: 0.875rem; color: var(--muted); }
.cs-spark { width: 100%; height: auto; overflow: visible; }
.cs-spark .sp-base { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cs-spark .sp-area { fill: url(#sp-fade); }
.cs-spark .sp-line { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.cs-stats > div { padding: 0.8rem 0.75rem 0.8rem 0; }
.cs-stats > div + div { padding-left: 0.75rem; border-left: 1px solid var(--rule); }
.cs-stats dt { font-family: var(--f-data); font-size: 0.6875rem; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.cs-stats dd { margin: 0.3rem 0 0; font-family: var(--f-data); font-size: 0.9375rem; color: var(--ink); }
.cs-moved { font-size: 0.875rem; color: var(--muted); }
.cs-moved span { display: block; margin-bottom: 0.3rem; font-family: var(--f-data); font-size: 0.6875rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .cs:hover { border-color: var(--gold); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .cs .sp-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-in-out) 250ms; }
  .js .cs .sp-area { opacity: 0; transition: opacity 800ms ease 1100ms; }
  .js .cs .sp-end { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 300ms ease 1500ms, transform 400ms var(--ease) 1500ms; }
  .js .cs.is-live .sp-line { stroke-dashoffset: 0; }
  .js .cs.is-live .sp-area { opacity: 1; }
  .js .cs.is-live .sp-end { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
  .cases-head { grid-template-columns: minmax(0, 1fr); }
  .cases-head p { justify-self: start; }
  .cases-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .cs { grid-row: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; column-gap: 2rem; }
  .cs > .cs-top, .cs > .cs-cat, .cs > h3 { grid-column: 1; }
  .cs > .cs-metric { grid-column: 2; grid-row: 1 / span 2; }
  .cs > .cs-spark { grid-column: 2; grid-row: 3; align-self: end; }
  .cs > .cs-stats, .cs > .cs-moved { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cases-grid { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin); }
  .cases-grid::-webkit-scrollbar { display: none; }
  .cs { scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .cs > * { grid-column: 1 !important; grid-row: auto !important; }
  .cs h3 { font-size: 1.3rem; }
}

/* =========================================================
   BACKGROUND IMAGES (black and white, generated for LeadAIO)
   ========================================================= */
.bg-terrain { --bg-img: url("../img/bg-terrain.webp"); }
.bg-network { --bg-img: url("../img/bg-network.webp"); }
.bg-circuit { --bg-img: url("../img/bg-circuit.webp"); }
.bg-servers { --bg-img: url("../img/bg-servers.webp"); }
.bg-globe { --bg-img: url("../img/bg-globe.webp"); --band-pos: right center; --band-o: 0.42; }
.bg-contours { --bg-img: url("../img/bg-contours.webp"); --band-pos: center 30%; --band-o: 0.4; }
.bg-grid { --bg-img: url("../img/bg-grid.webp"); --band-pos: center 75%; }
.bg-rain { --bg-img: url("../img/bg-rain.webp"); --band-pos: right center; }
.bg-ascent { --bg-img: url("../img/bg-ascent.webp"); --band-pos: center 40%; --band-o: 0.42; }

/* inside a console frame: image behind everything, faded out under the copy */
.has-bg { isolation: isolate; }
.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--bg-img) var(--bg-pos, right center) / cover no-repeat; opacity: var(--bg-o, 0.9); -webkit-mask-image: var(--bg-mask, linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 65%)); mask-image: var(--bg-mask, linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 65%)); }
.console.has-bg { overflow: hidden; }
.hero .console.has-bg { overflow: visible; }
.hero .has-bg::after { --bg-pos: right bottom; opacity: 1; }
.console--small.has-bg::after { --bg-mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 35%, #000 75%); opacity: 0.85; }

/* full-bleed band behind a section */
.band { position: relative; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: calc(-0.75 * var(--section)); bottom: calc(-0.75 * var(--section)); left: calc(50% - 50vw); width: 100vw; background: var(--bg-img) var(--band-pos, center) / cover no-repeat; opacity: calc(var(--band-o, 0.7) * var(--band-k, 1)); -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }

@media (max-width: 900px) {
  /* stacked hero: image sits under the flight path, copy stays clean */
  .hero .has-bg::after { --bg-mask: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 35%, #000 70%); --bg-pos: center bottom; }
  .console--page.has-bg::after { --bg-mask: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 45%, #000 100%); --bg-pos: center; opacity: 0.75; }
  .console--small.has-bg::after { --bg-mask: linear-gradient(180deg, rgba(0, 0, 0, 0.15), #000 80%); opacity: 0.6; }
}
/* circuit: mirror so the chip sits on the right, away from the copy */
.bg-circuit.has-bg::after { transform: scaleX(-1); --bg-pos: left center; --bg-mask: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.2) 35%, #000 75%); opacity: 0.6; }
@media (max-width: 900px) {
  .console--page.bg-circuit.has-bg::after { opacity: 0.38; }
}
@media (prefers-reduced-motion: no-preference) {
  /* top-of-page backgrounds show at once (they are the largest element); lower ones fade in */
  .js .console--small.has-bg::after, .js .band::before { animation: bg-in 1800ms ease 150ms backwards; }
}
@keyframes bg-in { from { opacity: 0; } }

/* =========================================================
   CLOSING BACKGROUND: an image behind the last section of each page
   ========================================================= */
.bg-orbit { --bg-img: url("../img/bg-orbit.webp"); --pf-pos: center bottom; }
.bg-trail { --bg-img: url("../img/bg-trail.webp"); --pf-pos: center 75%; }
.bg-streams { --bg-img: url("../img/bg-streams.webp"); --pf-pos: center 78%; }
.bg-fiber { --bg-img: url("../img/bg-fiber.webp"); --pf-pos: center bottom; }
/* zero-height anchor between the content and the footer; the image reaches up behind the content */
.pre-foot { position: relative; height: 0; pointer-events: none; overflow-x: clip; }
.pre-foot i { position: absolute; z-index: -1; left: 0; right: 0; bottom: calc(-1 * var(--section)); height: clamp(32rem, 58vw, 48rem); background: var(--bg-img) var(--pf-pos, center) / cover no-repeat; opacity: 0.6; transform-origin: center bottom; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 30%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 30%, #000 60%); }
@media (max-width: 760px) {
  .pre-foot i { height: 34rem; opacity: 0.5; }
  .bg-orbit { --pf-pos: center calc(100% + 4.5rem); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* slow drift as the end of the page comes into view */
    .pre-foot i { animation: pf-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes pf-drift { from { transform: translateY(6%) scale(1.06); } to { transform: none; } }

/* mid-page bands: a little quieter on phones, where text sits over more of the image */
@media (max-width: 760px) {
  .band { --band-k: 0.7; }
}

/* =========================================================
   HERO: AI engines we get brands cited in
   ========================================================= */
.engines-row { display: grid; gap: 0.9rem; margin-top: 0.4rem; }
.er-h { font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.er-list { display: flex; flex-wrap: wrap; gap: 0.9rem 1.1rem; }
.er-list li { display: grid; justify-items: center; gap: 0.45rem; }
.er-ic { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--panel); color: var(--ink); transition: border-color 200ms ease, color 200ms ease, transform 220ms var(--ease); }
.er-ic svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }
.er-ic .er-stroke { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.er-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; transform: scale(0.92); pointer-events: none; }
.er-n { font-family: var(--f-data); font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.02em; }
@media (hover: hover) and (pointer: fine) {
  .er-list li:hover .er-ic { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
  .er-list li:hover .er-n { color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  /* arrive one by one after the subtitle */
  .js .er-h { opacity: 0; animation: fade-in 600ms ease 950ms forwards; }
  .js .er-list li { opacity: 0; transform: translateY(10px) scale(0.92); animation: drop-in 600ms var(--ease) forwards; }
  .js .er-list li:nth-child(1) { animation-delay: 1000ms; }
  .js .er-list li:nth-child(2) { animation-delay: 1070ms; }
  .js .er-list li:nth-child(3) { animation-delay: 1140ms; }
  .js .er-list li:nth-child(4) { animation-delay: 1210ms; }
  .js .er-list li:nth-child(5) { animation-delay: 1280ms; }
  /* then a gold "cited" ring passes from engine to engine */
  .er-list li .er-ic::after { animation: cited 7.5s var(--ease) infinite; }
  .er-list li:nth-child(1) .er-ic::after { animation-delay: 2s; }
  .er-list li:nth-child(2) .er-ic::after { animation-delay: 3.5s; }
  .er-list li:nth-child(3) .er-ic::after { animation-delay: 5s; }
  .er-list li:nth-child(4) .er-ic::after { animation-delay: 6.5s; }
  .er-list li:nth-child(5) .er-ic::after { animation-delay: 8s; }
}
@keyframes cited { 0% { opacity: 0; transform: scale(0.92); } 6% { opacity: 1; transform: scale(1); } 16% { opacity: 0; transform: scale(1.18); } 100% { opacity: 0; transform: scale(1.18); } }
@media (max-width: 760px) {
  .er-list { gap: 0.75rem; justify-content: space-between; }
  .er-ic { width: 2.9rem; height: 2.9rem; }
  .er-ic svg { width: 1.3rem; height: 1.3rem; }
}
/* the engines row needs room: the flight path runs below it */
@media (min-width: 901px) {
  .hero .console { min-height: clamp(39rem, 72svh, 42rem); }
}
@media (min-width: 1101px) {
  .wp--named button { left: auto; right: 44px; top: -84px; text-align: right; }
}

/* =========================================================
   HOME: be where AI knowledge is sourced (three pillars)
   ========================================================= */
.sourced { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.sourced-head { display: grid; gap: 1rem; margin-bottom: 2.25rem; max-width: 64rem; }
.sourced-head h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; }
.sourced-head p { color: var(--muted); max-width: 62ch; font-size: var(--t-lead); line-height: 1.5; }
.sourced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sc { position: relative; display: grid; align-content: start; gap: 0.75rem; min-height: 21rem; padding: clamp(1.5rem, 2.4vw, 2rem); border-radius: 12px; border: 1px solid var(--rule-strong); background: var(--panel); transition: transform 240ms var(--ease), border-color 200ms ease, background-color 200ms ease; }
.sc h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.05; letter-spacing: -0.022em; font-weight: 720; max-width: 12ch; margin-bottom: 0.75rem; min-height: 2.1em; }
.sc p:last-child { color: var(--muted); max-width: 38ch; }
.sc-k { font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-top: 1.75rem; }
.sc-ic { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--gold); color: var(--on-gold); }
.sc-ic svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.sc-spark { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; }
/* the middle card: dark, framed in gold */
.sc--framed { border-color: var(--gold); background: var(--panel-2); }
.sc--framed .sc-ic { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .sc:hover { transform: translateY(-4px); }
  .sc--framed:hover { border-color: var(--gold-hi); }
}
@media (prefers-reduced-motion: no-preference) {
  /* icons come alive when the card arrives */
  .js .sc .sc-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-in-out) 350ms; }
  .js .sc.is-in .sc-draw { stroke-dashoffset: 0; }
  .js .sc .sc-spark { opacity: 0; transform: scale(0.3); transition: opacity 400ms ease, transform 600ms var(--ease); }
  .js .sc.is-in .sc-spark { opacity: 1; transform: none; }
  .js .sc.is-in .s1 { transition-delay: 350ms; }
  .js .sc.is-in .s2 { transition-delay: 500ms; }
  .js .sc.is-in .s3 { transition-delay: 650ms; }
  /* sparkles keep twinkling */
  .sc .s2 { animation: twinkle 2.8s var(--ease-in-out) 1.6s infinite; }
  .sc .s3 { animation: twinkle 2.8s var(--ease-in-out) 2.3s infinite; }
  @media (hover: hover) and (pointer: fine) {
    .sc-star { transform-box: fill-box; transform-origin: center; transition: transform 500ms var(--ease); }
    .sc:hover .sc-star { transform: rotate(72deg); }
  }
}
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.55); opacity: 0.55; } }
@media (max-width: 1000px) {
  .sourced-grid { grid-template-columns: minmax(0, 1fr); }
  .sc { min-height: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; }
  .sc > :not(.sc-ic) { grid-column: 2; }
  .sc-ic { grid-row: 1 / span 4; }
  .sc-k { margin-top: 0.2rem; }
  .sc h3 { max-width: none; min-height: 0; }
}
@media (max-width: 520px) {
  .sc { grid-template-columns: minmax(0, 1fr); }
  .sc > * { grid-column: 1 !important; grid-row: auto !important; }
  .sc-k { margin-top: 1rem; }
}

/* =========================================================
   HOME: "where AI can see it" radar console
   ========================================================= */
.showcase { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.vz-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.vz-intro { display: grid; gap: 1rem; }
.vz-k { font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.vz-intro h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; max-width: 18ch; }
.vz-aside { display: grid; gap: 1.25rem; justify-items: start; }
.vz-aside p { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }

.console.vz { min-height: 0; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy radar" "read read"; gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.75rem, 4vw, 3.5rem); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 8.333% 12.5%; }
.vz-copy { grid-area: copy; display: grid; gap: 1.25rem; }
.vz-label { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vz-label i { width: 0.5rem; height: 0.5rem; background: var(--gold); transform: rotate(45deg); }
.vz-copy h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.05; letter-spacing: -0.022em; font-weight: 720; }
.vz-copy > p:not(.vz-label) { color: var(--muted); max-width: 52ch; }
.vz-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; margin-top: 0.5rem; }
.vz-caps li { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem; padding: 0.95rem 0; font-size: 0.9375rem; }
.vz-caps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-strong); }
.vz-caps li::after { content: ""; position: absolute; left: 0; top: 0; width: 2rem; height: 1px; background: var(--gold); transform-origin: left; }
.vz-i { font-family: var(--f-data); font-size: 0.8125rem; color: var(--gold); padding-top: 0.1rem; }

/* radar scope */
[data-ui].radar { grid-area: radar; position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1; justify-self: center; }
.rd-grid { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rd-grid circle, .rd-grid line { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.rd-grid line { vector-effect: non-scaling-stroke; }
.rd-grid circle:first-child { stroke: var(--gold); stroke-opacity: 0.55; }
.rd-grid .rd-diag { stroke: var(--rule); stroke-dasharray: 3 6; }
.rd-sweep { position: absolute; inset: 2.5%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, rgba(214, 174, 75, 0.06) 310deg, rgba(214, 174, 75, 0.32) 358deg, rgba(247, 210, 122, 0.95) 359.5deg, transparent 360deg); }
.rd-core { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.rd-core i { position: absolute; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(214, 174, 75, 0.16); }
.rd-core span { position: absolute; left: 0; top: 16px; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-data); font-size: 0.75rem; color: var(--gold); background: var(--bg); padding: 0.1rem 0.4rem; border: 1px solid var(--rule-strong); border-radius: 4px; }
.rd-blip { position: absolute; width: 0; height: 0; }
.rd-ic { position: absolute; width: 2.5rem; height: 2.5rem; margin: -1.25rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--panel); color: var(--muted); }
.rd-ic svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.rd-ic .er-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rd-ic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.rd-n { position: absolute; top: 1.55rem; white-space: nowrap; font-family: var(--f-data); font-size: 0.6875rem; color: var(--dim); transform: translateX(-50%); }
.rd-read { position: absolute; font-family: var(--f-data); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--dim); }
.rd-read b { font-weight: 400; color: var(--gold); font-variant-numeric: tabular-nums; }
.rd-read--tl { left: 0; top: 0; }
.rd-read--br { right: 0; bottom: 0; }

/* readout strip */
[data-ui].vz-read { grid-area: read; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; border: 1px solid var(--rule-strong); border-radius: 6px; padding: 1.2rem 0; background: rgba(9, 9, 9, 0.6); }
.vz-read > div { padding: 0 1.5rem; border-left: 1px solid var(--rule-strong); }
.vz-read > div:first-child { border-left: 0; }
.vz-read dt { font-family: var(--f-data); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.vz-read dd { margin: 0.5rem 0 0; font-family: var(--f-data); color: var(--gold); font-variant-numeric: tabular-nums; }
.vz-read dd b { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); font-weight: 500; letter-spacing: -0.02em; }
.vz-read dd span { margin-left: 0.35rem; color: var(--muted); font-size: 0.9375rem; }
.vz-read .vz-tag { display: grid; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
  /* the beam turns; each engine lights up as it passes */
  .rd-sweep { animation: rd-turn 6s linear infinite; }
  .rd-blip .rd-ic { animation: rd-hit 6s linear infinite; animation-delay: var(--d); }
  .rd-blip .rd-ic::after { animation: rd-ring 6s var(--ease) infinite; animation-delay: var(--d); }
  .rd-core i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
  .radar.is-paused .rd-sweep, .radar.is-paused .rd-ic, .radar.is-paused .rd-ic::after, .radar.is-paused .rd-core i::after { animation-play-state: paused; }
  /* rings draw when the console arrives */
  .js .radar .rd-grid circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-in-out); }
  .js .radar .rd-grid circle:nth-child(2) { transition-delay: 120ms; } .js .radar .rd-grid circle:nth-child(3) { transition-delay: 240ms; } .js .radar .rd-grid circle:nth-child(4) { transition-delay: 360ms; }
  .js .radar.is-live .rd-grid circle { stroke-dashoffset: 0; }
  .js .radar .rd-blip { opacity: 0; transform: scale(0.6); transition: opacity 400ms ease, transform 600ms var(--ease); }
  .js .radar.is-live .rd-blip { opacity: 1; transform: none; }
  .js .radar.is-live .rd-blip:nth-of-type(2) { transition-delay: 500ms; } .js .radar.is-live .rd-blip:nth-of-type(3) { transition-delay: 600ms; }
  .js .radar.is-live .rd-blip:nth-of-type(4) { transition-delay: 700ms; } .js .radar.is-live .rd-blip:nth-of-type(5) { transition-delay: 800ms; } .js .radar.is-live .rd-blip:nth-of-type(6) { transition-delay: 900ms; }
  /* each capability's gold index rule draws in */
  .js .vz-caps li.reveal::after { transform: scaleX(0); transition: transform 700ms var(--ease) 250ms; }
  .js .vz-caps li.reveal.is-in::after { transform: none; }
}
@keyframes rd-turn { to { transform: rotate(360deg); } }
@keyframes rd-hit { 0% { color: var(--gold); border-color: var(--gold); } 22% { color: var(--muted); border-color: var(--rule-strong); } 100% { color: var(--muted); border-color: var(--rule-strong); } }
@keyframes rd-ring { 0% { opacity: 1; transform: scale(1); } 18% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) {
  .rd-sweep { transform: rotate(120deg); }
  .rd-blip:nth-of-type(3) .rd-ic { color: var(--gold); border-color: var(--gold); }
}
@media (max-width: 1100px) {
  .vz-top { grid-template-columns: minmax(0, 1fr); }
  .console.vz { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "radar" "read"; }
  [data-ui].vz-read { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .vz-read > div:nth-child(3) { border-left: 0; }
  .vz-read .vz-tag { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 760px) {
  .vz-caps { grid-template-columns: minmax(0, 1fr); }
  [data-ui].radar { max-width: 22rem; }
  .rd-ic { width: 2.1rem; height: 2.1rem; margin: -1.05rem; }
  .rd-ic svg { width: 0.95rem; height: 0.95rem; }
  .rd-n { top: 1.35rem; font-size: 0.625rem; }
  .vz-read > div { padding: 0 1rem; }
}
.gold { color: var(--gold); }

/* =========================================================
   HOME: testimonials wall (demo quotes)
   ========================================================= */
.winning { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.win-copy { display: grid; gap: 1.5rem; justify-items: start; }
.win-copy h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; max-width: 12ch; }
.win-copy > p:not(.note) { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.win-wall { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; height: clamp(34rem, 60vw, 42rem); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
.win-col { display: grid; gap: 1rem; align-content: start; }
.tq figure { margin: 0; display: grid; gap: 1rem; padding: 1.6rem; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--panel); transition: border-color 200ms ease; }
.tq-stars { display: flex; gap: 0.3rem; color: var(--gold); }
.tq-stars svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.tq blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.tq figcaption { font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); }
.tq figcaption span { color: var(--dim); }
@media (hover: hover) and (pointer: fine) {
  .tq figure:hover { border-color: var(--gold); }
  .win-wall:hover .win-col { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) {
  /* each column scrolls forever: the list is doubled in script, so -50% lands on the same frame */
  .win-col.is-loop { animation: win-up 46s linear infinite; }
  .win-col--down.is-loop { animation: win-down 52s linear infinite; }
  .win-wall.is-paused .win-col { animation-play-state: paused; }
}
@keyframes win-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 0.5rem)); } }
@keyframes win-down { from { transform: translateY(calc(-50% - 0.5rem)); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .win-wall { height: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 1100px) {
  .winning { grid-template-columns: minmax(0, 1fr); }
  .win-copy h2 { max-width: none; }
}
@media (max-width: 760px) {
  /* phones: one column of cards, still drifting */
  .win-wall { grid-template-columns: minmax(0, 1fr); height: 34rem; }
  .win-col--down { display: none; }
  .win-col .tq-extra { display: block; }
}

/* =========================================================
   HOME: AI search is already here (industry stats, sourced)
   ========================================================= */
.stats { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.stats h2 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 720; max-width: 18ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.st-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); }
.st { display: grid; gap: 0.9rem; align-content: start; position: relative; padding-top: 1.5rem; }
.st::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-strong); }
.st::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; }
.st-n { font-family: var(--f-title); font-weight: 220; font-stretch: 85%; font-size: clamp(4.5rem, 2.6rem + 6vw, 8.5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-n span { color: var(--gold); }
.st-l { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.38; font-weight: 500; max-width: 22ch; }
.st-l mark { color: var(--ink); background: none; padding: 0; }
.st-s { font-family: var(--f-data); font-size: 0.75rem; color: var(--dim); }
.st-s a { color: var(--muted); text-underline-offset: 0.2em; }
.st-s a:hover { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  /* gold rule draws, the number counts up, then the label rises in */
  .js .st:not(.is-live)::after { transform: scaleX(0); }
  .js .st::after { transition: transform 900ms var(--ease-in-out) calc(var(--k, 0) * 150ms); }
  .js .st .st-l { transition: opacity 700ms ease calc(600ms + var(--k, 0) * 150ms), transform 800ms var(--ease) calc(600ms + var(--k, 0) * 150ms); }
  .js .st:not(.is-live) .st-l { opacity: 0; transform: translateY(10px); }
  .js .st .st-n, .js .st .st-s { transition: opacity 600ms ease, transform 800ms var(--ease); transition-delay: calc(var(--k, 0) * 150ms); }
  .js .st:not(.is-live) .st-n { opacity: 0; transform: translateY(14px); }
  .js .st:not(.is-live) .st-s { opacity: 0; }
  .js .st .st-s { transition-delay: calc(1400ms + var(--k, 0) * 150ms); }
}
@media (max-width: 900px) {
  .st-list { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .st-l { max-width: 30ch; }
}

/* =========================================================
   AI OPTIMIZATION PAGE (aio.html)
   ========================================================= */
.ai-sec { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.ai-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 60rem; }
.ai-head h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; }
.ai-slash { color: var(--gold); font-weight: 300; }
.ai-banner { margin-top: clamp(1.5rem, 3vw, 2.25rem); padding: 1.1rem 1.4rem; border: 1px solid var(--rule-strong); border-left: 2px solid var(--gold); border-radius: 6px; background: rgba(9, 9, 9, 0.7); font-size: var(--t-lead); line-height: 1.5; max-width: 62rem; }
.ai-pill { margin: clamp(1.5rem, 3vw, 2.25rem) auto 0; width: fit-content; font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 0.6rem 1.2rem; background: rgba(9, 9, 9, 0.7); text-align: center; }
.page-hero-copy .vz-k { margin-bottom: -0.5rem; }

/* then / now */
.ai-shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.ash { border: 1px solid var(--rule-strong); border-radius: 10px; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--panel); display: grid; gap: 1.25rem; align-content: start; }
.ash--now { border-color: var(--gold); background: var(--panel-2); }
.ash-k { font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ash--now .ash-k { color: var(--gold); }
.ash-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.serp { border: 1px solid var(--rule); border-radius: 8px; padding: 0.75rem; background: var(--bg); }
.serp-bar { display: block; height: 0.9rem; border-radius: 999px; border: 1px solid var(--rule); margin-bottom: 0.6rem; }
.serp ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.38rem; }
.serp li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.4rem; align-items: center; }
.serp i { font-style: normal; font-family: var(--f-data); font-size: 0.625rem; color: var(--dim); }
.serp b { height: 4px; border-radius: 4px; background: var(--rule-strong); transform-origin: left; }
.serp li:nth-child(odd) b { width: 86%; } .serp li:nth-child(even) b { width: 64%; }
.ash-list { display: grid; gap: 0.75rem; font-size: 1rem; }
.ash-list li { display: flex; gap: 0.6rem; align-items: center; color: var(--muted); }
.ash-list li::before { content: ""; width: 0.45rem; height: 0.45rem; border: 1px solid var(--dim); border-radius: 50%; flex: none; }
.ash-list--now li { color: var(--ink); }
.ash-list--now li::before { background: var(--gold); border-color: var(--gold); }
.ash-arrow { display: grid; place-items: center; color: var(--gold); }
.ash-arrow svg { width: 4rem; height: 2.5rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ash-answer { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; border: 1px solid var(--rule-strong); border-radius: 8px; padding: 1rem; background: var(--bg); }
.ash-spark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold); color: var(--on-gold); }
.ash-spark svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.ash-lines { display: grid; gap: 0.45rem; }
.ash-lines b { height: 5px; border-radius: 5px; background: var(--gold); opacity: 0.85; transform-origin: left; }
.ash-lines b:nth-child(2) { width: 82%; opacity: 0.55; } .ash-lines b:nth-child(3) { width: 60%; opacity: 0.35; }
.ash-door { font-family: var(--f-title); font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

/* AIO / GEO / AEO */
ul.ai-disc { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-bottom: 2.5rem; }
.dc { position: relative; display: grid; gap: 0.6rem; align-content: start; text-align: center; justify-items: center; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--panel); }
.dc:nth-child(3) { border-color: var(--gold); background: var(--panel-2); }
.dc::before { content: ""; position: absolute; left: 50%; bottom: calc(-2.5rem + 6px); width: 1px; height: calc(2.5rem - 6px); background: var(--rule-strong); }
.dc-rail { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
.dc-rail::before, .dc-rail::after { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 5.5px; height: 1px; }
.dc-rail::before { background: var(--rule-strong); }
.dc-rail::after { background: var(--gold); transform-origin: left; }
.dc-rail i { position: absolute; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); z-index: 1; }
.dc-rail i:nth-child(1) { left: calc(100% / 6); } .dc-rail i:nth-child(2) { left: 50%; } .dc-rail i:nth-child(3) { left: calc(500% / 6); }
.dc-a { font-family: var(--f-title); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 760; letter-spacing: -0.03em; line-height: 1; color: var(--gold); }
.dc h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.dc p:last-child { color: var(--muted); max-width: 34ch; }

/* how it works */
.ai-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hw { position: relative; display: grid; gap: 0.75rem; align-content: start; padding: 1.6rem; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--panel); transition: border-color 200ms ease, transform 240ms var(--ease); }
.hw-n { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--f-data); font-size: 0.8125rem; color: var(--dim); }
.hw-ic, .df-ic { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); margin-bottom: 0.5rem; }
.hw-ic svg, .df-ic svg, .pr-node svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hw h3 { font-size: 1.3rem; letter-spacing: -0.018em; line-height: 1.15; }
.hw p { color: var(--muted); font-size: 0.9375rem; }

/* platforms hub */
[data-ui].ai-hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.hub-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-wires path { fill: none; stroke: var(--rule-strong); stroke-width: 1.25; }
.hub-wires path.on { stroke: var(--gold); stroke-opacity: 0.55; stroke-dasharray: 4 9; }
.hub-wires circle { fill: var(--gold); }
.hub-col { position: relative; z-index: 1; display: grid; gap: 1rem; }
.pl { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1rem 0.7rem 0.7rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--panel); transition: border-color 200ms ease, transform 240ms var(--ease); }
.pl--r { flex-direction: row; }
.pl-ic { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: var(--bg); }
.pl-ic svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.pl-ic .pl-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-t { display: grid; }
.pl-t b { font-weight: 600; }
.pl-t small { font-family: var(--f-data); font-size: 0.75rem; color: var(--muted); }
.hub-core { position: relative; z-index: 1; justify-self: center; display: grid; justify-items: center; align-content: center; gap: 0.35rem; width: min(100%, 15rem); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, #19170f 0%, var(--bg) 70%); text-align: center; }
.hub-core .brand-mark { width: 2.4rem; height: 2.4rem; color: var(--gold); }
.hub-core b { font-family: var(--f-title); font-size: 1.6rem; letter-spacing: -0.02em; }
.hub-core small { font-family: var(--f-data); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.hub-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed var(--rule-strong); }

/* why now */
.ai-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wn { display: grid; }
.wn li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--rule-strong); }
.wn li:last-child { border-bottom: 1px solid var(--rule-strong); }
.wn-n { font-family: var(--f-title); font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--gold); letter-spacing: -0.03em; }
.wn h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.wn p { margin-top: 0.3rem; color: var(--muted); font-size: 0.9375rem; }
[data-ui].ai-chart { margin: 0; border: 1px solid var(--rule-strong); border-radius: 10px; background: rgba(9, 9, 9, 0.75); padding: 1.25rem; display: grid; gap: 0.75rem; }
.ai-chart svg { width: 100%; height: auto; overflow: visible; }
.wc-grid line { stroke: var(--rule); stroke-width: 1; }
.wb { fill: var(--gold); opacity: 0.85; transform-box: fill-box; transform-origin: bottom; }
.wb:nth-of-type(-n+6) { opacity: 0.45; }
.wc-curve { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linecap: round; }
.wc-head { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ai-chart figcaption { font-family: var(--f-data); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.ai-chart figcaption b { color: var(--gold); font-weight: 500; }

/* difference */
.ai-dif { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.df { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.5rem; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--panel); transition: border-color 200ms ease, transform 240ms var(--ease); }
.df .df-ic { margin: 0; }
.df h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.df p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; }

/* engagement process */
.ai-proc { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.pr-rail { position: absolute; left: 12.5%; right: 12.5%; top: 2.25rem; height: 2px; }
.pr-rail i { position: absolute; inset: 0; background: var(--rule-strong); }
.pr-rail::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.pr-rail b { position: absolute; left: 0; top: -4px; width: 100%; height: 10px; pointer-events: none; }
.pr-rail b::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(214, 174, 75, 0.18); opacity: 0; }
.pr { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 0.5rem; }
.pr-node { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); color: var(--gold); margin-bottom: 0.6rem; transition: background-color 400ms ease, color 400ms ease; }
.pr-node svg { width: 1.9rem; height: 1.9rem; }
.pr-n { font-family: var(--f-title); font-size: 2.6rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.pr h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
.pr-d { font-family: var(--f-data); font-size: 0.8125rem; color: var(--gold); }
.pr p:last-child { color: var(--muted); font-size: 0.9375rem; max-width: 28ch; }

/* CTA */
.ai-cta .contact-head h2 { max-width: 14ch; }
.ai-cta .cta-row { margin-top: 0.5rem; }
.ai-cta-meta { align-self: center; justify-self: end; }

@media (hover: hover) and (pointer: fine) {
  .hw:hover, .df:hover, .pl:hover { border-color: var(--gold); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  /* then/now: the chevrons pulse left to right; the SERP lines draw; the answer lines fill */
  .ash-arrow path { animation: chev 1.8s var(--ease-in-out) infinite; opacity: 0.25; }
  .ash-arrow path:nth-child(2) { animation-delay: 0.2s; } .ash-arrow path:nth-child(3) { animation-delay: 0.4s; }
  .js .ai-shift .serp b, .js .ai-shift .ash-lines b { transform: scaleX(0); transition: transform 700ms var(--ease); }
  .js .ai-shift.is-in .serp b, .js .ai-shift.is-in .ash-lines b { transform: none; }
  .js .ai-shift.is-in .serp li:nth-child(n) b { transition-delay: calc(var(--k, 0) * 60ms); }
  .js .ai-shift.is-in .ash-lines b:nth-child(2) { transition-delay: 900ms; } .js .ai-shift.is-in .ash-lines b:nth-child(3) { transition-delay: 1050ms; }
  .js .ai-shift.is-in .ash-lines b:nth-child(1) { transition-delay: 750ms; }
  .ash-spark { animation: spark-glow 3.2s var(--ease-in-out) infinite; }
  /* AIO/GEO/AEO: the rail draws under the three cards */
  .js .ai-disc .dc-rail::after { transform: scaleX(0); transition: transform 1400ms var(--ease-in-out) 400ms; }
  .js .ai-disc.is-in .dc-rail::after { transform: none; }
  .js .ai-disc .dc-rail i { transition: background-color 300ms ease; }
  .js .ai-disc.is-in .dc-rail i:nth-child(1) { background: var(--gold); transition-delay: 400ms; }
  .js .ai-disc.is-in .dc-rail i:nth-child(2) { background: var(--gold); transition-delay: 1100ms; }
  .js .ai-disc.is-in .dc-rail i:nth-child(3) { background: var(--gold); transition-delay: 1800ms; }
  /* how it works + difference: icons draw */
  .js .hw.reveal .hw-ic svg *, .js .df.reveal .df-ic svg * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1100ms var(--ease-in-out) 300ms; }
  .js .hw.reveal.is-in .hw-ic svg *, .js .df.reveal.is-in .df-ic svg * { stroke-dashoffset: 0; }
  /* hub: the core breathes, the ring turns */
  .hub-ring { animation: spin 40s linear infinite; }
  /* why now: bars grow, then the curve draws over them */
  .js .ai-chart .wb { transform: scaleY(0); transition: transform 700ms var(--ease) calc(var(--k) * 70ms); }
  .js .ai-chart.is-in .wb { transform: none; }
  .js .ai-chart .wc-curve { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1500ms var(--ease-in-out) 900ms; }
  .js .ai-chart.is-in .wc-curve { stroke-dashoffset: 0; }
  .js .ai-chart .wc-head { opacity: 0; transition: opacity 300ms ease 2300ms; }
  .js .ai-chart.is-in .wc-head { opacity: 1; }
  /* process: the rail fills, each node lights as it is reached, then a pulse runs the line */
  .js .ai-proc .pr-rail::after { transform: scaleX(0); transition: transform 1800ms var(--ease-in-out) 300ms; }
  .js .ai-proc.is-in .pr-rail::after { transform: none; }
  .js .ai-proc.is-in .pr:nth-child(2) .pr-node { background: var(--gold); color: var(--on-gold); transition-delay: 300ms; }
  .js .ai-proc.is-in .pr:nth-child(3) .pr-node { background: var(--gold); color: var(--on-gold); transition-delay: 900ms; }
  .js .ai-proc.is-in .pr:nth-child(4) .pr-node { background: var(--gold); color: var(--on-gold); transition-delay: 1500ms; }
  .js .ai-proc.is-in .pr:nth-child(5) .pr-node { background: var(--gold); color: var(--on-gold); transition-delay: 2100ms; }
  .ai-proc.is-in .pr-rail b { animation: run 3.2s var(--ease-in-out) 2.4s infinite; }
  .ai-proc.is-in .pr-rail b::before { animation: run-dot 3.2s var(--ease-in-out) 2.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-node { background: var(--gold); color: var(--on-gold); }
}
@keyframes chev { 0%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes spark-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(214, 174, 75, 0); } 50% { box-shadow: 0 0 0 8px rgba(214, 174, 75, 0.18); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes run-dot { 0% { opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 1100px) {
  .ai-how, .ai-dif { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-why { grid-template-columns: minmax(0, 1fr); }
  [data-ui].ai-hub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .hub-core { grid-column: 1 / -1; grid-row: 1; width: 12rem; margin-bottom: 1rem; }
  .hub-wires { display: none; }
  .ai-proc { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .pr-rail { display: none; }
}
@media (max-width: 900px) {
  .ai-shift { grid-template-columns: minmax(0, 1fr); }
  .ash-arrow svg { transform: rotate(90deg); width: 3rem; }
  ul.ai-disc { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .dc-rail, .dc::before { display: none; }
}
@media (max-width: 760px) {
  .ai-how, .ai-dif, .ai-proc { grid-template-columns: minmax(0, 1fr); }
  [data-ui].ai-hub { grid-template-columns: minmax(0, 1fr); }
  .ash-body { grid-template-columns: minmax(0, 1fr); }
  .ai-cta-meta { justify-self: start; }
  .wn li { grid-template-columns: 3rem minmax(0, 1fr); }
  .wn-n { font-size: 2rem; }
}
.ai-cta .cta-row { justify-self: start; }

/* ---------- six-page sitemap additions ---------- */
.bar-nav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 480px) { .hide-sm { display: none; } }
.hero-cta { justify-self: start; align-self: start; }
.sc--link { color: inherit; text-decoration: none; }
.sc--link .sc-more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-data); font-size: 0.875rem; color: var(--gold); }
.sc--link .sc-more .arr { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 200ms var(--ease); }
.sc--link:hover .sc-more .arr { transform: translateX(3px); }
.sc--link:focus-visible { outline-offset: 4px; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.partner { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; border: 1px solid var(--rule-strong); border-radius: 8px; padding: 1.5rem; background: var(--panel); }
.partner-ph { display: grid; place-items: center; width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 1px dashed var(--gold); color: var(--gold); font-family: var(--f-title); font-size: 1.5rem; }
.partner h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.partner-role { font-family: var(--f-data); font-size: 0.8125rem; color: var(--gold); margin: 0.3rem 0 0.75rem; }
.partner p:last-child { color: var(--muted); font-size: 0.9375rem; }
.cover--one { grid-template-columns: minmax(0, 1fr); }
.channels--side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.channels--side .ch svg { margin-bottom: 0.75rem; }
@media (max-width: 760px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
  .partner { grid-template-columns: minmax(0, 1fr); }
}

/* paired buttons: always the same size, side by side or stacked */
.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.75rem, 1fr)); }
.cta-row .btn { justify-content: center; }
@media (max-width: 760px) {
  .cta-row { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 26rem; }
}

/* social links in the footer */
.social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule-strong); border-radius: 50%; color: var(--ink); transition: color 160ms ease, border-color 160ms ease; }
.social a:hover { color: var(--gold); border-color: var(--gold); }
.social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* hero: AI engine logos sit on the right, under the flight path */
@media (min-width: 901px) {
  .hero-engines { position: absolute; z-index: 3; right: clamp(1.25rem, 2.2vw, 2rem); bottom: clamp(3.75rem, 5vw, 4.5rem); justify-items: end; margin: 0; }
  .hero-engines .er-list { justify-content: flex-end; }
}
@media (max-width: 900px) {
  .hero-engines { margin-top: 1.25rem; }
}

/* home: the "We get your brand named" intro reads in two lines on desktop */
#what .sourced-head { max-width: none; }
#what .sourced-head p { max-width: 92ch; }

/* home: link cards put the label beside a gold icon */
.sc.sc--link { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; min-height: 0; }
.sc.sc--link > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
.sc.sc--link > .sc-ic { grid-column: 1 !important; grid-row: 1 / span 2 !important; align-self: center; }
.sc.sc--link > .sc-k { grid-column: 2 !important; grid-row: 1 !important; margin-top: 0; align-self: end; }
.sc.sc--link > h3 { grid-column: 2 !important; grid-row: 2 !important; align-self: start; margin: 0; max-width: none; white-space: nowrap; font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.75rem); }
.sc.sc--link { row-gap: 0.35rem; }
.sc.sc--link > p:not(.sc-k) { margin-top: 1rem; }
.sc--framed.sc--link .sc-ic { background: var(--gold); color: var(--on-gold); }

/* AI search stats: equal columns, sources on one baseline */
.st { grid-template-rows: auto 1fr auto; }
.st-l { max-width: 27ch; }
@media (max-width: 380px) { .sc.sc--link > h3 { white-space: normal; } }

/* platforms hub: the LeadAIO logo in the centre */
.hub-core .hub-logo { width: 72%; height: auto; }

/* how it works: closing panel with the animated "method scan" */
.ai-cta--art { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy art" "meta art"; row-gap: 2rem; align-items: center; }
.ai-cta--art .contact-head { grid-area: copy; }
.ai-cta--art .ai-cta-meta { grid-area: meta; justify-self: start; align-self: start; grid-template-columns: repeat(3, auto); }
.method-scan { grid-area: art; justify-self: center; width: min(100%, 26rem); aspect-ratio: 1; }
.method-scan svg { width: 100%; height: 100%; overflow: visible; }
.ms-axis { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 6; }
.ms-orbit { fill: none; stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 7; }
.ms-ring { fill: none; stroke: var(--rule-strong); stroke-width: 1.2; }
.ms-pip { fill: var(--bg); stroke: var(--gold); stroke-width: 1.5; }
.ms-lab { font-family: var(--f-data); font-size: 10px; letter-spacing: 0.08em; fill: var(--muted); }
.ms-core { fill: var(--gold); }
.ms-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.ms-core-t { font-family: var(--f-data); font-size: 10px; letter-spacing: 0.12em; fill: var(--ink); }
.ms-eng { fill: var(--ink); }
.ms-sweep, .ms-engines, .ms-pulse { transform-box: view-box; transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) {
  .ms-sweep { animation: spin 6s linear infinite; }
  .ms-engines { animation: spin 40s linear infinite reverse; }
  .ms-pulse { animation: ms-pulse 2.4s var(--ease) infinite; }
  .ms-ring { animation: ms-ring 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
  .ms-pip { animation: ms-pip 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
  .ms-lab { animation: ms-lab 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
}
@keyframes ms-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ms-ring { 0%, 100% { stroke: var(--rule-strong); } 12%, 30% { stroke: var(--gold); } 50% { stroke: var(--rule-strong); } }
@keyframes ms-pip { 0%, 100% { fill: var(--bg); } 12%, 30% { fill: var(--gold); } 50% { fill: var(--bg); } }
@keyframes ms-lab { 0%, 100% { fill: var(--muted); } 12%, 30% { fill: var(--gold); } 50% { fill: var(--muted); } }
@media (max-width: 900px) {
  .ai-cta--art { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "meta"; }
  .method-scan { width: min(100%, 20rem); }
  .ai-cta--art .ai-cta-meta { grid-template-columns: 1fr 1fr; }
}
.ai-cta--art .ai-cta-meta dd { white-space: nowrap; }
@media (max-width: 900px) {
  .ai-cta--art .ai-cta-meta { grid-template-columns: minmax(0, 1fr); }
  .ai-cta--art .ai-cta-meta dd { white-space: normal; }
}

/* closing panels: the two buttons sit side by side above phone width */
@media (min-width: 761px) {
  .ai-cta .cta-row, .launch-copy .cta-row { grid-template-columns: repeat(2, minmax(15.75rem, 1fr)); }
}

/* method scan: larger */
.ai-cta--art { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.method-scan { width: min(100%, 38rem); }
@media (max-width: 900px) { .ai-cta--art { grid-template-columns: minmax(0, 1fr); } .method-scan { width: min(100%, 30rem); } }

/* who we serve: one fit column, items in a row */
.fit--one { grid-template-columns: minmax(0, 1fr); }
.fit--one .fit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
.fit--one .fit-list li, .fit--one .fit-list li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .fit--one .fit-list { grid-template-columns: minmax(0, 1fr); } }

/* who we serve: animated "round table" in the closing panel */
.tt-orbit { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.tt-ring { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 8; transform-box: view-box; transform-origin: 200px 200px; }
.tt-spoke { stroke: var(--rule-strong); stroke-width: 1; }
.tt-flow { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 90; stroke-dashoffset: 100; opacity: 0; }
.tt-seat { fill: var(--panel); stroke: var(--rule-strong); stroke-width: 1.2; }
.tt-dot { fill: var(--dim); }
.tt-lab { font-family: var(--f-data); font-size: 11px; letter-spacing: 0.1em; fill: var(--muted); }
.tt-table { fill: var(--panel-2); stroke: var(--gold); stroke-width: 1.5; }
.tt-t1 { font-family: var(--f-data); font-size: 11px; letter-spacing: 0.12em; fill: var(--gold); }
.tt-t2 { font-family: var(--f-text); font-size: 11px; fill: var(--muted); }
.team-art .ms-pulse { transform-box: view-box; transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) {
  .tt-ring { animation: spin 50s linear infinite; }
  .team-art .ms-pulse { animation: tt-pulse 3s var(--ease) infinite; }
  .tt-seat, .tt-dot, .tt-lab, .tt-flow { animation-duration: 7.2s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; animation-delay: calc(var(--k) * 1.2s); }
  .tt-seat { animation-name: tt-seat; }
  .tt-dot { animation-name: tt-dot; }
  .tt-lab { animation-name: tt-lab; }
  .tt-flow { animation-name: tt-flow; animation-timing-function: linear; }
}
@keyframes tt-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes tt-seat { 0%, 100% { stroke: var(--rule-strong); } 6%, 18% { stroke: var(--gold); } 26% { stroke: var(--rule-strong); } }
@keyframes tt-dot { 0%, 100% { fill: var(--dim); } 6%, 18% { fill: var(--gold); } 26% { fill: var(--dim); } }
@keyframes tt-lab { 0%, 100% { fill: var(--muted); } 6%, 18% { fill: var(--gold); } 26% { fill: var(--muted); } }
@keyframes tt-flow { 0% { stroke-dashoffset: 100; opacity: 0; } 4% { opacity: 1; } 18% { stroke-dashoffset: 0; opacity: 1; } 20%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* who we serve: the "By role" intro on one line on desktop */
#roles .panel-head p { max-width: none; }

/* book page: solid cards for email and phone */
.channels--side .ch, .channels--side .ch:hover { background: var(--panel-2); }

/* book page: the form sits in a solid box */
.consult-form { background: var(--panel-2); border: 1px solid var(--rule-strong); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2.25rem); }

/* panels over a band image get a dark overlay so the text reads cleanly */
.band.panel-section > .panel { background: rgba(14, 14, 13, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* outlined buttons: solid black fill so backgrounds don't show through */
.btn--line { background: var(--bg); }
.btn--line:hover { background: var(--panel-2); }

/* contact cards: solid black fill so backgrounds don't show through */
.ch { background: var(--bg); }
.ch:hover { background: var(--panel-2); }

/* a quieter version of the image behind the last section */
.pre-foot--soft i { opacity: 0.18 !important; }

/* spam trap field: off screen, never shown to people */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* legal pages */
.legal { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.legal-in { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.015em; margin: 2.25rem 0 0.75rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal p + p { margin-top: 0.75rem; }
.legal-list { display: grid; gap: 0.6rem; padding-left: 1.1rem; list-style: disc; }
.legal-list b { color: var(--ink); }
.legal-draft { border: 1px dashed var(--gold); border-radius: 8px; padding: 1rem 1.25rem; color: var(--ink); background: var(--gold-soft); }
.legal-draft b { color: var(--gold); }

/* buttons inside a page hero: left-aligned, side by side above phone width */
.page-hero-copy .cta-row { justify-self: start; align-self: start; }
@media (min-width: 761px) { .page-hero-copy .cta-row { grid-template-columns: repeat(2, minmax(15.75rem, 1fr)); } }

/* header: client login link beside the booking button */
.bar-end { display: flex; align-items: center; gap: 1.25rem; justify-self: end; }
.bar-login { font-family: var(--f-data); font-size: 0.9375rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.bar-login:hover { color: var(--gold); }
@media (max-width: 900px) { .bar-login { display: none; } }

/* booking form: sending error */
.form-error { margin-top: 1.25rem; border: 1px solid #c2603f; border-radius: 8px; padding: 1rem 1.25rem; background: rgba(194, 96, 63, 0.1); }
.form-error p { color: var(--ink); }
.form-error b { color: #e7a68d; }
.form-error:focus { outline: none; }

/* show the menu button on tablets and phones (an earlier base rule hid it everywhere) */
@media (max-width: 900px) { .menu { display: block; } }

/* header fit: nav labels stay on one line; below 1100px the nav moves into the menu */
.bar-nav a { white-space: nowrap; }
@media (max-width: 1280px) { .bar-nav, .bar-login { font-size: 0.875rem; } .bar-nav { gap: 1.5rem; } }
@media (max-width: 1100px) { .bar-nav { display: none; } .menu { display: block; } .bar-in { grid-template-columns: auto 1fr; } }
@media (max-width: 900px) { .bar-login { display: inline; } }
@media (max-width: 600px) { .bar-login { display: none; } }

/* about: partner photo */
.partner-photo { display: block; width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); background: var(--panel-2); }

/* about: "The partners" intro on one line on desktop */
#partners .panel-head p, #leaders .panel-head p { max-width: none; }

/* ---------- blog ---------- */
.blog-list, .post, .post-related { max-width: var(--max); margin: var(--section) auto 0; padding-inline: var(--margin); }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.post-card a { display: grid; gap: 0.85rem; align-content: start; height: 100%; padding: clamp(1.4rem, 2.4vw, 2rem); border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); text-decoration: none; color: var(--ink); transition: border-color 200ms ease, background-color 200ms ease; }
.post-card a:hover { border-color: var(--gold); background: var(--panel-2); }
.post-card-k { font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.post-card-t { font-family: var(--f-title); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 680; text-wrap: balance; }
.post-card-d { color: var(--muted); line-height: 1.55; }
.post-card-more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; font-family: var(--f-data); font-size: 0.875rem; color: var(--gold); }
.post-card-more .arr { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 200ms var(--ease); }
.post-card a:hover .arr { transform: translateX(3px); }

.post { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.post-head, .post-body { max-width: 46rem; }
.post-head { display: grid; gap: 1.1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule-strong); }
.crumbs { display: flex; gap: 0.6rem; font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem); line-height: 1.02; letter-spacing: -0.022em; font-weight: 720; text-wrap: balance; }
.post-dek { font-size: var(--t-lead); color: var(--muted); line-height: 1.5; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--f-data); font-size: 0.875rem; color: var(--dim); }
.post-body { padding-top: 2rem; font-size: var(--t-body); }
.post-body > * + * { margin-top: 1.1rem; }
.post-body p, .post-body li { color: #d6d2c9; line-height: 1.7; }
.post-body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 680; margin-top: 2.75rem; scroll-margin-top: 6rem; }
.post-body h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 650; margin-top: 1.9rem; scroll-margin-top: 6rem; }
.post-body h2 + *, .post-body h3 + * { margin-top: 0.75rem; }
.post-body ul, .post-body ol { display: grid; gap: 0.55rem; padding-left: 1.35rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li::marker { color: var(--gold); }
.post-body strong { color: var(--ink); font-weight: 650; }
.post-body code { font-family: var(--f-data); font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--panel-2); color: var(--gold-hi); }
.post-body blockquote { border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; }
.post-body blockquote p { color: var(--ink); font-size: var(--t-lead); }
a.inline { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.inline:hover { color: var(--gold-hi); }
.post-summary { margin-bottom: 0.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--gold-soft); }
.post-summary p { color: var(--ink); }
.post-summary .post-summary-k { margin-bottom: 0.4rem; font-family: var(--f-data); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; }
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.9375rem; }
.table-wrap th, .table-wrap td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.table-wrap thead th { font-family: var(--f-data); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); background: var(--panel-2); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td { color: #d6d2c9; }
.table-wrap td:first-child { color: var(--ink); font-weight: 600; }
.post-faq { grid-template-columns: minmax(0, 1fr); max-width: calc(46rem + 2 * var(--margin)); margin-inline: auto 0; margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.post-faq h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.015em; }
.post-related h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.015em; margin-bottom: 1.25rem; }
.post-list--small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-list--small a { display: grid; gap: 0.6rem; height: 100%; padding: 1.25rem 1.4rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); text-decoration: none; color: var(--ink); transition: border-color 200ms ease; }
.post-list--small a:hover { border-color: var(--gold); }
.post-list--small .post-card-t { font-size: 1.15rem; line-height: 1.25; }
@media (max-width: 900px) { .post-list, .post-list--small { grid-template-columns: minmax(0, 1fr); } }

/* blog: featured images */
.post-figure { max-width: 46rem; margin-top: 2rem; }
.post-figure img, .post-card-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel-2); }
.post-card a { overflow: hidden; }
.post-card-img { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; margin: calc(-1 * clamp(1.4rem, 2.4vw, 2rem)) calc(-1 * clamp(1.4rem, 2.4vw, 2rem)) 0.4rem; width: calc(100% + 2 * clamp(1.4rem, 2.4vw, 2rem)); max-width: none; }

/* about: three partners — side by side on wide screens, one per row below */
@media (min-width: 1101px) {
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}
@media (min-width: 761px) and (max-width: 1100px) { .partners { grid-template-columns: minmax(0, 1fr); } }

/* about: leaders — two per row on wide screens */
@media (min-width: 1101px) {
  .partners--team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners--team .partner { grid-template-columns: auto 1fr; gap: 1.25rem; }
}
.partner-ph { flex: none; }
/* leaders: an odd last card keeps the same size and sits centered on its row */
@media (min-width: 1101px) { .partners--team .partner:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 1rem) / 2); justify-self: center; } }
