/* Blevcorp site styles.
   Brand tokens: literal copy of blevcorp-site-spec/design-tokens.md §8 (do not change colors here without updating the spec). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --color-bg-base: #1C1C1E;
  --color-surface-1: #2A2A2D;
  --color-surface-2: #36363A;
  --color-surface-3: #444448;
  --color-hero-glow: #7ACBF5;
  --color-specular: #BDE8FB;
  --color-secondary: #3D7FA8;
  --color-structural: #8C8C92;
  --color-charcoal: #3F3F43;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #CFCFD4;
  --color-success: #5FBF8F;
  --color-warning: #E3A94E;
  --color-error: #E36B6B;

  --font-family-base: "Geist", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px; --space-11: 160px;

  --radius-sm: 8px; --radius-md: 16px; --radius-pill: 999px;

  --motion-fast: 150ms; --motion-slow: 300ms;
  --motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Derived (hairlines and tints built only from brand colors) */
  --hair: rgba(207, 207, 212, 0.10);
  --hair-strong: rgba(207, 207, 212, 0.16);
  --hair-glow: rgba(189, 232, 251, 0.22);
  --max-wide: 1200px;
  --max-text: 680px;
  --header-h: 64px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-bg-base); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg-base); color: var(--color-text-primary);
  font-family: var(--font-family-base); font-size: 16px; line-height: 26px; font-weight: 400;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--color-hero-glow); text-decoration: none; transition: color var(--motion-fast) var(--motion-ease-out); }
a:hover { color: var(--color-specular); }
::selection { background: rgba(122, 203, 245, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--color-hero-glow); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--color-surface-2); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 16px; }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 7.2vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; margin: 0; }
h1, .h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.038em; margin: 0 0 var(--space-5); }
h2, .h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 var(--space-5); }
h3, .h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.012em; margin: 0 0 var(--space-3); }
p { margin: 0 0 var(--space-4); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--color-text-secondary); letter-spacing: -0.006em; }
.muted { color: var(--color-text-secondary); }
.dim { color: var(--color-structural); }
.accent { color: var(--color-hero-glow); }
.eyebrow { display: inline-block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; color: var(--color-hero-glow); margin-bottom: var(--space-4); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(var(--max-text) + 2 * var(--gutter)); }
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section.compact { padding: clamp(72px, 8vw, 112px) 0; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--hair-strong) 20%, var(--hair-strong) 80%, transparent); border: 0; margin: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { max-width: 620px; margin-bottom: 0; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  transition: background var(--motion-slow) var(--motion-ease-out), border-color var(--motion-slow) var(--motion-ease-out), backdrop-filter var(--motion-slow) var(--motion-ease-out);
  border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.menu-open { background: rgba(28, 28, 30, 0.72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-bottom-color: var(--hair); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
main { padding-top: var(--header-h); }
main.flush { padding-top: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 30px; height: 30px; }
.wordmark { font-size: 18px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.wordmark .blev { color: var(--color-hero-glow); }
.wordmark .corp { color: var(--color-structural); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--color-text-secondary); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-pill); transition: color var(--motion-fast) var(--motion-ease-out), background var(--motion-fast) var(--motion-ease-out); }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav .nav-cta { margin-left: 8px; color: var(--color-bg-base); background: var(--color-text-primary); }
.nav .nav-cta:hover { color: var(--color-bg-base); background: var(--color-specular); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-2) var(--gutter) var(--space-6); background: rgba(28, 28, 30, 0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: #fff; border-radius: 0; border-bottom: 1px solid var(--hair); }
  .nav .nav-cta { margin: var(--space-5) 0 0; text-align: center; border-radius: var(--radius-pill); padding: 14px; font-size: 16px; border: 0; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: var(--radius-pill); cursor: pointer; border: 0; white-space: nowrap;
  transition: transform var(--motion-fast) var(--motion-ease-out), background var(--motion-fast) var(--motion-ease-out), box-shadow var(--motion-slow) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out); }
.btn .chev { width: 14px; height: 14px; transition: transform var(--motion-fast) var(--motion-ease-out); }
.btn:hover .chev { transform: translateX(2px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-hero-glow); color: var(--color-bg-base);
  box-shadow: 0 0 0 1px rgba(189, 232, 251, 0.5) inset, 0 8px 32px -8px rgba(122, 203, 245, 0.55); }
.btn-primary:hover { color: var(--color-bg-base); background: #8DD4F7; box-shadow: 0 0 0 1px rgba(189, 232, 251, 0.7) inset, 0 10px 40px -8px rgba(122, 203, 245, 0.7); }
.btn-secondary { background: rgba(255, 255, 255, 0.04); color: #fff; box-shadow: 0 0 0 1px var(--hair-strong) inset; }
.btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(207, 207, 212, 0.28) inset; }
.btn:disabled { background: var(--color-structural); color: var(--color-bg-base); opacity: 0.5; box-shadow: none; transform: none; cursor: not-allowed; }
.text-link { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; color: var(--color-hero-glow); }
.text-link .chev { width: 14px; height: 14px; transition: transform var(--motion-fast) var(--motion-ease-out); }
.text-link:hover .chev { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 0%, transparent 75%); opacity: 0.55; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 980px; margin: 0 auto; padding: calc(var(--header-h) + clamp(64px, 11vh, 128px)) var(--gutter) 0; }
.hero-content .lead { max-width: 600px; margin: var(--space-6) auto var(--space-7); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--color-text-secondary);
  padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.03); box-shadow: 0 0 0 1px var(--hair-strong) inset; margin-bottom: var(--space-6); }
.pill .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(122, 203, 245, 0.14); }
.pill .dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-hero-glow); box-shadow: 0 0 10px var(--color-hero-glow); }
/* Video stage: never upscaled past the source's native width, feathered into the canvas. */
.hero-stage { position: relative; z-index: 1; width: min(1280px, 118vw); aspect-ratio: 16 / 9; margin: clamp(-120px, -8vw, -48px) auto 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); }
.hero-stage video, .hero-stage img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage img { position: absolute; inset: 0; }
.hero-stage video { position: relative; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--color-bg-base)); }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-stage { width: 170vw; margin-left: -35vw; margin-top: -24px; }
}

/* Load-in for hero */
.rise { opacity: 0; transform: translateY(14px); animation: rise 900ms var(--motion-ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Page intro ---------- */
.page-intro { position: relative; isolation: isolate; padding: clamp(112px, 14vw, 176px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.page-intro .hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 30% 0%, #000 0%, transparent 70%); }
.page-intro .bloom { position: absolute; z-index: -2; width: 720px; height: 480px; left: -120px; top: -200px; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 127, 168, 0.28), transparent); filter: blur(20px); }
.page-intro h1 { max-width: 900px; }
.page-intro .lead { max-width: 640px; margin-bottom: 0; }

/* ---------- Cards ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(42, 42, 45, 0.9), rgba(42, 42, 45, 0.55)); border-radius: 20px; padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 0 0 1px var(--hair) inset, 0 1px 0 0 rgba(255, 255, 255, 0.05) inset; overflow: hidden; isolation: isolate;
  transition: box-shadow var(--motion-slow) var(--motion-ease-out), transform var(--motion-slow) var(--motion-ease-out); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--motion-slow) var(--motion-ease-out);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 203, 245, 0.10), transparent 60%); }
.card:hover { box-shadow: 0 0 0 1px var(--hair-glow) inset, 0 1px 0 0 rgba(255, 255, 255, 0.06) inset; }
.card:hover::before { opacity: 1; }
.card p { color: var(--color-text-secondary); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--space-7);
  background: linear-gradient(180deg, rgba(122, 203, 245, 0.16), rgba(122, 203, 245, 0.04)); box-shadow: 0 0 0 1px rgba(122, 203, 245, 0.22) inset; color: var(--color-hero-glow); }
.card .icon svg { width: 22px; height: 22px; }
.card .index { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); font-size: 13px; font-weight: 500; color: var(--color-structural); font-variant-numeric: tabular-nums; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Path cards (two ways to work) */
.path { display: flex; flex-direction: column; min-height: 420px; }
.path .tag { font-size: 13px; font-weight: 600; color: var(--color-structural); margin-bottom: var(--space-5); }
.path h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: var(--space-4); }
.path ul { list-style: none; padding: 0; margin: var(--space-6) 0 0; border-top: 1px solid var(--hair); }
.path li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--color-text-secondary); font-size: 15px; line-height: 22px; }
.path li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--color-structural); transform: translateY(-2px); }
.path .foot { margin-top: auto; padding-top: var(--space-7); }
.path.featured { box-shadow: 0 0 0 1px rgba(122, 203, 245, 0.30) inset, 0 1px 0 0 rgba(255, 255, 255, 0.06) inset, 0 30px 80px -40px rgba(122, 203, 245, 0.35); }
.path.featured .tag { color: var(--color-hero-glow); }
.path.featured li::before { background: var(--color-hero-glow); box-shadow: 0 0 8px rgba(122, 203, 245, 0.8); }
.path.featured::after { content: ""; position: absolute; inset: -1px -1px auto; height: 1px; background: linear-gradient(90deg, transparent, var(--color-specular), transparent); opacity: 0.7; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.split .prose p { color: var(--color-text-secondary); font-size: 17px; line-height: 1.7; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.emblem-wrap { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.emblem-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 203, 245, 0.20), transparent 70%); filter: blur(10px); }
.emblem-wrap .ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--hair) inset; }
.emblem-wrap .ring.r2 { inset: 12%; box-shadow: 0 0 0 1px var(--hair-strong) inset; }
.emblem-wrap img { position: relative; width: 62%; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { filter: drop-shadow(0 0 18px rgba(122, 203, 245, 0.18)); } 50% { filter: drop-shadow(0 0 34px rgba(122, 203, 245, 0.34)); } }

/* Statement */
.statement { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 500; letter-spacing: -0.028em; color: var(--color-structural); max-width: 980px; margin: 0; }
.statement strong { color: var(--color-text-primary); font-weight: 500; }

/* Rows (Solutions detail) */
.rows { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--hair); }
.row .label { font-size: 13px; font-weight: 600; color: var(--color-hero-glow); margin-bottom: var(--space-3); font-variant-numeric: tabular-nums; }
.row h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.028em; }
.row .body p { color: var(--color-text-secondary); font-size: 17px; line-height: 1.7; max-width: 640px; }
@media (max-width: 960px) { .row { grid-template-columns: 1fr; gap: var(--space-4); } }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); margin-top: var(--space-7); padding: var(--space-6);
  border-radius: 16px; background: linear-gradient(90deg, rgba(122, 203, 245, 0.08), rgba(122, 203, 245, 0.02)); box-shadow: 0 0 0 1px rgba(122, 203, 245, 0.22) inset; }
.callout p { margin: 0 !important; color: var(--color-text-primary) !important; font-size: 17px; font-weight: 500; max-width: 440px; }

/* Closing CTA */
.cta { position: relative; isolation: isolate; text-align: center; border-radius: 28px; padding: clamp(72px, 9vw, 128px) var(--gutter); overflow: hidden;
  background: linear-gradient(180deg, rgba(42, 42, 45, 0.7), rgba(28, 28, 30, 0.2)); box-shadow: 0 0 0 1px var(--hair) inset; }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60%; width: 900px; height: 600px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 203, 245, 0.22), rgba(61, 127, 168, 0.10) 50%, transparent); }
.cta::after { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(189, 232, 251, 0.6), transparent); }
.cta h2 { max-width: 760px; margin: 0 auto var(--space-7); }
.cta .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { margin: 0; border-top: 1px solid var(--hair); }
.facts div { padding: var(--space-5) 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: 13px; font-weight: 500; color: var(--color-structural); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 18px; line-height: 28px; letter-spacing: -0.01em; }
.form-card { padding: clamp(24px, 4vw, 48px); }
.form-card:hover { box-shadow: 0 0 0 1px var(--hair) inset, 0 1px 0 0 rgba(255, 255, 255, 0.05) inset; }
.field { margin-bottom: var(--space-5); }
.field label, .field legend { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--color-text-primary); margin-bottom: var(--space-2); padding: 0; }
.field .req { color: var(--color-structural); font-weight: 400; }
.field .hint { font-size: 14px; line-height: 20px; color: var(--color-text-secondary); margin: var(--space-2) 0 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.input, .textarea { width: 100%; font-family: inherit; font-size: 16px; line-height: 24px; color: var(--color-text-primary);
  background: rgba(28, 28, 30, 0.7); border: 0; box-shadow: 0 0 0 1px var(--color-charcoal) inset; border-radius: 10px; padding: 12px 14px;
  transition: box-shadow var(--motion-fast) var(--motion-ease-out), background var(--motion-fast) var(--motion-ease-out); }
.input:hover, .textarea:hover { box-shadow: 0 0 0 1px var(--color-surface-3) inset; }
.input::placeholder, .textarea::placeholder { color: var(--color-structural); }
.input:focus, .textarea:focus { outline: none; background: var(--color-bg-base); box-shadow: 0 0 0 1px var(--color-hero-glow) inset, 0 0 0 4px rgba(122, 203, 245, 0.14); }
.textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; margin: 0 0 var(--space-5); padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--color-charcoal) inset; background: rgba(28, 28, 30, 0.7); color: var(--color-text-secondary); font-size: 14px; line-height: 20px;
  transition: box-shadow var(--motion-fast) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out), background var(--motion-fast) var(--motion-ease-out); }
.choice span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--color-structural) inset; transition: box-shadow var(--motion-fast) var(--motion-ease-out); }
.choice input:hover + span { box-shadow: 0 0 0 1px var(--color-surface-3) inset; }
.choice input:checked + span { box-shadow: 0 0 0 1px var(--color-hero-glow) inset; color: #fff; background: rgba(122, 203, 245, 0.06); }
.choice input:checked + span::before { box-shadow: 0 0 0 4px var(--color-hero-glow) inset; }
.choice input:focus-visible + span { box-shadow: 0 0 0 1px var(--color-hero-glow) inset, 0 0 0 4px rgba(122, 203, 245, 0.2); }
.build-field { padding: var(--space-5); border-radius: 12px; background: rgba(122, 203, 245, 0.05); box-shadow: 0 0 0 1px rgba(122, 203, 245, 0.18) inset; animation: rise 300ms var(--motion-ease-out); }
.build-field[hidden] { display: none; }
.form-status { margin: var(--space-4) 0 0; font-size: 14px; line-height: 20px; }
.form-status.ok { color: var(--color-success); }
.form-status.err { color: var(--color-error); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Notices / legal ---------- */
.notice { border-radius: 10px; padding: var(--space-4) var(--space-5); font-size: 14px; line-height: 20px; margin-bottom: var(--space-7); box-shadow: 0 0 0 1px rgba(227, 169, 78, 0.4) inset; background: rgba(227, 169, 78, 0.07); color: #F1D3A2; }
.notice strong { color: var(--color-warning); font-weight: 600; }
.placeholder-token { background: rgba(227, 169, 78, 0.12); color: #F1D3A2; border-radius: 4px; padding: 1px 5px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); }
.legal h2 { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; margin: var(--space-7) 0 var(--space-3); }
.legal p { color: var(--color-text-secondary); font-size: 16px; line-height: 1.75; }
.legal .effective { color: var(--color-structural); font-size: 14px; }

.faq:empty { display: none; }
.faq details { padding: var(--space-5) 0; border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(72px, 8vw, 112px) 0 var(--space-7); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-7); }
.footer-brand p { color: var(--color-structural); font-size: 14px; line-height: 22px; margin-top: var(--space-5); }
.footer-col h2 { font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: var(--color-structural); margin: 0 0 var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-text-secondary); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(56px, 7vw, 96px); padding-top: var(--space-5); border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); color: var(--color-structural); font-size: 13px; line-height: 20px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--motion-ease-out), transform 700ms var(--motion-ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .rise { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise { opacity: 1; transform: none; animation: none; transition: none; }
  .emblem-wrap img { animation: none; }
  .hero-stage video { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Hero canvas + drifting deep-cyan bloom behind it */
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bloom { position: absolute; inset: 10% 15% 5%; border-radius: 50%; filter: blur(40px); opacity: 0.9;
  background: radial-gradient(closest-side at 42% 55%, rgba(61, 127, 168, 0.42), transparent 70%), radial-gradient(closest-side at 62% 45%, rgba(61, 127, 168, 0.30), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(-3%, 1%, 0) scale(1); } 100% { transform: translate3d(3%, -2%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-bloom { animation: none; } }

/* Stage sits behind the whole hero (spec: the loop is atmosphere behind the headline) */
.hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 34% at 50% 44%, rgba(28, 28, 30, 0.72) 0%, rgba(28, 28, 30, 0.35) 55%, transparent 100%); }
.hero-content { padding-bottom: clamp(120px, 16vh, 200px); margin-top: auto; margin-bottom: auto; padding-top: calc(var(--header-h) + 48px); }
.hero { justify-content: center; }
@media (max-width: 760px) { .hero { min-height: 100svh; } .hero-stage { width: 100%; margin: 0; } .hero-stage::after { background: radial-gradient(ellipse 80% 40% at 50% 42%, rgba(28, 28, 30, 0.75), transparent 100%); } }

/* Final hero composition: headline first, the palmetto grows in the stage right beneath it. */
.hero { min-height: 0; justify-content: flex-start; }
.hero-content { margin: 0 auto; padding: calc(var(--header-h) + clamp(56px, 9vh, 104px)) var(--gutter) 0; }
.hero-stage { position: relative; inset: auto; width: min(1400px, 100%); height: clamp(380px, 56vh, 620px); margin: clamp(-72px, -4vw, -24px) auto 0;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 55%, transparent 100%); }
.hero-stage::after { display: none; }
.hero-fade { height: 18%; }
@media (max-width: 760px) { .hero { min-height: 0; } .hero-stage { height: 420px; width: 100%; margin-top: -8px; } }
.emblem-wrap img { height: auto; width: 56%; }
.nav .nav-cta[aria-current="page"] { color: var(--color-bg-base); }

/* ===== Round 2: more alive ===== */
/* Hero headline, word by word */
.words .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(8px);
  animation: wordIn 1000ms var(--motion-ease-out) forwards; animation-delay: calc(var(--w) * 70ms + 160ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* Slow gradient mesh + film grain (brand blues only) */
.mesh { position: absolute; inset: -10% -10% 0; z-index: -2; pointer-events: none; overflow: hidden; opacity: 0.7; }
.mesh i { position: absolute; border-radius: 50%; will-change: transform; }
.mesh .b1 { width: 46vw; height: 46vw; left: 8%; top: 18%; background: radial-gradient(circle, rgba(61,127,168,0.30), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.mesh .b2 { width: 40vw; height: 40vw; right: 6%; top: 8%; background: radial-gradient(circle, rgba(122,203,245,0.16), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.mesh .b3 { width: 36vw; height: 36vw; left: 34%; top: 46%; background: radial-gradient(circle, rgba(189,232,251,0.07), transparent 62%); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12vw, 6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 10vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-8vw, -8vh) scale(1.2); } }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-parallax] { transition: transform 600ms var(--motion-ease-out); will-change: transform; }

/* Scroll-lit statement */
.manifesto { padding: clamp(96px, 12vw, 180px) 0 clamp(48px, 6vw, 96px); }
.lit { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; max-width: 20ch; margin: 0 auto; text-align: center; text-wrap: balance; }
@media (min-width: 900px) { .lit { max-width: 24ch; } }
.lit .lw { color: rgba(207, 207, 212, 0.2); transition: color 400ms var(--motion-ease-out); }
.lit .lw.on { color: var(--color-text-primary); }
.lit .lw.glow.on { color: var(--color-hero-glow); }

/* Pillar visuals */
.pillar .viz { position: relative; height: 128px; margin: -8px -8px var(--space-6); border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(61,127,168,0.18), transparent 70%), rgba(28, 28, 30,0.5); box-shadow: 0 0 0 1px var(--hair) inset; }
.pillar .viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar .more { margin-top: var(--space-4); font-size: 15px; color: var(--color-structural); }
.viz-nodes .links path { stroke: var(--color-secondary); stroke-width: 1.4; stroke-dasharray: 400; stroke-dashoffset: 400; }
.viz-nodes .nodes circle { fill: var(--color-bg-base); stroke: var(--color-specular); stroke-width: 1.4; opacity: 0; }
.viz-nodes .nodes .hot { fill: var(--color-hero-glow); stroke: none; filter: drop-shadow(0 0 6px rgba(122,203,245,0.8)); }
.in .viz-nodes .links path { animation: draw 1600ms var(--motion-ease-out) 300ms forwards; }
.in .viz-nodes .nodes circle { animation: pop 500ms var(--motion-ease-out) forwards, pulse 3.2s ease-in-out 2s infinite; }
.in .viz-nodes .nodes circle:nth-child(2n) { animation-delay: 700ms, 2.6s; }
.in .viz-nodes .nodes circle:nth-child(3n) { animation-delay: 1000ms, 3.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 50% { opacity: 0.45; } }
.viz-loop .track { stroke: var(--hair-strong); stroke-width: 1.4; }
.viz-loop .arc { stroke: var(--color-hero-glow); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 60 179; transform-origin: 120px 60px; animation: spin 4s linear infinite; filter: drop-shadow(0 0 5px rgba(122,203,245,0.6)); }
.viz-loop .runner { fill: var(--color-specular); transform-origin: 120px 60px; animation: spin 4s linear infinite; }
.viz-loop .ver { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 18px; overflow: hidden; font-size: 13px; font-weight: 600; color: var(--color-text-primary); font-variant-numeric: tabular-nums; }
.viz-loop .ver span { display: block; height: 18px; line-height: 18px; text-align: center; animation: ver 16s steps(1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ver { 0% { transform: translateY(0); } 25% { transform: translateY(-18px); } 50% { transform: translateY(-36px); } 75% { transform: translateY(-54px); } }
.viz-home { display: grid; place-items: center; }
.viz-home img { position: relative; z-index: 1; width: 84px; height: 84px; }
.viz-home .halo { position: absolute; width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(189,232,251,0.25); animation: halo 4s var(--motion-ease-out) infinite; }
.viz-home .h2 { animation-delay: 2s; }
@keyframes halo { from { transform: scale(0.9); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }

/* Story: sticky product window that evolves with the steps */
.story-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 960px) { .story-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); } }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: clamp(28px, 6vh, 72px) 0; border-top: 1px solid var(--hair); opacity: 0.35; transition: opacity 400ms var(--motion-ease-out); }
.step:first-child { border-top: 0; padding-top: 0; }
.step.active { opacity: 1; }
.step .n { display: block; font-size: 13px; font-weight: 600; color: var(--color-hero-glow); margin-bottom: var(--space-3); font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
.step p { color: var(--color-text-secondary); margin: 0; max-width: 42ch; }
@media (min-width: 960px) { .step { min-height: 44vh; display: flex; flex-direction: column; justify-content: center; } }
.demo-wrap { position: relative; }
@media (min-width: 960px) { .demo-wrap { position: sticky; top: calc(50vh - 220px); align-self: start; } }
@media (max-width: 959px) { .demo-wrap { order: -1; } }
.demo { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(54, 54, 58,0.7), rgba(42, 42, 45,0.7));
  box-shadow: 0 0 0 1px var(--hair-strong) inset, 0 40px 120px -40px rgba(122,203,245,0.25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.demo::before { content: ""; position: absolute; inset: -40% -20% auto; height: 80%; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(122,203,245,0.22), transparent 60%); }
.chrome { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-surface-3); }
.chrome .url { margin-left: 12px; font-size: 12px; color: var(--color-structural); padding: 4px 12px; border-radius: 999px; background: rgba(28, 28, 30,0.6); }
.chrome .badge { margin-left: auto; position: relative; height: 22px; min-width: 64px; font-size: 12px; font-weight: 600; }
.chrome .badge b { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; background: rgba(122,203,245,0.14); color: var(--color-hero-glow); opacity: 0; transform: translateY(6px); transition: all 400ms var(--motion-ease-out); white-space: nowrap; }
.demo[data-stage="1"] .b1, .demo[data-stage="2"] .b2, .demo[data-stage="3"] .b3, .demo[data-stage="4"] .b4 { opacity: 1; transform: none; }
.screen { display: grid; grid-template-columns: 64px 1fr; min-height: 340px; }
.side { border-right: 1px solid var(--hair); padding: 18px 14px; display: grid; gap: 12px; align-content: start; }
.side span { height: 8px; border-radius: 4px; background: var(--color-surface-3); }
.side span:first-child { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 8px; }
.main { padding: 20px; display: grid; gap: 16px; align-content: start; }
.bar.t { height: 12px; width: 42%; border-radius: 6px; background: var(--color-surface-3); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { height: 72px; border-radius: 12px; padding: 12px; display: grid; align-content: space-between; box-shadow: 0 0 0 1px var(--hair) inset; transition: all 500ms var(--motion-ease-out); }
.tile em { height: 6px; width: 50%; border-radius: 3px; background: var(--color-surface-3); }
.tile strong { height: 14px; width: 70%; border-radius: 4px; background: var(--color-surface-3); transition: background 500ms; }
.chart { height: 96px; border-radius: 12px; box-shadow: 0 0 0 1px var(--hair) inset; overflow: hidden; }
.chart svg { width: 100%; height: 100%; }
.chart .line { fill: none; stroke: var(--color-hero-glow); stroke-width: 2; stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1200ms var(--motion-ease-out); vector-effect: non-scaling-stroke; }
.chart .area { fill: rgba(122,203,245,0.12); opacity: 0; transition: opacity 800ms 400ms; }
.list { display: grid; gap: 10px; }
.list span { height: 10px; border-radius: 5px; background: var(--color-surface-2); transform-origin: left; transition: transform 500ms var(--motion-ease-out), opacity 500ms; }
.list span:nth-child(2) { width: 80%; } .list span:nth-child(3) { width: 60%; }
/* Stage 1: wireframe sketch */
.demo[data-stage="1"] .tile, .demo[data-stage="1"] .chart { box-shadow: none; outline: 1px dashed rgba(140, 140, 146,0.5); outline-offset: -1px; }
.demo[data-stage="1"] .tile strong, .demo[data-stage="1"] .tile em { background: transparent; outline: 1px dashed rgba(140, 140, 146,0.4); }
.demo[data-stage="1"] .list span { transform: scaleX(0.4); opacity: 0.5; }
/* Stage 2+: working */
.demo:not([data-stage="1"]) .tile { background: rgba(28, 28, 30,0.55); }
.demo:not([data-stage="1"]) .tile:first-child strong { background: var(--color-specular); }
.demo:not([data-stage="1"]):not([data-stage="2"]) .chart .line { stroke-dashoffset: 0; }
.demo:not([data-stage="1"]):not([data-stage="2"]) .chart .area { opacity: 1; }
.demo[data-stage="4"] .tile:nth-child(2) strong { background: var(--color-hero-glow); }
.demo[data-stage="4"] .tile:nth-child(3) strong { background: var(--color-secondary); }
.demo[data-stage="4"] .tile { box-shadow: 0 0 0 1px var(--hair-glow) inset; }
.ship { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--color-text-secondary); min-height: 46px; position: relative; }
.ship .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-structural); transition: background 400ms, box-shadow 400ms; }
.demo:not([data-stage="1"]) .ship .dot { background: var(--color-success); box-shadow: 0 0 10px rgba(95,191,143,0.7); }
.ship .txt { position: absolute; left: 36px; opacity: 0; transform: translateY(6px); transition: all 400ms var(--motion-ease-out); }
.ship .t2 { } .demo[data-stage="1"] .ship::after { content: "Sketching the first version"; }
.demo[data-stage="2"] .t2, .demo[data-stage="3"] .t3, .demo[data-stage="4"] .t4 { opacity: 1; transform: none; }

/* Partnership flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-7); position: relative; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
  .flow::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 1px; background: var(--hair-strong); }
  .flow::after { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 1px; background: linear-gradient(90deg, var(--color-secondary), var(--color-hero-glow)); transform-origin: left; transform: scaleX(0); transition: transform 1800ms var(--motion-ease-out) 200ms; box-shadow: 0 0 8px rgba(122,203,245,0.6); }
  .flow.in::after { transform: scaleX(1); } }
.flow .knot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--color-bg-base); box-shadow: 0 0 0 1.5px var(--color-hero-glow), 0 0 12px rgba(122,203,245,0.5); margin-bottom: var(--space-5); position: relative; z-index: 1; }
.flow h3 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 var(--space-2); }
.flow p { color: var(--color-text-secondary); margin: 0; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .words .w { opacity: 1; transform: none; filter: none; animation: none; }
  .mesh i, .viz-loop .arc, .viz-loop .runner, .viz-loop .ver span, .viz-home .halo, .in .viz-nodes .nodes circle { animation: none; }
  .viz-nodes .links path { stroke-dashoffset: 0; } .viz-nodes .nodes circle { opacity: 1; }
  .lit .lw { color: var(--color-text-primary); }
  .step { opacity: 1; }
  .flow::after { transform: scaleX(1); }
}
.no-js .words .w { opacity: 1; transform: none; filter: none; animation: none; }
.no-js .lit .lw, .no-js .step { opacity: 1; color: inherit; }


/* ===== Round 3 ===== */
/* Bento */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; } .bento .tall { grid-row: span 2; } }
.bento h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
.feed { position: relative; margin-top: var(--space-7); height: 250px; overflow: hidden; border-radius: 14px; background: rgba(28, 28, 30,0.55); box-shadow: 0 0 0 1px var(--hair) inset;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.feed-row { position: absolute; left: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(54, 54, 58,0.55); box-shadow: 0 0 0 1px var(--hair) inset; font-size: 14px;
  transition: transform 900ms var(--motion-ease-out), opacity 900ms var(--motion-ease-out); }
.feed-row b { font-weight: 500; color: var(--color-text-primary); }
.feed-row em { font-style: normal; color: var(--color-structural); margin-left: auto; }
.feed-row .tick { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px rgba(95,191,143,0.6); flex: none; }
.feed-row.newest { box-shadow: 0 0 0 1px var(--hair-glow) inset, 0 0 24px -6px rgba(122,203,245,0.45); }
.viz-steer, .viz-people { height: 70px; margin-bottom: var(--space-6); position: relative; }
.viz-steer svg { width: 100%; height: 100%; overflow: visible; }
.viz-steer .p0 { stroke: var(--hair-strong); stroke-width: 1.4; stroke-dasharray: 4 6; }
.viz-steer .p1 { stroke: var(--color-hero-glow); stroke-width: 1.8; filter: drop-shadow(0 0 5px rgba(122,203,245,0.6)); }
.viz-steer .car { fill: var(--color-specular); offset-path: path("M10 55 C70 55 90 40 150 40 S230 55 250 45"); animation: ride 5s var(--motion-ease-out) infinite; }
@keyframes ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.viz-people { display: flex; align-items: center; }
.viz-people span { width: 44px; height: 44px; border-radius: 50%; margin-right: -10px; background: radial-gradient(circle at 50% 38%, var(--color-structural) 0 9px, transparent 10px), radial-gradient(ellipse 16px 11px at 50% 100%, var(--color-structural) 0 99%, transparent), var(--color-surface-2); box-shadow: 0 0 0 3px var(--color-surface-1); }
.viz-people span:nth-child(2) { background-color: var(--color-surface-3); }
.viz-people i { margin-left: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-hero-glow); box-shadow: 0 0 0 0 rgba(122,203,245,0.6); animation: ping 2.4s var(--motion-ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(122,203,245,0.55); } 100% { box-shadow: 0 0 0 16px rgba(122,203,245,0); } }

/* CTA: slow rotating light along the border */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cta { box-shadow: none; }
.cta .ring-border { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, rgba(122,203,245,0.9) 82%, rgba(189,232,251,0.9) 86%, transparent 94%);
  -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: angle 8s linear infinite; }
@keyframes angle { to { --ang: 360deg; } }

/* About emblem orbits */
.emblem-wrap .orbit { position: absolute; inset: 6%; border-radius: 50%; animation: spin 18s linear infinite; pointer-events: none; }
.emblem-wrap .orbit.o2 { inset: -4%; animation-duration: 28s; animation-direction: reverse; }
.emblem-wrap .orbit i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--color-hero-glow); box-shadow: 0 0 12px rgba(122,203,245,0.9); }
.emblem-wrap .orbit.o2 i { background: var(--color-specular); width: 6px; height: 6px; }

/* Audience cards */
.audience { margin: var(--space-2) 0 var(--space-6); gap: 16px; }
.aud h3 { font-size: 19px; margin: var(--space-5) 0 var(--space-2); }
.aud p { font-size: 15px; }
.aud-mark { display: flex; gap: 6px; height: 36px; align-items: center; }
.aud-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--color-hero-glow); box-shadow: 0 0 14px rgba(122,203,245,0.7); }
.aud-mark.m2 i { background: var(--color-secondary); box-shadow: 0 0 10px rgba(61,127,168,0.7); }
.aud-mark.m2 i:first-child { background: var(--color-hero-glow); }

@media (prefers-reduced-motion: reduce) {
  .viz-steer .car, .viz-people i, .cta .ring-border, .emblem-wrap .orbit { animation: none; }
  .feed-row { transition: none; }
}

/* ===== Round 4 ===== */
/* Nav hover pill */
.nav { position: relative; }
.nav-hover { position: absolute; top: 0; left: 0; height: 100%; border-radius: var(--radius-pill); background: rgba(207, 207, 212,0.08); opacity: 0; pointer-events: none; z-index: -1;
  transition: transform 260ms var(--motion-ease-out), width 260ms var(--motion-ease-out), opacity 200ms; }
.nav:hover .nav-hover.on { opacity: 1; }
/* Footer link underline */
.footer-col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--motion-ease-out), color var(--motion-fast); padding-bottom: 2px; }
.footer-col a:hover { background-size: 100% 1px; color: #fff; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 700ms var(--motion-ease-out); }

/* Partnership model chooser */
.model { display: grid; gap: var(--space-8); align-items: center; border-radius: 28px; padding: clamp(32px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(42, 42, 45,0.8), rgba(42, 42, 45,0.4)); box-shadow: 0 0 0 1px var(--hair) inset; }
@media (min-width: 960px) { .model { grid-template-columns: 6fr 5fr; } }
.model h2 { margin: 0 0 var(--space-6); }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(28, 28, 30,0.7); box-shadow: 0 0 0 1px var(--hair) inset; margin-bottom: var(--space-6); }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: var(--color-text-secondary); font: inherit; font-size: 15px; font-weight: 500; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color var(--motion-fast); }
.seg button[aria-selected="true"] { color: var(--color-bg-base); }
.seg button:focus-visible { outline: 2px solid var(--color-hero-glow); outline-offset: 2px; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--color-hero-glow); box-shadow: 0 0 24px -4px rgba(122,203,245,0.7); transition: transform 350ms var(--motion-ease-out), width 350ms var(--motion-ease-out); }
.model-panes { min-height: 5.2em; }
.pane { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--color-text-primary); margin: 0; animation: paneIn 450ms var(--motion-ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }
.model .fine { margin: var(--space-6) 0 0; font-size: 14px; color: var(--color-structural); }
.model-viz { display: grid; gap: var(--space-6); }
.orb { position: relative; height: 180px; }
.orb span { position: absolute; top: 50%; width: 140px; height: 140px; margin-top: -70px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 500; transition: transform 600ms var(--motion-ease-out); }
.orb .you { left: 50%; margin-left: -150px; background: radial-gradient(circle, rgba(61,127,168,0.35), rgba(61,127,168,0.08) 70%); box-shadow: 0 0 0 1px rgba(61,127,168,0.5) inset; }
.orb .us { left: 50%; margin-left: 10px; background: radial-gradient(circle, rgba(122,203,245,0.3), rgba(122,203,245,0.06) 70%); box-shadow: 0 0 0 1px rgba(122,203,245,0.45) inset; }
.model[data-k="equity"] .orb .you { transform: translateX(40px); } .model[data-k="equity"] .orb .us { transform: translateX(-40px); }
.model[data-k="mix"] .orb .you { transform: translateX(20px); } .model[data-k="mix"] .orb .us { transform: translateX(-20px); }
.dealbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(28, 28, 30,0.7); }
.dealbar i { display: block; height: 100%; transition: flex-grow 600ms var(--motion-ease-out); }
.dealbar .a { background: var(--color-hero-glow); flex: 1 1 0; } .dealbar .b { background: var(--color-secondary); flex: 0 1 0; }
.model[data-k="comp"] .dealbar .a { flex-grow: 0; } .model[data-k="comp"] .dealbar .b { flex-grow: 1; }
.model[data-k="mix"] .dealbar .a, .model[data-k="mix"] .dealbar .b { flex-grow: 1; }
.legend { display: flex; gap: var(--space-6); font-size: 13px; color: var(--color-structural); }
.legend b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; } .la { background: var(--color-hero-glow); } .lb { background: var(--color-secondary); }

/* About palmetto story */
.palm-stage { position: relative; height: clamp(360px, 42vw, 520px); }
.palm-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.palm-stage .hero-bloom { inset: 20% 10% 0; }
.glow-word { color: var(--color-hero-glow); font-weight: 600; } .struct-word { color: var(--color-structural); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover::after { transition: none; } .pane { animation: none; } }

/* ===== Round 4b: less blue, bigger hero ===== */
/* Blue does less of the work: labels, numbers and accents go neutral; blue stays for the primary action and the mark. */
.demo { box-shadow: 0 0 0 1px var(--hair-strong) inset, 0 40px 120px -40px rgba(0,0,0,0.7); }
.demo::before { background: radial-gradient(ellipse at 50% 100%, rgba(207, 207, 212,0.08), transparent 60%); }
.mesh .b1 { background: radial-gradient(circle, rgba(61,127,168,0.22), transparent 62%); }
.mesh .b2 { background: radial-gradient(circle, rgba(140, 140, 146,0.14), transparent 62%); }
.mesh .b3 { background: radial-gradient(circle, rgba(63, 63, 67,0.35), transparent 62%); }
.pill .dot { background: var(--color-success); box-shadow: 0 0 8px rgba(95,191,143,0.7); }

/* Bigger hero moment */
.hero { min-height: 100svh; }
.hero .display { font-size: clamp(52px, 9.6vw, 136px); line-height: 0.98; letter-spacing: -0.055em; }
.hero .display .w { background: linear-gradient(180deg, #FFFFFF 30%, #CFCFD4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero-content { max-width: 1240px; padding-top: calc(var(--header-h) + clamp(48px, 9vh, 110px)); }
.hero-content .lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 640px; }
.hero-stage { height: clamp(460px, 68vh, 860px); margin-top: clamp(-150px, -9vw, -40px); }
.hero-stage .hero-bloom { opacity: 0.7; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 22px; height: 36px; margin-left: -11px; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(207, 207, 212,0.35) inset; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--color-text-secondary); animation: cue 1.8s var(--motion-ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) { .hero-stage { height: 440px; margin-top: -24px; } .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; opacity: 1; } }

/* ===== Round 4c: mobile parity ===== */
.hero-stage { margin-top: clamp(-60px, -3vw, -16px); }
@media (max-width: 959px) {
  /* Pin the product window under the header so its changes happen on screen while the steps scroll past */
  .demo-wrap { position: sticky; top: calc(var(--header-h) + 12px); z-index: 2; order: -1; }
  .demo { background: rgba(42, 42, 45,0.96); }
  .screen { min-height: 200px; grid-template-columns: 44px 1fr; }
  .main { padding: 14px; gap: 10px; }
  .tile { height: 52px; } .chart { height: 64px; } .list { display: none; }
  .story-grid { gap: var(--space-6); }
  .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 18vh; border-top: 0; }
  .step:first-child { padding-top: 0; }
  .model-viz { order: -1; } .orb { height: 150px; } .orb span { width: 116px; height: 116px; margin-top: -58px; } .orb .you { margin-left: -124px; } .orb .us { margin-left: 8px; }
  .seg button { padding: 10px 14px; font-size: 14px; }
  .manifesto .lit { text-align: left; margin-left: 0; }
  .hero-content { text-align: center; }
}
@media (max-width: 959px) and (prefers-reduced-motion: reduce) { .flow::after { transform: scaleY(1); } }

@media (max-width: 899px) {
  /* Vertical partnership timeline, same rhythm as the desktop line */
  .flow { padding-left: 0; } .flow li { padding-left: 34px; }
  .flow::before, .flow::after { content: ""; position: absolute; left: 7px; top: 7px; bottom: 7px; width: 1px; }
  .flow::before { background: var(--hair-strong); }
  .flow::after { background: linear-gradient(180deg, var(--color-structural), var(--color-text-primary)); transform-origin: top; transform: scaleY(0); transition: transform 1800ms var(--motion-ease-out) 200ms; }
  .flow.in::after { transform: scaleY(1); }
  .flow .knot { position: absolute; left: 0; margin: 4px 0 0; }
  .flow li { position: relative; }
}
@media (min-width: 960px) { .hero-content { padding-top: calc(var(--header-h) + clamp(32px, 6vh, 80px)); } .hero-content .lead { margin: var(--space-5) auto var(--space-6); } }

/* ===== Round 5 ===== */
/* Small detail: mono labels */
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-hero-glow); }
.eyebrow::before { content: ""; display: inline-block; width: 16px; height: 1px; margin: 0 10px 3px 0; background: currentColor; vertical-align: middle; opacity: 0.7; }
.card .index, .step .n, .chrome .url, .feed-row em, .legend, .map-label, .hero-meta, .callout-tag, .row .label { font-family: var(--font-mono); letter-spacing: 0.02em; }
body { font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, .display { font-weight: 600; }

/* Hero: split, left-aligned headline, annotated palmetto */
.hero.hero-split { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding-top: calc(var(--header-h) + 40px); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 7fr 5fr; gap: 24px; } }
.hero-split .hero-copy { text-align: left; }
.hero-split .display { font-size: clamp(48px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.05em; margin: 24px 0 0; }
.hero-split .display .w { background: linear-gradient(180deg, #FFFFFF 35%, #CFCFD4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero-split .display .w.hl { background: linear-gradient(100deg, #BDE8FB 0%, #7ACBF5 45%, #3D7FA8 100%); -webkit-background-clip: text; background-clip: text; }
.hero-split .lead { margin: 28px 0 36px; max-width: 540px; font-size: clamp(18px, 1.5vw, 21px); }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-split .hero-stage { position: relative; inset: auto; margin: 0; width: 100%; height: clamp(420px, 62vh, 680px); aspect-ratio: auto; }
.hero-split .hero-stage .hero-bloom { inset: 18% 8% 0; opacity: 0.8; }
.hero-split .hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage .tick { position: absolute; width: 14px; height: 14px; border-color: rgba(207, 207, 212,0.28); border-style: solid; border-width: 0; }
.tick.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; } .tick.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.tick.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; } .tick.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.callout-tag { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-text-secondary); white-space: nowrap; opacity: 0; animation: tagIn 12s linear infinite; }
.callout-tag b { color: var(--color-hero-glow); font-weight: 500; }
.callout-tag i { display: block; width: 36px; height: 1px; background: linear-gradient(90deg, rgba(122,203,245,0.9), rgba(122,203,245,0.1)); }
.callout-tag.c1 { top: 12%; right: 2%; flex-direction: row-reverse; } .callout-tag.c1 i { background: linear-gradient(270deg, rgba(122,203,245,0.9), rgba(122,203,245,0.1)); }
.callout-tag.c2 { top: 62%; left: calc(50% + 28px); animation-delay: 0.4s; }
.callout-tag.c3 { top: 92%; right: calc(50% + 84px); flex-direction: row-reverse; animation-delay: 0.8s; } .callout-tag.c3 i { background: linear-gradient(270deg, rgba(122,203,245,0.9), rgba(122,203,245,0.1)); }
@keyframes tagIn { 0%, 38% { opacity: 0; transform: translateY(4px); } 44%, 74% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; } }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-bottom: 32px; font-size: 12px; color: var(--color-structural); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-meta .rule-x { flex: 1; height: 1px; background: var(--hair-strong); }
.hero-split .scroll-cue { display: none; }
@media (max-width: 999px) {
  .hero-inner { padding-top: calc(var(--header-h) + 28px); }
  .hero-split .hero-stage { height: 420px; margin-top: -8px; }
  .callout-tag.c1 { right: 0; top: 6%; }
}
@media (max-width: 560px) { .hero-meta span:last-child { display: none; } .hero-split .hero-stage { height: 380px; } .callout-tag.c3 { right: calc(50% + 60px); } }
@media (prefers-reduced-motion: reduce) { .callout-tag { animation: none; opacity: 1; } }

/* Feed rows: one clean line on any width */
.feed-row { white-space: nowrap; min-width: 0; height: 48px; padding: 0 16px; }
.feed-row b, .feed-row em { overflow: hidden; text-overflow: ellipsis; }
.feed-row em { font-size: 13px; min-width: 0; }
@media (max-width: 560px) { .feed { height: 230px; } .feed-row { left: 10px; right: 10px; font-size: 13px; } }
.feed-row.newest { box-shadow: 0 0 0 1px var(--hair-glow) inset, 0 0 24px -8px rgba(122,203,245,0.5); }
@media (max-width: 899px) { .flow::after { background: linear-gradient(180deg, var(--color-secondary), var(--color-hero-glow)); } }

/* About: scroll-driven zoom into South Carolina and the Midlands */
.scmap { position: relative; height: 320vh; }
.scmap-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.scmap-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; width: 100%; }
@media (min-width: 960px) { .scmap-inner { grid-template-columns: 5fr 7fr; gap: 64px; } }
.scmap-copy h2 { position: relative; height: 1.2em; margin: 0 0 20px; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.04em; }
.scmap-copy h2 span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity 500ms var(--motion-ease-out), transform 500ms var(--motion-ease-out); }
.scmap .s2 { opacity: 0; transform: translateY(12px); color: var(--color-hero-glow); }
.scmap .s3 { color: var(--color-text-secondary); font-size: 17px; line-height: 1.7; max-width: 44ch; opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--motion-ease-out), transform 600ms var(--motion-ease-out); margin: 0; }
.scmap[data-phase="2"] .s1, .scmap[data-phase="3"] .s1 { opacity: 0; transform: translateY(-12px); }
.scmap[data-phase="2"] .s2, .scmap[data-phase="3"] .s2 { opacity: 1; transform: none; }
.scmap[data-phase="3"] .s3 { opacity: 1; transform: none; }
.scmap-art { position: relative; height: min(62vh, 560px); }
.scmap-art svg { width: 100%; height: 100%; overflow: visible; }
.scmap .zoom { transform-box: view-box; transform-origin: var(--ox) var(--oy); transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--z, 1)); }
.scmap .state { fill: rgba(42, 42, 45,0.55); stroke: var(--color-specular); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); filter: drop-shadow(0 0 6px rgba(122,203,245,0.35)); }
.scmap .mid { fill: rgba(122,203,245,0.14); stroke: var(--color-hero-glow); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: var(--midop, 0); transition: opacity 400ms; }
.scmap .pin { fill: var(--color-hero-glow); opacity: var(--midop, 0); filter: drop-shadow(0 0 6px rgba(122,203,245,0.9)); }
.scmap .pin-ring { fill: none; stroke: var(--color-hero-glow); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: var(--midop, 0); transform-box: fill-box; transform-origin: center; animation: pinPing 2.4s var(--motion-ease-out) infinite; }
@keyframes pinPing { from { transform: scale(0.6); } to { transform: scale(2.4); opacity: 0; } }
.map-label { position: absolute; left: 50%; top: 50%; transform: translate(18px, -50%); font-size: 12px; color: var(--color-text-primary); text-transform: uppercase; letter-spacing: 0.08em; opacity: var(--midop, 0); padding: 6px 10px; border-radius: 999px; background: rgba(28, 28, 30,0.8); box-shadow: 0 0 0 1px var(--hair-glow) inset; }
@media (max-width: 959px) { .scmap-art { height: 46vh; order: 2; } .scmap-copy { order: 1; } .scmap .s3 { font-size: 16px; } }
.scmap-art { overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%); }
.scmap-art svg { overflow: hidden; }
.scmap .state { fill-opacity: calc(1 - var(--draw, 1)); }
.scmap-art { -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); }
.scmap .state { fill: rgba(54, 54, 58,0.45); }
.scmap-art { -webkit-mask-image: radial-gradient(farthest-side, #000 74%, transparent 100%); mask-image: radial-gradient(farthest-side, #000 74%, transparent 100%); }
.scmap .state { fill: rgba(54, 54, 58,0.28); }
.scmap .mid { fill: rgba(122,203,245,0.10); }
.scmap .state { stroke-dasharray: var(--dash, 1); }
.scmap .counties { fill: none; stroke: rgba(207, 207, 212,0.16); stroke-width: 0.8; vector-effect: non-scaling-stroke; opacity: var(--co, 0); }
.scmap-art { -webkit-mask-image: radial-gradient(farthest-side, #000 84%, transparent 100%); mask-image: radial-gradient(farthest-side, #000 84%, transparent 100%); }
.callout-tag.c1, .callout-tag.c2, .callout-tag.c3 { flex-direction: row; right: auto; }
.callout-tag.c1 i, .callout-tag.c3 i { background: linear-gradient(90deg, rgba(122,203,245,0.9), rgba(122,203,245,0.1)); }
.callout-tag.c1 { top: 3%; left: calc(50% + 14px); }
.callout-tag.c2 { top: 62%; left: calc(50% + 24px); }
.callout-tag.c3 { top: 91%; left: calc(50% + 86px); }
@media (max-width: 560px) { .callout-tag { font-size: 11px; } .callout-tag i { width: 20px; } .callout-tag.c3 { left: calc(50% + 60px); } }
.hero-split .hero-stage { -webkit-mask-image: none; mask-image: none; overflow: visible; }
.hero-split .hero-stage::after { display: none; }
.callout-tag.c1 { top: 19%; }
@media (max-width: 999px) { .callout-tag.c1 { top: 14%; } }
.callout-tag.c1 { top: 6%; }
@media (max-width: 999px) { .callout-tag.c1 { top: 1%; } }
@media (max-width: 560px) { .callout-tag.c3 { left: calc(50% + 44px); } }

/* ===== Round 6: restraint. Fewer effects, plain confident type, editorial layout ===== */
.kicker { display: block; margin: 0 0 20px; }
h1, h2, h3, .display { letter-spacing: -0.03em; }

/* Hero: plain white type, one blue accent, palmetto alone */
.hero-split .display { font-size: clamp(46px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.04em; margin: 0; color: #fff; max-width: 11ch; }
.hero-split .display em { font-style: normal; color: var(--color-hero-glow); }
.hero-split .lead { max-width: 30ch; font-size: clamp(19px, 1.6vw, 22px); color: var(--color-text-secondary); }
.hero-split .hero-actions { align-items: center; gap: 28px; }
.hero-split .hero-stage { height: clamp(420px, 66vh, 700px); }
.hero-split .hero-grid { opacity: 0.5; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 6fr 5fr; } }

/* Editorial building blocks */
.ed-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.ed-head h2 { margin: 0 0 16px; }
.ed-head .lead { color: var(--color-text-secondary); margin: 0; }
.cols3, .cols2 { display: grid; gap: 40px 48px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .cols3 { grid-template-columns: repeat(3, 1fr); } .cols2 { grid-template-columns: repeat(2, 1fr); } }
.cols3 .col, .cols2 .col { border-top: 1px solid var(--hair-strong); padding-top: 24px; }
.col h3 { font-size: clamp(20px, 1.8vw, 24px); margin: 0 0 12px; }
.col p { color: var(--color-text-secondary); margin: 0 0 12px; }
.col .more { color: var(--color-structural); font-size: 15px; }
.col .num { display: block; font-size: 15px; font-weight: 500; color: var(--color-hero-glow); margin-bottom: 36px; font-variant-numeric: tabular-nums; }
.col .text-link { display: inline-flex; margin-top: 8px; }
.cols2.tight .col h3 { font-size: 20px; }
.ed-split { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .ed-split { grid-template-columns: 4fr 7fr; gap: 64px; } .ed-aside { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; } }
.ed-aside h2 { margin: 0 0 12px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
.ed-aside p { color: var(--color-structural); margin: 0; max-width: 28ch; }
.ed-list { list-style: none; margin: 0; padding: 0; counter-reset: ed; }
.ed-list li { border-top: 1px solid var(--hair-strong); padding: 28px 0 32px; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; counter-increment: ed; }
.ed-list li::before { content: counter(ed, decimal-leading-zero); grid-row: span 2; color: var(--color-hero-glow); font-size: 15px; font-weight: 500; padding-top: 6px; font-variant-numeric: tabular-nums; }
.ed-list h3 { margin: 0 0 8px; font-size: clamp(21px, 2vw, 26px); }
.ed-list p { margin: 0; color: var(--color-text-secondary); max-width: 52ch; }

/* Solutions */
.sol-intro { padding-bottom: clamp(64px, 8vw, 120px); }
.sol-intro-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .sol-intro-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.sol-intro h1 { margin: 0; font-size: clamp(44px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -0.04em; max-width: 12ch; }
.sol-intro .lead { margin: 0; color: var(--color-text-secondary); font-size: 18px; line-height: 1.6; }
.chapter { border-top: 1px solid var(--hair); padding-top: clamp(64px, 8vw, 112px) !important; }
.chapter-no { font-size: 15px; font-weight: 500; color: var(--color-hero-glow); margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.chapter-body .big { font-size: clamp(21px, 2vw, 27px); line-height: 1.45; letter-spacing: -0.015em; color: #fff; margin: 0 0 24px; max-width: 34ch; }
.chapter-body > p { color: var(--color-text-secondary); max-width: 58ch; }
.facts { margin: 40px 0 0; display: grid; grid-template-columns: 1fr; gap: 0 40px; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { border-top: 1px solid var(--hair-strong); padding: 20px 0 28px; }
.facts dt { font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--color-text-secondary); font-size: 16px; }
.model.plain { display: block; background: none; box-shadow: none; padding: 0; margin: 36px 0 28px; border-radius: 0; }
.model.plain .seg { margin-bottom: 20px; }
.model.plain .pane { font-size: 19px; color: #fff; max-width: 46ch; }
.model.plain .model-panes { min-height: 4.8em; }
.note { color: var(--color-structural) !important; font-size: 15px; max-width: 60ch; }
.note .text-link { margin-left: 4px; }

/* ===== Round 7: bring the motion back on the editorial base. Animate content, no glow ===== */
/* Hero art follows the pointer a little */
.hero-stage[data-parallax] { transition: transform 600ms var(--motion-ease-out); will-change: transform; }
/* Pillars: the line animations return, sitting on the rule, no card, no glow */
.cols3 .viz { position: relative; height: 112px; margin: 0 0 20px; overflow: hidden; }
.cols3 .viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cols3 .col .num { margin-bottom: 14px; }
.viz-home .halo { box-shadow: 0 0 0 1px rgba(122,203,245,0.35); }
/* Rules draw across as each column arrives */
.cols3 .col, .cols2 .col, .facts div { border-top-color: transparent; position: relative; }
.cols3 .col::before, .cols2 .col::before, .facts div::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--hair-strong); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--motion-ease-out), background 300ms; transition-delay: calc(var(--i, 0) * 120ms + 100ms); }
.cols3 .col.in::before, .cols2 .col.in::before, .in .facts div::before, .facts.in div::before, .facts div.in::before { transform: none; }
.no-js .cols3 .col::before, .no-js .cols2 .col::before, .no-js .facts div::before { transform: none; }
/* Hover details */
@media (hover: hover) {
  .cols3 .col::after, .cols2 .col::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--color-hero-glow); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--motion-ease-out); }
  .cols3 .col:hover::after, .cols2 .col:hover::after { transform: none; }
  .col h3, .facts dt { transition: color 250ms, transform 400ms var(--motion-ease-out); }
  .cols3 .col:hover h3, .cols2 .col:hover h3 { transform: translateX(4px); }
  .facts div:hover dt { color: var(--color-hero-glow); }
  .text-link .chev, .btn .chev { transition: transform 300ms var(--motion-ease-out); }
  .text-link:hover .chev, .btn:hover .chev { transform: translateX(4px); }
  .ed-list li h3 { transition: transform 400ms var(--motion-ease-out); }
  .ed-list li:hover h3 { transform: translateX(4px); }
}
/* Pinned story, restyled flat: no glow wash, no shadows */
.story .step h3 { transition: color 400ms; }
.story .step.active h3 { color: #fff; }
/* Tracked lists: the row you're reading lights up, a blue line draws down the numbers */
.ed-list[data-track] { position: relative; }
.ed-list[data-track]::after { content: ""; position: absolute; left: 7px; top: 34px; bottom: 32px; width: 1px; background: var(--color-hero-glow); transform-origin: top; transform: scaleY(var(--prog, 0)); opacity: 0.7; }
.ed-list[data-track] li { transition: opacity 400ms var(--motion-ease-out); opacity: 0.4; }
.ed-list[data-track] li.active, .ed-list[data-track] li.past { opacity: 1; }
.ed-list[data-track] li::before { position: relative; z-index: 1; background: var(--color-bg-base); align-self: start; padding-bottom: 6px; }
.ed-list[data-track] li.active::before { color: #fff; }
.no-js .ed-list[data-track] li { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ed-list[data-track] li { opacity: 1; }
  .cols3 .col::before, .cols2 .col::before, .facts div::before { transform: none; transition: none; }
}

/* ===== Round 8: glamorous, not overdone. Neutral gray canvas, brand blues as light ===== */
.ed-head .hl { color: var(--color-hero-glow); }
.col .num, .chapter-no, .ed-list li::before { font-family: var(--font-mono); letter-spacing: 0.02em; }
.cols3 .viz { border-radius: 14px; background: radial-gradient(ellipse at 50% 60%, rgba(122,203,245,0.07), transparent 70%); }
.cols3 .col:hover::after, .cols2 .col:hover::after { box-shadow: 0 0 12px rgba(122,203,245,0.6); }
.ed-list[data-track]::after { box-shadow: 0 0 10px rgba(122,203,245,0.55); }
.ed-list[data-track] li.active::before { color: var(--color-specular); text-shadow: 0 0 14px rgba(122,203,245,0.7); }
.chapter-no { text-shadow: 0 0 18px rgba(122,203,245,0.45); }
.sol-intro h1 em, .chapter h2 em { font-style: normal; color: var(--color-hero-glow); }

/* ===== Round 9: closing CTA as a real moment ===== */
.cta2 { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); background: linear-gradient(180deg, #232326 0%, #1C1C1E 100%); }
@media (min-width: 960px) { .cta2 { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; } }
.cta2 .ring-border { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), rgba(207,207,212,0.10) 0 70%, rgba(122,203,245,0.9) 82%, rgba(189,232,251,0.9) 86%, rgba(207,207,212,0.10) 94%);
  -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: angle 9s linear infinite; }
/* Aurora rising from the bottom edge, slow 6s breathing per the motion spec */
.cta2-aurora { position: absolute; inset: auto -10% -55% -10%; height: 110%; z-index: -1; pointer-events: none; }
.cta2-aurora i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: aurora 6s ease-in-out infinite alternate; }
.cta2-aurora i:first-child { left: 8%; width: 60%; height: 80%; bottom: 0; background: radial-gradient(closest-side, rgba(122,203,245,0.55), transparent); }
.cta2-aurora i:last-child { right: 4%; width: 50%; height: 70%; bottom: 8%; background: radial-gradient(closest-side, rgba(61,127,168,0.6), transparent); animation-delay: -3s; }
@keyframes aurora { from { transform: translate3d(-4%, 6%, 0) scale(0.95); opacity: 0.4; } to { transform: translate3d(4%, -4%, 0) scale(1.05); opacity: 0.65; } }
/* Fine grid that fades toward the top */
.cta2-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(207,207,212,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(207,207,212,0.07) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 75%); mask-image: linear-gradient(0deg, #000 10%, transparent 75%); }
/* Cursor spotlight (desktop) */
.cta2-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 400ms;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(189,232,251,0.10), transparent 60%); }
.cta2:hover .cta2-spot { opacity: 1; }
.cta2-copy .eyebrow { margin-bottom: 20px; }
.cta2 h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 20px; max-width: 14ch; }
.cta-hl { background: linear-gradient(100deg, #7ACBF5 0%, #BDE8FB 40%, #7ACBF5 60%, #3D7FA8 100%); background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1800ms var(--motion-ease-out) 400ms; }
.cta2.in .cta-hl { background-position: 0 0; }
.cta2-sub { color: var(--color-text-secondary); font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; margin: 0 0 36px; }
.cta2 .hero-actions { justify-content: flex-start; }
.cta2 .btn-primary { transition: transform 250ms var(--motion-ease-out), box-shadow 250ms; }
/* What happens next */
.cta2-next { list-style: none; margin: 0; padding: 0; position: relative; }
.cta2-next::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(180deg, #7ACBF5, rgba(122,203,245,0.1));
  transform: scaleY(0); transform-origin: top; transition: transform 1400ms var(--motion-ease-out) 300ms; box-shadow: 0 0 10px rgba(122,203,245,0.5); }
.cta2.in .cta2-next::before { transform: none; }
.cta2-next li { display: grid; grid-template-columns: 32px 1fr; gap: 18px; align-items: start; padding: 14px 0; opacity: 0; transform: translateY(12px);
  transition: opacity 600ms var(--motion-ease-out), transform 600ms var(--motion-ease-out); transition-delay: calc(500ms + var(--i) * 220ms); }
.cta2.in .cta2-next li { opacity: 1; transform: none; }
.cta2-next b { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: #7ACBF5; background: #232326; box-shadow: 0 0 0 1px rgba(122,203,245,0.45), 0 0 16px rgba(122,203,245,0.25); }
.cta2-next span { color: var(--color-text-secondary); font-size: 16px; line-height: 1.5; padding-top: 4px; }
.cta2-next strong { color: #fff; font-weight: 600; }
@media (hover: hover) { .cta2-next li:hover b { color: #1C1C1E; background: #7ACBF5; } .cta2-next b { transition: background 250ms, color 250ms; } }
@media (max-width: 959px) { .cta2 { border-radius: 24px; } .cta2 h2 { max-width: none; } }
@media (prefers-reduced-motion: reduce) {
  .cta2-aurora i, .cta2 .ring-border { animation: none; }
  .cta2-next li, .cta2-next::before { opacity: 1; transform: none; transition: none; }
  .cta-hl { background-position: 0 0; transition: none; }
}
.no-js .cta2-next li { opacity: 1; transform: none; }

/* ===== Round 9b: depth instead of grid lines, family mark, iPhone fixes ===== */
.hero-grid, .cta2-grid { display: none !important; }
/* Layered light field behind everything. Three soft light sources at different depths, moved at different speeds on scroll */
.depth { position: fixed; inset: 0; z-index: -5; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #26262A 0%, #1C1C1E 55%, #161618 100%); }
.depth i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.depth .d1 { width: 70vmax; height: 50vmax; left: -20vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(122,203,245,0.10), transparent); }
.depth .d2 { width: 60vmax; height: 60vmax; right: -25vmax; top: 40vh; background: radial-gradient(closest-side, rgba(61,127,168,0.12), transparent); }
.depth .d3 { width: 90vmax; height: 40vmax; left: 10vw; bottom: -25vmax; background: radial-gradient(closest-side, rgba(255,255,255,0.035), transparent); }
body { background: transparent; }
html { background: #1C1C1E; }
/* Elevation: panels sit above the canvas with a lit top edge and a soft long shadow */
.card, .demo, .cta2, .bento > *, .model:not(.plain) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 2px rgba(0,0,0,0.3), 0 24px 48px -16px rgba(0,0,0,0.55), 0 60px 90px -40px rgba(0,0,0,0.5) !important; }
/* Hero art: 3D tilt toward the pointer, with a lit floor under the palmetto */
.hero-inner { perspective: 1200px; }
.hero-stage[data-parallax] { transform-style: preserve-3d; transition: transform 700ms var(--motion-ease-out); }
.hero-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 60px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122,203,245,0.28), rgba(122,203,245,0.06) 60%, transparent); filter: blur(6px); transform: rotateX(70deg); }
/* Family mark replaces the pill: a short lit rule and plain small caps */
.family-mark { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-secondary); }
.fm-rule { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, #7ACBF5); box-shadow: 0 0 8px rgba(122,203,245,0.8); transform-origin: left; animation: fmrule 1200ms var(--motion-ease-out) 300ms both; }
@keyframes fmrule { from { transform: scaleX(0); } to { transform: none; } }
/* iPhone menu: full-height sheet under the header instead of a clipped dropdown */
@media (max-width: 959px) {
  .nav, .nav.open { position: fixed !important; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--header-h)); z-index: 60;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: rgba(22,22,24,0.94); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; }
  .nav { display: flex !important; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 250ms var(--motion-ease-out), transform 300ms var(--motion-ease-out), visibility 0s linear 300ms; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 250ms var(--motion-ease-out), transform 300ms var(--motion-ease-out); }
  .nav a { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; padding: 18px 0; color: #fff; border-bottom: 1px solid var(--hair); background: none !important; }
  .nav a[aria-current="page"] { color: #7ACBF5; }
  .nav .nav-cta { margin-top: 28px; font-size: 17px; padding: 16px; border-bottom: 0; color: #1C1C1E; background: #fff !important; text-align: center; border-radius: 999px; letter-spacing: 0; }
  .nav .nav-cta[aria-current="page"] { color: #1C1C1E; }
  .nav-hover { display: none; }
  .nav.open a { animation: navin 420ms var(--motion-ease-out) both; }
  .nav.open a:nth-child(2) { animation-delay: 40ms; } .nav.open a:nth-child(3) { animation-delay: 80ms; } .nav.open a:nth-child(4) { animation-delay: 120ms; } .nav.open a:nth-child(5) { animation-delay: 160ms; }
  body.menu-lock { overflow: hidden; }
}
@keyframes navin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* iPhone pinned story: compact window, text fades out before it slides under, active step stays fully readable */
@media (max-width: 959px) {
  .story .demo-wrap { position: sticky; top: calc(var(--header-h) + 8px); z-index: 3; }
  .story .demo-wrap::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 72px; pointer-events: none;
    background: linear-gradient(180deg, #1C1C1E 0%, rgba(28,28,30,0.85) 40%, rgba(28,28,30,0)); }
  .story .demo-wrap::before { content: ""; position: absolute; left: -24px; right: -24px; top: calc(-1 * var(--header-h) - 8px); height: calc(var(--header-h) + 8px); background: #1C1C1E; }
  .story .demo { transform: scale(0.86); transform-origin: top center; margin-bottom: -34px; }
  .story .step { min-height: 55vh; padding: 12vh 0 12vh; justify-content: flex-start; opacity: 0.5; }
  .story .step.active { opacity: 1; }
}
/* Scroll reveals on phones: shorter travel, no fade-through, so text is readable as soon as it appears */
@media (max-width: 959px) {
  .reveal { transform: translateY(14px); transition-duration: 450ms !important; }
}
@media (max-width: 959px) {
  .nav, .nav.open { background: #161618 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .story .demo { transform: none; margin-bottom: 0; }
  .story .demo-wrap { background: #1C1C1E; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 0; }
  .story .demo-wrap::after { left: 0; right: 0; height: 56px; }
  .story .demo-wrap::before { left: 0; right: 0; }
  .story .screen { height: 170px; min-height: 0; overflow: hidden; }
}

/* ===== Round 10: palmetto in the open, no frame ===== */
.hero-stage .tick { display: none !important; }
.hero-split .hero-stage::after { display: block; content: ""; position: absolute; left: 18%; right: 18%; bottom: 1%; height: 70px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122,203,245,0.30), rgba(122,203,245,0.07) 60%, transparent); filter: blur(8px); transform: rotateX(72deg); }
.hero-split .hero-stage .hero-bloom { inset: 8% 0 0; opacity: 0.9; }
.hero-split .hero-stage::after, .hero-stage::after { display: none !important; }

/* ===== Round 11: palmetto labels share one left edge ===== */
.callout-tag.c1, .callout-tag.c2, .callout-tag.c3 { left: calc(50% + 64px) !important; right: auto !important; flex-direction: row !important; }
.callout-tag i { width: 28px !important; }
@media (max-width: 760px) {
  .callout-tag.c1, .callout-tag.c2, .callout-tag.c3 { left: calc(50% + 52px) !important; font-size: 11px; }
  .callout-tag i { width: 20px !important; }
}
@media (max-width: 760px) {
  .callout-tag.c1, .callout-tag.c2, .callout-tag.c3 { left: calc(50% + 14px) !important; font-size: 10.5px; gap: 6px; letter-spacing: 0; }
  .callout-tag i { width: 12px !important; }
  .callout-tag.c3 { top: 86% !important; }
}
@media (min-width: 761px) { .callout-tag.c1, .callout-tag.c2, .callout-tag.c3 { left: calc(50% + 92px) !important; } }
