:root {
  --ink: #0d0b09;
  --ink-2: #13110e;
  --ink-3: #1a1713;
  --paper: #e6dccb;
  --body: #b9b0a1;
  --dim: #948b7c;
  --faint: #5c554b;
  --hair: rgba(230, 220, 203, 0.09);
  --hair-2: rgba(230, 220, 203, 0.17);
  --ok: #cfa64c;
  --fault: #d9573d;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(13, 11, 9, 0.82), rgba(13, 11, 9, 0.35)); border-bottom: 1px solid var(--hair); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 500; letter-spacing: 0.01em; font-size: 16px; }
.brand sup { font-size: 9px; color: var(--dim); margin-left: 1px; }
.mark { width: 26px; height: 26px; color: var(--paper); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--dim); }
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { color: var(--paper) !important; border: 1px solid var(--hair-2); padding: 8px 14px; border-radius: 2px; }
.nav-cta:hover { border-color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13, 11, 9, 0.25) 0%, rgba(13, 11, 9, 0.55) 55%, var(--ink) 100%),
    linear-gradient(90deg, rgba(13, 11, 9, 0.92) 0%, rgba(13, 11, 9, 0.55) 45%, rgba(13, 11, 9, 0.1) 100%),
    url("hero.jpg") center / cover no-repeat,
    radial-gradient(1000px 700px at 78% 30%, #2b2116 0%, transparent 70%),
    var(--ink);
}
.hero-ring { position: absolute; z-index: -1; right: -8vw; top: 50%; transform: translateY(-50%); width: min(78vw, 980px); height: min(78vw, 980px); opacity: 0.9; pointer-events: none; }
.hero-inner { padding-top: 140px; padding-bottom: 7vh; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 0 0 34px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(207, 166, 76, 0.12); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(207, 166, 76, 0); } }
h1 { font-family: var(--sans); font-weight: 300; font-size: clamp(56px, 10.5vw, 156px); line-height: 0.92; letter-spacing: -0.045em; margin: 0 0 40px; }
h1 em { font-size: 1.04em; letter-spacing: -0.02em; color: var(--paper); }
.hero-lead { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--body); margin: 0 0 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 2px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-solid { background: var(--paper); color: var(--ink); }
.btn-solid:hover { background: #f3ecdf; }
.btn-line { border: 1px solid var(--hair-2); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.hero-foot { display: flex; gap: 36px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- sections ---------- */
.band { padding: 150px 0; border-top: 1px solid var(--hair); }
.band-dark { background: var(--ink-2); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 0 0 26px; }
h2 { font-weight: 300; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
h2.wide { margin-bottom: 70px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.prose p, p.prose { color: var(--body); margin: 0 0 20px; max-width: 520px; }
.prose.small, p.prose.small { font-size: 16px; }

.stat { margin: 54px 0 0; padding-top: 34px; border-top: 1px solid var(--hair); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.stat-num { font-family: var(--serif); font-size: 128px; line-height: 0.8; color: var(--fault); }
.stat figcaption { font-size: 18px; line-height: 1.45; color: var(--paper); max-width: 340px; }
.stat cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; }
.stat cite i { font-style: normal; }

/* ---------- demo ---------- */
.demo-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; margin-bottom: 70px; }
.demo { display: grid; grid-template-columns: 1fr 300px; gap: 0; border: 1px solid var(--hair-2); background: var(--ink); }
.demo-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--hair); padding: 1px; font-family: var(--mono); font-size: clamp(11px, 1.25vw, 16px); }
.demo { transition: box-shadow 0.4s, border-color 0.4s; }
.demo.alarm { border-color: rgba(217, 87, 61, 0.55); box-shadow: 0 0 0 1px rgba(217, 87, 61, 0.25), 0 0 60px -10px rgba(217, 87, 61, 0.25); }
.demo.settled { border-color: rgba(207, 166, 76, 0.45); }
.cell { background: var(--ink); aspect-ratio: 1.45 / 1; display: flex; align-items: center; justify-content: center; color: #a39a8b; transition: background 0.35s, color 0.35s, opacity 0.35s, box-shadow 0.35s; position: relative; }
.cell.scan { background: rgba(207, 166, 76, 0.10); color: var(--paper); transition: none; }
.cell.dim { opacity: 0.28; }
.cell.hit { color: #fff; background: rgba(217, 87, 61, 0.30); }
.cell.found { box-shadow: inset 0 0 0 2px var(--fault); }
.cell.fixed { color: var(--ok); background: rgba(207, 166, 76, 0.14); box-shadow: inset 0 0 0 1px rgba(207, 166, 76, 0.6); }
.demo-side { border-left: 1px solid var(--hair-2); padding: 30px 28px; display: flex; flex-direction: column; }
.readout { font-family: var(--mono); font-size: 13px; }
.ro-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--hair); color: var(--dim); }
.ro-row b { font-weight: 500; color: var(--paper); }
.ro-row b.zero { color: var(--ok); }
.status { margin: 26px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); min-height: 3.2em; }
.status.s-fault { color: var(--fault); }
.status.s-ok { color: var(--ok); }
.fine { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--faint); }

/* ---------- scope ---------- */
.scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair-2); }
.scope li { padding: 34px 30px 30px 0; border-right: 1px solid var(--hair); }
.scope li + li { padding-left: 30px; }
.scope li:last-child { border-right: 0; }
.scope .n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.scope h3 { font-weight: 400; font-size: 24px; letter-spacing: -0.015em; margin: 0 0 14px; }
.scope p { color: var(--dim); font-size: 15.5px; margin: 0; }

/* ---------- partner ---------- */
.partner { position: relative; padding: 190px 0; border-top: 1px solid var(--hair); overflow: hidden; isolation: isolate; }
.partner-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 9, 0.86) 45%, rgba(13, 11, 9, 0.45) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%),
    url("partner.jpg") center / cover no-repeat,
    radial-gradient(900px 500px at 85% 50%, #261d12 0%, transparent 70%),
    var(--ink);
}
.partner-inner h2 { margin-bottom: 30px; }
.partner-inner .prose { margin-bottom: 40px; font-size: 18px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 30px; padding-bottom: 34px; font-size: 13px; color: var(--dim); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--paper); }
.brand.small { font-size: 14px; color: var(--paper); }
.brand.small .mark { width: 20px; height: 20px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .grid-2, .demo-head { grid-template-columns: 1fr; gap: 40px; }
  .demo { grid-template-columns: 1fr; }
  .demo-side { border-left: 0; border-top: 1px solid var(--hair-2); }
  .scope { grid-template-columns: 1fr 1fr; }
  .scope li:nth-child(2) { border-right: 0; }
  .scope li:nth-child(3) { padding-left: 0; }
  .scope li:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 640px) {
  .shell { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .band { padding: 96px 0; }
  .partner { padding: 120px 0; }
  .hero-inner { padding-top: 120px; }
  .hero-lead { font-size: 17px; }
  .hero-foot { gap: 20px; font-size: 11px; }
  .hero-ring { right: -40vw; width: 120vw; height: 120vw; opacity: 0.55; }
  .scope { grid-template-columns: 1fr; }
  .scope li, .scope li + li { padding: 28px 0 24px; border-right: 0; }
  .scope li + li { border-top: 1px solid var(--hair); }
  .scope h3 { margin-top: 18px; }
  .stat { grid-template-columns: 1fr; gap: 12px; }
  .stat-num { font-size: 96px; }
  .demo-grid { font-size: 10.5px; }
}

/* ---------- partner terms ---------- */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 820px; margin: 0 0 44px; border-top: 1px solid var(--hair-2); }
.terms > div { padding: 26px 32px 6px 0; }
.terms > div + div { padding-left: 32px; border-left: 1px solid var(--hair); }
.terms h3 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ok); margin: 0 0 16px; }
.terms ul { list-style: none; margin: 0; padding: 0; }
.terms li { color: var(--body); font-size: 16px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.terms li:last-child { border-bottom: 0; }
@media (max-width: 640px) {
  .terms { grid-template-columns: 1fr; }
  .terms > div + div { padding-left: 0; border-left: 0; }
}

/* ---------- proof ---------- */
.proof-prose { margin-top: 36px; }
.proof-prose p { font-size: 18px; }
.cite, .prose p.cite { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.record { margin: 6px 0 0; border: 1px solid var(--hair-2); background: #100e0b; }
.record figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.record pre { margin: 0; padding: 24px 20px 26px; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: var(--body); overflow-x: auto; }
.record .k { color: var(--dim); }
.record .h { color: var(--paper); }
.record .ok { color: var(--ok); }
.record .bad { color: var(--fault); }
.scope { grid-template-columns: repeat(3, 1fr); }
.scope li:nth-child(3n) { border-right: 0; }
.scope li:nth-child(3n+1) { padding-left: 0; }
.scope li:nth-child(n+4) { border-top: 1px solid var(--hair); }
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: 1fr; }
  .pf, .pf + .pf { padding: 30px 0; border-left: 0; }
  .pf + .pf { border-top: 1px solid var(--hair); }
  .scope { grid-template-columns: 1fr 1fr; }
  .scope li:nth-child(3n) { border-right: 1px solid var(--hair); }
  .scope li:nth-child(2n) { border-right: 0; }
  .scope li:nth-child(3n+1) { padding-left: 30px; }
  .scope li:nth-child(2n+1) { padding-left: 0; }
  .scope li:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 640px) {
  .proof-line { grid-template-columns: 1fr; gap: 14px; }
  .scope { grid-template-columns: 1fr; }
  .scope li, .scope li:nth-child(n) { padding: 28px 0 24px; border-right: 0; }
}

.proof-prose p.strong { color: var(--paper); }

/* ---------- section photographs ---------- */
.band.photo { position: relative; overflow: hidden; isolation: isolate; }
.photo-bg { position: absolute; inset: 0; z-index: -1; background-position: right center; background-size: cover; background-repeat: no-repeat; }
.photo-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 11, 9, 0) 22%, rgba(13, 11, 9, 0) 78%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 9, 0.88) 40%, rgba(13, 11, 9, 0.62) 100%); }
#problem .photo-bg { background-image: url("problem.jpg"); }
#proof .photo-bg { background-image: url("proof.jpg"); }
#scope .photo-bg { background-image: url("scope.jpg"); }
#problem .photo-bg::after, #proof .photo-bg::after, #scope .photo-bg::after {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 11, 9, 0) 18%, rgba(13, 11, 9, 0) 82%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 9, 0.9) 34%, rgba(13, 11, 9, 0.45) 62%, rgba(13, 11, 9, 0.2) 100%); }
#proof .photo-bg::after {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 11, 9, 0) 18%, rgba(13, 11, 9, 0) 82%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 9, 0.92) 30%, rgba(13, 11, 9, 0.8) 62%, rgba(13, 11, 9, 0.6) 100%); }
#proof .photo-bg { background-position: 70% center; }
#proof .photo-bg::after {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 11, 9, 0.2) 18%, rgba(13, 11, 9, 0.2) 82%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 9, 0.95) 40%, rgba(13, 11, 9, 0.9) 72%, rgba(13, 11, 9, 0.62) 100%); }
.band.photo h2, .band.photo p, .band.photo h3, .partner h2, .partner p, .partner li, .hero h1, .hero-lead { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 22px rgba(0, 0, 0, 0.7); }
