:root {
  --ink: #10110f;
  --graphite: #242621;
  --muted: #696d65;
  --paper: #fbfaf5;
  --quiet: #f0eee5;
  --white: #fff;
  --line: #ddd8c8;
  --green: #0b6b4f;
  --mint: #9de2d9;
  --gold: #a97818;
  --red: #91443d;
  --violet: #4f4a83;
  --blue: #285f84;
  --shadow: 0 26px 90px rgba(16, 17, 15, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 245, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--violet));
  font-weight: 950;
}

.brand strong,
.brand small { display: block; }
.brand strong { letter-spacing: .07em; }
.brand small { color: var(--muted); font-size: .78rem; }

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--graphite);
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
}

.site-nav a:hover { background: #ebe8dd; }
.site-nav .nav-cta { color: var(--white); background: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 78px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(157, 226, 217, .09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(157, 226, 217, .08) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(79, 74, 131, .62), transparent 34%),
    linear-gradient(145deg, #10110f 0%, #132820 56%, #211c32 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 7vw, 7.7rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4.7vw, 4.8rem);
  line-height: .97;
  letter-spacing: 0;
}

h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.16; }

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.hero-actions,
.text-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 860;
  text-decoration: none;
}

.button.primary { color: var(--white); background: var(--green); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.button.dark { color: var(--white); background: var(--ink); }
.button.light { color: var(--ink); border-color: var(--line); background: var(--white); }

.research-demo {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 40px 110px rgba(0,0,0,.32);
  overflow: hidden;
}

.demo-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.72);
  font-size: .86rem;
}

.demo-topbar strong { color: var(--mint); }

.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .85fr;
  gap: 1px;
  background: rgba(255,255,255,.14);
}

.avatar-panel,
.model-stack,
.human-panel {
  min-height: 430px;
  padding: 24px;
  background: rgba(12, 14, 13, .66);
}

.avatar-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar-head {
  position: relative;
  width: min(220px, 80%);
  aspect-ratio: 1;
  margin: 16px auto;
  border: 1px solid rgba(157,226,217,.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(157,226,217,.2), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.avatar-head::before,
.avatar-head::after {
  content: "";
  position: absolute;
  background: var(--mint);
}

.avatar-head::before {
  left: 50%;
  bottom: -34px;
  width: 2px;
  height: 54px;
  transform: translateX(-50%);
  opacity: .5;
}

.avatar-head::after {
  left: 27%;
  right: 27%;
  bottom: -36px;
  height: 2px;
  opacity: .5;
}

.visor {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 40%;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0b6b4f, #9de2d9, #4f4a83);
  box-shadow: 0 0 32px rgba(157,226,217,.38);
}

.speech-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.speech-card span,
.prototype-card span,
.publication-cards span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.speech-card p { margin-bottom: 0; color: rgba(255,255,255,.82); }

.model-stack {
  display: grid;
  gap: 14px;
}

.model-stack article {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.075);
}

.model-stack span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 950;
}

.model-stack strong { display: block; margin-bottom: 8px; }
.model-stack p,
.human-panel p { margin-bottom: 0; color: rgba(255,255,255,.68); }

.human-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviewer-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border: 1px solid rgba(157,226,217,.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, var(--mint) 0 9px, transparent 10px),
    radial-gradient(circle at 50% 78%, rgba(157,226,217,.5) 0 22px, transparent 23px);
}

.audit-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--mint);
  font-weight: 850;
}

.audit-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.demo-pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(0,0,0,.32);
}

.demo-pipeline span {
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.demo-pipeline i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip article {
  min-height: 150px;
  padding: 26px clamp(18px, 4vw, 38px);
  background: var(--white);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

.proof-strip span { color: var(--muted); font-weight: 740; }

.partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.partners img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 28px;
  background: var(--paper);
}

.big-question,
.visual-lab,
.learning-spaces,
.workflow,
.prototypes,
.metrics,
.leadership,
.publications,
.research-map {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 78px);
}

.big-question {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  background: var(--paper);
}

.big-question p:last-child {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.section-heading { max-width: 1080px; margin-bottom: 42px; }

.visual-lab {
  background: var(--paper);
}

.visual-lab .section-heading p:last-child {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.visual-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(280px, .65fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-feature video {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  background: var(--ink);
}

.visual-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(157,226,217,.08), transparent),
    var(--white);
}

.visual-caption span,
.visual-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.visual-caption p,
.visual-grid p {
  color: var(--muted);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.visual-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.visual-grid img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.visual-grid div {
  padding: 24px;
}

.learning-spaces {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 22%, rgba(157,226,217,.18), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(79,74,131,.5), transparent 34%),
    linear-gradient(135deg, #10110f, #142820 58%, #27213e);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.learning-grid article {
  min-height: 340px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.learning-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 950;
}

.learning-grid p {
  color: rgba(255,255,255,.72);
}

.workflow { background: var(--quiet); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.workflow-grid article {
  min-height: 310px;
  padding: 24px;
  background: var(--paper);
}

.workflow-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 950;
}

.workflow-grid p,
.comparison-card li,
.prototype-card p,
.metric-grid p,
.leader-card p,
.leader-facts dd,
.publication-cards p,
.contact p { color: var(--muted); }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.comparison-card {
  min-height: 540px;
  padding: clamp(36px, 6vw, 78px);
}

.old-way { background: #ebe8dd; }
.new-way { color: var(--white); background: linear-gradient(135deg, #10110f, #173d35 62%, #282344); }
.new-way .kicker { color: var(--mint); }
.new-way li { color: rgba(255,255,255,.78); }

.comparison-card ul,
.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.prototypes { background: var(--paper); }

.prototype-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 18px;
}

.prototype-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 70px rgba(16,17,15,.06);
}

.image-prototype {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  overflow: hidden;
}

.image-prototype img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.image-prototype div { padding: 28px; }

.mini-console {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 14px;
  border-radius: 8px;
  color: rgba(255,255,255,.78);
  background: #111;
}

.mini-console b {
  color: var(--mint);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mini-console em {
  display: block;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  font-style: normal;
}

.metrics {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(157,226,217,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(157,226,217,.08) 1px, transparent 1px),
    #10110f;
  background-size: 44px 44px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}

.metric-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--mint);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.metric-grid p { color: rgba(255,255,255,.7); }

.leadership {
  background:
    linear-gradient(90deg, rgba(11,107,79,.1), transparent 42%),
    var(--white);
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.leader-facts {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.leader-facts div { padding: 22px; background: var(--white); }
.leader-facts dt {
  margin-bottom: 8px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.leader-facts dd { margin: 0; font-weight: 740; }

.publications { background: var(--quiet); }

.publication-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.publication-cards a {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
}

.publication-cards a:hover { background: var(--white); box-shadow: var(--shadow); }

.research-map {
  color: var(--white);
  background: linear-gradient(135deg, #10110f, #132820 54%, #24203b);
}

.map-canvas {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(157,226,217,.15), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  overflow: hidden;
}

.map-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-canvas path {
  fill: none;
  stroke: rgba(157,226,217,.42);
  stroke-width: 2;
}

.map-node {
  position: absolute;
  z-index: 2;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-weight: 920;
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
}

.map-node span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  font-weight: 620;
}

.core-node {
  left: 50%;
  top: 50%;
  width: 210px;
  transform: translate(-50%, -50%);
  color: var(--ink);
  background: var(--mint);
  text-align: center;
}

.node-era { left: 7%; top: 15%; }
.node-care { right: 7%; top: 18%; }
.node-xtreme { right: 6%; bottom: 20%; }
.node-motive { left: 6%; bottom: 22%; }
.node-soma { left: 50%; bottom: 6%; transform: translateX(-50%); }

.contact {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 5vw, 78px);
  color: var(--white);
  background: linear-gradient(135deg, #10110f, #173d35 58%, #302049);
}

.contact p { max-width: 760px; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.contact-list { max-width: 800px; color: rgba(255,255,255,.8); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 78px);
  color: rgba(255,255,255,.72);
  background: #101010;
}
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 850; text-decoration: none; }

@media (max-width: 1180px) {
  .hero,
  .big-question,
  .visual-feature,
  .leader-card {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .publication-cards,
  .metric-grid,
  .learning-grid,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-grid,
  .prototype-grid {
    grid-template-columns: 1fr;
  }

  .avatar-panel,
  .model-stack,
  .human-panel {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; }
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 16px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }

  .before-after,
  .visual-grid,
  .partners {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .map-canvas svg { display: none; }
  .map-node,
  .core-node,
  .node-era,
  .node-care,
  .node-xtreme,
  .node-motive,
  .node-soma {
    position: static;
    width: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); line-height: .95; }
  h2 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1; }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .workflow-grid,
  .publication-cards,
  .metric-grid,
  .learning-grid,
  .proof-strip,
  .demo-pipeline {
    grid-template-columns: 1fr;
  }

  .demo-pipeline i { display: none; }

  .comparison-card,
  .prototype-card,
  .learning-grid article,
  .workflow-grid article,
  .metric-grid article,
  .publication-cards a {
    min-height: auto;
  }

  .partners img { height: 98px; }
  .contact,
  .footer { display: block; }
  .contact .button,
  .footer a { margin-top: 16px; }
}
