:root {
  --ground: #FFFFFF;
  --ground-2: #F7F5F2;
  --ink: #1A1714;
  --ink-2: #5C574F;
  --muted: #6E6962;
  --amber: #8C4E14;
  --teal: #2E6B72;
  --line: rgba(26, 23, 20, 0.14);
  --on-photo: #F4EFE6;
  --on-photo-dim: #D9D2C6;
  --nav-h: 58px;
  --pad: clamp(20px, 5vw, 80px);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

#film,
#roster,
#dates,
#line {
  scroll-margin-top: 74px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Jost", -apple-system, system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

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

::selection {
  background: var(--amber);
  color: var(--ground);
}

:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: var(--ground);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 12px;
}

.skip:focus { top: 70px; }

.period { color: var(--amber); }

.kicker,
.sec-label,
.pill,
.btn,
.meta,
.player-btn,
.player-time,
.strip,
.nav-links a {
  font-family: "Jost", -apple-system, system-ui, sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker,
.sec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  margin: 0 0 18px;
}

.kicker-teal { color: var(--teal); }

.pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.pip-amber { background: var(--amber); }
.pip-teal { background: var(--teal); }

.rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 18px 0 20px;
}

.rule-amber { background: var(--amber); }
.rule-teal { background: var(--teal); }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px 0 20px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

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

.pill {
  margin-left: auto;
  flex: none;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  line-height: 1;
}

.pill:hover {
  color: var(--amber);
  border-color: rgba(140, 78, 20, 0.45);
}

.hero {
  height: 250vh;
  height: 250dvh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ground);
}

.hero-photo,
.wash,
.veil,
.panel {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transform: scale(1);
  transform-origin: center center;
}

.wash {
  background: linear-gradient(105deg, rgba(232, 145, 60, 0.95), rgba(46, 107, 114, 0.95));
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}

.veil {
  background: radial-gradient(ellipse at center, transparent 68%, rgba(255, 255, 255, 0.45) 90%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 2;
}

.panel {
  width: 51.5%;
  background: var(--ground);
  z-index: 3;
  pointer-events: none;
}

.panel-l {
  right: auto;
  left: 0;
  border-right: 1px solid var(--line);
  transform: translateX(-115%);
}

.panel-r {
  left: auto;
  right: 0;
  transform: translateX(115%);
}

.portal-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
}

.dot-a {
  background: var(--amber);
  transform: translate(-50%, -50%) translate(-46vw, -40vh);
}

.dot-b {
  background: var(--teal);
  transform: translate(-50%, -50%) translate(46vw, 38vh);
}

.meta {
  position: absolute;
  z-index: 5;
  margin: 0;
  color: var(--on-photo-dim);
  letter-spacing: 0.15em;
}

.meta-tl { top: calc(var(--nav-h) + 16px); left: var(--pad); }
.meta-tr { top: calc(var(--nav-h) + 16px); right: var(--pad); }
.meta-bl { bottom: 22px; left: var(--pad); }
.meta-br { bottom: 22px; right: var(--pad); }

.meta-geo {
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--on-photo);
}

.portal-title {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  top: var(--nav-h);
  bottom: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 8.4vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scale(1.28);
  transform-origin: center center;
  pointer-events: none;
  color: var(--on-photo);
}

.half { display: inline-block; }
.half-a { transform: translateX(-50%); }
.half-b { transform: translateX(50%); }

html.motion .stage { --p: 0; }

html.motion .hero-photo {
  transform: scale(calc(1.18 - var(--p) * 0.18));
}

html.motion .wash {
  opacity: calc(var(--p) * 0.22);
}

html.motion .panel-l {
  transform: translateX(calc(var(--p) * -115%));
}

html.motion .panel-r {
  transform: translateX(calc(var(--p) * 115%));
}

html.motion .dot-a {
  transform: translate(-50%, -50%) translate(calc(var(--p) * -46vw), calc(var(--p) * -40vh));
}

html.motion .dot-b {
  transform: translate(-50%, -50%) translate(calc(var(--p) * 46vw), calc(var(--p) * 38vh));
}

html.motion .portal-title {
  letter-spacing: calc((1 - var(--p)) * 0.06em + var(--p) * -0.02em);
  transform: scale(calc(1 + var(--p) * 0.28));
  color: color-mix(in srgb, var(--ink) calc((1 - var(--p)) * 100%), var(--on-photo) calc(var(--p) * 100%));
}

html.motion .meta {
  color: color-mix(in srgb, var(--ink-2) calc((1 - var(--p)) * 100%), var(--on-photo-dim) calc(var(--p) * 100%));
}

html.motion .meta-geo {
  color: color-mix(in srgb, var(--ink) calc((1 - var(--p)) * 100%), var(--on-photo) calc(var(--p) * 100%));
}

html.motion .half-a { transform: translateX(calc(var(--p) * -50%)); }
html.motion .half-b { transform: translateX(calc(var(--p) * 50%)); }

.fold {
  --f: 1;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: clamp(96px, 14vh, 160px) var(--pad);
  overflow: hidden;
}

.fold-copy { position: relative; z-index: 2; max-width: 640px; }

.statement {
  margin: 0;
  max-width: 22ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.statement em {
  font-style: normal;
  color: var(--amber);
}

.fold-note {
  margin: 22px 0 0;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.index-num {
  position: absolute;
  z-index: 1;
  left: clamp(8px, 2vw, 36px);
  bottom: -0.12em;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(160px, 32vw, 480px);
  line-height: 0.75;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 23, 20, 0.28);
  pointer-events: none;
  user-select: none;
}

.orbit {
  position: absolute;
  z-index: 1;
  width: min(38vh, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  right: -8%;
  top: 16%;
  opacity: 0.5;
  border: 1px solid var(--line);
  transform: translate3d(36px, -80px, 0) rotate(10deg);
}

.orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 6%;
}

html.motion .fold { --f: 0; }

html.motion .orbit {
  transform: translate3d(calc(var(--f) * 36px), calc(var(--f) * -80px), 0) rotate(calc(-8deg + var(--f) * 18deg));
}

.film {
  padding: clamp(88px, 13vh, 150px) var(--pad) 0;
}

.film-head { max-width: 640px; }

.film h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.stills {
  display: grid;
  gap: 18px 14px;
}

.reels {
  display: flex;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 48px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 23, 20, 0.28) transparent;
}

.reels::-webkit-scrollbar { height: 1px; }
.reels::-webkit-scrollbar-thumb { background: rgba(26, 23, 20, 0.28); }

.reel {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

.stills {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vh, 42px);
  padding-bottom: clamp(28px, 5vh, 64px);
}

.reel,
.still { margin: 0; }

.player {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--ground-2);
}

.player video {
  width: 100%;
  height: min(52vh, 440px);
  object-fit: cover;
  object-position: center center;
  background: var(--ground);
}

.player figcaption {
  margin: 0;
  padding: 12px 12px 0;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.player-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 12px 12px;
}

.player-btn {
  flex: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.player-btn:hover { color: var(--amber); border-color: rgba(140, 78, 20, 0.45); }

.player-btn.is-on { color: var(--amber); border-color: rgba(140, 78, 20, 0.45); }

.player-time { color: var(--ink-2); flex: none; }

.player-seek {
  flex: 1;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.player-rule {
  display: block;
  height: 1px;
  background: var(--line);
  position: relative;
}

.player-rule i {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(var(--q, 0));
  transform-origin: left center;
}

.still a { display: block; }

.still img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--ground-2);
  border: 1px solid var(--line);
}

.still figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.still figcaption a {
  color: var(--amber);
  text-decoration: none;
}

.still figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }

.close h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.lede {
  margin: 18px 0 0;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 400;
}

.btn-row,
.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
}

.btn:hover { color: var(--amber); border-color: rgba(140, 78, 20, 0.45); }

.btn-amber {
  color: var(--amber);
  border-color: rgba(140, 78, 20, 0.45);
}

.roster-sec,
.dates-sec {
  padding: 0 var(--pad);
}

.roster-sec { padding-top: clamp(24px, 6vh, 72px); }

.dates-sec { padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(20px, 4vh, 40px); }

.line-sec {
  padding: clamp(36px, 6vh, 72px) var(--pad) clamp(72px, 10vh, 130px);
}

.line-lede { margin: 0 0 28px; }

.line {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.line li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.line-year {
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

.line-body { position: relative; padding-left: 18px; }

.line-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.line li:nth-child(even) .line-body::before { background: var(--teal); }

.line-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 28px;
}

.line-head h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.line li:hover .line-head h3 { color: var(--amber); }

.line-link {
  flex: none;
  color: var(--amber);
  font-family: "Jost", -apple-system, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 78, 20, 0.4);
  line-height: 1.4;
}

.line-link:hover { border-bottom-color: var(--amber); }

.line-role,
.line-people {
  margin: 8px 0 0;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 14px;
}

.line-people { margin-top: 4px; }

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.roster li {
  display: grid;
  grid-template-columns: minmax(88px, 150px) minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.roster-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.count {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

.roster li:hover .roster-name { color: var(--amber); }

.book { border-top: 1px solid var(--line); }

.date-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 10px 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.date-head {
  color: var(--ink-2);
  font-family: "Jost", -apple-system, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 12px;
}

.date-work {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.date-row:not(.date-head) > div:not(.date-work) {
  color: var(--ink-2);
  font-size: 14px;
}

.date-row:not(.date-head):hover .date-work { color: var(--amber); }

.close {
  padding: clamp(20px, 4vh, 40px) var(--pad) 0;
  overflow: hidden;
}

.close-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
  padding-bottom: clamp(28px, 5vh, 56px);
}

.close-actions { margin-top: 0; justify-content: flex-end; }

.fine {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.strip {
  display: flex;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  color: var(--ink-2);
}

.giant {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(64px, 22.4vw, 420px);
  line-height: 0.76;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(0.16em);
}

html.motion.reveal-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
}

html.motion.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
  .stills { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .close-head { grid-template-columns: 1fr; }
  .line li { grid-template-columns: 1fr; gap: 2px; }
  .line-year { padding-top: 0; }
  .line-head { flex-wrap: wrap; }
  .date-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 16px 0 18px;
  }
  .roster li {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name count"
      "role count";
  }
  .roster-name { grid-area: name; }
  .kicker { grid-area: role; margin: 6px 0 0; }
  .count { grid-area: count; align-self: center; }
  .orbit { width: min(42vw, 180px); top: auto; bottom: 8%; opacity: 0.4; }
  .index-num { font-size: 42vw; }
}

@media (prefers-reduced-motion: reduce) {
  html.motion .hero-photo { transform: scale(1); }
  html.motion .wash { opacity: 0.22; }
  html.motion .panel-l { transform: translateX(-115%); }
  html.motion .panel-r { transform: translateX(115%); }
  html.motion .dot-a { transform: translate(-50%, -50%) translate(-46vw, -40vh); }
  html.motion .dot-b { transform: translate(-50%, -50%) translate(46vw, 38vh); }
  html.motion .portal-title { letter-spacing: -0.03em; transform: scale(1.28); color: var(--on-photo); }
  html.motion .meta { color: var(--on-photo-dim); }
  html.motion .meta-geo { color: var(--on-photo); }
  html.motion .half-a { transform: translateX(-50%); }
  html.motion .half-b { transform: translateX(50%); }
  html.motion .orbit { transform: translate3d(36px, -80px, 0) rotate(10deg); }
  html.motion.reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
}
