/* =========================================================================
   Chromoworks: chromoworks.com
   Palette from logo-FINAL (v4 drift + halo)
   ========================================================================= */

:root {
  --bg: #0B090A;
  --bg-2: #120E10;
  --bg-3: #1A1518;
  --ink: #1F1A1D;
  --cream: #FAF5F7;
  --paper: #F3ECE6;
  --paper-2: #EAE1DA;
  --text: #F4EEF0;
  --heading: #FAF5F7;
  --fg-rgb: 244 238 240;      /* foreground channel, used as rgb(var(--fg-rgb) / a) */
  --bg-rgb: 11 9 10;          /* page ground channel */
  --glass-rgb: 255 255 255;   /* translucent surfaces */
  --bg-alt: #0E0B0D;
  --ms-bg: #141012;
  --moon-dark: #1B1518;
  --muted: rgb(var(--fg-rgb) / .62);
  --faint: rgb(var(--fg-rgb) / .38);
  --line: rgb(var(--fg-rgb) / .09);
  --line-2: rgb(var(--fg-rgb) / .16);
  color-scheme: dark;

  --deep: #B82E56;
  --pink: #E8709A;
  --magenta: #A82A6E;
  --rose: #C9A3AE;
  --gold: #E8D79C;
  --blue: #B9CCE6;
  --lilac: #BCBBD7;

  --grad: linear-gradient(100deg, #E8709A 0%, #F0A3B6 28%, #E8D79C 58%, #B9CCE6 100%);
  --grad-deep: linear-gradient(100deg, #B82E56 0%, #E8709A 55%, #E8D79C 100%);

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* logo mark: on-dark halo/core set (logo-FINAL/chromoworks-mark-on-dark.svg) */
  --m0h: #471F2C; --m0c: #B82E56;
  --m1h: #482D34; --m1c: #BD6277;
  --m2h: #453837; --m2c: #B08D80;
  --m3h: #534B3E; --m3c: #E8D79C;
  --m4h: #3D1C29; --m4c: #93234D;
  --m5h: #53303E; --m5c: #E8709A;
  --m6h: #4B3E43; --m6c: #C9A3AE;
  --m7h: #443F41; --m7c: #AEAAA9;
  --m8h: #3C1C2B; --m8c: #902251;
  --m9h: #512F40; --m9c: #E06CA4;
  --m10h: #493D45; --m10c: #C0A2B8;
  --m11h: #433F43; --m11c: #A9AAB0;
  --m12h: #431E32; --m12c: #A82A6E;
  --m13h: #422E3C; --m13c: #A46596;
  --m14h: #3B3741; --m14c: #8B89A6;
  --m15h: #474851; --m15c: #B9CCE6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(232, 112, 154, .35); color: #fff; }

/* Film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.serif, .serif-it { font-family: var(--serif); font-weight: 400; }
.serif-it, em { font-style: italic; }
em { font-family: var(--serif); font-weight: 400; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ dots */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-right: 8px; vertical-align: middle; }
.dot--live { background: #7EE2A8; box-shadow: 0 0 0 0 rgba(126, 226, 168, .6); animation: live 2.2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(126, 226, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); } }

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -.005em;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary {
  color: #1A0E13;
  background: linear-gradient(180deg, #FFF 0%, #F6E8EE 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 10px 40px -10px rgba(232, 112, 154, .7), 0 0 80px -20px rgba(232, 112, 154, .6);
  overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: -2px;
  background: linear-gradient(110deg, transparent 30%, rgba(232, 112, 154, .35) 45%, rgba(232, 215, 156, .35) 55%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 4.5s var(--ease) infinite 1.8s;
}
@keyframes sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
.btn--primary > * { position: relative; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 16px 50px -10px rgba(232, 112, 154, .85), 0 0 120px -20px rgba(232, 112, 154, .8); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgb(var(--glass-rgb) / .02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgb(var(--fg-rgb) / .4); background: rgb(var(--glass-rgb) / .06); }
.btn--glass { color: var(--text); background: rgb(var(--glass-rgb) / .06); border: 1px solid var(--line-2); }
.btn--glass:hover { background: rgb(var(--glass-rgb) / .12); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgb(var(--bg-rgb) / .66);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav.is-light { background: rgba(243, 236, 230, .78); border-bottom-color: rgba(31, 26, 29, .08); }
.nav.is-light .brand__word { color: var(--ink); }
.nav.is-light .nav__links a { color: rgba(31, 26, 29, .6); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a.is-active { color: var(--ink); background: rgba(31, 26, 29, .06); }
.nav.is-light .btn--glass { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.nav.is-light .nav__toggle { border-color: rgba(31, 26, 29, .2); }
.nav.is-light .nav__toggle span { background: var(--ink); }
.nav__inner {
  /* full-bleed so the logo sits hard left, not inside the 1280 column */
  padding: 0 clamp(18px, 3vw, 52px);
  height: 84px; display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.footer .brand:hover .brand__mark { transform: rotate(90deg); }
.brand__word { font-weight: 600; font-size: 19px; letter-spacing: -.035em; color: var(--heading); }

/* nav logo: larger, and every dot is its own <g> so it can perform */
.nav .brand { gap: 14px; position: relative; -webkit-tap-highlight-color: transparent; }
.nav .brand__mark { width: 44px; height: 44px; overflow: visible; }
.nav .brand__word { font-size: 25px; letter-spacing: -.04em; display: inline-flex; }
.nav .brand__word span { display: inline-block; white-space: pre; }
.nav .brand__mark g { transform-box: fill-box; transform-origin: center; }
.nav .brand:hover .brand__mark g { animation: dotHop .7s var(--ease) both; animation-delay: calc(var(--k) * 45ms); }
@keyframes dotHop { 40% { transform: scale(1.35); } }
.nav .brand.is-bursting .brand__mark g { animation: none; }

/* burst fx (spawned by JS at the logo's position) */
.fx { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 120; border-radius: 50%; will-change: transform, opacity; }
.fx--ring { border: 2px solid var(--c); box-shadow: 0 0 24px var(--c), inset 0 0 18px var(--c); }
.fx--spark { background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 22px var(--c); }
.fx--flash { background: radial-gradient(circle, color-mix(in srgb, var(--pink) 35%, transparent), transparent 65%); }

/* theme toggle: moon (dark) morphs into sun (light) */
.theme-toggle {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  color: var(--heading); background: rgb(var(--glass-rgb) / .06); border: 1px solid var(--line-2);
  transition: background .3s, border-color .3s, transform .5s var(--ease);
}
.theme-toggle:hover { background: rgb(var(--glass-rgb) / .12); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; }
.tt-core { transform-origin: 12px 12px; transition: transform .7s var(--ease); }
.tt-cut { transition: transform .7s var(--ease); }
.tt-rays { transform-origin: 12px 12px; transition: transform .7s var(--ease), opacity .4s; }
:root:not([data-theme="light"]) .tt-rays { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="light"] .tt-core { transform: scale(.62); }
:root[data-theme="light"] .tt-cut { transform: translate(9px, -9px); }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__cta { flex: none; }
.nav__links a {
  font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgb(var(--glass-rgb) / .06); }
.nav__toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner { height: 72px; gap: 10px; }
  .nav .brand__mark { width: 34px; height: 34px; }
  .nav .brand__word { font-size: 21px; }
  .theme-toggle { width: 44px; height: 44px; border-radius: 12px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
    background: rgb(var(--glass-rgb) / .04); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column;
    padding: 8px var(--gutter) 24px;
    background: rgb(var(--bg-rgb) / .94); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a { padding: 14px 0; font-size: 20px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .mobile-menu__cta { color: var(--pink); border-bottom: 0 !important; }
}
/* full menu does not fit (long languages, mid-size screens): main.js adds .nav--compact, same menu as on phones */
.nav--compact .nav__links, .nav--compact .nav__cta { display: none; }
.nav--compact .lang { margin-inline-start: auto; }
.nav--compact .nav__toggle {
  display: grid; place-content: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgb(var(--glass-rgb) / .04); cursor: pointer;
}
.nav--compact .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav--compact .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav--compact .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav--compact .mobile-menu:not([hidden]) {
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: rgb(var(--bg-rgb) / .94); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav--compact .mobile-menu a { padding: 14px 0; font-size: 20px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.nav--compact .mobile-menu__cta { color: var(--pink); border-bottom: 0 !important; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 50% 110%, rgba(184, 46, 86, .22), transparent 70%),
    radial-gradient(900px 500px at 85% -10%, rgba(185, 204, 230, .08), transparent 70%),
    var(--bg);
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__moon { position: absolute; left: 0; right: 0; bottom: 0; z-index: -2; will-change: transform; }
.hero__moon canvas, .moon-halo { opacity: 0; transform: translateY(60px); transition: opacity 2.2s var(--ease), transform 2.6s var(--ease); }
.hero__moon.is-ready canvas, .hero__moon.is-ready .moon-halo { opacity: 1; transform: none; }
.hero__moon canvas { position: absolute; left: 0; bottom: 0; width: 100%; }
.moon-halo {
  position: absolute; border-radius: 50%;
  box-shadow:
    0 0 60px 6px rgba(250, 220, 230, .18),
    0 0 160px 30px rgba(232, 112, 154, .22),
    0 0 360px 90px rgba(184, 46, 86, .16);
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 48% at 50% 40%, rgb(var(--bg-rgb) / .55), transparent 75%),
    linear-gradient(180deg, rgb(var(--bg-rgb) / .55) 0%, transparent 22%, transparent 78%, rgb(var(--bg-rgb) / .85) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  padding: calc(84px + clamp(44px, 10vh, 120px)) var(--gutter) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; margin-bottom: 30px;
  border-radius: 999px; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-2); background: rgb(var(--bg-rgb) / .5);
  backdrop-filter: blur(10px);
  transition: border-color .3s, color .3s;
}
.pill:hover { color: var(--text); border-color: rgba(232, 112, 154, .5); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-deep); box-shadow: 0 0 12px var(--pink); }
.pill__arrow { transition: transform .3s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(3px); }

.hero__title {
  font-weight: 600;
  font-size: clamp(42px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--heading);
  text-shadow: 0 2px 40px rgb(var(--bg-rgb) / .55);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .06em .08em; }
.hero__title .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.14em; letter-spacing: -.02em; line-height: .9;
  padding-right: .06em;
  text-shadow: none;
  filter: drop-shadow(0 4px 30px rgba(232, 112, 154, .35));
}
.hero__title .reveal-hero { display: inline-block; }
.hero__sub {
  max-width: 640px; margin-top: 28px;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6;
  color: rgb(var(--fg-rgb) / .74);
  text-shadow: 0 1px 20px rgb(var(--bg-rgb) / .8);
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

.reveal-hero { opacity: 0; transform: translateY(40px); filter: blur(8px); animation: heroIn 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--d) * .12s); }
.hero__title .reveal-hero { transform: translateY(105%); filter: none; }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

/* HUD */
.hud { position: absolute; inset: 100px var(--gutter) 28px; pointer-events: none; z-index: 1; }
.hud__corner { position: absolute; width: 22px; height: 22px; border-color: rgb(var(--fg-rgb) / .28); border-style: solid; border-width: 0; }
.hud__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud__left, .hud__right {
  position: absolute; bottom: 18px; display: flex; flex-direction: column; gap: 4px;
  font-size: 10.5px; color: rgb(var(--fg-rgb) / .5);
}
.hud__left { left: 20px; }
.hud__right { right: 20px; text-align: right; }
.hud b { color: var(--heading); font-weight: 500; }
.hud .dot { width: 5px; height: 5px; margin-right: 7px; }
@media (max-width: 700px) { .hud__left, .hud__right { display: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; color: rgb(var(--fg-rgb) / .55); z-index: 3;
}
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--heading), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--pink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ------------------------------------------------------------------ ticker */
.ticker {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 18px; padding: 0 28px;
  font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; color: rgb(var(--fg-rgb) / .82);
  white-space: nowrap;
}
.ticker__item:nth-child(odd) { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 2.2vw, 29px); color: rgb(var(--fg-rgb) / .6); }
.ticker__item i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px rgb(var(--glass-rgb) / .04); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ sections */
section { position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.eyebrow__num {
  display: inline-grid; place-items: center; height: 24px; padding: 0 8px;
  border-radius: 6px; border: 1px solid var(--line-2); color: var(--heading); font-size: 11px;
}
.eyebrow--dark { color: rgba(31, 26, 29, .6); }
.eyebrow--dark .eyebrow__num { border-color: rgba(31, 26, 29, .2); color: var(--ink); }

.h2 {
  font-weight: 600; font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.0; letter-spacing: -.042em; color: var(--heading);
}
.h2 .serif-it { font-size: 1.1em; letter-spacing: -.02em; line-height: .95; }
.h2--dark { color: var(--ink); }
.h2--dark em { color: var(--deep); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 860px; }
.section-head__sub { margin-top: 24px; max-width: 560px; font-size: 18px; color: var(--muted); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--split .section-head__sub { margin-top: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ thesis */
.thesis { padding: clamp(96px, 13vw, 180px) 0; overflow: hidden; }
.thesis::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 112, 154, .18), transparent 65%);
}
.statement {
  font-weight: 500; font-size: clamp(34px, 5vw, 72px); line-height: 1.04; letter-spacing: -.04em; max-width: 1100px;
}
.statement em { color: var(--deep); font-size: 1.08em; letter-spacing: -.02em; }
.underline-draw { position: relative; white-space: nowrap; }
.underline-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em;
  background: var(--grad-deep); border-radius: 4px;
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .5s;
}
.statement.is-in .underline-draw::after { transform: scaleX(1); }

.thesis__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 110px); margin-top: clamp(56px, 7vw, 96px); }
.thesis__body p { font-size: 17px; color: rgba(31, 26, 29, .72); max-width: 620px; }
.thesis__body p + p { margin-top: 18px; }
.thesis__body .lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: var(--ink); letter-spacing: -.015em; margin-bottom: 26px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(31, 26, 29, .14); align-self: start; }
.fact { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(31, 26, 29, .14); }
.fact dt { color: rgba(31, 26, 29, .6); }
.fact dd { margin: 0; }
.fact__num { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.fact__num small { font-size: .38em; margin-left: 4px; color: var(--deep); font-family: var(--mono); letter-spacing: .05em; }
@media (max-width: 860px) { .thesis__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ sectors */
.sectors { padding: clamp(110px, 13vw, 180px) 0; background: var(--bg); overflow: hidden; }
.sectors::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(var(--fg-rgb) / .07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
}
.grid9 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative;
  min-height: 400px;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.3vw, 32px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(var(--glass-rgb) / .035), rgb(var(--glass-rgb) / .012)), var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), border-color .4s, opacity 1.1s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), var(--c), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-4px); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); }
.card__num { color: var(--heading); }
.card__tag { display: inline-flex; align-items: center; gap: 8px; }
.card__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
/* fixed-height icon stage so every title starts on the same line across a row */
.card__icon { flex: none; height: clamp(118px, 10vw, 148px); margin: 10px 0 20px; display: grid; place-items: center; }
.card__body { flex: 1; display: flex; flex-direction: column; }
.ic { width: clamp(84px, 7.6vw, 108px); height: clamp(84px, 7.6vw, 108px); overflow: visible; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c) 45%, transparent)); transition: transform .8s var(--ease); }
.card:hover .ic { transform: scale(1.08); }
.card__body h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.03em; color: var(--heading); line-height: 1.15; }
.card__body p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
/* chips pinned to the card floor so they line up across a row */
.chips { list-style: none; margin: auto 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 11.5px; color: rgb(var(--fg-rgb) / .72); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--glass-rgb) / .02); }

@media (max-width: 1080px) {
  .grid9 { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; }
}
@media (max-width: 640px) {
  .grid9 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card { min-height: 0; }
  .card__icon { height: 120px; margin: 18px 0; }
}

/* --- icon primitives */
.ic * { vector-effect: non-scaling-stroke; }
.ic__frame, .ic__line, .ic__ring, .ic__wave { fill: none; stroke: var(--heading); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic__frame { stroke: rgb(var(--fg-rgb) / .55); }
.ic__line--thin { stroke-width: 1; stroke: rgb(var(--fg-rgb) / .4); }
.ic__fill { fill: var(--c); }
.ic__sat { fill: var(--c); }
.ic__trace { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90 200; animation: trace 2.6s linear infinite; }
@keyframes trace { from { stroke-dashoffset: 200; } to { stroke-dashoffset: -90; } }

.ic--arm .arm1 { transform-origin: 26px 47px; animation: arm1 5s ease-in-out infinite; }
.ic--arm .arm2 { transform-origin: 26px 27px; animation: arm2 5s ease-in-out infinite; }
@keyframes arm1 { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(14deg); } }
@keyframes arm2 { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-22deg); } }

.ic--turbine .blades { transform-origin: 32px 26px; animation: spin 4s linear infinite; }
.ic__blade { fill: color-mix(in srgb, var(--c) 30%, transparent); stroke: var(--c); stroke-width: 1.2; }
@keyframes spin { to { transform: rotate(360deg); } }

.ic__ring { stroke: rgb(var(--fg-rgb) / .25); stroke-width: 1; }
.ic--radar .sweep { transform-origin: 32px 31px; animation: spin 3s linear infinite; }
.ic__sweep { fill: color-mix(in srgb, var(--c) 45%, transparent); }
.ic--radar .blip { animation: blip 3s linear infinite; }
@keyframes blip { 0%, 8% { opacity: 0; } 12% { opacity: 1; } 60%, 100% { opacity: 0; } }

.ic--crystal .sparkle { animation: twinkle 2.4s ease-in-out infinite; }
.ic--crystal .s2 { animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { opacity: .1; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.4); } }
.ic--crystal .sparkle { transform-box: fill-box; transform-origin: center; }

.ic--helix .rungs line {
  stroke: var(--c); stroke-width: 2; stroke-linecap: round;
  transform-box: fill-box; transform-origin: center;
  animation: helix 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.28s);
}
@keyframes helix { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(-1); opacity: .35; } 25%, 75% { opacity: .6; } }

.ic--net .edges path { fill: none; stroke: rgb(var(--fg-rgb) / .35); stroke-width: 1; stroke-dasharray: 3 4; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.ic--net .nodes circle { fill: var(--bg-2); stroke: var(--c); stroke-width: 1.6; animation: nodePulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes nodePulse { 50% { fill: var(--c); } }

.ic__wave { stroke: var(--c); transform-box: fill-box; transform-origin: center; animation: ripple 2.6s var(--ease) infinite; }
.ic__wave.w2 { animation-delay: 1.3s; }
@keyframes ripple { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ------------------------------------------------------------------ platform */
.platform { padding: clamp(110px, 13vw, 180px) 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-top: 1px solid var(--line); }
.stack {
  position: relative;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(800px 300px at 50% 100%, rgba(184, 46, 86, .14), transparent 70%),
    linear-gradient(180deg, rgb(var(--glass-rgb) / .025), rgb(var(--glass-rgb) / .005));
  display: grid; gap: clamp(36px, 5vw, 64px);
}
.stack__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.stack__wires path { fill: none; stroke-width: 1.4; stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; opacity: .9; }
.layer { position: relative; z-index: 1; display: grid; gap: 16px; }
.layer__label { color: var(--faint); display: flex; align-items: center; gap: 10px; }
.layer__label span { color: var(--heading); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }

.sector-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-pill {
  --c: var(--pink);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  font: 500 14px var(--sans); letter-spacing: -.01em;
  color: var(--muted); background: rgb(var(--glass-rgb) / .03); border: 1px solid var(--line-2);
  transition: all .35s var(--ease);
}
.sector-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .6; transition: box-shadow .3s, opacity .3s; }
.sector-pill:hover { color: var(--text); border-color: rgb(var(--fg-rgb) / .35); }
.sector-pill[aria-selected="true"] {
  color: var(--bg); background: var(--heading); border-color: var(--heading);
  box-shadow: 0 0 40px -6px color-mix(in srgb, var(--c) 80%, transparent);
}
.sector-pill[aria-selected="true"] i { opacity: 1; box-shadow: 0 0 10px var(--c); }

.ms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ms {
  position: relative; padding: 18px 18px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--ms-bg);
  transition: border-color .45s, background .45s, transform .45s var(--ease);
}
.ms h4, .ms p { transition: opacity .45s; }
.ms:not(.is-on) h4, .ms:not(.is-on) p { opacity: .42; }
.ms h4 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; color: var(--heading); display: flex; align-items: center; gap: 9px; }
.ms h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transition: background .4s, box-shadow .4s; }
.ms p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ms.is-on { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, var(--ms-bg)), var(--ms-bg)); transform: translateY(-3px); }
.ms.is-on h4 i { background: var(--c); box-shadow: 0 0 12px var(--c); }
@media (max-width: 960px) { .ms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ms p { display: none; } .ms { padding: 14px; } }

.core {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 22px;
  border: 1px solid rgba(232, 112, 154, .35);
  background: linear-gradient(90deg, rgba(184, 46, 86, .22), rgba(232, 112, 154, .1) 40%, rgba(232, 215, 156, .08) 70%, rgba(185, 204, 230, .12));
}
.core__glow { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); width: 40%; animation: coreScan 5s ease-in-out infinite; }
@keyframes coreScan { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.core__items { position: relative; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 12px 18px; color: var(--heading); font-size: 12px; }
.core__items i { width: 4px; height: 4px; border-radius: 50%; background: var(--pink); }

.stack__readout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: baseline;
  padding-top: 24px; border-top: 1px dashed var(--line-2);
}
.readout__title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--heading); letter-spacing: -.01em; }
.readout__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
#readoutText { color: var(--muted); font-size: 15.5px; max-width: 760px; }
#readoutText b { color: var(--heading); font-weight: 500; }
@media (max-width: 700px) { .stack__readout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ horizon */
.horizon { padding: clamp(110px, 13vw, 180px) 0; background: var(--bg-alt); border-top: 1px solid var(--line); overflow: hidden; }
.timeline {
  list-style: none; margin: 0; padding: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--fg-rgb) / .05), rgba(232, 112, 154, .6), rgba(232, 215, 156, .7), rgba(185, 204, 230, .5));
}
.phase { position: relative; padding-inline-end: 8px; }
.phase__moon {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 62% 38%, #FFF7F0, #E9DCD6 55%, #B9A4A6);
  overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 7px var(--line-2);
  margin-bottom: 28px;
}
/* shadow disc slides off to the left as --p goes 0 → 1, so the lit side grows from the right */
.phase__moon span {
  position: absolute; inset: -1px; border-radius: 50%;
  background: var(--moon-dark);
  transform: translateX(calc(var(--p) * -104%));
  transition: transform 1.6s var(--ease) .3s;
}
.phase:not(.is-in) .phase__moon span { transform: none; }
.phase__moon--full { box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 7px rgba(232, 112, 154, .5), 0 0 50px 4px rgba(232, 112, 154, .45); }
.phase__when { color: var(--pink); margin-bottom: 10px; }
.phase h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--heading); }
.phase:last-child h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 27px; letter-spacing: -.01em; }
.phase p:last-child { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 36px; padding-inline-start: 84px; }
  .timeline::before { inset-inline-start: 30px; inset-inline-end: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgb(var(--fg-rgb) / .05), rgba(232,112,154,.6), rgba(185,204,230,.5)); }
  .phase__moon { position: absolute; inset-inline-start: -84px; top: -4px; margin: 0; }
}

/* ------------------------------------------------------------------ principles */
.principles { padding: clamp(110px, 13vw, 170px) 0; }
.principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(31, 26, 29, .16); }
.principle { padding-block: 32px 8px; padding-inline: 0 28px; }
.principle + .principle { padding-inline-start: 28px; border-inline-start: 1px solid rgba(31, 26, 29, .16); }
.principle__n { color: var(--deep); font-size: 12px; }
.principle h3 { margin-top: 40px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.principle p { margin-top: 12px; color: rgba(31, 26, 29, .68); font-size: 15.5px; }
@media (max-width: 960px) {
  .principles__grid { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid rgba(31, 26, 29, .16); }
}
@media (max-width: 600px) {
  .principles__grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0 8px; border-inline-start: 0; }
  .principle + .principle { border-top: 1px solid rgba(31, 26, 29, .16); }
  .principle h3 { margin-top: 18px; }
}

/* ------------------------------------------------------------------ CTA */
.cta { padding: clamp(120px, 15vw, 200px) 0; overflow: hidden; text-align: center; isolation: isolate;
  background: radial-gradient(900px 520px at 50% 40%, rgba(184, 46, 86, .25), transparent 70%), var(--bg); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 120px; height: 120px; margin-bottom: 40px; }
.cta__mark svg { width: 100%; height: 100%; overflow: visible; }
.cta__mark circle { transform-box: fill-box; transform-origin: center; animation: breathe 3.6s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes breathe { 50% { transform: scale(1.18); } }
.cta__title { font-weight: 600; font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -.045em; color: var(--heading); }
.cta__title .serif-it { font-size: 1.1em; letter-spacing: -.02em; }
.cta__sub { margin-top: 26px; max-width: 580px; font-size: 18px; color: var(--muted); }
.cta__paths { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 920px; }
.path {
  position: relative; text-align: start;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 10px;
  padding: 22px 24px; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgb(var(--glass-rgb) / .025);
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.path:hover { background: rgb(var(--glass-rgb) / .06); border-color: rgba(232, 112, 154, .55); transform: translateY(-3px); }
.path__k { grid-column: 1; color: var(--faint); font-size: 10.5px; }
.path__t { grid-column: 1; font-size: 19px; font-weight: 600; letter-spacing: -.025em; color: var(--heading); }
.path__a { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 20px; color: var(--pink); transition: transform .35s var(--ease); }
.path:hover .path__a { transform: translateX(4px); }
@media (max-width: 760px) { .cta__paths { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 72px; background: var(--bg); }
.footer__inner { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 280px; font-size: 14.5px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h4 { color: var(--faint); margin: 0 0 14px; font-weight: 400; }
.footer__cols a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); transition: color .2s; }
.footer__cols a:hover { color: var(--heading); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10.5px; }
.footer__status { display: inline-flex; align-items: center; }
.footer__giant {
  font-weight: 700; letter-spacing: -.06em; line-height: .78;
  font-size: clamp(60px, 15.6vw, 236px);
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgb(var(--fg-rgb) / .09), rgb(var(--fg-rgb) / 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -.12em; user-select: none;
}
@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:nth-child(3) h4 { display: none; }
}

/* ------------------------------------------------------------------ motion prefs */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; filter: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ small screens */
@media (max-width: 700px) {
  .hero__content { padding-top: calc(72px + 28px); padding-bottom: 25vh; }
  .pill { font-size: 12px; margin-bottom: 22px; }
  .hero__title { font-size: clamp(38px, 11vw, 54px); }
  .hero__sub { font-size: 15.5px; margin-top: 20px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { --h: 48px; padding: 0 20px; font-size: 14.5px; }
  .scroll-cue { display: none; }
  .hud { inset: 84px 12px 16px; }
  .stack__wires { display: none; }
  .sector-pill { padding: 8px 13px; font-size: 13px; }
  .ms h4 { font-size: 14px; }
}

/* ------------------------------------------------------------------ team page (/team) */
.hero--team { min-height: 66vh; min-height: 66svh; align-items: center; }
/* the moon sinks into the page instead of ending at a hard edge */
.hero--team .hero__vignette { background: radial-gradient(ellipse 60% 48% at 50% 40%, rgb(var(--bg-rgb) / .55), transparent 75%), linear-gradient(180deg, rgb(var(--bg-rgb) / .55) 0%, transparent 22%, transparent 55%, var(--bg) 100%); }
.team-head {
  position: relative; z-index: 2;
  width: 100%; max-width: 920px;
  padding: calc(84px + clamp(32px, 7vh, 80px)) var(--gutter) clamp(96px, 16vh, 170px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.team-head .eyebrow { margin-bottom: 22px; }
.team-head__title {
  font-weight: 600; font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.045em;
  color: var(--heading); text-shadow: 0 2px 40px rgb(var(--bg-rgb) / .55);
}
.team-head__title .serif-it { font-size: 1.12em; letter-spacing: -.02em; padding-right: .02em; filter: drop-shadow(0 4px 30px rgba(232, 112, 154, .35)); }
.team-head__sub {
  max-width: 560px; margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6;
  color: rgb(var(--fg-rgb) / .74); text-shadow: 0 1px 20px rgb(var(--bg-rgb) / .8);
}

.team { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(88px, 11vw, 150px); }
.team__grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }

.founder {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-2); border-radius: 28px;
  background: linear-gradient(180deg, rgb(var(--glass-rgb) / .045), rgb(var(--glass-rgb) / .015));
}
.founder__photo {
  width: clamp(168px, 17vw, 232px); aspect-ratio: 1; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, #E8709A, #E8D79C, #B9CCE6, #C0A2B8, #E8709A);
  box-shadow: 0 24px 80px -24px rgba(232, 112, 154, .55);
}
.founder__photo img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg); background: var(--bg-3); }
.founder__role { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--pink); }
.founder__role i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.founder__role span:last-child { color: var(--muted); }
.founder__name { margin-top: 12px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--heading); }
.founder__roles { margin-top: 12px; max-width: 60ch; font-size: 16.5px; font-weight: 500; line-height: 1.55; letter-spacing: -.005em; color: var(--heading); }
.founder__roles .serif-it { padding: 0 .22em; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 1.12em; line-height: 0; }   /* a true multiplication sign, not an italic x */
.founder__lead { margin-top: 8px; max-width: 62ch; font-size: 16px; line-height: 1.6; color: rgb(var(--fg-rgb) / .72); }
.founder__hl { margin: 26px 0 0; border-top: 1px solid var(--line); }
.founder__hl > div { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.founder__hl dt { color: var(--heading); }
.founder__hl dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.founder__vision { margin: 28px 0 0; padding-block: 2px; padding-inline-start: 22px; border-inline-start: 2px solid #E8709A; }
.founder__vision p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.01em; color: var(--heading); }
.founder__vision p + p { margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 16px; line-height: 1.65; letter-spacing: 0; color: rgb(var(--fg-rgb) / .78); }
.founder__vision p.founder__vision-close { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: transparent; }
.founder__vision footer { margin-top: 10px; color: var(--faint); }
.founder__links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.join {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px dashed rgba(232, 112, 154, .45); border-radius: 28px;
  background: radial-gradient(420px 260px at 100% 0%, rgba(232, 112, 154, .14), transparent 70%), rgb(var(--glass-rgb) / .02);
}
.join__mark { width: 52px; height: 52px; }
.join__k { margin-top: 28px; color: var(--pink); }
.join h3 { margin-top: 12px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--heading); }
.join > p:not(.join__k) { margin: 12px 0 28px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.join .btn { margin-top: auto; }

@media (max-width: 1000px) { .team__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .founder { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ support page (/support) */
.back { position: relative; padding: clamp(56px, 8vw, 110px) 0 0; }
.back__thanks {
  max-width: 760px; margin: 0 auto 28px; padding: 16px 22px; text-align: center;
  border: 1px solid rgba(232, 112, 154, .5); border-radius: 16px;
  background: rgba(232, 112, 154, .09); color: var(--heading); font-weight: 500;
}
.back__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.back-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-2); border-radius: 28px;
  background: linear-gradient(180deg, rgb(var(--glass-rgb) / .045), rgb(var(--glass-rgb) / .015));
}
.back-card--main {
  border-color: rgba(232, 112, 154, .55);
  background: radial-gradient(460px 300px at 0% 0%, rgba(232, 112, 154, .16), transparent 70%), linear-gradient(180deg, rgb(var(--glass-rgb) / .05), rgb(var(--glass-rgb) / .015));
  box-shadow: 0 30px 90px -44px rgba(232, 112, 154, .55);
}
.back-card__k { color: var(--pink); }
.back-card h2 { margin-top: 14px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; color: var(--heading); }
.back-card > p:not(.back-card__k):not(.back-card__note) { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.back-card__actions { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.back-card__link { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.back-card__link:hover { color: var(--heading); }
.back-card__note { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.back__trust { margin: 24px auto 0; max-width: 640px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--faint); }
.back__trust svg { display: inline-block; width: 14px; height: 14px; margin-inline-end: 7px; vertical-align: -2px; }

.back-use { padding: clamp(84px, 10vw, 140px) 0 0; }
.back-use__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.back-use__grid li { padding-top: 22px; border-top: 1px solid var(--line-2); }
.back-use__grid .mono { color: var(--pink); }
.back-use__grid h3 { margin-top: 18px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: var(--heading); }
.back-use__grid p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.back-wall { padding: clamp(96px, 11vw, 150px) 0 clamp(96px, 11vw, 150px); text-align: center; }
.back-wall .container { display: flex; flex-direction: column; align-items: center; }
.back-wall .h2 { margin-top: 4px; }
.back-wall__sub { margin-top: 16px; max-width: 520px; color: var(--muted); }
.back-wall__list { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.back-wall__list:empty { display: none; }
.back-wall__list li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(var(--glass-rgb) / .04); color: var(--heading); font-size: 15px; }
.back-wall__empty {
  margin-top: 34px; padding: 22px 28px; min-width: min(100%, 460px);
  border: 1px dashed rgba(232, 112, 154, .45); border-radius: 18px; color: var(--muted);
}
.back-wall__list:not(:empty) + .back-wall__empty { display: none; }
.back-wall .btn { margin-top: 32px; }

@media (max-width: 1000px) {
  .back__paths { grid-template-columns: minmax(0, 1fr); }
  .back-use__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 600px) { .back-use__grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   LIGHT THEME (Gemini-inspired: airy white, drifting pastel light)
   ========================================================================= */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F8FC;
  --bg-2: #FFFFFF;
  --bg-3: #EEF1F7;
  --bg-alt: #EFF2F9;
  --ms-bg: #FFFFFF;
  --moon-dark: #B4BCCD;
  --paper: #FFFFFF;
  --text: #1F1A1D;
  --heading: #16111A;
  --fg-rgb: 31 26 29;
  --bg-rgb: 246 248 252;
  --glass-rgb: 31 26 29;
  --grad: linear-gradient(100deg, #C2185B 0%, #E0609A 30%, #B4842C 62%, #4A78C4 100%);

  /* logo mark: light-ground halo/core set (logo-FINAL/chromoworks-mark.svg) */
  --m0h: #EDC9D3; --m0c: #B82E56;
  --m1h: #FBE3E8; --m1c: #EF94A8;
  --m2h: #F7EFEB; --m2c: #E1C0B2;
  --m3h: #F9F5E5; --m3c: #E8D79C;
  --m4h: #F0D3DD; --m4c: #C4567E;
  --m5h: #F9DAE5; --m5c: #E8709A;
  --m6h: #F1E7EA; --m6c: #C9A3AE;
  --m7h: #F7F6F6; --m7c: #DFDDDB;
  --m8h: #EFD3DF; --m8c: #C15483;
  --m9h: #F7D9E7; --m9c: #E06CA4;
  --m10h: #EFE7ED; --m10c: #C0A2B8;
  --m11h: #F5F6F7; --m11c: #DADDE2;
  --m12h: #E8C8D9; --m12c: #A82A6E;
  --m13h: #F4E4F1; --m13c: #D597C8;
  --m14h: #EEEDF5; --m14c: #BCBBD7;
  --m15h: #EDF2F8; --m15c: #B9CCE6;
}

/* aurora: soft blobs whose colours slowly cycle through the brand pastels */
.aurora { position: absolute; inset: -12%; z-index: -4; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); filter: blur(70px) saturate(120%); }
.aurora span { position: absolute; border-radius: 50%; opacity: .85; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; left: 2%;  top: 4%;  background: #FFD3E3; animation: auroraA 26s ease-in-out infinite alternate, hueA 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 48vw; height: 48vw; right: 0;  top: -6%; background: #CFE0FF; animation: auroraB 30s ease-in-out infinite alternate, hueB 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 60vw; height: 44vw; left: 22%; bottom: -8%; background: #E3D8FF; animation: auroraC 34s ease-in-out infinite alternate, hueC 20s ease-in-out infinite alternate; }
.aurora span:nth-child(4) { width: 30vw; height: 30vw; left: 58%; top: 40%; background: #FFE8C4; animation: auroraA 22s ease-in-out infinite alternate-reverse, hueB 16s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes auroraB { to { transform: translate(-14vw, 12vh) scale(.9); } }
@keyframes auroraC { to { transform: translate(-8vw, -10vh) scale(1.2); } }
@keyframes hueA { 33% { background: #E3D8FF; } 66% { background: #CFE0FF; } 100% { background: #FFE1EC; } }
@keyframes hueB { 33% { background: #FFE8C4; } 66% { background: #FFD3E3; } 100% { background: #D6F0FF; } }
@keyframes hueC { 33% { background: #D2E4FF; } 66% { background: #FFDCEB; } 100% { background: #EADFFF; } }
:root[data-theme="light"] .aurora { opacity: 1; }
.cta .aurora { z-index: -2; }

:root[data-theme="light"] body::after { opacity: .035; mix-blend-mode: multiply; }
:root[data-theme="light"] .hero { background: var(--bg); }
.hero__stars { transition: opacity .8s; }
:root[data-theme="light"] .hero__stars { opacity: 0; }
:root[data-theme="light"] .moon-halo {
  box-shadow:
    0 0 40px 4px rgba(255, 255, 255, .9),
    0 0 150px 30px rgba(207, 224, 255, .75),
    0 0 340px 90px rgba(255, 211, 227, .55);
}
:root[data-theme="light"] .hero__vignette {
  background:
    radial-gradient(ellipse 58% 46% at 50% 40%, rgb(var(--bg-rgb) / .6), transparent 75%),
    linear-gradient(180deg, rgb(var(--bg-rgb) / .5) 0%, transparent 20%, transparent 85%, rgb(var(--bg-rgb) / .5) 100%);
}
:root[data-theme="light"] .hero--team .hero__vignette {
  background:
    radial-gradient(ellipse 58% 46% at 50% 40%, rgb(var(--bg-rgb) / .6), transparent 75%),
    linear-gradient(180deg, rgb(var(--bg-rgb) / .5) 0%, transparent 20%, transparent 55%, var(--bg) 100%);
}
:root[data-theme="light"] .hero__title { text-shadow: 0 2px 40px rgb(var(--bg-rgb) / .9); }
:root[data-theme="light"] .hero__title .serif { filter: drop-shadow(0 6px 26px rgba(224, 96, 154, .25)); }
:root[data-theme="light"] .hero__sub { text-shadow: 0 1px 16px rgb(var(--bg-rgb) / 1); }
:root[data-theme="light"] .pill { background: rgb(255 255 255 / .6); }

:root[data-theme="light"] .btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #2B2229 0%, #16111A 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 12px 34px -12px rgba(194, 24, 91, .55), 0 0 70px -24px rgba(74, 120, 196, .6);
}
:root[data-theme="light"] .btn--primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 18px 44px -12px rgba(194, 24, 91, .65), 0 0 90px -20px rgba(74, 120, 196, .7); }
:root[data-theme="light"] .btn--ghost, :root[data-theme="light"] .btn--glass { background: rgb(255 255 255 / .55); }

:root[data-theme="light"] .nav.is-scrolled { background: rgb(255 255 255 / .7); }
:root[data-theme="light"] .nav.is-light { background: rgb(255 255 255 / .8); }
:root[data-theme="light"] .mobile-menu:not([hidden]) { background: rgb(255 255 255 / .95); }

:root[data-theme="light"] .card {
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(31, 26, 29, .04), 0 18px 40px -24px rgba(31, 26, 29, .18);
}
:root[data-theme="light"] .card:hover { box-shadow: 0 1px 2px rgba(31, 26, 29, .04), 0 28px 60px -26px color-mix(in srgb, var(--c) 60%, transparent); }
:root[data-theme="light"] .ic { filter: none; }
:root[data-theme="light"] .ic__fill, :root[data-theme="light"] .ic__sat, :root[data-theme="light"] .ic__trace,
:root[data-theme="light"] .ic__blade, :root[data-theme="light"] .ic__sweep, :root[data-theme="light"] .ic--helix .rungs line { filter: saturate(1.5) brightness(.82); }

:root[data-theme="light"] .stack { background: radial-gradient(800px 300px at 50% 100%, rgba(207, 224, 255, .5), transparent 70%), #FFFFFF; box-shadow: 0 30px 80px -50px rgba(31, 26, 29, .25); }
:root[data-theme="light"] .ms { box-shadow: 0 1px 2px rgba(31, 26, 29, .04); }
:root[data-theme="light"] .ms.is-on { box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--c) 70%, transparent); }
:root[data-theme="light"] .core { background: linear-gradient(90deg, #FFE1EC, #F6E9FF 40%, #FFF3DD 70%, #DFEBFF); border-color: rgba(194, 24, 91, .2); }
:root[data-theme="light"] .core__glow { background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); }

:root[data-theme="light"] .platform { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
:root[data-theme="light"] .phase__moon { background: radial-gradient(circle at 62% 38%, #FFFFFF, #F3EEF2 55%, #D8CCD3); }
:root[data-theme="light"] .phase__moon--full { box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 7px rgba(224, 96, 154, .45), 0 0 50px 6px rgba(207, 224, 255, .9); }
:root[data-theme="light"] .cta { background: var(--bg); }
:root[data-theme="light"] .cta__mark { filter: drop-shadow(0 8px 24px rgba(224, 96, 154, .3)) !important; }
:root[data-theme="light"] .path { background: rgb(255 255 255 / .6); backdrop-filter: blur(10px); }
:root[data-theme="light"] .path:hover { background: #FFFFFF; }
:root[data-theme="light"] .ticker__item i { box-shadow: none !important; }
:root[data-theme="light"] .thesis::before { background: radial-gradient(circle, rgba(207, 224, 255, .6), transparent 65%); }

/* circular reveal when switching theme (View Transitions API) */
html.vt-circle::view-transition-old(root), html.vt-circle::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root[data-theme="light"] .stack__wires { filter: saturate(1.8) brightness(.78); }
:root[data-theme="light"] .phase__moon { box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 7px var(--line-2), 0 8px 20px -6px rgba(31, 26, 29, .25); }

/* =========================================================================
   LOGO ORB (click the nav logo)
   ========================================================================= */
.brand { direction: ltr; }
.brand__markwrap { position: relative; display: inline-grid; place-items: center; flex: none; }
.brand__orb { position: absolute; inset: 15%; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(0); }
.brand__orb > span { position: absolute; border-radius: 50%; }
.orb__glow { inset: -75%; background: radial-gradient(circle, rgba(232, 112, 154, .6) 0%, rgba(185, 204, 230, .25) 38%, transparent 66%); }
.orb__core {
  inset: 0;
  background: conic-gradient(from 0deg, #B82E56, #E8709A, #E8D79C, #B9CCE6, #BCBBD7, #A82A6E, #B82E56);
  box-shadow: 0 0 14px 2px rgba(232, 112, 154, .75), 0 0 34px 8px rgba(185, 204, 230, .35);
}
.orb__swirl {
  inset: 0;
  background: conic-gradient(from 90deg, transparent 0 10%, rgba(255, 255, 255, .6) 18%, transparent 32%, transparent 58%, rgba(255, 255, 255, .4) 70%, transparent 84%);
  filter: blur(1.5px); mix-blend-mode: soft-light;
}
.orb__gloss {
  inset: 0;
  background:
    radial-gradient(circle at 32% 27%, rgba(255, 255, 255, .95) 0 7%, rgba(255, 255, 255, .35) 15%, transparent 36%),
    radial-gradient(circle at 72% 80%, rgba(20, 8, 14, .5), transparent 58%);
}
.orb__orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--tilt)); border-radius: 0 !important; }
.orb__x { position: absolute; animation: orbX var(--d) ease-in-out infinite alternate; }
.orb__y { position: absolute; animation: orbY var(--d) ease-in-out infinite alternate; animation-delay: calc(var(--d) / -2); }
.orb__y i { position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff, 0 0 12px var(--c), 0 0 20px var(--c); }
@keyframes orbX { from { transform: translateX(calc(var(--rx) * -1)); } to { transform: translateX(var(--rx)); } }
@keyframes orbY { from { transform: translateY(calc(var(--ry) * -1)); } to { transform: translateY(var(--ry)); } }
.brand.orb-on .orb__core { animation: spin 1.3s linear infinite; }
.brand.orb-on .orb__swirl { animation: spin .8s linear infinite reverse; }
.brand.orb-on .orb__glow { animation: orbPulse .55s ease-in-out infinite alternate; }
.brand:not(.orb-on) .brand__orb * { animation-play-state: paused; }
@keyframes orbPulse { from { transform: scale(.85); opacity: .65; } to { transform: scale(1.18); opacity: 1; } }

/* =========================================================================
   LANGUAGE SWITCHER
   ========================================================================= */
.lang { position: relative; flex: none; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px 0 11px; border-radius: 999px; cursor: pointer;
  color: var(--heading); background: rgb(var(--glass-rgb) / .06); border: 1px solid var(--line-2);
  font: 500 12px/1 var(--mono); letter-spacing: .08em;
  transition: background .3s, border-color .3s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: rgb(var(--glass-rgb) / .12); border-color: rgb(var(--fg-rgb) / .28); }
.lang__chev { width: 12px; height: 12px; opacity: .7; transition: transform .35s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.flag {
  display: block; width: 22px; height: 15px; border-radius: 3.5px; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1px rgb(var(--fg-rgb) / .14), 0 2px 6px -2px rgba(0, 0, 0, .45);
}
.flag svg { display: block; width: 100%; height: 100%; }

.lang__menu {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 60;
  width: 300px; padding: 10px; border-radius: 20px;
  background: rgb(var(--bg-rgb) / .84);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65);
  transform-origin: top right;
  animation: langIn .38s var(--ease);
}
[dir="rtl"] .lang__menu { transform-origin: top left; }
@keyframes langIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.lang__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px 12px; margin: 0 0 6px; border-bottom: 1px solid var(--line);
  font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.lang__count { padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line-2); }
.lang__list { list-style: none; margin: 0; padding: 0; max-height: min(72vh, 600px); overflow: auto; outline: none; scrollbar-width: thin; }
.lang__list li {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 9px 10px; border-radius: 12px; cursor: pointer; outline: none;
  transition: background .2s;
  animation: langItem .45s var(--ease) both; animation-delay: calc(var(--i) * 22ms);
}
@keyframes langItem { from { opacity: 0; transform: translateY(6px); } }
.lang__list li .flag { grid-row: 1 / 3; width: 27px; height: 18px; border-radius: 4px; }
.lang__native { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--heading); }
.lang__en { grid-column: 2; font-size: 11.5px; line-height: 1.2; color: var(--muted); }
.lang__check { grid-column: 3; grid-row: 1 / 3; width: 16px; height: 16px; color: var(--pink); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.lang__list li:hover, .lang__list li:focus-visible { background: rgb(var(--glass-rgb) / .07); }
.lang__list li[aria-selected="true"] { background: linear-gradient(90deg, rgb(232 112 154 / .16), rgb(185 204 230 / .07)); }
.lang__list li[aria-selected="true"] .lang__check { opacity: 1; transform: none; }
:root[data-theme="light"] .lang__menu { background: rgb(255 255 255 / .86); box-shadow: 0 40px 90px -40px rgba(31, 26, 29, .35); }
:root[data-theme="light"] .lang__list li[aria-selected="true"] { background: linear-gradient(90deg, rgb(224 96 154 / .14), rgb(74 120 196 / .08)); }

@media (max-width: 900px) {
  .lang { margin-inline-start: auto; }
  .lang__code { display: none; }
  .lang__btn { height: 44px; border-radius: 12px; padding: 0 10px; }
}
@media (max-width: 460px) {
  .lang { position: static; }
  .lang__menu { position: absolute; top: calc(100% - 4px); inset-inline: 12px; width: auto; }
}

/* language change: soft cross-fade (theme switch keeps its circular reveal) */
::view-transition-group(root) { animation-duration: .45s; }

/* =========================================================================
   PER-SCRIPT TYPOGRAPHY
   ========================================================================= */
:root:lang(zh) { --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:root:lang(ja) { --sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif; }
:root:lang(ko) { --sans: "Inter", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
:root:lang(hi) { --sans: "Inter", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; }
:root:lang(he) { --sans: "Inter", "Noto Sans Hebrew", "Arial Hebrew", "Segoe UI", system-ui, sans-serif; }
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(he)) { --serif: var(--sans); }
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(he)) :is(.mono, .eyebrow, .lang__head) { font-family: "JetBrains Mono", var(--sans); letter-spacing: .04em; }
/* scripts without italics: accents become upright, weighted sans with the gradient */
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(he)) :is(.serif-it, em, .hero__title .serif, .readout__title) { font-style: normal; font-weight: 600; }
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(he)) .hero__title .serif { font-size: 1em; letter-spacing: -.01em; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) :is(.hero__title, .h2, .statement, .cta__title) { letter-spacing: -.01em; line-height: 1.15; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) .h2 .serif-it, :root:is(:lang(zh), :lang(ja), :lang(ko)) .cta__title .serif-it { font-size: 1em; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) :is(p, li, dd) { line-break: strict; }
:root:lang(hi) :is(.hero__title, .h2, .statement, .cta__title) { letter-spacing: 0; line-height: 1.32; }
:root:lang(hi) .hero__title .line { padding-top: .08em; }
:root:lang(he) :is(.hero__title, .h2, .statement, .cta__title) { letter-spacing: -.01em; line-height: 1.1; }
:root:lang(de) :is(h1, h2, h3) { hyphens: auto; overflow-wrap: break-word; }
:root:lang(ru) :is(.h2, .cta__title) .serif-it { font-size: 1em; }
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(he)) .founder__vision p:first-child { font-style: normal; font-weight: 600; font-size: clamp(21px, 2vw, 26px); line-height: 1.45; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) .team-head__title { letter-spacing: -.01em; line-height: 1.15; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) .team-head__title .serif-it { font-size: 1em; }
:root:is(:lang(zh), :lang(ja), :lang(ko)) .founder__roles { word-break: keep-all; }   /* roles break only between roles */
:root:lang(hi) .team-head__title { letter-spacing: 0; line-height: 1.32; }

/* =========================================================================
   RIGHT-TO-LEFT (Hebrew)
   ========================================================================= */
.ticker { direction: ltr; }
[dir="rtl"] :is(.btn__arrow, .pill__arrow, .path__a) { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow, [dir="rtl"] .pill:hover .pill__arrow, [dir="rtl"] .path:hover .path__a { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .underline-draw::after { transform-origin: right; }
[dir="rtl"] .hero__title .serif { padding-right: 0; padding-left: .06em; }

/* headline sizing per script: full-width glyphs and longer phrases need a smaller display size */
:root:is(:lang(zh), :lang(ja), :lang(ko)) .hero__title { font-size: clamp(32px, 5vw, 74px); }
:root:is(:lang(zh), :lang(ja), :lang(ko)) :is(.h2, .cta__title) { font-size: clamp(30px, 4.2vw, 62px); }
:root:is(:lang(zh), :lang(ja), :lang(ko)) .statement { font-size: clamp(26px, 3.6vw, 54px); }
:root:lang(ko) :is(h1, h2, h3, p, li) { word-break: keep-all; }
:root:lang(hi) .hero__title { font-size: clamp(32px, 5.2vw, 78px); }
:root:lang(hi) :is(.h2, .cta__title) { font-size: clamp(30px, 4.4vw, 64px); }
:root:lang(hi) .statement { font-size: clamp(26px, 3.8vw, 56px); }
:root:is(:lang(de), :lang(fr), :lang(pt), :lang(es), :lang(ru), :lang(he)) .hero__title { font-size: clamp(36px, 6vw, 90px); }
:root:is(:lang(de), :lang(fr), :lang(pt), :lang(es), :lang(ru)) :is(.h2, .cta__title) { font-size: clamp(34px, 4.8vw, 68px); }

/* =========================================================================
   LANGUAGE MORPH: old text dissolves in its place while the new text
   condenses in its place, along one soft front in the reading direction
   ========================================================================= */
@property --xfp { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.xf-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.xf-ghost { position: absolute; margin: 0; box-sizing: border-box; }
.xf-in, .xf-ghost {
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--xfp) 0; mask-position: var(--xfp) 0;
}
.xf-in, .xf-rtl .xf-ghost { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); }
.xf-ghost, .xf-in.xf-rtl { -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 60%); mask-image: linear-gradient(90deg, transparent 40%, #000 60%); }

/* =========================================================================
   CONTACT: training-field background + form
   ========================================================================= */
.contact { width: 100%; max-width: 780px; margin-top: clamp(56px, 7vw, 88px); text-align: start; }

/* --- the form */
.cform {
  position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgb(var(--glass-rgb) / .055), rgb(var(--glass-rgb) / .015));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .6);
}
:root[data-theme="light"] .cform { background: rgb(255 255 255 / .74); box-shadow: 0 30px 70px -40px rgba(31, 26, 29, .25); }
.cform h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; color: var(--heading); }
.cform__sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.cform__fields { display: grid; gap: 16px; margin-top: 26px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field__label { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.field__opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--heading);
  background: rgb(var(--glass-rgb) / .04); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field ::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(var(--fg-rgb) / .28); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(232, 112, 154, .75); background: rgb(var(--glass-rgb) / .07); box-shadow: 0 0 0 4px rgba(232, 112, 154, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: rgba(232, 112, 154, .95); }
.field__select { position: relative; display: block; }
.field__select select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px; cursor: pointer; }
.field__select::after {
  content: ""; position: absolute; inset-inline-end: 15px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.field select option { color: var(--text); background: var(--bg-2); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.cform__note { flex: 1 1 220px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cform__note a { color: var(--heading); border-bottom: 1px solid rgba(232, 112, 154, .5); white-space: nowrap; }
.cform__note a:hover { color: var(--pink); }
.cform.is-done .cform__fields { display: none; }
.cform__done { margin-top: 28px; }
.cform__check {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  font-size: 22px; color: #fff; background: var(--grad-deep); box-shadow: 0 0 34px rgba(232, 112, 154, .5);
  animation: checkPop .6s cubic-bezier(.25, 1.6, .45, 1);
}
@keyframes checkPop { from { transform: scale(.3); opacity: 0; } }
.cform__done h4 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--heading); }
.cform__done p { margin-top: 8px; color: var(--muted); max-width: 420px; }
.cform__doneActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }


/* --- continual-learning background */
.cta__train {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
}
.trainhud {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 1;
  display: grid; gap: 7px; font-size: 10px; color: var(--faint); text-align: start; pointer-events: none;
}
.trainhud__row { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.trainhud b { font-weight: 500; color: var(--heading); font-variant-numeric: tabular-nums; text-transform: none; }
.trainhud .dot { width: 5px; height: 5px; margin-right: -8px; }
.trainhud__now b { color: var(--pink); text-transform: uppercase; }
.trainhud__chart { width: 120px; height: 22px; }
@media (max-width: 760px) { .trainhud { left: 16px; right: 16px; bottom: 18px; } .trainhud__chart, .trainhud__now { display: none; } .trainhud__row { gap: 12px; } }
.cta { padding-bottom: clamp(150px, 16vw, 220px); }

/* --- larger, calmer form over the moving field */
.contact .cform {
  padding: clamp(28px, 4.5vw, 52px);
  background: rgb(var(--bg-rgb) / .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .75);
}
:root[data-theme="light"] .contact .cform { background: rgb(255 255 255 / .82); }
.contact .cform h3 { font-size: clamp(26px, 3vw, 36px); }
.contact .cform__sub { font-size: 16.5px; }
.contact .cform__fields { gap: 20px; margin-top: 32px; }
.contact .cform__row { gap: 18px; }
.contact .field__label { font-size: 11.5px; }
.contact .field input, .contact .field select, .contact .field textarea { font-size: 16.5px; padding: 15px 17px; border-radius: 14px; }
.contact .field textarea { min-height: 190px; }
.contact .cform__foot { margin-top: 8px; gap: 16px 24px; }
.contact .cform .btn--primary { --h: 56px; padding: 0 30px; font-size: 16px; }
.contact .cform__note { font-size: 14px; }

/* form result: sent through the form service vs. handed to the visitor's email app */
.cform:not(.is-sent) .cform__doneSent, .cform.is-sent .cform__doneMail { display: none; }
.cform.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.cform__error { margin-top: 12px; font-size: 13.5px; color: var(--pink); }
