/* shawnsnider.me — one stylesheet, no build step. */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --card: #fbfaf6;
  --ink: #131316;
  --ink-2: #45454c;
  --ink-3: #7c7b80;
  --rule: #d9d5ca;
  --tally: #d7372a;          /* the red light on a live camera */
  --tally-soft: rgba(215, 55, 42, 0.1);
  --gold: #c8a04a;
  --gold-2: #e8cf8f;
  --night: #0d0d10;
  --night-2: #17171c;
  --night-rule: #2a2a31;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 14px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101013;
    --paper-2: #17171b;
    --card: #16161a;
    --ink: #f1efe9;
    --ink-2: #b9b7b0;
    --ink-3: #85848a;
    --rule: #2b2b31;
    --tally: #ff5a4a;
    --tally-soft: rgba(255, 90, 74, 0.12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101013;
  --paper-2: #17171b;
  --card: #16161a;
  --ink: #f1efe9;
  --ink-2: #b9b7b0;
  --ink-3: #85848a;
  --rule: #2b2b31;
  --tally: #ff5a4a;
  --tally-soft: rgba(255, 90, 74, 0.12);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }

::selection { background: var(--tally); color: #fff; }

:focus-visible {
  outline: 2px solid var(--tally);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow .tc { color: var(--tally); }

.lede { font-size: clamp(20px, 1.4vw + 13px, 25px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px;
}
.brand {
  font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--tally);
  box-shadow: 0 0 0 4px var(--tally-soft);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 8px 11px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; display: block; height: 2px; background: var(--tally); margin-top: 3px; border-radius: 2px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--sans);
  padding: 15px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--b);
  background: var(--b);
  color: var(--paper);
  transition: transform .2s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -12px rgba(0,0,0,.45); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn .fmt { font-family: var(--mono); font-size: 11.5px; font-weight: 500; opacity: .7; letter-spacing: .04em; }

.textlinks {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-family: var(--mono); font-size: 13.5px;
}
.textlinks a {
  text-decoration: none; color: var(--ink-2);
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.textlinks a:hover { color: var(--ink); border-color: var(--tally); }

.link {
  font-weight: 600; text-decoration: none;
  background-image: linear-gradient(var(--tally), var(--tally));
  background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
}
.link:hover { color: var(--tally); }

/* ------------------------------------------------------------------ hero */

.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px 7px 12px;
  margin-bottom: 30px;
  max-width: 100%;
}
.status .live { flex: none; }
.status .live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--tally);
  animation: tally 2.4s ease-in-out infinite;
}
@keyframes tally {
  0%, 100% { box-shadow: 0 0 0 0 var(--tally-soft); opacity: 1; }
  50% { box-shadow: 0 0 0 6px transparent; opacity: .55; }
}
.hero .name {
  font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: .18em;
  color: var(--ink-2); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
}
.hero .intro { max-width: 40em; color: var(--ink-2); }
.hero .intro p:first-child { color: var(--ink); font-size: 1.12em; }
.hero .kicker { color: var(--ink); font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 26px; }

.portrait { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.portrait .frame {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--paper-2);
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.5);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .slate-tag {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; letter-spacing: .05em;
  padding: 10px 14px; border-radius: 10px; line-height: 1.5;
  box-shadow: 0 16px 30px -18px rgba(0,0,0,.6);
}
.portrait .slate-tag b { color: var(--gold-2); font-weight: 600; }

/* ------------------------------------------------------------------ proof */

.proof { padding-bottom: clamp(40px, 6vw, 80px); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.proof-item {
  padding: 26px 22px 8px 0;
  border-right: 1px solid var(--rule);
  margin-right: 22px;
}
.proof-item:last-child { border-right: 0; margin-right: 0; }
.proof-item .big {
  display: block;
  font-size: clamp(30px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02;
  margin-bottom: 12px;
}
.proof-item .big small { font-size: .5em; letter-spacing: 0; font-weight: 600; color: var(--ink-3); }
.proof-item .big .to { color: var(--tally); }
.proof-item.is-emmy .big { color: var(--gold); }
.proof-item p { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ sections */

section.block { padding-block: var(--section) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

.prose { max-width: 680px; }
.prose p { color: var(--ink-2); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose .standout {
  color: var(--ink); font-size: 1.2em; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em;
  margin-block: 1.4em;
}

.two-col {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

/* story timeline */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px); align-items: start;
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--rule);
}
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink-3);
}
.timeline li.now::before { background: var(--tally); border-color: var(--tally); box-shadow: 0 0 0 4px var(--tally-soft); }
.timeline .when { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.timeline .what { font-weight: 600; line-height: 1.35; display: block; }
.timeline .detail { font-size: 15px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }

/* ------------------------------------------------------------------ products */

.rail {
  position: sticky; top: 64px; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 14px 0 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.rail-track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.stage { position: relative; }
.stage .bar {
  height: 4px; border-radius: 4px; background: var(--rule);
  transition: background .35s ease;
}
.stage .label {
  display: flex; justify-content: space-between; gap: 8px; margin-top: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); transition: color .35s ease;
}
.stage .label b { font-weight: 600; }
.rail[data-active~="builder"] .stage[data-stage="builder"] .bar,
.rail[data-active~="product"] .stage[data-stage="product"] .bar,
.rail[data-active~="director"] .stage[data-stage="director"] .bar,
.rail[data-active~="vp"] .stage[data-stage="vp"] .bar { background: var(--tally); }
.rail[data-active~="builder"] .stage[data-stage="builder"] .label,
.rail[data-active~="product"] .stage[data-stage="product"] .label,
.rail[data-active~="director"] .stage[data-stage="director"] .label,
.rail[data-active~="vp"] .stage[data-stage="vp"] .label { color: var(--ink); }
.rail .rail-hint {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 10px; min-height: 1.4em;
}
.rail .rail-hint b { color: var(--ink); font-weight: 600; }

.products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.product {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.product.is-current, .product:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--rule));
  box-shadow: 0 24px 50px -40px rgba(0,0,0,.45);
}
.product.feature { grid-column: 1 / -1; }
.product.feature .product-body { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(24px,4vw,56px); }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.product h3 { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.035em; }
.path {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
}
.path span.on { color: var(--ink); }
.path i { font-style: normal; color: var(--tally); padding-inline: 5px; }
.chips { display: flex; gap: 5px; margin-bottom: 18px; }
.chip {
  flex: 1; height: 4px; border-radius: 4px; background: var(--rule);
}
.chip.on { background: var(--ink); }
.product.is-current .chip.on, .product:hover .chip.on { background: var(--tally); }
.product .what { font-size: 1.08em; font-weight: 600; line-height: 1.4; margin-bottom: 14px; }
.product .story p { color: var(--ink-2); font-size: 16.5px; }
.product .story p:last-child { margin-bottom: 0; }
.facts {
  margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed var(--rule);
  display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px;
  font-size: 15px; line-height: 1.45;
}
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em;
  padding: 5px 10px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  text-decoration: none;
}
a.badge:hover { background: var(--ink); color: var(--paper); }
.badge::before { content: "★"; color: var(--gold); font-size: 10px; }
.badge.plain::before { content: none; }

details.more { margin-top: 12px; }
details.more summary {
  cursor: pointer; list-style: none;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; font-weight: 700; color: var(--tally); width: 1ch; }
details.more[open] summary::before { content: "−"; }
details.more summary:hover { color: var(--ink); }
details.more .story { padding-top: 8px; }

.platform-quote {
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: center;
}
.platform-quote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.02em;
}
.platform-quote blockquote span { display: block; }
.platform-quote blockquote span:last-child { color: var(--tally); }

.awards { margin-top: clamp(56px, 7vw, 96px); }
.awards h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; max-width: 22ch; margin-bottom: 28px; }
.award-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.award {
  padding: 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-decoration: none; display: block; transition: background .2s;
}
a.award:hover { background: var(--card); }
.award .n { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 8px; }
.award .t { font-weight: 600; display: block; line-height: 1.3; }
.award .s { font-size: 14px; color: var(--ink-2); display: block; margin-top: 4px; line-height: 1.4; }
.award.gold .n { color: var(--gold); }
.fineprint { font-size: 14px; color: var(--ink-3); max-width: 70ch; margin-top: 18px; line-height: 1.5; }

/* ------------------------------------------------------------------ emmy / MOS */

.emmy {
  margin-top: var(--section);
  background: var(--night);
  color: #ecebe6;
  padding-block: clamp(88px, 11vw, 150px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.emmy::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(200,160,74,.16), transparent 70%);
  z-index: -1;
}
.emmy .eyebrow { color: #8d8b84; }
.emmy .eyebrow .tc { color: var(--gold); }
.emmy h2 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -0.045em; max-width: 14ch; margin-bottom: 30px; }
.emmy h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-2); letter-spacing: -0.02em; }
.emmy .prose p { color: #b4b2ab; }
.emmy .prose p strong { color: #f3f1ea; }
.emmy .prose .standout { color: #f3f1ea; }
.emmy-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

.mos-diagram {
  position: sticky; top: 100px;
  background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 18px;
  padding: 22px 22px 18px;
}
.mos-diagram svg { width: 100%; height: auto; display: block; }
.mos-diagram .cap { font-family: var(--mono); font-size: 12px; color: #86847d; margin-top: 10px; line-height: 1.5; }
.mos-diagram pre {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: #09090b; border: 1px solid var(--night-rule);
  font: 12.5px/1.6 var(--mono); color: #a9a79f; overflow-x: auto;
}
.mos-diagram pre .k { color: var(--gold-2); }
.mos-diagram pre .v { color: #ecebe6; }
.mos-diagram pre .c { color: #5f5d57; }

.flow { stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

.statuette {
  display: flex; align-items: center; gap: 22px; margin: 40px 0 34px; padding: 22px 0;
  border-block: 1px solid var(--night-rule);
}
.statuette svg { flex: none; width: 54px; height: auto; }
.statuette .t { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #f3f1ea; line-height: 1.25; }
.statuette .s { font-size: 15px; color: #8d8b84; line-height: 1.45; }

.receipts-h { margin: 34px 0 0; }
.receipts-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.emmy .mos-h {
  font-size: 21px; letter-spacing: -0.02em; color: #f3f1ea; margin: 1.8em 0 .55em; line-height: 1.25;
}
.emmy .mos-h span {
  display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.nomination {
  margin: 2em 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold);
}
.nomination p {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3;
  color: var(--gold-2) !important; margin: 0 0 10px;
}
.nomination cite { font-style: normal; font-family: var(--mono); font-size: 12px; color: #8d8b84; }
.nomination cite a { color: #b4b2ab; }
.receipts-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  text-decoration: none; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--night-rule);
  transition: border-color .2s, background .2s;
}
.receipts-list a:hover { border-color: var(--gold); background: rgba(200,160,74,.06); }
.receipts-list .t { color: #f3f1ea; font-weight: 600; line-height: 1.3; }
.receipts-list .m { font-family: var(--mono); font-size: 12px; color: #8d8b84; grid-column: 1; }
.receipts-list .go { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 12px; color: var(--gold-2); white-space: nowrap; }

/* ------------------------------------------------------------------ slate */

.slate-card {
  border: 1px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
}
.slate-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.slate-head h2 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -0.05em; margin-bottom: 18px; }
.slate-head .lede { max-width: 30ch; color: var(--ink); }
.slate-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-self: end; border-top: 1px solid var(--rule); }
.slate-stats div { padding: 16px 0 4px; border-bottom: 1px solid var(--rule); }
.slate-stats div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
.slate-stats div:nth-child(even) { padding-left: 16px; }
.slate-stats b { display: block; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.035em; line-height: 1.05; }
.slate-stats span { font-size: 13.5px; color: var(--ink-2); display: block; line-height: 1.35; margin: 4px 0 10px; }
.slate-shots {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr);
  grid-template-rows: auto auto;
  gap: 14px;
  padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 56px);
  background: var(--night);
  border-bottom: 1px solid var(--rule);
}
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--night-rule); }
.shot.tall { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.shot figcaption { font-family: var(--mono); font-size: 11.5px; color: #8d8b84; margin-top: 8px; letter-spacing: .03em; }

.slate-chapters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.chapter {
  padding: clamp(24px, 3.4vw, 44px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.chapter:nth-child(odd) { border-right: 1px solid var(--rule); }
.chapter .num { font-family: var(--mono); font-size: 12px; color: var(--tally); letter-spacing: .06em; }
.chapter h3 { font-size: 22px; letter-spacing: -0.02em; margin: 8px 0 12px; }
.chapter p { color: var(--ink-2); font-size: 16.5px; }
.chapter p:last-child { margin-bottom: 0; }
.slate-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 56px);
  background: var(--paper-2);
}
.slate-foot p { margin: 0; max-width: 60ch; font-weight: 500; }

/* ------------------------------------------------------------------ building now */

.build-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.build {
  border-top: 2px solid var(--ink); padding-top: 22px;
}
.build .num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.build h3 { font-size: 24px; letter-spacing: -0.025em; margin: 10px 0 14px; }
.build p { color: var(--ink-2); font-size: 16.5px; }

.home {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.home h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; margin-bottom: 20px; text-wrap: balance; }
.home h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.terminal {
  background: var(--night); color: #cfcdc6; border-radius: 16px; overflow: hidden;
  font: 13px/1.7 var(--mono); box-shadow: 0 30px 60px -44px rgba(0,0,0,.7);
}
.terminal .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--night-rule); }
.terminal .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c33; display: block; }
.terminal pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; white-space: pre; }
.terminal .p { color: var(--gold-2); }
.terminal .ok { color: #7bd88f; }
.terminal .dim { color: #6c6a64; }
.terminal .red { color: #ff7a6b; }

/* ------------------------------------------------------------------ leadership */

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.principle { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.principle:nth-child(even) { padding: 28px 0 30px 28px; border-left: 1px solid var(--rule); }
.principle h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: 16.5px; margin: 0; }

.ops {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px);
}
.ops h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; text-wrap: balance; }
.ops-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.ops-stats div { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.ops-stats b { display: block; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.ops-stats span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; margin-top: 6px; }

/* ------------------------------------------------------------------ proud */

.proud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proud {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.proud .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.proud .t { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.proud p { font-size: 15.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.proud a.link { font-size: 14px; margin-top: auto; padding-top: 10px; align-self: flex-start; }
.proud.gold { border-color: var(--gold); }
.proud.gold .k { color: var(--gold); }

/* ------------------------------------------------------------------ next + contact */

.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.next .big-line {
  font-size: clamp(48px, 7vw, 104px); font-weight: 700; letter-spacing: -0.055em; line-height: .95;
  margin: 34px 0 0;
}
.next .big-line em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--tally); letter-spacing: -0.03em; }

.contact {
  margin-top: var(--section);
  border-top: 1px solid var(--ink);
  padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px);
}
.contact h2 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.05em; margin-bottom: 20px; }
.contact .email {
  display: inline-block; font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em;
  text-decoration: none; margin: 18px 0 34px; word-break: break-word;
  background-image: linear-gradient(var(--tally), var(--tally)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
}
.contact .email:hover { color: var(--tally); }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; }

footer.site-footer {
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
}
footer.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ------------------------------------------------------------------ motion */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow, .status .live { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { border-right: 0; margin-right: 0; }
  .proof-item:nth-child(n+4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 960px) {
  .nav a:not(.keep) { display: none; }
  .hero .wrap, .story-grid, .emmy-grid, .two-col, .slate-head, .home, .ops, .next, .platform-quote, .product.feature .product-body { grid-template-columns: minmax(0, 1fr); }
  .portrait { justify-self: start; max-width: 340px; order: -1; }
  .portrait .slate-tag { left: auto; right: -12px; }
  .mos-diagram { position: static; }
  .build-grid, .proud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .products, .slate-chapters, .principles, .build-grid, .proud-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-child(odd) { border-right: 0; }
  .principle, .principle:nth-child(even) { padding: 24px 0; border-left: 0; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { margin-right: 0; padding-right: 16px; border-right: 0; }
  .proof-item:nth-child(n) { border-top: 1px solid var(--rule); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item:nth-child(odd) { padding-right: 16px; }
  .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .proof-item:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .ops-stats { grid-template-columns: minmax(0, 1fr); }
  .rail .stage .label span { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .facts dd { margin-bottom: 10px; }
  .portrait .slate-tag { right: 8px; bottom: 12px; }
}
