/* ══════════════════════════════════════════════════════════════
   ADITYA PRATAP SINGH — WRITER PORTFOLIO
   Dark cinematic theme · Gold accent · Vanilla CSS
   ────────────────────────────────────────────────────────────────
   TO CHANGE THE THEME: edit only the :root variables below.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Palette — SonyLIV-style deep navy + LIV Gold accent */
  --bg:          #0b1220;   /* deep navy base (SonyLIV dark) */
  --bg-soft:     #0f1729;   /* slightly lifted panels */
  --bg-card:     #131e33;   /* cards */
  --line:        rgba(148, 180, 255, 0.10);
  --text:        #f0f4fb;   /* cool off-white */
  --text-dim:    #8fa0bb;   /* muted body text */
  --accent:      #e9b52e;   /* LIV-gold */
  --accent-soft: #f6c94e;
  --accent-glow: rgba(233, 181, 46, 0.32);

  /* Type — SST-style clean sans (SonyLIV look), single family */
  --font-display: "Source Sans 3", "Segoe UI", -apple-system, sans-serif;
  --font-sans:    "Source Sans 3", "Segoe UI", -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --nav-h: 76px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #0b1220; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════
   CUSTOM CURSOR — dot + trailing ring (desktop only)
   ══════════════════════════════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(233, 181, 46, 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s, background 0.25s;
}
/* Ring grows when hovering interactive elements (JS adds this class) */
.cursor-ring.is-hovering {
  width: 64px; height: 64px;
  background: rgba(233, 181, 46, 0.08);
  border-color: var(--accent);
}
/* Touch devices: hide custom cursor, restore native */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea, label { cursor: none; }
}

/* ══════════════════════════════════════════════════════════════
   FILM GRAIN — SVG noise overlay, whole page
   ══════════════════════════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 3%); }
  50%  { transform: translate(3%, -2%); }
  75%  { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL — JS Intersection Observer adds .is-visible
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; }
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s, color 0.35s;
}
.btn--solid {
  background: var(--accent);
  color: #0b1220;
}
.btn--solid:hover {
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR — sticky, blurs on scroll (JS adds .is-scrolled)
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.2rem, 4vw, 3rem);
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__logo { display: flex; align-items: baseline; gap: 0.5rem; }
.nav__logo-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.nav__logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-dim);
}

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav__link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  padding-block: 0.4rem;
}
/* Animated gold underline */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__imdb {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b1220;
  background: var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav__imdb:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}
.nav__imdb-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.nav__imdb:hover .nav__imdb-arrow { transform: translate(2px, -2px); }

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  z-index: 1002;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, #141d33 0%, var(--bg) 55%);
}

/* Gradient mesh — layered radial glows */
.hero__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 85%, rgba(233, 181, 46, 0.08), transparent 70%),
    radial-gradient(700px 500px at 85% 15%, rgba(46, 103, 229, 0.16), transparent 70%),
    radial-gradient(500px 400px at 60% 60%, rgba(88, 60, 180, 0.10), transparent 70%);
  animation: mesh-drift 14s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2%, 2%) scale(1.06); }
}

/* Giant decorative ring (geometric accent) */
.hero__rings {
  position: absolute;
  right: -12vw; top: -18vh;
  width: 56vw; height: 56vw;
  border: 1px solid rgba(233, 181, 46, 0.12);
  border-radius: 50%;
  animation: ring-spin 60s linear infinite;
}
.hero__rings::before {
  content: "";
  position: absolute; inset: 9%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.hero__rings::after {
  content: "";
  position: absolute; inset: 22%;
  border: 1px solid rgba(233, 181, 46, 0.07);
  border-radius: 50%;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Thin vertical lines — film-strip feel */
.hero__lines {
  position: absolute; inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.hero__lines span {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* Warm floor glow */
.hero__glow {
  position: absolute;
  left: 50%; bottom: -18rem;
  width: 70rem; height: 26rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(233, 181, 46, 0.13), transparent);
  filter: blur(20px);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
/* Let grid children shrink below viewport width (overflow fix) */
.hero__inner > * { min-width: 0; }

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero__kicker-line { width: 56px; height: 1px; background: var(--accent); }

.hero__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero__name-row { display: block; }
.hero__name-row--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  font-style: italic;
}

.hero__tagline {
  margin-top: 2rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: var(--text-dim);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

/* ── Hero portrait ── */
.hero__portrait-wrap {
  position: relative;
  justify-self: center;
  width: min(380px, 100%);
}
/* Offset gold frame behind the photo */
.hero__portrait-frame {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(233, 181, 46, 0.45);
  border-radius: 2px;
  transition: inset 0.5s var(--ease);
}
.hero__portrait-wrap:hover .hero__portrait-frame { inset: -12px 12px 12px -12px; }

.hero__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(160deg, #1b2740 0%, #131d31 60%, #0d1425 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(233, 181, 46, 0.06);
}
/* Use this class when adding a real photo */
.hero__portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Placeholder visual */
.portrait-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(242, 239, 233, 0.35);
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  margin: 14px;
  border-radius: 2px;
}
.portrait-placeholder svg { width: 52px; height: 52px; opacity: 0.6; }
.portrait-placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.portrait-placeholder small { font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.7; }

/* ── IMDb verified badge ── */
.imdb-badge {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #121c30;
  border: 1px solid rgba(233, 181, 46, 0.5);
  border-radius: 3px;
  padding: 0.65rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  animation: badge-pulse 3s ease-in-out infinite;
}
.imdb-badge:hover {
  transform: translateX(-50%) translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
  animation-play-state: paused;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 0 rgba(217,164,65,.30); }
  50%      { box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 9px rgba(217,164,65,0); }
}
.imdb-badge__logo {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #0b1220;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.imdb-badge__text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.imdb-badge__check { width: 16px; height: 16px; color: var(--accent); }

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
}
.hero__scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-track {
  width: 1px; height: 52px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.hero__scroll-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: scroll-drop 2s var(--ease) infinite;
}
@keyframes scroll-drop {
  0%   { transform: translateY(-110%); }
  60%  { transform: translateY(260%); }
  100% { transform: translateY(260%); }
}

/* ══════════════════════════════════════════════════════════════
   MARQUEE STRIP
   ══════════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.7rem; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }

.section__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  text-transform: uppercase;
}
.section__title em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
/* Sub-block heading (smaller title, e.g. "Long Format") */
.section__title--sm { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section__head--sub { margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section__note {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 0.6rem;
}

/* ══════════════════════════════════════════════════════════════
   2. ABOUT
   ══════════════════════════════════════════════════════════════ */
.about { background: var(--bg); }

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  margin-top: 1rem;
}

.about__visual { position: relative; }
.about__visual-frame {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(233, 181, 46, 0.3);
  border-radius: 2px;
  z-index: 0;
}
.about__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.about__img-placeholder {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(150deg, #182541, #0f1729 70%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  color: rgba(242, 239, 233, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.about__img-placeholder svg { width: 46px; height: 46px; opacity: 0.6; }
.about__img-placeholder span { font-family: var(--font-display); font-style: italic; }

.about__visual-quote {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: 8%;
  max-width: 240px;
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}
.about__visual-quote span { color: var(--accent); font-size: 1.4rem; }

.about__bio {
  margin-top: 1.8rem;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 300;
  color: var(--text-dim);
  max-width: 56ch;
}

/* Stat counters */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--text);
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about__imdb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(233, 181, 46, 0.4);
  padding-bottom: 0.35rem;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.about__imdb-link:hover { gap: 0.9rem; border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   3. WORKS / CREDITS
   ══════════════════════════════════════════════════════════════ */
.works {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.work-card { display: block; }
.work-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* Hover: lift + gold glow */
.work-card:hover .work-card__poster {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 42px var(--accent-glow);
}
/* Poster placeholder gradients — covered once a real poster <img> is added */
.work-card__poster::before {
  content: "";
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-card__poster::before { transform: scale(1.08); }
.work-card__poster--1::before { background: linear-gradient(155deg, #2a2450, #10162a 65%); }
.work-card__poster--2::before { background: linear-gradient(155deg, #40301a, #171426 65%); }
.work-card__poster--3::before { background: linear-gradient(155deg, #163a48, #0e1830 65%); }
.work-card__poster--4::before { background: linear-gradient(155deg, #431f30, #141127 65%); }
.work-card__poster--5::before { background: linear-gradient(155deg, #1d3d33, #0e1a2c 65%); }
.work-card__poster--6::before { background: linear-gradient(155deg, #3b3820, #131728 65%); }

/* Real poster image support */
.work-card__poster img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-card__poster img { transform: scale(1.08); }

/* Hide index number when a real poster is present (keeps artwork clean) */
.work-card__poster:has(img) .work-card__index { display: none; }

/* Big index number on the poster */
.work-card__index {
  position: absolute;
  top: 1rem; left: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 181, 46, 0.5);
  line-height: 1;
  z-index: 1;
}

/* Dark overlay that slides in on hover */
.work-card__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.2) 55%, transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__overlay span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transform: translateY(10px);
  transition: transform 0.45s var(--ease) 0.05s;
}
.work-card:hover .work-card__overlay span { transform: translateY(0); }

.work-card__info { padding-top: 1.1rem; }
.work-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s;
}
.work-card:hover .work-card__title { color: var(--accent); }
.work-card__meta {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════
   4. REELS
   ══════════════════════════════════════════════════════════════ */
.reels { background: var(--bg); }

/* ── Filter tabs — slim, editorial ── */
.reel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.reel-tab {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.reel-tab:hover { color: var(--text); border-color: var(--line); }
.reel-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1220;
}

/* ── Compact Instagram reel cards (portfolio-style, not bulky embeds) ── */
.igreels__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}
.igreel {
  display: block;
  min-width: 0;
}
.igreel.is-hidden { display: none; }
.igreels__grid.is-filtering .igreel:not(.is-hidden) {
  animation: igreel-in 0.45s var(--ease) backwards;
}
@keyframes igreel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.igreel__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  overflow: hidden;
  background: #121a2c;
  border: 1px solid rgba(148, 180, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.igreel:hover .igreel__thumb {
  transform: translateY(-4px);
  border-color: rgba(233, 181, 46, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 24px var(--accent-glow);
}
/* Fallback gradient (while image loads / if image is missing) */
.igreel__thumb::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  transition: transform 0.6s var(--ease);
}
.igreel:hover .igreel__thumb::before { transform: scale(1.06); }
.igreel__thumb--tam::before   { background: linear-gradient(165deg, #3a1f38 0%, #12182a 70%); }
.igreel__thumb--khaas::before { background: linear-gradient(165deg, #143840 0%, #101828 70%); }
.igreel__thumb--am90::before  { background: linear-gradient(165deg, #3d2c16 0%, #121628 70%); }
.igreel__thumb--ss::before    { background: linear-gradient(165deg, #2a1f4a 0%, #101628 70%); }
.igreel__thumb--brand::before { background: linear-gradient(165deg, #162a48 0%, #0e1526 70%); }
.igreel__thumb--more::before  { background: linear-gradient(165deg, #35301a 0%, #121628 70%); }

/* Real poster image */
.igreel__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s var(--ease);
}
.igreel:hover .igreel__thumb img { transform: scale(1.06); }

/* Soft vignette so play button clearly reads */
.igreel__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(11, 18, 32, 0.15) 0%, rgba(11, 18, 32, 0.45) 100%),
    linear-gradient(to top, rgba(11, 18, 32, 0.65) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.igreel__num {
  position: absolute;
  top: 0.55rem; left: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 181, 46, 0.7);
  z-index: 3;
}

/* Play button — hamesha clearly visible */
.igreel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.62);
  border: 1.5px solid var(--accent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
  z-index: 3;
}
.igreel__play svg { width: 16px; height: 16px; color: var(--accent); margin-left: 2px; transition: color 0.3s; }
.igreel:hover .igreel__play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent);
  box-shadow: 0 0 26px var(--accent-glow);
}
.igreel:hover .igreel__play svg { color: #0b1220; }

.igreel__info { padding-top: 0.65rem; }
.igreel__project {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.igreel:hover .igreel__project { color: var(--accent); }
.igreel__meta {
  margin-top: 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* Views · Likes · Comments */
.igreel__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
}
.igreel__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}
.igreel__stats svg {
  width: 11px;
  height: 11px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Long format (YouTube) sub-block — compact, editorial ── */
.reels__sub { margin-top: clamp(3.2rem, 6vw, 5rem); }

.reels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.reel-card { display: block; }

.reel-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background: #0e1626;
  border: 1px solid rgba(148, 180, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s;
}
.reel-card:hover .reel-card__thumb {
  transform: translateY(-4px);
  border-color: rgba(233, 181, 46, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), 0 0 28px var(--accent-glow);
}

.reel-card__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.reel-card:hover .reel-card__thumb img { transform: scale(1.06); }
/* JS injects muted-autoplay iframe when card enters the viewport */
.reel-card__thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 3; /* above thumbnail + play button */
}

/* Cinematic play button */
.reel-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.55);
  border: 1px solid rgba(233, 181, 46, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.45s var(--ease), background 0.45s, box-shadow 0.45s;
  z-index: 2;
}
.reel-card__play svg { width: 16px; height: 16px; color: var(--accent); margin-left: 2px; transition: color 0.3s; }
/* Expanding pulse ring */
.reel-card__play::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(233, 181, 46, 0.5);
  opacity: 0;
}
.reel-card:hover .reel-card__play {
  transform: translate(-50%, -50%) scale(1.16);
  background: var(--accent);
  box-shadow: 0 0 44px var(--accent-glow);
}
.reel-card:hover .reel-card__play svg { color: #0b1220; }
.reel-card:hover .reel-card__play::after { animation: play-pulse 1.4s var(--ease) infinite; }
@keyframes play-pulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.7); opacity: 0; }
}

.reel-card__info { display: block; padding-top: 0.85rem; }
.reel-card__tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.reel-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.25rem;
  line-height: 1.3;
  transition: color 0.3s;
}
.reel-card:hover .reel-card__title { color: var(--accent); }
.reel-card__meta {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.reel-card__stats {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  min-height: 1rem;
}
.reel-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.reel-card__stats svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   5. CONTACT + FOOTER
   ══════════════════════════════════════════════════════════════ */
.contact {
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(233, 181, 46, 0.06), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-bottom: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.contact__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  text-transform: uppercase;
}
.contact__headline em {
  font-style: italic;
  text-transform: none;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}
.contact__managed {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.contact__managed strong { color: var(--accent); font-weight: 700; }
.contact__hint {
  margin-left: 0.4rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact__form-note {
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.contact__links {
  list-style: none;
  margin-top: 3rem;
  display: grid;
  gap: 1.1rem;
}
.contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s, transform 0.35s var(--ease);
}
.contact__links a:hover { color: var(--text); transform: translateX(6px); }
.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.contact__icon svg { width: 18px; height: 18px; }
.contact__icon--imdb { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.02em; }
.contact__links a:hover .contact__icon {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b1220;
}

/* ── Form ── */
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.7rem 0.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(154, 150, 142, 0.5); }
/* Validation error state (JS adds .has-error) */
.form-field.has-error input,
.form-field.has-error textarea { border-bottom-color: #d05050; }
.form-field__error {
  display: block;
  min-height: 1rem;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  color: #d05050;
}
.contact__submit { width: 100%; margin-top: 0.4rem; }
.contact__form-success {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  text-align: center;
  min-height: 1.2rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.04em; }
.footer__mark { font-size: 0.78rem; color: var(--text-dim); }
.footer__mark em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  margin-left: 0.4rem;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__kicker { justify-content: center; }
  .hero__tagline { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__portrait-wrap { width: min(320px, 80%); margin-top: 1rem; }
  .hero { padding-bottom: 6rem; }
  /* Hide scroll indicator on small screens — overlaps IMDb badge */
  .hero__scroll { display: none; }

  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .igreels__grid { grid-template-columns: repeat(4, 1fr); }
  .reels__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .reels__grid { grid-template-columns: 1fr; }
  .igreels__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* Mobile nav — full-screen overlay */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(11, 18, 32, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 1001;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links .nav__link { font-size: 1.1rem; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .about__visual-quote { left: 0; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

  .works__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .igreels__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .igreel__play { width: 40px; height: 40px; }
  .igreel__play svg { width: 14px; height: 14px; }
  .igreel__num { font-size: 0.95rem; }
  .igreel__project { font-size: 0.75rem; }

  .about__stats { gap: 1rem; }
  .imdb-badge { padding: 0.55rem 0.9rem; gap: 0.5rem; }
  .imdb-badge__text { font-size: 0.68rem; }

  .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .hero__name { font-size: 2.9rem; }
  .hero__kicker { font-size: 0.68rem; letter-spacing: 0.2em; gap: 0.7rem; }
  .hero__kicker-line { width: 32px; }
  .btn { padding: 0.9rem 1.6rem; font-size: 0.78rem; }
  .section__title { font-size: 2rem; }
  .contact__headline { font-size: 1.9rem; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .stat__label { letter-spacing: 0.12em; font-size: 0.62rem; }
}
