@font-face {
  font-family: "Fraunces";
  src: url("/site/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/site/fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/site/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/site/fonts/instrument-sans-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/site/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0d0b;
  --bg-2: #171512;
  --ink: #f4efe6;
  --muted: #c4baab;
  --faint: #8d8478;
  --line: rgba(244, 239, 230, 0.14);
  --lantern: #e4a15c;
  --lantern-deep: #c4843c;
  --paper: #efe6d6;
  --ink-dark: #1c1814;
  --paper-muted: #4a433a;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --nav: 4.4rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.55;
}

h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }

img { max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.18em; }

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

::selection {
  background: var(--lantern);
  color: #1c140c;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--lantern);
  color: #1c140c;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

.skip:focus { top: 0.8rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--nav);
  padding: 0.75rem var(--gutter);
  background: rgba(14, 13, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mark { display: block; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-enter {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  background: var(--lantern);
  color: #1c140c;
  font-size: 0.92rem;
  font-weight: 560;
}

.nav-enter:hover { background: #f0b56e; }

.kicker {
  margin: 0 0 0.85rem;
  color: var(--lantern);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 7vw, 7.25rem);
  font-weight: 460;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  max-width: 14ch;
}

h3 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 520;
}

.hero {
  display: block;
  background: var(--bg);
}

.hero-copy,
.film,
.film-hero,
.stage,
.split > *,
.wrap,
.gallery,
.steps,
.steps li,
.acts li,
.request,
.works li {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: calc(100svh - var(--nav));
  padding: 1.75rem var(--gutter) 2.75rem;
}

.hero-aside {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lockup { max-width: 36rem; }

.deck {
  margin: 1.1rem 0 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.98rem;
}

.btn-solid {
  background: var(--lantern);
  color: #1c140c;
  font-weight: 560;
}

.btn-solid:hover { background: #f0b56e; }

.btn-ghost {
  border-color: rgba(244, 239, 230, 0.38);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--ink); }

.film-hero {
  min-height: calc(100svh - var(--nav));
  display: flex;
}

.film-hero .stage {
  flex: 1;
  min-height: calc(100svh - var(--nav));
}

.world, .ground, .watch {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.prose p { margin: 0 0 1rem; color: var(--muted); }

.prose p:last-child { margin-bottom: 0; }

.statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}

.prose-wide { max-width: 40rem; margin-top: 1.5rem; }

.acts-wrap { margin-top: clamp(4rem, 8vw, 7rem); }

.acts-wrap h2 { margin-bottom: 1.5rem; }

.acts, .steps, .works, .ridge, .foot-links, .links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acts li, .steps li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.acts li:last-child, .steps li:last-child { border-bottom: 1px solid var(--line); }

.num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--lantern);
  font-weight: 500;
}

.acts h3, .steps h3 { margin-bottom: 0.4rem; }

.acts p, .steps p { margin: 0 0 0.85rem; color: var(--muted); }

.acts p:last-child, .steps p:last-child { margin-bottom: 0; }

.acts h3 { grid-column: 2; }

.acts p { grid-column: 2; }

.acts .num { grid-row: 1 / span 2; }

.map-note {
  margin: 2.5rem 0 0.85rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.ridge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". high ."
    "grove circle slope"
    "margin threshold law"
    "course track bench";
  gap: 0.55rem;
}

.plot-high { grid-area: high; }
.plot-grove { grid-area: grove; }
.plot-circle { grid-area: circle; }
.plot-slope { grid-area: slope; }
.plot-margin { grid-area: margin; }
.plot-threshold { grid-area: threshold; }
.plot-law { grid-area: law; }
.plot-course { grid-area: course; }
.plot-track { grid-area: track; }
.plot-bench { grid-area: bench; }

.plot {
  margin: 0;
  padding: 0.9rem 0.85rem 1rem;
  background: var(--bg-2);
  min-height: 7.5rem;
}

.plot-threshold {
  background: #211c16;
  box-shadow: inset 0 0 0 1px rgba(228, 161, 92, 0.7);
}

.plot-dir {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plot-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.plot-aspect {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  margin-top: 3rem;
}

.works h3 { font-size: 1.45rem; margin-bottom: 0.55rem; }

.works p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.work-live {
  margin-top: 0.75rem !important;
  color: var(--lantern) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
}

blockquote {
  margin: 3.5rem 0 0;
  padding: 0;
  max-width: 22em;
  border: 0;
}

blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

blockquote footer {
  margin-top: 0.9rem;
  color: var(--faint);
  font-size: 0.92rem;
  font-style: normal;
}

.still {
  width: min(1240px, calc(100% - (var(--gutter) * 2)));
  margin: 3.5rem auto 0;
}

.still img, .stage img, .stage video { display: block; }

.still img {
  width: 100%;
  height: auto;
  background: #000;
}

.still figcaption, .film figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.7rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.film figcaption strong, .still figcaption {
  color: var(--muted);
  font-weight: 500;
}

.door {
  background: var(--paper);
  color: var(--ink-dark);
  color-scheme: light;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.door .kicker { color: var(--lantern-deep); }

.door h2, .door h3 { color: var(--ink-dark); }

.door-lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  color: var(--paper-muted);
}

.door .steps { margin-top: 2.5rem; }

.door .steps li { border-color: rgba(28, 24, 20, 0.14); }

.door .steps p { color: var(--paper-muted); }

.door a { color: var(--ink-dark); }

.door code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.links { margin: 0.4rem 0 0; }

.links li { margin: 0.35rem 0; }

.links a {
  font-family: var(--mono);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.request { margin: 1rem 0 1rem; }

.request-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
  color: var(--paper-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy {
  min-height: 2.25rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(28, 24, 20, 0.35);
  background: transparent;
  color: var(--ink-dark);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy:hover { background: rgba(28, 24, 20, 0.06); }

pre {
  margin: 0;
  padding: 1rem 1.1rem;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #16130f;
  color: #f4efe6;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.55;
}

pre code { font-family: inherit; font-size: inherit; }

.watch .prose { margin-top: 1.4rem; }

.gallery-wrap { margin-top: 2.5rem; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 1.35rem;
  align-items: start;
}

.stage {
  position: relative;
  background: #000;
  overflow: hidden;
}

.ratio-wide .stage { aspect-ratio: 1600 / 1000; }

.ratio-eye .stage { aspect-ratio: 16 / 9; }

.stage img, .stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.stage video { object-fit: contain; background: #000; }

.chip {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.55rem;
  background: rgba(14, 13, 11, 0.72);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.play {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 13, 11, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.play:hover, .play:focus-visible {
  background: var(--lantern);
  color: #1c140c;
}

.unrecorded {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: rgba(14, 13, 11, 0.86);
  color: var(--ink);
  font-size: 0.92rem;
}

.hud {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  padding: 0.3rem 0.4rem;
  background: rgba(14, 13, 11, 0.88);
}

.hud button {
  min-height: 2.25rem;
  min-width: 2.25rem;
  padding: 0.2rem 0.45rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.hud button[aria-pressed="true"] { color: var(--lantern); }

.hud input[type="range"] {
  flex: 1 1 6rem;
  min-width: 4rem;
  accent-color: var(--lantern);
}

.time {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.is-playing .play,
.is-playing .chip,
.is-unrecorded .play { display: none; }

.stage:focus-visible { outline-offset: -3px; }

video::cue {
  background: rgba(14, 13, 11, 0.78);
  color: #f4efe6;
}

.colophon {
  padding: clamp(4rem, 8vw, 6.5rem) 0 3.5rem;
  border-top: 1px solid var(--line);
}

.word {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 460;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.ground-line {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--lantern);
  font-size: 1.35rem;
}

.presence {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 1.75rem;
}

.foot-links a { text-decoration: none; color: var(--ink); }

.foot-links a:hover { color: var(--lantern); }

.fine {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  color: var(--faint);
  font-size: 0.92rem;
}

[hidden] { display: none !important; }

@media (min-width: 861px) {
  .acts li {
    grid-template-columns: 4rem 11rem minmax(0, 1fr);
    gap: 1.25rem 2rem;
    align-items: baseline;
    padding: 1.7rem 0;
  }

  .acts .num { grid-row: auto; }

  .acts h3, .acts p { grid-column: auto; }

  .steps li {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1.25rem 2rem;
    padding: 2rem 0;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 0.15rem;
    padding-top: 0.7rem;
    padding-bottom: 0.65rem;
  }

  .brand { margin-right: auto; }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 1rem;
    padding-top: 0.15rem;
  }

  .hero, .film-hero, .hero-copy, .film-hero .stage {
    min-height: 0;
  }

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

  .film-hero { order: -1; display: block; }

  .film-hero .stage { aspect-ratio: 1600 / 1000; }

  .hero-copy {
    padding-top: 1.6rem;
    padding-bottom: 2.4rem;
    gap: 1.35rem;
  }

  .split, .works, .gallery {
    grid-template-columns: 1fr;
  }

  h2 { max-width: none; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }

  .ridge {
    grid-template-columns: 1fr;
    grid-template-areas:
      "high"
      "grove"
      "circle"
      "slope"
      "margin"
      "threshold"
      "law"
      "course"
      "track"
      "bench";
  }

  .plot { min-height: 0; }

  .play { width: 3.4rem; height: 3.4rem; }

  pre { font-size: 0.78rem; }
}

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