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

:root {
  --bg: #100f0d;
  --cream: #efe9df;
  --dim: rgba(239, 233, 223, 0.55);
  --line: rgba(239, 233, 223, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.stage {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vh, 2rem);
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

/* ─────────── Header ─────────── */

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.9rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 30ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dim);
}

/* ─────────── Marquee rows ─────────── */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee.is-dragging {
  cursor: grabbing;
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}

/* Row 1 — stills */
.marquee--cards {
  padding-top: clamp(0.75rem, 2vh, 1.25rem);
}

.still {
  width: clamp(13rem, 21vw, 21rem);
  margin-right: 1rem;
}

.still-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #1d1b18;
}

.still-img img {
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.85);
}

.still:hover .still-img img {
  transform: scale(1.12);
  filter: saturate(1.1);
}

.still figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.still figcaption span:first-child {
  color: var(--cream);
}

/* Row 2 — big words */
.marquee--big {
  padding: clamp(0.5rem, 1.5vh, 1rem) 0;
}

.word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  padding: 0 clamp(1rem, 2vw, 2rem);
  white-space: nowrap;
}

.pill {
  flex-shrink: 0;
  width: clamp(5rem, 9vw, 8.5rem);
  aspect-ratio: 12 / 7;
  border-radius: 999px;
  overflow: hidden;
}

/* Row 3 — credits */
.marquee--mono {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.mono,
.sep {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mono {
  color: var(--cream);
}

.sep {
  padding: 0 1.25rem;
  color: var(--dim);
}

/* ─────────── Footer ─────────── */

.foot {
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.foot a {
  color: var(--cream);
}

@media (max-width: 760px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lede {
    font-size: 0.85rem;
  }

  .foot span {
    display: none;
  }
}
