/* Amazing Indian Stories — white, quiet, and let the stories carry the colour. */

@property --tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #b5744c;
}

:root {
  /* palette */
  --night: #ffffff;      /* page */
  --velvet: #f5f5f7;     /* raised surfaces, cards */
  --screen: #1d1d1f;     /* primary text */
  --ash: #6e6e73;        /* secondary text */
  --dim: #a1a1a6;        /* tertiary text */
  --line: rgba(0, 0, 0, 0.1);
  --tungsten: #c8372a;   /* focus + progress, the brand red */
  --paper: #ece1cc;      /* the ticket */
  --stub: #e2d4bb;
  --ink: #1d1512;
  --fg-rgb: 29, 29, 31;      /* foreground, for tints and hairlines */
  --bg-rgb: 255, 255, 255;   /* page, for fades and veils */
  --glass-rgb: 255, 255, 255;/* translucent chrome */
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.22), 0 8px 18px -10px rgba(0, 0, 0, 0.12);

  /* Liquid Glass — clear material for controls that float above content */
  --lg-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24));
  --lg-filter: blur(14px) saturate(185%) brightness(1.04);
  --lg-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -12px 22px -16px rgba(0, 0, 0, 0.14),
    0 0 0 0.5px rgba(0, 0, 0, 0.08),
    0 14px 34px -16px rgba(0, 0, 0, 0.32),
    0 2px 6px -3px rgba(0, 0, 0, 0.12);

  /* type */
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --accent: #d2402f;     /* the original's red, used only for emphasis */
  --f-mono: "Courier Prime", "Courier New", Courier, monospace;

  /* layout */
  --g: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --bar-h: 68px;

  color-scheme: light;
}

/* The full-screen showreel stays a dark cinema */
.cinema {
  --night: #0d0a09;
  --velvet: #17110f;
  --screen: #ede6da;
  --ash: #a0968c;
  --dim: #6e655e;
  --line: rgba(var(--fg-rgb), 0.13);
  --fg-rgb: 237, 230, 218;
  --bg-rgb: 13, 10, 9;
  --glass-rgb: 22, 17, 15;
  color-scheme: dark;
}
/* Dark Liquid Glass: in the cinema, and wherever glass sits on a photo or video */
.cinema, .glass-dark {
  --lg-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)), rgba(20, 16, 14, 0.28);
  --lg-filter: blur(16px) saturate(170%) brightness(0.94);
  --lg-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 16px 36px -16px rgba(0, 0, 0, 0.6);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-h);
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--screen);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
i, em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--tungsten);
  outline-offset: 3px;
  border-radius: 4px;
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 14px; border-radius: 8px;
  background: var(--screen); color: var(--night);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ─── Shared type ─── */

.label {
  font: 400 0.75rem/1.4 var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.sec-head h2,
.slate-title {
  font: 400 clamp(2rem, 4vw, 3.5rem)/1 var(--f-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-optical-sizing: auto;
  max-width: 18ch;
  text-wrap: balance;
}

.credit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font: 400 0.75rem/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.credit-row li { display: flex; align-items: center; }
.credit-row li + li::before {
  content: "";
  width: 1px; height: 12px;
  margin: 0 16px;
  background: var(--line);
}

.text-link {
  display: inline-flex; gap: 6px; align-items: baseline;
  color: var(--screen);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--screen); }

.fine {
  margin-top: 20px;
  font: 400 0.6875rem/1.5 var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* Buttons respond on press, not release */
.pill, .play-cta, .track-play, .cin-btn, .menu-btn, .reel-frame, .ticket-stub, .intro-skip {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pill:active, .play-cta:active, .track-play:active, .cin-btn:active, .intro-skip:active {
  transform: scale(0.97);
  transition: transform 0.1s ease-out;
}

.pill {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 16px;
  border-radius: 999px;
  font: 500 0.8125rem/1 var(--f-body);
  letter-spacing: 0.01em;
  transition: background-color 0.2s, transform 0.25s;
}
.pill-light { background: var(--screen); color: var(--night); }
.pill-light:hover { background: #000; }

/* Translucent material for floating chrome */
.glass {
  background: var(--lg-bg);
  -webkit-backdrop-filter: var(--lg-filter);
  backdrop-filter: var(--lg-filter);
  box-shadow: var(--lg-shadow);
  border: 0;
  isolation: isolate;
}
/* Specular highlight: rests near the top edge, and follows the pointer like light across glass */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(var(--lg-spot, 120px) circle at var(--mx, 28%) var(--my, -10%), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: soft-light;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.glass:hover::after,
.glass.is-lit::after { opacity: 1; }
.glass > * { position: relative; z-index: 2; }
button.glass, a.glass { transition: transform 0.35s cubic-bezier(0.3, 1.3, 0.5, 1), box-shadow 0.3s ease; }
button.glass:active, a.glass:active { transform: scale(0.95); transition-duration: 0.12s; }

/* ═════════════ Intro: the poster wheel ═════════════ */

.intro, .cinema { display: none; }

.js.intro-on { overflow: hidden; }
.js.intro-on .intro { display: block; }

.intro {
  --tint: #a98a35;
  position: fixed; inset: 0; z-index: 100;
  overflow: hidden;
  background:
    radial-gradient(52% 46% at 50% 46%, color-mix(in oklab, var(--tint) 16%, transparent), transparent 75%),
    radial-gradient(90% 60% at 50% 110%, color-mix(in oklab, var(--tint) 8%, transparent), transparent 70%),
    var(--night);
  transition: --tint 1s ease, opacity 0.6s ease;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro-top, .intro-nav { transition: opacity 0.35s ease; }
.intro.is-torn .intro-top,
.intro.is-torn .intro-nav,
.intro.is-torn .intro-caption { opacity: 0; pointer-events: none; }
.intro::after {
  content: none; position: absolute; inset: 0; pointer-events: none;
  opacity: 0;
  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");
}

.intro-top {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--g) 0;
}
.intro-logo { width: auto; height: clamp(44px, 6.5vh, 60px); }
.intro-skip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  font: 500 0.8125rem/1 var(--f-body);
  color: var(--screen);
  position: relative;
}

.wheel {
  position: absolute; inset: 0;
  perspective: 1800px;
  perspective-origin: 50% 46%;
  cursor: grab;
}
.wheel.is-dragging { cursor: grabbing; }
.wheel-track {
  position: absolute; left: 50%; top: 46%;
  transform-style: preserve-3d;
}
.gc {
  position: absolute; left: 0; top: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  background: var(--velvet);
  box-shadow:
    0 0 0 1px rgba(var(--fg-rgb), 0.08),
    0 40px 70px -28px rgba(0, 0, 0, 0.35),
    0 12px 24px -12px rgba(0, 0, 0, 0.6);
}
.gc img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gc::after {
  /* a soft sheen that slides as the card turns, like light on a lacquered lobby card */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) var(--sheen, 40%));
  mix-blend-mode: screen;
}

/* The last card is the ticket itself */
.gc-ticket {
  background: none;
  box-shadow: none;
  overflow: visible;
  display: grid; place-items: center;
  container-type: inline-size;
}
.gc-ticket::after { display: none; }
.gc-ticket .ticket { pointer-events: none; }
.intro.at-ticket .gc-ticket .ticket { pointer-events: auto; }

.ticket {
  --notch: max(8px, 2cqw);
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 5 / 2;
  color: var(--ink);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  text-align: left;
}
.ticket-main {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 4.6cqw 5.2cqw;
  background: var(--paper);
  border-radius: 10px 0 0 10px;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-main::before {
  content: ""; position: absolute; inset: 1.8cqw 2.4cqw 1.8cqw 1.8cqw;
  border: 1px solid rgba(29, 21, 18, 0.2);
  border-radius: 4px;
  pointer-events: none;
}
.ticket-house {
  font: 700 max(9px, 1.95cqw)/1.2 var(--f-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ticket-title {
  font: 400 max(30px, 10cqw)/0.95 var(--f-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}
.ticket-meta { display: flex; gap: 4.6cqw; }
.ticket-meta dt {
  font: 400 max(8px, 1.75cqw)/1.2 var(--f-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6;
}
.ticket-meta dd { font: 700 max(10px, 2.3cqw)/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }

.ticket-stub {
  position: relative;
  width: 21%;
  display: grid; place-items: center;
  background: var(--stub);
  color: var(--ink);
  border-radius: 0 10px 10px 0;
  border-left: 2px dashed rgba(29, 21, 18, 0.32);
  cursor: grab;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
  will-change: transform;
  transform-origin: 0% 100%;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-stub:active { cursor: grabbing; }
.ticket-stub:focus-visible { outline-offset: -6px; }
.stub-text {
  writing-mode: vertical-rl;
  font: 700 max(11px, 2.5cqw)/1 var(--f-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
/* Once the wheel lands on the ticket, the stub hints which way it tears */
.intro.at-ticket .ticket-stub { animation: stub-hint 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s 2; }
@keyframes stub-hint {
  0%, 70%, 100% { transform: none; }
  80% { transform: translateX(6px) rotate(0.6deg); }
}

/* Caption: credit-block styling, bottom left */
.intro-caption {
  position: absolute; z-index: 3;
  left: var(--g); bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
  max-width: min(440px, calc(100vw - 2 * var(--g) - 110px));
  display: grid; gap: 8px;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.intro-caption.is-swapping { opacity: 0; transform: translateY(6px); }
.cap-meta {
  display: flex; gap: 14px;
  font: 400 0.6875rem/1.4 var(--f-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash);
}
.cap-meta span + span::before { content: "·"; margin-right: 14px; color: var(--dim); }
.cap-title {
  font: 400 clamp(1.75rem, 3.2vw, 2.8rem)/1 var(--f-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}
.cap-line { font-size: 0.9375rem; line-height: 1.55; color: rgba(var(--fg-rgb), 0.82); }

.intro-nav {
  position: absolute; z-index: 3;
  right: var(--g); bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
  display: flex; flex-direction: column; gap: 8px;
}
.wheel-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.wheel-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--screen); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }


/* ═════════════ Cinema ═════════════ */

.js .cinema:not([hidden]) { display: block; }
.cinema {
  position: fixed; inset: 0; z-index: 110;
  background: #000;
  will-change: clip-path;
}
.cinema.is-staged { visibility: hidden; pointer-events: none; }
.cinema.is-closing { opacity: 0; transition: opacity 0.4s ease; }
.locked { overflow: hidden; }
.cinema-screen { position: absolute; inset: 0; }
.cinema-screen iframe,
.cinema-screen video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}
/* Match the embed's own scheme so the browser doesn't paint an opaque white backdrop behind it */
.cinema-screen iframe { color-scheme: normal; background: transparent; }

.cinema-ui {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  max-width: calc(100vw - 24px);
}
.cinema.ui-hidden { cursor: none; }
.cinema.ui-hidden .cinema-ui { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }

.cin-btn {
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  font: 500 0.8125rem/1 var(--f-body);
  white-space: nowrap;
  transition: background-color 0.2s;
}
.cin-btn:hover { background: rgba(var(--fg-rgb), 0.1); }
.cin-exit { background: var(--screen); color: var(--night); }
.cin-exit:hover { background: #fff; }

.cin-bar {
  position: relative;
  width: clamp(90px, 26vw, 340px);
  height: 30px;
  cursor: pointer;
}
.cin-bar::before,
.cin-bar i {
  content: "";
  position: absolute; left: 0; top: 50%;
  height: 3px; margin-top: -1.5px;
  border-radius: 3px;
}
.cin-bar::before { right: 0; background: rgba(var(--fg-rgb), 0.2); }
.cin-bar i { width: 0; background: var(--screen); }
.cin-time {
  font: 400 0.75rem/1 var(--f-mono);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ash);
  white-space: nowrap;
  padding: 0 6px;
}
.cinema-note {
  position: absolute; top: max(18px, env(safe-area-inset-top)); left: 0; right: 0;
  text-align: center;
  font: 400 0.625rem/1.4 var(--f-mono);
  letter-spacing: 0.06em;
  color: rgba(var(--fg-rgb), 0.4);
  padding: 0 var(--g);
  transition: opacity 0.35s ease;
}
.cinema.ui-hidden .cinema-note { opacity: 0; }

/* ═════════════ Top bar ═════════════ */

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--g);
  transition: background-color 0.4s ease, -webkit-backdrop-filter 0.4s ease, backdrop-filter 0.4s ease;
}
.topbar::after {
  /* scroll-edge: a soft fade where content slides under the bar, not a hard rule */
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 24px;
  background: linear-gradient(rgba(var(--bg-rgb), 0.5), transparent);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.topbar.is-scrolled {
  background: rgba(var(--bg-rgb), 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.topbar.is-scrolled::after { opacity: 1; }

.brand img { height: 46px; width: auto; }

.nav {
  display: flex; gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--ash);
  border-radius: 999px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--screen); }
.nav a[aria-current="true"] { color: var(--screen); }
.nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: var(--tungsten);
}

.menu-btn { display: none; }

/* ═════════════ Home ═════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--bar-h);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50% 42% at 50% 40%, rgba(210, 64, 47, 0.06), transparent 72%),
    radial-gradient(90% 50% at 50% 115%, rgba(181, 116, 76, 0.06), transparent 70%),
    var(--night);
}
.hero::after {
  content: none; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0;
  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");
}

.hero-inner {
  align-self: center;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(18px, 3vh, 30px);
  padding: clamp(24px, 5vh, 56px) var(--g);
  text-align: center;
}

/* One thing on screen at a time: the line plays, dissolves, and the lockup takes its place */
.hero-stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(180px, 30vh, 300px);
}
.hero-stage > * { grid-area: 1 / 1; }

.say {
  max-width: min(100%, 1180px);
  font: 500 clamp(1rem, 2vw, 2.1rem)/1.35 var(--f-cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--screen);
  transition: opacity 0.8s ease, filter 0.9s ease, letter-spacing 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.say em { font-style: normal; color: var(--accent); }
.say .w {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.35em);
  transition: opacity 0.7s ease, filter 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i) * 75ms);
}
.hero-stage.is-say .say .w { opacity: 1; filter: blur(0); transform: none; }
.hero-stage.is-lock .say { opacity: 0; filter: blur(8px); letter-spacing: 0.2em; }
.hero-stage.no-anim .say,
.hero-stage.no-anim .say .w { transition: none !important; }

.lockup {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.6vw, 44px);
  white-space: nowrap;
  pointer-events: none;
}
.lockup > .lk {
  display: block;
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.06);
  transition: opacity 0.9s ease, filter 1.1s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lockup > .lk:nth-child(2) { transition-delay: 0.14s; }
.lockup > .lk:nth-child(3) { transition-delay: 0.28s; }
.hero-stage.is-lock .lockup > .lk { opacity: 1; filter: blur(0); transform: none; }

.lk-ais {
  display: block;
  height: clamp(84px, 12vw, 180px); width: auto;
  filter: none;
}
.lk-x {
  display: block;
  font: 400 clamp(36px, 5.4vw, 88px)/1 var(--f-display);
  color: #8f2219;
  transform: skewX(-12deg);
}
/* VEEVEE.AI as on the original: brushed, skewed Anton in a red gradient */
.lk-vv {
  display: block;
  font: 400 clamp(56px, 10vw, 164px)/0.9 var(--f-display);
  letter-spacing: 0.01em;
  padding: 0 0.08em;
  color: #a3271d;
  background: linear-gradient(175deg, #c33a2b 10%, #8a1d15 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: skewX(-14deg);
  filter: url(#rough);
}

.hero-credits {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 0;
  font: 500 0.75rem/1.4 var(--f-cond);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), 0.62);
}
.hero-credits li { display: flex; align-items: center; }
.hero-credits li + li::before {
  content: "";
  width: 4px; height: 4px; margin: 0 16px;
  border-radius: 50%;
  background: #d94738;
  box-shadow: 0 0 10px rgba(217, 71, 56, 0.8);
}

/* Trusted by — a slow, edge-faded marquee */
.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 22px var(--g) max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}
.logos li { padding-right: clamp(36px, 4vw, 64px); }
.logos img {
  width: auto; height: 50px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.5;
  filter: invert(1); /* white artwork → clean black marks on the white page */
  transition: opacity 0.3s;
}
.logos li:hover img { opacity: 0.9; }
.marquee:hover .logos { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════════ Slate (In-house IP) ═════════════ */

.slate {
  position: relative;
  height: calc(var(--n) * 72vh + 100vh);
  height: calc(var(--n) * 72svh + 100svh);
}
.slate-pin {
  --tint: #b5744c;
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr) minmax(260px, 1fr);
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--bar-h) + 28px) var(--g) clamp(28px, 5vh, 48px);
  background:
    radial-gradient(58% 64% at 50% 58%, color-mix(in oklab, var(--tint) 30%, transparent), transparent 72%),
    radial-gradient(120% 80% at 50% 120%, color-mix(in oklab, var(--tint) 12%, transparent), transparent 70%),
    var(--night);
  transition: --tint 1.1s ease;
}
.slate-pin::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.35) 16%, transparent 30%),
              linear-gradient(to bottom, rgba(var(--bg-rgb), 0.7) 0%, transparent 22%);
  pointer-events: none;
}

.slate-stage { position: absolute; inset: 0; }
.art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.art.is-on { opacity: 1; transform: none; }
.art-word {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-66%);
  font: 400 min(calc(120vw / var(--len)), 30svh)/0.9 var(--f-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-optical-sizing: auto;
  text-align: center;
  color: color-mix(in oklab, var(--tint) 78%, #1d1d1f);
  opacity: 0.82;
  white-space: nowrap;
}
.art-word small {
  display: block;
  font: 500 0.22em/1.2 var(--f-cond);
  letter-spacing: 0.3em;
  margin-bottom: 0.15em;
}
.art img {
  position: relative;
  height: min(64svh, 52vw);
  width: auto;
  max-width: 64vw;
  object-fit: contain;
  margin-top: 14svh;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.22));
}

.slate-head, .slate-list, .slate-details, .slate-count { position: relative; z-index: 2; }

.slate-head { grid-column: 1 / 3; grid-row: 1; display: grid; gap: 12px; align-content: start; }
.slate-title { font-size: clamp(1.6rem, 2.6vw, 2.5rem); max-width: 16ch; }

.slate-count {
  grid-column: 3; grid-row: 1;
  justify-self: end;
  font: 400 0.75rem/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}
.slate-count span { color: var(--screen); }

.slate-list {
  grid-column: 1; grid-row: 3;
  align-self: end;
  display: grid; gap: 2px;
}
.slate-list button {
  display: flex; align-items: baseline; gap: 12px;
  padding: 5px 0;
  color: var(--dim);
  text-align: left;
  transition: color 0.35s ease;
}
.slate-list button::before {
  content: "";
  align-self: center;
  width: 10px; height: 1px;
  background: currentColor;
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.slate-list button:hover { color: var(--ash); }
.slate-list button[aria-current="true"] { color: var(--screen); }
.slate-list button[aria-current="true"]::before { width: 28px; }
.sl-name { font-size: 0.9375rem; }
.sl-fmt {
  font: 400 0.6875rem/1 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}

.slate-details {
  grid-column: 3; grid-row: 3;
  align-self: end;
  display: grid;
  max-width: 400px;
  justify-self: end;
}
.detail {
  grid-area: 1 / 1;
  align-self: end;
  display: grid; gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.6s;
}
.detail.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.6s ease 0.1s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s;
}
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font: 400 0.6875rem/1.4 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash);
}
.detail-meta span + span::before { content: "·"; margin-right: 14px; color: var(--dim); }
.detail-text { font-size: 1rem; line-height: 1.6; color: rgba(var(--fg-rgb), 0.9); }
.detail-quote { font: italic 400 1.125rem/1.5 var(--f-body); }
.detail .text-link { justify-self: start; font-size: 0.875rem; }

/* ═════════════ Generic section ═════════════ */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 16vh, 168px) var(--g) 0;
}

/* ═════════════ Music ═════════════ */

.music-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.cover {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--velvet);
  box-shadow: var(--shadow);
}
.cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cover img.is-swapping { opacity: 0; transform: scale(0.985); }

.track {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.track:last-child { border-bottom: 1px solid var(--line); }
.track-play {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
}
.track-play svg { width: 15px; height: 15px; fill: currentColor; }
.track-play .i-play { margin-left: 2px; }
.track-play .i-pause { display: none; }
.track.is-playing .track-play .i-play { display: none; }
.track.is-playing .track-play .i-pause { display: block; }
.track-play:hover,
.track.is-playing .track-play { background: var(--screen); color: var(--night); border-color: var(--screen); }

.track-info { display: grid; gap: 2px; min-width: 0; }
.track-title {
  font: 500 clamp(1.125rem, 1.6vw, 1.4rem)/1.15 var(--f-cond);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}
.track-by { font-size: 0.8125rem; color: var(--ash); }
.track-time {
  font: 400 0.75rem/1 var(--f-mono);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.track-sp {
  font: 400 0.75rem/1 var(--f-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ash);
  padding: 10px 0 10px 8px;
  transition: color 0.2s;
}
.track-sp:hover { color: var(--screen); }
.track-progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--tungsten);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ═════════════ Showreel ═════════════ */

.reel-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 564;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.reel-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s;
}
.reel-frame:hover img { transform: scale(1.025); opacity: 0.9; }
.reel-play, .copro-play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: clamp(64px, 8vw, 92px); aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.reel-play svg, .copro-play svg { width: 30%; fill: #fff; margin-left: 6%; }
/* Solid on Shiv Sati: it sits exactly over the play button printed into the teaser still */
.copro-play {
  display: flex; align-items: center; gap: 10px;
  width: auto; aspect-ratio: auto;
  height: clamp(54px, 5vw, 68px);
  padding: 0 26px 0 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  color: #1d1d1f;
  font: 500 0.9375rem/1 var(--f-body);
  white-space: nowrap;
}
.copro-play svg { width: 16px; margin: 0; fill: #1d1d1f; }
.copro-panel:hover .copro-play { background: #fff; }
.reel-frame { border-radius: 22px; }
.reel-frame:hover .reel-play,
.copro-panel:hover .copro-play { transform: translate(-50%, -50%) scale(1.06); }
.reel-play { --lg-spot: 70px; }
.reel-frame:active .reel-play { transform: translate(-50%, -50%) scale(0.96); }
.reel-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 0;
  padding: 16px 20px;
  font: 400 0.6875rem/1 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}
.reel-meta span + span::before { content: "·"; margin: 0 12px; color: rgba(255, 255, 255, 0.6); }

/* ═════════════ Team ═════════════ */

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px clamp(20px, 2.4vw, 36px);
}
.person { display: grid; align-content: start; gap: 6px; }
.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 14px;
  background: var(--velvet);
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.02);
  transform: scale(1.04); /* trims a dark edge baked into two of the photos */
  transition: filter 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.person:hover .portrait img,
.person.is-near .portrait img { filter: grayscale(0); transform: scale(1.07); }
.person-name {
  font: 500 1.375rem/1.15 var(--f-cond);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}
.person-role {
  font: 400 0.6875rem/1.4 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash);
}
.person-bio { margin-top: 10px; font-size: 0.875rem; line-height: 1.65; color: var(--ash); }
.person-bio i { color: var(--screen); }

/* ═════════════ Co-production ═════════════ */

.copro {
  position: relative;
  max-width: var(--max);
  margin: clamp(96px, 16vh, 168px) auto 0;
  padding: 0 var(--g);
  isolation: isolate;
}
.copro-panel {
  position: relative;
  display: block;
  aspect-ratio: 2.35;
  min-height: 460px;
  max-height: 80vh;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
}
.copro-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: 0.92;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s;
}
.copro-panel:hover img { transform: scale(1.09); opacity: 1; }
/* A soft pool of shadow behind the button hides the play icon printed into the teaser still */
.copro-panel::before {
  content: ""; position: absolute; z-index: 1;
  left: 50%; top: 50%;
  width: clamp(300px, 30vw, 440px); height: clamp(190px, 19vw, 280px);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(13, 10, 9, 0.9) 40%, rgba(13, 10, 9, 0.55) 66%, transparent);
  pointer-events: none;
}
.copro-play { z-index: 2; }
.copro-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 40%);
  pointer-events: none;
}
.copro-copy {
  position: relative;
  padding-top: clamp(24px, 4vh, 40px);
  display: grid; gap: 12px;
}
.copro-copy a { pointer-events: auto; }
.copro-head {
  font: 500 clamp(1rem, 1.4vw, 1.25rem)/1.3 var(--f-cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.copro-title {
  font: 400 clamp(3rem, 8.5vw, 8rem)/0.92 var(--f-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}
.copro-credits { margin-top: 10px; }
.copro-credits .text-link { font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ═════════════ Press: coverflow ═════════════ */

.press { overflow-x: clip; }

/* Without the script: a plain snapping row */
.flow-stage {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.pc {
  flex: 0 0 min(560px, 82vw);
  scroll-snap-align: center;
}
.flow-ui { display: none; }

/* With the script: a 3D coverflow driven by a spring */
.flow.is-3d .flow-stage {
  display: block;
  position: relative;
  height: calc(min(560px, 80vw) * 0.6875 + 24px);
  overflow: visible;
  perspective: 1700px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.flow.is-3d .flow-stage.is-dragging { cursor: grabbing; }
.flow.is-3d .pc {
  position: absolute; left: 50%; top: 50%;
  width: min(560px, 80vw);
  will-change: transform, opacity;
}
.flow.is-3d .flow-ui {
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.pc {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  overflow: hidden;
  color: var(--screen);
  background: var(--velvet);
  box-shadow:
    0 0 0 1px rgba(var(--fg-rgb), 0.1),
    0 40px 70px -30px rgba(0, 0, 0, 0.25),
    0 14px 28px -14px rgba(0, 0, 0, 0.6);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-user-drag: none;
  transition: box-shadow 0.35s ease;
}
.pc-media {
  position: relative;
  display: grid; place-items: center;
  min-height: 0;
  overflow: hidden;
  background: var(--img) center / cover no-repeat;
}
/* Photo cards keep their image, softened, as a backdrop for the logo */
.pc.has-img .pc-media { background: none; }
.pc.has-img .pc-media::before {
  content: ""; position: absolute; inset: -12px;
  background: var(--img) center / cover no-repeat;
  filter: blur(6px) saturate(0.6); opacity: 0.35;
}
.pc-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(transparent, var(--velvet));
}
/* Each outlet's own logo, in its real colours, on a clean plate */
.pc-logo {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  max-width: 68%;
  padding: clamp(12px, 1.6vw, 18px) clamp(16px, 2.2vw, 26px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.pc-logo img {
  display: block;
  width: auto; height: auto;
  max-width: 100%;
  max-height: clamp(30px, 4.4vw, 54px);
  mix-blend-mode: multiply; /* drops the white backgrounds some logo files carry */
}
.pc-logo.is-manifest img { filter: grayscale(1) contrast(1.8) brightness(1.15); }
.pc-logo.is-white img { filter: brightness(0); mix-blend-mode: normal; }

.pc::before {
  /* side cards recede into the dark — veil sits above the text too */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--night);
  opacity: var(--dim, 0);
}
.pc::after {
  /* a sheen that sweeps as the card turns */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 46%, transparent 60%) no-repeat;
  background-size: 260% 100%;
  background-position: var(--g, 50%) 0;
}
.pc > * { position: relative; z-index: 2; opacity: var(--txt, 1); }
.pc.is-on:hover {
  box-shadow:
    0 0 0 1px rgba(var(--fg-rgb), 0.35),
    0 40px 70px -30px rgba(0, 0, 0, 0.25),
    0 14px 28px -14px rgba(0, 0, 0, 0.6);
}

.pc-h {
  padding: 0 clamp(20px, 2.4vw, 30px);
  font: 500 clamp(1.125rem, 1.7vw, 1.5rem)/1.18 var(--f-cond);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.pc-go {
  padding: 10px clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 26px);
  font-size: 0.875rem; font-weight: 500;
  color: rgba(var(--fg-rgb), 0.7);
  transition: color 0.2s;
}
.pc.is-on:hover .pc-go { color: var(--screen); }

.flow-dots { display: flex; align-items: center; gap: 8px; position: relative; height: 44px; padding: 0 16px; border-radius: 999px; }
.flow-dots button {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.28);
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s;
}
.flow-dots button:hover { background: rgba(var(--fg-rgb), 0.5); }
.flow-dots button[aria-current="true"] { width: 24px; background: var(--screen); }
.flow-dots button::before { content: ""; display: block; margin: -10px -3px; height: 27px; } /* bigger hit area */

/* ═════════════ Footer ═════════════ */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 20vh, 200px) var(--g) max(28px, env(safe-area-inset-bottom));
}
.footer-top {
  display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 7vh, 64px);
  border-bottom: 1px solid var(--line);
}
.footer-logo { width: clamp(88px, 10vw, 128px); height: auto; }
.footer-line {
  font: 400 clamp(1.75rem, 3.4vw, 3rem)/1.05 var(--f-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-optical-sizing: auto;
  max-width: 20ch;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px;
  padding-top: 24px;
}
.socials { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 0.875rem; }
.socials a { color: var(--ash); padding: 6px 0; transition: color 0.2s; }
.socials a:hover { color: var(--screen); }
.copyright { font: 400 0.75rem/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--dim); }

/* ═════════════ Scroll reveal ═════════════ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ═════════════ Responsive ═════════════ */

@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 0.8125rem; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --bar-h: 60px; }
  .brand img { height: 32px; }
  .topbar { gap: 12px; }
  .topbar .pill { margin-left: auto; }
  .menu-btn {
    display: grid; place-items: center; align-content: center; gap: 6px;
    width: 40px; height: 40px;
    margin-right: -8px;
  }
  .menu-btn span {
    display: block; width: 20px; height: 1.5px;
    background: var(--screen);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav {
    position: fixed; left: 10px; right: 10px; top: calc(var(--bar-h) + 4px);
    flex-direction: column; gap: 0;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(var(--glass-rgb), 0.82);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(var(--fg-rgb), 0.09);
    transform-origin: calc(100% - 28px) -10px;
    opacity: 0; transform: scale(0.96) translateY(-6px);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
  }
  .nav.is-open {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s;
  }
  .nav a { padding: 13px 12px; font-size: 1.0625rem; color: var(--screen); }
  .nav a[aria-current="true"]::after { left: auto; right: 14px; top: 50%; bottom: auto; margin-top: -2px; }


  .slate-pin {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto auto;
  }
  .slate-head { grid-column: 1; }
  .slate-count { grid-column: 2; }
  /* On phones the title list becomes a six-segment progress bar you can tap, like Stories */
  .slate-list {
    display: flex; gap: 6px;
    grid-column: 1 / -1; grid-row: 3;
    margin-bottom: 16px;
  }
  .slate-list li { flex: 1; }
  .slate-list button { width: 100%; height: 24px; padding: 0; justify-content: stretch; }
  .slate-list button::before {
    width: 100% !important; height: 3px;
    border-radius: 3px;
    background: rgba(var(--fg-rgb), 0.14);
    transition: background-color 0.4s ease;
  }
  .slate-list button[aria-current="true"]::before { background: var(--screen); }
  .slate-list .sl-name, .slate-list .sl-fmt {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .slate-details { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; max-width: none; }
  .art-word { top: 36%; font-size: min(calc(150vw / var(--len)), 26svh); }
  .art img { height: min(50svh, 92vw); max-width: 94vw; margin-top: 0; margin-bottom: 8svh; }
  .detail-text { font-size: 0.9375rem; }

  .music-body { grid-template-columns: 1fr; }
  .cover { max-width: 320px; }

  .copro-panel { aspect-ratio: 16 / 10; min-height: 0; }
  .copro-panel img { transform: scale(1.3); }
  .copro-panel:hover img { transform: scale(1.32); }


  .footer-top { flex-direction: column; align-items: flex-start; }
  .trust { grid-template-columns: 1fr; gap: 14px; }
  .flow-dots { display: none; }
}

@media (max-width: 560px) {
  .topbar .pill { display: none; }
  .menu-btn { margin-left: auto; }
  .people { grid-template-columns: 1fr; gap: 56px; }
  .portrait { aspect-ratio: 1; }
  .track { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; }
  .track-time { display: none; }
  .credit-row { flex-direction: column; gap: 8px; }
  .credit-row li + li::before { display: none; }
  .hero-credits { flex-direction: column; align-items: center; gap: 8px; }
  .lockup { flex-direction: column; gap: 4px; }
  .lk-ais { height: 92px; }
  .lk-x { font-size: 30px; }
  .lk-vv { font-size: clamp(52px, 16vw, 68px); }
  .hero-stage { min-height: 300px; }
  .hero-credits li + li::before { display: none; }
  .logos img { height: 42px; }
  .credit-row li + li::before { margin: 0 10px; }
  .cin-time { display: none; }
  .cin-btn { padding: 0 11px; }
  .cinema-ui { left: 12px; right: 12px; transform: none; }
  .cinema.ui-hidden .cinema-ui { transform: translateY(10px); }
  .cin-bar { flex: 1 1 auto; width: auto; min-width: 48px; }
  .ticket-meta div:last-child { display: none; }
  .cap-line { font-size: 0.875rem; }
  .intro-nav { display: none; }
  .intro-caption { max-width: none; right: var(--g); }
  .intro-skip { height: 34px; padding: 0 13px; }
}

/* ═════════════ In-house IP on phones: a native swipe carousel ═════════════ */

.slate-m { display: none; }

@media (max-width: 900px) {
  .slate { height: auto; }
  .slate-pin { display: none; }
  .slate-m { display: block; padding-top: clamp(80px, 12vh, 120px); }
  .sm-head { display: grid; gap: 12px; padding: 0 var(--g); margin-bottom: 28px; }

  /* The phone's own scrolling does the physics: momentum, then a clean snap to each card */
  .sm-track {
    display: flex; align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 6px 8vw 28px;
    scroll-padding: 0 8vw;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sm-track::-webkit-scrollbar { display: none; }

  .sm-card {
    flex: 0 0 84vw;
    max-width: 440px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex; flex-direction: column;
    border-radius: 26px;
    overflow: hidden;
    background:
      radial-gradient(90% 60% at 50% 30%, color-mix(in oklab, var(--tint) 30%, #fff), transparent 75%),
      var(--velvet);
    box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: scale(var(--s, 1));
    opacity: var(--o, 1);
    will-change: transform, opacity;
  }

  .sm-media {
    position: relative;
    aspect-ratio: 1 / 1.02;
    display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden;
  }
  .sm-word {
    position: absolute; left: 0; right: 0; top: 17%;
    font: 400 min(calc(min(84vw, 440px) * 1.3 / var(--len)), 104px)/0.92 var(--f-display);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-align: center;
    color: color-mix(in oklab, var(--tint) 78%, #1d1d1f);
    opacity: 0.9;
  }
  .sm-word small {
    display: block;
    font: 500 0.22em/1.2 var(--f-cond);
    letter-spacing: 0.3em;
    margin-bottom: 0.15em;
  }
  .sm-media img {
    position: relative;
    height: 86%; width: auto;
    max-width: 94%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.2));
    pointer-events: none;
  }

  .sm-body {
    flex: 1;
    display: grid; align-content: start; gap: 12px;
    padding: 18px 20px 24px;
  }
  .sm-body .detail-text { font-size: 0.9375rem; line-height: 1.6; }
  .sm-body .detail-quote { font-size: 1.0625rem; }
  .sm-body .text-link { display: inline; justify-self: start; font-size: 0.875rem; line-height: 1.6; }

  .sm-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
  .sm-ui .flow-dots { display: flex; }
}

/* ═════════════ Preferences ═════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .art, .detail, .detail.is-on, .cover img, 
  .js [data-reveal] { transform: none; transition: opacity 0.4s ease; }
  .logos { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .say, .say .w, .lockup > .lk { transform: none !important; filter: none !important; letter-spacing: 0.12em !important; }
  .logos li[aria-hidden="true"] { display: none; }
  .reel-frame:hover img, .copro-panel:hover img, .person:hover .portrait img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .glass, .topbar.is-scrolled, .nav, .reel-play, .copro-play {
    background: var(--velvet) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

@media (prefers-contrast: more) {
  :root { --ash: #3a3a3c; --dim: #56565a; --line: rgba(var(--fg-rgb), 0.4); }
  .glass { background: var(--night); box-shadow: 0 0 0 1px var(--screen); }
}
.intro:focus { outline: none; }

/* Focus is moved here programmatically after the intro; no ring needed on the whole page */
#main:focus { outline: none; }
