/* ========== Fonts (SIL Open Font License) ========== */
@font-face { font-family: "Archivo"; src: url(assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; src: url(assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; src: url(assets/fonts/bodoni-moda-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Bodoni Moda"; src: url(assets/fonts/bodoni-moda-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; src: url(assets/fonts/bodoni-moda-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Bodoni Moda"; src: url(assets/fonts/bodoni-moda-latin-ext-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+A720-A7FF; }

/* ========== Tokens ========== */
:root {
  --black: #000;
  --white: #fff;
  --mist: #e4e6e8;      /* light sections: cool backdrop paper */
  --concrete: #7d8186;  /* secondary text */
  --line: #c5c9cd;
  --gel: #3b3bff;       /* stage-gel blue: live / focus / selected */
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --pad: clamp(16px, 3.2vw, 44px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 1rem/1.55 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gel); outline-offset: 3px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1.04; margin: 0;
  text-wrap: balance;
}
.text-link {
  font-stretch: 112%; font-weight: 500; font-size: .875rem;
  text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border: 1px solid currentColor;
  font-stretch: 112%; font-weight: 500; font-size: .875rem; text-decoration: none;
  background: var(--black); color: var(--white); border-color: var(--black);
  transition: background .25s, color .25s;
}
.button:hover { background: var(--gel); border-color: var(--gel); }
.button--light { background: var(--white); color: var(--black); border-color: var(--white); }
.button--light:hover { background: var(--gel); color: var(--white); border-color: var(--gel); }

/* ========== Header ========== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  color: var(--white);
}
.header.is-solid { background: rgba(0,0,0,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-logo { grid-column: 2; grid-row: 1; width: 78px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease); }
.header.is-solid .header-logo { opacity: 1; transform: none; }
.header-logo svg { width: 100%; }
.header-nav { grid-column: 1; grid-row: 1; display: flex; gap: 26px; }
.header-nav a, .header-cta { font-stretch: 112%; font-weight: 500; font-size: .875rem; text-decoration: none; }
.header-nav a:hover, .header-cta:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-end { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 24px; }
.lang { display: flex; gap: 2px; font-stretch: 112%; font-size: .8125rem; font-weight: 500; }
.lang button { padding: 6px 6px; opacity: .55; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle i:first-of-type { top: 18px; }
.menu-toggle i:last-of-type { top: 25px; }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--black);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu a { font-family: var(--serif); font-size: 2.4rem; line-height: 1.2; text-decoration: none; }

/* ========== Video media + fallback ========== */
.media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0d0d0e; }
.media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.media.is-playing video, .media.is-ready video { opacity: 1; }
/* Fallback until the clip loads (or if it is missing): a slow sweep of stage light */
.media::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 55% at 30% 40%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(30% 45% at 72% 62%, rgba(150,160,175,.14), transparent 70%);
  animation: sweep 14s ease-in-out infinite alternate;
}
.media::after {
  content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.media video { position: relative; z-index: 1; }
.media.is-playing::after, .media.is-ready::after { opacity: .08; z-index: 2; }
@keyframes sweep { from { transform: translateX(-6%) } to { transform: translateX(6%) } }
/* Dev hint: which file belongs here (only on localhost / file://) */
.dev .media.is-missing .dev-hint {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; font: 500 11px/1 var(--sans); font-stretch: 112%;
  background: rgba(0,0,0,.7); color: #fff; padding: 6px 8px;
}

/* ========== Hero ========== */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 20px) var(--pad) calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.hero-mark { position: relative; z-index: 2; margin: 0; align-self: end; width: 100%; }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 32px; align-items: end; margin-top: clamp(20px, 4vh, 48px); }
.hero-tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.2; max-width: 22ch; }
.next-show { border-top: 1px solid rgba(255,255,255,.5); padding-top: 16px; }
.next-show-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-stretch: 112%; font-size: .8125rem; font-weight: 500; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gel); box-shadow: 0 0 0 0 rgba(59,59,255,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,59,255,0) } 100% { box-shadow: 0 0 0 0 rgba(59,59,255,0) } }
.next-show h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.next-show-meta { margin: 6px 0 14px; color: rgba(255,255,255,.75); font-size: .9375rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.countdown div { display: grid; }
.countdown b { font-stretch: 62%; font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: .95; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; color: rgba(255,255,255,.7); }
.motion-toggle { position: absolute; z-index: 3; right: var(--pad); top: calc(var(--header-h) + 12px + env(safe-area-inset-top, 0px)); font-stretch: 112%; font-size: .75rem; font-weight: 500; opacity: .7; padding: 6px 0; }
.motion-toggle:hover { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }

/* ========== Intro ==========
   1. intro film plays (model walks across)   2. RAZA draws over the whole screen
   3. black closes over the film               4. black lifts, site appears, RAZA glides into the hero */
.is-intro { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; background: var(--black); transition: opacity 1s ease; }
.intro video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.intro video.is-playing { opacity: 1; }
.intro-black { position: absolute; inset: 0; background: var(--black); opacity: 0; transition: opacity 1s ease; }
.intro.is-dark .intro-black { opacity: 1; }
.intro.is-out { opacity: 0; pointer-events: none; }
.intro-skip {
  position: absolute; right: var(--pad); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  font-stretch: 112%; font-size: .75rem; font-weight: 500; color: var(--white); opacity: .65; padding: 10px 0;
}
.intro-skip:hover { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }
.intro-mark { position: fixed; z-index: 201; left: 0; top: 0; color: var(--white); transform-origin: 0 0; pointer-events: none; overflow: visible; }
.intro-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
.intro-mark path:nth-child(2) { transition-delay: .14s; }
.intro-mark path:nth-child(3) { transition-delay: .28s; }
.intro-mark path:nth-child(4) { transition-delay: .42s; }
.intro-mark.is-drawn path { stroke-dashoffset: 0; }
.intro-mark.is-flying { transition: transform 1.25s cubic-bezier(.7, 0, .2, 1); }
.hide-hero-mark .hero-mark { visibility: hidden; }

/* The site fades in under the lifting black */
.is-intro .hero-foot, .is-intro .motion-toggle, .is-intro .header { opacity: 0; }
.hero-foot, .motion-toggle, .header { transition: opacity .9s ease .7s; }
.header { transition: opacity .9s ease .7s, background .35s, color .35s; }

/* ========== House ========== */
.house { position: relative; min-height: 92svh; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(40px, 8vh, 96px); overflow: hidden; }
.house-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.1) 70%); }
.house-copy { position: relative; z-index: 2; max-width: 680px; }
.house-copy p { max-width: 52ch; font-size: 1.0625rem; color: rgba(255,255,255,.85); margin: 20px 0 0; }

/* ========== Section heads ========== */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 12px 0 0; max-width: 48ch; color: var(--concrete); }

/* ========== Collection lineup ========== */
.collection { padding: clamp(72px, 10vw, 140px) var(--pad); }
.collection .section-head p { color: rgba(255,255,255,.65); }
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.look { position: relative; }
.look button { display: block; width: 100%; text-align: left; }
.look-frame { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; }
.look-frame .media { transition: transform .8s var(--ease); }
.look button:hover .look-frame .media { transform: scale(1.03); }
.look-num { position: absolute; z-index: 3; top: 10px; left: 12px; font-stretch: 62%; font-weight: 300; font-size: 2.4rem; line-height: 1; }
.look-name { display: block; margin-top: 10px; font-size: .875rem; line-height: 1.35; padding-right: 8px; }


/* ========== Horizontal stretch ==========
   The section is as tall as the track is wide; a sticky frame stays on screen
   while vertical scrolling slides the track to the left (see app.js). */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hscroll-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.hscroll-track > section { flex: none; height: 100%; }
.hscroll-progress { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); height: 1px; background: rgba(255,255,255,.22); }
.hscroll-progress span { display: block; height: 100%; width: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }

.hscroll .house { width: 100vw; min-height: 0; }
.hscroll .collection {
  display: flex; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: calc(var(--header-h) + 24px) clamp(40px, 6vw, 96px) 56px var(--pad);
}
.hscroll .collection .section-head { flex: none; width: min(380px, 78vw); flex-direction: column; align-items: start; margin: 0; }
.hscroll .collection .section-head .text-link { margin-top: 20px; }
.hscroll .lineup { display: flex; overflow: visible; margin: 0; padding: 0; gap: 10px; height: 100%; align-items: center; }
.hscroll .look { flex: none; width: calc((100svh - var(--header-h) - 150px) * 9 / 16); }
.hscroll .production { width: 100vw; min-height: 0; }
.hscroll .production-media { min-height: 0; }
.hscroll .production-copy { padding-top: calc(var(--header-h) + 16px); padding-bottom: 48px; }
.hscroll .production .timeline { margin: 24px 0; }
.hscroll .production .timeline li { padding: 8px 0 8px 22px; }
.hscroll .production .timeline li::before { top: 15px; }

/* No JS: fall back to a normal side-scrolling strip */
.no-hscroll .hscroll-sticky { position: relative; height: auto; overflow-x: auto; }
.no-hscroll .hscroll-track > section { height: 100svh; }
.no-hscroll .hscroll-progress { display: none; }

@media (max-width: 760px) {
  .hscroll .collection .section-head { width: 78vw; }
  .hscroll .look { width: calc((100svh - var(--header-h) - 170px) * 9 / 16); }
  .hscroll .production { width: auto; display: grid; grid-template-columns: 82vw 100vw; }
  .hscroll .production-media { aspect-ratio: auto; height: 100%; }
  .hscroll .production-copy { align-self: center; padding: calc(var(--header-h) + 8px) var(--pad) 40px; }
  .hscroll .production .display { font-size: 1.9rem; }
  .hscroll .production .timeline li { grid-template-columns: 1fr; gap: 0; padding: 6px 0 6px 20px; }
  .hscroll .production .guests { font-size: 1.15rem; margin-bottom: 20px; }
}

/* ========== Shows ========== */
.shows { background: var(--mist); color: var(--black); padding: clamp(72px, 10vw, 140px) var(--pad); }
.shows-group { margin: 40px 0 0; font-stretch: 112%; font-size: .875rem; font-weight: 500; color: var(--concrete); }
.show-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--black); }
.show { display: grid; grid-template-columns: minmax(150px, 2.1fr) 3fr 2fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.show-date { font-stretch: 62%; font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.show-date small { display: block; font-size: .875rem; font-stretch: 100%; font-weight: 400; letter-spacing: 0; margin-top: 6px; color: var(--concrete); }
.show-title { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; margin: 0; }
.show-venue { margin: 4px 0 0; color: var(--concrete); font-size: .9375rem; }
.show-action { justify-self: end; text-align: right; font-size: .9375rem; }
.show-action .status { color: var(--concrete); }
.show.is-past .show-date { color: var(--concrete); }

/* ========== Production ========== */
.production { display: grid; grid-template-columns: 5fr 6fr; min-height: 100svh; }
.production-media { position: relative; min-height: 60svh; }
.production-copy { padding: clamp(56px, 8vw, 120px) var(--pad); align-self: center; }
.production-copy > p { color: rgba(255,255,255,.75); max-width: 50ch; margin: 18px 0 0; }
.timeline { list-style: none; margin: 36px 0; padding: 0; border-left: 1px solid rgba(255,255,255,.35); }
.timeline li { position: relative; display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0 12px 22px; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 19px; width: 7px; height: 7px; background: var(--white); border-radius: 50%; }
.timeline li:nth-child(4)::before { background: var(--gel); }
.timeline span { color: rgba(255,255,255,.6); font-size: .875rem; padding-top: 2px; }
.timeline strong { font-weight: 400; font-size: 1.0625rem; }
.production-copy .guests-label { margin: 0; font-size: .875rem; color: rgba(255,255,255,.6); }
.production-copy .guests { margin: 4px 0 32px; color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; max-width: 34ch; }

/* ========== Invite ========== */
.invite { background: var(--mist); color: var(--black); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) var(--pad); }
.invite-intro p { color: var(--concrete); max-width: 40ch; margin: 16px 0 0; }
.invite-form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .875rem; font-weight: 500; font-stretch: 112%; padding: 0; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--black); background: transparent; padding: 10px 0; font-size: 1.0625rem; border-radius: 0;
}
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom: 2px solid var(--gel); }
.field [aria-invalid="true"] { border-bottom-color: #c0141e; }
.field-error { margin: 0; font-size: .8125rem; color: #c0141e; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--black); font-size: .875rem; font-weight: 400; font-stretch: 100%; cursor: pointer; }
.chips input:checked + span { background: var(--black); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gel); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.invite-form .button { justify-self: start; }
.form-success { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--black); font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }

/* ========== Footer ========== */
.footer { padding: clamp(56px, 8vw, 110px) var(--pad) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-mark { width: 100%; height: auto; color: var(--white); }
.footer-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; margin-top: 36px; font-size: .875rem; }
.footer-cols p { margin: 0; }
.footer-cols nav { display: flex; gap: 20px; }
.footer-cols > :last-child { text-align: right; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.demo-note { margin: 28px 0 0; font-size: .75rem; color: rgba(255,255,255,.5); }

/* ========== Viewer dialog ========== */
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--white); }
.viewer[open] { display: grid; grid-template-columns: 1fr minmax(280px, 380px); }
.viewer::backdrop { background: #000; }
.viewer-media { position: relative; }
.viewer-media video { object-fit: contain; background: #000; }
.viewer-info { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) var(--pad) calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; }
.viewer-kicker { margin: 0; color: rgba(255,255,255,.6); font-size: .875rem; }
.viewer-info .display { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.viewer-info p { margin: 0; color: rgba(255,255,255,.8); }
.viewer-close { margin-top: auto; align-self: start; }

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .header-nav { display: none; }
  .lineup { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 760px) {
  :root { --header-h: 56px; }
  .header { gap: 12px; }
  .header-end { justify-self: end; gap: 10px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .section-head { flex-direction: column; align-items: start; }
  .lineup { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; scroll-padding-inline: var(--pad); }
  .lineup::-webkit-scrollbar { display: none; }
  .look { flex: 0 0 64%; scroll-snap-align: start; }
  .show { grid-template-columns: 1fr; gap: 6px; }
  .show-action { justify-self: start; text-align: left; margin-top: 6px; }
  .house-shade { background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 80%); }
  .production { grid-template-columns: 1fr; }
  .production-media { min-height: 0; aspect-ratio: 4 / 5; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .invite { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cols > :last-child { text-align: left; }
  .viewer[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .viewer-info { padding-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
