/* Folklore Entertainment — prestige film studio, grounded in Kashmir. */

:root {
  --ink: #0b1633;      /* nav and letterbox bars only */
  --night: #13254f;    /* brand indigo: the page ground */
  --night-2: #1a2f60;
  --night-3: #26407a;
  --saffron: #f2b705;
  --earth: #b5532a;
  --earth-lit: #e0814f;
  --indigo: #1f4fbf;
  --cream: #f1e6d2;
  --cream-2: color-mix(in srgb, var(--cream) 76%, transparent);
  --cream-3: color-mix(in srgb, var(--cream) 58%, transparent);
  --rule: color-mix(in srgb, var(--cream) 18%, transparent);

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --credit: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --hindi: "Amita", "Tiro Devanagari Hindi", serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --nav-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--night-3) var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font-family: var(--body); font-size: 17px; line-height: 1.6; text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--saffron); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
::selection { background: var(--saffron); color: var(--night); }
input, textarea { caret-color: var(--saffron); }
section[id] { scroll-margin-top: var(--nav-h); }
[hidden] { display: none !important; }
.hi { font-family: var(--hindi); font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Credit type: the billing-block voice used for every small label. */
.credit {
  font-family: var(--credit); font-weight: 500; font-size: 15px;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--saffron); color: var(--night); }
.skip:focus { top: 12px; color: var(--night); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; cursor: pointer; text-decoration: none;
  font-family: var(--credit); font-weight: 600; font-size: 16px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--saffron); border-radius: 0; color: var(--night); background: var(--saffron);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--rule); }
.btn-line:hover { background: transparent; border-color: var(--saffron); color: var(--saffron); }
.btn:disabled { opacity: .5; cursor: progress; }

/* — nav — */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding-inline: var(--gutter);
  background: var(--ink);
  transition: background-color .3s var(--ease);
}
.nav-brand { display: flex; align-items: baseline; gap: 12px; margin-right: auto; color: var(--cream); text-decoration: none; }
.nav-brand .credit { font-size: 17px; letter-spacing: .3em; font-weight: 600; }
.nav-brand .hi { font-size: 18px; color: var(--saffron); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--cream-2); text-decoration: none; font-family: var(--credit); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-block: 8px; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--saffron); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (max-width: 1080px) {
  .nav { height: auto; flex-wrap: wrap; gap: 0 16px; padding-top: 10px; background: var(--ink); box-shadow: 0 1px 0 var(--rule); }
  .nav-links { order: 3; flex: 1 0 100%; overflow-x: auto; gap: 22px; padding-bottom: 6px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-links::-webkit-scrollbar { display: none; }
  :root { --nav-h: 104px; }
}

/* — folk border: the act break — */
.folk {
  height: 18px; background-color: var(--earth);
  background-image:
    radial-gradient(circle at 50% 50%, var(--saffron) 2.5px, transparent 3px),
    linear-gradient(45deg, transparent 42%, var(--indigo) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--indigo) 42% 58%, transparent 58%);
  background-size: 18px 18px;
}

/* — hero: the opening title sequence — */
/* Letterbox: solid ink bars above and below a ~2.39:1 frame. The title sits in the
   frame's lower third; the billing block lives in the bottom bar. */
.hero {
  --bar: clamp(56px, calc((100svh - 100vw / 2.39) / 2), 16svh);
  display: grid; grid-template-rows: var(--bar) minmax(calc(100svh - 2 * var(--bar)), auto) minmax(var(--bar), auto);
  background: var(--ink); isolation: isolate;
}
.hero-still { grid-row: 2; grid-column: 1; position: relative; overflow: hidden; z-index: -1; }
.hero-still img { position: absolute; inset: -10% -15%; width: 130%; height: 120%; max-width: none; object-fit: cover; object-position: 50% 52%; filter: saturate(1.1) contrast(1.04) brightness(.74); }  /* oversized to crop the painting's own border */
.hero-still::before {
  /* low saffron light from the left; this layer alone breathes */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--saffron) 18%, transparent), transparent 60%);
}
.hero-still::after {
  /* steady text wash: left side and lower third */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 86%, transparent) 0%, color-mix(in srgb, var(--ink) 62%, transparent) 40%, transparent 70%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 40%, transparent) 45%, transparent 75%);
}
.hero-inner { grid-row: 2; grid-column: 1; align-self: end; width: 100%; padding-block: 48px 40px; }
.presents { color: var(--cream-2); }
.title-card { font-size: clamp(52px, 7vw, 104px); line-height: 1.25; color: var(--saffron); margin-top: .45em; }
.hero h1 { font-size: clamp(46px, 6.4vw, 100px); line-height: 1; margin-top: clamp(20px, 3vw, 40px); max-width: 17ch; }
.hero h1 em { font-style: italic; color: var(--saffron); }
.hero-lede { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 72px; align-items: end; margin-top: 32px; }
.hero-lede p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 42ch; color: var(--cream-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bar-bottom { grid-row: 3; display: grid; align-items: center; border-top: 1px solid color-mix(in srgb, var(--earth) 70%, transparent); }
.billing { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 20px; color: var(--cream-3); }
.billing b { color: var(--cream); font-weight: 600; }
.still-credit { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 12px; }
.still-credit a { color: inherit; }
/* Opening sequence, once per visit (main.js adds .no-intro on repeat views or a click):
   1. Ink curtain with FOLKLORE ENTERTAINMENT cut out; Martand glows through the letters.
   2. The camera flies into the letters while the curtain dissolves (~2.5s).
   3. The still settles from a counter-zoom; लोककथा wipes on; title, lede, billing rise.
   Content is fully visible without any of it. */
:root { --t0: 2.5s; }
.no-intro { --t0: .2s; }
.hero { position: relative; overflow: clip; }
.intro { position: absolute; inset: 0; z-index: 15; display: grid; pointer-events: none; }
.intro svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; }
.brand-cut { font-family: var(--display); font-weight: 800; font-size: 150px; }
.intro-sub { font-family: var(--hindi); font-weight: 700; font-size: 30px; fill: var(--saffron); }
.intro-tag { font-family: var(--credit); font-weight: 500; font-size: 15px; letter-spacing: .3em; fill: var(--cream); }
.no-intro .intro, .intro.is-done { display: none; }
.brand-cut-sm { font-size: 92px; }
.brand-cut-tall-sm { font-size: 72px; }
.intro-tall { display: none; }
@media (max-width: 700px) {
  .intro-wide { display: none; }
  .intro-tall { display: block; }
  .intro-tall .intro-sub { font-size: 44px; }
  .intro-tall .intro-tag { font-size: 20px; }
}

@keyframes through {
  0%   { transform: scale(1.06); opacity: 1; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  58%  { transform: scale(1); opacity: 1; animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  82%  { opacity: 1; }
  100% { transform: scale(9); opacity: 0; }
}
@keyframes sub-out { 0%, 45% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes curtain-off { to { visibility: hidden; } }
@keyframes reveal {
  0%   { transform: scale(1.35); filter: saturate(1.25) contrast(1.08) brightness(1); }
  58%  { transform: scale(1.28); }
  100% { transform: scale(1); filter: saturate(1.1) contrast(1.04) brightness(.74); }
}
@keyframes push { from { transform: scale(1.14); filter: saturate(1.1) contrast(1.04) brightness(.15); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06) translateX(-1.2%); } }
@keyframes credit { from { opacity: 0; letter-spacing: .6em; } }
@keyframes wipe { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); filter: blur(10px); } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes appear { from { opacity: 0; } }
.hero h1 em { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .intro svg { animation: through var(--t0) both; }
  .intro-sub, .intro-tag { animation: sub-out var(--t0) both; }
  .intro { animation: curtain-off 0s var(--t0) forwards; }
  .hero-still img { animation: reveal var(--t0) both, drift 28s ease-in-out var(--t0) infinite alternate; }
  .no-intro .hero-still img { animation: push 2s var(--ease) both, drift 28s ease-in-out 2s infinite alternate; }
  .hero-still::after { animation: appear 1.2s var(--ease) calc(var(--t0) - .4s) both; }
  .hero-still::before { animation: appear 1.2s var(--ease) calc(var(--t0) - .4s) both, glow 7s ease-in-out calc(var(--t0) + 1s) infinite; }
  .nav { animation: appear .8s var(--ease) calc(var(--t0) - .2s) both; }
  .hero .presents { animation: credit 1.2s var(--ease) calc(var(--t0) + .1s) both; }
  .title-card { animation: wipe 1.1s cubic-bezier(.65, 0, .35, 1) calc(var(--t0) + .3s) both; }
  .hero h1 { animation: rise 1.1s var(--ease) calc(var(--t0) + .8s) both; }
  .hero h1 em { animation: rise 1.2s var(--ease) calc(var(--t0) + 1.1s) both; }
  .hero-lede { animation: rise 1s var(--ease) calc(var(--t0) + 1.4s) both; }
  .billing { animation: rise 1s var(--ease) calc(var(--t0) + 1.6s) both; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* — section frame — */
.act { padding-block: clamp(88px, 11vw, 148px); }
.act-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 56px; }
.act-head h2 { font-size: clamp(40px, 5.2vw, 76px); max-width: 16ch; }
.act-head p { max-width: 46ch; color: var(--cream-2); }
.prose p { max-width: 64ch; color: var(--cream-2); }
.prose p + p { margin-top: 16px; }
.prose p:first-child { color: var(--cream); }

/* — about — */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 96px; align-items: start; }
.about h2 { font-size: clamp(40px, 5.2vw, 76px); }
.statement { margin: 48px 0 0; padding-left: 0; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--saffron); max-width: 30ch; }
.slate-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 96px; border-top: 1px solid var(--earth); }
.slate-kinds div { padding: 28px 28px 0 0; }
.slate-kinds h3 { font-size: 26px; }
.slate-kinds p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--cream-2); }

/* — founder: end credits — */
.founder { background: var(--night-2); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 96px; align-items: start; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.portrait {
  aspect-ratio: 4 / 5; display: grid; place-items: end start; padding: 24px; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 70% 20%, var(--night-3), var(--night) 70%);
  border: 1px solid var(--rule);
}
.portrait .hi { position: absolute; right: -10px; top: 6px; font-size: clamp(120px, 16vw, 210px); line-height: 1; color: color-mix(in srgb, var(--saffron) 14%, transparent); }
.portrait .credit { color: var(--cream-3); font-size: 13px; }
.founder h2 { font-size: clamp(46px, 6vw, 88px); }
.founder .role { margin-top: 16px; font-family: var(--display); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--saffron); }
.founder .prose { margin-top: 32px; }
.end-credits { margin: 56px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 28px; }
.end-credits > div { display: contents; }
.end-credits dt { text-align: right; color: var(--cream-3); font-family: var(--credit); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.end-credits dd { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.3; }
.end-credits .now dd { color: var(--saffron); }
@media (max-width: 520px) {
  .end-credits { grid-template-columns: 1fr; gap: 2px; }
  .end-credits dt { text-align: left; margin-top: 14px; }
}
.press-note { margin-top: 32px; font-size: 15px; color: var(--cream-3); }

/* — slate: one-sheets — */
.filter { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule); }
.filter button {
  min-height: 44px; padding: 0 18px; border: 0; background: transparent; color: var(--cream-2); cursor: pointer;
  font-family: var(--credit); font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
}
.filter button + button { border-left: 1px solid var(--rule); }
.filter button:hover { color: var(--cream); }
.filter button[aria-pressed="true"], .filter button[aria-pressed="true"]:hover { background: var(--saffron); color: var(--night); }
.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 48px 28px; }
.sheet { display: flex; flex-direction: column; }
.sheet-art {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--night-2);
  border: 1px solid var(--rule); display: grid; align-content: end; padding: 20px; isolation: isolate;
}
.sheet-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(.7) contrast(1.05) brightness(.7); transition: filter .6s var(--ease), transform .9s var(--ease); }
.sheet-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--night) 4%, transparent 62%); }
.sheet-art .hi { font-size: 30px; color: var(--saffron); line-height: 1.3; }
.sheet-art h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.sheet-art .credit { margin-top: 12px; font-size: 13px; color: var(--cream-2); }
.sheet-art.type-only { background: radial-gradient(100% 70% at 50% 0%, var(--night-3), var(--night-2)); align-content: center; text-align: center; }
.sheet-art.type-only::after { display: none; }
.sheet-art.type-only::before { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--saffron) 40%, transparent); }
.sheet-folk { position: absolute; left: 14px; right: 14px; top: 14px; height: 14px; background-size: 14px 14px; }
.sheet-art.type-only .sheet-folk + * { margin-top: 0; }
.sheet:hover .sheet-art img, .sheet:focus-within .sheet-art img { filter: sepia(.1) saturate(.95) contrast(1.05) brightness(.85); transform: scale(1.03); }
.sheet-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--saffron); }
.sheet-meta span:last-child { color: var(--cream-3); }
.sheet p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--cream-2); }
.sheet .src { margin-top: 10px; font-size: 13px; color: var(--cream-3); }
@media (max-width: 600px) {
  .sheets { grid-template-columns: 1fr 1fr; gap: 40px 14px; }
  .sheet-art { padding: 12px; }
  .sheet-art h3 { font-size: 22px; }
  .sheet-art .hi { font-size: 20px; }
  .sheet-art .credit { font-size: 11px; letter-spacing: .1em; }
  .sheet-meta { flex-direction: column; gap: 2px; font-size: 13px; }
  .sheet p { font-size: 14px; }
}
.slate-note { margin-top: 56px; font-size: 14px; color: var(--cream-3); }

/* — StreeDesh: the featured presentation — */
.feature { background: var(--night-2); }
.letterbox { background: var(--ink); padding-top: clamp(40px, 8vw, 120px); }
.feature-still { position: relative; aspect-ratio: 2.39 / 1; width: 100%; overflow: hidden; }
@media (max-width: 700px) { .feature-still { aspect-ratio: 16 / 10; } }
.feature-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: sepia(.3) saturate(.75) contrast(1.05) brightness(.78); }
.fig-credit { padding-block: 14px clamp(28px, 4vw, 48px); font-size: 12px; color: var(--cream-3); text-align: right; }
.fig-credit a { color: inherit; }
.feature-title { padding-top: clamp(56px, 7vw, 96px); }
.feature h2 { font-size: clamp(64px, 11vw, 168px); line-height: .9; margin-top: 12px; }
.feature h2 .hi { display: block; font-size: .38em; color: var(--saffron); line-height: 1.4; margin-top: 8px; }
.feature .sub { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); margin-top: 18px; color: var(--cream-2); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 96px; margin-top: 64px; padding-bottom: clamp(88px, 11vw, 148px); }
.ledger { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--earth); color: var(--saffron); font-size: 15px; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.facts li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; background: var(--earth-lit); transform: rotate(45deg); }

/* — in development: coming attractions — */
.dev { background: var(--night); }
.coming { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 2px solid var(--saffron); }
.coming article { padding: 32px 32px 40px 0; display: flex; flex-direction: column; gap: 14px; }
.coming article + article { padding-left: 32px; border-left: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .coming article, .coming article + article { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.coming .credit { font-size: 14px; }
.coming h3 { font-size: clamp(36px, 3.4vw, 48px); }
.coming p { font-size: 16px; color: var(--cream-2); flex: 1; }
.coming .status { display: inline-flex; align-self: start; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--saffron) 60%, transparent); color: var(--saffron); font-size: 13px; }

/* — press — */
.press { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--earth); }
.press li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.press .credit { color: var(--saffron); font-size: 14px; padding-top: 6px; }
.press p { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
@media (max-width: 600px) { .press li { grid-template-columns: 1fr; } }

/* — contact — */
.contact { background: var(--night-2); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px 96px; }
.contact h2 { font-size: clamp(46px, 6vw, 88px); }
.contact .lede { margin-top: 24px; max-width: 38ch; color: var(--cream-2); }
.form { display: flex; flex-direction: column; gap: 22px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.field label, .field .field-label { display: block; margin-bottom: 8px; font-family: var(--credit); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.req { color: var(--saffron); }
.input {
  width: 100%; min-height: 48px; padding: 10px 0; font: inherit; font-size: 18px; color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); border-radius: 0;
}
.input:hover { border-bottom-color: var(--cream-2); }
.input:focus-visible { outline: none; border-bottom: 2px solid var(--saffron); margin-bottom: -1px; }
textarea.input { min-height: 120px; resize: vertical; }
.form .filter { display: flex; }
.form-error { font-size: 15px; color: var(--earth-lit); }
.thanks h3 { font-size: 44px; }
.thanks p { margin-top: 14px; color: var(--cream-2); }
.thanks .btn { margin-top: 28px; }

/* — end card — */
footer { padding: 72px 0 40px; text-align: center; }
footer .hi { font-size: clamp(40px, 6vw, 72px); color: var(--saffron); line-height: 1.3; }
footer .brand { margin-top: 8px; font-size: 18px; letter-spacing: .34em; }
footer .tag { margin-top: 14px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--cream-2); }
footer .fine { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 13px; color: var(--cream-3); }

/* — Kashmiri section grounds. Each theme re-points the colour tokens, so every
   component inside picks up its palette without its own rules. — */
.t-pashmina, .t-walnut, .t-dal, .t-kesar, .t-chinar { color: var(--cream); }
.t-pashmina {   /* pashmina wool */
  --cream: #2b1a10; --saffron: #a63d1e; --earth: #a63d1e;
  --cream-2: color-mix(in srgb, #2b1a10 82%, transparent); --cream-3: color-mix(in srgb, #2b1a10 68%, transparent);
  --rule: color-mix(in srgb, #2b1a10 20%, transparent);
  background: #efe4cf;
}
.t-pashmina ::selection { background: #a63d1e; color: #efe4cf; }
.t-walnut {     /* carved walnut */
  --night: #24150c; --night-2: #3b2416; --night-3: #573722;
  background: #3b2416;
}
.t-dal {        /* Dal lake at dusk */
  --night: #0e3438; --night-2: #154a50; --night-3: #1d6068;
  background: #0e3438;
}
.t-kesar {      /* saffron-crocus violet */
  --night: #2a1638; --night-2: #3d2357; --night-3: #553375;
  background: #3d2357;
}
.t-chinar {     /* chinar leaf in autumn */
  --night: #6e2512; --night-2: #84301a; --night-3: #9b3d22;
  --cream-2: color-mix(in srgb, #f1e6d2 86%, transparent);
  background: #6e2512;
}
.t-dal .filter button[aria-pressed="true"] { color: #0e3438; }


.feature-title { padding-top: clamp(88px, 11vw, 148px); }

.t-saffron {    /* Kashmiri saffron, the bold act after the title */
  --cream: #2b1a10; --saffron: #7a1f0c; --earth: #7a1f0c;
  --cream-2: color-mix(in srgb, #2b1a10 86%, transparent); --cream-3: color-mix(in srgb, #2b1a10 74%, transparent);
  --rule: color-mix(in srgb, #2b1a10 24%, transparent);
  background: #f2b705; color: var(--cream);
}
.t-saffron ::selection { background: #2b1a10; color: #f2b705; }
.t-saffron h2 { font-size: clamp(48px, 7vw, 112px); }
.t-saffron .about { grid-template-columns: 1fr; gap: 56px; }
.t-saffron .about h2 { max-width: 14ch; }
.t-saffron .prose { columns: 2 320px; column-gap: 72px; }
.t-saffron .prose p { break-inside: avoid; }
.t-saffron .statement { column-span: all; max-width: 36ch; }

/* — showreel: a projection frame in ink, straight after the title — */
.reel { background: var(--ink); padding-block: clamp(72px, 9vw, 128px) 0; }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.reel h2 { font-size: clamp(40px, 5.2vw, 76px); }
.reel h2 .hi { font-size: .5em; color: var(--saffron); margin-left: .3em; }
.reel-head p { max-width: 44ch; color: var(--cream-2); }
.reel-frame { max-width: 1600px; margin: 0 auto; padding-bottom: clamp(72px, 9vw, 128px); border-bottom: 1px solid color-mix(in srgb, var(--earth) 70%, transparent); }
.player { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(90% 80% at 50% 40%, var(--night-3), var(--night) 70%, var(--ink)); overflow: hidden; isolation: isolate; }
.player .poster, .player video.loop { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .6s var(--ease); }
.player iframe, .player video[controls], .screen-frame iframe, .screen-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-empty { position: absolute; inset: clamp(14px, 2vw, 28px); display: grid; place-content: center; justify-items: center; gap: 14px; border: 1px solid color-mix(in srgb, var(--saffron) 40%, transparent); text-align: center; }
.player-empty .sheet-folk { left: 0; right: 0; top: 0; }
.player-empty .hi { font-size: clamp(56px, 9vw, 132px); line-height: 1.2; color: color-mix(in srgb, var(--saffron) 70%, transparent); }
.player-empty .credit { color: var(--cream-3); font-size: 15px; }
.play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 0; border: 0; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 70%, transparent), transparent 55%); color: var(--cream); cursor: pointer; }
.play .credit { font-size: 16px; font-weight: 600; letter-spacing: .2em; }
.play:hover .poster, .player:has(.play:hover) .poster { filter: brightness(.85); }
.player .play { place-content: end start; justify-items: start; padding: clamp(24px, 4vw, 56px); }

/* the play mark: a square slab, like every button in the world */
.play-mark { display: grid; place-items: center; width: clamp(64px, 7vw, 96px); aspect-ratio: 1; background: var(--saffron); color: var(--night); transition: background .25s var(--ease), transform .5s var(--ease); }
.play-mark svg { width: 42%; fill: currentColor; }
.play:hover .play-mark, .film-still:hover .play-mark { background: var(--cream); transform: scale(1.06); }

/* — films for brands — */
.work { background: var(--night); }
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 56px 28px; }
.film { display: flex; flex-direction: column; }
.film-still { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; padding: 0; border: 0; overflow: hidden; isolation: isolate; cursor: pointer; color: var(--cream); background: radial-gradient(100% 90% at 50% 20%, var(--night-3), var(--night-2)); }
.film-still img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.78); transition: filter .6s var(--ease), transform .9s var(--ease); }
.film-still:hover img, .film-still:focus-visible img { filter: saturate(1) brightness(.92); transform: scale(1.03); }
.film-still .play-mark { width: 56px; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .5s var(--ease), background .25s var(--ease); }
.film-still:hover .play-mark, .film-still:focus-visible .play-mark { opacity: 1; transform: none; }
@media (hover: none) { .film-still .play-mark { opacity: 1; transform: none; } }
.film-still:disabled { cursor: default; }
.film-still:disabled .play-mark { display: none; }
.film-still::before { content: ""; position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--saffron) 30%, transparent); pointer-events: none; }
.film-still:has(img)::before { display: none; }
.film-empty { color: var(--cream-3); font-size: 14px; }
.film h3 { margin-top: 10px; font-size: clamp(26px, 2.4vw, 32px); }
.film .client { margin-top: 6px; font-family: var(--display); font-style: italic; font-size: 18px; color: var(--cream-2); }

/* — the screening room: a full-screen player for one film — */
.screen { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--cream); }
.screen[open] { display: grid; grid-template-rows: auto 1fr; }
.screen::backdrop { background: color-mix(in srgb, var(--ink) 94%, transparent); }
.screen-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 14px; }
.screen-bar .credit { color: var(--cream-2); }
.screen-frame { position: relative; align-self: center; justify-self: center; width: min(100%, (100svh - 120px) * 16 / 9); aspect-ratio: 16 / 9; }
@media (prefers-reduced-motion: no-preference) { .screen[open] { animation: appear .4s var(--ease); } }

/* — lithograph Devanagari: ghosted signature words printed up the outer edges of the acts — */
section:has(> .litho) { position: relative; overflow: clip; isolation: isolate; }
.litho {
  position: absolute; z-index: -1; top: 50%;
  font-family: var(--hindi); font-weight: 700; font-size: clamp(110px, 15vw, 250px); line-height: 1;
  color: color-mix(in srgb, var(--saffron) 19%, transparent);
  writing-mode: vertical-rl; white-space: nowrap;
  pointer-events: none; user-select: none; filter: url(#litho);
}
.litho-r { right: -.3em; transform: translateY(-50%); }
.litho-l { left: -.3em; transform: translateY(-50%) rotate(180deg); }
.t-saffron .litho, .t-pashmina .litho { color: color-mix(in srgb, var(--saffron) 13%, transparent); }
@media (max-width: 700px) { .litho { font-size: 96px; opacity: .7; } }

/* — two wings: Originals (home) and Studio (studio.html) — */
.nav-sub { margin-left: -4px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--saffron) 60%, transparent); color: var(--saffron); font-size: 13px; letter-spacing: .2em; }
.nav-links a.nav-other { color: var(--saffron); }
.nav-links a.nav-other::after { content: " \2192"; }
.reel h2 em, .s-hero h1 em { font-style: italic; color: var(--saffron); }
.s-lede { display: grid; gap: 20px; max-width: 46ch; }
.s-lede p { color: var(--cream-2); }

/* Studio page: the showreel is the opening scene */
.s-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 104px)); }
.s-hero h1 { font-size: clamp(46px, 6.4vw, 100px); line-height: 1; margin-top: 14px; }
.s-hero .presents { color: var(--cream-2); }

/* brand work keeps its true colour: no archive grade on Studio stills */
.studio .film-still img { filter: none; }
.studio .film-still:hover img, .studio .film-still:focus-visible img { filter: brightness(1.04); }

.make { margin-top: 56px; }
.make h3 { font-size: clamp(28px, 2.6vw, 36px); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--earth); }
.steps li { counter-increment: step; padding: 28px 28px 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--credit); font-size: 14px; letter-spacing: .16em; color: var(--saffron); }
.steps h3 { font-size: clamp(28px, 2.6vw, 36px); }
.steps p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--cream-2); max-width: 32ch; }

.bridge .wrap { display: grid; justify-items: start; gap: 24px; }
.bridge h2 { font-size: clamp(40px, 5.2vw, 76px); max-width: 16ch; }
.bridge h2 em { font-style: italic; color: var(--saffron); }
.bridge p { max-width: 58ch; color: var(--cream-2); }

/* — real media: portrait, book covers, gallery, clippings — */
.portrait-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.sheet-art img.cover { filter: none; object-fit: cover; object-position: top; }
.sheet:hover .sheet-art img.cover, .sheet:focus-within .sheet-art img.cover { filter: none; }
.sheet-art:has(img.cover)::after { background: linear-gradient(to top, var(--night) 8%, transparent 45%); }
.gallery { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px 24px; }
.gallery figure, .clippings figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption, .clippings figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--cream-2); }
.wall-title { margin-top: 72px; font-size: clamp(28px, 3vw, 40px); }
.clippings { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 32px 24px; }
.clippings img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--cream); }
.clippings .credit { display: block; color: var(--saffron); font-size: 12px; margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail-line { margin-top: 20px; color: var(--cream-2); } .mail-line a { color: var(--saffron); }

/* — show photos whole: no cropping of faces — */
.portrait-img { aspect-ratio: auto; height: auto; object-fit: initial; }
.gallery, .clippings { display: block; columns: 3 240px; column-gap: 24px; }
.clippings { columns: 4 200px; }
.gallery figure, .clippings figure { break-inside: avoid; margin-bottom: 32px; }
.gallery img, .clippings img { aspect-ratio: auto; height: auto; object-fit: initial; }
/* book covers: whole cover, title already printed on it */
.sheet-art:has(img.cover) { padding: 0; }
.sheet-art img.cover { object-fit: cover; object-position: center top; transform: none !important; }
.sheet-art:has(img.cover)::after { display: none; }
.sheet-art:has(img.cover) > :not(img) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* StreeDesh: Hindi first and large, English below */
.feature h2 .hi { font-size: 1em; line-height: 1.25; margin-top: 0; }
.feature h2 .en { display: block; font-size: .38em; line-height: 1.1; margin-top: 10px; color: var(--cream); }
.sheet-art.hi-first .hi { font-size: clamp(34px, 4vw, 56px); line-height: 1.2; }
.sheet-art.hi-first h3 { font-size: clamp(18px, 1.6vw, 22px); margin-top: 4px; }

/* — "Covered by" mastheads — */
.covered { margin-top: 8px; color: var(--saffron); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.mastheads { list-style: none; margin: 12px 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.mastheads li { font-family: var(--display); font-size: clamp(18px, 2vw, 24px); color: var(--cream); white-space: nowrap; }
/* phones: the press wall reads as a wall, two clippings across */
@media (max-width: 600px) {
  .clippings { columns: 2; column-gap: 14px; }
  .clippings figure { margin-bottom: 22px; }
  .clippings figcaption { font-size: 13px; margin-top: 8px; }
  .clippings .credit { font-size: 11px; }
  .mastheads { gap: 6px 18px; }
  .mastheads li { font-size: 17px; }
}
