:root {
  --obsidian: #07080b;
  --black-glass: #0d1016;
  --black-soft: #12161d;
  --ivory: #f1eadf;
  --muted: #b3aa9a;
  --quiet: #766f63;
  --gold: #d8b86a;
  --gold-bright: #f1d58a;
  --jade: #00f0c8;
  --steel: #8aa8b8;
  --wine: #6c2237;
  --line: rgba(241, 234, 223, 0.16);
  --line-strong: rgba(241, 234, 223, 0.28);
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.46);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--obsidian);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 184, 106, 0.13), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(0, 240, 200, 0.08), transparent 28rem),
    linear-gradient(180deg, #050608 0%, var(--obsidian) 45%, #030405 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: #07110f;
  background: var(--jade);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
}

#lux-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.86;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--jade), var(--steel));
  box-shadow: 0 0 18px rgba(0, 240, 200, 0.45);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 28px;
  background: #030405;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 650;
  color: var(--ivory);
}

.preloader-grid {
  width: 180px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.preloader-grid span {
  height: 32px;
  border: 1px solid rgba(216, 184, 106, 0.24);
  background: rgba(216, 184, 106, 0.06);
  animation: boot 1200ms ease infinite;
}

.preloader-grid span:nth-child(2n) {
  animation-delay: 120ms;
}

.preloader-grid span:nth-child(3n) {
  animation-delay: 260ms;
}

@keyframes boot {
  50% {
    background: rgba(0, 240, 200, 0.28);
    border-color: rgba(0, 240, 200, 0.7);
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 34px;
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease;
}

.site-nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(5, 6, 8, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-orbit {
  position: relative;
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 184, 106, 0.72);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(216, 184, 106, 0.18), transparent),
    radial-gradient(circle at 50% 50%, rgba(0, 240, 200, 0.28), transparent 36%);
  box-shadow: inset 0 0 22px rgba(216, 184, 106, 0.1), 0 0 24px rgba(0, 240, 200, 0.08);
}

.brand-orbit::before,
.brand-orbit::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-top: 2px solid var(--gold-bright);
  border-bottom: 2px solid var(--jade);
  transform: rotate(45deg);
}

.brand-orbit::after {
  inset: 6px 15px;
  border: 0;
  background: linear-gradient(180deg, var(--ivory), var(--gold));
  transform: rotate(-45deg);
}

.brand-word {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ivory);
}

.brand-x {
  position: relative;
  display: inline-block;
  min-width: 0.78em;
  color: var(--jade);
  text-shadow: 0 0 18px rgba(0, 240, 200, 0.55);
}

.brand-x::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 48%;
  height: 2px;
  background: var(--gold);
  transform: rotate(-18deg);
  transform-origin: center;
}

.brand-line {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(241, 234, 223, 0.78);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--ivory);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(216, 184, 106, 0.5);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(216, 184, 106, 0.08);
}

.section-dark {
  position: relative;
  isolation: isolate;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px 34px 48px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.93) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 34%, rgba(0, 240, 200, 0.13), transparent 22rem),
    linear-gradient(90deg, rgba(5, 6, 8, 0.94) 0%, rgba(5, 6, 8, 0.72) 42%, rgba(5, 6, 8, 0.2) 76%, rgba(5, 6, 8, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.92));
}

.hero-grid {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 0.97;
  color: var(--ivory);
}

h1 {
  max-width: 970px;
  margin-bottom: 26px;
  font-size: 6.6rem;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(241, 234, 223, 0.76);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07110f;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 48%, #a77d35);
  box-shadow: 0 18px 42px rgba(216, 184, 106, 0.18);
}

.button-secondary {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.button-secondary:hover {
  border-color: rgba(0, 240, 200, 0.62);
  color: var(--jade);
}

.hero-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(8, 10, 13, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.console-top,
.console-proof div,
.browser-chrome,
.scanner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-top,
.browser-chrome,
.scanner-top {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.console-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: end;
  margin: 28px 0;
}

.console-metric strong {
  font-family: var(--serif);
  font-size: 5.6rem;
  line-height: 0.78;
  color: var(--jade);
  text-shadow: 0 0 30px rgba(0, 240, 200, 0.32);
}

.console-metric span {
  color: var(--ivory);
  font-size: 1rem;
}

.console-lines {
  display: grid;
  gap: 9px;
  margin-bottom: 28px;
}

.console-lines span {
  display: block;
  width: var(--w);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(0, 240, 200, 0.8), transparent);
}

.console-proof {
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--muted);
}

.console-proof div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.console-proof dt {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.console-proof dd {
  margin: 0;
  color: var(--ivory);
}

.thesis,
.lab,
.cases,
.process,
.vetting,
.founder,
.finale {
  position: relative;
  z-index: 2;
  padding: 120px 34px;
}

.section-number {
  width: min(1500px, 100%);
  margin: 0 auto 28px;
  color: rgba(216, 184, 106, 0.72);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.thesis-copy,
.lab-header,
.cases-head,
.process-copy,
.vetting-grid,
.founder,
.finale-inner,
.timeline,
.principles,
.thesis-columns {
  width: min(1500px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.thesis-copy h2,
.lab-header h2,
.cases-head h2,
.process-copy h2,
.vetting-copy h2,
.founder-copy h2,
.finale h2 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: 4.4rem;
}

.thesis-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.74fr);
  gap: 36px;
  align-items: end;
  margin-top: 48px;
}

.big-serif {
  margin: 0;
  color: rgba(241, 234, 223, 0.82);
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 350;
  line-height: 1.18;
}

.atelier-panel {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.atelier-panel picture,
.atelier-panel img,
.lab-backdrop,
.lab-backdrop picture,
.lab-backdrop img {
  width: 100%;
  height: 100%;
}

.atelier-panel img,
.lab-backdrop img {
  object-fit: cover;
}

.atelier-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 6, 8, 0.88));
}

.atelier-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.atelier-caption span,
.principle span,
.case-card span,
.timeline-item span {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.atelier-caption strong {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  font-size: 1.25rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  min-height: 260px;
  padding: 28px;
  background: rgba(10, 12, 16, 0.82);
}

.principle h3,
.case-card h3,
.timeline-item h3 {
  margin: 18px 0 14px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.05;
}

.principle p,
.case-card p,
.timeline-item p,
.lab-header p,
.vetting-copy p,
.founder-copy p,
.finale p {
  color: rgba(241, 234, 223, 0.72);
}

.lab {
  overflow: hidden;
  background: rgba(3, 4, 5, 0.74);
}

.lab-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.46;
}

.lab-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #030405 0%, rgba(3, 4, 5, 0.72) 44%, rgba(3, 4, 5, 0.86)),
    linear-gradient(180deg, rgba(3, 4, 5, 0.82), rgba(3, 4, 5, 0.9));
}

.lab-header {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.5fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.lab-header p:not(.eyebrow) {
  margin-bottom: 34px;
  font-size: 1.08rem;
}

.lab-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.flow-switcher {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 6, 8, 0.76);
  backdrop-filter: blur(16px);
}

.flow-button {
  min-height: 70px;
  padding: 18px;
  color: rgba(241, 234, 223, 0.72);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.flow-button:last-child {
  border-bottom: 0;
}

.flow-button:hover,
.flow-button.active {
  color: var(--ivory);
  background: linear-gradient(90deg, rgba(216, 184, 106, 0.14), rgba(0, 240, 200, 0.04));
}

.product-stage {
  min-height: 700px;
  border: 1px solid rgba(241, 234, 223, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 240, 200, 0.12), transparent 26rem),
    linear-gradient(145deg, rgba(16, 19, 24, 0.94), rgba(4, 5, 7, 0.94));
  box-shadow: var(--shadow);
}

.browser-chrome {
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-chrome span:nth-child(1) {
  background: var(--wine);
}

.browser-chrome span:nth-child(2) {
  background: var(--gold);
}

.browser-chrome span:nth-child(3) {
  background: var(--jade);
}

#flowCode {
  margin-left: auto;
}

.mockup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.74fr);
  grid-template-rows: 1fr auto;
  gap: 1px;
  min-height: 652px;
  background: var(--line);
}

.mock-inbox,
.mock-agent,
.mock-metrics {
  background: rgba(8, 10, 13, 0.86);
}

.mock-inbox,
.mock-agent {
  padding: 24px;
}

.mock-metrics {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mock-heading {
  display: grid;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mock-heading span,
.mock-metrics span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.mock-heading strong {
  max-width: 680px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 2.55rem;
  line-height: 1;
}

.mock-rows {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mock-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.mock-row i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 184, 106, 0.95), rgba(0, 240, 200, 0.78));
  box-shadow: 0 0 20px rgba(0, 240, 200, 0.15);
}

.mock-row strong {
  display: block;
  color: var(--ivory);
}

.mock-row small {
  color: var(--muted);
}

.mock-row em {
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-style: normal;
}

.agent-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-bottom: 22px;
  border: 1px solid rgba(216, 184, 106, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(0, 240, 200, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(216, 184, 106, 0.1), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.agent-core span {
  width: 124px;
  height: 124px;
  border: 1px solid rgba(216, 184, 106, 0.78);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(216, 184, 106, 0.18), transparent),
    radial-gradient(circle, rgba(0, 240, 200, 0.32), transparent 44%);
  animation: slowSpin 12s linear infinite;
}

.agent-core span::before,
.agent-core span::after {
  content: "";
  position: absolute;
  inset: 72px 48%;
  width: 2px;
  background: var(--gold-bright);
  transform: rotate(42deg);
  transform-origin: center;
}

.agent-core span::after {
  background: var(--jade);
  transform: rotate(-42deg);
}

.agent-core strong {
  position: absolute;
  bottom: 22px;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.78rem;
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

.mock-agent p {
  margin-bottom: 20px;
  color: rgba(241, 234, 223, 0.78);
}

.agent-list {
  display: grid;
  gap: 10px;
}

.agent-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.agent-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 14px rgba(0, 240, 200, 0.58);
}

.mock-metrics div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.mock-metrics div:last-child {
  border-right: 0;
}

.mock-metrics strong {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.cases {
  overflow: hidden;
}

.cases-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.case-track {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 31%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: none;
}

.case-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  min-height: 520px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 20%, rgba(216, 184, 106, 0.12), transparent 15rem),
    linear-gradient(180deg, rgba(18, 22, 29, 0.92), rgba(6, 7, 10, 0.96));
}

.case-card:nth-child(even) {
  background:
    radial-gradient(circle at 72% 20%, rgba(0, 240, 200, 0.1), transparent 15rem),
    linear-gradient(180deg, rgba(16, 20, 26, 0.9), rgba(6, 7, 10, 0.96));
}

.case-card h3 {
  max-width: 13ch;
  font-size: 2.55rem;
}

.mini-system {
  height: 160px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.mini-system i {
  display: block;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--gold-bright), rgba(216, 184, 106, 0.08));
}

.mini-system-alt i {
  background: linear-gradient(180deg, var(--jade), rgba(0, 240, 200, 0.08));
}

.case-progress {
  width: min(1500px, 100%);
  height: 2px;
  margin: 20px auto 0;
  background: var(--line);
}

.case-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--jade));
}

.process {
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.58), rgba(3, 4, 5, 0.88)),
    radial-gradient(circle at 82% 20%, rgba(108, 34, 55, 0.22), transparent 30rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline-item {
  min-height: 340px;
  padding: 28px;
  background: rgba(6, 8, 11, 0.9);
}

.timeline-item h3 {
  font-size: 2rem;
}

.vetting-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.vetting-copy p {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: 1.12rem;
}

.fit-scanner {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 240, 200, 0.1), transparent 20rem),
    linear-gradient(145deg, rgba(18, 22, 29, 0.92), rgba(5, 6, 8, 0.96));
  box-shadow: var(--shadow);
}

.scanner-meter {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  margin: 28px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #080a0d 0 57%, transparent 58%),
    conic-gradient(var(--jade) 0deg, var(--gold) 310deg, rgba(255,255,255,0.08) 310deg);
}

.scanner-meter strong {
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.88;
}

.scanner-meter span {
  margin-top: -62px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.scanner-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.scanner-group p {
  margin: 0 0 4px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.scan-choice {
  width: 100%;
  padding: 12px 14px;
  color: rgba(241, 234, 223, 0.75);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.scan-choice.active,
.scan-choice:hover {
  color: var(--ivory);
  border-color: rgba(0, 240, 200, 0.5);
  background: rgba(0, 240, 200, 0.07);
}

.scanner-result {
  margin: 18px 0 0;
  color: rgba(241, 234, 223, 0.78);
}

.founder {
  display: grid;
  grid-template-columns: minmax(300px, 0.5fr) minmax(0, 0.86fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 184, 106, 0.12), transparent 24rem),
    rgba(3, 4, 5, 0.78);
}

.founder-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.founder-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.08);
}

.founder-copy p {
  max-width: 760px;
  font-size: 1.15rem;
}

.founder-facts {
  display: grid;
  gap: 1px;
  max-width: 720px;
  margin: 34px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.founder-facts div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.founder-facts dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.founder-facts dd {
  margin: 0;
}

.finale {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.finale::before {
  content: "";
  position: absolute;
  inset: 80px 34px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 184, 106, 0.14), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(0, 240, 200, 0.1), transparent 28rem),
    rgba(255, 255, 255, 0.025);
}

.finale-inner {
  max-width: 1080px;
}

.finale h2 {
  margin-left: auto;
  margin-right: auto;
}

.finale p {
  max-width: 740px;
  margin: 0 auto 32px;
  font-size: 1.18rem;
}

.finale .hero-actions {
  justify-content: center;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px;
  border-top: 1px solid var(--line);
  color: rgba(241, 234, 223, 0.72);
  background: #030405;
}

.footer-brand {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand span {
  color: var(--jade);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.94rem;
}

.footer-links a {
  color: var(--ivory);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1360px) {
  h1 {
    font-size: 8.25rem;
  }

  .thesis-copy h2,
  .lab-header h2,
  .cases-head h2,
  .process-copy h2,
  .vetting-copy h2,
  .founder-copy h2,
  .finale h2 {
    font-size: 5.2rem;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .thesis-columns,
  .lab-header,
  .lab-shell,
  .cases-head,
  .vetting-grid,
  .founder {
    grid-template-columns: 1fr;
  }

  .hero-console {
    max-width: 480px;
  }

  .thesis-copy h2,
  .lab-header h2,
  .cases-head h2,
  .process-copy h2,
  .vetting-copy h2,
  .founder-copy h2,
  .finale h2 {
    font-size: 3.6rem;
  }

  h1 {
    font-size: 5rem;
  }

  .principles,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .thesis-columns {
    gap: 28px;
  }

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

  .flow-button {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 16px;
  }

  .brand-line,
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .brand-lockup {
    grid-template-columns: 34px auto;
  }

  .brand-orbit {
    width: 34px;
    height: 34px;
  }

  .brand-word {
    font-size: 1rem;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .hero,
  .thesis,
  .lab,
  .cases,
  .process,
  .vetting,
  .founder,
  .finale {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 820px;
    padding-top: 116px;
  }

  .hero-console {
    display: none;
  }

  .hero-image img {
    object-position: 68% top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.46), rgba(5, 6, 8, 0.82) 42%, rgba(5, 6, 8, 0.98) 76%),
      linear-gradient(90deg, rgba(5, 6, 8, 0.82), rgba(5, 6, 8, 0.26));
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-lede,
  .finale p,
  .vetting-copy p,
  .founder-copy p {
    font-size: 1.02rem;
  }

  .thesis-copy h2,
  .lab-header h2,
  .cases-head h2,
  .process-copy h2,
  .vetting-copy h2,
  .founder-copy h2,
  .finale h2 {
    font-size: 2.7rem;
  }

  .big-serif {
    font-size: 1.65rem;
  }

  .atelier-panel {
    min-height: 380px;
  }

  .principles,
  .timeline,
  .mockup-grid,
  .mock-metrics,
  .flow-switcher {
    grid-template-columns: 1fr;
  }

  .mock-metrics,
  .mock-metrics div,
  .mock-agent,
  .mock-inbox {
    grid-column: auto;
  }

  .product-stage {
    min-height: auto;
  }

  .mockup-grid {
    min-height: auto;
  }

  .mock-heading strong {
    font-size: 2rem;
  }

  .mock-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .mock-row em {
    grid-column: 2;
  }

  .case-track {
    grid-auto-columns: 86%;
  }

  .case-card {
    min-height: 470px;
  }

  .founder-facts div {
    grid-template-columns: 1fr;
  }

  .finale::before {
    inset: 48px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  #lux-canvas {
    display: none;
  }
}

/* ----- Case-card media (added 2026-04-27) ----- */
.case-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.case-card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 18, 24, 1), rgba(8, 9, 12, 1));
}
.case-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0) 40%, rgba(8, 9, 12, 0.85) 100%);
  pointer-events: none;
}
.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.92) brightness(0.92);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.case-card:hover .case-card-media img {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1) brightness(0.98);
}
.case-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.case-card .case-card-body span {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.case-card .case-card-body h3 {
  margin: 12px 0 12px;
}
.case-card .case-card-body p {
  margin-bottom: 18px;
}

.finale-inner {
  position: relative;
  z-index: 1;
}

.product-mockup {
  position: relative;
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.9), rgba(8, 9, 12, 0.95));
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  aspect-ratio: 16 / 10;
}
.product-mockup picture {
  display: block;
  width: 100%;
  height: 100%;
}
.product-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}
.product-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(8, 9, 12, 0.55) 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .product-mockup { aspect-ratio: 4 / 3; margin-top: 20px; }
}

/* ----- ROI Calculator + Lightbox (added 2026-04-27 batch 3) ----- */
.roi-calc {
  margin: 64px auto 0;
  max-width: 1080px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.96), rgba(8, 9, 12, 0.92));
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.roi-head { margin-bottom: 28px; }
.roi-head h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.roi-head p {
  color: rgba(241, 234, 223, 0.7);
  font-size: 0.95rem;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 720px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-input {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
}
.roi-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 234, 223, 0.55);
}
.roi-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-row input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(90deg, rgba(216,184,106,0.7), rgba(111,227,181,0.7));
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.roi-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-bright, #D8B86A);
  border: 2px solid #0F1218;
  box-shadow: 0 0 12px rgba(216, 184, 106, 0.6);
  cursor: grab;
  transition: transform 0.2s ease;
}
.roi-row input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.roi-row input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-bright, #D8B86A);
  border: 2px solid #0F1218;
  cursor: grab;
}
.roi-row output {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ivory);
  letter-spacing: -0.01em;
  min-width: 110px;
  text-align: right;
}
.roi-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
@media (max-width: 720px) { .roi-results { grid-template-columns: 1fr 1fr; } }
.roi-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}
.roi-cell span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(241, 234, 223, 0.5);
  text-transform: uppercase;
}
.roi-cell strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ivory);
  font-weight: 500;
}
.roi-net {
  background: linear-gradient(135deg, rgba(216,184,106,0.08), rgba(111,227,181,0.06));
  border: 1px solid rgba(216,184,106,0.18);
}
.roi-net strong {
  color: var(--gold-bright, #D8B86A);
}
.roi-net em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright, #D8B86A);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 3, 4, 0.94);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-pic {
  max-width: 96vw;
  max-height: 86vh;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-pic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox-meta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: rgba(241, 234, 223, 0.85);
  background: rgba(15, 18, 24, 0.7);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 24px;
}
.lightbox-meta strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.lightbox-meta span {
  color: var(--gold-bright, #D8B86A);
  text-transform: uppercase;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(15, 18, 24, 0.7);
  color: var(--ivory);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  border-color: var(--gold-bright, #D8B86A);
  color: var(--gold-bright, #D8B86A);
  transform: scale(1.05);
}
.product-mockup {
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-mockup:hover {
  transform: translateY(-2px);
}

/* ----- Case-card capability stacks (added 2026-04-27 batch 4) ----- */
.case-card .case-card-body {
  padding: 24px 28px 28px;
  gap: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(241, 234, 223, 0.78);
}
.case-features li {
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
}
.case-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright, #D8B86A);
  box-shadow: 0 0 6px rgba(216, 184, 106, 0.5);
  transform: translateY(-50%);
}
.case-card:nth-child(even) .case-features li::before {
  background: #6FE3B5;
  box-shadow: 0 0 6px rgba(111, 227, 181, 0.5);
}
.case-stack {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 234, 223, 0.5);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .case-features { grid-template-columns: 1fr; gap: 4px; font-size: 0.66rem; }
}
.case-card { min-height: 620px; }
