:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #151612;
  --muted: #62675f;
  --line: #d9ddd4;
  --panel: #ffffff;
  --field: #10211e;
  --field-2: #1b362f;
  --teal: #29d3c7;
  --green: #6abd6a;
  --amber: #e8a24a;
  --violet: #7267cb;
  --shadow: 0 24px 80px rgba(17, 25, 22, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 247, 242, 0.9);
  border-bottom: 1px solid rgba(21, 22, 18, 0.1);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  align-items: center;
  background: var(--field);
  color: var(--teal);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

.cinematic-home {
  background: #030807;
  color: #f6fbf9;
  min-height: 270svh;
  overflow: visible;
  padding: 0;
  position: relative;
}

#cinematic-root {
  min-height: 270svh;
}

.cinematic-loading {
  align-items: start;
  background:
    radial-gradient(circle at 72% 38%, rgba(41, 211, 199, 0.18), transparent 28rem),
    linear-gradient(135deg, #030807, #071512 68%, #030807);
  display: grid;
  gap: 14px;
  min-height: calc(100svh - 72px);
  padding: clamp(112px, 18vh, 180px) clamp(20px, 5vw, 78px);
}

.cinematic-loading strong {
  display: block;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  max-width: 900px;
}

.cinematic-loading span {
  color: rgba(246, 251, 249, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
  max-width: 560px;
}

.hero {
  align-items: end;
  display: grid;
  min-height: min(760px, 86svh);
  overflow: hidden;
  padding: clamp(84px, 12vh, 132px) clamp(18px, 5vw, 72px) clamp(34px, 6vh, 58px);
  position: relative;
}

.ray-canvas {
  height: 100%;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.76;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.hero-media {
  display: grid;
  gap: 8px;
  grid-template-columns: 1.15fr 0.85fr 0.75fr;
  inset: 0;
  opacity: 0.9;
  position: absolute;
  transform: scale(1.04);
}

.hero-media img {
  filter: saturate(0.5) contrast(1.08);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-media img:first-child {
  grid-row: span 2;
}

.hero-media img:nth-child(2) {
  grid-row: span 2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 15, 12, 0.88), rgba(10, 15, 12, 0.58) 38%, rgba(10, 15, 12, 0.18)),
    linear-gradient(0deg, rgba(10, 15, 12, 0.72), rgba(10, 15, 12, 0.02) 36%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  font-size: clamp(2.8rem, 8vw, 7.4rem);
  line-height: 0.94;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  margin: 22px 0 0;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #071211;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.signal-strip {
  background: var(--field);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.signal-strip div {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  padding: 22px clamp(18px, 4vw, 52px);
}

.signal-strip span,
.metrics-stack span,
.method-band span {
  color: var(--amber);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.signal-strip strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.identity-field,
.demo,
.contact {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.intro h2,
.identity-field h2,
.roadmap h2,
.program h2,
.engineering-reference h2,
.book-companion h2,
.evidence h2,
.demo h2,
.contact h2 {
  font-size: clamp(2.1rem, 5vw, 4.9rem);
  line-height: 1;
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.72;
}

.method-band {
  background: #20251d;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.identity-field {
  align-items: center;
  background:
    radial-gradient(circle at 82% 24%, rgba(41, 211, 199, 0.2), transparent 24rem),
    linear-gradient(135deg, #071b25 0%, #10211e 45%, #0a1015 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.identity-field::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle at 74% 50%, black, transparent 68%);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.identity-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.identity-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.72;
  max-width: 620px;
}

.identity-visual {
  aspect-ratio: 1;
  display: grid;
  min-height: min(52vw, 560px);
  place-items: center;
  position: relative;
  z-index: 1;
}

.identity-visual canvas {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.identity-mark {
  color: #f8fbff;
  filter: drop-shadow(0 14px 36px rgba(2, 9, 14, 0.45));
  font-size: clamp(4.8rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  position: relative;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.22),
    0 0 70px rgba(41, 211, 199, 0.26);
  z-index: 2;
}

.roadmap {
  background: #eef3ef;
}

.roadmap-heading {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.roadmap-path {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.roadmap-path article {
  background: rgba(255, 255, 255, 0.84);
  border-top: 5px solid var(--teal);
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  position: relative;
}

.roadmap-path article:nth-child(3n + 2) {
  border-top-color: var(--amber);
}

.roadmap-path article:nth-child(3n) {
  border-top-color: var(--green);
}

.roadmap-path article::after {
  background: linear-gradient(90deg, rgba(16, 33, 30, 0.08), transparent);
  content: "";
  height: 1px;
  left: clamp(22px, 3vw, 34px);
  position: absolute;
  right: clamp(22px, 3vw, 34px);
  top: 78px;
}

.roadmap-path span {
  color: var(--field-2);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 36px;
}

.roadmap-path h3 {
  font-size: clamp(1.22rem, 2vw, 1.8rem);
  line-height: 1.06;
  margin: 0 0 14px;
}

.roadmap-path p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
  max-width: 340px;
}

.discipline-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(28px, 5vw, 56px);
}

.discipline-grid article {
  background: var(--field);
  color: #fff;
  min-height: 360px;
  padding: clamp(26px, 4vw, 46px);
}

.discipline-grid article:nth-child(2) {
  background: #20342d;
}

.discipline-grid span {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.discipline-grid h3 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
  margin: 0 0 18px;
}

.discipline-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
  margin: 0 0 24px;
  max-width: 620px;
}

.discipline-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.discipline-grid li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 12px;
}

.program {
  background:
    radial-gradient(circle at 12% 18%, rgba(41, 211, 199, 0.16), transparent 28rem),
    linear-gradient(135deg, #0b1618 0%, #13231f 54%, #071011 100%);
  color: #fff;
}

.program-heading {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.program .section-heading p,
.program-hypothesis p,
.program-questions p,
.evidence-ladder p {
  color: rgba(255, 255, 255, 0.74);
}

.program-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.program-hypothesis,
.program-questions article {
  background: rgba(255, 255, 255, 0.065);
}

.program-hypothesis {
  min-height: 420px;
  padding: clamp(28px, 4vw, 52px);
}

.program-hypothesis span,
.program-questions span {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.program-hypothesis h3 {
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 0.98;
  margin: 0 0 24px;
}

.program-hypothesis p,
.program-questions p {
  line-height: 1.68;
  margin: 0;
}

.program-questions {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-questions article {
  min-height: 210px;
  padding: clamp(24px, 3vw, 38px);
}

.open-questions {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  margin-top: clamp(28px, 5vw, 56px);
}

.open-questions h3 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.open-questions ol {
  counter-reset: question;
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.open-questions li {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  counter-increment: question;
  font-size: clamp(1.02rem, 1.55vw, 1.3rem);
  font-weight: 850;
  line-height: 1.28;
  min-height: 116px;
  padding: 26px 26px 26px 76px;
  position: relative;
}

.open-questions li::before {
  color: var(--teal);
  content: counter(question, decimal-leading-zero);
  font-size: 0.76rem;
  font-weight: 950;
  left: 26px;
  position: absolute;
  top: 30px;
}

.patent-reference {
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.8fr) auto;
  margin-top: clamp(28px, 5vw, 56px);
  padding: clamp(26px, 4vw, 46px);
}

.patent-reference span,
.patent-reference dt {
  color: var(--field-2);
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.patent-reference h3 {
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
  line-height: 0.98;
  margin: 14px 0 18px;
}

.patent-reference p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.58;
  margin: 0;
  max-width: 560px;
}

.patent-reference dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.patent-reference dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 6px 0 0;
}

.patent-link {
  align-self: start;
  border: 2px solid var(--field-2);
  color: var(--field-2);
  font-size: 0.92rem;
  font-weight: 900;
  justify-self: end;
  min-width: 190px;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
}

.patent-link:hover {
  background: var(--field-2);
  color: #fff;
}

.evidence-ladder {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(28px, 5vw, 56px);
}

.evidence-ladder article {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.evidence-ladder span,
.evidence-ladder em {
  display: block;
  font-style: normal;
  font-weight: 900;
}

.evidence-ladder span {
  color: var(--field-2);
  font-size: 0.78rem;
  margin-bottom: 28px;
}

.evidence-ladder strong {
  display: block;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  line-height: 1.08;
  min-height: 3.4rem;
}

.evidence-ladder em {
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 16px 0 14px;
  text-transform: uppercase;
}

.evidence-ladder p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.engineering-reference {
  background: #f2f5f3;
}

.engineering-heading {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.founder-thesis {
  background:
    linear-gradient(135deg, rgba(16, 33, 30, 0.96), rgba(32, 52, 45, 0.94)),
    var(--field);
  color: #fff;
  margin-bottom: 1px;
  padding: clamp(28px, 5vw, 58px);
}

.founder-thesis span,
.validation-grid span,
.source-grid span {
  color: var(--teal);
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.founder-thesis p {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 750;
  line-height: 1.42;
  margin: 0;
  max-width: 1120px;
}

.founder-thesis p + p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  font-weight: 650;
  line-height: 1.66;
  margin-top: 22px;
  max-width: 980px;
}

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

.engineering-grid article {
  background: var(--panel);
  border-top: 5px solid var(--teal);
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
}

.engineering-grid article:nth-child(2) {
  border-top-color: var(--amber);
}

.engineering-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.engineering-grid article:nth-child(4) {
  border-top-color: var(--violet);
}

.engineering-grid span {
  color: var(--field-2);
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.engineering-grid h3 {
  font-size: clamp(1.34rem, 2vw, 2rem);
  line-height: 1.04;
  margin: 0 0 16px;
}

.engineering-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.engineering-grid ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.engineering-grid li {
  color: var(--field);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.42;
  padding-left: 18px;
  position: relative;
}

.engineering-grid li::before {
  background: var(--teal);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0.48em;
  width: 7px;
}

.validation-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1px;
}

.validation-grid article {
  background: #e6ece8;
  border-top: 5px solid var(--field-2);
  min-height: 270px;
  padding: clamp(24px, 3vw, 38px);
}

.validation-grid article:nth-child(2) {
  border-top-color: var(--amber);
}

.validation-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.validation-grid span {
  color: var(--field-2);
}

.validation-grid h3 {
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.validation-grid p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.traceability-strip {
  background: var(--field);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 5vw, 56px);
}

.traceability-strip span {
  background: rgba(255, 255, 255, 0.06);
  font-size: clamp(0.9rem, 1.3vw, 1.06rem);
  font-weight: 900;
  min-height: 96px;
  padding: 26px;
}

.source-grid {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(220px, 0.9fr) repeat(6, minmax(120px, 1fr));
  margin-top: 1px;
}

.source-grid span,
.source-grid a {
  align-items: center;
  display: flex;
  min-height: 88px;
  padding: 18px;
}

.source-grid span {
  background: #e6ece8;
  color: var(--field-2);
  margin: 0;
}

.source-grid a {
  background: #f9faf7;
  color: var(--field);
  font-size: 0.92rem;
  font-weight: 880;
  line-height: 1.25;
  text-decoration: none;
}

.source-grid a:hover {
  background: var(--field);
  color: #fff;
}

.research-boundary {
  background: #fff;
  border-left: 6px solid var(--amber);
  color: var(--field);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.58;
  margin: 1px 0 0;
  padding: clamp(22px, 3vw, 34px);
}

.method-band article {
  background: rgba(255, 255, 255, 0.035);
  min-height: 260px;
  padding: clamp(26px, 4vw, 48px);
}

.method-band h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 0 0 18px;
}

.method-band p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 360px;
}

.visual-atlas {
  background:
    radial-gradient(circle at 16% 16%, rgba(41, 211, 199, 0.16), transparent 28rem),
    linear-gradient(180deg, #f7f7f2 0%, #e9efeb 100%);
}

.visual-heading {
  align-items: start;
}

.visual-atlas-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 64px rgba(17, 25, 22, 0.09);
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.visual-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.visual-card img {
  aspect-ratio: 16 / 9;
  background: #07110f;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hotspot-media {
  background: #07110f;
  position: relative;
}

.hotspot-media::after {
  background:
    linear-gradient(180deg, transparent 56%, rgba(5, 12, 10, 0.5)),
    radial-gradient(circle at 42% 52%, rgba(41, 211, 199, 0.16), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hotspot {
  --hotspot-accent: var(--teal);
  --hotspot-x: 50%;
  --hotspot-y: 50%;
  align-items: center;
  background: var(--hotspot-accent);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(41, 211, 199, 0.16),
    0 14px 36px rgba(0, 0, 0, 0.34);
  color: #06110f;
  cursor: help;
  display: inline-flex;
  font: inherit;
  font-size: 0;
  font-weight: 950;
  height: 20px;
  justify-content: center;
  left: var(--hotspot-x);
  padding: 0;
  position: absolute;
  top: var(--hotspot-y);
  transform: translate(-50%, -50%);
  width: 20px;
  z-index: 2;
}

.hotspot::before {
  animation: hotspotPulse 2.8s ease-out infinite;
  border: 1px solid var(--hotspot-accent);
  border-radius: inherit;
  content: "";
  inset: -10px;
  opacity: 0.65;
  position: absolute;
}

.hotspot::after {
  content: "";
  height: 2px;
  position: absolute;
  width: 36px;
}

.hotspot span {
  background: rgba(7, 17, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  left: 50%;
  letter-spacing: 0;
  line-height: 1.45;
  min-width: min(260px, 70vw);
  opacity: 0;
  padding: 14px;
  pointer-events: none;
  position: absolute;
  text-transform: none;
  top: calc(100% + 18px);
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  visibility: hidden;
  z-index: 4;
}

.hotspot span::before {
  background: inherit;
  border-left: inherit;
  border-top: inherit;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  top: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
}

.hotspot span strong {
  color: #fff;
  display: block;
  font-size: 0.9rem;
  line-height: 1.15;
  margin-bottom: 6px;
}

.hotspot:hover,
.hotspot:focus-visible {
  box-shadow:
    0 0 0 10px rgba(41, 211, 199, 0.22),
    0 18px 48px rgba(0, 0, 0, 0.4);
  outline: 3px solid rgba(255, 255, 255, 0.76);
  outline-offset: 4px;
  z-index: 5;
}

.hotspot:hover span,
.hotspot:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.hotspot.source {
  --hotspot-accent: #e8a24a;
  --hotspot-x: 17%;
  --hotspot-y: 36%;
}

.hotspot.steering {
  --hotspot-x: 34%;
  --hotspot-y: 38%;
}

.hotspot.target {
  --hotspot-accent: #6abd6a;
  --hotspot-x: 58%;
  --hotspot-y: 45%;
}

.hotspot.detector {
  --hotspot-accent: #7267cb;
  --hotspot-x: 86%;
  --hotspot-y: 55%;
}

.hotspot.policy {
  --hotspot-accent: #29d3c7;
  --hotspot-x: 35%;
  --hotspot-y: 72%;
}

.hotspot.evidence-log {
  --hotspot-accent: #f04a43;
  --hotspot-x: 70%;
  --hotspot-y: 70%;
}

.visual-card-feature img {
  min-height: clamp(360px, 42vw, 640px);
}

.visual-card figcaption {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
}

.visual-card figcaption > span {
  color: var(--field-2);
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card figcaption > strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.08;
}

.visual-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.book-companion {
  background:
    radial-gradient(circle at 86% 18%, rgba(232, 162, 74, 0.18), transparent 27rem),
    radial-gradient(circle at 12% 82%, rgba(41, 211, 199, 0.14), transparent 32rem),
    linear-gradient(135deg, #101b18 0%, #182721 52%, #080d0c 100%);
  color: #fff;
}

.book-heading {
  align-items: start;
}

.book-heading p,
.book-thesis p,
.cancerzap-copy p,
.cancerzap-answer {
  color: rgba(255, 255, 255, 0.74);
}

.book-feature {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
  margin-bottom: clamp(28px, 5vw, 56px);
}

.book-cover {
  align-self: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  margin: 0;
  overflow: hidden;
}

.book-cover img {
  aspect-ratio: 3 / 4.8;
  object-fit: cover;
  width: 100%;
}

.book-cover figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.book-cover strong {
  font-size: 1rem;
  line-height: 1.25;
}

.book-cover span,
.book-thesis > span,
.cancerzap-copy > span,
.book-figure-grid span {
  color: var(--amber);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-thesis {
  align-content: center;
  display: grid;
}

.book-thesis h3 {
  font-size: clamp(2.1rem, 5vw, 5.6rem);
  line-height: 0.96;
  margin: 14px 0 22px;
  max-width: 980px;
}

.book-thesis p {
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.72;
  margin: 0;
  max-width: 900px;
}

.book-step-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 44px);
}

.book-step-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-top: 5px solid var(--teal);
  min-height: 190px;
  padding: clamp(22px, 3vw, 32px);
}

.book-step-grid article:nth-child(2) {
  border-top-color: var(--amber);
}

.book-step-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.book-step-grid strong {
  display: block;
  font-size: clamp(1.34rem, 2vw, 2rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.book-step-grid p {
  font-size: 0.98rem;
  line-height: 1.58;
}

.cancerzap-assistant {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.12fr) minmax(280px, 0.8fr);
  overflow: hidden;
}

.cancerzap-copy,
.cancerzap-stage,
.cancerzap-controls,
.cancerzap-prompts,
.cancerzap-answer {
  background: rgba(4, 10, 9, 0.38);
  padding: clamp(22px, 3vw, 38px);
}

.cancerzap-copy h3 {
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
  line-height: 1;
  margin: 14px 0 18px;
}

.cancerzap-copy p {
  line-height: 1.68;
  margin: 0;
}

.cancerzap-stage {
  display: grid;
  gap: 18px;
}

.cancerzap-field {
  --zap-focus: 58%;
  --zap-size: 76px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at var(--zap-focus) 52%, rgba(232, 162, 74, 0.28), transparent 16%),
    radial-gradient(circle at 50% 52%, rgba(41, 211, 199, 0.16), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #06110f;
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
}

.zap-ray,
.zap-source,
.zap-target,
.zap-detector {
  position: absolute;
}

.zap-ray {
  background: linear-gradient(90deg, transparent, rgba(41, 211, 199, 0.86), rgba(232, 162, 74, 0.88), transparent);
  height: 2px;
  left: -12%;
  top: 50%;
  transform-origin: center;
  width: 124%;
}

.zap-ray-one {
  transform: rotate(13deg) translateY(-72px);
}

.zap-ray-two {
  opacity: 0.72;
  transform: rotate(-24deg) translateY(52px);
}

.zap-ray-three {
  opacity: 0.54;
  transform: rotate(46deg) translateY(4px);
}

.zap-ray-four {
  opacity: 0.46;
  transform: rotate(-5deg) translateY(-8px);
}

.zap-source {
  background: var(--teal);
  box-shadow: 0 0 28px rgba(41, 211, 199, 0.62);
  height: 18px;
  left: 9%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 18px;
}

.zap-target {
  border: 2px solid rgba(232, 162, 74, 0.9);
  border-radius: 50%;
  height: var(--zap-size);
  left: var(--zap-focus);
  top: 52%;
  transform: translate(-50%, -50%);
  width: var(--zap-size);
}

.zap-target::after {
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(232, 162, 74, 0.58);
  content: "";
  height: 16px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
}

.zap-detector {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(41, 211, 199, 0.32));
  bottom: 12%;
  right: 9%;
  top: 12%;
  width: 12px;
}

.cancerzap-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.cancerzap-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px;
}

.cancerzap-metrics dt {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cancerzap-metrics dd {
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  font-weight: 850;
  margin: 0;
}

.cancerzap-controls {
  display: grid;
  gap: 18px;
}

.cancerzap-controls label {
  display: grid;
  gap: 10px;
}

.cancerzap-controls label span {
  align-items: baseline;
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  font-size: 0.84rem;
  font-weight: 850;
  justify-content: space-between;
  text-transform: uppercase;
}

.cancerzap-controls strong {
  color: var(--teal);
  font-size: 0.95rem;
}

.cancerzap-controls input {
  accent-color: var(--teal);
  width: 100%;
}

.cancerzap-prompts {
  display: grid;
  gap: 10px;
  grid-column: 1 / 2;
}

.cancerzap-prompts button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  min-height: 44px;
  padding: 8px 10px;
}

.cancerzap-prompts button.active,
.cancerzap-prompts button:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #06110f;
}

.cancerzap-answer {
  border-left: 6px solid var(--teal);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  grid-column: 2 / 4;
  line-height: 1.66;
  margin: 0;
}

.book-figure-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  margin-top: clamp(28px, 5vw, 56px);
}

.book-figure-grid figure {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  overflow: hidden;
}

.book-figure-grid img {
  aspect-ratio: 16 / 9;
  background: #06110f;
  object-fit: cover;
  width: 100%;
}

.book-figure-grid figcaption {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
}

.book-figure-grid strong {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  line-height: 1.12;
}

.book-boundary {
  background: rgba(255, 255, 255, 0.92);
  margin-top: 16px;
}

.evidence {
  background: #edf1ec;
}

.section-heading {
  align-items: end;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.evidence-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.evidence-viewer,
.metrics-stack > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.viewer-toolbar {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.viewer-toolbar button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  min-height: 48px;
  padding: 8px;
}

.viewer-toolbar button:last-child {
  border-right: 0;
}

.viewer-toolbar button.active {
  background: var(--field);
  color: #fff;
}

.evidence-viewer figure {
  margin: 0;
}

.evidence-viewer img {
  aspect-ratio: 16 / 10;
  background: #050807;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

.evidence-viewer figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 16px 18px 18px;
}

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

.metrics-stack > div {
  padding: 22px;
}

.metrics-stack strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.metrics-stack p {
  color: var(--muted);
  line-height: 1.55;
  margin: 10px 0 0;
}

.lab {
  background:
    linear-gradient(135deg, rgba(16, 33, 30, 0.96), rgba(21, 22, 18, 0.98)),
    var(--field);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.lab::before {
  background:
    linear-gradient(rgba(41, 211, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 211, 199, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
}

.lab > * {
  position: relative;
  z-index: 1;
}

.lab-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.lab-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.strategy-arena,
.ask-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
  min-height: 520px;
  padding: clamp(22px, 4vw, 38px);
}

.lab-card-heading span {
  color: var(--amber);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lab-card-heading h3 {
  font-size: clamp(1.6rem, 3.4vw, 3.3rem);
  line-height: 1;
  margin: 0;
}

.strategy-controls {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
}

.strategy-controls button,
.prompt-list button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  min-height: 44px;
  padding: 8px 10px;
}

.strategy-controls button.active,
.prompt-list button:hover,
.prompt-list button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #06110f;
}

.strategy-orbit {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 50%, rgba(41, 211, 199, 0.2), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 60%),
    #06110f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.strategy-orbit span,
.strategy-orbit i {
  position: absolute;
}

.strategy-orbit span {
  background: linear-gradient(90deg, transparent, rgba(41, 211, 199, 0.88), transparent);
  height: 2px;
  left: -12%;
  top: 50%;
  transform-origin: center;
  width: 124%;
}

.strategy-orbit span:nth-child(1) {
  animation: sweepOne 5s linear infinite;
}

.strategy-orbit span:nth-child(2) {
  animation: sweepTwo 6.5s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(232, 162, 74, 0.82), transparent);
}

.strategy-orbit span:nth-child(3) {
  animation: sweepThree 8s linear infinite;
}

.strategy-orbit i {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  height: 54%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
}

.strategy-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 18px;
}

.strategy-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px;
}

.strategy-metrics dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.strategy-metrics dd {
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 850;
  margin: 0;
}

.strategy-arena p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

.prompt-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 18px;
}

.answer-box {
  background: rgba(255, 255, 255, 0.92);
  border-left: 6px solid var(--teal);
  color: var(--field);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  min-height: 184px;
  padding: 22px;
}

@keyframes sweepOne {
  from {
    transform: rotate(12deg) translateY(-90px);
  }

  to {
    transform: rotate(372deg) translateY(-90px);
  }
}

@keyframes sweepTwo {
  from {
    transform: rotate(-28deg) translateY(54px);
  }

  to {
    transform: rotate(-388deg) translateY(54px);
  }
}

@keyframes sweepThree {
  from {
    transform: rotate(78deg) translateY(6px);
  }

  to {
    transform: rotate(438deg) translateY(6px);
  }
}

@keyframes hotspotPulse {
  from {
    opacity: 0.62;
    transform: scale(0.82);
  }

  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

.demo {
  align-items: center;
  background: var(--field-2);
  color: #fff;
}

.demo p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 720px;
}

.demo .button {
  justify-self: start;
}

.contact {
  align-items: start;
}

address {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  font-style: normal;
  gap: 8px;
  padding: 28px;
}

address strong {
  font-size: 1.25rem;
}

address span {
  color: var(--muted);
}

address a {
  color: var(--field-2);
  font-weight: 800;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media img:nth-child(3),
  .hero-media img:nth-child(4) {
    display: none;
  }

  .signal-strip,
  .intro-grid,
  .method-band,
  .section-heading,
  .evidence-layout,
  .identity-field,
  .roadmap-path,
  .discipline-grid,
  .program-grid,
  .program-questions,
  .open-questions,
  .patent-reference,
  .evidence-ladder,
  .engineering-grid,
  .validation-grid,
  .traceability-strip,
  .source-grid,
  .visual-atlas-grid,
  .book-feature,
  .book-step-grid,
  .cancerzap-assistant,
  .book-figure-grid,
  .lab-grid,
  .demo,
  .contact {
    grid-template-columns: 1fr;
  }

  .visual-card-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-card-feature img {
    min-height: auto;
  }

  .hotspot {
    height: 18px;
    width: 18px;
  }

  .hotspot span {
    min-width: min(230px, 76vw);
  }

  .signal-strip div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 0;
  }

  .viewer-toolbar {
    grid-template-columns: repeat(2, 1fr);
  }

  .viewer-toolbar button:nth-child(2) {
    border-right: 0;
  }

  .strategy-arena,
  .ask-panel {
    min-height: auto;
  }

  .cancerzap-prompts,
  .cancerzap-answer {
    grid-column: auto;
  }

  .book-cover {
    max-width: 420px;
  }

  .identity-visual {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 16vw, 4.2rem);
  }

  .strategy-controls,
  .strategy-metrics,
  .cancerzap-metrics {
    grid-template-columns: 1fr;
  }

  .cancerzap-controls label span {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .hotspot.source,
  .hotspot.steering,
  .hotspot.target {
    --hotspot-y: 44%;
  }

  .hotspot.policy,
  .hotspot.evidence-log {
    --hotspot-y: 66%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .strategy-orbit span {
    animation: none;
  }

  .ray-canvas {
    display: none;
  }

  .hotspot::before {
    animation: none;
  }
}
