/* =========================================================
   SYNTHETIC BRAINS — main.css
   Premium deep-tech landing page
   ========================================================= */

:root {
  /* Palette */
  --black: #050608;
  --graphite: #101318;
  --graphite-2: #0a0c10;
  --line: rgba(244, 245, 247, 0.08);
  --line-strong: rgba(244, 245, 247, 0.16);
  --white: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.62);
  --faint: rgba(244, 245, 247, 0.4);

  /* Accents — warm gold/copper (electronic contacts) is the primary accent.
     --cyan is remapped to copper so existing accent references adopt the new
     identity; a cooled steel and faint iridescence remain for contrast. */
  --copper: #c69c6d;
  --copper-bright: #e0b884;
  --cyan: #c69c6d;        /* remapped to copper (was neon cyan) */
  --cool: #a7bcc4;        /* restrained cool white/steel for rare contrast */
  --blue: #8a9aa8;        /* muted steel */
  --bio: #b8b09a;         /* muted, not glowing green */
  --iris: #9a8fbf;        /* faint semiconductor iridescence, used sparingly */
  --accent-soft: rgba(198, 156, 109, 0.14);

  /* Type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --grotesk: "Space Grotesk", var(--sans);

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(90px, 13vw, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(198, 156, 109, 0.3); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #001014;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: 80px;
}

.eyebrow {
  font-family: var(--grotesk);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

h2.section__title {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
  font-weight: 300;
}

p.body { color: var(--muted); max-width: 64ch; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: var(--pad-y) 1.7rem;
  font-family: var(--grotesk);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--white);
  color: #05070a;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px rgba(198, 156, 109, 0.55);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn--wide { width: 100%; justify-content: center; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; color: var(--white); }
.nav__mark { color: var(--cyan); display: flex; }
.nav__name {
  font-family: var(--grotesk);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a[aria-current="true"] { color: var(--cyan); }
.nav__cta {
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: var(--white) !important;
}
.nav__cta:hover { border-color: var(--cyan); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 1.5px; background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--gutter) 1.5rem;
  gap: 0.2rem;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* Respect the hidden attribute (closed by default until toggled) */
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--grotesk);
  letter-spacing: 0.08em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 40%, rgba(16, 19, 24, 0.9), rgba(5, 6, 8, 1) 70%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 70% at 22% 50%, rgba(5, 6, 8, 0.86) 0%, rgba(5, 6, 8, 0.2) 55%, transparent 75%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.55) 0%, transparent 22%, transparent 70%, rgba(5, 6, 8, 0.9) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: 6rem;
}
.hero__eyebrow {
  font-family: var(--grotesk);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.8rem;
}
.hero__title {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero__title span { display: block; }
.hero__tagline {
  font-family: var(--grotesk);
  font-size: clamp(1rem, 2.6vw, 1.9rem);
  letter-spacing: 0.24em;
  font-weight: 400;
  margin: 1.6rem 0 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--white), var(--cyan) 120%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lede {
  margin: 2rem 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__note { margin-top: 1.6rem; font-size: 0.82rem; color: var(--faint); letter-spacing: 0.02em; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--grotesk);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollpulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

.hero .reveal { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   RESPONSIVE (base — extended in later block)
   ========================================================= */
/* Desktop: mobile menu never shows, regardless of hidden attribute state */
@media (min-width: 861px) {
  .nav__mobile { display: none !important; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero__veil {
    background:
      radial-gradient(120% 80% at 50% 30%, rgba(5,6,8,0.35), transparent 60%),
      linear-gradient(180deg, rgba(5,6,8,0.6) 0%, transparent 30%, rgba(5,6,8,0.94) 100%);
  }
}

/* =========================================================
   SHARED SECTION ELEMENTS
   ========================================================= */
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 2 * var(--gutter)));
  height: 1px;
  background: var(--line);
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 3rem;
  align-items: start;
}
.body { margin: 0 0 1.3rem; font-size: 1.05rem; line-height: 1.7; }
em { color: var(--white); font-style: italic; }

.huge-statement {
  max-width: 22ch;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  color: var(--white);
}
.big-idea__q {
  font-family: var(--grotesk);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--cyan);
  line-height: 1.35;
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--cyan);
}

.disclaimer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--faint);
  max-width: 70ch;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
}

/* ---- Vertical evolution timeline ---- */
.timeline-v { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline-v::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--line-strong), var(--cyan));
}
.timeline-v li {
  position: relative; padding: 0.55rem 0 0.55rem 1.8rem;
  font-family: var(--grotesk); letter-spacing: 0.04em; color: var(--muted);
  font-size: 0.98rem; text-transform: uppercase;
}
.timeline-v li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--graphite); border: 1px solid var(--line-strong);
}
.timeline-v__peak { color: var(--white) !important; font-weight: 600; }
.timeline-v__peak::before {
  background: var(--copper); border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(198,156,109,0.16), 0 0 22px rgba(198,156,109,0.65);
}
.timeline-v__flag {
  display: block; margin-top: 0.3rem; font-size: 0.68rem; letter-spacing: 0.22em;
  color: var(--copper); font-style: normal;
}

/* ---- Card grid ---- */
.grid-cards {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card {
  background: var(--black);
  padding: 2rem 1.7rem 2.2rem;
  transition: background 0.5s var(--ease);
}
.card:hover { background: var(--graphite-2); }
.card__idx {
  font-family: var(--grotesk); font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--cyan); opacity: 0.8;
}
.card h3 {
  font-family: var(--grotesk); font-weight: 500; font-size: 1.15rem;
  margin: 0.8rem 0 0.6rem; letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---- Architecture ---- */
.arch {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.arch__layers { list-style: none; margin: 0; padding: 0; position: relative; }
.arch__layers::before {
  content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--bio));
  opacity: 0.5;
}
.arch__layer {
  position: relative; padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.arch__layer:hover { padding-left: 2.5rem; }
.arch__dot {
  position: absolute; left: 0; top: 1.15rem; width: 13px; height: 13px;
  border-radius: 50%; background: var(--graphite); border: 1px solid var(--copper);
}
.arch__layer:hover .arch__dot { background: var(--copper); box-shadow: 0 0 16px rgba(198,156,109,0.75); }
.arch__layer b {
  font-family: var(--grotesk); font-weight: 500; font-size: 1.1rem; display: block;
}
.arch__layer small { color: var(--faint); font-size: 0.9rem; }

.arch__loop {
  position: sticky; top: 100px;
  border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.8rem;
  background: linear-gradient(180deg, rgba(198,156,109,0.05), rgba(255,255,255,0.01));
}
.arch__loop-title, .arch__loop-note {
  font-family: var(--grotesk); letter-spacing: 0.1em; text-transform: uppercase;
}
.arch__loop-title { font-size: 0.8rem; color: var(--cyan); margin: 0 0 1.2rem; }
.loop { display: flex; flex-direction: column; gap: 0.55rem; }
.loop span {
  position: relative; padding: 0.5rem 0.9rem; border: 1px solid var(--line-strong);
  border-radius: 8px; font-size: 0.9rem; color: var(--white);
  background: rgba(255,255,255,0.02);
}
.loop span:not(:last-child)::after {
  content: "↓"; position: absolute; left: 50%; bottom: -0.62rem;
  transform: translateX(-50%); color: var(--cyan); font-size: 0.7rem;
}
.arch__loop-note { font-size: 0.72rem; color: var(--faint); margin: 1.4rem 0 0; }

/* ---- Difference / compare ---- */
.compare {
  margin-top: 3.4rem; display: grid;
  grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.compare--tight { margin-top: 2.4rem; }
.compare__col {
  border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.8rem;
  background: rgba(255,255,255,0.012);
}
.compare__col--accent {
  border-color: rgba(198,156,109,0.3);
  background: linear-gradient(180deg, rgba(198,156,109,0.06), rgba(255,255,255,0.01));
}
.compare__label {
  font-family: var(--grotesk); font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 1.4rem;
}
.compare__col--accent .compare__label { color: var(--cyan); }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.flow li {
  position: relative; font-family: var(--grotesk); font-size: 1.2rem; letter-spacing: 0.02em;
  padding: 0.4rem 0 0.4rem 1.6rem;
}
.flow li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong);
}
.compare__col--accent .flow li::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.flow--long li { font-size: 1.05rem; }
.compare__note { margin: 2.4rem auto 0; text-align: center; max-width: 68ch; }

/* ---- Why the brain ---- */
.chips { list-style: none; margin: 2.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips li {
  font-family: var(--grotesk); font-size: 0.85rem; letter-spacing: 0.04em;
  padding: 0.5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--muted);
}
.why-compare {
  margin-top: 3.4rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.why-compare__item {
  border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.8rem;
}
.why-compare__item h3 { font-family: var(--grotesk); font-weight: 500; margin: 0 0 0.8rem; font-size: 1.2rem; }
.why-compare__item p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.why-compare__item--accent {
  border-color: rgba(88,224,168,0.3);
  background: linear-gradient(180deg, rgba(88,224,168,0.05), transparent);
}
.pullquote {
  margin: 3.6rem 0 0; font-family: var(--grotesk); font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1.35; letter-spacing: -0.01em;
  color: var(--white); max-width: 28ch;
}

/* ---- Convergence ---- */
.converge {
  position: relative; margin: 4rem auto 0; width: min(560px, 100%);
  aspect-ratio: 1; display: grid; place-items: center;
  /* ring radius as an absolute length so translateY resolves correctly
     (percentages in translate resolve against the element, not the container) */
  --ring-radius: clamp(120px, 34vw, 210px);
}
.converge__center {
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-family: var(--grotesk); font-weight: 600; letter-spacing: 0.04em; font-size: clamp(0.9rem, 2.4vw, 1.3rem);
  background: radial-gradient(circle, rgba(198,156,109,0.18), rgba(5,6,8,0.9) 70%);
  border: 1px solid rgba(198,156,109,0.45);
  box-shadow: 0 0 60px -10px rgba(198,156,109,0.4);
  z-index: 2;
}
.converge__ring { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.converge__ring li {
  position: absolute; top: 50%; left: 50%;
  font-family: var(--grotesk); font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(10,12,16,0.92); color: var(--muted); white-space: nowrap;
  /* radius expressed as an absolute length (clamped) so labels land on the ring */
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--ring-radius))) rotate(calc(-1 * var(--a)));
}
.converge__ring li:nth-child(1) { --a: 0deg; }
.converge__ring li:nth-child(2) { --a: 72deg; }
.converge__ring li:nth-child(3) { --a: 144deg; }
.converge__ring li:nth-child(4) { --a: 216deg; }
.converge__ring li:nth-child(5) { --a: 288deg; }
.converge__tags {
  list-style: none; margin: 3.4rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center;
}
.converge__tags li {
  font-family: var(--grotesk); font-size: 0.8rem; letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--faint);
}

/* =========================================================
   VISION SECTIONS (9-15)
   ========================================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Vision ---- */
.vision__label {
  margin: 3.4rem 0 1.4rem; font-family: var(--grotesk);
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan);
}
.app-grid, .moat-grid, .humanity-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.app-grid li, .moat-grid li, .humanity-grid li {
  background: var(--black); padding: 1.5rem 1.6rem;
  font-family: var(--grotesk); font-size: 1.05rem; letter-spacing: -0.01em;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.app-grid li:hover, .moat-grid li:hover, .humanity-grid li:hover { background: var(--graphite-2); color: var(--cyan); }

/* ---- Trajectory horizontal scroll ---- */
.traj-scroll {
  margin: 3.4rem 0 2rem;
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.traj-scroll::-webkit-scrollbar { height: 6px; }
.traj-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.traj-card {
  scroll-snap-align: start; flex: 0 0 min(340px, 78vw);
  border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.traj-card__year {
  font-family: var(--grotesk); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--cyan);
}
.traj-card h3 { font-family: var(--grotesk); font-weight: 500; font-size: 1.4rem; margin: 0.8rem 0 1.2rem; }
.traj-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.traj-card li { color: var(--muted); font-size: 0.95rem; padding-left: 1.1rem; position: relative; }
.traj-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }
.traj-card--horizon {
  border-color: rgba(198,156,109,0.3);
  background: linear-gradient(180deg, rgba(198,156,109,0.08), transparent);
}
.traj-card__poetic { font-family: var(--grotesk); font-size: 1.15rem; color: var(--white); line-height: 1.4; margin: 0; }

/* ---- Investor ---- */
.questions-inline { list-style: none; margin: 2.6rem 0; padding: 0; display: grid; gap: 1rem; }
.questions-inline li {
  font-family: var(--grotesk); font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.3;
  color: var(--white); padding-left: 1.4rem; border-left: 2px solid var(--line-strong);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.questions-inline li:hover { border-color: var(--cyan); }
.investor__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.8rem; }

/* ---- Credibility ---- */
.principles-list {
  margin: 3.4rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  counter-reset: p;
}
.principles-list li {
  background: var(--black); padding: 1.8rem 1.7rem; counter-increment: p; position: relative;
}
.principles-list li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--grotesk); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--cyan); opacity: 0.7;
}
.principles-list b { display: block; font-family: var(--grotesk); font-weight: 500; font-size: 1.1rem; margin: 0.7rem 0 0.4rem; }
.principles-list span { color: var(--muted); font-size: 0.92rem; }

/* ---- Impossible questions ---- */
.questions { background: radial-gradient(120% 80% at 50% 20%, rgba(16,19,24,0.7), var(--black) 70%); }
.q-stack { display: flex; flex-direction: column; gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 1rem; }
.q-line {
  font-family: var(--grotesk); font-weight: 400;
  font-size: clamp(1.4rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--faint); margin: 0; max-width: 26ch; transition: color 1s var(--ease);
}
.q-line.is-in { color: var(--muted); }
.q-line--final {
  color: var(--white); font-weight: 500;
  background: linear-gradient(90deg, var(--white), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
}
.q-line--final.is-in { color: transparent; }

/* ---- Humanity ---- */
.humanity { text-align: center; }
.humanity .eyebrow, .humanity .section__title { margin-inline: auto; }
.humanity .section__title { max-width: 24ch; }
.humanity .lead { margin-inline: auto; text-align: center; }
.humanity-grid { margin-top: 3.4rem; text-align: left; }

/* =========================================================
   FINAL CTA + FOOTER
   ========================================================= */
.final {
  position: relative; min-height: 92svh; display: flex; align-items: center;
  text-align: center; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 60%, rgba(10,12,16,0.9), var(--black) 70%);
}
/* soft darkening over the moving core so the headline + form stay the focus */
.final .final__inner::before {
  content: "";
  position: absolute; inset: -10% -20%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 55%, rgba(5, 6, 8, 0.72), transparent 75%);
  pointer-events: none;
}
.final__inner { position: relative; }
.final::before { display: none; } /* remove section top hairline here */
.final__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  opacity: 0; transition: opacity 2s var(--ease);
}
.final__inner { position: relative; z-index: 2; }
.final__title {
  font-family: var(--grotesk); font-weight: 500;
  font-size: clamp(2rem, 6.5vw, 5rem); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 auto; max-width: 18ch;
}
.final__title span { color: var(--muted); }
.final__sub { margin: 1.8rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 300; }
.final__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.8rem; }
.final__contacts {
  list-style: none; margin: 3.4rem auto 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 2.4rem; justify-content: center;
}
.final__contacts li { display: flex; flex-direction: column; gap: 0.3rem; }
.final__contacts span {
  font-family: var(--grotesk); font-size: 0.68rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--faint);
}
.final__contacts a { color: var(--white); font-size: 0.98rem; transition: color 0.3s var(--ease); }
.final__contacts a:hover { color: var(--cyan); }

.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; background: var(--graphite-2); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.footer__name { font-family: var(--grotesk); font-weight: 600; letter-spacing: 0.16em; margin: 0; }
.footer__tag { color: var(--cyan); margin: 0.4rem 0 0.8rem; font-family: var(--grotesk); font-size: 0.9rem; letter-spacing: 0.08em; }
.footer__desc { color: var(--muted); margin: 0; max-width: 40ch; font-size: 0.95rem; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0.7rem 2.5rem; align-content: start; }
.footer__nav a { color: var(--muted); font-family: var(--grotesk); font-size: 0.9rem; letter-spacing: 0.06em; transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--white); }
.footer__base {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: end;
}
.footer__disclaimer { color: var(--faint); font-size: 0.8rem; max-width: 66ch; margin: 0; line-height: 1.6; }
.footer__copy { color: var(--faint); font-size: 0.8rem; margin: 0; white-space: nowrap; }

/* =========================================================
   RESPONSIVE POLISH
   ========================================================= */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .arch__loop { position: static; }
}

@media (max-width: 860px) {
  :root { --section-y: clamp(70px, 16vw, 120px); }
  .compare { grid-template-columns: 1fr; }
  .converge { width: min(440px, 100%); --ring-radius: clamp(110px, 40vw, 170px); }
  .converge__ring li { font-size: 0.72rem; padding: 0.4rem 0.7rem; }
  .footer__inner { flex-direction: column; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero__content { padding-top: 5rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .final__contacts { gap: 1.4rem; }
  .converge__ring li {
    /* stack the ring into a readable column on very small screens */
    position: static; transform: none; display: inline-block; margin: 0.2rem;
  }
  .converge {
    aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  }
  .converge__center { width: 190px; }
  .converge__ring { position: static; display: flex; flex-wrap: wrap; justify-content: center; }
  .principles-list, .grid-cards, .app-grid, .moat-grid, .humanity-grid { grid-template-columns: 1fr; }
  .q-line { font-size: clamp(1.5rem, 8vw, 2.2rem); }
}

/* Fine-tune the hero veil on ultra-wide so the core reads on the right */
@media (min-width: 1600px) {
  .hero__veil {
    background:
      radial-gradient(70% 70% at 20% 50%, rgba(5,6,8,0.9) 0%, rgba(5,6,8,0.2) 50%, transparent 70%),
      linear-gradient(180deg, rgba(5,6,8,0.5) 0%, transparent 20%, transparent 72%, rgba(5,6,8,0.9) 100%);
  }
}

/* Print / no-JS graceful degradation: ensure content is visible */
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   TEAM
   ========================================================= */
.team__figure {
  margin: 3.4rem 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--graphite-2);
  position: relative;
}
.team__figure img {
  width: 100%;
  height: auto;
  display: block;
  /* subtle grade so it sits inside the dark palette */
  filter: saturate(0.92) contrast(1.02);
}
.team__figure::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 120px 10px rgba(5, 6, 8, 0.55);
  border-radius: 18px;
}
.team__list {
  list-style: none; margin: 2.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.team__list li { background: var(--black); padding: 1.6rem 1.6rem 1.8rem; }
.team__list b { font-family: var(--grotesk); font-weight: 500; font-size: 1.15rem; display: block; }
.team__list span {
  display: block; margin: 0.3rem 0 0.7rem;
  font-family: var(--grotesk); font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan);
}
.team__list small { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 720px) {
  .team__list { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT FORM (final section)
   ========================================================= */
.final__head { max-width: 62ch; margin-inline: auto; }
.final__title { margin-bottom: 0; }

.contact {
  position: relative;
  margin: 3rem auto 0;
  width: min(560px, 100%);
  text-align: left;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  /* mostly opaque so the moving core behind the section doesn't
     bleed through and make the fields hard to read */
  background: linear-gradient(180deg, rgba(16, 19, 24, 0.92), rgba(10, 12, 16, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Floating-label fields */
.field { position: relative; }
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 1.4rem 0 0.6rem;
  resize: vertical;
  transition: border-color 0.4s var(--ease);
}
.field textarea { min-height: 3.2rem; line-height: 1.6; }
.field input:focus,
.field textarea:focus { outline: none; }

.field label {
  position: absolute;
  left: 0;
  top: 1.4rem;
  color: var(--faint);
  font-size: 1.05rem;
  pointer-events: none;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease), font-size 0.35s var(--ease);
  transform-origin: left top;
}
/* raise the label when focused or filled (placeholder trick) */
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.35rem) scale(0.78);
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* animated underline that grows from center on focus */
.field__line {
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}
.field input:focus ~ .field__line,
.field textarea:focus ~ .field__line { transform: scaleX(1); }

.field__error {
  display: none;
  margin-top: 0.5rem;
  color: #ff8f8f;
  font-size: 0.82rem;
}
.field.is-invalid input { border-bottom-color: #ff8f8f; }
.field.is-invalid .field__error { display: block; }

/* choice chips (radio) */
.field--choice { border: 0; padding: 0; margin: 0; }
.field--choice legend {
  padding: 0;
  font-family: var(--grotesk);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.chips-select { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips-select label { cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select span {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--grotesk);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.chips-select label:hover span { border-color: var(--line-strong); color: var(--white); }
.chips-select input:checked + span {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(198, 156, 109, 0.12);
}
.chips-select input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 3px; }

.contact__submit { margin-top: 0.4rem; }
.contact__submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.contact__hint {
  text-align: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--faint);
}
.contact__error {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: #ff8f8f;
}

/* success state */
.contact__done {
  text-align: center;
  padding: clamp(2.4rem, 6vw, 3.6rem) 2rem;
  border: 1px solid rgba(198, 156, 109, 0.3);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(198, 156, 109, 0.07), rgba(255, 255, 255, 0.01));
  animation: doneIn 0.6s var(--ease) both;
}
@keyframes doneIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.contact__check { color: var(--cyan); display: inline-flex; }
.contact__check path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: checkDraw 0.7s var(--ease) 0.15s forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.contact__done h3 {
  font-family: var(--grotesk); font-weight: 500; font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem;
}
.contact__done p { color: var(--muted); margin: 0 0 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  .field label,
  .field__line,
  .contact__done,
  .contact__check path { transition: none; animation: none; }
  .contact__check path { stroke-dashoffset: 0; }
}

/* =========================================================
   HARDWARE-CONCEPT ADDITIONS
   ========================================================= */
/* accent card (the "Synthetic Brains" distinction) */
.card--accent {
  background: linear-gradient(180deg, rgba(198, 156, 109, 0.09), rgba(255, 255, 255, 0.01));
}
.card--accent h3 { color: var(--copper); }

/* The equation: neurons + synapses + architecture = synthetic brain */
.principles__sub {
  margin: 3.4rem 0 1.4rem;
  font-family: var(--grotesk);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
}
.equation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
}
.equation li {
  font-family: var(--grotesk);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: -0.01em;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.equation__op {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  color: var(--copper);
  font-size: 1.5rem !important;
}
.equation__result {
  border-color: var(--copper) !important;
  color: var(--copper);
  background: linear-gradient(180deg, rgba(198, 156, 109, 0.12), transparent) !important;
  box-shadow: 0 0 30px -10px rgba(198, 156, 109, 0.5);
}

@media (max-width: 560px) {
  .equation { flex-direction: column; align-items: stretch; text-align: center; }
  .equation li { width: 100%; }
}

/* =========================================================
   TECHNOLOGY — building blocks with microscopy-style visuals
   ========================================================= */
/* full-width wafer photo introducing the section */
.tech-hero {
  margin: 3rem 0 0;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: #08090c;
}
.tech-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}
.tech-hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 160px 16px rgba(5, 6, 8, 0.55);
  border-radius: 18px;
}
.tech-hero figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.6rem 1.1rem;
  font-family: var(--grotesk);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.85));
}

.tech-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
/* a real photo used inside a building-block card */
.tech-viz--photo { display: block; }
.tech-viz--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}
.tech-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.tech-card:hover {
  border-color: rgba(198, 156, 109, 0.35);
  transform: translateY(-3px);
}
.tech-viz {
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: #08090c;
}
.tech-viz svg { width: 100%; height: 100%; display: block; }
/* faint scan-line / instrument overlay for a microscopy feel */
.tech-viz::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5,6,8,0.7) 100%);
}
.tech-card__idx {
  display: inline-block;
  margin: 1.6rem 1.7rem 0;
  font-family: var(--grotesk);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  opacity: 0.8;
}
.tech-card h3 {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0.5rem 1.7rem 0.6rem;
  letter-spacing: -0.01em;
}
.tech-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 1.7rem 1.9rem;
}

/* =========================================================
   FILM / PRODUCT VIDEO
   ========================================================= */
.film__frame {
  position: relative;
  margin: 3rem auto 0;
  width: 100%;
  max-width: var(--maxw);
  padding-inline: var(--gutter);
}
.film__video {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #08090c;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.95);
}
/* faint vignette + grain to seat the video in the palette */
.film__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  margin-inline: var(--gutter);
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 140px 12px rgba(5, 6, 8, 0.5);
}
.film__playbtn {
  position: absolute;
  inset: 0;
  margin-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  background: radial-gradient(60% 60% at 50% 50%, rgba(5, 6, 8, 0.35), rgba(5, 6, 8, 0.7));
  color: var(--white);
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}
.film__playbtn svg {
  width: 64px;
  height: 64px;
  padding: 18px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  color: var(--copper);
  background: rgba(5, 6, 8, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.film__playbtn:hover svg { transform: scale(1.08); background: rgba(198, 156, 109, 0.15); }
.film__playbtn span {
  font-family: var(--grotesk);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}
.film__frame.is-playing .film__playbtn { opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  /* portrait video on small screens */
  .film__video { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
}
