/* Sift-OCR site: foundation.
   Layout: a dark "reading room" stage (ink) with light paper bands where documents appear; the page reads like a
   document being processed (P. 01 .. P. 10 kickers, a reading HUD), red only for the brand and key words. */
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../assets/fonts/InterDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../assets/fonts/InterDisplay-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../assets/fonts/InterDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/JetBrainsMono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/JetBrainsMono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/JetBrainsMono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  /* stage */
  --ink: #0B0D10;
  --ink-2: #101317;
  --char: #171A20;
  --char-2: #1E222A;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #F3F2EF;
  --fg-2: #B6B9C0;
  --fg-3: #7A7F89;
  /* paper */
  --paper: #F3F1EC;
  --page: #FAFAF8;
  --paper-2: #E9E6DE;
  --p-ink: #15171B;
  --p-ink-2: #565A63;
  --p-line: rgba(21, 23, 27, 0.12);
  /* brand + data */
  --red: #B7391F;        /* Sift-OCR wordmark */
  --red-lift: #E2553C;   /* same hue, lifted for text on dark */
  --red-deep: #6E2210;
  --blue: #2F6FC0;       /* tables */
  --blue-lift: #6EA2E8;
  --gold: #F2B84B;       /* extracted fields */
  --green: #23866B;      /* success */
  --green-lift: #46C79C;
  /* type */
  --f-disp: 'Inter Display', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  /* scale */
  --t-hero: clamp(3rem, 1.2rem + 7.6vw, 8.4rem);
  --t-h2: clamp(2.25rem, 1.2rem + 4vw, 5rem);
  --t-h3: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem);
  --t-lead: clamp(1.125rem, 1rem + 0.45vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-label: 0.72rem;
  /* layout */
  --max: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 var(--t-body)/1.6 var(--f-ui);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-lift); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(226, 85, 60, 0.35); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* grain over the whole stage (generated by core.js into --grain) */
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.028; background-image: var(--grain); background-size: 240px 240px; }

/* ---------- containers ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.section { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.section--paper { background: var(--paper); color: var(--p-ink); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.kicker b { font-weight: 600; color: var(--red-lift); letter-spacing: 0.08em; }
.kicker::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.5; }
.section--paper .kicker { color: var(--p-ink-2); }
.section--paper .kicker b { color: var(--red); }
.h2 { font: 700 var(--t-h2)/0.98 var(--f-disp); letter-spacing: -0.042em; margin: 22px 0 0; text-wrap: balance; max-width: 15ch; }
.h2 em { font-style: normal; color: var(--red-lift); }
.section--paper .h2 em { color: var(--red); }
.h3 { font: 600 var(--t-h3)/1.2 var(--f-disp); letter-spacing: -0.02em; margin: 0; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 46ch; margin: 22px 0 0; text-wrap: pretty; }
.section--paper .lead { color: var(--p-ink-2); }
.mono { font-family: var(--f-mono); }
.label { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.fine { font-size: 0.8rem; color: var(--fg-3); }
.section--paper .fine { color: var(--p-ink-2); }
.tnum { font-variant-numeric: tabular-nums; }
.head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vw, 80px); }
.head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
.head--split .lead { margin-top: 0; justify-self: end; }
@media (max-width: 860px) { .head--split { grid-template-columns: minmax(0, 1fr); } .head--split .lead { justify-self: start; margin-top: 22px; } }

/* ---------- buttons ---------- */
.btn { --bg: var(--fg); --fg-c: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg-c); font: 600 0.98rem/1 var(--f-ui); letter-spacing: -0.005em; overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(226, 85, 60, 0.28), transparent 70%); opacity: 0; transition: opacity 0.4s; }
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 18px 50px -18px rgba(226, 85, 60, 0.55); }
.btn .arr { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--red { --bg: var(--red); --fg-c: #fff; }
.btn--red::before { background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 70%); }
.btn--ghost { --bg: transparent; --fg-c: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 18px 50px -24px rgba(0, 0, 0, 0.6); }
.section--paper .btn--ghost { --fg-c: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-line); }
.btn .play { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-left: -10px; }
.btn .play svg { width: 10px; height: 10px; margin-left: 2px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; padding-top: 14px; pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: 28px; height: var(--nav-h); padding: 0 12px 0 22px; border-radius: 999px; background: rgba(14, 16, 20, 0.58); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px -30px rgba(0, 0, 0, 0.8); transition: background 0.5s, transform 0.6s var(--ease-out); }
.nav.is-paper .nav__bar { background: rgba(250, 250, 248, 0.72); box-shadow: inset 0 0 0 1px rgba(21, 23, 27, 0.08), 0 20px 50px -30px rgba(0, 0, 0, 0.3); color: var(--p-ink); }
.nav.is-hidden .nav__bar { transform: translateY(-140%); }
.lockup { display: flex; align-items: center; gap: 14px; flex: none; }
.lockup__sift { height: 22px; width: auto; }
.lockup__div { width: 1px; height: 18px; background: currentColor; opacity: 0.35; }
.lockup__by { font: 500 0.78rem/1 var(--f-ui); color: var(--fg-3); margin-right: -6px; }
.lockup__aether { height: 17px; width: auto; }
.lockup .on-paper { display: none; }
.nav.is-paper .lockup .on-dark { display: none; }
.nav.is-paper .lockup .on-paper { display: block; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 14px; font: 500 0.9rem/1 var(--f-ui); color: var(--fg-2); border-radius: 999px; transition: color 0.3s, background 0.3s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav.is-paper .nav__links a { color: var(--p-ink-2); }
.nav.is-paper .nav__links a:hover, .nav.is-paper .nav__links a[aria-current="true"] { color: var(--p-ink); background: rgba(21, 23, 27, 0.06); }
.nav__cta { height: 46px; padding: 0 20px; font-size: 0.9rem; }
.nav__menu { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; margin-left: auto; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__menu span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.nav__sheet { pointer-events: auto; display: none; margin-top: 10px; padding: 14px; border-radius: 24px; background: rgba(14, 16, 20, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.nav__sheet a { display: block; padding: 14px 12px; font: 500 1.05rem/1 var(--f-ui); border-bottom: 1px solid var(--line); }
.nav__sheet a:last-child { border: 0; }
.nav.is-open .nav__sheet { display: block; }
@media (max-width: 1020px) { .nav__links, .nav__cta { display: none; } .nav__menu { display: grid; } .lockup__by { display: none; } }
@media (max-width: 420px) { .lockup { gap: 10px; } .lockup__sift { height: 19px; } .lockup__aether { height: 14px; } .nav__bar { padding-left: 16px; } }

/* ---------- reading HUD (the page is "being read") ---------- */
.hud { position: fixed; z-index: 45; transition: transform 0.6s var(--ease-out), opacity 0.6s, padding 0.5s var(--ease-out), gap 0.5s var(--ease-out); right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(14, 16, 20, 0.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--fg-2); text-transform: uppercase; transform: translateY(0); }
.hud.is-off { transform: translateY(140%); opacity: 0; }
.hud > span { transition: opacity 0.35s, max-width 0.6s var(--ease-out); max-width: 30ch; white-space: nowrap; overflow: hidden; }
.hud.is-mini { padding: 0 9px; gap: 0; background: rgba(14, 16, 20, 0.5); }
.hud.is-mini > span { opacity: 0; max-width: 0; }
.hud.is-mini .hud__bar { opacity: 0; }
.hud__ring { width: 22px; height: 22px; }
.hud__page { color: var(--fg); font-variant-numeric: tabular-nums; }
.hud__name { color: var(--fg-3); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud__bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: rgba(255, 255, 255, 0.08); overflow: hidden; border-radius: 1px; }
.hud__bar i { position: absolute; inset: 0; background: var(--red-lift); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 640px) { .hud__name { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 1020px); padding-top: calc(var(--nav-h) + 72px); padding-bottom: 72px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 74% 48%, rgba(183, 57, 31, 0.16), transparent 62%), radial-gradient(40% 50% at 10% 100%, rgba(47, 111, 192, 0.08), transparent 70%), var(--ink); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; padding-block: 24px; }
/* "Product of Aether AI" badge: glass pill, a red comet orbiting its edge (the Sift ring motif), Aether mark spins in */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hero__eyebrow { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 17px 0 16px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px -16px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 0.9rem/1 var(--f-ui); letter-spacing: -0.005em; color: var(--fg-2); text-decoration: none; transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), color 0.5s var(--ease-out); }
.hero__eyebrow::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--sweep), rgba(226, 85, 60, 0) 0deg, rgba(226, 85, 60, 0) 240deg, rgba(226, 85, 60, 0.85) 322deg, rgba(255, 222, 210, 0.95) 346deg, rgba(226, 85, 60, 0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: sweep 6s linear infinite; }
.hero__eyebrow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(226, 85, 60, 0); transition: box-shadow 0.6s var(--ease-out); }
@keyframes sweep { to { --sweep: 360deg; } }
.hero__eyebrow-label { white-space: nowrap; }
.hero__eyebrow-logo { display: inline-flex; align-items: center; gap: 7px; }
.hero__eyebrow-mark { width: 20px; height: 20px; display: block; transition: transform 1.3s var(--ease-out), filter 0.5s; animation: markin 1.8s var(--ease-out) 0.45s backwards; }
.hero__eyebrow-word { width: 59px; height: auto; display: block; opacity: 0.94; transition: opacity 0.4s; }
@keyframes markin { from { transform: rotate(-300deg) scale(0.4); opacity: 0; } 60% { opacity: 1; } }
.hero__eyebrow:hover, .hero__eyebrow:focus-visible { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -16px rgba(0, 0, 0, 0.7); }
.hero__eyebrow:hover::after, .hero__eyebrow:focus-visible::after { box-shadow: 0 0 0 5px rgba(226, 85, 60, 0.1), 0 0 26px -2px rgba(226, 85, 60, 0.35); }
.hero__eyebrow:hover .hero__eyebrow-mark, .hero__eyebrow:focus-visible .hero__eyebrow-mark { transform: rotate(360deg); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45)); }
.hero__eyebrow:hover .hero__eyebrow-word { opacity: 1; }
.hero__eyebrow:focus-visible { outline: none; }
.hero__title { margin: 28px 0 0; font: 700 var(--t-hero)/0.9 var(--f-disp); letter-spacing: -0.055em; text-wrap: balance; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .data { color: var(--red-lift); position: relative; }
.hero__title .data::after { content: ""; position: absolute; left: 0.02em; right: 0.04em; bottom: 0.06em; height: 0.06em; background: linear-gradient(90deg, var(--red-lift), rgba(226, 85, 60, 0)); transform-origin: left; animation: underline 1.6s 1.1s var(--ease-out) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__lead { margin-top: 28px; max-width: 30ch; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.38; color: var(--fg-2); letter-spacing: -0.01em; }
.hero__lead strong { color: var(--fg); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 640px; }
.proof { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.proof b { font: 600 1.35rem/1 var(--f-disp); letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.proof b em { font-style: normal; color: var(--red-lift); }
.proof span { font: 500 0.7rem/1.35 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.hero__note { position: absolute; right: max(var(--gut), env(safe-area-inset-right, 0px)); bottom: 28px; z-index: 2; font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); display: flex; align-items: center; gap: 8px; }
.hero__note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-lift); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--fg-2); animation: scrollcue 2s infinite var(--ease-io); }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
/* load sequence */
.js .hero [data-in] { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 120ms); }
.js .hero__title .ln > span { animation: lineup 1.15s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 0; display: block; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__canvas { position: relative; inset: auto; height: 620px; margin-top: 12px; }
  .hero__stage { order: 2; }
  .hero__note { position: static; justify-content: center; padding: 0 24px 36px; text-align: center; line-height: 1.5; }
  .hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .proof b { font-size: 1.05rem; }
  .proof span { font-size: 0.6rem; letter-spacing: 0.04em; }
  .hero__ctas { margin-top: 32px; }
  .hero__scroll { display: none; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 500 clamp(1rem, 0.9rem + 0.5vw, 1.35rem)/1 var(--f-disp); letter-spacing: -0.01em; color: var(--fg-2); white-space: nowrap; }
.marquee__item::after { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--red-lift); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reveal (below the fold; content above the fold animates on load) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
/* headline scan: a red line sweeps the heading as it reveals */
.scan { position: relative; }
.scan::after { content: ""; position: absolute; left: -2%; right: -2%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red-lift) 18%, var(--red-lift) 82%, transparent); box-shadow: 0 0 18px rgba(226, 85, 60, 0.7); opacity: 0; pointer-events: none; }
.js .scan.is-in::after { animation: scanline 1.3s var(--ease-io) both; }
@keyframes scanline { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---------- module mounts ---------- */
.mod { position: relative; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(120px, 16vw, 220px); }
.cta__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cta__title { padding-bottom: 0.08em; font: 700 clamp(3rem, 1.4rem + 7vw, 8rem)/0.92 var(--f-disp); letter-spacing: -0.055em; margin: 26px auto 0; max-width: 12ch; text-wrap: balance; }
.cta__title em { font-style: normal; color: var(--red-lift); }
.cta .lead { margin-inline: auto; }
.cta__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 64px 40px; background: var(--ink); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 40px; }
.foot__brand p { color: var(--fg-3); max-width: 38ch; margin: 18px 0 0; font-size: 0.95rem; }
.foot h4 { margin: 0 0 16px; font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--fg-2); transition: color 0.3s; }
.foot ul a:hover { color: var(--fg); }
.foot__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.8rem; color: var(--fg-3); }
.foot__legal p { margin: 0; max-width: 80ch; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot__brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal], .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}
