:root {
  --cream: #F5F0E8;
  --cream-2: #ECE4D8;
  --ink: #1A1714;
  --ink-2: #5E554C;
  --green: #1F3A2E;
  --red: #B23A2E;
  --radius: 28px;
  --radius-sm: 20px;
  --pad: clamp(16px, 4.5vw, 40px);
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
svg { display: block; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  z-index: 20;
  top: max(12px, env(safe-area-inset-top));
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__logo {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 9px 14px;
  margin-left: -14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .3s, background-color .3s, margin .3s;
}
body.nav-solid .nav__logo {
  margin-left: 0;
  background: rgba(245, 240, 232, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 23, 20, .06);
}
.nav__links {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(245, 240, 232, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 23, 20, .06);
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
}
.nav__links a:hover { background: rgba(26, 23, 20, .06); }
@media (max-width: 420px) { .nav__links a[href="#us"] { display: none; } }

body.hero-full:not(.nav-solid) .nav__logo { color: var(--cream); }
body.is-playing .nav { opacity: 0; visibility: hidden; }
.nav { transition: opacity .3s, visibility .3s; }

/* ---------- HERO (shared) ---------- */
.hero { position: relative; }
.hero h1 {
  font-size: clamp(42px, 11.5vw, 104px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -0.045em;
}
.hero h1 em { font-size: 1.08em; letter-spacing: -0.02em; }

.stage {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.stage__loop,
.stage__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage__loop { object-fit: cover; }
.stage__player { object-fit: contain; background: #000; opacity: 0; pointer-events: none; transition: opacity .35s; }
.stage__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(26,23,20,.15), rgba(26,23,20,.55) 75%),
    linear-gradient(180deg, rgba(26,23,20,.35) 0%, rgba(26,23,20,0) 30%, rgba(26,23,20,.15) 55%, rgba(26,23,20,.85) 100%);
  transition: opacity .35s;
}

.stage__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
  transition: opacity .3s;
}

.play {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.play:hover { transform: scale(1.04); }
.play:active { transform: scale(.96); }
.play svg { width: 38px; height: 38px; fill: currentColor; margin-left: 5px; }
.play__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cream);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.play__label {
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(26, 23, 20, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stage__end {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  text-align: center;
  background: rgba(26, 23, 20, .72);
  color: var(--cream);
}
.stage__end[hidden] { display: none; }
.stage__end-title { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 7vw, 48px); line-height: 1.05; }
.stage__end-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.stage__close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26, 23, 20, .6);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stage__close[hidden] { display: none; }
.stage__close svg, .sheet__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* playing state */
.is-playing .stage__player { opacity: 1; pointer-events: auto; }
.is-playing .stage__ui,
.is-playing .stage__shade { opacity: 0; pointer-events: none; }

.hero__more {
  display: inline-flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .3s;
}
.hero__more span { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* ---------- HERO: FULL-BLEED VARIANT ---------- */
body.hero-full .hero {
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 var(--pad) max(24px, env(safe-area-inset-bottom));
  color: var(--cream);
}
body.hero-full .stage { position: absolute; inset: 0; z-index: 0; }
body.hero-full .stage__ui { justify-content: center; padding-bottom: 14vh; }
body.hero-full .hero__title { position: relative; z-index: 1; pointer-events: none; margin-bottom: 22px; transition: opacity .3s; }
body.hero-full .hero__title .eyebrow { color: rgba(245, 240, 232, .8); margin-bottom: 10px; }
body.hero-full .hero__more { position: relative; z-index: 1; color: rgba(245, 240, 232, .85); }
body.hero-full.is-playing .hero__title,
body.hero-full.is-playing .hero__more { opacity: 0; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(64px, 12vw, 128px) var(--pad) 0; max-width: 1240px; margin: 0 auto; }
.section__head { margin-bottom: 28px; max-width: 720px; }
.section__head .eyebrow { margin-bottom: 12px; }
.section h2 {
  font-size: clamp(38px, 9vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.section h2 em { font-size: 1.08em; }
.lede { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 560px; }

/* Archive */
.archive {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .archive { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .archive { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-2);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card__thumb img { transform: scale(1.03); }
.card__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
}
.card__chip i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.card__chip svg { width: 12px; height: 12px; fill: var(--cream); margin-left: 2px; }
.card__meta { display: flex; align-items: baseline; gap: 12px; padding: 12px 4px 0; }
.card__year { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.card__title { color: var(--ink-2); font-size: 15px; }

/* Values */
.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 24px 24px 28px;
}
.value__num { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .04em; }
.value h3 { margin: 28px 0 8px; font-size: 28px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.value h3 em { font-size: 1.1em; }
.value p { color: var(--ink-2); font-size: 16px; }

/* Note */
.note {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(32px, 7vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.note .eyebrow { color: rgba(245, 240, 232, .7); }
.note p:not(.eyebrow) { color: rgba(245, 240, 232, .8); max-width: 420px; }
.note .pill { margin-top: 8px; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px 6px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
.pill--light { background: var(--cream); color: var(--ink); padding-right: 20px; }
.pill--light:has(.pill__arrow) { padding-right: 6px; }
.pill--ghost { border: 1px solid rgba(245, 240, 232, .4); color: var(--cream); padding-right: 20px; }
.pill__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
}

/* Footer */
.footer {
  padding: clamp(72px, 12vw, 120px) var(--pad) max(40px, env(safe-area-inset-bottom));
  text-align: center;
}
.footer__mark { white-space: nowrap; font-size: clamp(36px, 13.5vw, 160px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; }
.footer__small { margin-top: 16px; color: var(--ink-2); font-size: 14px; }

/* ---------- SHEET PLAYER ---------- */
.sheet {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  color: var(--cream);
}
.sheet::backdrop { background: rgba(10, 9, 8, .8); backdrop-filter: blur(6px); }
.sheet__inner {
  background: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px 16px max(20px, env(safe-area-inset-bottom));
}
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-left: 6px; }
.sheet__title { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.sheet__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,240,232,.1); }
.sheet__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; }
.sheet[open] { animation: up .35s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 720px) {
  .sheet { margin: auto; max-width: 960px; width: calc(100% - 64px); }
  .sheet__inner { border-radius: var(--radius); padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .play__ring, .hero__more span { animation: none; }
  html { scroll-behavior: auto; }
}
