/* ============ Tokens ============ */
:root {
  --bg: #fbfbfd;
  --bg-2: #f2f2f5;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #c76a00;
  --accent-2: #f0a020;
  --glass: rgba(251, 251, 253, 0.72);
  --hud: rgba(29, 29, 31, 0.55);
  --unlit: rgba(29, 29, 31, 0.16);
  --mono-filter: none;
  --mono-opacity: 0.82;
  --grain: 0.035;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-2: #0d0d0f;
    --surface: #151517;
    --text: #f5f5f7;
    --muted: #8e8e93;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #f5a524;
    --accent-2: #ffcf70;
    --glass: rgba(0, 0, 0, 0.66);
    --hud: rgba(245, 245, 247, 0.6);
    --unlit: rgba(245, 245, 247, 0.16);
    --mono-filter: invert(1);
    --mono-opacity: 0.86;
    --grain: 0.06;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #0d0d0f;
  --surface: #151517;
  --text: #f5f5f7;
  --muted: #8e8e93;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f5a524;
  --accent-2: #ffcf70;
  --glass: rgba(0, 0, 0, 0.66);
  --hud: rgba(245, 245, 247, 0.6);
  --unlit: rgba(245, 245, 247, 0.16);
  --mono-filter: invert(1);
  --mono-opacity: 0.86;
  --grain: 0.06;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Mukta", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.mono, .kicker, .eyebrow, .hud, .frame-no, .slate-field label, .edu-label, .feat-tag, .credit dt, .leader, .hint {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.title { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 48px; }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding: clamp(96px, 14vw, 180px) 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* scroll-driven scenes */
.scene { position: relative; --p: 0; }
.scene > .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ============ Marathi ============ */
/* Devanagari needs normal letter-spacing (tight tracking breaks the headline bar) and taller lines */
html[lang="mr"] body *:not(.hero-name):not(.hero-name *) { letter-spacing: 0 !important; }
html[lang="mr"] :is(.kicker, .eyebrow, .frame-no, .slate-field label, .edu-label, .feat-tag, .cs-label, .cs-meta span, .cs-key, .roll-group span, .hint, .wrap, .card-meta .tag, .swipe-info, .scroll-cue, .cursor-label) {
  font-family: "Mukta", -apple-system, sans-serif; text-transform: none;
}
html[lang="mr"] :is(.title, .contact-title, .hero-tagline, .reveal-words, .frame h3, .edu-card h3, .feat-overlay h3, .card-meta h3) { line-height: 1.3; }
html[lang="mr"] .reveal-words { font-size: clamp(1.35rem, 2.9vw, 2.35rem); }
html[lang="mr"] .wrap { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
/* small labels: Devanagari needs a little more size than Latin caps to stay readable */
html[lang="mr"] :is(.kicker, .frame-no, .slate-field label, .edu-label, .feat-tag, .cs-label, .cs-meta span, .cs-key, .roll-group span, .hint, .card-meta .tag, .swipe-info, .scroll-cue, .cs-day span) { font-size: 15px; font-weight: 600; }
html[lang="mr"] .eyebrow { font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; }
html[lang="mr"] .callsheet { font-family: "Mukta", -apple-system, sans-serif; font-size: 16px; }
html[lang="mr"] .cs-rows a[href^="mailto"], html[lang="mr"] .cs-rows a[href^="tel"] { font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; font-size: 14px; }

.lang-toggle {
  display: inline-flex; align-items: center; height: 32px; padding: 3px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; font-weight: 600; gap: 2px;
}
.lang-toggle span { padding: 4px 9px; border-radius: 999px; color: var(--muted); transition: background .3s, color .3s; line-height: 1.2; }
.lang-toggle .lt-mr { font-family: "Mukta", sans-serif; font-size: 13px; }
html:not([lang="mr"]) .lang-toggle .lt-en, html[lang="mr"] .lang-toggle .lt-mr { background: var(--text); color: var(--bg); }

/* ============ Film-style section transitions ============ */
.film-burn {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255,190,90,.95), rgba(255,120,40,.5) 35%, transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(255,215,150,.8), transparent 65%),
    rgba(255,240,220,.25);
  mix-blend-mode: screen; visibility: hidden;
}
.film-burn.flash { visibility: visible; }
.cue-mark { visibility: hidden; }
.cue-mark.blink { visibility: visible; }
.film-burn.flash { animation: burn .62s cubic-bezier(.3,.6,.3,1); }
@keyframes burn {
  0% { opacity: 0; transform: translateX(0); }
  18% { opacity: .55; transform: translateX(-6px); }
  30% { opacity: .2; transform: translateX(4px); }
  42% { opacity: .42; transform: translateX(0); }
  100% { opacity: 0; }
}
/* the reel-change "cigarette burn" in the top-right corner */
.cue-mark {
  position: fixed; top: 74px; right: 7vw; z-index: 91; pointer-events: none; opacity: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,240,210,.85) 45%, rgba(255,200,120,.25) 70%, transparent 72%);
  box-shadow: 0 0 18px rgba(255,220,160,.6);
}
.cue-mark.blink { animation: cue2 .5s steps(1); }
@keyframes cue2 { 0% { opacity: 1; } 22% { opacity: 0; } 44% { opacity: 1; } 66%, 100% { opacity: 0; } }

/* ============ Leader countdown ============ */
.leader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: #0b0b0b; color: #eaeaea; cursor: pointer;
  transition: opacity .7s ease, visibility .7s;
}
.leader.done { opacity: 0; visibility: hidden; }
.leader-ring {
  position: relative; width: min(56vw, 300px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255,255,255,.06), inset 0 0 0 18px rgba(255,255,255,.04);
}
.leader-sweep {
  position: absolute; inset: 0;
  background: conic-gradient(rgba(255,255,255,.22) var(--sweep, 0deg), transparent 0);
}
.leader-cross::before, .leader-cross::after { content: ""; position: absolute; background: rgba(255,255,255,.35); }
.leader-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.leader-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.leader-cross { position: absolute; inset: 0; }
.leader-num { position: relative; font-size: clamp(5rem, 22vw, 9rem); font-weight: 500; line-height: 1; }
.leader-skip { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; opacity: .5; margin: 0; }

/* ============ Progress + Nav ============ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { will-change: transform; display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 52px; padding: 0 max(16px, calc((100% - 1120px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s ease, background-color .5s ease;
}
.nav.hidden { transform: translateY(-100%); }
.nav-mark {
  font-weight: 700; font-size: 13px; letter-spacing: .06em;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--text);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.site-version {
  font: 500 10px/1 "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em;
  color: var(--muted); opacity: .7; user-select: all;
}
.footer-version { margin-left: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; }
.nav-links a { color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: transform .4s ease, border-color .3s;
}
.theme-toggle:hover { transform: rotate(25deg); border-color: var(--accent); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; width: 36px; height: 36px; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .3s ease; }
.menu-toggle span:first-child { top: 14px; } .menu-toggle span:last-child { top: 21px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  height: 260vh;
  /* the opening screen is always dark: it sits on top of the showreel */
  --text: #f5f5f7; --muted: #b8b8bd; --hud: rgba(245,245,247,.7); --accent: #f5a524; --accent-2: #ffcf70;
  color: var(--text); background: #000;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
  transform: scale(calc(1.06 - var(--p) * 0.06));
  will-change: transform, opacity;
}
.hero-dim { position: absolute; inset: 0; background: #000; opacity: calc(var(--p) * 0.5); will-change: opacity; }
.hero-video.ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.8) 100%);
}
.hero .sticky { display: grid; place-items: center; }
.hero-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at calc(30% + var(--mx, 0) * 10%) calc(35% + var(--my, 0) * 10%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(35% 30% at 75% 70%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%);
  opacity: calc(1 - var(--p) * 0.6);
  will-change: opacity;
}
.letterbox { position: absolute; left: 0; right: 0; height: 14vh; background: #000; z-index: 3; transform: scaleY(min(calc(var(--p) * 2.2), 1)); will-change: transform; }
.lb-top { top: 0; transform-origin: 50% 0; } .lb-bottom { bottom: 0; transform-origin: 50% 100%; }
.hud { position: absolute; inset: 72px 24px 24px; z-index: 4; color: var(--hud); font-size: 12px; letter-spacing: .12em; pointer-events: none; opacity: calc(1 - var(--p) * 1.6); }
.corner { position: absolute; width: 28px; height: 28px; border: 0 solid currentColor; }
.corner.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud-tl, .hud-tr, .hud-bl, .hud-br { position: absolute; }
.hud-tl { top: 14px; left: 40px; display: flex; align-items: center; gap: 8px; }
.hud-tr { top: 14px; right: 40px; }
.hud-bl { bottom: 12px; left: 40px; }
.hud-br { bottom: 12px; right: 40px; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud-center { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); }
.hud-center::before, .hud-center::after { content: ""; position: absolute; background: currentColor; }
.hud-center::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hud-center::after { top: 50%; left: 0; right: 0; height: 1px; }

.hero-content {
  position: relative; z-index: 2; text-align: center; padding: 0 16px;
  transform: scale(calc(1 - var(--p) * 0.35)) translateY(calc(var(--p) * -12vh));
  opacity: clamp(0, 1 - var(--p) * 2.6, 1);
  will-change: transform, opacity;
}
.eyebrow { font-size: clamp(11px, 1.4vw, 14px); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow-sep { white-space: pre; }
@media (max-width: 560px) {
  .eyebrow span:not(.eyebrow-sep) { display: block; }
  .eyebrow span + .eyebrow-sep + span { margin-top: 6px; }
  .eyebrow-sep { display: none; }
}
.hero-name {
  margin: 0; padding: 0 .04em .12em; font-weight: 800; letter-spacing: -0.05em; line-height: .9;
  font-size: clamp(3.4rem, 15vw, 11.5rem);
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, var(--accent)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-name span { display: inline-block; }
.hero-sub { margin: 24px 0 0; color: var(--muted); font-size: clamp(14px, 1.6vw, 18px); }

.hero-tagline { will-change: transform, opacity;

  position: absolute; z-index: 5; left: 50%; top: 50%; width: min(940px, 100% - 32px); margin: 0;
  transform: translate(-50%, calc(-50% + (1 - clamp(0, (var(--p) - 0.3) * 2.5, 1)) * 60px));
  opacity: clamp(0, (var(--p) - 0.3) * 2.5, 1);
  text-align: center; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12;
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
}
.hero-tagline em { font-style: normal; color: var(--accent); }
.hero-name { text-shadow: none; filter: drop-shadow(0 6px 40px rgba(0,0,0,.45)); }
.scroll-cue {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
  display: grid; justify-items: center; gap: 10px; opacity: calc(1 - var(--p) * 5);
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ============ About ============ */
.about { height: 260vh; }
.about .sticky { display: grid; align-items: center; }
.about-grid { display: grid; grid-template-columns: minmax(240px, .78fr) 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow); background: #111;
  opacity: min(calc(0.15 + var(--p) * 6), 1);
  transform: scale(calc(0.94 + min(var(--p) * 6, 1) * 0.06));
  will-change: transform, opacity;
}
/* the photo "develops" like film as the bio is read: a colour copy fades in over a black & white one */
.ph-media { position: absolute; inset: 0; transform: scale(calc(1.12 - min(var(--p) * 1.4, 1) * .12)); will-change: transform; }
.ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-bw { filter: grayscale(1) contrast(1.15) brightness(.85); }
.ph-col { opacity: min(calc(var(--p) * 1.4), 1); will-change: opacity; }
.about-photo .crop { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,.85); }
.about-photo .crop.tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.about-photo .crop.tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.about-photo .crop.bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.about-photo .crop.br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.about-photo figcaption {
  position: absolute; left: 44px; bottom: 16px; display: flex; align-items: center; gap: 7px;
  font: 500 11px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.about-photo figcaption .rec-dot { width: 7px; height: 7px; }
.reveal-words { font-size: clamp(1.5rem, 3.3vw, 2.75rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 600; margin: 0; text-align: justify; text-align-last: left; word-spacing: -0.02em; }
.reveal-words .w { color: var(--unlit); transition: color .35s ease; }
.reveal-words .w.lit { color: var(--text); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.stat { background: var(--bg); padding: 36px 28px; }
.stat-num, .stat-plus { font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat-plus { color: var(--accent); }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ============ Film strip ============ */
.strip .sticky { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.strip-head .title { margin-bottom: 32px; }
.track {
  display: flex; gap: 0; width: max-content;
  padding: 34px 0; margin-left: max(16px, calc((100vw - 1120px) / 2));
  background: #0c0c0c;
  border-radius: 6px;
  position: relative;
  will-change: transform;
}
.track::before, .track::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 0), linear-gradient(90deg, transparent 6px, #f4f4f4 6px, #f4f4f4 18px, transparent 18px);
  background-size: 28px 14px; opacity: .9;
  -webkit-mask: linear-gradient(#000, #000); border-radius: 3px;
}
.track::before { top: 10px; } .track::after { bottom: 10px; }
.frame {
  flex: 0 0 auto; width: clamp(300px, 42vw, 540px); aspect-ratio: 16 / 10;
  margin: 0 8px; padding: 26px; border-radius: 4px;
  background: linear-gradient(160deg, #222 0%, #121212 60%, #1a1208 100%);
  color: #f5f5f7; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.frame::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 80% 10%, rgba(245, 165, 36, .28), transparent 70%);
  opacity: .8; transition: opacity .5s;
}
.frame:hover::before { opacity: 1; }
.frame-icon {
  position: absolute; top: 20px; right: 22px; width: clamp(56px, 6vw, 84px); height: auto;
  fill: none; stroke: #f5a524; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .55;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s;
}
.frame:hover .frame-icon { transform: scale(1.08) rotate(-4deg); opacity: .85; }
.media-bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.media-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 32%, rgba(0,0,0,0) 60%); }
.frame.has-img::before { z-index: 1; opacity: .35; }
.frame.has-img .frame-icon { display: none; }
.frame.has-img:hover .media-bg { transform: scale(1.07); }
.frame > :not(.media-bg) { z-index: 2; }
.frame-no { position: absolute; top: 18px; left: 22px; font-size: 12px; letter-spacing: .2em; color: #f5a524; }
.frame h3 { position: relative; margin: 0 0 8px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 3px rgba(0,0,0,.6); }
.frame p { text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.frame p { position: relative; margin: 0; color: #a1a1a6; font-size: 15px; }

/* ============ Experience slates ============ */
.slates { display: grid; gap: 40px; }
.slate { border-radius: 18px; overflow: hidden; background: #111; color: #f5f5f7; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); }
.clapper { position: relative; height: 60px; perspective: 600px; }
.clap-top, .clap-bottom {
  position: absolute; left: 0; right: 0; height: 26px;
  background: repeating-linear-gradient(-55deg, #f5f5f7 0 22px, #111 22px 44px);
}
.clap-bottom { bottom: 0; background: repeating-linear-gradient(55deg, #f5f5f7 0 22px, #111 22px 44px); }
.clap-top {
  top: 0; transform-origin: 0 100%;
  transform: rotate(-9deg) translateY(-6px);
  transition: transform .5s cubic-bezier(.6, -0.4, .3, 1.4) .45s;
}
.slate.in .clap-top { transform: rotate(0) translateY(0); }
.slate.current .clap-top { background: repeating-linear-gradient(-55deg, var(--accent-2) 0 22px, #111 22px 44px); }
.slate.current .clap-bottom { background: repeating-linear-gradient(55deg, var(--accent-2) 0 22px, #111 22px 44px); }
.slate-body { padding: 28px clamp(20px, 4vw, 40px) 34px; }
.slate-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.slate-row.three { display: grid; grid-template-columns: 1.6fr 1fr .7fr; align-items: start; }
.slate-field label { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8e8e93; margin-bottom: 6px; }
.slate-field strong { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; }
.slate-field.wide strong { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.slate-logo { height: 44px; width: auto; max-width: 180px; object-fit: contain; flex: 0 0 auto; }
.slate-logo.tile { height: 64px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.live { display: inline-block; margin-left: 6px; font-size: 12px; color: #ff453a; font-weight: 500; animation: blink 1.6s steps(2) infinite; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #d1d1d6; }

/* ============ Education ============ */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edu-card {
  padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  background: var(--bg-2); border: 1px solid var(--line);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.edu-card > * { position: relative; z-index: 1; }
.edu-card > .media-bg { position: absolute; z-index: 0; }
.edu-card:hover .media-bg { transform: scale(1.06); }
.edu-card .media-bg::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 32%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.88) 100%); }
.edu-art { position: absolute !important; z-index: 0 !important; right: -6%; top: 6%; width: 78%; color: var(--accent); opacity: .28; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.edu-card:hover .edu-art { transform: translateY(-6px) scale(1.03); opacity: .45; }
.edu-card:first-child { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-color: var(--bg-2); }
.edu-card.has-img { color: #fff; border-color: transparent; }
.edu-card.has-img .edu-art { display: none; }
.edu-card.has-img p { color: rgba(255,255,255,.75); }
.edu-card.has-img .edu-label { color: #ffcf70; }
.edu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.edu-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: auto; }
.edu-card h3 { margin: 32px 0 6px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.05; }
.edu-card p { margin: 0; color: var(--muted); }

/* ============ Featured film ============ */
.featured { height: 240vh; }
.featured .sticky { display: grid; place-items: center; }
.feat-intro {
  position: absolute; top: 14vh; left: 0; right: 0; text-align: center; padding: 0 16px;
  opacity: clamp(0, 1 - var(--p) * 2.5, 1); transform: translateY(calc(var(--p) * -60px));
}
.feat-media {
  position: relative; display: block; overflow: hidden;
  /* always 16:9 so the thumbnail is never cropped; grows to fill the width (or height on tall screens) */
  /* full size, scaled down by the script (--fs) so growing never re-lays out the page */
  width: min(100vw, 100svh * 16 / 9);
  aspect-ratio: 16 / 9;
  transform: translateY(calc((1 - min(var(--p) * 1.6, 1)) * 18vh)) scale(var(--fs, .56));
  border-radius: 16px; will-change: transform;
  background: #000; box-shadow: var(--shadow);
  isolation: isolate;
}
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px;
  padding: clamp(20px, 5vw, 64px); text-align: left; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 55%);
  opacity: clamp(0, (var(--p) - 0.45) * 3, 1);
}
.feat-tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #ffcf70; }
.feat-overlay h3 { margin: 0; font-size: clamp(1.8rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; max-width: 16ch; }
.play-btn {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35); margin-top: 10px; transition: transform .3s, background .3s;
}
.feat-media:hover .play-btn { transform: scale(1.08); background: rgba(255,255,255,.3); }

/* ============ Work grid ============ */
.work-section { padding-top: 120px; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.work-head .title { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.filters button.on, .filters button:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px; align-items: start; }
.swipe-info { display: none; align-items: center; gap: 12px; margin-top: 18px; font: 500 12px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.swipe-count { color: var(--text); }
.swipe-hint::after { content: " →"; display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.swipe-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.swipe-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.1); transition: transform .2s; }
.card { text-align: left; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; width: 100%; }
.card.hide { display: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.card-media.vertical { aspect-ratio: 9 / 16; max-height: 520px; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media.portrait .portrait-bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: none; }
.card-media.portrait img:not(.portrait-bg) { position: relative; z-index: 1; width: auto; height: 100%; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.card:hover .card-media.portrait img { transform: scale(1.04); }
.card:hover .card-media.portrait .portrait-bg { transform: none; }
.card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.card.previewing .card-preview { opacity: 1; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 50%); opacity: .7; transition: opacity .4s; }
.card .play-btn { position: absolute; left: 18px; bottom: 18px; width: 48px; height: 48px; z-index: 2; color: #fff; margin: 0; }
.card:hover .play-btn { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
.card-platform { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; }
.card-ig-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #feda75, #d62976 50%, #4f5bd5); color: #fff; font-weight: 700; font-size: 20px; }
.card-meta { padding: 16px 4px 0; }
.card-meta .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; }
.card-meta h3 { margin: 6px 0 4px; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.card-meta p { margin: 0; color: var(--muted); font-size: 15px; }
.card-meta .card-desc { margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: .85; }

/* ============ Brands ============ */
.brands { overflow: hidden; }
.marquee {
  padding: 30px 0 60px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: clamp(34px, 4.6vw, 52px); width: auto; max-width: 200px; object-fit: contain; filter: var(--mono-filter); opacity: var(--mono-opacity); }
@keyframes marquee { to { transform: translateX(-50%); } }
.hint { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.brand-grid .brand { flex: 0 0 calc((100% - 32px) / 3); }
@media (max-width: 520px) { .brand-grid { gap: 10px; } .brand-grid .brand { flex-basis: calc((100% - 10px) / 2); } }
.brand { aspect-ratio: 2 / 1; perspective: 900px; }
@media (max-width: 520px) { .brand { aspect-ratio: 3 / 2; } }
.brand-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-inner, .brand.flip .brand-inner { transform: rotateY(180deg); }
.brand-face {
  position: absolute; inset: 0; border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 9% 16%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid var(--line);
}
.brand-front { background: var(--bg-2); }
.brand-front img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: var(--mono-filter); opacity: var(--mono-opacity); }
.brand-back { background: #fff; transform: rotateY(180deg); }
.brand-back.dark { background: #0d1b2a; }
.brand-back img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.brand-back span { position: absolute; bottom: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6e6e73; font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; }
.brand-back.dark span { color: #a1a1a6; }

/* ============ Contact — projector, call sheet, credits ============ */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(120px, 16vw, 200px) 0 0;
  background: radial-gradient(120% 70% at 50% 0%, #1b1408 0%, #070707 55%, #000 100%);
  color: #f5f5f7;
  --muted: #8e8e93; --line: rgba(255,255,255,.12);
}
.contact .kicker { color: #f5a524; }
.beam {
  position: absolute; z-index: -1; left: 50%; top: -40px; width: 140%; height: 110%; transform: translateX(-50%);
  background: conic-gradient(from 0deg at 50% 0%, transparent 150deg, rgba(255,214,140,.10) 160deg, rgba(255,226,170,.22) 172deg, rgba(255,236,200,.30) 180deg, rgba(255,226,170,.22) 188deg, rgba(255,214,140,.10) 200deg, transparent 210deg);
  -webkit-mask: linear-gradient(#000 0%, #000 45%, transparent 90%); mask: linear-gradient(#000 0%, #000 45%, transparent 90%);
  filter: blur(6px); animation: flicker 5s infinite steps(1);
}
.beam::before { content: ""; position: absolute; left: 50%; top: 22px; width: 26px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: #fff6df; box-shadow: 0 0 40px 18px rgba(255,220,150,.55); }
@keyframes flicker { 0%, 100% { opacity: 1; } 31% { opacity: .86; } 33% { opacity: 1; } 67% { opacity: .92; } 69% { opacity: 1; } }
.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }
.contact-inner { text-align: center; }
.contact-title { font-size: clamp(2.6rem, 7.4vw, 6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin: 0 auto 72px; text-shadow: 0 0 60px rgba(255,200,120,.15); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; text-align: left; }

.callsheet {
  position: relative; color: #1b1b1b; padding: clamp(22px, 3vw, 36px);
  background: #f4efe4;
  background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 100% 34px;
  border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 2px 0 rgba(255,255,255,.5) inset;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; font-size: 14px;
  transform: rotate(-1.4deg); transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.callsheet.in { transform: rotate(-1.4deg); }
.callsheet:hover { transform: rotate(0) translateY(-4px); }
.callsheet::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; transform: translateX(-50%) rotate(2deg); background: rgba(255,240,200,.55); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.cs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid #1b1b1b; }
.cs-label { display: block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #b4560b; margin-bottom: 6px; }
.cs-head strong { font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; }
.cs-day { border: 2px solid #1b1b1b; padding: 4px 12px; text-align: center; line-height: 1.1; }
.cs-day span { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.cs-day b { font-size: 22px; }
.cs-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(0,0,0,.35); }
.cs-meta span, .cs-key { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #6b6458; margin-bottom: 3px; }
.cs-rows { list-style: none; margin: 0; padding: 6px 0 0; }
.cs-rows li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.cs-rows .cs-key { margin: 0; }
.cs-rows a { font-size: 15px; word-break: break-word; background: linear-gradient(#f5a524, #f5a524) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.cs-rows a:hover { background-size: 100% 2px; }
.cs-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn-primary, .btn-ghost {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; transition: transform .25s, background .25s, color .25s;
}
.btn-primary { background: #1b1b1b; color: #f4efe4; }
.btn-primary:hover { background: #c76a00; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid #1b1b1b; }
.btn-ghost:hover { background: #1b1b1b; color: #f4efe4; transform: translateY(-2px); }
.stamp {
  position: absolute; right: 22px; bottom: 26px; transform: rotate(-12deg);
  border: 3px solid rgba(200, 40, 30, .75); color: rgba(200, 40, 30, .75); border-radius: 6px;
  padding: 6px 14px; font-weight: 700; font-size: 18px; letter-spacing: .2em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.6) 61%, #000 70%); mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.6) 61%, #000 70%);
  pointer-events: none;
}
.callsheet.in .stamp { animation: stampIn .5s cubic-bezier(.3,1.6,.5,1) .9s both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

.credits-roll {
  position: relative; height: clamp(380px, 46vw, 520px); overflow: hidden; text-align: center;
  -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.roll-track { animation: roll 40s linear infinite; }
.credits-roll:hover .roll-track { animation-play-state: paused; }
.roll-set { padding: 40px 0; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.roll-group { margin-bottom: 44px; }
.roll-group span { display: block; font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #8e8e93; margin-bottom: 10px; }
.roll-group b { display: block; font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.5; }
.roll-group:first-child b { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }

.wrap { margin: 110px 0 0; text-align: center; font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: .4em; text-transform: uppercase; color: #8e8e93; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 60px 0 104px; /* room for the floating scene chip */ font-size: 13px; color: #8e8e93; }
.footer a:hover { color: #f5f5f7; }

/* ============ Popup: next / previous film ============ */
.lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.lb-nav[hidden] { display: none; }
.lb-step { display: inline-flex; align-items: center; gap: 10px; color: #f5f5f7; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.08); transition: background .25s, transform .25s; min-width: 0; }
.lb-step:hover { background: rgba(245,165,36,.22); }
.lb-step:active { transform: scale(.96); }
.lb-step span { font-size: 14px; }
.lb-step.next { text-align: right; max-width: 60%; }
.lb-upnext { display: flex; flex-direction: column; min-width: 0; }
.lb-upnext small { font: 500 10px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase; color: #ffcf70; }
.lb-upnext b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-count { font: 500 12px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; color: #a1a1a6; }
.lb-frame.switch { animation: lbSwitch .45s cubic-bezier(.2,.7,.2,1); }
@keyframes lbSwitch { from { opacity: 0; transform: scale(.985); filter: brightness(1.8) sepia(.4); } }
html[lang="mr"] .lb-upnext small { font-family: "Mukta", sans-serif; font-size: 12px; text-transform: none; }

/* ============ Scene indicator ============ */
.scene-chip {
  position: fixed; left: max(16px, calc((100vw - 1120px) / 2 - 120px)); bottom: 22px; z-index: 55;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.scene-chip.on { opacity: 1; transform: none; pointer-events: auto; }
.modal-open .scene-chip { opacity: 0; pointer-events: none; }
.scene-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 8px; border-radius: 10px;
  background: rgba(17,17,17,.82); color: #f5f5f7; border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.scene-clap {
  width: 22px; height: 18px; border-radius: 3px; position: relative; overflow: hidden; background: #2a2a2a;
}
.scene-clap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; transform-origin: 0 100%;
  background: repeating-linear-gradient(-55deg, #f5a524 0 4px, #111 4px 8px);
}
.scene-chip.tick .scene-clap::before { animation: clap .45s cubic-bezier(.6,-0.4,.3,1.4); }
@keyframes clap { 0% { transform: rotate(-24deg); } 60% { transform: rotate(0); } }
.scene-sc { font: 500 11px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; color: #a1a1a6; }
.scene-sc b { color: #f5a524; font-weight: 600; display: inline-block; }
.scene-chip.tick .scene-sc b, .scene-chip.tick .scene-name { animation: roll-in .4s cubic-bezier(.2,.7,.2,1); }
@keyframes roll-in { from { opacity: 0; transform: translateY(8px); } }
.scene-name { font-size: 13px; font-weight: 600; display: inline-block; }
.scene-menu {
  position: absolute; left: 0; bottom: 50px; min-width: 210px; padding: 6px; border-radius: 12px;
  background: rgba(17,17,17,.92); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: 0 100%; pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.scene-chip.open .scene-menu { opacity: 1; transform: none; pointer-events: auto; }
.scene-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #d1d1d6; font-size: 15px; }
.scene-menu a i { font: normal 500 11px "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; color: #8e8e93; }
.scene-menu a:hover, .scene-menu a.active { background: rgba(245,165,36,.16); color: #fff; }
.scene-menu a.active i { color: #f5a524; }

/* ============ Floating "Let's talk" (phones) ============ */
.talk { position: fixed; right: 16px; bottom: 22px; z-index: 56; display: none; }
.talk-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #f5a524; color: #111; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(245,165,36,.4), 0 2px 8px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.7,.2,1.2);
}
.talk.on .talk-btn { opacity: 1; transform: none; pointer-events: auto; }
.talk-btn:active { transform: scale(.95); }
.talk-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #111; }
/* pulse ring animated with transform + opacity only (no per-frame repaint) */
.talk-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #111; animation: talkPulse 2s infinite; }
@keyframes talkPulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(3); opacity: 0; } }
.talk-sheet {
  position: absolute; right: 0; bottom: 58px; width: 200px; padding: 6px; border-radius: 16px;
  background: rgba(17,17,17,.94); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 100% 100%; pointer-events: none;
  transition: opacity .25s, transform .3s cubic-bezier(.2,.7,.2,1);
}
.talk.open .talk-sheet { opacity: 1; transform: none; pointer-events: auto; }
.talk-sheet a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; color: #f5f5f7; font-size: 16px; font-weight: 500; }
.talk-sheet a:active, .talk-sheet a:hover { background: rgba(245,165,36,.18); }
.ti { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; background: #2a2a2a center / 16px no-repeat; }
.ti.wa { background-color: #25d366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.7-2.7-1.1-4.4-3.8-4.6-4-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.1 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E"); }
.ti.ph { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ti.em { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.modal-open .talk { display: none !important; }
html[lang="mr"] .scene-name, html[lang="mr"] .talk-btn { font-family: "Mukta", sans-serif; }

/* ============ Custom cursor ============ */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor-on .cursor, .cursor-on .cursor-dot { opacity: 1; }
.modal-open .cursor, .modal-open .cursor-dot { opacity: 0; }
.has-cursor:not(.modal-open), .has-cursor:not(.modal-open) * { cursor: none !important; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #f5a524; }
.cursor::before {
  content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid #f5a524; border-radius: 50%;
  transition: width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), margin .35s cubic-bezier(.2,.7,.2,1), border-radius .35s, background-color .3s, opacity .3s;
}
.cursor[data-mode="link"]::before { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(245,165,36,.14); }
/* viewfinder: four corner brackets instead of a ring */
.cursor[data-mode="view"]::before {
  width: 104px; height: 70px; margin: -35px 0 0 -52px; border-radius: 0; border-color: transparent;
  background:
    linear-gradient(#f5a524, #f5a524) 0 0 / 16px 2px no-repeat, linear-gradient(#f5a524, #f5a524) 0 0 / 2px 16px no-repeat,
    linear-gradient(#f5a524, #f5a524) 100% 0 / 16px 2px no-repeat, linear-gradient(#f5a524, #f5a524) 100% 0 / 2px 16px no-repeat,
    linear-gradient(#f5a524, #f5a524) 0 100% / 16px 2px no-repeat, linear-gradient(#f5a524, #f5a524) 0 100% / 2px 16px no-repeat,
    linear-gradient(#f5a524, #f5a524) 100% 100% / 16px 2px no-repeat, linear-gradient(#f5a524, #f5a524) 100% 100% / 2px 16px no-repeat;
}
.cursor.press::before { transform: scale(.85); }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, 30px) scale(.6); opacity: 0;
  font: 600 10px/1 "SF Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: .22em; text-transform: uppercase;
  color: #f5a524; white-space: nowrap; padding: 4px 8px 4px calc(8px + .22em); border-radius: 4px; background: rgba(0,0,0,.55); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.cursor-label::before { content: "● "; color: #ff3b30; }
.cursor[data-mode="view"] .cursor-label:not(:empty) { opacity: 1; transform: translate(-50%, 46px) scale(1); }

/* ============ Lightbox ============ */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-inner { width: min(1100px, 100% - 32px); position: relative; }
.lb-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.lb-frame.vertical { aspect-ratio: 9 / 16; height: min(80vh, 760px); width: auto; margin: 0 auto; }
.lb-frame iframe, .lb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.lb-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 2px 0; }
.lb-meta h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; }
.lb-meta p { margin: 4px 0 0; color: #a1a1a6; font-size: 15px; }
.lb-meta a { font-size: 14px; color: #ffcf70; white-space: nowrap; }
.lb-close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; }
.lb-close:hover { background: rgba(255,255,255,.28); }

/* ============ Responsive ============ */
@media (max-width: 860px), (hover: none) {
  body::after { animation: none; inset: 0; }
  .nav, .nav-links, .scene-btn, .scene-menu, .talk-sheet, .play-btn, .card-platform { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav, .nav-links { background: color-mix(in srgb, var(--bg) 94%, transparent); }
  .play-btn { background: rgba(0,0,0,.45); }
  .card-platform { background: rgba(0,0,0,.6); }
  .beam { filter: none; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .talk { display: block; }
  .scene-chip { left: 16px; }
  .scene-btn { height: 46px; border-radius: 12px; }
  .lb-step span:not(.lb-upnext) { display: none; }
  .lb-step.next { max-width: 70%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-photo { aspect-ratio: 16 / 11; max-height: 32svh; width: 100%; }
  .about-photo img { object-position: 50% 22%; }
  .about .reveal-words { font-size: clamp(1.15rem, 5vw, 1.45rem); line-height: 1.32; }
  html[lang="mr"] .about .reveal-words { font-size: clamp(1.05rem, 4.6vw, 1.3rem); }
  .about .kicker { margin-bottom: 8px; }

  /* the reel becomes a swipeable row */
  .work-grid {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none;
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid .card { flex: 0 0 84%; scroll-snap-align: start; }
  .work-grid .card.reveal { transition-delay: 0s !important; }
  .swipe-info { display: flex; }
  .slate-row.three { grid-template-columns: 1fr 1fr; }
  .slate-row.three .slate-field:first-child { grid-column: 1 / -1; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .credits-roll { height: 360px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .hud { inset: 64px 12px 12px; font-size: 10px; }
  .hud-tl, .hud-bl { left: 22px; } .hud-tr, .hud-br { right: 22px; }
}
@media (max-width: 520px) {
  .slate-row { flex-direction: column; align-items: flex-start; }
  .slate-logo { height: 34px; }
  .stat { padding: 26px 18px; }
  .hud-tr { display: none; }
  .cs-rows li { grid-template-columns: 1fr; gap: 2px; }
  .cs-meta { grid-template-columns: 1fr; }
  .stamp { position: relative; display: inline-block; right: auto; bottom: auto; margin: 18px 0 0 6px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after, .marquee-track, .rec-dot, .live, .scroll-cue span, .beam, .roll-track, .swipe-hint::after, .talk-dot::after { animation: none; }
  .about-photo, .ph-media { opacity: 1; transform: none; }
  .ph-col { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .clap-top { transition: none; }
}
