:root {
  --ink: #071a2d;
  --ink-2: #102b45;
  --paper: #f6f8f7;
  --white: #ffffff;
  --cyan: #3bd4d8;
  --cyan-soft: #b6f3ef;
  --gold: #e8ae58;
  --muted: #627181;
  --line: rgba(7, 26, 45, 0.15);
  --max: 1280px;
  --pad: clamp(1.3rem, 4vw, 4.5rem);
  --display: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cyan);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: .25rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 0 var(--pad);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 26, 45, .94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: clamp(12.5rem, 19vw, 15.5rem);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .1));
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: .88rem;
  font-weight: 620;
  text-decoration: none;
  letter-spacing: .02em;
}
.site-nav a:not(.nav-cta) { opacity: .76; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.nav-cta {
  padding: .68rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 2rem;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  min-height: 820px;
  padding: 9rem var(--pad) 6rem;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 33%, rgba(59, 212, 216, .13), transparent 26%),
    linear-gradient(140deg, #061726 0%, #0a2036 58%, #102d48 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to left, black, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.18);
}
.hero-copy, .model-card { position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  margin: 0 0 1.6rem;
  font-size: .75rem;
  font-weight: 780;
  letter-spacing: .16em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--cyan-soft);
}
.eyebrow span { width: 2.5rem; height: 1px; background: var(--cyan); }
.section-kicker { color: #37637d; }
.section-kicker.light { color: var(--cyan-soft); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 {
  font-family: var(--display);
  margin: 0;
  font-weight: 580;
  letter-spacing: -.045em;
  line-height: 1.03;
}
h1 { max-width: 760px; font-size: clamp(3.6rem, 6.4vw, 7.25rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 5.1rem); }
.hero-lede {
  max-width: 660px;
  margin: 2rem 0 0;
  color: rgba(255,255,255,.75);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 2rem; align-items: center; margin-top: 2.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 52px;
  padding: .85rem 1.2rem;
  border-radius: .25rem;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); }
.button-light { color: var(--ink); background: var(--white); }
.text-link {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.text-link span { margin-left: .55rem; color: var(--cyan); }

.model-card {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(2, 14, 26, .46);
  box-shadow: 0 40px 90px rgba(0,0,0,.2);
  backdrop-filter: blur(7px);
}
.model-card-head, .model-facts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.model-card-head { border-bottom: 1px solid rgba(255,255,255,.15); }
.status { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.58); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(59,212,216,.1); }
.signal-field { position: relative; height: 340px; overflow: hidden; }
.signal-field::before, .signal-field::after {
  content: "";
  position: absolute;
  inset: 0;
}
.signal-field::before {
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 42px 42px;
}
.signal-field::after { background: radial-gradient(circle at 51% 51%, rgba(59,212,216,.25), transparent 19%); }
.signal-field > span {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px 4px rgba(232,174,88,.24);
}
.signal-field svg { position: absolute; z-index: 1; inset: 7% 0 0; width: 100%; height: 86%; }
.signal-field path { fill: none; stroke: rgba(59,212,216,.42); stroke-width: 1.4; stroke-dasharray: 4 5; }
.core-label { position: absolute; z-index: 3; left: 50%; top: 51%; transform: translate(-50%, -50%); width: 180px; text-align: center; }
.core-label::before {
  content: "";
  position: absolute;
  inset: -36px -24px;
  border: 1px solid rgba(59,212,216,.34);
  border-radius: 50%;
  box-shadow: inset 0 0 38px rgba(59,212,216,.06), 0 0 38px rgba(59,212,216,.04);
}
.core-label small { display: block; margin-bottom: .45rem; color: var(--cyan-soft); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.core-label strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.model-facts { padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.model-facts div { flex: 1; display: flex; gap: .75rem; padding: 1rem; border-right: 1px solid rgba(255,255,255,.13); }
.model-facts div:last-child { border-right: 0; }
.model-facts span { color: var(--cyan); }
.model-facts p { margin: 0; color: rgba(255,255,255,.66); font-size: .67rem; }

.section-pad { padding: clamp(5.5rem, 10vw, 10rem) var(--pad); }
.premise { max-width: var(--max); margin: 0 auto; }
.premise-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.premise h2 { max-width: 800px; }
.premise-copy { padding-top: .45rem; }
.premise-copy p { margin: 0 0 1.5rem; color: #4e6070; font-size: 1.05rem; }
.premise-copy p:first-child { color: var(--ink); font-size: 1.2rem; }

[id] { scroll-margin-top: 100px; }
.clinical { background: #e8f0f0; }
.clinical-heading, .audience-grid, .clinical-note { max-width: var(--max); margin-left: auto; margin-right: auto; }
.clinical-heading h2 { max-width: 1000px; }
.clinical-heading > p:last-child { max-width: 720px; margin-top: 2rem; color: #4e6070; font-size: 1.1rem; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3.5rem; border-top: 1px solid var(--line); }
.audience-grid article { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.audience-grid article:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.audience-label { color: #37637d; font-size: .875rem; font-weight: 750; letter-spacing: .09em; }
.audience-grid h3 { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; letter-spacing: -.025em; }
.audience-grid article > p:last-child { color: #4e6070; font-size: 1rem; max-width: 520px; }
.clinical-note { margin-top: 2rem; color: #4e6070; font-size: .875rem; }
.application-list a { text-underline-offset: .25em; }
.model-card-head { flex-wrap: wrap; font-size: .8rem; letter-spacing: .04em; }
.model-facts div { min-width: 0; flex-wrap: wrap; gap: .4rem; }
.model-facts p { font-size: .8rem; letter-spacing: .02em; }
.core-label small { font-size: .8rem; }

.method {
  color: var(--white);
  background: var(--ink);
}
.method-intro {
  display: grid;
  grid-template-columns: 1.25fr .55fr;
  gap: clamp(3rem, 10vw, 10rem);
  max-width: var(--max);
  margin: 0 auto 5rem;
  align-items: end;
}
.method-intro h2 { max-width: 770px; }
.method-intro > p { margin: 0; color: rgba(255,255,255,.65); }
.method-interface {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.15);
}
.stage-list { display: flex; flex-direction: column; }
.stage-list button {
  display: grid;
  grid-template-columns: 2.3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 78px;
  padding: 1rem 1.35rem;
  color: rgba(255,255,255,.52);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.stage-list button:last-child { border-bottom: 0; }
.stage-list button:hover { color: var(--white); background: rgba(255,255,255,.025); }
.stage-list button[aria-selected="true"] { color: var(--ink); background: var(--cyan); }
.stage-list span { font-size: .72rem; letter-spacing: .08em; }
.stage-list strong { font-size: 1rem; }
.stage-list i { font-style: normal; }
.stage-panels { position: relative; min-height: 390px; padding: clamp(2rem, 5vw, 5rem); border-left: 1px solid rgba(255,255,255,.15); background: var(--ink-2); }
.stage-panel { animation: panelIn .3s ease both; }
.panel-number { margin: 0 0 2rem; color: var(--cyan-soft); font-size: .7rem; font-weight: 750; letter-spacing: .12em; }
.stage-panel h3 { max-width: 560px; margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3.2rem); font-weight: 570; line-height: 1.1; letter-spacing: -.03em; }
.stage-panel > p:not(.panel-number) { max-width: 650px; margin: 1.5rem 0; color: rgba(255,255,255,.66); font-size: 1.04rem; }
.stage-panel ul { display: grid; gap: .55rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.stage-panel li { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.86); font-size: .88rem; }
.stage-panel li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.principles { max-width: var(--max); margin: 0 auto; }
.principles-head { display: grid; grid-template-columns: .55fr 1.35fr; gap: 3rem; align-items: start; margin-bottom: 5rem; }
.principles-head h2 { max-width: 940px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { min-height: 290px; padding: 2rem 1.8rem 1.5rem 0; border-right: 1px solid var(--line); }
.principle-grid article:not(:first-child) { padding-left: 1.8rem; }
.principle-grid article:last-child { border-right: 0; }
.principle-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #0c7e89; background: #ddf3f1; border-radius: 50%; font-size: 1.2rem; }
.principle-grid h3 { margin: 3.8rem 0 .8rem; font-family: var(--display); font-size: 1.35rem; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.applications {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(4rem, 12vw, 11rem);
  color: var(--white);
  background: #123e4a;
}
.applications-copy { max-width: 520px; }
.applications-copy h2 { margin-bottom: 2rem; }
.applications-copy > p:last-child { color: rgba(255,255,255,.65); }
.application-list { border-top: 1px solid rgba(255,255,255,.25); }
.application-list article {
  display: grid;
  grid-template-columns: 2rem .75fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.application-list span { color: var(--cyan-soft); font-size: .7rem; font-weight: 700; }
.application-list h3 { margin: 0; font-family: var(--display); font-size: 1.18rem; }
.application-list p { margin: 0; color: rgba(255,255,255,.6); font-size: .88rem; }

.founder {
  display: grid;
  grid-template-columns: 1.2fr .7fr;
  gap: clamp(4rem, 12vw, 11rem);
  max-width: var(--max);
  margin: 0 auto;
}
.founder-quote { display: flex; gap: 1.5rem; }
.founder-quote > span { color: var(--gold); font-family: Georgia, serif; font-size: 6rem; line-height: .8; }
blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 3.3rem); line-height: 1.2; letter-spacing: -.03em; }
.founder-note { padding-top: .7rem; }
.founder-note > p:not(.section-kicker) { color: var(--muted); }
.founder-note strong { color: var(--ink); }
.founder-note .development-note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; color: #35636e; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.development-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.closing {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.closing::after {
  content: "";
  position: absolute;
  width: 45vw;
  height: 45vw;
  right: -8vw;
  bottom: -20vw;
  border: 1px solid rgba(59,212,216,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(59,212,216,.03), 0 0 0 14vw rgba(59,212,216,.025);
}
.closing h2 { position: relative; z-index: 1; max-width: 780px; margin-bottom: 3rem; }
.closing .button { position: relative; z-index: 1; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem var(--pad);
  color: rgba(255,255,255,.58);
  background: #03101d;
  font-size: .78rem;
}
.brand-footer { color: var(--white); }
.brand-logo-footer { width: 13.5rem; }
footer p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 9.5rem; }
  .hero-copy { max-width: 850px; }
  .model-card { max-width: 760px; width: 100%; justify-self: end; }
  .premise-grid, .method-intro, .founder { grid-template-columns: 1fr; }
  .premise-copy { max-width: 700px; }
  .principles-head { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid article:nth-child(2) { border-right: 0; }
  .principle-grid article:nth-child(3), .principle-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .applications { grid-template-columns: 1fr; }
  .application-list { max-width: 850px; }
}

@media (max-width: 740px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article, .audience-grid article:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .site-header { min-height: 68px; }
  .brand-logo { width: 11.2rem; }
  .nav-toggle {
    display: grid;
    gap: 6px;
    padding: .6rem;
    color: var(--white);
    background: transparent;
    border: 0;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem var(--pad) 1.2rem;
    background: rgba(7,26,45,.98);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 0; }
  .nav-cta { border: 0; }
  .hero { min-height: auto; padding-bottom: 4rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .model-card-head { align-items: flex-start; gap: 1rem; }
  .status { text-align: right; }
  .signal-field { height: 290px; }
  .model-facts { align-items: stretch; }
  .model-facts div { flex-direction: column; gap: .25rem; }
  .method-interface { grid-template-columns: 1fr; }
  .stage-list { display: grid; grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .stage-list button { display: flex; justify-content: center; min-width: 58px; min-height: 58px; padding: .65rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .stage-list strong, .stage-list i { display: none; }
  .stage-panels { min-height: 450px; border-left: 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:not(:first-child) { min-height: auto; padding: 2rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 2rem; }
  .application-list article { grid-template-columns: 2rem 1fr; }
  .application-list p { grid-column: 2; }
  .founder-quote { gap: .4rem; }
  .founder-quote > span { font-size: 4rem; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}

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