:root {
  --bg: #000;
  --paper: #000;
  --panel: #111111;
  --ink: #fff;
  --muted: #adadad;
  --faint: #8a8a8a;
  --line: #262626;
  --accent: #fd9968;
  --accent-hot: #ffb48f;
  --accent-deep: #8a4325;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --mono: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(100% - 3rem, 76rem);
  --gutter: clamp(1.25rem, 6.67vw, 6rem);
  --display: clamp(3.4rem, 9.4vw, 8.7rem);
  --statement: clamp(2rem, 4.6vw, 4.14rem);
  --space-s: 0.75rem;
  --space-m: 1.25rem;
  --space-l: 2rem;
  --space-xl: 3.5rem;
  --section: clamp(6.5rem, 13vh, 10rem);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open { overflow: hidden; }

img, svg, canvas { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

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

p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: #8a4325; color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.wrap { width: var(--wrap); margin-inline: auto; }

.eyebrow,
.band-label,
.spec-index,
.footer-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--muted);
  text-transform: none;
}

.band-label span,
.spec-index span,
.eyebrow { color: var(--accent); }

.lede,
.narrow {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.button,
button,
input,
textarea,
select { font: inherit; color: inherit; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.button::after { content: "↗"; color: var(--accent); }

.button:hover { color: var(--accent); }

.button-ghost { border-bottom-color: var(--line); }
.button-ghost::after { content: none; }
.button-ghost:hover { color: var(--ink); border-bottom-color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.88);
  color: var(--ink);
}

.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--line); }

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.header-bar {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(12px, 1.5vw, 15px);
}

.logo span { white-space: nowrap; }

.logo-mark { width: 1.55rem; height: 1.55rem; flex: none; }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

.nav-link:hover { color: var(--accent-hot); }

.nav-link.is-active { box-shadow: inset 0 -1px 0 currentColor; }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 2.4rem;
  padding: 0.35rem 0;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 0 0.4rem;
  overflow: hidden;
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stage canvas,
.stage-controls { pointer-events: auto; }

.stage-frame,
.stage canvas,
.stage-still {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-frame { height: 100%; border: 0; border-radius: 0; background: #000; overflow: hidden; }

.stage canvas { cursor: grab; touch-action: pan-y; }
.stage canvas.is-dragging { cursor: grabbing; }
.stage-still { display: none; }

.stage.is-still canvas,
.stage.is-still .stage-controls { display: none; }
.stage.is-still .stage-still,
.stage.is-still .stage-caption-still { display: block; }

.stage-caption { display: none; }
.stage-caption-still {
  position: absolute;
  left: 1.5rem;
  bottom: 1rem;
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.stage-controls {
  position: absolute;
  right: max(1.5rem, calc((100% - 76rem) / 2));
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.9rem;
  visibility: hidden;
}

.stage.is-ready .stage-controls { visibility: visible; }

.stage-controls button,
.filters button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  min-height: 2rem;
  padding: 0.2rem 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.stage-controls button:hover,
.filters button:hover { color: var(--ink); border-bottom-color: var(--ink); }

.stage-controls button[aria-pressed="true"],
.filters button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
}

.hero-top,
.hero-title { position: relative; z-index: 1; }

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  padding-top: 0.5rem;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid #333;
  min-width: 16rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.hero-points li { display: flex; align-items: center; gap: 0.7rem; margin: 0.45rem 0; }

.hero-points li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(3.6rem, 11.4vw, 11.2rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: var(--accent);
}

.hero-title { padding-bottom: 0.2rem; }

.band { padding: var(--section) 0; }

.band-grid,
.section-head {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.band h2,
.section-head h2,
.page-hero h1,
.article h1,
.split-card h2,
.cta-inner h2 {
  margin: 0 0 1rem;
  font-size: var(--statement);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.spec {
  display: block;
  padding: 2.25rem 2rem 2.75rem 0;
  border-right: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.spec:last-child { border-right: 0; padding-right: 0; }
.spec:not(:first-child) { padding-left: 1.4rem; }

.spec h3 {
  margin: 1.35rem 0 1rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.spec p:last-child,
.principle p,
.post-card p,
.split-card p,
.step p { margin: 0; color: var(--muted); }

.spec:hover h3 { color: var(--accent); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  color: var(--faint);
}

.marquee-track span { padding-right: 3rem; }

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.principle {
  padding: 2.5rem 2.5rem 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 2rem; }

.principle h3 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.step {
  padding: 1.5rem 1.5rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.step:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.step:nth-child(even) { padding-left: 2rem; }

.step .spec-index { margin-bottom: 0.7rem; font-size: 1.15rem; }

.post-list { border-bottom: 1px solid var(--line); counter-reset: note; }

.post-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1.3fr) minmax(0, 1.4fr) auto;
  gap: 0.65rem 2rem;
  align-items: center;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  counter-increment: note;
}

.post-card::before {
  content: counter(note, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.post-card .eyebrow { grid-column: 2; grid-row: 1; }
.post-card h2,
.post-card h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.post-card > p:not(.eyebrow):not(.meta) { grid-column: 3; grid-row: 1 / span 2; }
.post-card .meta {
  grid-column: 4;
  grid-row: 1 / span 2;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
  white-space: nowrap;
}

.post-card:hover h2,
.post-card:hover h3 { color: var(--accent); }

.filters { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-bottom: 2.75rem; }

.split-band { padding: var(--space-xl) 0 var(--section); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 2.25rem;
}

.split-card {
  display: block;
  padding: 2.5rem 2.5rem 2.75rem 0;
  color: inherit;
  text-decoration: none;
}

.split-card + .split-card {
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.split-card p:last-child { margin-top: 1.15rem; }
.split-card:hover h2 { color: var(--accent); }

.site-footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

.notice {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.notice p { margin: 0; }

.footer-panel {
  --ink: #fff;
  --muted: #adadad;
  --line: #2a2a2a;
  background: #111111;
  color: #fff;
  margin: 0 var(--gutter) var(--gutter);
  padding: clamp(4.5rem, 9vw, 7rem) 0 4.25rem;
  border-radius: 1.25rem;
}

.footer-statement {
  margin: 0 0 1.75rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.mail {
  display: inline-flex;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.mail:hover { color: var(--accent); }

.footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.8fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #2a2a2a;
}

.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-grid .fine-print { margin-top: 2rem; }

.page-hero { padding: clamp(5rem, 11vw, 8.5rem) 0 2.75rem; }
.page-hero .lede { margin-top: 1.75rem; }

.crumbs { margin: 0 0 1.4rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 0.75rem; color: var(--faint); }
.crumbs a { color: var(--muted); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.story p + p { margin-top: 1.35rem; }

.story h2 { font-size: var(--statement); margin-bottom: 1.75rem; }
.story p { color: var(--muted); }

.note {
  margin: 0;
  padding: 0.25rem 0 0 2rem;
  border-left: 1px solid var(--line);
  background: transparent;
}

.note p { color: var(--muted); }
.note a { color: var(--ink); }

.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.65rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-size: 1.45rem; }
.faq-item p { margin: 0 0 1.85rem; max-width: 40rem; color: var(--muted); }
.faq-item a { color: var(--accent-hot); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: start;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: 6.5rem;
}

.contact-grid .page-hero { padding: 0; }

.email-link {
  display: inline-block;
  margin: 1.75rem 0 2.75rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.email-link:hover { color: var(--accent); border-color: var(--accent); }

.check-list { margin: 1.25rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.check-list li { margin: 0.75rem 0; }

.form-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 2.75rem 0 0;
}

.form-card h2 { font-size: 1.6rem; margin-bottom: 2.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { margin: 0 0 1.85rem; }
.field label { display: block; margin-bottom: 0.7rem; color: var(--faint); font-family: var(--mono); font-size: 0.75rem; }

input,
textarea,
select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.95rem 0;
}

textarea { min-height: 10rem; resize: vertical; }

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 0.7rem) 55%, calc(100% - 0.4rem) 55%;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  background-repeat: no-repeat;
  padding-right: 1.4rem;
}

.form-status { min-height: 1.5rem; margin: 1.25rem 0 0; }
.form-status[data-state="success"] { color: #32d583; }
.form-status[data-state="error"] { color: #e04438; }
.fine-print { margin: 1.5rem 0 0; color: var(--faint); font-size: 0.85rem; line-height: 1.6; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.article { padding-top: clamp(5rem, 10vw, 8rem); }
.article-header { max-width: 46rem; }
.byline { color: var(--faint); font-family: var(--mono); font-size: 0.75rem; }

.prose { max-width: 42rem; padding-bottom: 3.5rem; }
.prose p,
.prose li { color: var(--muted); }
.prose p { margin: 0 0 1.4rem; }
.prose h2 { margin: 3.25rem 0 1.15rem; font-size: 1.7rem; color: var(--ink); }
.prose h3 { margin: 2.4rem 0 0.9rem; font-size: 1.25rem; }
.prose a { color: var(--accent-hot); }
.prose blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
}
.prose ul,
.prose ol { padding-left: 1.2rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.related { padding: 2rem 0 5rem; }
.related h2 { margin-bottom: 1.5rem; font-size: 1.8rem; }
.related ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.related li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.related a { text-decoration: none; }
.related a:hover { color: var(--accent); }
.related span { color: var(--faint); font-family: var(--mono); font-size: 0.75rem; flex: none; }

.empty { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 0.9s ease both; }
  [data-reveal] { animation: rise 0.8s ease both; }
}

@keyframes rise {
  from { transform: translateY(16px); }
  to { transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero-top,
  .band-grid,
  .section-head,
  .notice,
  .specs,
  .split,
  .story,
  .contact-grid,
  .principle-grid,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }

  .spec,
  .spec:not(:first-child),
  .split-card,
  .split-card + .split-card,
  .principle,
  .principle:nth-child(odd),
  .principle:nth-child(even),
  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
    border-left: 0;
  }

  .post-card { grid-template-columns: 3rem 1fr; }
  .post-card::before { grid-row: 1 / span 3; }
  .post-card .eyebrow { grid-column: 2; grid-row: 1; }
  .post-card h2,
  .post-card h3 { grid-column: 2; grid-row: 2; }
  .post-card > p:not(.eyebrow):not(.meta) { grid-column: 2; grid-row: 3; }
  .post-card .meta { grid-column: 2; grid-row: 4; }

  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 5.2rem); }
  .stage-controls { right: 1.25rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: fixed;
    z-index: 1;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 2.5rem var(--gutter) 3rem;
    background: #000;
    color: #fff;
    overflow: auto;
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 1.8rem; padding: 0.7rem 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .stage-still,
  .stage-caption-still { display: block; }
  .stage canvas,
  .stage-controls { display: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #fff; --faint: #fff; --line: #fff; }
}

@media print {
  .site-header,
  .stage,
  .marquee,
  .filters,
  .progress,
  .nav-toggle, .loader { display: none !important; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
}

@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: 480ms var(--ease) both page-out;
}

::view-transition-new(root) {
  animation: 640ms var(--ease) both page-in;
}

@keyframes page-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }

body { font-size: 19px; line-height: 1.7; background: var(--bg); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.045em; }

.progress { display: none; }

.header-bar {
  width: 100%;
  height: 72px;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo { font-weight: 700; font-size: clamp(12px, 1.5vw, 15px); letter-spacing: 0.14em; text-transform: uppercase; color: inherit; }
.header-bar { position: relative; }
.site-nav { position: static; transform: none; gap: 1.75rem; justify-self: center; }
@media (min-width: 761px) {
  .portal { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
}
.nav-link { font-size: 15px; color: inherit; }
.nav-link:hover { color: inherit; opacity: 0.6; }
.nav-link.is-active { box-shadow: inset 0 -1px 0 currentColor; }
.portal { margin-left: 0.5rem; }
.portal::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.45s var(--ease);
}
.portal:hover::after { transform: translate(0.12em, -0.12em); }

body:has(.opening) .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: #000;
  color: #fff;
  box-shadow: inset 0 -1px 0 var(--line);
}

body.nav-open .site-header {
  background: #000;
  color: #fff;
}

.stage-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stage-fixed canvas { width: 100%; height: 100%; display: block; }

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(253, 153, 104, 0.55), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
}
.cursor-light.is-on { opacity: 0.4; }

.cursor-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
}
.cursor-light.is-pulse::after { animation: light-cursor-pulse 0.7s ease-out; }

@keyframes light-cursor-pulse {
  from { opacity: 0.8; scale: 1; }
  to { opacity: 0; scale: 1.8; }
}

.opening,
.reel,
.veil { position: relative; z-index: 1; background: transparent; }

.chapter,
.arrival,
.notes { position: relative; z-index: 1; background: var(--paper); }

.opening {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: stretch;
  padding: 7.5rem var(--gutter) 5.5rem;
  view-timeline-name: --opening;
  view-timeline-axis: block;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: #000;
  transition: opacity 0.45s var(--ease);
}

.loader.is-done { opacity: 0; pointer-events: none; }

.loader-track {
  width: min(18rem, calc(100vw - 2 * var(--gutter)));
  height: 2px;
  background: #262626;
  overflow: hidden;
}

.loader-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

html:has(.loader:not(.is-done)) { overflow: hidden; }

.opening h1 {
  margin: 0;
  max-width: 14ch;
  align-self: end;
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.86;
  color: var(--accent);
  animation: hero-sink linear both;
  animation-timeline: --opening;
  animation-range: exit 0% exit 100%;
}

.mask { display: block; overflow: hidden; }

.line, .rise {
  display: block;
  animation: hero-line-in 0.9s var(--ease) both;
}

.line-delay { animation-delay: 0.08s; }

.opening h1 .line {
  background-image: linear-gradient(105deg, var(--accent) 0 42%, #ffb48f 50%, var(--accent) 58% 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    hero-line-in 0.9s var(--ease) both,
    hero-sheen 14s ease-in-out infinite;
}

.opening h1 .line-delay { animation-delay: 0.08s, 0s; }

@keyframes hero-line-in {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@keyframes hero-sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@keyframes hero-sink { to { transform: translateY(16vh); } }

.opening-lede {
  max-width: 24rem;
  margin: 4.5rem 0 0;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  animation: hero-fade-in 0.8s var(--ease) 0.45s both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(0.35em); }
  to { opacity: 1; transform: none; }
}

.scene-pause {
  position: absolute;
  right: var(--gutter);
  bottom: 1.4rem;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 13px;
  cursor: pointer;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.scene-pause:focus {
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
}

.chapter { padding: var(--section) var(--gutter); }

.chapter-head {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.32fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.index-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--faint);
}

.index-label span { color: var(--accent); margin-right: 0.35rem; }

.statement {
  margin: 0;
  font-size: var(--statement);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
}

.rise {
  animation-name: mask-rise;
  animation-duration: auto;
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 0% entry 80%;
}

@keyframes mask-rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}

.chapter .narrow,
.scrub {
  max-width: 40rem;
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.scrub-word {
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  animation: scrub-fill linear both;
  animation-timeline: view();
  animation-range: cover 12% cover 16%;
}

@keyframes scrub-fill { to { color: var(--ink); } }

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4.5rem, 10vh, 8rem);
  border-top: 1px solid var(--line);
}

.column {
  display: block;
  min-height: 20rem;
  padding: 2.25rem 2.75rem 2.75rem 0;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.column:last-child { border-right: 0; padding-right: 0; }
.column + .column { padding-left: 2.75rem; }
.column h3 {
  margin: 2.75rem 0 1.1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
  transition: color 0.45s var(--ease);
}
.column:hover h3 { color: var(--accent); }
.column p:last-child { margin: 0; color: var(--muted); font-size: 16px; max-width: 22rem; }

.reel { height: 234vh; }
.reel-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.guides {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line), var(--line)) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 66.66% 0 / 1px 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.reel { view-timeline-name: --reel; view-timeline-axis: block; }
.reel-shift {
  height: 100%;
  animation: galleria-return linear both;
  animation-timeline: --reel;
  animation-range: contain 0% contain 40%;
}
@keyframes galleria-return {
  from { transform: translateY(-18svh); }
  to { transform: none; }
}
.reel-track {
  height: 100%;
  display: flex;
  width: max-content;
  animation: reel-x linear both;
  animation-timeline: --reel;
  animation-range: contain 0% contain 100%;
}
@keyframes reel-x { to { transform: translateX(calc(-100% + 100vw)); } }
.reel-line, .reel-panel {
  width: 100vw;
  height: 100svh;
  flex: none;
  display: grid;
  align-items: center;
  padding-inline: var(--gutter);
}
.reel-line {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.reel-panel {
  background: #111;
  place-items: center;
}
.machine {
  width: min(78vh, 72vw);
  height: min(78vh, 72vw);
  display: block;
}

.chapter-tight { padding-bottom: clamp(4.5rem, 8vh, 6.5rem); }

.veil { height: 240vh; view-timeline-name: --veil; view-timeline-axis: block; }
.veil-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 4.5rem;
}
.veil-sticky::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to bottom, transparent, var(--paper) 72%);
  pointer-events: none;
}
.veil-caption, .veil-draw, .steps { position: relative; z-index: 1; }
.veil-caption {
  position: absolute;
  top: 13vh;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  text-shadow: 0 0 18px #000;
}
.veil-caption span { color: var(--accent); margin-right: 0.45rem; }
.veil-draw { width: min(100%, 60rem); height: 4rem; margin: 0 auto 2rem; }
.veil-draw path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: spv-draw linear both;
  animation-timeline: --veil;
  animation-range: contain 12% contain 72%;
}
@keyframes spv-draw { to { stroke-dashoffset: 0; } }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps p:last-child { margin: 1.15rem 0 0; color: var(--muted); font-size: 16px; max-width: 22rem; }
.step-rule {
  display: block;
  height: 1px;
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: left center;
  animation: bars-grow linear both;
  animation-timeline: view();
  animation-range: cover 18% cover 48%;
}
.steps li:nth-child(2) .step-rule { animation-range: cover 30% cover 60%; }
.steps li:nth-child(3) .step-rule { animation-range: cover 42% cover 72%; }
@keyframes bars-grow { from { scale: 0 1; } to { scale: 1 1; } }

.notes .post-list { margin-top: 4.5rem; border-top: 1px solid var(--line); }
.notes .post-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.4fr) auto auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  position: relative;
}
.notes .post-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.notes .post-card:hover::after { transform: scaleX(1); }
.notes .post-card:hover h3 { color: var(--accent); }
.notes .post-card .eyebrow { margin: 0; color: var(--faint); font-family: var(--mono); font-size: 13px; }
.notes .post-card::before { grid-row: 1; align-self: center; }
.notes .post-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  transition: color 0.45s var(--ease);
}
.notes .post-card .eyebrow { grid-column: 3; grid-row: 1; justify-self: end; }
.notes .post-card .meta { grid-column: 4; grid-row: 1; }
.notes .post-card:first-child::before { content: none; }
.notes .post-card .meta { margin: 0; color: var(--faint); font-size: 15px; }
.notes .post-card > p:not(.eyebrow):not(.meta) { display: none; }
.notes .post-card:first-child {
  display: block;
  padding: 2rem 0 3.5rem;
}
.notes .post-card:first-child .eyebrow,
.notes .post-card:first-child h3,
.notes .post-card:first-child .meta,
.notes .post-card:first-child p {
  display: block;
  grid-column: auto;
  grid-row: auto;
  justify-self: start;
  text-align: left;
}
.notes .post-card:first-child h3 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0.9rem 0 1.5rem;
  animation: wordmark-rise linear both, wordmark-settle linear both;
  animation-timeline: view(), view();
  animation-range: entry 0% entry 90%, entry 10% entry 100%;
}
.notes .post-card:first-child > p:not(.eyebrow):not(.meta) {
  display: block;
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}
.notes .post-card:first-child .meta { margin-top: 1.5rem; }
@keyframes wordmark-rise {
  from { translate: 0 40%; }
  to { translate: 0 0; }
}
@keyframes wordmark-settle {
  from { scale: 1.12; filter: blur(8px); }
  to { scale: 1; filter: blur(0); }
}
.notes-more { display: flex; justify-content: flex-end; margin: 2.25rem 0 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.45s var(--ease);
}
.text-link::after { content: "→"; }
.text-link:hover { gap: 0.7em; }

.arrival { padding: 0; }
.arrival-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.arrival-grid a {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.35rem;
  min-height: 26rem;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 4.5rem;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.arrival-grid a + a { border-left: 1px solid var(--line); }
.arrival-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.arrival-grid p { margin: 0; max-width: 28rem; color: var(--muted); }
.arrival-grid a:hover h2 { color: var(--accent); }

.footer-statement { font-weight: 700; letter-spacing: -0.05em; }
.mail { color: #d0d0d0; transition: color 0.45s var(--ease); }
.mail:hover { color: var(--accent); }
.mail span { display: inline-block; transition: transform 0.45s var(--ease); }
.mail:hover span { transform: translate(0.1em, -0.1em); }

html.is-still .stage-fixed,
html.is-paused .stage-fixed { display: none; }
html.is-still .opening {
  background:
    radial-gradient(28% 36% at 74% 46%, rgba(253, 153, 104, 0.22), transparent 70%),
    #000;
}

@media (max-width: 900px) {
  .chapter-head, .columns, .steps, .arrival-grid, .notes .post-card { grid-template-columns: 1fr; }
  .column, .column + .column { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .column { padding-top: 2rem; padding-bottom: 2.25rem; min-height: 0; }
  .steps { gap: 2.5rem; }
  .arrival-grid a + a { border-left: 0; }
  .notes .post-card .meta { justify-self: start; }
  .notes .post-card::before,
  .notes .post-card h3,
  .notes .post-card .eyebrow,
  .notes .post-card .meta {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .header-bar { grid-template-columns: 1fr auto; }
  .logo { font-size: 12px; letter-spacing: 0.1em; }
  .site-nav { grid-column: 1 / -1; }
  .opening h1 { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .line { white-space: normal; }
  .reel { height: auto; }
  .reel-sticky { position: relative; height: auto; overflow: visible; }
  .reel-track, .reel-shift { animation: none; transform: none; display: block; width: auto; }
  .reel-line, .reel-panel { width: auto; height: auto; min-height: 70svh; }
  .veil { height: auto; }
  .opening { padding-top: 6.5rem; padding-bottom: 3.75rem; }
  .opening-lede { margin-top: 2.5rem; }
  .chapter { padding-block: 4.5rem; }
  .chapter-tight { padding-bottom: 3.5rem; }
  .columns { margin-top: 3rem; }
  .veil-sticky { position: relative; height: auto; min-height: 100svh; padding-bottom: 3rem; }
  .arrival-grid { min-height: 0; }
  .arrival-grid a { min-height: 18rem; padding-bottom: 2.75rem; }
  .cursor-light { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .loader, .loader-fill { transition: none; }
  .line, .rise, .opening h1, .opening-lede, .scrub-word, .reel-track, .reel-shift,
  .step-rule, .veil-draw path,
  .notes .post-card:first-child h3, .cursor-light {
    animation: none !important;
  }
  .scrub-word { color: var(--ink); }
  .reel, .veil { height: auto; }
  .reel-sticky, .veil-sticky { position: relative; height: auto; }
  .reel-track { transform: none; display: block; width: auto; }
  .reel-line, .reel-panel { width: auto; min-height: 60vh; }
}
