/* ================================================================
   creative.css — CREATIVE mode
   NLE chrome · viewfinder · filmstrip · stills · credits · rack
   Builds on css/base.css (tokens, nav, buttons, reveal, contact).
   ================================================================ */

:root {
  --teal:   #3dd6c8;
  --violet: #a78bfa;
  --lime:   #b6e34a;
  --pink:   #ff6b9d;
  --sky:    #5eb3ff;
  --radius: 10px;
  --chrome: #0b0b0b;
}

/* ---------- Grain: subtle compositor-only drift (desktop, motion ok) ---------- */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .grain {
    inset: -50%;
    width: 200%;
    height: 200%;
    will-change: transform;
    animation: cre-grain 1.4s steps(7) infinite;
  }
}
@keyframes cre-grain {
  0%   { transform: translate3d(0, 0, 0); }
  15%  { transform: translate3d(-6%, -9%, 0); }
  30%  { transform: translate3d(9%, 4%, 0); }
  45%  { transform: translate3d(-3%, 12%, 0); }
  60%  { transform: translate3d(11%, -7%, 0); }
  75%  { transform: translate3d(-12%, 2%, 0); }
  90%  { transform: translate3d(5%, -12%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ================================================================
   HERO
   ================================================================ */
.cre-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 1.4rem) 5vw 0;
  overflow: hidden;
}
.cre-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 70% 35%, rgba(var(--amber-rgb), .10), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(var(--amber-rgb), .05), transparent 70%);
}

/* viewfinder frame */
.cre-vf {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(3.4rem, 7vh, 5.5rem) clamp(1.6rem, 5vw, 5rem);
  min-height: 0;
}
.cre-vf-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0 solid var(--amber);
  opacity: .85;
  animation: cre-fade .9s var(--ease-out) .15s both;
}
.cre-vf-tl { top: 0;    left: 0;  border-top-width: 1px;    border-left-width: 1px;  }
.cre-vf-tr { top: 0;    right: 0; border-top-width: 1px;    border-right-width: 1px; }
.cre-vf-bl { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px;  }
.cre-vf-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.cre-vf-chrome {
  position: absolute;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4d4d4d;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  white-space: nowrap;
  animation: cre-fade .9s var(--ease-out) .35s both;
}
.cre-vf-ctl { top: 12px; left: 40px; }
.cre-vf-ctr { top: 12px; right: 40px; }

.cre-rec { display: inline-flex; align-items: center; gap: .45rem; color: var(--amber); }
.cre-rec-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(var(--amber-rgb), .7);
  animation: cre-blink 1.1s steps(2) infinite;
}
.cre-tc { color: var(--mid); }

/* content */
.cre-hero-inner {
  position: relative;
  max-width: 1100px;
}
.cre-eyebrow {
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--amber);
  margin-bottom: 1.4rem;
  animation: cre-rise .8s var(--ease-out) .2s both;
}
.cre-h1 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  letter-spacing: -0.045em;
  line-height: .96;
  color: var(--text);
  animation: cre-rise .9s var(--ease-out) .32s both;
}
.cre-role {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--amber);
  margin-top: .35rem;
  animation: cre-rise .9s var(--ease-out) .44s both;
}
.cre-role-word,
.cre-role-static {
  display: block;
  grid-area: 1 / 1;
}
/* JS present + motion allowed: stack the words in one grid cell (width = widest, no layout shift) */
.js .cre-role { display: inline-grid; overflow: hidden; }
.js .cre-role-static { display: none; }
.js .cre-role-word {
  opacity: 0;
  transform: translateY(105%);
  transition: opacity .55s var(--ease-out), transform .65s var(--ease-out);
  white-space: nowrap;
}
.js .cre-role-word.is-in  { opacity: 1; transform: none; }
.js .cre-role-word.is-out { opacity: 0; transform: translateY(-105%); }
/* no JS: show the static line only */
html:not(.js) .cre-role-word { display: none; }
/* reduced motion (JS sets .is-static on the container) */
.cre-role.is-static .cre-role-word { display: none; }
.cre-role.is-static .cre-role-static { display: block; }

.cre-sub {
  margin-top: 1.8rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--mid);
  animation: cre-rise .9s var(--ease-out) .56s both;
}
.cre-sub strong { color: var(--text); font-weight: 600; }

.cre-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.4rem;
  animation: cre-rise .9s var(--ease-out) .68s both;
}
.cre-ctas .btn { border-radius: 8px; }

/* filmstrip band */
.cre-film {
  position: relative;
  margin: 2.4rem calc(-5vw) 0;
  padding: 16px 0;
  background: var(--chrome);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  animation: cre-fade 1s var(--ease-out) .5s both;
}
.cre-film::before,
.cre-film::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.09) 14px 26px, transparent 26px 40px);
  pointer-events: none;
}
.cre-film::before { top: 4px; }
.cre-film::after  { bottom: 4px; }

.cre-film-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: cre-marquee 95s linear infinite;
}
.cre-film:hover .cre-film-track { animation-play-state: paused; }
.cre-film-row { display: flex; gap: 10px; padding-right: 10px; }
.cre-frame {
  display: block;
  width: 150px;
  height: 96px;
  flex: 0 0 150px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--card2);
  border: 1px solid var(--border);
  filter: saturate(.7) brightness(.6);
  transition: filter .35s;
}
.cre-frame:hover { filter: none; }
.cre-frame img { width: 100%; height: 100%; object-fit: cover; }

@keyframes cre-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes cre-blink   { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes cre-fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes cre-rise    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ================================================================
   01 THE REEL — NLE
   ================================================================ */
.cre-nle { display: block; }
.cre-nle-box {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border2);
  border-radius: 14px;
  background: var(--chrome);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.6);
  overflow: hidden;
}

/* --- (a) multicam monitor --- */
.cre-mc-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .55rem .6rem .55rem 1rem;
  border-bottom: 1px solid var(--border2);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
}
.cre-mc-title { display: inline-flex; align-items: center; gap: .55rem; color: var(--amber); white-space: nowrap; }
.cre-mon-pgm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(var(--amber-rgb), .8); }
.cre-mc-tc { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }
.cre-mc-ctls { display: flex; gap: .3rem; }

.cre-ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 40px;
  height: 36px;
  padding: 0 .7rem;
  border-radius: 8px;
  color: var(--mid);
  transition: color .2s, background .2s, transform .25s var(--ease-out);
}
.cre-ctl:hover { color: var(--text); background: rgba(255,255,255,.06); }
.cre-ctl:active { transform: scale(.94); }
.cre-ctl-txt { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.cre-ctl-play { color: var(--amber); }
.cre-ctl-play:hover { color: var(--amber); background: rgba(var(--amber-rgb), .12); }
.cre-ico-pause, .cre-ico-sound { display: none; }
.cre-mc-bar.is-playing .cre-ico-pause { display: block; }
.cre-mc-bar.is-playing .cre-ico-play  { display: none; }
.cre-ctl-mute.is-muted { border: 1px solid rgba(var(--amber-rgb), .35); }
.cre-ctl-mute.is-muted .cre-ctl-txt { color: var(--amber); }
.cre-ctl-mute:not(.is-muted) .cre-ico-muted { display: none; }
.cre-ctl-mute:not(.is-muted) .cre-ico-sound { display: block; }

/* the wall of angles */
.cre-mc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  background: #050505;
}
.cre-cam {
  --c: var(--amber);
  --c-rgb: var(--amber-rgb);
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  text-align: left;
  transition: box-shadow .25s, transform .3s var(--ease-out);
}
.cre-cam video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: .72;
  transition: opacity .35s;
}
.cre-cam:hover video, .cre-cam.is-live video { opacity: 1; }
.cre-cam:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.cre-cam.is-live {
  box-shadow: inset 0 0 0 2px var(--c), 0 0 26px rgba(var(--c-rgb), .28);
  z-index: 1;
}
.cre-cam:focus-visible { outline-offset: -4px; }
.cre-cam.is-error video { display: none; }

.cre-cam-top, .cre-cam-bot {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .65rem;
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
  pointer-events: none;
}
.cre-cam-top { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent); }
.cre-cam-bot { bottom: 3px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease-out); }
.cre-cam:hover .cre-cam-bot, .cre-cam:focus-visible .cre-cam-bot, .cre-cam.is-live .cre-cam-bot { opacity: 1; transform: none; }
.cre-cam-num { color: var(--c); font-weight: 700; letter-spacing: .16em; }
.cre-cam-live {
  display: none;
  padding: .14rem .4rem;
  border-radius: 3px;
  background: var(--c);
  color: #0b0b0b;
  font-weight: 700;
  letter-spacing: .14em;
}
.cre-cam.is-live .cre-cam-live { display: inline-block; }
.cre-mc.has-audio .cre-cam.is-live .cre-cam-live::after { content: ' · audio'; }
.cre-cam-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cre-cam-tc { color: rgba(255,255,255,.62); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cre-cam-bar {
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: rgba(255,255,255,.12);
}
.cre-cam-bar i { display: block; height: 100%; background: var(--c); transform-origin: left center; transform: scaleX(0); }

/* paused wall: dim everything, keep the live tile readable */
.cre-mc.is-paused .cre-cam video { opacity: .45; }
.cre-mc.is-paused .cre-cam.is-live video { opacity: .7; }

/* reduced motion: no auto-switching glow pulse (handled in JS), keep static states */

/* --- (b) timeline --- */
.cre-tl {
  border-top: 1px solid var(--border2);
  background: var(--bg2);
}
.cre-tl-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.cre-tl-grid {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 28px 88px 44px;
  min-width: 720px;
  padding-right: 14px;
}
.cre-tl-head {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--muted);
  background: var(--chrome);
  border-right: 1px solid var(--border2);
  border-bottom: 1px solid var(--border);
}
.cre-tl-head-ruler { font-size: .52rem; }

.cre-tl-ruler {
  position: relative;
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size:
    calc(100% / var(--cre-total, 199) * 10) 10px,
    calc(100% / var(--cre-total, 199)) 5px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
  cursor: pointer;
}
.cre-tl-tick:nth-child(even) { display: none; }   /* label every 20s: fewer numbers on screen */
.cre-tl-tick {
  position: absolute;
  top: 3px;
  font-size: .52rem;
  letter-spacing: .06em;
  color: var(--muted);
  transform: translateX(3px);
  white-space: nowrap;
  pointer-events: none;
}

.cre-tl-lane {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: calc(100% / var(--cre-total, 199) * 10) 100%;
}
.cre-tl-a1 { background-color: rgba(0,0,0,.25); }

.cre-clip {
  --c: var(--amber);
  --c-rgb: var(--amber-rgb);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--card2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  text-align: left;
  transition: box-shadow .25s, transform .3s var(--ease-out);
}
.cre-clip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.45) 100%);
  transition: opacity .3s;
}
.cre-clip::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c);
}
.cre-clip:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transform: translateY(-1px); }
.cre-clip:hover::before { opacity: .75; }
.cre-clip.is-active {
  box-shadow: 0 0 0 2px var(--amber), 0 0 22px rgba(var(--amber-rgb), .25);
  z-index: 1;
}
.cre-clip.is-active::before { opacity: .55; }
.cre-clip-label {
  position: absolute;
  left: 8px; right: 6px; bottom: 7px;
  font-size: .58rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
}
.cre-clip-label i { font-style: normal; color: var(--c); margin-right: .4em; }
.cre-clip-dur {
  position: absolute;
  top: 8px; right: 7px;
  font-size: .52rem;
  color: rgba(255,255,255,.55);
}
.cre-clip-fill {
  position: absolute;
  inset: 0;
  background: rgba(var(--c-rgb), .32);
  border-right: 2px solid var(--c);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.cre-wave {
  --c: var(--amber);
  --c-rgb: var(--amber-rgb);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, rgba(var(--c-rgb), .55) 0 1px, transparent 1px 3px),
    rgba(var(--c-rgb), .08);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 20 L3 12 6 26 9 16 12 30 15 8 18 24 21 14 24 32 27 18 30 22 33 6 36 28 39 15 42 25 45 10 48 30 51 19 54 27 57 12 60 34 63 17 66 23 69 9 72 29 75 16 78 24 81 13 84 31 87 20 90 26 93 11 96 33 99 18 102 22 105 7 108 27 111 15 114 25 117 14 120 20 L120 20 117 26 114 15 111 25 108 13 105 33 102 18 99 22 96 7 93 29 90 14 87 20 84 9 81 27 78 16 75 24 72 11 69 31 66 17 63 23 60 6 57 28 54 13 51 21 48 10 45 30 42 15 39 25 36 12 33 34 30 18 27 22 24 8 21 26 18 16 15 32 12 10 9 24 6 14 3 28 0 20 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 20 L3 12 6 26 9 16 12 30 15 8 18 24 21 14 24 32 27 18 30 22 33 6 36 28 39 15 42 25 45 10 48 30 51 19 54 27 57 12 60 34 63 17 66 23 69 9 72 29 75 16 78 24 81 13 84 31 87 20 90 26 93 11 96 33 99 18 102 22 105 7 108 27 111 15 114 25 117 14 120 20 L120 20 117 26 114 15 111 25 108 13 105 33 102 18 99 22 96 7 93 29 90 14 87 20 84 9 81 27 78 16 75 24 72 11 69 31 66 17 63 23 60 6 57 28 54 13 51 21 48 10 45 30 42 15 39 25 36 12 33 34 30 18 27 22 24 8 21 26 18 16 15 32 12 10 9 24 6 14 3 28 0 20 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 120px 100%;
  mask-size: 120px 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  opacity: .3;
  transition: opacity .3s;
}
.cre-wave.is-active { opacity: .85; }

/* caption below the NLE */
.cre-reel-cap {
  max-width: 1200px;
  margin: 1.3rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cre-reel-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--mid);
  transition: color .2s, transform .3s var(--ease-out);
}
.cre-reel-link:hover { color: var(--amber); transform: translateX(3px); }

/* ================================================================
   02 STILLS — gallery grid
   Gap-free grid with a row unit = column/8; each figure pads itself
   by half the gap so cells tile exactly (no ragged rows).
   ================================================================ */
.cre-grid-wrap { container-type: inline-size; }
.cre-grid {
  --g: 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: calc(100cqw / 96);
  grid-auto-flow: row dense;
  margin: 0 calc(var(--g) / -2);
}
/* desktop placement (12 col, row unit = col/8): three clean bands
   band 1: two 16:9 pieces · band 2: four squares · band 3: two portraits + one 16:9 */
.cre-still:nth-child(1) { grid-area: 1 / 1  / span 27 / span 6; }   /* esports-1  (wide) */
.cre-still:nth-child(2) { grid-area: 1 / 7  / span 27 / span 6; }   /* esports-3  (wide) */
.cre-still:nth-child(3) { grid-area: 28 / 1 / span 24 / span 3; }   /* football-2 (sq)   */
.cre-still:nth-child(4) { grid-area: 28 / 4 / span 24 / span 3; }   /* football-3 (sq)   */
.cre-still:nth-child(5) { grid-area: 28 / 7 / span 24 / span 3; }   /* esports-2  (sq)   */
.cre-still:nth-child(6) { grid-area: 28 / 10 / span 24 / span 3; }  /* nj-naach   (sq)   */
.cre-still:nth-child(7) { grid-area: 52 / 1 / span 29 / span 3; }   /* hebron-ath-2 (tall) */
.cre-still:nth-child(8) { grid-area: 52 / 4 / span 29 / span 3; }   /* hebron-ath-3 (tall) */
.cre-still:nth-child(9) { grid-area: 52 / 7 / span 29 / span 6; }   /* hebron-ath-1 (wide) */

.cre-still {
  position: relative;
  padding: calc(var(--g) / 2);
  min-width: 0;
}
.cre-still-frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--border);
  transition: transform .5s var(--ease-out), box-shadow .4s;
}
.cre-still:hover .cre-still-frame,
.cre-still:focus-within .cre-still-frame {
  transform: scale(1.03) rotate(-.6deg);
  box-shadow: 0 0 0 1px var(--amber), 0 22px 60px rgba(0,0,0,.55), 0 0 40px rgba(var(--amber-rgb), .18);
  z-index: 2;
}
.cre-still:hover { z-index: 2; }
.cre-still-btn {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.cre-still-btn:focus-visible { outline-offset: -3px; }
.cre-still-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .4s;
  filter: saturate(.92);
}
.cre-still:hover .cre-still-btn img { filter: none; }

.cre-still-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.cre-still:hover .cre-still-cap, .cre-still:focus-within .cre-still-cap { opacity: 1; }
@media (hover: none) { .cre-still-cap { opacity: 1; } }
.cre-still-cap::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  opacity: .9;
  transition: opacity .3s;
}
.cre-still:hover .cre-still-cap::before { opacity: 1; }
.cre-tape {
  position: relative;
  display: inline-block;
  padding: .28rem .55rem;
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #140c02;
  background: var(--amber);
  border-radius: 3px;
  transform: rotate(-2deg);
  transform-origin: left center;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  white-space: nowrap;
}
.cre-still-name {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
  line-height: 1.3;
}
.cre-grid-note {
  margin-top: 1.6rem;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- lightbox ---------- */
.cre-lb {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.cre-lb[hidden] { display: none; }
.cre-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,6,.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: cre-fade .25s var(--ease-out) both;
}
.cre-lb-fig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(1100px, 100%);
  max-height: 100%;
}
.cre-lb-img-wrap {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cre-snap .38s var(--ease-out) both;
}
.cre-lb-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  max-height: calc(100dvh - 11rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px var(--border2);
}
.cre-lb-cap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  animation: cre-rise .45s var(--ease-out) .05s both;
}
.cre-lb-cap .cre-tape { animation: cre-tape-in .4s var(--ease-out) both; }
.cre-lb-name { font-size: .9rem; color: var(--text); }
.cre-lb-count { font-size: .62rem; letter-spacing: .12em; color: var(--muted); }

.cre-lb-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(20,20,20,.85);
  border: 1px solid var(--border2);
  transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease-out);
}
.cre-lb-btn:hover { color: #140c02; background: var(--amber); border-color: var(--amber); transform: scale(1.06); }
.cre-lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.cre-lb-prev { left: clamp(.6rem, 2vw, 2rem); top: 50%; margin-top: -23px; }
.cre-lb-next { right: clamp(.6rem, 2vw, 2rem); top: 50%; margin-top: -23px; }

@keyframes cre-snap    { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cre-tape-in { from { opacity: 0; transform: rotate(3deg) scale(.9); } to { opacity: 1; transform: rotate(-2deg); } }

/* ================================================================
   03 CREDITS
   ================================================================ */
.cre-credits-wrap { max-width: 980px; margin: 0 auto; }
.cre-credits-list { list-style: none; }
.cre-credit {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 1.2rem 3rem;
  padding: 2.1rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
  position: relative;
}
.cre-credit::before,
.cre-credit::after {
  content: '';
  position: absolute;
  bottom: -4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.cre-credit::before { left: -3px; }
.cre-credit::after  { right: -3px; }
.cre-credit:last-child { border-bottom: 0; }
.cre-credit:last-child::before, .cre-credit:last-child::after { display: none; }

.cre-credit-role {
  text-align: right;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .5rem;
  transition: color .3s;
}
.cre-credit:hover .cre-credit-role { color: var(--mid); }
.cre-credit-body { display: flex; flex-direction: column; gap: .35rem; }
.cre-credit-org {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
}
.cre-credit.is-now .cre-credit-org { color: var(--amber); }
.cre-now {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 .55rem;
  border-radius: 999px;
  font-size: .56rem;
  letter-spacing: .16em;
  color: #140c02;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(var(--amber-rgb), .45);
}
.cre-credit-dates { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cre-credit-desc { font-size: .95rem; color: var(--mid); max-width: 52ch; }
.cre-fin {
  margin-top: 2.6rem;
  text-align: center;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   04 TOOLKIT — effects rack
   ================================================================ */
.cre-rack {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: linear-gradient(180deg, var(--card2), var(--chrome));
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.cre-plug {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.15rem 1.1rem 1.05rem;
  border-radius: 8px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--border), inset 0 1px 0 rgba(255,255,255,.04), 0 6px 18px rgba(0,0,0,.35);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.cre-plug:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb), .35), inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.45);
}
.cre-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px rgba(var(--amber-rgb), .6), 0 0 0 2px rgba(var(--amber-rgb), .12);
  margin-bottom: .4rem;
  transition: box-shadow .3s;
}
.cre-plug:hover .cre-led { box-shadow: 0 0 14px rgba(var(--amber-rgb), 1), 0 0 0 3px rgba(var(--amber-rgb), .25); }
.cre-plug-name { font-size: .7rem; letter-spacing: .08em; color: var(--text); white-space: nowrap; }
.cre-plug-sub { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .cre-rack { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cre-vf { padding: 3.2rem 1.4rem; }
  .cre-vf-chrome { gap: .6rem; }
  .cre-vf-ctr, .cre-vf-cbr { display: none; }
  .cre-vf-ctl { left: 36px; }
  .cre-vf-cbl { left: 36px; }

  /* tablet: 6 columns, full-width bands, dense order tweak */
  .cre-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc(100cqw / 48); }
  .cre-still:nth-child(n) { grid-area: auto; }
  .cre-grid .cre-still-sq   { grid-column: span 3; grid-row: span 24; }
  .cre-grid .cre-still-wide { grid-column: span 6; grid-row: span 27; }
  .cre-grid .cre-still-tall { grid-column: span 3; grid-row: span 30; }

  .cre-credit { grid-template-columns: 1fr; gap: .5rem; padding: 1.7rem 0; }
  .cre-credit-role { text-align: left; padding-top: 0; }
  .cre-credit::before, .cre-credit::after { display: none; }
}

@media (max-width: 700px) {
  .cre-mc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 5px; }
  .cre-mc-bar { flex-wrap: wrap; gap: .5rem .8rem; padding: .5rem .5rem .5rem .8rem; }
  .cre-mc-tc { margin-left: auto; }
  .cre-mc-ctls { flex-basis: 100%; justify-content: flex-end; }
}

@media (max-width: 560px) {
  .cre-hero { padding: calc(var(--nav-h) + .8rem) 4vw 0; }
  .cre-vf { padding: 2.8rem .6rem 2.6rem; }
  .cre-vf-corner { width: 20px; height: 20px; }
  .cre-vf-chrome { font-size: .55rem; }
  .cre-vf-ctl { top: 8px; left: 28px; }
  .cre-vf-cbl { bottom: 8px; left: 28px; }
  .cre-h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .cre-role { font-size: clamp(1.7rem, 9vw, 2.6rem); }
  .cre-sub { font-size: .95rem; margin-top: 1.3rem; }
  .cre-ctas { margin-top: 1.8rem; gap: .6rem; }
  .cre-ctas .btn { padding: .8rem 1.3rem; font-size: .74rem; }
  .cre-film { margin: 2rem -4vw 0; padding: 14px 0; }
  .cre-frame { width: 120px; height: 76px; flex-basis: 120px; }

  .cre-nle-box { border-radius: 10px; }
  .cre-cam { border-radius: 5px; }
  .cre-cam-top, .cre-cam-bot { padding: .35rem .45rem; font-size: .5rem; }
  .cre-cam-label { display: none; }
  .cre-tl-grid { grid-template-rows: 26px 72px 36px; }
  .cre-ctl { min-width: 36px; padding: 0 .5rem; height: 34px; }

  /* phone: 2 columns */
  .cre-grid { --g: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc(100cqw / 16); }
  .cre-grid .cre-still-sq   { grid-column: span 1; grid-row: span 8; }
  .cre-grid .cre-still-wide { grid-column: span 2; grid-row: span 9; }
  .cre-grid .cre-still-tall { grid-column: span 1; grid-row: span 10; }
  .cre-still-frame { border-radius: 8px; }
  .cre-still-cap { padding: 8px; }
  .cre-tape { font-size: .5rem; padding: .22rem .4rem; }
  .cre-still-name { font-size: .68rem; }

  .cre-lb { padding: .8rem; }
  .cre-lb-img-wrap img { max-height: calc(100vh - 12rem); max-height: calc(100dvh - 12rem); }
  .cre-lb-btn { width: 42px; height: 42px; }
  .cre-lb-prev, .cre-lb-next { top: auto; bottom: 1rem; margin-top: 0; }
  .cre-lb-prev { left: 1rem; }
  .cre-lb-next { right: 1rem; }
  .cre-lb-fig { padding-bottom: 3.2rem; }

  .cre-credit-org { font-size: 1.15rem; }
  .cre-credit-desc { font-size: .9rem; }
  .cre-rack { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; border-radius: 10px; }
  .cre-plug { padding: 1rem .9rem .9rem; }
  .cre-plug-name { font-size: .64rem; white-space: normal; }
}

@media (max-width: 380px) {
  .cre-plug-name { font-size: .6rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cre-film-track { animation: none; }
  .cre-rec-dot { animation: none; }
  .cre-still:hover .cre-still-frame { transform: none; }
}
