/* ==========================================================================
   Who Lies — "The Final Cut"
   One stylesheet for the whole yearbook. No framework.
   Palette is the original one only: navy #1A1A40 (+ its own shades), white,
   grey #535353 and black. Glows are white at low opacity over navy.
   ========================================================================== */

/* ---------- Fonts ---------------------------------------------------------- */
/* Dillsburg City Demo (NoahType, personal licence) is served unmodified. Its demo
   build replaces every digit and punctuation mark with a watermark glyph, so it is
   limited to letters + space; everything else falls back to Poppins automatically. */
@font-face {
  font-family: "Dillsburg";
  src: url("../font/DillsburgCityDemoRegular.ttf") format("truetype");
  font-display: swap;
  unicode-range: U+0020, U+0041-005A, U+0061-007A;
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("../font/poppins/poppins-latin-400-normal.woff2") format("woff2");
  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: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("../font/poppins/poppins-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("../font/poppins/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-display: swap;
  src: url("../font/poppins/poppins-latin-800-normal.woff2") format("woff2");
}

/* ---------- Tokens --------------------------------------------------------- */
:root {
  /* Color Palette: Who Lies Custom Palette */
  --dark-espresso: #32170D;       /* Outline dan teks utama */
  --dark-espresso-deep: #1e0e07;  /* Deep dark espresso background */
  --dark-espresso-soft: #4a2415;  /* Soft espresso tint */
  --warm-cream: #FCE8CD;          /* Background tiket */
  --vintage-taupe: #B58E7B;       /* Jas dan elemen cokelat */
  --brick-red: #954643;           /* Aksen merah dan stempel */
  --pale-beige: #EDDECC;          /* Highlight dan detail */
  --dusty-blue: #A9C9E6;          /* Kaca pembesar */

  --ink: var(--dark-espresso);
  --ink-deep: var(--dark-espresso-deep);
  --ink-soft: var(--dark-espresso-soft);
  --paper: var(--warm-cream);
  --paper-72: rgba(252, 232, 205, 0.78); /* secondary text on dark espresso */
  --paper-50: rgba(252, 232, 205, 0.52);
  --paper-dim: rgba(252, 232, 205, 0.16);
  --muted: var(--dark-espresso); /* body text on white/cream: dark espresso */
  --black: #140804;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Dillsburg", "Poppins", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.2rem + 1.2vw, 2.2rem);
  --step-3: clamp(2rem, 1.4rem + 3vw, 3.8rem);
  --step-4: clamp(2.5rem, 1.5rem + 5vw, 6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 14px;
  --nav-h: 52px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-print: 0 1px 1px rgba(20, 8, 4, 0.25), 0 18px 40px -12px rgba(20, 8, 4, 0.7);
  --hard: 5px 5px 0 var(--black);

  color-scheme: dark;
  scrollbar-color: var(--vintage-taupe) var(--ink-deep);
}

/* ---------- Base ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin: 0;
}
img,
picture,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--paper);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}
.paper :focus-visible,
.scene--paper :focus-visible {
  outline-color: var(--ink);
}
[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Type helpers --------------------------------------------------- */
.display {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
/* 3D extrusion that echoes the block letters of the logo */
.extrude {
  text-shadow:
    1px 1px 0 var(--ink-deep),
    2px 2px 0 var(--ink-deep),
    3px 3px 0 var(--ink-deep),
    4px 4px 0 var(--ink-deep),
    5px 5px 0 var(--black),
    6px 6px 0 var(--black),
    8px 8px 18px rgba(0, 0, 0, 0.35);
}
/* On white: white letters, navy outline, black extrusion — the logo's own lettering */
.logo-type {
  color: var(--paper);
  -webkit-text-stroke: 0.05em var(--ink);
  paint-order: stroke fill;
  text-shadow:
    0.04em 0.04em 0 var(--ink),
    0.07em 0.07em 0 var(--black);
}
/* Dillsburg draws its capitals 1.29em above the baseline but reports only 0.94em, so its ink
   pokes (1.37 − line-height ÷ 2)em above its own box. Script set under other text needs at
   least that much padding-top (plus ~0.1em of air), or it runs into the line above. */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.kicker {
  font: 600 var(--step--1) / 1.3 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-72);
}
.scene--paper .kicker,
.paper .kicker {
  color: var(--muted);
}
.rec-dot {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--brick-red);
  vertical-align: 0.02em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.15;
  }
}

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background-color 0.2s;
}
.btn--paper {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--black);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--black);
}
.btn--paper:hover,
.btn--ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}
.btn--paper:active,
.btn--ink:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper-50);
}
.btn--ghost:hover {
  background: var(--paper-dim);
}
.scene--paper .btn--ghost,
.paper .btn--ghost,
.sheet .btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.scene--paper .btn--ghost:hover,
.paper .btn--ghost:hover,
.sheet .btn--ghost:hover {
  background: rgba(50, 23, 13, 0.08);
}
.btn-sm {
  min-height: 40px;
  padding: 0.5em 1em;
  font-size: 0.9rem;
}

/* ---------- Film grain (whole page) ---------------------------------------- */
.grain {
  position: fixed;
  inset: -64px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  17% {
    transform: translate(-18px, 12px);
  }
  33% {
    transform: translate(14px, -20px);
  }
  50% {
    transform: translate(-10px, -8px);
  }
  67% {
    transform: translate(22px, 16px);
  }
  83% {
    transform: translate(-24px, 4px);
  }
}

/* ---------- Navigation (GetArtCraft HUD Grid Style) ----------------------- */
:root {
  --nav-line: rgba(181, 142, 123, 0.22);
  --nav-line-bright: rgba(181, 142, 123, 0.45);
  --nav-bg: rgba(26, 12, 6, 0.94);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

@supports (backdrop-filter: blur(12px)) {
  .site-nav {
    background: rgba(26, 12, 6, 0.88);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
  }
}

.site-nav.is-scrolled {
  background: rgba(20, 9, 4, 0.97);
  border-bottom-color: var(--nav-line-bright);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.menu-open .site-nav {
  height: 100dvh;
  background: rgba(20, 9, 4, 0.98);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent;
}

/* Grid Bar Container — edge to edge technical strip */
.site-nav__grid,
.site-nav__bar {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 101;
}

/* Base Nav Cell */
.nav-cell {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--nav-line);
  color: var(--paper);
  text-decoration: none;
  position: relative;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* 1. Brand Cell */
.nav-cell--brand {
  padding: 0 20px;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  background: transparent;
}
.nav-cell--brand:hover {
  background: rgba(252, 232, 205, 0.06);
}
.nav-brand__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s var(--ease-out);
}
.nav-cell--brand:hover .nav-brand__logo {
  transform: scale(1.04);
}
.nav-brand__meta {
  font: 600 0.62rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--vintage-taupe);
  border: 1px solid rgba(181, 142, 123, 0.35);
  padding: 4px 7px;
  border-radius: 2px;
  background: rgba(181, 142, 123, 0.1);
  text-transform: uppercase;
}

/* 2. Nav Links Cell (Desktop) */
.nav-cell--links {
  display: none;
  align-items: stretch;
  padding: 0;
}
@media (min-width: 52rem) {
  .nav-cell--links {
    display: flex;
  }
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 100%;
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-72);
  text-decoration: none;
  border-right: 1px solid var(--nav-line);
  position: relative;
  transition: all 0.15s ease;
}
.nav-link__num {
  font-size: 0.6rem;
  color: var(--vintage-taupe);
  transition: color 0.15s ease;
}
.nav-link__tag {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(181, 142, 123, 0.25);
  color: var(--paper);
  transition: all 0.15s ease;
}

/* GetArtCraft Invert Hover Style */
.nav-link:hover {
  background: var(--warm-cream);
  color: var(--dark-espresso);
}
.nav-link:hover .nav-link__num {
  color: var(--dark-espresso);
  opacity: 0.75;
}
.nav-link:hover .nav-link__tag {
  background: var(--dark-espresso);
  color: var(--warm-cream);
}

/* Active Nav State */
.nav-link[aria-current="page"] {
  background: rgba(252, 232, 205, 0.1);
  color: var(--warm-cream);
  box-shadow: inset 0 -2px 0 var(--warm-cream);
  font-weight: 700;
}
.nav-link[aria-current="page"] .nav-link__num {
  color: var(--pale-beige);
}

/* 3. Spacer & HUD Scroll Meter (GetArtCraft tracker) */
.nav-cell--spacer {
  flex: 1;
}

.nav-cell--hud-scroll {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--vintage-taupe);
  pointer-events: none;
}
.hud-scroll__code {
  opacity: 0.55;
  font-size: 0.62rem;
  display: none;
}
@media (min-width: 40rem) {
  .hud-scroll__code {
    display: inline;
  }
}
.hud-scroll__val {
  color: var(--warm-cream);
  font-weight: 700;
  min-width: 3.4ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  background: rgba(252, 232, 205, 0.08);
  border: 1px solid rgba(181, 142, 123, 0.28);
  padding: 3px 6px;
  border-radius: 2px;
}

/* Hairline scroll progress bar across bottom of navbar */
.nav-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brick-red), var(--warm-cream));
  z-index: 105;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 4. Motion Toggle Cell */
.nav-cell--motion {
  display: none;
  align-items: stretch;
  padding: 0;
  border-right: 1px solid var(--nav-line);
}
@media (min-width: 48rem) {
  .nav-cell--motion {
    display: flex;
  }
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper-72);
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.motion-toggle:hover {
  background: var(--warm-cream);
  color: var(--dark-espresso);
}
.motion-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 6px rgba(110, 231, 183, 0.85);
  transition: all 0.2s ease;
}
.motion-toggle[aria-pressed="false"] .motion-toggle__dot {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--paper-50);
}
.motion-toggle:hover .motion-toggle__dot {
  background: var(--dark-espresso);
  box-shadow: none;
}
.motion-toggle__state {
  color: var(--warm-cream);
}
.motion-toggle:hover .motion-toggle__state {
  color: var(--dark-espresso);
}

/* 5. CTA Cell (Jelajah) */
.nav-cell--cta {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  height: 100%;
  background: var(--brick-red);
  color: var(--warm-cream);
  font: 700 0.7rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-right: 1px solid var(--nav-line);
  transition: all 0.15s ease;
}
@media (min-width: 48rem) {
  .nav-cell--cta {
    display: flex;
  }
}
.nav-cell--cta:hover {
  background: var(--warm-cream);
  color: var(--dark-espresso);
}
.nav-cta__arrow {
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}
.nav-cell--cta:hover .nav-cta__arrow {
  transform: translate(2px, -2px);
}

/* 6. Mobile Menu Button Cell */
.nav-cell--menu {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  border-left: 1px solid var(--nav-line);
  border-right: 0;
}
@media (min-width: 48rem) {
  .nav-cell--menu {
    display: none;
  }
}
.menu-button {
  display: grid;
  place-items: center;
  width: var(--nav-h);
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.menu-button:hover,
.menu-button[aria-expanded="true"] {
  background: var(--warm-cream);
  color: var(--dark-espresso);
}
.menu-button__bars,
.menu-button__bars::before,
.menu-button__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-button__bars {
  position: relative;
}
.menu-button__bars::before,
.menu-button__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-button__bars::before {
  top: -5px;
}
.menu-button__bars::after {
  top: 5px;
}
.menu-button[aria-expanded="true"] .menu-button__bars {
  background: transparent;
}
.menu-button[aria-expanded="true"] .menu-button__bars::before {
  transform: translateY(5px) rotate(45deg);
}
.menu-button[aria-expanded="true"] .menu-button__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.menu-open {
  overflow: hidden;
}
.menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) 24px calc(24px + env(safe-area-inset-bottom));
  background: rgba(22, 10, 5, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: menu-in 0.25s var(--ease-out);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.menu__hud-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nav-line);
  font: 600 0.65rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  color: var(--vintage-taupe);
  text-transform: uppercase;
}
.menu nav {
  display: grid;
  gap: 10px;
  margin: auto 0;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: rgba(252, 232, 205, 0.03);
  border: 1px solid var(--nav-line);
  color: var(--paper);
  font: 700 1.25rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.menu a:hover,
.menu a[aria-current="page"] {
  background: var(--warm-cream);
  color: var(--dark-espresso);
  border-color: var(--warm-cream);
}
.menu__no {
  font: 600 0.75rem/1 var(--font-mono);
  color: var(--vintage-taupe);
  letter-spacing: 0.14em;
  -webkit-text-stroke: 0;
}
.menu a:hover .menu__no,
.menu a[aria-current="page"] .menu__no {
  color: var(--dark-espresso);
}
.menu__badge {
  font: 600 0.65rem/1 var(--font-mono);
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(181, 142, 123, 0.2);
  color: var(--paper);
  margin-left: auto;
}
.menu a:hover .menu__badge,
.menu a[aria-current="page"] .menu__badge {
  background: var(--dark-espresso);
  color: var(--warm-cream);
}
.menu__arrow {
  margin-left: auto;
  font-size: 1.1rem;
  opacity: 0.6;
}
.menu a:hover .menu__arrow,
.menu a[aria-current="page"] .menu__arrow {
  opacity: 1;
}
.menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--nav-line);
  font: 500 0.68rem/1.4 var(--font-mono);
  color: var(--vintage-taupe);
  letter-spacing: 0.1em;
}
.menu__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dusty-blue);
  box-shadow: 0 0 6px var(--dusty-blue);
}

/* ---------- Footer --------------------------------------------------------- */
.sprockets {
  height: 30px;
  background-color: var(--ink-deep);
  background-image: linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.16) 9px 25px, transparent 25px 34px);
  background-size: 34px 12px;
  background-repeat: repeat-x;
  background-position: 0 50%;
}
.site-footer {
  background: var(--ink-deep);
  color: var(--paper-72);
  font-size: 0.88rem;
  padding-bottom: env(safe-area-inset-bottom);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 28px;
}

/* ---------- Reveal on scroll ----------------------------------------------- */
.reveal-ready .reveal {
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- Polaroid + tape ------------------------------------------------ */
.polaroid {
  --tilt: 2deg;
  position: relative;
  padding: clamp(10px, 1.4vw, 16px) clamp(10px, 1.4vw, 16px) 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-print);
  transform: rotate(var(--tilt));
}
.polaroid figcaption {
  display: block;
  padding: 0.5em 0.4em 0.65em;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.25rem, 0.9rem + 1.3vw, 1.9rem);
  line-height: 1.5;
}
.tape {
  position: absolute;
  z-index: 2;
  width: clamp(72px, 9vw, 116px);
  height: clamp(22px, 2.4vw, 30px);
  background: rgba(237, 222, 204, 0.65);
  border: 1px solid rgba(50, 23, 13, 0.16);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.tape--tl {
  top: -12px;
  left: -18px;
  transform: rotate(-38deg);
}
.tape--br {
  bottom: -10px;
  right: -16px;
  transform: rotate(-34deg);
}
.tape--tr {
  top: -12px;
  right: -18px;
  transform: rotate(36deg);
}

/* ==========================================================================
   FILM-LEADER INTRO (home page only)
   Driven entirely by CSS so it always ends, even if JavaScript fails.
   ========================================================================== */
.leader {
  display: none;
}
.intro-play .leader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.06), transparent),
    var(--ink-deep);
  cursor: pointer;
  animation: leader-out 0.5s ease 2.55s forwards;
}
.leader.is-done {
  animation: leader-out 0.35s ease forwards !important;
}
@keyframes leader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.leader__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(68vmin, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 3px var(--paper-72),
    0 0 0 14px rgba(255, 255, 255, 0.05),
    inset 0 0 0 26px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.leader__ring::before,
.leader__ring::after {
  content: "";
  position: absolute;
  background: var(--paper-dim);
}
.leader__ring::before {
  inset: 0 calc(50% - 1px);
}
.leader__ring::after {
  inset: calc(50% - 1px) 0;
}
.leader__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.03) 35%, transparent 36%);
  animation: sweep 0.8s linear 3;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.leader__num {
  position: relative;
  width: 1ch;
  height: 1em;
  font: 800 min(38vmin, 240px) / 1 var(--font-body);
}
.leader__num span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: count 0.8s step-end forwards;
}
.leader__num span:nth-child(2) {
  animation-delay: 0.8s;
}
.leader__num span:nth-child(3) {
  animation-delay: 1.6s;
}
@keyframes count {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.leader__skip {
  position: absolute;
  bottom: calc(28px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  text-align: center;
  font: 600 0.75rem/1 var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-72);
}

/* ==========================================================================
   HOME — "The Trailer"
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + clamp(58px, 7vw, 72px)) 0 96px;
  background:
    radial-gradient(70% 60% at 85% 15%, rgba(255, 255, 255, 0.1), transparent 60%),
    radial-gradient(50% 45% at 0% 100%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--ink);
  overflow: hidden;
}
/* camcorder viewfinder */
.viewfinder {
  position: absolute;
  inset: calc(var(--nav-h) + env(safe-area-inset-top) + 8px) clamp(10px, 2vw, 24px) 18px;
  z-index: -1;
  pointer-events: none;
  font: 600 0.7rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  color: var(--paper-72);
}
.viewfinder::before,
.viewfinder::after,
.viewfinder__corners::before,
.viewfinder__corners::after {
  content: "";
  position: absolute;
  width: clamp(22px, 4vw, 44px);
  height: clamp(22px, 4vw, 44px);
  border: 2px solid var(--paper-50);
}
.viewfinder::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.viewfinder::after {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}
.viewfinder__corners::before {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}
.viewfinder__corners::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}
.viewfinder__tl,
.viewfinder__tr,
.viewfinder__bl,
.viewfinder__br {
  position: absolute;
}
.viewfinder__tl {
  top: 14px;
  left: 18px;
}
.viewfinder__tr {
  top: 14px;
  right: 18px;
}
.viewfinder__bl {
  bottom: 14px;
  left: 18px;
}
.viewfinder__br {
  bottom: 14px;
  right: 18px;
}
.batt {
  display: inline-block;
  width: 22px;
  height: 10px;
  margin-left: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  vertical-align: -1px;
  background: linear-gradient(90deg, currentColor 0 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat;
}
@media (max-width: 40rem) {
  .viewfinder__bl,
  .viewfinder__br {
    display: none;
  }
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}
.hero__copy {
  container-type: inline-size;
}
.hero__title {
  display: grid;
  margin: 18px 0 22px;
}
.hero__script {
  display: block;
  width: max-content;
  max-width: 100%;
  padding-top: 0.7em; /* the script's capitals rise well above its line box */
  font-size: clamp(2rem, 9vw, 4rem);
  font-size: min(10cqi, 4.4rem);
  line-height: 1;
}
.hero__block {
  display: block;
  margin-top: 0.14em;
  font-size: clamp(3rem, 16vw, 6rem);
  font-size: min(20cqi, 8.4rem);
  white-space: nowrap;
}
.hero__lede {
  max-width: 34ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--paper-72);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.polaroid--hero {
  --tilt: 2.4deg;
  justify-self: center;
  width: min(100%, 620px);
}
.polaroid--hero img {
  width: 100%;
  aspect-ratio: 1600 / 969;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  translate: -50% 0;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-72);
}
.hero__scroll::after {
  content: "";
  width: 1.5px;
  height: 28px;
  background: linear-gradient(var(--paper), transparent);
  animation: drip 1.8s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes drip {
  0% {
    transform: scaleY(0);
  }
  60% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
/* hero entrance (transform/clip only — never hides the LCP image) */
.hero__title > span,
.hero__lede,
.hero__cta {
  animation: rise 1s var(--ease-out) both;
}
.hero__block {
  animation-delay: 0.12s;
}
.hero__lede {
  animation-delay: 0.24s;
}
.hero__cta {
  animation-delay: 0.36s;
}
.intro-play .hero__title > span,
.intro-play .hero__lede,
.intro-play .hero__cta {
  animation-delay: 2.7s;
}
.intro-play .hero__block {
  animation-delay: 2.82s;
}
@keyframes rise {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.6em);
  }
  to {
    /* The end state sticks (fill: both), so open past every edge: the script's tall
       capitals and the buttons' hard shadow / hover lift overhang their boxes. */
    clip-path: inset(-1em -1em -20% -1em);
    transform: none;
  }
}
.polaroid--hero {
  animation: drop-in 1.1s var(--ease-out) 0.15s both;
}
.intro-play .polaroid--hero {
  animation-delay: 2.65s;
}
@keyframes drop-in {
  from {
    transform: translateY(40px) rotate(-6deg) scale(0.96);
  }
}

/* nickname marquee */
.marquee {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  overflow: hidden;
  background: var(--ink-deep);
  border-block: 1px solid var(--paper-dim);
}
.marquee__row {
  display: flex;
  width: max-content;
}
.marquee__track {
  display: flex;
  flex: none;
  animation: marquee var(--dur, 80s) linear infinite;
}
.marquee__row--b .marquee__track {
  animation-direction: reverse;
}
.marquee:hover .marquee__track,
.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee__item {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.6em;
  padding-right: 0.6em;
  font: 800 clamp(1.5rem, 1rem + 2.6vw, 3rem) / 1.15 var(--font-body);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__row--a .marquee__item {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper-72);
}
.marquee__item::after {
  content: "";
  width: 0.34em;
  height: 0.34em;
  border-radius: 2px;
  background: var(--paper-50);
  transform: rotate(45deg);
}

/* scenes */
.scene {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}
.scene--paper {
  background: var(--paper);
  color: var(--ink);
}
.scene--paper p {
  color: var(--muted);
}
.slate {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.slate__clapper {
  width: min(100%, 360px);
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--paper) 14px 28px);
  border: 2px solid var(--ink);
  border-radius: 4px 4px 0 0;
}
.slate__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: -18px;
  font: 600 0.75rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.slate__meta span {
  padding: 9px 12px;
  border: 2px solid var(--ink);
  margin: 0 -2px -2px 0;
  color: var(--ink);
}
.slate__meta span:first-child {
  background: var(--ink);
  color: var(--paper);
}
.scene__title {
  font-size: clamp(2.4rem, 1.2rem + 6vw, 5.6rem);
}
.scene__title .script {
  display: inline-block;
  padding-top: 1em; /* clears the slate above when it wraps on phones */
  margin-left: 0.08em;
  font-size: 0.82em;
  color: var(--ink);
  transform: rotate(-5deg);
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.scene__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 60rem) {
  .scene__grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .scene__grid--flip > :first-child {
    order: 2;
  }
}
.scene__copy p + p {
  margin-top: 1em;
}
.scene__copy p {
  max-width: 62ch;
  font-size: var(--step-0);
}
.scene__copy .pull {
  margin-bottom: 0.8em;
  font: 800 var(--step-2) / 1.2 var(--font-body);
  color: var(--ink);
}

.scene__narrative {
  max-width: 68rem;
  margin: clamp(32px, 5vw, 64px) auto 0;
  padding: clamp(32px, 4vw, 56px) 0 0;
  border-top: 2px dashed rgba(50, 23, 13, 0.18);
}
.scene__narrative .pull {
  font: 800 clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem) / 1.15 var(--font-body);
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 32ch;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}
.scene__narrative-grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 48px);
}
@media (min-width: 50rem) {
  .scene__narrative-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}
.scene__narrative-grid p {
  color: var(--muted);
  font-size: var(--step-0);
  line-height: 1.7;
}
.scene__narrative-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* video facade */
.facade__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.facade__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
}
.facade__play picture,
.facade__play img {
  width: 100%;
  height: 100%;
}
.facade__play img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition:
    transform 0.8s var(--ease-out),
    filter 0.8s;
}
.facade__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(50, 23, 13, 0.35), rgba(50, 23, 13, 0.88));
}
.facade__play:hover img,
.facade__play:focus-visible img {
  transform: scale(1.04);
  filter: grayscale(0.2) contrast(1.05);
}
.facade__icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: auto;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16);
  transition: transform 0.3s var(--ease-out);
}
.facade__play:hover .facade__icon {
  transform: scale(1.08);
}
.facade__icon::before {
  content: "";
  margin-left: 6px;
  border-left: 26px solid var(--ink);
  border-block: 16px solid transparent;
}
.facade__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 600 0.72rem/1.3 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: left;
}
.facade__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.facade__note {
  margin-top: 18px;
  font-size: 0.85rem !important;
}
.facade__note a {
  color: var(--ink);
  font-weight: 600;
}

/* "Featuring" — movie-poster billing on Banner.svg */
.featuring {
  padding: clamp(80px, 10vw, 130px) 0 clamp(72px, 10vw, 120px);
  background: var(--paper);
  color: var(--paper);
}
.poster {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  background: url("../images/Banner.svg") center / cover no-repeat, var(--ink);
  box-shadow: 10px 10px 0 var(--black);
}
@media (min-width: 48rem) {
  .poster {
    display: block;
    min-height: 300px;
    padding: clamp(32px, 4vw, 48px);
    padding-right: calc(min(38%, 400px) + clamp(32px, 5vw, 72px));
  }
}
.poster__copy {
  position: relative;
  z-index: 1;
}
.poster__title {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 1rem + 2.8vw, 3.4rem);
}
.poster__line {
  max-width: 40ch;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.4;
}
.poster__billing {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-dim);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-72);
  transform: scaleY(1.3);
  transform-origin: top left;
}
/* the cutout stands on the frame's bottom edge; on wide screens its head breaks out of the top */
.poster__cutout {
  justify-self: center;
  width: min(82%, 340px);
  margin: 18px 0 calc(-1 * clamp(28px, 5vw, 64px));
}
@media (min-width: 48rem) {
  .poster__cutout {
    position: absolute;
    right: clamp(16px, 4vw, 56px);
    bottom: 0;
    width: min(38%, 400px);
    margin: 0;
  }
}
.poster__cutout img {
  width: 100%;
  filter: drop-shadow(-14px 0 22px rgba(0, 0, 0, 0.35));
}

/* scene 02 */
.bigquotes {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(48px, 7vw, 88px);
}
.bigquote {
  max-width: 20ch;
  font: 800 clamp(1.9rem, 0.9rem + 4.2vw, 4.6rem) / 1.02 var(--font-body);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.bigquote--logo {
  justify-self: end;
  text-align: right;
}
.bigquote.logo-type {
  color: var(--paper);
}
.bigquote::before {
  content: "\201C";
}
.bigquote::after {
  content: "\201D";
}
.scene--paper .aside,
.aside {
  display: inline-block;
  justify-self: center;
  max-width: 22em;
  text-align: center;
  padding: 0.35em 0.2em 0;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.8rem);
  line-height: 1.2;
  color: var(--ink);
  transform: rotate(-3deg);
}
.contact {
  position: relative;
}
.contact img {
  width: 100%;
  aspect-ratio: 1600 / 963;
}
.contact figcaption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font: 600 0.72rem/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* end credits */
.credits {
  padding-top: clamp(80px, 11vw, 150px);
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--ink-deep);
  text-align: center;
}
.credits__head {
  display: grid;
  justify-items: center;
  gap: 14px;
}
.credits__title {
  font-size: clamp(2.6rem, 1.2rem + 7vw, 6.4rem);
}
.credits__toggle[hidden] {
  display: none;
}
.credits__viewport {
  position: relative;
  height: min(76svh, 760px);
  margin-top: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.credits__viewport::-webkit-scrollbar {
  display: none;
}
.credits__viewport:focus-visible {
  outline-offset: -3px;
}
.credits__roll {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 16svh var(--gutter) 46svh;
}
.credits__role {
  margin-top: 56px;
  font: 600 0.78rem/1 var(--font-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-72);
}
.credits__role:first-child {
  margin-top: 0;
}
.credits__cast {
  display: grid;
  gap: 18px;
  width: min(100%, 760px);
  padding: 0;
  list-style: none;
}
.credits__cast li {
  display: grid;
  gap: 2px;
}
.credits__name {
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.3;
}
.credits__as {
  font-size: 0.9rem;
  color: var(--paper-72);
}
.credits__as b {
  display: inline-block;
  padding-top: 0.85em; /* stacked under the name on phones: clear it (see .script) */
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--paper);
}
@media (min-width: 48rem) {
  .credits__cast li {
    grid-template-columns: 1fr auto 1fr;
    align-items: baseline;
    gap: 18px;
  }
  .credits__name {
    text-align: right;
  }
  .credits__as {
    display: contents;
  }
  .credits__as i {
    font-style: normal;
    font: 600 0.7rem/1 var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper-50);
  }
  .credits__as b {
    padding-top: 0.25em; /* side by side with the name, so nothing above to clear */
    text-align: left;
  }
}
.credits__as i {
  font-style: normal;
}
.credits__thanks {
  display: grid;
  gap: 26px;
  max-width: 560px;
}
.credits__thanks dt {
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-72);
}
.credits__thanks dd {
  margin-top: 8px;
  font-size: var(--step-1);
  font-weight: 600;
}
.credits__thanks q {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--paper-72);
}
.credits__sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  list-style: none;
}
.credits__sponsors li {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--black);
  overflow: hidden;
}
.credits__sponsors img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}
.credits__end {
  margin-top: 64px;
  font-size: var(--step-1);
}
.credits__end .script {
  display: inline-block;
  padding-top: 1em; /* wraps under "Directed by" on narrow phones */
  font-size: 2.2em;
  line-height: 1;
}
.credits__small {
  color: var(--paper-72);
  font-size: 0.9rem;
}
.postcredit {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 72px 0 96px;
}
.postcredit__quote {
  max-width: 32ch;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.35;
  white-space: pre-line;
}
.postcredit__quote::before {
  content: "\201C";
}
.postcredit__quote::after {
  content: "\201D";
}
.postcredit__who {
  color: var(--paper-72);
}
.postcredit__who a {
  font-weight: 600;
  color: var(--paper);
}
.postcredit__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* ---------- Scroll-driven extras (progressive enhancement) ----------------- */
@supports (animation-timeline: view()) {
  html:not(.motion-off) .poster__cutout img {
    animation: float-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
  html:not(.motion-off) .contact img {
    animation: settle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
}
@keyframes float-up {
  from {
    transform: translateY(60px) scale(0.94);
  }
}
@keyframes settle {
  from {
    transform: rotate(-2deg) translateY(30px);
  }
}

/* ==========================================================================
   CAST — profile.html
   ========================================================================== */
.btn-hud {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--vintage-taupe);
  border-radius: 3px;
  background: var(--paper);
  color: var(--dark-espresso);
  font: 700 0.72rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-hud:hover {
  background: var(--brick-red);
  color: var(--warm-cream);
  border-color: var(--brick-red);
}
.btn-hud--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(181, 142, 123, 0.4);
}
.btn-hud--ghost:hover {
  background: var(--warm-cream);
  color: var(--dark-espresso);
  border-color: var(--warm-cream);
}
.btn-hud.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.68rem;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vintage-taupe);
  margin-bottom: 12px;
}
.hud-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dusty-blue);
  box-shadow: 0 0 6px var(--dusty-blue);
}

.cast-hero {
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 48px) 0 32px;
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--ink);
  border-bottom: 1px solid rgba(181, 142, 123, 0.18);
}
.cast-hero__title {
  margin: 0 0 14px 0;
  font: 800 clamp(2.6rem, 7vw, 4.8rem)/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warm-cream);
}
.cast-hero__highlight {
  color: var(--vintage-taupe);
  text-shadow: 0 0 24px rgba(181, 142, 123, 0.3);
}
.cast-hero__lede {
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--paper-72);
  margin: 0;
}

/* Technical Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.search {
  position: relative;
  flex: 1 1 260px;
  max-width: 440px;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  translate: 0 -50%;
  color: var(--dusty-blue);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid rgba(181, 142, 123, 0.4);
  border-radius: 3px;
  background: rgba(20, 8, 4, 0.7);
  color: var(--paper);
  font: 500 0.85rem/1 var(--font-mono);
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}
.search input::placeholder {
  color: var(--paper-50);
  font-family: var(--font-mono);
}
.search input:focus-visible {
  outline: 0;
  border-color: var(--dusty-blue);
  box-shadow: 0 0 0 1px var(--dusty-blue), 0 0 12px rgba(169, 201, 230, 0.25);
  background: rgba(20, 8, 4, 0.9);
}

.seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(181, 142, 123, 0.4);
  border-radius: 3px;
  background: rgba(20, 8, 4, 0.6);
}
.seg button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--paper-72);
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.seg__idx {
  opacity: 0.55;
  font-size: 0.6rem;
  margin-right: 4px;
}
.seg button[aria-pressed="true"] {
  background: var(--warm-cream);
  color: var(--dark-espresso);
  font-weight: 700;
}

.vault-toggle svg {
  width: 16px;
  height: 16px;
}
.vault-toggle[aria-pressed="true"] {
  background: var(--warm-cream);
  color: var(--dark-espresso);
  border-color: var(--warm-cream);
}
.vault-toggle[aria-pressed="true"] .vault-toggle__shackle {
  transform: translate(3px, -2px) rotate(22deg);
  transform-origin: 16px 10px;
}

.cast-hero__status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(181, 142, 123, 0.16);
}
.cast-count {
  margin: 0;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-72);
}
.cast-status-meta {
  font: 600 0.65rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vintage-taupe);
}
/* Cast Stage & Card Grid */
.cast-stage {
  padding: 32px 0 96px;
  background: var(--ink-deep);
}
.cast-grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cast-card {
  position: relative;
  list-style: none;
}
.cast-card__btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(181, 142, 123, 0.28);
  border-radius: 4px;
  background: rgba(30, 14, 7, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.cast-card__btn:hover,
.cast-card__btn:focus-visible {
  transform: translateY(-6px);
  border-color: var(--warm-cream);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(252, 232, 205, 0.25);
}
.cast-card__btn:focus-visible {
  outline: 2px solid var(--dusty-blue);
  outline-offset: 4px;
}

/* Card Header Top Row */
.cast-card__top-row,
.cast-card__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font: 600 0.65rem/1 var(--font-mono);
  letter-spacing: 0.14em;
}
.cast-card__no {
  color: var(--vintage-taupe);
}
.cast-card__role-tag {
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(149, 70, 67, 0.25);
  color: var(--warm-cream);
  border: 1px solid rgba(149, 70, 67, 0.4);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
.cast-card__role-tag.is-empty {
  background: rgba(90, 80, 75, 0.25);
  color: var(--vintage-taupe);
  border-color: rgba(181, 142, 123, 0.25);
}

/* Card Photo Frame */
.cast-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(18, 8, 4, 0.95);
  border: 1px solid rgba(181, 142, 123, 0.18);
}
.cast-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  filter: contrast(1.04) saturate(1.02);
  transition: transform 0.4s var(--ease-out);
}
.cast-card__btn:hover .cast-card__frame img {
  transform: scale(1.06);
}

/* Missing Photo Graphic */
.cast-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  color: var(--vintage-taupe);
  background: rgba(18, 8, 4, 0.85);
}
.cast-card__placeholder-icon {
  font-size: 1.5rem;
  color: var(--brick-red);
  opacity: 0.75;
}
.cast-card__placeholder-text {
  font: 600 0.65rem/1 var(--font-mono);
  letter-spacing: 0.16em;
}

/* Card Meta (Bottom) */
.cast-card__meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cast-card__name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.cast-card__nick {
  font: 700 1.15rem/1.2 var(--font-body);
  color: var(--warm-cream);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card__arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--vintage-taupe);
  transition: transform 0.2s ease, color 0.2s ease;
}
.cast-card__btn:hover .cast-card__arrow {
  transform: translate(2px, -2px);
  color: var(--warm-cream);
}
.cast-card__name {
  font: 500 0.72rem/1.3 var(--font-mono);
  color: var(--vintage-taupe);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Empty State */
.cast-empty {
  padding: 48px 0;
  text-align: center;
  font: 500 0.88rem/1.5 var(--font-mono);
  color: var(--paper-72);
}

/* Pagination System */
.cast-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 36px 0 16px;
  padding: 20px;
  background: rgba(22, 9, 4, 0.7);
  border: 1px solid rgba(181, 142, 123, 0.3);
  border-radius: 4px;
}
.cast-pagination__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.cast-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: rgba(30, 14, 7, 0.9);
  border: 1px solid rgba(181, 142, 123, 0.35);
  border-radius: 3px;
  color: var(--paper);
  font: 600 0.74rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cast-pagination__btn:hover:not(:disabled) {
  background: var(--brick-red);
  color: var(--warm-cream);
  border-color: var(--brick-red);
}
.cast-pagination__btn.is-active,
.cast-pagination__btn[aria-current="page"] {
  background: var(--warm-cream);
  color: var(--dark-espresso);
  border-color: var(--warm-cream);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(252, 232, 205, 0.35);
}
.cast-pagination__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.cast-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 38px;
  color: var(--vintage-taupe);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.cast-pagination__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  font: 500 0.75rem/1.4 var(--font-mono);
  color: var(--vintage-taupe);
  letter-spacing: 0.06em;
  padding-top: 12px;
  border-top: 1px dashed rgba(181, 142, 123, 0.2);
}
.cast-pagination__jump {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast-pagination__jump-input {
  width: 68px;
  height: 32px;
  padding: 0 8px;
  background: rgba(14, 6, 3, 0.95);
  border: 1px solid rgba(181, 142, 123, 0.4);
  border-radius: 2px;
  color: var(--warm-cream);
  font: 600 0.8rem/1 var(--font-mono);
  text-align: center;
}
.cast-pagination__jump-input:focus {
  outline: none;
  border-color: var(--warm-cream);
}
.cast-pagination__jump-btn {
  height: 32px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(181, 142, 123, 0.4);
  border-radius: 2px;
  color: var(--warm-cream);
  font: 600 0.68rem/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.cast-pagination__jump-btn:hover {
  background: var(--warm-cream);
  color: var(--dark-espresso);
}

/* Loading State */
.cast-loading {
  grid-column: 1 / -1;
  padding: 64px 0;
  text-align: center;
  font: 600 0.88rem/1.6 var(--font-mono);
  color: var(--warm-cream);
  letter-spacing: 0.14em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cast-loading__spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(181, 142, 123, 0.3);
  border-top-color: var(--warm-cream);
  border-radius: 50%;
  animation: cast-spin 0.8s linear infinite;
}
@keyframes cast-spin {
  to { transform: rotate(360deg); }
}

/* "Siapa hari ini?" card trick */
.cast-card.is-dealt {
  visibility: hidden;
}
.deal {
  position: fixed;
  inset: 0;
  z-index: 150;
  overflow: hidden;
  touch-action: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.deal.is-leaving {
  pointer-events: none;
}
.deal.is-leaving .deal__stage {
  opacity: 0;
  transition: opacity 0.3s;
}
.deal.is-leaving .deal__dim {
  opacity: 1 !important;
}
.deal.is-leaving .deal__hint {
  visibility: hidden;
}
.sheet.is-dealt-in::backdrop {
  background: transparent;
}
.deal__dim {
  position: absolute;
  inset: 0;
  background: rgba(20, 9, 4, 0.92);
  opacity: 0;
}
.deal__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.deal__card {
  position: absolute;
}
.deal__card > .cast-card__btn {
  height: 100%;
}
.deal__back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 142, 123, 0.4);
  border-radius: 4px;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.12), transparent),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 11px),
    var(--ink-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
}
.deal__card.is-down > .deal__back {
  opacity: 1;
}
.deal__back::before {
  content: "✦";
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  line-height: 1;
  color: var(--warm-cream);
}
.deal__back::after {
  content: "WHO LIES";
  position: absolute;
  inset: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  border: 1px solid rgba(181, 142, 123, 0.2);
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.3em;
  color: var(--vintage-taupe);
}
.deal__card.is-chosen .cast-card__frame img {
  filter: none;
}
.deal__spark {
  position: absolute;
  line-height: 1;
  color: var(--warm-cream);
}
.deal__hint {
  position: absolute;
  inset: auto 16px calc(22px + env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-72);
}

/* ---------- Character sheet (dialog) --------------------------------------- */
.sheet-open {
  overflow: hidden;
}
.sheet {
  width: min(100% - 32px, 860px);
  max-width: none;
  max-height: min(90svh, 740px);
  padding: 0;
  border: 1px solid rgba(181, 142, 123, 0.35);
  border-radius: 16px;
  background: rgba(30, 14, 7, 0.96);
  color: var(--warm-cream);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(252, 232, 205, 0.08);
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  animation: sheet-in 0.35s var(--ease-out);
}
/* ::backdrop doesn't inherit custom properties in older browsers — literal colours */
.sheet::backdrop,
.vault::backdrop,
.lightbox::backdrop {
  background: rgba(15, 6, 3, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}
.sheet__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: inherit;
  overflow: hidden;
}
.sheet__header,
.sheet__hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(181, 142, 123, 0.2);
  background: rgba(18, 7, 3, 0.6);
  flex-shrink: 0;
}
.sheet__header-title {
  font: 700 0.78rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--vintage-taupe);
  text-transform: uppercase;
}
.sheet__hud-tag {
  font: 700 0.72rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  color: var(--dusty-blue);
}
.sheet__hud-no {
  font: 700 0.72rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--vintage-taupe);
}
.sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(181, 142, 123, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--warm-cream);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.sheet__close:hover {
  background: var(--warm-cream);
  color: var(--ink-deep);
  border-color: var(--warm-cream);
}
.sheet__content {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: rgba(15, 6, 3, 0.45);
  border-bottom: 1px solid rgba(181, 142, 123, 0.15);
}
.sheet__frame {
  width: min(100%, 250px);
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(181, 142, 123, 0.35);
  background: rgba(18, 7, 3, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: none;
}
.sheet__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.sheet__frame.is-missing {
  display: grid;
  place-items: center;
  color: var(--vintage-taupe);
  font: 600 0.8rem/1.3 var(--font-mono);
}
.sheet__meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(181, 142, 123, 0.25);
  background: rgba(255, 255, 255, 0.04);
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--vintage-taupe);
}
.sheet__meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dusty-blue);
  box-shadow: 0 0 8px var(--dusty-blue);
}
.sheet__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3.5vw, 36px);
  overflow-y: auto;
}
.sheet__player-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 0.72rem/1 var(--font-mono);
  letter-spacing: 0.14em;
}
.sheet__player-label {
  color: var(--vintage-taupe);
}
.sheet__player-val {
  color: var(--warm-cream);
  background: rgba(149, 70, 67, 0.22);
  border: 1px solid rgba(149, 70, 67, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
}
.sheet__name {
  margin: 0;
  font: 800 clamp(1.4rem, 1.2rem + 1vw, 2.1rem) / 1.15 var(--font-body);
  letter-spacing: -0.02em;
  color: var(--warm-cream);
}
.sheet__handle {
  margin: 4px 0 6px;
  font: 600 0.92rem/1.2 var(--font-mono);
  color: var(--dusty-blue);
  letter-spacing: 0.04em;
}
.sheet__quote {
  margin: 0;
  padding: 10px 16px;
  border-left: 2px solid var(--dusty-blue);
  background: rgba(169, 201, 230, 0.06);
  border-radius: 0 6px 6px 0;
  font: italic 400 0.95rem/1.55 var(--font-body);
  color: var(--pale-beige);
}
.sheet__mystery {
  margin: 0;
  font-style: italic;
  color: var(--vintage-taupe);
  font-size: 0.9rem;
}
.sheet__facts {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.sheet__fact dt {
  font: 700 0.68rem/1.2 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vintage-taupe);
}
.sheet__fact dd {
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--warm-cream);
}
.sheet__msg {
  white-space: pre-line;
}
.sheet__ig {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.sheet__ig a {
  font: 600 0.85rem/1.2 var(--font-mono);
  color: var(--dusty-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
.sheet__ig a:hover {
  color: var(--warm-cream);
  text-decoration: underline;
}
.sheet__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 3px;
  background: rgba(74, 128, 172, 0.18);
  border: 1px solid rgba(74, 128, 172, 0.45);
  color: var(--dusty-blue);
  font: 600 0.74rem/1 var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: all 0.15s ease;
}
.sheet__social-btn:hover {
  background: rgba(74, 128, 172, 0.32);
  color: var(--warm-cream);
  border-color: var(--dusty-blue);
  transform: translateY(-1px);
}
.sheet__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(181, 142, 123, 0.2);
  background: rgba(18, 7, 3, 0.7);
  flex-shrink: 0;
}
.sheet__bar .btn-hud {
  max-width: 48%;
}
.sheet__stepname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 48rem) {
  .sheet__content {
    grid-template-columns: 310px 1fr;
  }
  .sheet__media {
    border-bottom: none;
    border-right: 1px solid rgba(181, 142, 123, 0.15);
  }
}
@media (max-width: 47.99rem) {
  .sheet {
    width: 100%;
    max-height: 92svh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
  }
  .sheet[open] {
    animation-name: sheet-up;
  }
  .sheet__frame {
    width: min(100%, 180px);
    aspect-ratio: 3 / 4;
  }
}
@keyframes sheet-up {
  from {
    transform: translateY(40%);
  }
}

/* redaction + stamp */
.redact {
  display: inline-block;
  width: min(12em, 60%);
  height: 1.05em;
  margin-right: 10px;
  border-radius: 3px;
  background: rgba(181, 142, 123, 0.35);
  vertical-align: -0.16em;
}
.linkish {
  padding: 0;
  border: 0;
  background: none;
  color: var(--dusty-blue);
  font: 600 0.85rem/1.2 var(--font-mono);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.linkish:hover {
  color: var(--warm-cream);
}
.is-declassified {
  animation: declassify 0.7s var(--ease-out);
}
@keyframes declassify {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 -20% 0 0);
  }
}
.stamp {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border: 1.5px solid var(--brick-red);
  border-radius: 4px;
  background: rgba(149, 70, 67, 0.18);
  color: var(--brick-red);
  font: 700 0.62rem/1.4 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  vertical-align: 0.15em;
  transform: rotate(-4deg);
  animation: stamp 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) 0.4s both;
}
@keyframes stamp {
  from {
    opacity: 0;
    transform: rotate(-6deg) scale(2.2);
  }
}

/* ---------- Vault dialog ---------------------------------------------------- */
.vault {
  width: min(100% - 32px, 460px);
  padding: clamp(22px, 5vw, 32px);
  border: 1px solid rgba(181, 142, 123, 0.35);
  border-radius: 16px;
  background: rgba(30, 14, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--warm-cream);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(252, 232, 205, 0.08);
}
.vault[open] {
  animation: sheet-in 0.35s var(--ease-out);
}
.vault.is-shake {
  animation: shake 0.45s;
}
@keyframes shake {
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}
.vault__title {
  margin: 8px 0 6px;
  font: 800 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem) / 1 var(--font-body);
  text-transform: uppercase;
  color: var(--warm-cream);
  letter-spacing: -0.01em;
}
.vault__desc {
  color: var(--vintage-taupe);
  font-size: 0.92rem;
  line-height: 1.5;
}
.vault__label {
  display: block;
  margin-top: 18px;
  font: 700 0.68rem/1.2 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vintage-taupe);
}
.vault__input {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1.5px solid rgba(181, 142, 123, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--warm-cream);
  font: 600 1.05rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.vault__input:focus-visible {
  outline: none;
  border-color: var(--dusty-blue);
  background: rgba(255, 255, 255, 0.08);
}
.vault__show {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--vintage-taupe);
  cursor: pointer;
}
.vault__show input {
  width: 16px;
  height: 16px;
  accent-color: var(--warm-cream);
}
.vault__develop {
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: rgba(181, 142, 123, 0.2);
  opacity: 0;
}
.vault.is-busy .vault__develop {
  opacity: 1;
  background: linear-gradient(90deg, rgba(252, 232, 205, 0.1), rgba(252, 232, 205, 0.9), rgba(252, 232, 205, 0.1)) 0 0 / 200% 100%;
  animation: develop 1.1s linear infinite;
}
@keyframes develop {
  to {
    background-position: -200% 0;
  }
}
.vault__status {
  min-height: 1.5em;
  margin-top: 10px;
  font: 600 0.88rem/1.4 var(--font-mono);
  color: var(--vintage-taupe);
}
.vault__status.is-error {
  color: var(--brick-red);
}
.vault__status.is-error::before {
  content: "✕ ";
}
.vault__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.vault__note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(181, 142, 123, 0.2);
  font-size: 0.8rem;
  color: var(--vintage-taupe);
  line-height: 1.5;
}

/* ---------- Toast ----------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 400;
  max-width: min(92vw, 440px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 4px 4px 0 var(--black);
  translate: -50% 0;
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s;
  pointer-events: none;
}
.toast.is-on {
  transform: none;
  opacity: 1;
}

/* ==========================================================================
   ALBUM — album.html ("Behind the scenes" contact sheet)
   ========================================================================== */
.album-hero {
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    var(--ink-deep);
}
.album-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.2em;
  margin: 10px 0 14px;
}
.album-hero__title .script {
  display: inline-block;
  padding-top: 1em; /* same as .cast-hero__title .script */
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: 1;
  transform: rotate(-6deg);
}
.album-hero__title .display {
  font-size: clamp(3rem, 0.9rem + 10vw, 8rem);
}
.album-hero__lede {
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--paper-72);
}
.contact-sheet {
  padding: clamp(28px, 5vw, 64px) 0 clamp(72px, 10vw, 120px);
  background: var(--paper);
  color: var(--ink);
}
.contact-sheet__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
  font: 600 0.75rem/1.3 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-sheet__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
}
/* frames sit edge to edge so every row reads as one strip of film */
.frames {
  min-height: 100svh; /* reserve room: frames are built by JS after first paint */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2.4vw, 26px) 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 26px 10px 40px;
  border: 0;
  background: var(--ink-deep);
  cursor: pointer;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.22) 9px 21px, transparent 21px 30px);
  background-position: 4px 0;
}
.frame::before {
  top: 8px;
}
.frame::after {
  bottom: 8px;
}
.frame__img {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink-soft);
}
.frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease-out),
    filter 0.6s;
}
.frame:hover .frame__img img,
.frame:focus-visible .frame__img img {
  transform: scale(1.05);
}
.frame:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  z-index: 1;
}
.frame__edge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  font: 600 0.75rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
/* the photographer's grease-pencil pick */
.frame.is-pick .frame__img::after {
  content: "";
  position: absolute;
  inset: 9% 12%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}
.frame__pick {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 1;
  padding-top: 0.3em;
  font-family: var(--font-script);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--paper);
  transform: rotate(-8deg);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ---------- Lightbox ------------------------------------------------------- */
.lightbox-open {
  overflow: hidden;
}
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(30, 13, 7, 0.97);
  color: var(--paper);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  animation: fade-in 0.3s ease;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: calc(72px + env(safe-area-inset-top)) clamp(12px, 8vw, 96px) 12px;
}
.lightbox__stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 170px);
  border: clamp(6px, 1vw, 10px) solid var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  animation: fade-in 0.35s ease;
}
.lightbox__stage.is-loading::before {
  content: "Mencuci film…";
  position: absolute;
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-72);
}
.lightbox__missing {
  color: var(--paper-72);
}
.lightbox__caption {
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--paper-72);
}
.lightbox__count {
  position: fixed;
  top: calc(28px + env(safe-area-inset-top));
  left: 20px;
  font: 600 0.8rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--paper-72);
}
.lightbox__btn {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--paper-50);
  border-radius: 50%;
  background: rgba(30, 13, 7, 0.7);
  color: var(--paper);
  font-size: 1.25rem;
  cursor: pointer;
}
.lightbox__btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.lightbox__close {
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  translate: 0 -50%;
}
.lightbox__prev {
  left: 14px;
}
.lightbox__next {
  right: 14px;
}
@media (max-width: 40rem) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    translate: none;
  }
  .lightbox__stage {
    padding-bottom: 84px;
  }
  .lightbox__stage img {
    max-height: calc(100svh - 190px);
  }
}

/* ==========================================================================
   MOTION OFF — the visible "Gerak" toggle or prefers-reduced-motion
   ========================================================================== */
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
.motion-off .grain,
.motion-off .marquee__track,
.motion-off .rec-dot,
.motion-off .hero__scroll::after {
  animation: none !important;
}
.motion-off .reveal {
  opacity: 1 !important;
  transform: none !important;
}
.motion-off .credits__viewport {
  height: auto;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.motion-off .credits__roll {
  padding-block: 24px 48px;
}

/* ==========================================================================
   GALAXY HERO (inspired by getartcraft.com)
   ========================================================================== */
.hero-galaxy {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(74, 38, 24, 0.45) 0%, transparent 70%),
    var(--ink);
}

.galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.galaxy-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.galaxy-card {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
  will-change: transform, opacity;
  transition: filter 0.3s ease;
}

.galaxy-card__inner {
  width: clamp(86px, 10vw, 155px);
  padding: 5px 5px 8px;
  background: var(--warm-cream);
  color: var(--dark-espresso);
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(181, 142, 123, 0.4);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.galaxy-card:hover {
  z-index: 99 !important;
}

.galaxy-card:hover .galaxy-card__inner {
  transform: translateY(-8px) scale(1.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 2px var(--dusty-blue);
}

.galaxy-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  border-radius: 2px;
  background: var(--dark-espresso-deep);
}

.galaxy-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  filter: contrast(1.05) saturate(0.95);
  transition: transform 0.4s ease;
}

.galaxy-card:hover .galaxy-card__frame img {
  transform: scale(1.08);
}

.galaxy-card__meta {
  margin-top: 6px;
  text-align: center;
}

.galaxy-card__name {
  display: block;
  font: 700 0.82rem/1.2 var(--font-body);
  color: var(--dark-espresso);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.galaxy-card__nick {
  display: block;
  font: 500 0.68rem/1.2 var(--font-mono);
  color: var(--vintage-taupe);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Center Wordmark Hub */
.galaxy-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(94vw, 880px);
  padding: 24px;
  pointer-events: auto;
}

.galaxy-title {
  margin: 0 0 24px 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warm-cream);
  text-shadow:
    0 4px 32px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(20, 8, 4, 0.95);
  display: flex;
  gap: 0.35em;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.galaxy-title__word {
  display: inline-flex;
  white-space: nowrap;
  gap: 0.04em;
}

.wm-letter {
  display: inline-block;
  will-change: transform, opacity;
  animation: letterDrop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.galaxy-title__word:nth-child(1) .wm-letter:nth-child(1) { animation-delay: 0.05s; }
.galaxy-title__word:nth-child(1) .wm-letter:nth-child(2) { animation-delay: 0.11s; }
.galaxy-title__word:nth-child(1) .wm-letter:nth-child(3) { animation-delay: 0.17s; }
.galaxy-title__word:nth-child(1) .wm-letter:nth-child(4) { animation-delay: 0.23s; }
.galaxy-title__word:nth-child(1) .wm-letter:nth-child(5) { animation-delay: 0.29s; }
.galaxy-title__word:nth-child(1) .wm-letter:nth-child(6) { animation-delay: 0.35s; }
.galaxy-title__word:nth-child(2) .wm-letter:nth-child(1) { animation-delay: 0.43s; }
.galaxy-title__word:nth-child(2) .wm-letter:nth-child(2) { animation-delay: 0.49s; }
.galaxy-title__word:nth-child(2) .wm-letter:nth-child(3) { animation-delay: 0.55s; }

@media (max-width: 480px) {
  .galaxy-title {
    flex-wrap: wrap;
    gap: 0.1em;
  }
}

@keyframes letterDrop {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.galaxy-lede {
  margin: 0 auto 28px;
  max-width: 580px;
  font: 400 clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem) / 1.55 var(--font-body);
  color: var(--pale-beige);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.galaxy-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.galaxy-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 0.7rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--paper-72);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.galaxy-scroll:hover {
  color: var(--warm-cream);
  transform: translateX(-50%) translateY(3px);
}

/* Roster Spotlight Section */
.roster-spotlight {
  padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(169, 201, 230, 0.08), transparent 70%),
    var(--dark-espresso);
  color: var(--pale-beige);
  text-align: center;
}

.roster-spotlight__head {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.roster-spotlight__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(252, 232, 205, 0.2);
  font: 700 0.68rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--dusty-blue);
  text-transform: uppercase;
}

.roster-spotlight__title {
  margin: 0;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem);
  color: var(--warm-cream);
}

.roster-spotlight__lede {
  max-width: 58ch;
  margin: 0 auto;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--pale-beige);
  opacity: 0.85;
}

.roster-spotlight__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
