/* =====================================================================
   FAROOK J BASHA — PORTFOLIO
   Retro neon-red editorial · black / cream / glowing red
   (design matched to the Behance "PORTFOLIO" reference boards)
   ===================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --black: #000000;
  --near:  #050505;
  --cream: #f4efe2;
  --cream-2: #efe9d8;
  --red:   #f02c05;
  --red-hi:#ff3b12;
  --gold:  #d8b25c;
  --white: #ffffff;
  --grey:  #cfcabc;

  --font-display: "Anton", Impact, sans-serif;          /* THROUGH MY LENS / FILMOGRAPHY / WORK WITH ME */
  --font-head:    "Bebas Neue", "Anton", sans-serif;    /* section heads            */
  --font-body:    "Bebas Neue", "Poppins", sans-serif;  /* descriptions             */

  --maxw: 1400px;
  --pad: clamp(20px, 5.7vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* neon glow recipes */
  --glow-strong: 0 0 6px rgba(255,255,255,.85), 0 0 22px rgba(255,255,255,.55),
                 0 0 60px rgba(255,255,255,.35), 0 0 110px rgba(255,255,255,.22);
  --glow-soft:   0 0 4px rgba(255,255,255,.7), 0 0 16px rgba(255,255,255,.45),
                 0 0 38px rgba(255,255,255,.25);
  --glow-red-soft: 0 0 4px rgba(240,44,5,.75), 0 0 16px rgba(240,44,5,.5),
                 0 0 38px rgba(240,44,5,.3);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font-body); font-weight: 400; line-height: 1.55;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr.rule { border: 0; border-top: 1px solid rgba(255,255,255,.85); margin: 6px 0 26px; }

/* ---------- FILM GRAIN ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
  animation: grain .7s steps(3) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-2%,1%)} 66%{transform:translate(1%,-2%)} }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- NEON TEXT ---------- */
.neon {
  color: var(--white); text-shadow: var(--glow-strong);
  -webkit-text-stroke: 0; font-family: var(--font-display);
}
.neon-soft {
  color: var(--white); text-shadow: var(--glow-soft);
  font-family: var(--font-head); font-weight: 800;
}
.neon-block {
  color: var(--white); font-family: var(--font-display);
  text-shadow: var(--glow-strong);
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: .78; }
  94% { opacity: 1; }
  97% { opacity: .88; }
  98% { opacity: 1; }
}
[data-flicker] { animation: flicker 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { [data-flicker] { animation: none; } }

/* chunky rounded heading (cream sections use dark text) */
.h-chunk {
  font-family: var(--font-head); font-weight: 800; color: var(--cream);
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: .005em;
}
.h-chunk--light { color: var(--white); }
.h-chunk--md { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }

/* ---------- PORTAL INTRO ---------- */
.portal {
  position: fixed; inset: 0; z-index: 9500;
  background: transparent;
}
.portal.done { display: none; }
.portal__svg { width: 100%; height: 100%; display: block; }
#maskText, #strokeText {
  font-family: var(--font-display); font-size: 15vw; letter-spacing: .01em;
}
/* FAROOK glows like the hero title */
#strokeText {
  filter: drop-shadow(0 0 6px rgba(255,255,255,.85))
          drop-shadow(0 0 22px rgba(255,255,255,.55))
          drop-shadow(0 0 60px rgba(255,255,255,.3));
}
body.portal-lock { overflow: hidden; height: 100dvh; }

.portal__intro {
  position: absolute; left: 50%; bottom: 11vh; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 14px; color: var(--white);
  will-change: opacity, transform;
}
.portal__mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.portal__mouse span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--white);
  animation: mousebounce 2s ease-in-out infinite;
}
@keyframes mousebounce { 0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(5px); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .portal__mouse span { animation: none; } }
.portal__label {
  margin: 0; font-family: var(--font-head); font-weight: 700;
  font-size: 10px; letter-spacing: .4em; color: rgba(255,255,255,.8);
}
.portal__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255,255,255,.05);
}
#portalBar { display: block; height: 100%; width: 0; background: var(--white); }

/* ---------- NAV (liquid glass pill — always visible) ---------- */
.nav {
  position: fixed; top: max(10px, env(safe-area-inset-top)); left: 50%;
  transform: translateX(-50%); z-index: 8000;
  width: min(1200px, calc(100vw - 24px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05),
              0 12px 32px rgba(0,0,0,.5);
  transition: opacity .7s var(--ease);
}
.nav.lg-fallback { background: rgba(0,0,0,.55); }
body.portal-wait .nav { opacity: 0; pointer-events: none; }
.nav__brand { font-family: var(--font-head); font-weight: 800; font-size: 15px;
  letter-spacing: .06em; color: var(--cream); transition: color .25s; }

/* When the pill sits over a red section, flip text to black for contrast */
.nav--on-red .nav__brand,
.nav--on-red .nav__links a { color: var(--black); text-shadow: none; }
.nav--on-red .nav__links a:hover,
.nav--on-red .nav__links a.active { color: var(--black); text-shadow: none; opacity: .6; }
.nav--on-red .nav__burger span { background: var(--black); }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
  transition: color .25s, text-shadow .25s;
}
.nav__links a:hover, .nav__links a.active { color: var(--red); text-shadow: var(--glow-red-soft); }
.nav__burger { display: none; background: none; border: 0; width: 42px; height: 42px;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center; cursor: pointer; }
.nav__burger span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- COVER ---------- */
.cover { background: var(--black); padding-top: 92px; }
.cover__title {
  font-family: var(--font-display); font-weight: 400; text-align: center;
  color: var(--white); text-shadow: var(--glow-strong);
  font-size: clamp(40px, 10.4vw, 158px); line-height: 1; letter-spacing: .01em;
  margin: clamp(18px, 2.6vw, 40px) 0 clamp(14px, 2.4vw, 30px);
  white-space: nowrap;
}
.cover__photo { padding: 0; }
.cover__art {
  height: clamp(240px, 46vw, 560px); width: 100%;
  background:
    url("images/cover-onset.jpg") center 30% / cover no-repeat,
    radial-gradient(90% 70% at 50% 100%, rgba(9,32,30,.9), transparent 70%),
    linear-gradient(180deg, #aebfb9 0%, #7f958f 30%, #4d6660 55%, #24403c 78%, #122a27 100%);
  position: relative;
}
.cover__art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.38));
}
.cover__bts { margin: 0; }
.cover__bts-art {
  width: 100%; height: clamp(300px, 54vw, 640px); position: relative;
  background: url("images/Collage.jpeg?v=20") center center / cover no-repeat,
    linear-gradient(135deg, #0a0e12 0%, #1d2b31 45%, #10151a 80%, #221910 100%);
}
.cover__bts-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 26%, transparent 72%, rgba(0,0,0,.4)); }
.cover__bottom { background: var(--red); padding: clamp(22px, 3.4vw, 40px) var(--pad) clamp(26px, 3.8vw, 46px); }
.cover__role {
  margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--cream);
  font-size: clamp(28px, 4.6vw, 62px); line-height: 1.02; letter-spacing: .01em;
  text-shadow: 2px 3px 0 rgba(0,0,0,.22);
}
.cover__tag {
  margin: 10px 0 0; font-family: var(--font-head); font-weight: 700;
  letter-spacing: .16em; font-size: clamp(10.5px, 1.35vw, 16px); color: rgba(244,239,226,.85);
}

/* ---------- PROFILE ---------- */
.profile { position: relative; background: var(--black); padding: 0 0 clamp(60px, 8vw, 110px); }
.profile__creamband { position: absolute; top: 0; left: 0; right: 0;
  height: clamp(220px, 30vw, 380px); background: var(--red); }
.profile__grid {
  position: relative; display: grid; grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(28px, 4.5vw, 64px); max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad) 0;
}
.profile__photo { position: relative; }
.profile__art {
  aspect-ratio: 4 / 5.4; width: 100%;
  background: url("images/farook-profile.png?v=20") center top / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  position: relative;
}
.profile__art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 50% 30%, transparent 50%, rgba(6,10,12,.45)); }
.profile__name {
  position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(12px, 2vw, 24px);
  font-size: clamp(44px, 5.6vw, 86px); line-height: .92; letter-spacing: .01em;
  text-transform: uppercase;
}
.profile__body { padding-top: clamp(6px, 1vw, 16px); }
.profile__intro { color: var(--cream); }
.profile__intro h2 { margin-bottom: 16px; }
.profile__intro p {
  margin: 0; text-align: justify; font-size: clamp(14.5px, 1.5vw, 17.5px);
  color: var(--cream); max-width: 70ch; font-weight: 500;
}
.profile__dark { margin-top: clamp(36px, 6vw, 70px); color: var(--white); }
.profile__dark h3 { margin-bottom: 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 54px);
  margin-bottom: clamp(28px, 4vw, 48px); }
.col { padding-left: 18px; }
.col.redbar { border-left: 3px solid var(--red); }
.col h4 { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px);
  color: var(--white); line-height: 1.2; }
.col__sub { margin: 4px 0 10px; font-size: 14.5px; color: var(--grey); }
.col__years { margin: 2px 0; font-size: 15px; color: var(--white); }
.col__years em { font-style: italic; }
.col ul li { font-size: clamp(14.5px, 1.5vw, 17px); margin: 7px 0; color: var(--white); }
/* headline stats (replaces the filmography list) */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 54px);
  margin-bottom: clamp(24px, 3vw, 36px); }
.stat { padding-left: 18px; border-left: 3px solid var(--red); display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); color: var(--red-hi);
  font-size: clamp(38px, 5.4vw, 76px); line-height: .9; letter-spacing: .01em;
  text-shadow: var(--glow-red-soft); }
.stat__label { font-family: var(--font-head); color: var(--white); letter-spacing: .08em;
  font-size: clamp(14px, 1.5vw, 18px); margin-top: 10px; line-height: 1.2; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- PHILOSOPHY (blob-reveal split) ---------- */
.philo { position: relative; background: var(--black); overflow: hidden;
  padding: clamp(56px, 8vw, 110px) var(--pad); }
.philo__waves { position: absolute; inset: auto 0 0 0; height: 55%; width: 100%;
  pointer-events: none; opacity: .5; transition: transform .6s var(--ease); }
.philo__waves path { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.5; }
.philo__head { margin-bottom: clamp(28px, 4vw, 52px); position: relative; z-index: 1; }
.philo__grid { position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: clamp(28px, 5vw, 72px); max-width: var(--maxw); margin: 0 auto; align-items: center; }

.philo__stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  touch-action: none; }
#philoSvg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.philo__ui { position: absolute; inset: 0; pointer-events: none; }
.philo__ui a { pointer-events: auto; }
.philo__name { position: absolute; top: 18px; left: 20px; display: grid;
  font-family: "Playfair Display", Georgia, serif; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.02; color: #14120f;
  letter-spacing: .01em; transition: color .3s, transform .25s ease-out; }
.philo__plink { position: absolute; top: 24px; right: 20px;
  font-family: var(--font-head); font-size: 13px; letter-spacing: .28em;
  text-transform: uppercase; color: #14120f;
  transition: color .3s, transform .25s ease-out; }
.philo__plink:hover { text-decoration: underline; text-underline-offset: 4px; }
.philo__social { position: absolute; bottom: 18px; right: 18px; display: flex;
  gap: 16px; transition: transform .25s ease-out; }
.philo__social a { color: #14120f; display: grid; place-items: center;
  width: 34px; height: 34px; transition: color .3s, opacity .3s; }
.philo__social a:hover { opacity: .65; }
.philo__ui .inv, .philo__ui a.inv { color: var(--white); }

.philo__quotes { display: grid; gap: clamp(18px, 2.6vw, 30px); }
.pquote { margin: 0; border-left: 3px solid var(--red);
  padding: 6px 0 6px 20px; font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5; letter-spacing: .06em; color: var(--cream); }

@media (max-width: 960px) {
  .philo__grid { grid-template-columns: 1fr; }
  .philo__stage { max-width: 460px; }
}

/* ---------- AWARDS (masonry, GSAP-component adapted to vanilla) ---------- */
.awards { background: var(--black); padding: clamp(56px, 8vw, 110px) var(--pad); }
.awards__head { margin-bottom: clamp(26px, 3.6vw, 46px); }
.awards__sub { margin: 8px 0 0; color: var(--grey); letter-spacing: .08em;
  font-size: clamp(14px, 1.5vw, 18px); }
.masonry { position: relative; width: 100%; max-width: var(--maxw); min-height: 300px; }
/* flow fallback (no-JS): tiles stack readably; JS switches to absolute masonry */
.mtile { position: relative; margin-bottom: 16px; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(216,178,92,.28); box-shadow: 0 14px 40px rgba(0,0,0,.5);
  will-change: transform, opacity, filter;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.masonry.on .mtile { position: absolute; margin: 0; }
.mtile:hover { transform: scale(.965); z-index: 3;
  box-shadow: 0 22px 64px rgba(0,0,0,.66), 0 0 0 1px rgba(216,178,92,.5); }
@media (prefers-reduced-motion: reduce) { .mtile:hover { transform: none; } }

.mtile--img { background-size: cover; background-position: center top; aspect-ratio: 4 / 5;
  background-color: #0e1330; /* gradient fallback tone before the photo loads */ }
.mtile--portrait { background-position: center; aspect-ratio: 3 / 4;
  background-image: linear-gradient(150deg, #1a2140, #0a0d1f); }
.masonry.on .mtile--img { aspect-ratio: auto; }
.mtile--img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(4,6,16,.5));
  opacity: 0; transition: opacity .4s var(--ease); }
.mtile--img:hover::after { opacity: 1; }
/* persistent bottom gradient + caption for the trophy portrait tile */
.mtile--portrait::after { opacity: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.62)); }
.mtile__cap { position: absolute; left: 13px; bottom: 12px; z-index: 2;
  font-family: var(--font-head); font-size: 12px; letter-spacing: .16em;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.75); }
.mtile__badge { position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-head); font-size: 12px; letter-spacing: .2em;
  color: #14100a; background: var(--gold); padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4); }

.mtile--gold, .mtile--dark, .mtile--quote {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(20px, 2.5vw, 32px); min-height: 150px; }
.mtile--gold { background: linear-gradient(150deg, #ecce7f 0%, #c69436 100%); color: #171104; }
.mtile--dark { background: linear-gradient(150deg, #111838 0%, #0a0d1f 100%); color: var(--cream); }
.mtile--quote { background: linear-gradient(150deg, #0f1430 0%, #080b1a 100%);
  border-color: rgba(216,178,92,.2); }
.mtile__kick { font-family: var(--font-head); letter-spacing: .24em; font-size: 12px;
  text-transform: uppercase; margin-bottom: 10px; }
.mtile--gold .mtile__kick { color: #5c4610; }
.mtile--dark .mtile__kick { color: var(--gold); }
.mtile__title { font-family: var(--font-head); font-weight: 400; line-height: 1.06;
  font-size: clamp(20px, 2.2vw, 30px); }
.mtile--gold .mtile__title { color: #171104; }
.mtile--dark .mtile__title { color: var(--white); }
.mtile__meta { margin: 11px 0 0; font-size: 14px; letter-spacing: .06em; }
.mtile--gold .mtile__meta { color: #3d2e08; }
.mtile--dark .mtile__meta { color: var(--grey); }
.mtile__q { margin: 0; font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: clamp(17px, 1.9vw, 24px); line-height: 1.36; color: var(--cream); }

/* ---------- DIVIDER ---------- */
.divider { position: relative; min-height: clamp(340px, 56vw, 640px);
  display: grid; place-items: center; overflow: hidden; }
.divider__art { position: absolute; inset: 0;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(200,120,40,.25), transparent 55%),
    radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,.85), transparent 60%),
    linear-gradient(180deg, #12100d 0%, #2a1c12 35%, #3a2013 60%, #170e08 100%);
}
.divider__art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 50% 12%, rgba(255,214,150,.5), transparent 30%); }
.divider__word {
  position: relative; z-index: 2; font-size: clamp(44px, 11.4vw, 168px);
  line-height: 1; letter-spacing: .015em; white-space: nowrap; text-align: center;
}
.divider__corner { position: absolute; right: var(--pad); bottom: clamp(18px, 3vw, 34px);
  z-index: 2; text-align: right; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; }
/* ---------- CATEGORY SECTIONS ---------- */
.cat { padding: clamp(56px, 8vw, 110px) var(--pad); }
.cat--black { background: var(--black); }
.cat--cream { background: var(--red); }
.cat__head { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; margin-bottom: clamp(28px, 4vw, 52px); }
.cat__two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4.5vw, 64px);
  max-width: var(--maxw); }
.shot__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.shot__frame--tall { aspect-ratio: 16 / 10; }
.shot__art { position: absolute; inset: 0; transform: scale(1.02);
  transition: transform .9s var(--ease); }
.shot__frame:hover .shot__art { transform: scale(1.09); }

/* graded placeholder frames (swap for real stills) */
.shot__art--pathu  { background: radial-gradient(90% 90% at 25% 20%, rgba(230,140,50,.35), transparent 60%),
  linear-gradient(135deg, #201206 0%, #6b3a10 40%, #17181c 78%, #0b2226 100%); }
.shot__art--romeo  { background: radial-gradient(90% 90% at 70% 25%, rgba(220,90,120,.3), transparent 60%),
  linear-gradient(135deg, #190810 0%, #61233a 42%, #1a130c 80%, #35200a 100%); }
.shot__art--rudra  { background: radial-gradient(90% 90% at 75% 20%, rgba(60,190,180,.25), transparent 60%),
  linear-gradient(135deg, #05181a 0%, #0d3b39 42%, #181109 80%, #372008 100%); }
.shot__art--rudra2 { background: radial-gradient(90% 90% at 30% 70%, rgba(60,190,180,.2), transparent 60%),
  linear-gradient(160deg, #0a1c1e 0%, #123433 50%, #120d07 100%); }
.shot__art--baka   { background: radial-gradient(90% 90% at 30% 75%, rgba(215,80,90,.3), transparent 60%),
  linear-gradient(135deg, #170406 0%, #55151c 44%, #110d15 80%, #0a1e24 100%); }
.shot__art--mugilan{ background: radial-gradient(120% 90% at 50% 10%, rgba(120,140,150,.25), transparent 60%),
  linear-gradient(135deg, #0a0e12 0%, #1d2b31 46%, #10151a 80%, #221910 100%); }
.shot__art--mugilan2{ background: radial-gradient(100% 90% at 60% 30%, rgba(150,160,165,.2), transparent 60%),
  linear-gradient(160deg, #0c1013 0%, #24343a 52%, #131313 100%); }
.shot__art--mouna  { background: radial-gradient(90% 90% at 40% 25%, rgba(210,160,70,.3), transparent 60%),
  linear-gradient(135deg, #1a1305 0%, #6f511a 46%, #101418 82%, #11292c 100%); }

/* grain + vignette inside every frame */
.shot__frame::before, .cell::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.shot__frame::after, .cell::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0,0,0,.42));
}
.shot__title {
  position: absolute; left: 14px; bottom: 10px; z-index: 4;
  font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .22em;
  color: rgba(255,255,255,.85);
}

/* spec rows: Location / Year style */
.specs { margin-top: 16px; }
.specs__row { display: grid; grid-template-columns: minmax(90px, 220px) 1fr; gap: 12px;
  font-size: clamp(14px, 1.45vw, 17px); margin: 3px 0; }
.specs__row b { font-weight: 700; }
.specs__row em { font-style: italic; }
.cat--black .specs__row { color: var(--white); }
.cat--cream .specs__row { color: var(--cream); }
.cat__note { max-width: 62ch; margin: clamp(22px, 3vw, 36px) 0 0; text-align: justify;
  font-size: clamp(14.5px, 1.5vw, 17px); color: var(--white); font-weight: 500; }
.cat__note strong { color: var(--red-hi); font-weight: 700; }
/* on the red board, beige text keeps contrast */
.cat--cream .cat__head { color: var(--cream); text-shadow: none; }
.cat__note--dark { color: var(--cream); margin-top: 18px; }
.cat__note--dark strong { color: var(--white); }

/* ---------- NOTABLE HIGHLIGHTS (pinned horizontal gallery) ---------- */
.hgal { position: relative; background: var(--black); }
.hgal__pin { position: sticky; top: 0; height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(18px, 3.5vh, 40px); }
.hgal__head { position: relative; z-index: 1; padding: 0 var(--pad);
  margin-top: clamp(64px, 9vh, 100px); font-size: clamp(26px, 3.4vw, 46px); }
.hgal__track { position: relative; z-index: 1; display: flex;
  gap: clamp(18px, 2.5vw, 34px); padding: 0 var(--pad);
  will-change: transform; }
.hcard { flex: 0 0 auto; width: min(72vw, 620px);
  background: rgba(10,10,10,.86); border: 1px solid rgba(255,255,255,.12); }
.hcard__art { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; }
.hcard__art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0,0,0,.4)); }
.hcard__body { padding: 16px 20px 22px; }
.hcard__year { font-family: var(--font-head); font-size: 13px;
  letter-spacing: .26em; color: var(--red-hi); }
.hcard h3 { font-family: var(--font-head); font-weight: 400;
  font-size: clamp(21px, 2.3vw, 29px); color: var(--white); margin: 6px 0 8px;
  line-height: 1.1; }
.hcard p { margin: 0; color: var(--grey); letter-spacing: .06em;
  font-size: clamp(14px, 1.4vw, 16.5px); line-height: 1.55; }
.hgal__progress { position: absolute; z-index: 2; left: var(--pad); right: var(--pad);
  bottom: clamp(16px, 3vh, 28px); height: 3px; background: rgba(255,255,255,.08); }
#hgalBar { display: block; height: 100%; width: 0; background: var(--white); }
/* poster art slots (image on top, graded gradient shows if a file is missing) */
.shot__art--pathu-poster { background:
  url("images/poster-pathu-thala.jpg") center / cover no-repeat,
  linear-gradient(135deg, #201206 0%, #6b3a10 45%, #17181c 100%); }
.shot__art--romeo-poster { background:
  url("images/poster-romeo.jpg") center / cover no-repeat,
  linear-gradient(135deg, #2a0e08 0%, #7a3413 45%, #1a130c 100%); }
.shot__art--kuttram-poster { background:
  url("images/poster-kuttram.jpg") center / cover no-repeat,
  linear-gradient(135deg, #05070c 0%, #101c30 45%, #090c12 80%, #1a1206 100%); }
/* reduced-motion / fallback: natural swipe instead of pinning */
.hgal.no-pin .hgal__pin { position: static; height: auto; padding: clamp(56px,8vw,110px) 0; }
.hgal.no-pin .hgal__track { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .hcard { width: 82vw; }
  .hcard__art { aspect-ratio: 16 / 9.5; }
}

/* ---------- COMMERCIALS ---------- */
.commercials { background: var(--black); padding: clamp(56px, 8vw, 110px) var(--pad); }
.commercials__head { display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px 26px; margin-bottom: 12px; }
.commercials__count { margin: 0; font-family: var(--font-head); letter-spacing: .1em;
  color: var(--grey); font-size: clamp(14px, 1.6vw, 20px); }
.commercials__num { color: var(--red-hi); font-size: 1.35em; }
.commercials__intro { margin: 0 0 clamp(30px, 4vw, 52px); }
.commercials__grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px); max-width: var(--maxw); }
.ad { position: relative; display: block; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: #0a0a0a; }
/* play badge — signals the card opens a video */
.ad::after {
  content: ""; position: absolute; top: calc(50% - 15px); left: 50%; z-index: 3;
  transform: translate(-50%, -50%) scale(.86); pointer-events: none;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9); background: rgba(0,0,0,.42)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: .82; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ad:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce) { .ad:hover::after { transform: translate(-50%, -50%); } }
.ad__art { position: relative; aspect-ratio: 16 / 9; transform: scale(1.02);
  transition: transform .8s var(--ease); }
.ad:hover .ad__art { transform: scale(1.09); }
.ad__art::before { content: ""; position: absolute; inset: 0; z-index: 1;
  opacity: .4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.ad__art::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.75)); }
.ad__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 12px 14px 13px; }
.ad__brand { font-family: var(--font-head); color: var(--white);
  font-size: clamp(15px, 1.65vw, 20px); letter-spacing: .04em; line-height: 1.05; }
.ad__brand em { font-style: italic; color: var(--grey); font-size: .72em; letter-spacing: .02em; }
.ad__type { font-family: var(--font-head); font-size: 11px; letter-spacing: .24em;
  color: var(--red-hi); white-space: nowrap; }
.commercials__all { display: inline-block; margin-top: clamp(24px, 3vw, 38px);
  font-family: var(--font-head); letter-spacing: .12em; color: var(--cream);
  border-bottom: 1px solid rgba(244,239,226,.4); padding-bottom: 3px;
  transition: color .25s, border-color .25s; font-size: clamp(14px, 1.5vw, 18px); }
.commercials__all:hover { color: var(--red-hi); border-color: var(--red-hi); }
/* ad placeholder grades (swap for real thumbnails via .ad__art background) */
.ad--kalyan   { background: url("images/KALYAN.jpg") center / cover no-repeat, linear-gradient(135deg, #2a1e05 0%, #7a5814 45%, #170f04 100%); }
.ad--raj      { background: url("images/RAJPARIS.jpg") center 20% / cover no-repeat, linear-gradient(135deg, #24100a 0%, #7a3a1f 46%, #1a1109 100%); }
.ad--peps     { background: url("images/PEPS.jpg") center / cover no-repeat, linear-gradient(135deg, #05121e 0%, #123a58 46%, #0a0f14 100%); }
.ad--redbus   { background: url("images/REDBUS.jpg") center / cover no-repeat, linear-gradient(135deg, #200606 0%, #7a1717 45%, #140808 100%); }
.ad--khazana  { background: url("images/KHAZANA.jpg") center / cover no-repeat, linear-gradient(135deg, #0d1a0c 0%, #3a4a1a 46%, #14140a 100%); }
.ad--sidharth { background: url("images/SIDARTHHOUSING.jpg") center / cover no-repeat, linear-gradient(135deg, #0a1013 0%, #24343f 48%, #131313 100%); }
@media (max-width: 900px) { .commercials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .commercials__grid { grid-template-columns: 1fr; } }

/* ---------- VIDEO LIGHTBOX ---------- */
.vmodal { position: fixed; inset: 0; z-index: 9600; display: none;
  align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px);
  background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vmodal.open { display: flex; animation: vmfade .3s var(--ease); }
@keyframes vmfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vmodal.open { animation: none; } }
.vmodal__stage { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9;
  background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.65); }
.vmodal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; top: clamp(12px, 3vw, 26px); right: clamp(14px, 3vw, 30px);
  z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.5); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .3s var(--ease); }
.vmodal__close:hover { background: var(--red); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .vmodal__close:hover { transform: none; } }
body.modal-lock { overflow: hidden; }

/* ---------- COLLAGE GRID ---------- */
.collage { background: var(--black); padding: clamp(8px, 1vw, 14px); }
.collage__grid { display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px); }
.cell { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cell--w2 { grid-column: span 2; }
.cell i {
  position: absolute; left: 12px; bottom: 8px; z-index: 4; font-style: normal;
  font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .2em;
  color: rgba(255,255,255,.75); opacity: 0; transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}
.cell:hover i { opacity: 1; transform: none; }

/* asym layout for web series on cream */
.cat__two--asym { align-items: start; }

/* ---------- CONTACT ---------- */
.contact { position: relative; background: var(--black); }
.contact__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  grid-template-rows: auto auto;
  max-width: var(--maxw); margin: 0 auto;
}
.contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: clamp(300px, 38vw, 480px); background: var(--red); }
.contact__info { position: relative; z-index: 1; padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(30px, 4vw, 56px) var(--pad); }
.crow { display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  border-bottom: 2px solid var(--cream); padding: 16px 0 10px; }
.crow:first-child { border-top: 2px solid var(--cream); }
.crow b { font-family: var(--font-head); font-weight: 700; color: var(--cream);
  font-size: clamp(15px, 1.6vw, 19px); }
.crow a { color: var(--cream); font-size: clamp(14px, 1.5vw, 18px); font-weight: 500; }
.crow a.u { text-decoration: underline; text-underline-offset: 3px; }
.crow a:hover { color: var(--white); }
.contact__photo { position: relative; z-index: 1; grid-row: 1 / 3; grid-column: 2;
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(40px, 6vw, 80px) 0; }
.contact__art { width: 100%; height: 100%; min-height: clamp(320px, 44vw, 560px);
  background:
    url("images/work-with-me.jpg?v=20") center center / cover no-repeat,
    radial-gradient(70% 50% at 50% 28%, rgba(90,110,95,.5), transparent 65%),
    linear-gradient(180deg, #31413a 0%, #22322e 40%, #15221f 75%, #0b1412 100%);
  position: relative; }
.contact__art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 50% 30%, transparent 50%, rgba(0,0,0,.4)); }
.contact__cta {
  grid-column: 1; align-self: end; padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px) var(--pad);
  font-size: clamp(56px, 8.6vw, 128px); line-height: .95; letter-spacing: .01em;
}

/* ---------- FOOTER ---------- */
.footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 26px var(--pad) 34px; border-top: 1px solid rgba(244,239,226,.14);
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .18em;
  color: var(--grey); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .profile__grid { grid-template-columns: 1fr; }
  .profile__photo { max-width: 440px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__photo { grid-row: auto; grid-column: 1; padding: 0 var(--pad); }
  .contact::before { height: auto; bottom: 46%; }
  .contact__cta { padding-top: clamp(30px, 5vw, 50px); }
}
/* ---------- BEBAS NEUE TYPE PASS ----------
   Bebas ships a single 400 weight — avoid synthesized bold, and open up
   tracking/sizes so all-caps descriptions stay readable. */
.h-chunk, .neon-soft, .nav__brand, .nav__links a, .cover__role, .cover__tag,
.col h4, .crow b, .divider__corner, .shot__title, .cell i, .footer,
.portal__label { font-weight: 400; }
.profile__intro p, .cat__note { font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: .06em; font-weight: 400; }
.col ul li, .col__years, .col__sub { letter-spacing: .06em; }
.specs__row { letter-spacing: .05em; }
.crow a { letter-spacing: .05em; }

@media (max-width: 760px) {
  .nav__links { position: fixed; top: calc(max(10px, env(safe-area-inset-top)) + 62px);
    left: 12px; right: 12px; flex-direction: column; gap: 0;
    background: rgba(0,0,0,.94); border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px; padding: 10px 0 14px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 13px var(--pad); }
  .nav__burger { display: flex; }
  .cat__two { grid-template-columns: 1fr; }
  .collage__grid { grid-template-columns: repeat(2, 1fr); }
  .cell i { opacity: 1; transform: none; }
  .cols { grid-template-columns: 1fr; }
  .cover__title { font-size: 11vw; white-space: normal; }
  .divider__word { font-size: 13vw; }
  /* Hero collage: match the box to the image ratio so the WHOLE
     collage is visible on phones instead of a cropped middle band. */
  .cover__bts-art { height: auto; min-height: 0; aspect-ratio: 1940 / 811;
    background-size: cover, cover; background-position: center, center; }
}

/* ---------- RESPONSIVE FINE-TUNING ---------- */
/* tablet: 3-col collage between phone and desktop */
@media (min-width: 761px) and (max-width: 1024px) {
  .collage__grid { grid-template-columns: repeat(2, 1fr); }
  .cell--w2 { grid-column: span 2; }
  .profile__grid { gap: 34px; }
}
/* small phones */
@media (max-width: 640px) {
  .cover { padding-top: 86px; }
  .cover__title { font-size: 11.4vw; margin-top: 10px; }
  .cover__art { height: 56vw; }
  .cover__role { font-size: 8.2vw; }
  .profile__grid { padding-top: 44px; gap: 26px; }
  .profile__name { font-size: 14.5vw; }
  .cat { padding-top: 52px; padding-bottom: 52px; }
  .cat__head { font-size: 9.4vw; }
  .specs__row { grid-template-columns: 86px 1fr; gap: 8px; }
  .divider { min-height: 64vw; }
  .divider__word { font-size: 12.4vw; }
  .divider__corner { font-size: 6.6vw; }
  .contact__cta { font-size: 15.5vw; }
  .crow { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0 10px; }
  .footer { flex-direction: column; gap: 5px; }
}
/* very narrow */
@media (max-width: 400px) {
  :root { --pad: 16px; }
  .nav { padding: 10px 18px; }
  .nav__brand { font-size: 13px; }
  .cover__tag { letter-spacing: .1em; }
}
