/* =========================================================================
   NAIDILE FILMS · STYLES
   Mobile-first. Dark cinematic theme, gold accent, letterbox framing.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0b0c;
  --bg-raised: #111113;
  --surface: #161618;
  --surface-2: #1d1d21;
  --line: rgba(243, 239, 231, 0.09);
  --line-strong: rgba(243, 239, 231, 0.2);
  --text: #f3efe7;
  --muted: #a9a297;
  --gold: #d4a24c;
  --gold-hi: #f0c879;
  --amber: #f39a2b; /* the orange from the logo badge */
  --gold-grad: linear-gradient(100deg, #f7d996 0%, #d4a24c 48%, #f39a2b 100%);
  --ok: #8bd8a6;
  --danger: #ff8a7a;

  --font-display: 'Bebas Neue', 'Baloo Tamma 2', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', 'Noto Sans Kannada', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-kn: 'Baloo Tamma 2', 'Noto Sans Kannada', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: 16px;
  --container: 1200px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (overflow: clip) { html { overflow-x: clip; } }

html:lang(kn) body { line-height: 1.8; }
.is-locked, .is-locked body { overflow: hidden; }

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
[lang="kn"] { font-family: var(--font-kn); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--bg); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--stroke { fill: none; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 300;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--bg); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* Film grain over everything (pointer-events off, so it never blocks clicks) */
.grain {
  position: fixed; inset: -80px; z-index: 250; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1.1s steps(5) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-22px, 14px); }
  40% { transform: translate(16px, -24px); }
  60% { transform: translate(-12px, -10px); }
  80% { transform: translate(24px, 18px); }
  100% { transform: translate(0, 0); }
}

/* ---------- Buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background-color 0.25s, border-color 0.25s, color 0.25s, filter 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.85rem; }
.btn--gold {
  background: var(--gold-grad); color: #120d05;
  box-shadow: 0 12px 30px -12px rgba(243, 154, 43, 0.65);
}
.btn--gold:hover { filter: brightness(1.08) saturate(1.05); box-shadow: 0 16px 36px -12px rgba(243, 154, 43, 0.8); }
.btn--ghost {
  background: rgba(243, 239, 231, 0.05); border-color: var(--line-strong); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--wa { background: rgba(37, 211, 102, 0.08); border-color: rgba(37, 211, 102, 0.45); color: var(--text); }
.btn--wa .icon { color: #39d877; }
.btn--wa:hover { background: rgba(37, 211, 102, 0.16); border-color: #39d877; }
.icon--yt { color: #ff4e45; }
.btn--gold .icon--yt { color: inherit; }

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
  color: var(--gold-hi); background: rgba(11, 11, 12, 0.72);
  border: 1px solid rgba(212, 162, 76, 0.5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--song { color: #ffc98a; border-color: rgba(243, 154, 43, 0.55); }
html:lang(kn) .tag { letter-spacing: 0.02em; font-size: 0.78rem; text-transform: none; }

.badge-new {
  padding: 0.22rem 0.55rem; border-radius: 4px; background: var(--gold); color: var(--bg);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
html:lang(kn) .badge-new { letter-spacing: 0; font-size: 0.78rem; }

.rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff4e45; flex: none;
  box-shadow: 0 0 0 0 rgba(255, 78, 69, 0.6);
  animation: rec 1.8s ease-out infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(255, 78, 69, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255, 78, 69, 0); }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
}
/* The blurred background lives on a pseudo-element: backdrop-filter on the header
   itself would trap the fixed mobile menu inside the header box. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 12, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.4s;
}
.site-header.is-scrolled::before { opacity: 1; }

.nav { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { flex: none; display: block; margin-right: auto; }
.brand img { height: calc(var(--header-h) - 14px); width: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)); }

.nav__links { list-style: none; margin: 0; padding: 0; display: flex; }
.nav__links a {
  position: relative; display: inline-block; padding: 0.4rem 0;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(243, 239, 231, 0.78); transition: color 0.25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
html:lang(kn) .nav__links a { letter-spacing: 0; text-transform: none; font-size: 0.95rem; font-family: var(--font-kn); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-toggle {
  min-height: 40px; min-width: 44px; padding: 0 0.85rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(11, 11, 12, 0.35);
  font-size: 0.85rem; font-weight: 500; transition: border-color 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
#lang-toggle-text:not([lang="kn"]) { font-family: var(--font-body); }
.nav__sub { display: none; }

.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ''; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.is-menu-open .burger__lines { background: transparent; }
.is-menu-open .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.is-menu-open .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023.98px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -2;
    flex-direction: column; justify-content: center; gap: 0.25rem;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem;
    background:
      radial-gradient(ellipse 80% 50% at 85% 0%, rgba(243, 154, 43, 0.16), transparent 70%),
      rgba(11, 11, 12, 0.97);
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .nav__links li { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 80ms); }
  .nav__links a { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.4rem); letter-spacing: 0.02em; color: var(--text); padding: 0.1rem 0; }
  html:lang(kn) .nav__links a { font-family: var(--font-kn); font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 600; }
  .is-menu-open .nav__links { opacity: 1; visibility: visible; }
  .is-menu-open .nav__links li { opacity: 1; transform: none; }
}
@media (min-width: 600px) { .nav__sub { display: inline-flex; } }
@media (min-width: 1024px) {
  .burger { display: none; }
  .brand { margin-right: 0; }
  .nav__links { margin-left: auto; margin-right: 1.25rem; gap: clamp(1rem, 1.8vw, 1.75rem); }
}

/* ---------- Hero ---------- */
.hero {
  --bar: clamp(52px, calc((100vh - 100vw / 2.39) / 2), 13vh);
  --title: clamp(4.2rem, min(19vw, 16.5vh), 11rem);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--bar) + 1.5rem) 0 calc(var(--bar) + 1.25rem);
  background: #000;
}
@supports (height: 100svh) {
  .hero { --bar: clamp(52px, calc((100svh - 100vw / 2.39) / 2), 13svh); --title: clamp(4.2rem, min(19vw, 16.5svh), 11rem); }
}
@media (min-width: 768px) {
  .hero { --bar: clamp(64px, calc((100vh - 100vw / 2.39) / 2), 14vh); }
  @supports (height: 100svh) {
    .hero { --bar: clamp(64px, calc((100svh - 100vw / 2.39) / 2), 14svh); }
  }
}

.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  transform-origin: 62% 45%; transform: scale(1.08);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: kenburns 34s ease-in-out infinite alternate; }
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.24) translate3d(-3%, -1.5%, 0); }
}

.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.3) 30%, rgba(11, 11, 12, 0.88) 72%, rgba(11, 11, 12, 0.96) 100%),
    radial-gradient(ellipse 80% 60% at 70% 35%, rgba(243, 154, 43, 0.14), transparent 70%);
}
@media (min-width: 768px) {
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(11, 11, 12, 0.94) 0%, rgba(11, 11, 12, 0.78) 34%, rgba(11, 11, 12, 0.2) 72%, rgba(11, 11, 12, 0.35) 100%),
      linear-gradient(0deg, rgba(11, 11, 12, 0.6) 0%, transparent 40%),
      radial-gradient(ellipse 60% 70% at 75% 40%, rgba(243, 154, 43, 0.16), transparent 70%);
  }
}

.letterbox {
  position: absolute; left: 0; right: 0; z-index: -1; height: var(--bar);
  background: #000; transform-origin: top;
}
.letterbox--top { top: 0; box-shadow: inset 0 -1px 0 rgba(212, 162, 76, 0.18); }
.letterbox--bottom { bottom: 0; transform-origin: bottom; box-shadow: inset 0 1px 0 rgba(212, 162, 76, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  .letterbox { animation: bar-in 1.6s var(--ease-out) 0.1s both; }
}
@keyframes bar-in { from { transform: scaleY(0); } }

.hero__inner { position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem; margin: 0 0 1.1rem;
  color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__eyebrow::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
html:lang(kn) .hero__eyebrow { letter-spacing: 0.04em; font-size: 0.95rem; text-transform: none; font-family: var(--font-kn); }

.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: var(--title); line-height: 0.84; letter-spacing: 0.01em;
}
.hero__word {
  display: block; width: fit-content;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__word + .hero__word { margin-left: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
  .hero__word { animation: rise 1.2s var(--ease-out) both; animation-delay: calc(0.35s + var(--i) * 0.14s); }
  .hero__kn, .hero__tagline, .hero__lede, .hero__ctas, .hero__foot { animation: fade-up 1s var(--ease-out) both; }
  .hero__kn { animation-delay: 0.7s; }
  .hero__tagline { animation-delay: 0.8s; }
  .hero__lede { animation-delay: 0.9s; }
  .hero__ctas { animation-delay: 1s; }
  .hero__foot { animation-delay: 1.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.hero__kn {
  margin: 0.9rem 0 0; font-size: clamp(1.5rem, 5vw, 2.3rem); font-weight: 600; line-height: 1.25;
  color: var(--text);
}
.hero__tagline {
  margin: 1.4rem 0 0; font-size: clamp(1.15rem, 2.6vw, 1.5rem); font-weight: 500; line-height: 1.35;
  color: var(--text); max-width: 30ch;
}
html:lang(kn) .hero__tagline { font-family: var(--font-kn); font-weight: 600; }
.hero__lede { margin: 0.6rem 0 0; color: var(--muted); max-width: 44ch; font-size: clamp(0.98rem, 1.6vw, 1.08rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 479.98px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
html:lang(kn) .hero__foot { letter-spacing: 0.02em; font-size: 0.85rem; text-transform: none; }
.now-showing { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; min-height: 44px; }
.now-showing strong { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.06em; }
.now-showing:hover strong { color: var(--gold-hi); }
.scroll-cue { display: none; align-items: center; gap: 0.75rem; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold);
  animation: scroll-line 2.2s var(--ease-out) infinite;
}
@keyframes scroll-line { to { top: 110%; } }
@media (min-width: 600px) { .scroll-cue { display: inline-flex; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); max-width: 56rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem; margin: 0 0 1rem;
  color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: currentColor; }
html:lang(kn) .eyebrow { letter-spacing: 0.06em; font-size: 0.9rem; }

.section-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.85rem; margin: 0; font-weight: 400; }
.section-title .t-en {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.7rem, 8.5vw, 5.4rem); line-height: 0.92; letter-spacing: 0.015em;
}
.section-title .t-sep { color: var(--gold); font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1; }
@media (max-width: 599.98px) {
  .section-title { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .section-title .t-sep { display: none; }
}
/* Half-width column: always stack so the dot never dangles */
.collab .section-title { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.collab .section-title .t-sep { display: none; }
.section-title .t-kn {
  font-weight: 600; font-size: clamp(1.3rem, 3.6vw, 2rem); line-height: 1.35; color: var(--gold-hi);
}
/* In Kannada mode the Kannada heading leads */
html:lang(kn) .section-title .t-kn { order: -2; font-size: clamp(2.1rem, 6.4vw, 3.8rem); line-height: 1.3; color: var(--text); }
html:lang(kn) .section-title .t-sep { order: -1; }
html:lang(kn) .section-title .t-en { font-size: clamp(1.6rem, 4.2vw, 2.5rem); color: var(--gold-hi); }

.lede { margin: 1.1rem 0 0; color: var(--muted); max-width: 40rem; font-size: clamp(1rem, 1.7vw, 1.125rem); }

/* Reveal on scroll (only when JS is on, so content is never hidden without it) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Latest release (letterboxed player) ---------- */
.featured { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%); }

/* 16:9 frame; the poster sits in a 2.39:1 band between black bars, like a scope
   film on a TV. On play the bars slide away and the video fills the frame. */
.frame {
  --band: 12.8%;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000;
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line);
}
.frame__fallback, .frame__fallback img { display: block; width: 100%; height: 100%; object-fit: cover; }
.player { position: absolute; inset: 0; width: 100%; display: block; cursor: pointer; text-align: left; }
.player__poster {
  position: absolute; inset: var(--band) 0; width: 100%; height: calc(100% - 2 * var(--band));
  object-fit: cover; transition: transform 1.4s var(--ease-out), filter 0.6s;
  filter: saturate(0.95) brightness(0.82);
}
.player__poster--contain { object-fit: contain; }
.player__fill {
  position: absolute; inset: var(--band) 0; width: 100%; height: calc(100% - 2 * var(--band));
  object-fit: cover; filter: blur(28px) brightness(0.4) saturate(1.3); transform: scale(1.2);
}
.player:hover .player__poster, .player:focus-visible .player__poster { transform: scale(1.035); filter: none; }
.player__bar {
  position: absolute; left: 0; right: 0; height: var(--band); background: #000; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
  font-size: clamp(0.58rem, 1.3vw, 0.75rem); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  transition: transform 0.8s var(--ease-out);
}
.player__bar--top { top: 0; }
.player__bar--bottom { bottom: 0; }
.player__bar b { color: var(--gold-hi); font-weight: 600; }
html:lang(kn) .player__bar { letter-spacing: 0.02em; text-transform: none; font-size: clamp(0.68rem, 1.4vw, 0.85rem); }
.player__marks { position: absolute; inset: calc(var(--band) + 14px) 14px; pointer-events: none; z-index: 1; }
.player__marks i { position: absolute; width: 22px; height: 22px; border-color: rgba(240, 200, 121, 0.75); border-style: solid; border-width: 0; }
.player__marks i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.player__marks i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.player__marks i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.player__marks i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
@media (max-width: 479.98px) { .player__marks { display: none; } }

.play-btn {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: clamp(62px, 9vw, 96px); height: clamp(62px, 9vw, 96px); border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 11, 12, 0.5); border: 1.5px solid rgba(240, 200, 121, 0.9); color: var(--gold-hi);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s;
}
.play-btn svg { width: 36%; height: 36%; margin-left: 7%; }
.play-btn::after {
  content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(240, 200, 121, 0.6);
  animation: ring 2.4s var(--ease-out) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.55); opacity: 0; } }
.player:hover .play-btn, .player:focus-visible .play-btn { transform: scale(1.08); background: var(--gold); color: var(--bg); }

.frame.is-playing .player__bar--top { transform: translateY(-100%); }
.frame.is-playing .player__bar--bottom { transform: translateY(100%); }
.frame.is-playing .player__poster, .frame.is-playing .player__fill { opacity: 0; transition: opacity 0.6s; }
.frame.is-playing .play-btn, .frame.is-playing .player__marks { opacity: 0; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; opacity: 0; transition: opacity 0.6s 0.3s; }
.frame iframe.is-ready { opacity: 1; }

.featured__body { display: grid; gap: 2.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 900px) { .featured__body { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; color: var(--muted); font-size: 0.85rem; }
.meta-row time { color: var(--text); }
.featured__title { margin: 1rem 0 0; font-weight: 400; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.featured__title .kn { font-family: var(--font-kn); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1.15; color: var(--text); }
.featured__title .en { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: 0.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.featured__subtitle { margin: 0.35rem 0 0; color: var(--gold-hi); font-weight: 500; letter-spacing: 0.04em; }
.featured__synopsis { margin: 1.1rem 0 0; color: var(--muted); max-width: 54ch; }
.featured__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.credits-box { padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-self: start; }
.credits-box h4 { margin: 0 0 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .credits-box h4 { letter-spacing: 0.02em; font-size: 0.95rem; text-transform: none; }
.credits { margin: 0; display: grid; gap: 0.85rem; }
.credits div { display: grid; grid-template-columns: minmax(7.5rem, 40%) 1fr; gap: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.credits div:last-child { border-bottom: 0; padding-bottom: 0; }
.credits dt { color: var(--muted); font-size: 0.85rem; }
.credits dd { margin: 0; font-weight: 500; }

/* ---------- Works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1.1rem;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 0.88rem; font-weight: 500; transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.chip__count { font-size: 0.72rem; font-weight: 600; opacity: 0.7; font-variant-numeric: tabular-nums; }

.works__grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.work-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.5s, opacity 0.9s var(--ease-out);
}
.work-card:not(.work-card--next):hover, .work-card:focus-within {
  transform: translateY(-5px); border-color: rgba(212, 162, 76, 0.5);
  box-shadow: 0 32px 60px -32px rgba(0, 0, 0, 0.95), 0 0 40px -18px rgba(243, 154, 43, 0.35);
}
.work-card[hidden] { display: none; }
.work-card.is-entering { animation: card-in 0.55s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

.work-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.85); transition: transform 1.2s var(--ease-out), filter 0.5s; }
.work-card:hover .work-card__thumb img, .work-card:focus-within .work-card__thumb img { transform: scale(1.07); filter: none; }
.work-card__thumb .tag { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 1; }
.work-card__thumb::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(11, 11, 12, 0.7)); }
.work-card .play-btn { width: 58px; height: 58px; opacity: 0.9; transform: scale(0.92); }
.work-card .play-btn::after { display: none; }
.work-card:hover .play-btn, .work-card:focus-within .play-btn { opacity: 1; transform: scale(1); background: var(--gold); color: var(--bg); }
@media (hover: hover) { .work-card .play-btn { opacity: 0; } }

.work-card__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.work-card__title { margin: 0; font-weight: 400; }
.work-card__link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.65rem; text-align: left; }
.work-card__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.work-card__link:focus-visible { outline: none; }
.work-card:has(.work-card__link:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.work-card__title .kn { font-family: var(--font-kn); font-weight: 700; font-size: 1.6rem; line-height: 1.3; }
.work-card__title .en { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.04em; line-height: 1.1; color: var(--gold-hi); }
.work-card__title .kn + .en { font-size: 1.35rem; }
.work-card__credits { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.9rem; }
.work-card__meta { margin: auto 0 0; padding-top: 1rem; display: flex; gap: 0.6rem; flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .work-card__meta { letter-spacing: 0.02em; font-size: 0.82rem; text-transform: none; }

.work-card--next {
  justify-content: center; align-items: flex-start; gap: 0.25rem; min-height: 300px; padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px dashed rgba(212, 162, 76, 0.45);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(243, 154, 43, 0.12), transparent 70%),
    repeating-linear-gradient(135deg, rgba(243, 239, 231, 0.018) 0 14px, transparent 14px 28px),
    var(--bg-raised);
}
.work-card__next-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 0.75rem; }
.work-card__next-label { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .work-card__next-label { letter-spacing: 0.02em; font-size: 0.9rem; }
.work-card__next-title { margin: 0.2rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; letter-spacing: 0.02em; }
html:lang(kn) .work-card__next-title { font-family: var(--font-kn); font-weight: 700; font-size: 1.9rem; line-height: 1.3; }
.work-card__next-text { margin: 0.6rem 0 1.25rem; color: var(--muted); font-size: 0.92rem; max-width: 32ch; }
.noscript-list { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.noscript-list a { color: var(--gold-hi); text-decoration: underline; }

/* ---------- About ---------- */
.about { background: radial-gradient(ellipse 60% 50% at 85% 25%, rgba(243, 154, 43, 0.08), transparent 70%), var(--bg-raised); }
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.2fr 0.8fr; } }
.about__text > p { color: var(--muted); max-width: 60ch; margin: 1rem 0 0; }
.about__text > .about__lead {
  margin: 0 0 1.5rem; color: var(--text); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.45; font-weight: 500;
  padding-left: 1.25rem; border-left: 2px solid var(--gold);
}
html:lang(kn) .about__text > .about__lead { font-family: var(--font-kn); font-weight: 600; line-height: 1.6; }

.pillars { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { padding-top: 1rem; border-top: 1px solid rgba(212, 162, 76, 0.45); }
.pillars h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.03em; color: var(--gold-hi); line-height: 1.1; }
html:lang(kn) .pillars h3 { font-family: var(--font-kn); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.pillars p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.92rem; }

.about__visual { display: grid; place-items: center; }
.logo-plate {
  position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 154, 43, 0.3) 0%, rgba(212, 162, 76, 0.08) 45%, transparent 68%);
}
.logo-plate img { width: 92%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.65)); }
.logo-plate__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-plate__ring circle { fill: none; stroke: rgba(243, 239, 231, 0.2); stroke-width: 1.2; stroke-dasharray: 6 5; transform-origin: 100px 100px; }
/* Rotate the circle, not the <svg>: a rotated box would poke out sideways on phones */
@media (prefers-reduced-motion: no-preference) {
  .logo-plate__ring circle { animation: spin 80s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.stats {
  margin: clamp(3rem, 7vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--bg-raised); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.6rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.stat dt { margin-top: 0.4rem; color: var(--muted); font-size: 0.82rem; }

.founders { margin-top: clamp(3rem, 7vw, 5rem); }
.founders__title { margin: 0 0 1.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .founders__title { letter-spacing: 0.02em; font-size: 1rem; text-transform: none; }
.founders__grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .founders__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.founder {
  display: flex; gap: 1.25rem; align-items: flex-start; padding: clamp(1.1rem, 3vw, 1.5rem);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.founder__photo {
  flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  display: grid; place-content: center; justify-items: center; gap: 0.15rem;
  border: 1px dashed rgba(212, 162, 76, 0.55); color: rgba(243, 239, 231, 0.45);
  background: radial-gradient(circle at 50% 30%, rgba(243, 154, 43, 0.14), transparent 70%), var(--bg);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.founder__photo .icon { width: 26px; height: 26px; }
.founder__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.03em; line-height: 1.1; }
html:lang(kn) .founder__name { font-family: var(--font-kn); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.founder__role { margin: 0.2rem 0 0; color: var(--gold-hi); font-size: 0.85rem; font-weight: 500; }
.founder__bio { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Team ---------- */
.team__grid { display: grid; gap: clamp(0.75rem, 2.5vw, 1.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.5s, opacity 0.9s var(--ease-out);
}
.person:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, 0.45); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9); }
.person__photo {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(243, 154, 43, 0.24), transparent 62%),
    linear-gradient(180deg, #1f1b15 0%, #0e0e0f 100%);
}
/* film-strip sprocket holes down both edges of the placeholder */
.person__photo::before, .person__photo::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 7px;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(243, 239, 231, 0.13) 9px 17px);
}
.person__photo::before { left: 8px; }
.person__photo::after { right: 8px; }
@media (min-width: 900px) { .person__photo { aspect-ratio: 1 / 1; } }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__initials {
  font-family: var(--font-display); font-size: clamp(3.4rem, 11vw, 5.5rem); line-height: 1; letter-spacing: 0.04em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.person__body { position: relative; padding: 1rem 1rem 1.15rem; flex: 1; }
.person__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 3.5vw, 1.7rem); letter-spacing: 0.03em; line-height: 1.05; padding-right: 2.75rem; }
.person__name [lang="kn"] { display: block; margin-top: 0.3rem; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--gold-hi); line-height: 1.4; }
.person__role { margin: 0.55rem 0 0; font-size: 0.86rem; font-weight: 500; line-height: 1.45; }
.person__works { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--muted); }
.person__ig {
  position: absolute; top: -22px; right: 0.9rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out);
}
.person__ig .icon { width: 20px; height: 20px; }
.person__ig:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); transform: scale(1.06); }

.person--join {
  justify-content: center; align-items: flex-start; padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px dashed rgba(212, 162, 76, 0.5);
  background: radial-gradient(ellipse 100% 80% at 0% 0%, rgba(243, 154, 43, 0.16), transparent 70%), var(--bg-raised);
}
.person--join:hover { transform: none; box-shadow: none; }
.person--join__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; letter-spacing: 0.02em; }
html:lang(kn) .person--join__title { font-family: var(--font-kn); font-weight: 700; font-size: clamp(1.3rem, 4vw, 1.8rem); line-height: 1.35; }
.person--join p { margin: 0.75rem 0 1.25rem; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 479.98px) { .person--join .btn { width: 100%; padding: 0 0.75rem; white-space: normal; } }

/* ---------- Behind the scenes (masonry) ---------- */
.bts { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%); }
.masonry { columns: 2; column-gap: clamp(0.65rem, 2vw, 1.25rem); }
@media (min-width: 768px) { .masonry { columns: 3; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.shot {
  position: relative; margin: 0 0 clamp(0.65rem, 2vw, 1.25rem); break-inside: avoid;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface);
}
.shot__btn { display: block; width: 100%; cursor: zoom-in; }
.shot img { width: 100%; filter: grayscale(0.3) contrast(1.05) brightness(0.9); transition: transform 1.2s var(--ease-out), filter 0.5s; }
.shot:hover img, .shot__btn:focus-visible img { transform: scale(1.06); filter: none; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.25rem 0.85rem 0.7rem; pointer-events: none;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
html:lang(kn) .shot figcaption { letter-spacing: 0.02em; font-size: 0.8rem; text-transform: none; }
.shot--placeholder .shot__ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem;
  border: 1px dashed rgba(243, 239, 231, 0.14); border-radius: inherit; color: rgba(243, 239, 231, 0.4);
  background:
    radial-gradient(circle at 50% 40%, rgba(243, 154, 43, 0.1), transparent 65%),
    repeating-linear-gradient(135deg, rgba(243, 239, 231, 0.025) 0 12px, transparent 12px 24px);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; padding: 1rem;
}
html:lang(kn) .shot--placeholder .shot__ph { letter-spacing: 0.02em; font-size: 0.78rem; text-transform: none; }
.shot__ph .icon { width: 28px; height: 28px; }

/* ---------- Collaborate ---------- */
.collab { background: radial-gradient(ellipse 70% 60% at 10% 0%, rgba(212, 162, 76, 0.1), transparent 60%), var(--bg-raised); }
.collab__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 1024px) { .collab__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.live-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; padding: 0.45rem 0.9rem;
  border-radius: 999px; background: rgba(212, 162, 76, 0.12); border: 1px solid rgba(212, 162, 76, 0.35);
  color: var(--gold-hi); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
html:lang(kn) .live-badge { letter-spacing: 0.02em; font-size: 0.88rem; text-transform: none; }
.who { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .who { grid-template-columns: 1fr 1fr; } }
.who li { display: flex; gap: 0.9rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.who__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(212, 162, 76, 0.12); color: var(--gold-hi); }
.who__icon .icon { width: 22px; height: 22px; }
.who h3 { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.35; }
.who p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.direct p { flex: 1 1 100%; margin: 0 0 0.25rem; color: var(--muted); }
@media (max-width: 479.98px) { .direct .btn { flex: 1 1 100%; } }

.form {
  padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); border: 1px solid var(--line);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.9);
}
.form__title { margin: 0 0 1.5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.4rem); letter-spacing: 0.02em; line-height: 1; }
html:lang(kn) .form__title { font-family: var(--font-kn); font-weight: 700; font-size: 1.6rem; line-height: 1.35; }
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
html:lang(kn) .field label { letter-spacing: 0.01em; font-size: 0.92rem; text-transform: none; }
.field__opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; opacity: 0.75; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.35); color: var(--text);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a24c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 18px;
}
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 162, 151, 0.7); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.25);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; margin-top: 1.5rem; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form__status { min-height: 1.6em; margin: 0.9rem 0 0; font-size: 0.92rem; }
.form__status[data-state="ok"] { color: var(--ok); }
.form__status[data-state="error"] { color: var(--danger); }
.form__note { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 5.5rem) 0 1.75rem; background: #070708; border-top: 1px solid var(--line); }
.footer__mark {
  position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  font-family: var(--font-display); font-size: 30vw; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 162, 76, 0.1);
}
.footer__grid { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand img { width: 150px; }
.footer__tagline { margin: 1rem 0 1.25rem; color: var(--muted); max-width: 28ch; }
html:lang(kn) .footer__tagline { font-family: var(--font-kn); font-weight: 500; }
.yt-sub__count { padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(18, 13, 5, 0.16); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.footer__col h3 { margin: 0 0 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .footer__col h3 { letter-spacing: 0.02em; font-size: 0.95rem; text-transform: none; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer__links a { display: inline-block; padding: 0.35rem 0; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out);
}
.socials a[hidden] { display: none; }
.socials a .icon { width: 20px; height: 20px; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); transform: translateY(-2px); }
.footer__contact { margin: 1.25rem 0 0; }
.footer__contact + .footer__contact { margin-top: 0.75rem; }
.footer__contact a { color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; word-break: break-all; }
.footer__contact a:hover { color: var(--gold-hi); border-color: var(--gold); }
.footer__bottom {
  position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; font-size: 0.82rem; color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a:not(.to-top) { color: var(--text); }
.footer__bottom a:not(.to-top):hover { color: var(--gold-hi); }
.to-top { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin-left: auto; color: var(--text); }
.to-top:hover { color: var(--gold-hi); }

/* ---------- Lightbox (native <dialog>) ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0;
  padding: calc(env(safe-area-inset-top) + 4.5rem) var(--gutter) 2rem;
  background: rgba(5, 5, 6, 0.92); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox.is-open { opacity: 1; }
@media (min-width: 768px) { .lightbox { padding: 4.5rem 2.5rem 2.5rem; } }
.lightbox__panel { width: min(100%, 1100px); transform: translateY(18px) scale(0.98); transition: transform 0.45s var(--ease-out); }
.lightbox.is-open .lightbox__panel { transform: none; }
.lightbox__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 1), 0 0 0 1px var(--line); }
.lightbox__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__media--image { aspect-ratio: auto; background: transparent; box-shadow: none; }
.lightbox__media--image img { width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__close {
  position: fixed; top: calc(env(safe-area-inset-top) + 0.9rem); right: 0.9rem; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(243, 239, 231, 0.08); border: 1px solid var(--line-strong);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease-out);
}
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox__close:hover { background: var(--gold); color: var(--bg); transform: rotate(90deg); }
.lightbox__meta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; }
.lightbox__tag { margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
html:lang(kn) .lightbox__tag { letter-spacing: 0.02em; font-size: 0.88rem; text-transform: none; }
.lightbox__title { margin: 0.3rem 0 0; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: 0.03em; line-height: 1.15; font-weight: 400; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.8rem; }
.lightbox__title .kn { font-family: var(--font-kn); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.3; }
.lightbox__title .en { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: 0.04em; line-height: 1.1; color: var(--gold-hi); }
.lightbox__credits { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9rem; max-width: 70ch; }
.lightbox--image .lightbox__meta .btn { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 1.25rem); z-index: 260;
  padding: 0.75rem 1.2rem; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.9rem;
  transform: translate(-50%, 150%); opacity: 0; transition: transform 0.45s var(--ease-out), opacity 0.3s; pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .play-btn::after, .rec-dot { animation: none !important; }
}
