/* TRF Advisory — homepage
   Visual language adapted from the reference (MODRN): rounded grotesk (Open Runde), two-tone headlines, an
   inline glossy object in the hero headline, nested hairline cards, dotted gutter rules, deep-shadow buttons,
   a white chip CTA, a diagonal sheen on dark. Palette is TRF's own: paper, graphite, steel, brass.

   Polarity: light studio for the first four acts, then ONE flip (inside a flash, js/main.js owns it) to dark.
   --ground is the WORST-CASE colour each polarity renders behind its text, including the veil over the 3D
   world. verify/gate.js measures every text run against the nearest --ground. */

:root {
  --paper: #fbfaf6;
  --graphite: #141517;
  --navy: #1c202c;
  --navy-deep: #12151e;
  --silver: #c9ccd2;
  --steel: #6f8aa1;
  --brass: #c9a25a;
  --brass-hi: #e2bf78;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .75, .1, 1);
  --font: "Open Runde", "Inter", system-ui, -apple-system, sans-serif;
}

:root, :root[data-polarity="light"] {
  --bg: #dedcd6;
  --ground: #cfcdc6;
  --ink: #141517;
  --tone: #6f6f73;
  --muted: #505257;
  --accent: #6b4c12;
  --line: rgba(20, 21, 23, .09);
  --rule: rgba(20, 21, 23, .22);
  --nest-line: rgba(20, 21, 23, .08);
  --nest-out: rgba(255, 255, 255, .38);
  --nest-in: #fbfaf6;
  --nest-ground: #fbfaf6;
  --nest-shadow: 0 1px 0 #fff inset, 0 26px 50px -30px rgba(40, 32, 18, .42), 0 2px 6px -2px rgba(40, 32, 18, .08);
  --pill-bg: rgba(255, 255, 255, .6);
  --pill-line: rgba(180, 138, 60, .5);
  --nav-bg: rgba(222, 220, 214, .72);
  --veil: 222, 220, 214;
  --veil-a: .86;
  --grain-o: .035; --grain-blend: multiply;
  --sheen-o: 0;
  --flash: #12151e;
  color-scheme: light;
}
:root[data-polarity="dark"] {
  --bg: #10131b;
  --ground: #30364a;
  --ink: #f3f1ec;
  --tone: #9298a6;
  --muted: #b4bac6;
  --accent: #dcb873;
  --line: rgba(243, 241, 236, .09);
  --rule: rgba(243, 241, 236, .18);
  --nest-line: rgba(243, 241, 236, .08);
  --nest-out: rgba(255, 255, 255, .025);
  --nest-in: linear-gradient(160deg, #242a3a, #1a1e2a);
  --nest-ground: #282e3f;
  --nest-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -30px rgba(0, 0, 0, .9);
  --pill-bg: rgba(255, 255, 255, .04);
  --pill-line: rgba(201, 162, 90, .42);
  --nav-bg: rgba(16, 19, 27, .7);
  --veil: 16, 19, 27;
  --veil-a: .86;
  --grain-o: .06; --grain-blend: overlay;
  --sheen-o: 1;
  --flash: #12151e;
  color-scheme: dark;
}

/* the swap frame: nothing may transition across mid-grey in the open (playbook STANDARD 4) */
.polarity-cut, .polarity-cut *, .polarity-cut *::before, .polarity-cut *::after { transition: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--brass); color: var(--graphite); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- layers ---------- */
.world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  /* layer 1, hero only: a top-left wash so the market reads faint behind the pill and headline, the way it already
     does behind the logo (Lucas, 2026-11-12). Strength --veil-top is written by main.js: 1 in the hero, 0 after. */
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(var(--veil), calc(.9 * var(--veil-top, 0))) 0%, rgba(var(--veil), calc(.62 * var(--veil-top, 0))) 45%, rgba(var(--veil), 0) 78%),
    linear-gradient(90deg, rgba(var(--veil), var(--veil-a)) 0%, rgba(var(--veil), calc(var(--veil-a) - .08)) 34%, rgba(var(--veil), 0) 58%);
}
.sheen {
  position: fixed; inset: -20% -40%; z-index: 1; pointer-events: none; opacity: var(--sheen-o);
  background:
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .035) 44%, transparent 56%),
    linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, .025) 67%, transparent 76%);
}
.grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: var(--grain-o); mix-blend-mode: var(--grain-blend); background-size: 256px; }
.flash { position: fixed; inset: 0; z-index: 70; pointer-events: none; background: var(--flash); opacity: 0; }
.rules span {
  position: fixed; top: 0; bottom: 0; width: 1px; z-index: 2; pointer-events: none;
  background-image: linear-gradient(to bottom, var(--rule) 50%, transparent 0); background-size: 1px 6px;
  left: max(calc(var(--gutter) - 1px), calc(50% - var(--wrap) / 2 - 1px));
}
.rules span + span { left: auto; right: max(calc(var(--gutter) - 1px), calc(50% - var(--wrap) / 2 - 1px)); }
main, .foot, .nav { position: relative; z-index: 3; }

/* ---------- type ---------- */
.h1 { font-weight: 500; font-size: clamp(46px, 5.9vw, 88px); line-height: 1.02; letter-spacing: -.045em; }
.h2 { font-weight: 500; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.042em; }
.row { display: block; }
.tone { color: var(--tone); }
.sub { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); max-width: 33em; text-wrap: pretty; }
.body { color: var(--muted); max-width: 36em; text-wrap: pretty; }
.quiet { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.quiet::before { content: ""; width: 26px; height: 1px; background: var(--brass); }

.pill {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--pill-bg); border: 1.5px solid var(--pill-line);
  margin-bottom: clamp(26px, 3vw, 36px);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill--dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
  box-shadow: 0 0 0 4px rgba(201, 162, 90, .2), 0 0 12px rgba(201, 162, 90, .9);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(201, 162, 90, .08), 0 0 18px rgba(201, 162, 90, .6); } }

/* the inline object in the hero headline (MODRN's device, TRF's object: a sealed envelope) */
.tile {
  display: inline-grid; place-items: center; width: .98em; height: .98em; margin: 0 .03em; vertical-align: -.12em;
  border-radius: .25em; color: var(--brass-hi);
  background: radial-gradient(120% 90% at 30% 15%, #3a4157 0%, #1c202c 55%, #0f121a 100%);
  box-shadow: 0 .02em 0 rgba(255, 255, 255, .28) inset, 0 -.03em .06em rgba(0, 0, 0, .5) inset,
    0 .22em .45em -.12em rgba(0, 0, 0, .5), 0 0 .55em rgba(201, 162, 90, .42);
  transform: rotate(-7deg);
  animation: bob 5s ease-in-out infinite;
}
.tile svg { width: 64%; height: 64%; filter: drop-shadow(0 0 .08em rgba(226, 191, 120, .7)); }
@keyframes bob { 50% { transform: rotate(-3deg) translateY(-.05em); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; border-radius: 13px;
  background: linear-gradient(180deg, #2a3042, #161a25); color: #f4f2ec; --ground: #161a25;
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: -.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 10px 18px -8px rgba(0, 0, 0, .45), 0 30px 46px -22px rgba(0, 0, 0, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 14px 22px -8px rgba(0, 0, 0, .45), 0 40px 56px -22px rgba(0, 0, 0, .6); }
.btn--light { background: linear-gradient(180deg, #ffffff, #ece9e1); color: #141517; --ground: #ece9e1; box-shadow: 0 1px 0 #fff inset, 0 20px 40px -18px rgba(0, 0, 0, .8); }
.chipbtn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 14px;
  background: #fff; color: #141517; --ground: #ffffff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(20, 21, 23, .06), 0 14px 30px -14px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.chipbtn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(20, 21, 23, .06), 0 22px 40px -16px rgba(0, 0, 0, .4); }
.chipbtn__seal {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  background: var(--mark-url, url(../assets/trf-mark.png)) center / 72% auto no-repeat, radial-gradient(120% 90% at 30% 15%, #3a4157, #151924);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 4px 10px -3px rgba(0, 0, 0, .5), 0 0 12px rgba(201, 162, 90, .3);
}
.chipbtn--lg { height: 58px; font-size: 16.5px; padding-right: 22px; border-radius: 16px; }
.chipbtn--lg .chipbtn__seal { width: 40px; height: 40px; border-radius: 12px; }
.textlink { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rule); transition: gap .3s var(--ease); }
.textlink:hover { gap: 12px; }

/* ---------- nested hairline cards (MODRN's card-in-a-frame) ---------- */
.nest { padding: 7px; border-radius: 24px; border: 1px solid var(--nest-line); background: var(--nest-out); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nest__in { height: 100%; border-radius: 18px; background: var(--nest-in); box-shadow: var(--nest-shadow); padding: 26px; --ground: var(--nest-ground); border: 1px solid var(--nest-line); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 46px; height: 38px; border-radius: 11px; flex: none;
  background: radial-gradient(120% 90% at 30% 15%, #3a4157, #151924);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(0, 0, 0, .25), 0 8px 18px -8px rgba(0, 0, 0, .55);
}
.brand__mark img { width: 34px; height: auto; display: block; }
[data-mark="arrow"] .brand__mark img { width: 30px; }
[data-mark="arrow"] .chipbtn__seal { background-size: 80% auto, auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: "Montserrat", var(--font); font-weight: 500; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.brand__by { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 10px; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-top: 5px; }
.brand__by img { width: 11px; height: auto; }
.nav__links { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--nest-line); background: var(--pill-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links a { padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: background-color .25s, color .25s; }
.nav__links a:hover { color: var(--ink); background: var(--nest-out); }

/* ---------- sections ---------- */
.sec { padding: clamp(110px, 13vw, 180px) 0; border-top: 1px solid var(--line); }
.split { display: grid; gap: 26px; max-width: 640px; }
.split__side { display: grid; gap: 18px; }

/* hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero__copy { max-width: 760px; }
.hero .h1 { font-size: clamp(46px, 5.2vw, 74px); }
.hero .sub { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 38px 0 46px; }

/* approach */
.approach__note { margin-top: 22px; max-width: 34em; }
.tenets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(56px, 7vw, 90px); }
.tenets__k { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--accent); border: 1.5px solid var(--pill-line); margin-bottom: 34px; }
.tenets h3 { font-weight: 500; font-size: 21px; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 8px; }
.tenets p { color: var(--muted); font-size: 16px; }

/* capabilities: the copy scrolls on the left, the world re-forms on the right */
.caps__list { margin-top: clamp(40px, 6vw, 70px); max-width: 520px; }
.cap { min-height: 78vh; display: flex; align-items: center; }
.cap__card { width: 100%; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .caps--live .cap__card { opacity: .86; transform: scale(.97); }  /* not lower: inactive copy must clear 4.5:1 (gate) */
.js .caps--live .cap.is-active .cap__card { opacity: 1; transform: none; }
.cap__num { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.cap__num span { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 8px; color: #f4f2ec; background: var(--navy); letter-spacing: .02em; --ground: #1c202c; }
.cap.is-active .cap__num span { background: linear-gradient(180deg, #d8b46c, #a87f33); color: #1d1606; --ground: #b48a3c; }
.cap h3 { font-weight: 500; font-size: clamp(25px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.cap__lead { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.caps__dots { position: sticky; bottom: 34px; display: flex; gap: 6px; width: max-content; margin: 0 0 0 auto; }
.caps__dots i { width: 26px; height: 4px; border-radius: 4px; background: var(--rule); transition: background-color .4s, width .4s var(--ease); }
.caps__dots i.on { background: var(--brass); width: 44px; }

/* process */
.rail { margin-top: clamp(56px, 7vw, 90px); position: relative; padding-top: 34px; }
.rail__track { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line); }
.rail__fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--steel), var(--brass)); transform-origin: left; transform: scaleX(0); }
.rail__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { counter-increment: step; }
.step .nest__in { position: relative; }
.step__mark { position: absolute; top: 26px; right: 26px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--rule); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step.is-on .step__mark { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 5px rgba(201, 162, 90, .18), 0 0 14px rgba(201, 162, 90, .7); }
.step h3 { font-weight: 500; font-size: 25px; letter-spacing: -.03em; margin-bottom: 12px; }
.step h3::before { content: "0" counter(step); display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); margin-bottom: 30px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* private */
.private .sub { color: var(--ink); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: clamp(56px, 7vw, 90px) 0 44px; }
.points .nest__in { display: flex; flex-direction: column; gap: 46px; font-size: clamp(20px, 1.7vw, 23px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.points__n { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 17px; color: var(--accent); letter-spacing: 0; }

/* questions */
.faq__list { max-width: 660px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 38px; align-items: center; gap: 14px;
  padding: 26px 0; font-weight: 500; font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -.025em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__n { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.faq summary::after {
  content: ""; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--pill-line);
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a p { color: var(--muted); padding: 0 52px 28px 58px; max-width: 42em; }

/* closing */
.closing { min-height: 100svh; display: flex; align-items: center; }
.closing__title { max-width: 9.5em; }
.closing__sub { margin: 30px 0 42px; max-width: 30em; }

/* brands we've worked with: one-tone marks painted in the page's ink (CSS mask), a slow marquee */
.brands { position: relative; padding: 64px 0 72px; border-top: 1px solid var(--line); background: var(--bg); --ground: var(--bg); }
.brands__title { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 34px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo {
  --h: 30px; height: var(--h); aspect-ratio: var(--ar, 3); flex: none;
  background: var(--logo-ink, var(--silver));
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: .7; transition: opacity .35s var(--ease);
}
.logo:hover { opacity: 1; }
:root[data-polarity="light"] .logo { --logo-ink: var(--graphite); opacity: .6; }
.logo--apex-sync { --ar: 2.62; --h: 30px; }
.logo--omnya { --ar: 2.88; --h: 30px; }
.logo--gocart { --ar: 2.05; --h: 40px; }
.logo--expys { --ar: 3.38; --h: 24px; }
.logo--pitrade { --ar: 4.68; --h: 27px; }
.logo--oo { --ar: 1.584; --h: 40px; }
.logo--electric-forge-games { --ar: 1.09; --h: 50px; }
.logo--binked { --ar: 3.35; --h: 28px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.foot__inner { align-items: flex-end; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 26px; }
.foot__links a { font-weight: 500; text-decoration: none; color: var(--ink); }
.foot__brand { text-align: right; }
.foot__lockup { width: 210px; height: auto; display: block; }

/* ---------- entrances (one owner each: main.js toggles a class once, CSS animates) ---------- */
.wd { display: inline-block; }
.js [data-words].is-armed .wd { opacity: 0; transform: translateY(.42em); filter: blur(10px); }
.js [data-words] .wd { transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 42ms); }
.js [data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js [data-reveal].is-hidden { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.js [data-reveal="deal"] > * { transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); }
.js [data-reveal="deal"] > :nth-child(2) { transition-delay: .09s; }
.js [data-reveal="deal"] > :nth-child(3) { transition-delay: .18s; }
.js [data-reveal="deal"].is-hidden { opacity: 1; transform: none; filter: none; }
.js [data-reveal="deal"].is-hidden > * { opacity: 0; transform: translateY(40px) rotate(-1.2deg); filter: blur(8px); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .tenets, .points, .rail__steps { grid-template-columns: 1fr 1fr; }
  .veil { background: radial-gradient(ellipse 120% 55% at 30% 0%, rgba(var(--veil), calc(.7 * var(--veil-top, 0))) 0%, rgba(var(--veil), 0) 80%), linear-gradient(180deg, rgba(var(--veil), .1) 0%, rgba(var(--veil), .15) 12%, rgba(var(--veil), calc(var(--veil-a) - .06)) 30%, rgba(var(--veil), var(--veil-a)) 100%); }
  .caps__list { max-width: none; }
  .cap { min-height: 0; padding: 14px 0; }
  .js .caps--live .cap__card { transform: none; opacity: 1; }
  .caps__dots { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 72px; }
  .brand__mark { width: 40px; height: 34px; }
  .brand__mark img { width: 29px; }
  .brand__name { font-size: 13px; letter-spacing: .2em; }
  .brand__by { font-size: 9px; letter-spacing: .02em; }
  .foot__lockup { width: 170px; }
  .nav .chipbtn { padding: 0 12px; gap: 0; font-size: 13px; }
  .nav .chipbtn .chipbtn__seal { display: none; }
  .brand { gap: 9px; }
  .brand__name { font-size: 12.5px; letter-spacing: .18em; }
  .nav__inner { gap: 10px; }
  .pill { font-size: 10.5px; letter-spacing: .03em; height: auto; min-height: 30px; padding: 6px 12px; }
  .chipbtn { height: 42px; font-size: 13.5px; padding: 0 12px 0 6px; gap: 8px; border-radius: 12px; }
  .chipbtn__seal { width: 28px; height: 28px; border-radius: 8px; }
  .hero { align-items: flex-end; padding: 46svh 0 56px; }
  .tenets, .points, .rail__steps { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 30px 1fr 34px; }
  .faq__a p { padding: 0 0 24px 44px; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .foot__brand { text-align: left; }
}

/* ---------- reduced motion: a fully readable still page ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-words].is-armed .wd, .js [data-reveal].is-hidden, .js [data-reveal="deal"].is-hidden > * { opacity: 1; transform: none; filter: none; }
  .js .caps--live .cap__card { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; }
  .marquee__set { flex-wrap: wrap; justify-content: center; gap: 36px 56px; padding: 0 var(--gutter); }
  .marquee__set[aria-hidden] { display: none; }
}
