/* =========================================================================
   Krunal Patel — "A Feature Presentation"
   Vanilla CSS, no build step. The whole site is a film: scroll is the
   camera, every section is a scene with one deliberate move.
   ========================================================================= */

:root {
  --black: #000; --ink: #070605; --panel: #100D0A;
  --line: rgba(140,109,79,.28); --line-soft: rgba(140,109,79,.14);
  --cream: #EAD8C7; --text: #E8DFD8; --muted: #A8988B; --dim: #6E6259;
  --gold: #D4AF37; --gold-soft: #C99E5D; --bronze: #8C6D4F;
  --display: 'Bebas Neue', 'Oswald', 'Impact', sans-serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Allura', 'Snell Roundhand', cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px; --gutter: clamp(20px, 5vw, 64px);
  --bars: 0px;            /* letterbox height, driven per scene */
  --gx: 50%; --gy: 30%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--sans); font-weight: 400; line-height: 1.7;
  /* `clip`, never `hidden`: overflow-x:hidden makes <body> a scroll
     container, which silently breaks every position:sticky descendant —
     it is what stopped the film strip and the shots from pinning. */
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
::selection { background: #cbb59d; color: #000; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* =========================================================================
   COLD OPEN
   ========================================================================= */
.coldopen {
  position: fixed; inset: 0; z-index: 300; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.coldopen.done { opacity: 0; visibility: hidden; }
.co-ring {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,.85); display: grid; place-items: center; overflow: hidden;
}
.co-ring::before { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(212,175,55,.35); border-radius: 50%; }
.co-ring::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.5%, rgba(212,175,55,.35) 49.5%, rgba(212,175,55,.35) 50.5%, transparent 50.5%), linear-gradient(0deg, transparent 49.5%, rgba(212,175,55,.35) 49.5%, rgba(212,175,55,.35) 50.5%, transparent 50.5%); }
.co-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212,175,55,.45), transparent 70%);
  animation: coSweep .66s linear infinite;
}
@keyframes coSweep { to { transform: rotate(360deg); } }
.co-count { position: relative; z-index: 1; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--cream); }
.co-presents { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: var(--bronze); }
.co-tc { position: absolute; right: clamp(20px, 4vw, 48px); bottom: calc(var(--bars-closed, 22vh) + 18px); font-size: 11px; letter-spacing: .16em; color: var(--gold); }

/* =========================================================================
   FILM LAYER — bars, grain, vignette, cursor, timecode, rail
   ========================================================================= */
.bar { position: fixed; left: 0; right: 0; height: var(--bars); background: #000; z-index: 120; pointer-events: none; transition: height 1.1s var(--ease); }
.bar-top { top: 0; } .bar-bot { bottom: 0; }
body.loading .bar { height: 50vh; transition: none; }

.grain {
  position: fixed; inset: -120px; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 700ms steps(3) infinite;
}
@keyframes grainShift { 0%{transform:translate(0,0)} 33%{transform:translate(-14px,8px)} 66%{transform:translate(9px,-12px)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 89; pointer-events: none; background: radial-gradient(ellipse at center, transparent 48%, rgba(0,0,0,.45) 100%); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(640px circle at var(--gx) var(--gy), rgba(212,175,55,.06), transparent 70%);
}

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 150; opacity: 0; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: rgba(235,215,195,.95); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(212,175,55,.45); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.cursor-ring.big { width: 62px; height: 62px; background: rgba(212,175,55,.1); border-color: rgba(212,175,55,.7); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
body.has-cursor.cursor-live .cursor-dot, body.has-cursor.cursor-live .cursor-ring { opacity: 1; }

.timecode {
  position: fixed; left: clamp(16px, 3vw, 40px); bottom: calc(var(--bars) + 18px); z-index: 121;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
  font-size: 10.5px; letter-spacing: .16em; color: var(--gold); transition: bottom 1.1s var(--ease), opacity .4s;
}
.timecode b { font-weight: 500; font-variant-numeric: tabular-nums; }
.timecode span { font-size: 9px; color: var(--dim); text-transform: uppercase; }
body.loading .timecode { opacity: 0; }

.rail {
  position: fixed; right: clamp(14px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); z-index: 121;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.rail a { display: flex; align-items: center; gap: 10px; opacity: .55; transition: opacity .3s; }
.rail a i { display: block; width: 2px; height: 22px; background: rgba(243,240,232,.28); transition: height .4s var(--ease), background-color .4s; }
.rail a span { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.rail a:hover span { opacity: 1; transform: none; }
.rail a.on { opacity: 1; } .rail a.on i { height: 54px; background: var(--gold); }
.rail a.on span { color: var(--cream); }

/* =========================================================================
   HEADER
   ========================================================================= */
#site-header {
  position: fixed; top: var(--bars); left: 0; right: 0; z-index: 110; padding-block: 22px;
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background-color .4s var(--ease), backdrop-filter .4s, border-color .4s, top 1.1s var(--ease), opacity .4s;
}
#site-header.scrolled { padding-block: 13px; background: rgba(7,6,5,.72); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
body.loading #site-header { opacity: 0; }
#site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 13px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--cream); }
.brand span { color: var(--gold); }
#site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-link { position: relative; font-size: 11px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); padding-block: 4px; transition: color .3s; }
.nav-link:hover { color: #FFF5EB; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: rgba(212,175,55,.5); transition: width .35s var(--ease); }
.nav-link:hover::after { width: 100%; }
.talk-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); padding: 10px 18px; border: 1px solid rgba(140,109,79,.5); backdrop-filter: blur(4px); transition: border-color .3s, color .3s, background-color .3s; }
.talk-btn:hover { border-color: var(--gold); color: #FFF5EB; background: rgba(212,175,55,.07); }
.talk-btn span { font-size: 10px; display: inline-block; transition: transform .3s var(--ease); }
.talk-btn:hover span { transform: translate(2px,-2px); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; background: none; border: 1px solid var(--line-soft); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1px; margin-inline: auto; background: var(--cream); transition: transform .35s var(--ease), opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 18px var(--gutter) 26px; background: rgba(7,6,5,.96); backdrop-filter: blur(16px); border-top: 1px solid var(--line-soft); }
.mobile-nav a { font-family: var(--display); font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); padding-block: 9px; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-child { color: var(--gold); border-bottom: none; }
@media (max-width: 900px) { .mobile-nav { display: flex; } }
.mobile-nav[hidden] { display: none !important; }

/* =========================================================================
   SHARED TYPE
   ========================================================================= */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 9.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--bronze); flex: none; }
.h2 { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 400; line-height: .9; letter-spacing: -.005em; text-transform: uppercase; margin: 0; color: var(--cream); }
.grad-text { background-image: linear-gradient(to bottom, #F7E7C4 0%, #C99E5D 55%, #543B1A 100%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 20px rgba(201,158,93,.28)); }
.tag { display: inline-block; font-size: 9.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,175,55,.45); padding: 4px 10px; }
.feat-org { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.feat-tags, .f-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.feat-tags span, .f-tags span { font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #BFA895; padding: 5px 11px; border: 1px solid var(--line-soft); }
.fk { display: block; font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.fv { display: block; font-size: 12.5px; font-weight: 300; color: var(--cream); }

/* masked line reveals (used by section heads) */
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.lines.in .line:nth-child(2) > span { transition-delay: .12s; }
.lines.in .line > span { transform: none; }

.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; overflow: hidden; transition: border-color .3s, color .3s, box-shadow .3s; }
.btn i { font-style: normal; font-size: 11px; transition: transform .3s var(--ease); }
.btn span { position: relative; z-index: 1; }
.btn-solid { border: 1px solid var(--bronze); background: rgba(18,15,12,.8); color: var(--cream); box-shadow: 0 0 25px rgba(212,175,55,.18); }
.btn-solid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(212,175,55,.22), rgba(212,175,55,.05)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn-solid:hover::after { transform: scaleX(1); }
.btn-solid::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,215,197,.4), transparent); z-index: 1; }
.btn-solid:hover { border-color: var(--gold); color: #FFF5EB; }
.btn-solid:hover i { transform: translate(2px,-2px); }
.btn-ghost { border: 1px solid rgba(140,109,79,.4); color: #BFA895; }
.btn-ghost:hover { border-color: var(--bronze); color: var(--cream); }
.btn-ghost:hover i { transform: translateY(2px); }

.scene { position: relative; z-index: 10; background: var(--black); }
.plate-caption { position: absolute; left: 22px; bottom: 22px; display: flex; gap: 16px; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.plate-caption span + span { color: var(--dim); }

/* =========================================================================
   SC.00 TITLE CARD — split editorial
   ========================================================================= */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  overflow: hidden; isolation: isolate;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: 110px clamp(20px, 4vw, 56px) 64px var(--gutter);
  max-width: 44rem; min-width: 0; position: relative; z-index: 2;
}
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: clamp(9px, 1vw, 11px); letter-spacing: .28em; text-transform: uppercase; color: #C4B29E; margin-bottom: 18px; }
.hero-kicker b { color: var(--bronze); font-weight: 400; margin-inline: 4px; }
.hero-kicker .dot { width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--gold); animation: livePulse 2.4s ease-out infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 rgba(212,175,55,.55)} 70%{box-shadow:0 0 0 9px rgba(212,175,55,0)} 100%{box-shadow:0 0 0 0 rgba(212,175,55,0)} }
.headline { font-family: var(--display); font-size: clamp(3.4rem, 8.2vw, 7rem); font-weight: 400; line-height: .84; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 20px; user-select: none; }
.headline .line { display: block; overflow: hidden; }
.headline .g { display: block; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.headline .g1 { background-image: linear-gradient(to bottom, #FFF 0%, #D5CBC0 55%, #605448 100%); filter: drop-shadow(0 4px 12px rgba(0,0,0,.85)); }
.headline .g2 { background-image: linear-gradient(to bottom, #F7E7C4 0%, #C99E5D 52%, #543B1A 100%); filter: drop-shadow(0 8px 25px rgba(201,158,93,.35)); }
.headline .g3 { background-image: linear-gradient(to bottom, #DFBE8A 0%, #9B7640 52%, #342410 100%); filter: drop-shadow(0 10px 30px rgba(155,118,64,.4)); }
.hero-desc { font-size: clamp(12.5px, 1.4vw, 13.5px); font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 31rem; margin: 0 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-sig { display: flex; flex-direction: column; align-items: flex-start; margin-top: 26px; user-select: none; }
.hero-sig p { margin: 10px 0 2px; font-size: 9.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #C4B29E; }
.gold-rule { width: 92px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(232,215,197,.7), transparent); box-shadow: 0 0 8px rgba(212,175,55,.4); }
.sig { font-family: var(--script); font-size: 1.9rem; line-height: 1.1; color: #D8AB64; letter-spacing: .04em; }

/* the plate */
.hero-plate { position: relative; overflow: hidden; min-height: 100svh; }
.hero-plate img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  filter: contrast(1.08) saturate(.78) brightness(.86);
  transform-origin: 50% 20%;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.02) translate(0,0);} to { transform: scale(1.1) translate(-1.5%, 1%);} }
.plate-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, #000 0%, rgba(0,0,0,.92) 14%, rgba(0,0,0,.45) 36%, transparent 60%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,.35) 22%, transparent 45%),
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 28%);
}
.plate-sweep {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 40%, rgba(255,240,214,.12) 50%, transparent 60%);
  animation: sweep 10s ease-in-out infinite; animation-delay: 2.6s;
}
@keyframes sweep { 0%,62%,100%{transform:translateX(-120%);opacity:0} 70%{opacity:1} 84%,99%{transform:translateX(120%);opacity:0} }
.hero-plate .plate-caption { left: auto; right: 22px; }

/* entrance */
.hero [data-d] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.15s var(--ease); }
.hero [data-d].in { opacity: 1; transform: none; }
.headline .line[data-d] { opacity: 1; transform: none; }
.headline .line[data-d] .g { transform: translateY(106%); transition: transform 1.25s var(--ease); }
.headline .line[data-d].in .g { transform: none; }
.hero-plate { opacity: 0; transform: scale(1.04); transition: opacity 1.6s var(--ease), transform 2s var(--ease); }
.hero-plate.in { opacity: 1; transform: none; }

/* =========================================================================
   OPENING CREDITS — stats with slot-reel digits
   ========================================================================= */
.stats { padding-block: clamp(40px, 6vw, 70px); }
.stat-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.stat { background: var(--black); padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 26px); text-align: center; }
.stat-num { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: .01em; display: inline-flex; align-items: flex-start; overflow: hidden; height: 1em; color: var(--gold-soft); }
.stat-num .ch { display: inline-block; }
.stat-num .reel { display: inline-flex; flex-direction: column; height: 1em; overflow: hidden; }
.stat-num .reel i { display: block; height: 1em; font-style: normal; transition: transform 1.6s cubic-bezier(.2,.9,.2,1); transform: translateY(0); }
.stat .label { margin-top: 8px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.stat-sweep { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 1.4s var(--ease) .4s; }
.stats.in .stat-sweep { transform: scaleX(1); }

/* =========================================================================
   SC.01 ABOUT — rack focus
   ========================================================================= */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 100svh; }
.about-plate { position: relative; overflow: hidden; min-height: 60vh; }
.about-plate img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  filter: grayscale(.35) contrast(1.1) brightness(.9) blur(var(--focus, 12px));
  transform: scale(var(--kb, 1.06));
  transition: filter .12s linear;
  will-change: filter, transform;
}
.about-fade { position: absolute; inset: 0; background: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 22%, transparent 55%), linear-gradient(to top, #000 0%, transparent 32%); }
.about-copy { align-self: center; padding-block: clamp(80px, 12vw, 140px); }
.about-text p { font-size: clamp(13px, 1.5vw, 14.5px); font-weight: 300; line-height: 1.95; color: var(--muted); margin: 0 0 22px; }
.about-text strong { color: var(--cream); font-weight: 600; }
.about .h2 { margin-bottom: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.facts > div { background: var(--black); padding: 18px 16px; }

/* =========================================================================
   SC.02 EXPERIENCE — the film strip (pinned, horizontal)
   ========================================================================= */
.strip-sec { height: 340vh; }
.strip-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 40px); padding-block: calc(var(--bars) + 60px) calc(var(--bars) + 40px); }
.strip-head .h2 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); }
.strip { position: relative; display: flex; flex-direction: column; background: #000; }
.sprockets { height: 22px; background: repeating-linear-gradient(to right, #000 0 22px, #17130F 22px 34px, #000 34px 46px); border-block: 1px solid #1c1712; }
.strip-track { display: flex; gap: 22px; padding: 22px 0 22px var(--gutter); width: max-content; will-change: transform; perspective: 1200px; }
.frame {
  width: clamp(280px, 26vw, 360px); min-height: 330px; padding: 24px 22px; flex: none;
  border: 1px solid var(--line-soft); background: #0B0908; color: var(--text);
  display: flex; flex-direction: column; gap: 6px;
  transform-style: preserve-3d; transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s;
}
.frame h3 { margin: 0; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; line-height: 1.25; color: var(--cream); }
.frame .f-idx { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: rgba(140,109,79,.6); }
.frame .f-co { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.frame p { margin: 12px 0 0; font-size: 12.5px; font-weight: 300; line-height: 1.75; color: var(--muted); }
.frame.lit { background: #EFE7DA; border-color: var(--gold); color: #1B1916; box-shadow: 0 0 0 1px rgba(212,175,55,.5), 0 30px 70px rgba(0,0,0,.7), 0 0 60px rgba(212,175,55,.15); }
.frame.lit h3 { color: #0B0906; }
.frame.lit p { color: #4A423A; }
.frame.lit .f-idx { color: var(--gold-soft); }
.frame.lit .f-co { color: #8F7228; }
.frame.lit .f-tags span { color: #4A423A; border-color: rgba(27,25,22,.2); }
.strip-foot { display: flex; align-items: center; gap: 24px; }
.playhead { flex: 1; height: 2px; background: rgba(243,240,232,.12); }
.playhead i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .1s linear; }
.strip-count { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.strip-count b { color: var(--gold); font-weight: 500; }

/* =========================================================================
   SC.03 FEATURED — four full-frame shots (pinned)
   ========================================================================= */
.shots-sec { height: 440vh; }
.shots-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.shots-head { position: absolute; top: calc(var(--bars) + 80px); left: 0; right: 0; z-index: 3; }
.ghost-num { position: absolute; right: clamp(-10px, 2vw, 40px); top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: clamp(14rem, 34vw, 32rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(140,109,79,.22); pointer-events: none; user-select: none; transition: opacity .6s; }
.shot {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  padding-block: var(--bars); opacity: 0; transform: scale(.96); pointer-events: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s;
}
.shot.on { opacity: 1; transform: none; pointer-events: auto; z-index: 2; }
.shot.out { opacity: 0; transform: scale(1.06); filter: brightness(.5); }
.shot-copy { max-width: 36rem; }
.shot-copy .h2 { margin: 14px 0 0; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.shot-copy p { margin: 18px 0 0; font-size: 13.5px; font-weight: 300; line-height: 1.85; color: var(--muted); max-width: 32rem; }
.shot-diagram { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-inline: var(--gutter); }
.shot-diagram svg { width: min(100%, 540px); height: auto; overflow: visible; }
/* Each element draws itself in. Tier classes (t1..t5) stagger the build so
   the diagram assembles outward from its actors rather than all at once —
   nth-child could not express that once the diagrams grew past a few paths. */
.shot-diagram .d { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.shot.on .shot-diagram .d { animation: draw 1.5s var(--ease) forwards; }
.shot.on .shot-diagram .t1 { animation-delay: .05s; }
.shot.on .shot-diagram .t2 { animation-delay: .30s; }
.shot.on .shot-diagram .t3 { animation-delay: .55s; }
.shot.on .shot-diagram .t4 { animation-delay: .80s; }
.shot.on .shot-diagram .t5 { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.shot-diagram text { opacity: 0; transition: opacity .7s 1.9s; }
.shot.on .shot-diagram text { opacity: 1; }
.diag-cap { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.shots-foot { position: absolute; bottom: calc(var(--bars) + 40px); left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.shot-dots { display: flex; gap: 8px; }
.shot-dots i { width: 30px; height: 2px; background: rgba(243,240,232,.2); transition: background-color .4s; }
.shot-dots i.on { background: var(--gold); }
.shot-count { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.shot-count b { color: var(--gold); font-weight: 500; }

/* =========================================================================
   SC.04 INDEX — the credits roll
   ========================================================================= */
.index { padding-block: clamp(80px, 12vw, 140px); }
.index-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line-soft); padding: 9px 16px; cursor: pointer; transition: color .3s, border-color .3s, background-color .3s; }
.filter-btn:hover { color: var(--cream); border-color: var(--bronze); }
.filter-btn.active { color: #0B0906; background: linear-gradient(180deg, #E4C67C, #C99E5D); border-color: transparent; }
.roll { position: relative; height: min(62vh, 620px); overflow: hidden; border-block: 1px solid var(--line-soft); }
.roll::before, .roll::after { content: ''; position: absolute; left: 0; right: 0; height: 110px; z-index: 2; pointer-events: none; }
.roll::before { top: 0; background: linear-gradient(to bottom, #000, transparent); }
.roll::after { bottom: 0; background: linear-gradient(to top, #000, transparent); }
.roll-track { will-change: transform; animation: roll var(--roll-dur, 48s) linear infinite; }
.roll.paused .roll-track, .roll:hover .roll-track { animation-play-state: paused; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.idx-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.idx-table td { padding: 14px 18px; border-bottom: 1px solid rgba(140,109,79,.09); color: var(--muted); font-weight: 300; }
.idx-table tbody tr { transition: background-color .25s; }
.idx-table tbody tr:hover { background: rgba(212,175,55,.06); }
.idx-table tbody tr:hover .row-name { color: #FFF5EB; }
.idx-table tbody td:first-child { position: relative; }
.idx-table tbody td:first-child::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .3s var(--ease); }
.idx-table tbody tr:hover td:first-child::before { transform: scaleY(1); }
.row-id { font-family: var(--display); font-size: 14px; letter-spacing: .06em; color: var(--gold); white-space: nowrap; width: 110px; }
.row-name { color: var(--cream); font-weight: 400; }
.row-org { width: 220px; }
.row-cat { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; width: 210px; }
.roll-hint { position: absolute; right: 18px; bottom: 12px; z-index: 3; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

/* =========================================================================
   SC.05 STACK — marquee lanes
   ========================================================================= */
.stack { padding-block: clamp(60px, 8vw, 100px) clamp(70px, 9vw, 110px); overflow: hidden; }
.lanes { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.lane { overflow: hidden; white-space: nowrap; }
.lane-track { display: inline-flex; align-items: center; gap: 34px; will-change: transform; }
.lane-track span { font-family: var(--display); font-size: clamp(2rem, 5.2vw, 4.4rem); letter-spacing: .04em; line-height: 1; color: rgba(232,223,216,.9); text-transform: uppercase; }
.lane-track b { width: 7px; height: 7px; background: rgba(212,175,55,.45); transform: rotate(45deg); flex: none; }
.lane.gold .lane-track span { color: var(--gold-soft); }
.lane.dim .lane-track span { color: rgba(232,223,216,.32); }

/* =========================================================================
   END CARD
   ========================================================================= */
.end { position: relative; overflow: hidden; padding-block: clamp(120px, 18vw, 220px) 0; text-align: center; }
.end-ghost { position: absolute; left: 50%; top: 50%; width: min(70vh, 640px); height: auto; transform: translate(-50%, -56%); opacity: 0; filter: grayscale(1) contrast(1.15); mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 68%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 68%); transition: opacity 2.4s var(--ease); pointer-events: none; }
.end.in .end-ghost { opacity: .09; }
.end-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.end-h { font-size: clamp(3rem, 10vw, 8rem); margin-bottom: 22px; }
.end-card > p { max-width: 40rem; margin: 0 auto 34px; font-size: 13px; font-weight: 300; color: var(--muted); }
.credits { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(70px, 10vw, 130px); padding-block: 26px calc(var(--bars) + 26px); border-top: 1px solid var(--line-soft); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); transition: padding 1.1s var(--ease); }
.credits .fin { font-family: var(--display); font-size: 22px; letter-spacing: .2em; color: var(--gold); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .rail { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-plate { min-height: 62vh; }
  .about-fade { background: linear-gradient(to top, #000 0%, rgba(0,0,0,.4) 40%, transparent 70%); }
}
@media (max-width: 900px) {
  #site-header nav { display: none; } .menu-btn { display: flex; }
  .timecode { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-plate { order: -1; min-height: 0; height: 64svh; }
  .hero-plate img { object-position: 50% 2%; }
  .plate-fade { background: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 30%, transparent 62%), linear-gradient(to bottom, rgba(0,0,0,.7) 0%, transparent 30%); }
  .hero-copy { padding: 8px var(--gutter) 70px; margin-top: -90px; }
  .hero-plate .plate-caption { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  /* strip: unpinned, vertical, snapping */
  .strip-sec { height: auto; }
  .strip-sticky { position: static; height: auto; padding-block: 80px 60px; }
  .strip { flex-direction: row; }
  .sprockets { width: 18px; height: auto; background: repeating-linear-gradient(to bottom, #000 0 18px, #17130F 18px 28px, #000 28px 38px); border-block: none; border-inline: 1px solid #1c1712; }
  .strip-track { flex-direction: column; width: 100%; padding: 16px; transform: none !important; perspective: none; gap: 14px; }
  .frame { width: 100%; min-height: 0; transform: none !important; scroll-snap-align: center; }
  .strip-foot .playhead { display: none; }
  /* shots: unpinned, stacked, snapping */
  .shots-sec { height: auto; }
  .shots-sticky { position: static; height: auto; overflow: visible; }
  .shots-head { position: static; padding-top: 80px; margin-bottom: 20px; }
  .shot { position: relative; inset: auto; grid-template-columns: 1fr; opacity: 1; transform: none; pointer-events: auto; min-height: 100svh; padding-block: 40px; scroll-snap-align: start; filter: none !important; }
  .shot .shot-copy { order: 1; } .shot .shot-diagram { order: 2; margin-top: 30px; }
  .shot .shot-diagram .d { animation: draw 2.2s var(--ease) forwards; }
  .shot .shot-diagram text { opacity: 1; }
  .ghost-num { display: none; } .shots-foot { display: none; }
  .row-org, .row-cat { display: none; }
  .roll { height: 480px; }
  .credits { justify-content: center; text-align: center; }
}

/* =========================================================================
   REDUCED MOTION — unpin everything, kill every move, keep the site whole
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain, .co-sweep, .plate-sweep, .hero-plate img, .hero-kicker .dot { animation: none !important; }
  .coldopen { display: none; } body.loading { overflow: auto; } body.loading .bar { height: var(--bars); } body.loading #site-header, body.loading .timecode { opacity: 1; }
  .hero [data-d], .hero-plate, .headline .line[data-d] .g, .lines .line > span, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .about-plate img { filter: grayscale(.35) contrast(1.1) brightness(.9); transform: none; }
  .strip-sec { height: auto; } .strip-sticky { position: static; height: auto; }
  .strip-track { transform: none !important; flex-wrap: wrap; width: 100%; padding-inline: var(--gutter); } .frame { transform: none !important; }
  .shots-sec { height: auto; } .shots-sticky { position: static; height: auto; }
  .shot { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; min-height: 0; padding-block: 60px; }
  .shot .shot-diagram .d { stroke-dashoffset: 0; animation: none; } .shot .shot-diagram text { opacity: 1; }
  .ghost-num, .shots-foot { display: none; }
  .roll { height: auto; } .roll-track { animation: none; } .roll::before, .roll::after, .roll-hint { display: none; }
  .lane-track { transform: none !important; }
  .end-ghost { display: none; }
}

/* =========================================================================
   PROOF CARD — the real award photograph, in About
   ========================================================================= */
.proof {
  display: flex; align-items: center; gap: 20px;
  margin-top: 26px; padding: 16px 22px 16px 16px;
  border: 1px solid var(--line-soft); background: linear-gradient(120deg, rgba(212,175,55,.05), transparent 55%), #060504;
  transition: border-color .45s var(--ease);
}
.proof:hover { border-color: rgba(212,175,55,.35); }
/* The award is a product shot on white, so it sits CONTAINED on a light tile
   rather than cropped into the dark card — the whole artifact stays readable
   and it reads as a photograph of a physical thing, which is the point.
   Both width AND height are set: with only a width the element stretched to
   its HTML height attribute and made the card 1000px tall. */
.proof img {
  width: 196px; height: 158px; flex: none;
  object-fit: contain; object-position: center;
  background: #F2EDE3; padding: 8px;
  border: 1px solid rgba(212,175,55,.28);
}
.proof-body { padding: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.proof-body strong { color: var(--cream); font-weight: 600; }
.proof-kicker { font-size: 9px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.proof-body p { margin: 0; font-size: 12.5px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* =========================================================================
   INDEX SEARCH
   ========================================================================= */
.index-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 4px 0 16px; }
.idx-search {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 320px; max-width: 460px;
  padding: 10px 14px; border: 1px solid var(--line-soft); background: #060504;
  transition: border-color .3s var(--ease);
}
.idx-search:focus-within { border-color: rgba(212,175,55,.5); }
.idx-search svg { width: 15px; height: 15px; flex: none; color: var(--bronze); }
.idx-search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-family: var(--sans); font-size: 12px; font-weight: 300; letter-spacing: .04em; color: var(--cream);
}
.idx-search input::placeholder { color: var(--dim); }
.idx-search input::-webkit-search-cancel-button { display: none; }
.idx-clear { background: none; border: none; color: var(--dim); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 2px; transition: color .3s; }
.idx-clear:hover { color: var(--gold); }
.idx-count { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.roll-empty { margin: 0; padding: 46px 18px; text-align: center; font-size: 12.5px; font-weight: 300; color: var(--dim); }

/* =========================================================================
   END CARD — copy button + socials
   ========================================================================= */
.end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.copy-btn { font-family: var(--sans); cursor: pointer; background: none; }
.copy-btn .copy-icon { display: inline-flex; }
.copy-btn .copy-icon svg { width: 14px; height: 14px; }
.copy-btn.copied { border-color: var(--gold); color: var(--gold); }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border: 1px solid var(--line-soft);
  font-size: 9.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.socials a svg { width: 15px; height: 15px; }
.socials a:hover { border-color: var(--gold); color: var(--cream); background: rgba(212,175,55,.06); }
.socials a.is-pending { opacity: .4; pointer-events: none; }

@media (max-width: 900px) {
  .proof img { width: 132px; height: 106px; }
  .index-controls { flex-direction: column; align-items: stretch; }
  .idx-search { max-width: none; }
  .idx-count { text-align: right; }
}
