/* ═══════════════════════════════════════════════════════
   JAMAL EL SERWY — CINEMATIC PORTFOLIO DESIGN SYSTEM
   ═══════════════════════════════════════════════════════ */

/* ── CUSTOM FONTS ─────────────────────────────────────── */
@font-face {
  font-family: 'Lemon Milk';
  src: url('assets/fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zain';
  src: url('assets/fonts/zain.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  --gold: #C9A028;
  --gold-l: #E2BC5A;
  --gold-d: #8B6914;
  --gold-glow: rgba(201, 160, 40, .28);

  --bg: #000000;
  --bg-2: #080808;
  --deep: #000000;
  --black: #000000;

  --surf: #0D0D0D;
  --surf-2: #141414;
  --surf-3: #1C1C1C;

  --white: #F5F0E8;
  --white-80: rgba(245, 240, 232, .8);
  --white-60: rgba(245, 240, 232, .6);
  --white-40: rgba(245, 240, 232, .4);
  --muted: #8A9099;

  --line: rgba(201, 160, 40, .15);
  --line-w: rgba(255, 255, 255, .07);
  --line-gold: rgba(201, 160, 40, .38);

  --max: 1400px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --ff-heading: 'Bebas Neue', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ff-serif: 'Cormorant Garamond', serif;
  --ff-ar: 'Cairo', sans-serif;
  --ff-ru: 'Marck Script', cursive;

  --radius: 0;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .7);
  --shadow-xl: 0 40px 100px rgba(0, 0, 0, .85);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body[data-lang="ar"] { direction: rtl; font-family: var(--ff-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
.heading-xl {
  font-family: var(--ff-heading);
  font-size: clamp(4rem, 14vw, 10rem);
  letter-spacing: .06em;
  line-height: .9;
  color: var(--white);
  text-shadow: 0 0 60px var(--gold-glow);
}
[data-lang="ar"] .heading-xl {
  font-family: var(--ff-ar);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8rem);
}
.heading-lg {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: .12em;
  color: var(--gold);
}
[data-lang="ar"] .heading-lg {
  font-family: var(--ff-ar);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}
.heading-md {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: .12em;
  color: var(--gold);
}
[data-lang="ar"] .heading-md {
  font-family: var(--ff-ar);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.body-serif {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  line-height: 1.95;
  color: var(--white-80);
}
[data-lang="ar"] .body-serif {
  font-family: var(--ff-ar);
  font-size: 1.05rem;
  line-height: 2;
}
.eyebrow {
  font-size: .7rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}
.label {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── NAVIGATION — MAIN ───────────────────────────────── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 2rem;
  background: rgba(2, 3, 6, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.main-nav.scrolled {
  background: rgba(2, 3, 6, .88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  letter-spacing: .15em;
  color: var(--gold);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
}
.nav-links a {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  color: var(--white-60);
  transition: color .25s;
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 70%; left: 15%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 600;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--black);
    border-left: 1px solid var(--line);
    padding: 5rem 2rem 2rem;
    gap: .3rem;
    transition: right .4s var(--ease);
    overflow-y: auto;
  }
  [data-lang="ar"] .nav-links { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--line); }
  .nav-links.open { right: 0; }
  [data-lang="ar"] .nav-links.open { left: 0; }
  .nav-links a { padding: .8rem 0; font-size: .7rem; }
  .nav-toggle { display: flex; }
  
  /* Mobile-drawer language selector adjustments */
  .main-nav > .lang-bar {
    display: none !important;
  }
  .nav-links .lang-bar.drawer-only {
    display: flex !important;
    margin-top: 2.5rem;
    justify-content: center;
    align-self: center;
    width: fit-content;
  }
}

/* Language bar */
.lang-bar {
  display: flex;
  gap: 0;
  margin-left: 1rem;
  border: 1px solid var(--line);
}
.drawer-only {
  display: none !important;
}
[data-lang="ar"] .lang-bar { margin-left: 0; margin-right: 1rem; }
.lang-bar button {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .4rem .7rem;
  color: var(--white-60);
  transition: .2s;
  border-right: 1px solid var(--line);
}
.lang-bar button:last-child { border-right: none; }
.lang-bar button.on {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

/* ── BACK NAV (Project pages) ────────────────────────── */
.back-nav {
  position: fixed;
  top: 1.2rem;
  left: 1.4rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white-80);
  padding: .55rem 1.1rem;
  background: rgba(2, 3, 6, .75);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: all .25s;
}
.back-nav:hover { color: var(--gold); border-color: var(--gold); }
[dir="rtl"] .back-nav { left: auto; right: 1.4rem; }

/* ── HERO SECTION ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--black) url('assets/img/homepage/site-thumbnail.webp') center/cover no-repeat;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg iframe,
.hero-video-bg video,
.hero-video-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,3,6,.3) 0%, rgba(2,3,6,.15) 30%, rgba(2,3,6,.45) 60%, rgba(2,3,6,.95) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(201,160,40,.06) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 5rem;
  max-width: 1100px;
}
.hero-content .heading-xl,
.hero-content .eyebrow,
.hero-content .hero-subtitle,
.hero-content .hero-tagline,
.hero-content .btn {
  font-family: 'Lemon Milk', 'Bebas Neue', sans-serif !important;
}
.hero-content .heading-xl {
  white-space: nowrap;
  font-size: clamp(1.4rem, 4.5vw, 3.8rem);
}
.heading-xl {
  font-family: 'Lemon Milk', 'Bebas Neue', sans-serif;
}
.hero .eyebrow {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-subtitle {
  font-family: 'Zain', var(--ff-ar) !important;
  font-weight: 300 !important;
  font-size: clamp(1.8rem, 5.5vw, 3.8rem);
  color: rgba(201, 160, 40, .85);
  margin-top: .4rem;
  letter-spacing: 0.05em;
}
.hero-content .hero-subtitle {
  font-family: 'Zain', var(--ff-ar) !important;
  font-weight: 300 !important;
}
/* Zain font for Arabic name everywhere */
[data-lang="ar"] .heading-xl,
[data-lang="ar"] .heading-lg,
[data-lang="ar"] .heading-md,
.ar-name { font-family: 'Zain', var(--ff-ar); font-weight: 300; }
[data-lang="ar"] .hero-subtitle { display: none; }
.hero-tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: var(--white-80);
  margin: 1.4rem 0 2rem;
  letter-spacing: .04em;
}

/* Hero sound control */
.hero-sound-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 160, 40, .15);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all .3s;
  backdrop-filter: blur(8px);
}
.hero-sound-btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.1);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.8rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 30px rgba(201, 160, 40, .25);
}
.btn.solid {
  background: var(--gold);
  color: var(--black);
}
.btn.solid:hover {
  background: var(--gold-l);
  box-shadow: 0 0 40px rgba(201, 160, 40, .35);
}

/* ── INFO BAR ────────────────────────────────────────── */
.info-bar {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 2rem;
}
.info-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-between;
  flex-wrap: wrap;
}
.info-cell {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 0 1.6rem;
  border-right: 1px solid var(--line);
}
[dir="rtl"] .info-cell { border-right: none; border-left: 1px solid var(--line); }
.info-cell:first-child { padding-left: 0; }
[dir="rtl"] .info-cell:first-child { padding-left: 1.6rem; padding-right: 0; }
.info-cell:last-child { border-right: none; border-left: none; }
.info-lbl {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-val {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .05em;
}
[data-lang="ar"] .info-val {
  font-family: var(--ff-ar);
  font-weight: 700;
}
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }
  .hero-video-bg iframe,
  .hero-video-bg video {
    width: 177.78svh;
    height: 100svh;
    min-width: 100vw;
    min-height: 56.25vw;
    transform: translate(-50%, -50%) scale(1.35);
  }
  .info-bar { padding: 1rem; }
  .info-bar-inner { gap: 1rem; }
  .info-cell { padding: .5rem 0; border-right: none !important; border-left: none !important; border-bottom: 1px solid var(--line); flex: 1 1 45%; }

  /* Hero section adjustments */
  .hero .eyebrow {
    font-size: 0.6rem !important;
    letter-spacing: 0.22em !important;
    gap: 0.4rem !important;
  }
  .hero .eyebrow::before,
  .hero .eyebrow::after {
    width: 20px !important;
  }
  .hero-content .btn-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem !important;
    padding: 0 1rem !important;
  }
  .hero-content .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Symmetrical About statistics 2x2 grid */
  .about-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
    margin-top: 1.5rem !important;
  }
  .stat-cell {
    min-width: 0 !important;
    padding: 1rem 0.5rem !important;
  }
}

/* ── SECTIONS ────────────────────────────────────────── */
:root {
  --side-pad: clamp(2rem, 6vw, 7rem);
}
.sec {
  padding: 5rem var(--side-pad);
  width: 100%;
  box-sizing: border-box;
}
.sec-alt {
  background: var(--bg-2);
  max-width: none;
}
.sec-alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.sec-dark {
  background: var(--deep);
  max-width: none;
}
.sec-dark > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sec-num {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--gold-d);
  letter-spacing: .05em;
}
.sec-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  letter-spacing: .12em;
}
[data-lang="ar"] .sec-title {
  font-family: var(--ff-ar);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.sec-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}
.sec-desc {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white-60);
  max-width: 700px;
  margin-bottom: 2.5rem;
}
[data-lang="ar"] .sec-desc {
  font-family: var(--ff-ar);
  font-size: .95rem;
}

@media (max-width: 768px) {
  .sec { padding: 3rem 1.2rem; }
}

/* ── SYNOPSIS ────────────────────────────────────────── */
.synopsis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.synopsis-text {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  line-height: 1.95;
  color: var(--white-80);
}
[data-lang="ar"] .synopsis-text {
  font-family: var(--ff-ar);
  font-size: 1.05rem;
  line-height: 2;
}
.synopsis-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}
.synopsis-poster img { width: 100%; height: 100%; object-fit: cover; }
.synopsis-poster-veil {
  display: none;
}
.poster-credit {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
@media (max-width: 900px) {
  .synopsis { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── IMAGE GRIDS ─────────────────────────────────────── */
.grid { display: grid; gap: .6rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
  .g5, .g6 { grid-template-columns: repeat(4, 1fr); }
  .g4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .g4, .g5, .g6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3, .g4, .g5, .g6 { grid-template-columns: repeat(3, 1fr); }
}

.cell {
  position: relative;
  overflow: hidden;
  background: var(--surf);
  border: 1px solid var(--line-w);
  cursor: pointer;
  transition: .35s var(--ease);
}
.cell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0a0f1c, #0d1426);
}
.cell:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  transform: translateY(-3px);
  z-index: 5;
}
.cell img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.cell:hover img {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.1);
}

/* ── VIDEO BLOCK ─────────────────────────────────────── */
.video-block {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.video-block::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201,160,40,.12), transparent 60%),
              linear-gradient(135deg, #0a0f1c 0%, #0d1426 50%, #080d18 100%);
}
.video-block::after {
  content: '\f03d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 0;
  font-size: 3rem;
  color: rgba(201,160,40,.18);
}
.video-block img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.video-block:hover img { transform: scale(1.04); }
.video-block img:not([src]),
.video-block img[src=""] { opacity: 0; }
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.video-block:hover .video-overlay { background: rgba(0,0,0,.15); }
.video-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(201,160,40,.92);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding-left: 6px;
  box-shadow: 0 0 50px rgba(201,160,40,.4);
  transition: transform .3s, background .3s;
}
.video-block:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--gold-l);
}
.video-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .3rem .7rem;
  background: rgba(0,0,0,.6);
  border: 1px solid var(--line);
}

/* ── CREW GRID ───────────────────────────────────────── */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.crew-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--surf);
  transition: border-color .3s;
}
.crew-card:hover { border-color: var(--line-gold); }
.crew-card i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: .8rem;
  display: block;
}
.crew-role {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.crew-name {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

/* ── VISUAL / TECH CARDS ─────────────────────────────── */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.visual-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--surf);
}
.visual-card i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: .8rem;
  display: block;
}
.visual-lbl {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.visual-val {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}
@media (max-width: 760px) { .visual-grid { grid-template-columns: 1fr; } }

/* ── OST / AUDIO LIST ────────────────────────────────── */
/* Keep legacy hidden — JS replaces them with .awc-grid */
.ost-list { display: none !important; }

/* ── AUDIO WAVE CARDS ───────────────────────────────────── */
.awc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 0;
}
@media (max-width: 900px) { .awc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .awc-grid { grid-template-columns: 1fr; overflow-x: hidden; } }

.awc-card {
  position: relative;
  background: rgba(8, 8, 12, 0.88);
  border: 1px solid rgba(201,160,40,0.22);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.awc-card:hover { border-color: rgba(201,160,40,0.45); }
.awc-card.awc-playing {
  border-color: rgba(201,160,40,0.7);
  box-shadow: 0 0 22px rgba(201,160,40,0.1);
}

/* ghost number */
.awc-num {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  color: rgba(201,160,40,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* top row: play btn + waveform */
.awc-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.awc-play-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,160,40,0.12);
  border: 1.5px solid rgba(201,160,40,0.45);
  color: var(--gold, #c9a028);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .22s, transform .18s;
  outline: none;
}
.awc-play-btn:hover { background: rgba(201,160,40,0.26); transform: scale(1.08); }
.awc-card.awc-playing .awc-play-btn { background: rgba(201,160,40,0.28); }

/* waveform */
.awc-wave {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 38px;
  overflow: hidden;
}
.awc-bar {
  flex: 1;
  background: rgba(201,160,40,0.28);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
  transition: background .3s;
  min-height: 4px;
}
.awc-card.awc-playing .awc-bar {
  background: rgba(201,160,40,0.8);
  animation: awcPulse var(--ad, 0.8s) ease-in-out infinite alternate;
}
.awc-bar:nth-child(2n)  { --ad: 0.95s; }
.awc-bar:nth-child(3n)  { --ad: 0.65s; }
.awc-bar:nth-child(5n)  { --ad: 1.1s;  }
.awc-bar:nth-child(7n)  { --ad: 0.75s; }
@keyframes awcPulse {
  from { transform: scaleY(0.18); opacity: 0.45; }
  to   { transform: scaleY(1);    opacity: 1; }
}

/* info */
.awc-label {
  font-size: 0.42rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold, #c9a028);
  opacity: 0.85;
}
.awc-title {
  font-family: var(--ff-heading, 'Bebas Neue', sans-serif);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--white, #f5f0e8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.awc-composer {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(245,240,232,0.45);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* progress row */
.awc-progress-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.awc-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.awc-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(201,160,40,0.55), #c9a028);
  border-radius: 2px;
  pointer-events: none;
}
.awc-time {
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.38);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 2.8rem;
  text-align: right;
}

/* ── FEATURED WORKS SLIDER ───────────────────────────── */
.works-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
}
.works-slider::-webkit-scrollbar { display: none; }
.work-card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  position: relative;
  overflow: visible;
  border: 1px solid var(--line);
  background: var(--surf);
  transition: .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.work-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-card-img img { transform: scale(1.06); }
.work-card-overlay {
  position: relative;
  background: var(--surf);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid var(--line);
}
.work-card-num {
  font-family: var(--ff-heading);
  font-size: 2rem;
  color: rgba(201,160,40,.25);
  margin-bottom: .2rem;
}
.work-card-cat {
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.work-card-title {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  letter-spacing: .08em;
  color: var(--white);
}
.work-card-title-ar {
  font-family: var(--ff-ar);
  font-size: 1rem;
  color: var(--gold-l);
  font-weight: 600;
}
.work-card-meta {
  font-size: .6rem;
  color: var(--muted);
  letter-spacing: .15em;
  margin-top: .3rem;
}
.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .8rem;
  transition: gap .3s;
}
.work-card:hover .work-card-link { gap: .8rem; }

@media (max-width: 600px) { .work-card { flex: 0 0 85vw; } }

/* ── ALL WORKS FILTERABLE GRID ───────────────────────── */
.filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  color: var(--white-60);
  transition: .25s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.work-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-w);
  background: var(--surf);
  transition: .4s var(--ease);
  text-decoration: none;
}
.work-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work-item-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.work-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-item:hover .work-item-img img { transform: scale(1.06); }
.work-item-body { padding: 1rem 1.2rem; }
.work-item-cat {
  font-size: .5rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.work-item-title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--white);
  margin-top: .3rem;
}
.work-item-title-ar {
  font-family: var(--ff-ar);
  font-size: .85rem;
  color: var(--gold-l);
  font-weight: 600;
}
.work-item-year {
  font-size: .6rem;
  color: var(--muted);
  letter-spacing: .15em;
  margin-top: .3rem;
}
.work-item.hidden { display: none; }

/* ── ROLE CARDS ──────────────────────────────────────── */
.role-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.role-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surf);
  text-align: center;
  transition: .35s var(--ease);
  text-decoration: none;
}
.role-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.role-card-title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: .3rem;
}
.role-card-sub {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.role-card-detail {
  font-size: .7rem;
  color: var(--muted);
  margin-top: .5rem;
  line-height: 1.5;
}
@media (max-width: 900px) { .role-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .role-cards { grid-template-columns: 1fr; } }

/* ── TIMELINE ────────────────────────────────────────── */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem 3rem;
}
.timeline-item:nth-child(odd) { margin-left: 0; text-align: right; padding-right: 3rem; padding-left: 0; }
.timeline-item:nth-child(even) { margin-left: 50%; text-align: left; padding-left: 3rem; padding-right: 0; }
[data-lang="ar"] .timeline-item:nth-child(odd) { text-align: left; }
[data-lang="ar"] .timeline-item:nth-child(even) { text-align: right; }
.timeline-dot {
  position: absolute;
  top: .3rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2px solid var(--bg);
  border-radius: 50%;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -6px; }
.timeline-item:nth-child(even) .timeline-dot { left: -6px; }
.timeline-title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: .3rem;
}
.timeline-desc {
  font-size: .8rem;
  color: var(--white-60);
  line-height: 1.6;
}
@media (max-width: 760px) {
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  [data-lang="ar"] .timeline-item,
  [data-lang="ar"] .timeline-item:nth-child(odd),
  [data-lang="ar"] .timeline-item:nth-child(even) { text-align: right; padding-right: 50px; padding-left: 0; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 14px; right: auto; }
  [data-lang="ar"] .timeline-item:nth-child(odd) .timeline-dot,
  [data-lang="ar"] .timeline-item:nth-child(even) .timeline-dot { right: 14px; left: auto; }
}

/* ── SKILLS CARDS ────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.skill-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surf);
  transition: border-color .3s;
}
.skill-card:hover { border-color: var(--line-gold); }
.skill-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.skill-card ul { display: flex; flex-direction: column; gap: .5rem; }
.skill-card li {
  font-size: .8rem;
  color: var(--white-60);
  padding-left: .8rem;
  position: relative;
}
.skill-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-d);
}
[data-lang="ar"] .skill-card li { padding-left: 0; padding-right: .8rem; }
[data-lang="ar"] .skill-card li::before { left: auto; right: 0; }
@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .skills-grid { grid-template-columns: 1fr; } }

/* ── HONORS / FESTIVAL CARDS ─────────────────────────── */
.honor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.honor-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surf);
  text-align: center;
  transition: .35s var(--ease);
  text-decoration: none;
  display: block;
}
.honor-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.honor-card-badge {
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.honor-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--white);
}
.honor-card p {
  font-size: .7rem;
  color: var(--muted);
  margin-top: .5rem;
  line-height: 1.5;
}
@media (max-width: 760px) { .honor-cards { grid-template-columns: 1fr; } }

/* ── HONORS COLLAPSIBLE ──────────────────────────────── */
.honors-body { display: block; }
.honors-toggle { display: none !important; }
.honors-toggle-hidden {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,160,40,0.2);
  transition: opacity 0.2s;
  user-select: none;
  margin-bottom: 0.5rem;
}
.honors-toggle:hover { opacity: 0.75; }
.honors-toggle i { transition: transform 0.3s ease; }
.honors-toggle.open i { transform: rotate(180deg); }

/* ── ACTING TABLE ────────────────────────────────────── */
.acting-table {
  width: 100%;
  border-collapse: collapse;
}
.acting-table th {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
[data-lang="ar"] .acting-table th { text-align: right; }
.acting-table td {
  font-size: .85rem;
  color: var(--white-60);
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line-w);
}
.acting-table tr:hover td { color: var(--white); background: var(--surf); }

/* ── BLOG CARDS ──────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surf);
  transition: .35s var(--ease);
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.blog-card h3 {
  font-family: var(--ff-ar);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .8rem;
  line-height: 1.6;
}
.blog-card p {
  font-size: .85rem;
  color: var(--white-60);
  line-height: 1.7;
}
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── CONTACT FORM ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--surf);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 1rem;
  font-family: var(--ff-body);
  font-size: .85rem;
  outline: none;
  transition: border-color .3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: var(--white-60);
  transition: color .25s;
}
.contact-link:hover { color: var(--gold); }
.contact-link i { width: 20px; color: var(--gold); }
.social-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  font-size: .9rem;
  transition: .25s;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ── PRODUCTION SOCIAL ICONS (Section 17) ────────────── */
.psi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 15px);
  align-items: center;
  margin-top: 1.6rem;
}
.psi {
  width: clamp(50px, 4vw, 58px);
  height: clamp(50px, 4vw, 58px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: clamp(20px, 1.8vw, 26px);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
}
.psi:hover {
  transform: translateY(-3px) scale(1.07);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.28);
}
/* Platform brand colors */
.psi-linkedin  { color: #0A66C2; }
.psi-linkedin:hover  { box-shadow: 0 0 20px rgba(10,102,194,0.55); }
.psi-vimeo     { color: #1AB7EA; }
.psi-vimeo:hover     { box-shadow: 0 0 20px rgba(26,183,234,0.5); }
.psi-youtube   { color: #FF0000; }
.psi-youtube:hover   { box-shadow: 0 0 20px rgba(255,0,0,0.5); }
.psi-instagram { color: #E1306C; }
.psi-instagram:hover { box-shadow: 0 0 20px rgba(225,48,108,0.5); }
.psi-facebook  { color: #1877F2; }
.psi-facebook:hover  { box-shadow: 0 0 20px rgba(24,119,242,0.5); }
.psi-tiktok    { color: #ffffff; }
.psi-tiktok:hover    { box-shadow: 0 0 20px rgba(238,29,82,0.5); }
.psi-behance   { color: #1769FF; }
.psi-behance:hover   { box-shadow: 0 0 20px rgba(23,105,255,0.5); }
.psi-imdb      { color: #F5C518; }
.psi-imdb:hover      { box-shadow: 0 0 20px rgba(245,197,24,0.5); }
.psi-elcinema  { color: #e63946; }
.psi-elcinema:hover  { box-shadow: 0 0 20px rgba(230,57,70,0.5); }
.psi-discord   { color: #5865F2; }
.psi-discord:hover   { box-shadow: 0 0 20px rgba(88,101,242,0.5); }
.psi-telegram  { color: #26A5E4; }
.psi-telegram:hover  { box-shadow: 0 0 20px rgba(38,165,228,0.5); }
.psi-threads   { color: #ffffff; }
.psi-threads:hover   { box-shadow: 0 0 20px rgba(255,255,255,0.3); }
@media (max-width: 760px) {
  .psi { width: 48px; height: 48px; font-size: 20px; }
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  padding: 3rem 2rem;
  background: var(--deep);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--white-40);
  margin-bottom: 1rem;
}
.copy {
  font-size: .62rem;
  color: #555;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ── LIGHTBOX ────────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lb.open { display: flex; }
.lb img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
}
.lb-close, .lb-nav {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .7;
  transition: .25s;
}
.lb-close { top: 1.5rem; right: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); padding: 1rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-close:hover, .lb-nav:hover { opacity: 1; color: var(--gold); }
.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
  letter-spacing: .15em;
}

/* ── VIDEO MODAL ─────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .97);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.video-modal.open { display: flex; }
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
}
.video-modal-content iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  background: none;
  border: none;
}
.video-modal-close:hover { color: var(--gold); }

/* ── MASONRY (Photography) ───────────────────────────── */
.masonry {
  columns: 4;
  column-gap: .6rem;
}
.masonry .cell {
  break-inside: avoid;
  margin-bottom: .6rem;
}
@media (max-width: 1200px) { .masonry { columns: 3; } }
@media (max-width: 760px) { .masonry { columns: 2; } }
@media (max-width: 480px) { .masonry { columns: 1; } }

/* ── MASONRY NO-CROP GALLERY ─────────────────────────── */
.masonry-grid {
  columns: 3;
  column-gap: 0.6rem;
  display: block;
}
.masonry-grid .cell {
  display: block;
  break-inside: avoid;
  overflow: hidden;
  margin-bottom: 0.6rem;
  aspect-ratio: unset !important;
  position: relative;
  border: 1px solid var(--line-w);
  background: var(--surf);
  transition: border-color .3s, box-shadow .3s;
  transform: none !important;
}
.masonry-grid .cell img {
  width: 100%;
  height: auto !important;
  object-fit: initial !important;
  display: block;
  position: static !important;
  transition: opacity .35s;
}
.masonry-grid .cell:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
  z-index: 1;
}
.masonry-grid .cell:hover img { opacity: 0.88; }
.masonry-grid .cell::before { display: none; }

@media (max-width: 900px)  { .masonry-grid { columns: 3; } }
@media (max-width: 480px)  { .masonry-grid { columns: 3; } }
@media (max-width: 360px)  { .masonry-grid { columns: 2; } }

/* ── SCROLL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── LANGUAGE SWITCHER VISIBILITY ────────────────────── */
[data-lang="en"] [data-show-lang]:not([data-show-lang~="en"]) { display: none !important; }
[data-lang="ar"] [data-show-lang]:not([data-show-lang~="ar"]) { display: none !important; }
[data-lang="ru"] [data-show-lang]:not([data-show-lang~="ru"]) { display: none !important; }

/* ── DOWNLOAD BUTTON ─────────────────────────────────── */
.download-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(2, 3, 6, .85);
  border: 1px solid var(--line);
  color: var(--gold);
  backdrop-filter: blur(12px);
  transition: .25s;
}
.download-btn:hover {
  background: var(--gold);
  color: var(--black);
}
[data-lang="ar"] .download-btn { right: auto; left: 2rem; }

/* ── FIGMA UI/UX STRUCTURE UPGRADES ──────────────────── */
#about {
  position: relative;
  max-width: none;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 25%, rgba(0,0,0,0.18) 65%, rgba(0,0,0,0.65) 100%),
    url('assets/img/about/about-image-01.webp');
  background-size: cover;
  background-position: center 30%;
  background-attachment: scroll;
  background-repeat: no-repeat;
}
.about-splash {
  background:
    radial-gradient(ellipse 110% 90% at 30% 50%, rgba(4,5,9,0.96) 0%, rgba(4,5,9,0.90) 55%, rgba(4,5,9,0.65) 78%, rgba(4,5,9,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  max-width: 620px !important;
  margin: 0 0 3rem 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}
.about-stats {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat-cell {
  text-align: center;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
  flex: 1;
  min-width: 100px;
  background: rgba(0,0,0, 0.6);
  transition: border-color 0.3s ease;
}
.stat-cell:hover {
  border-color: var(--gold);
}
.stat-num {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  color: var(--gold);
}
#about > * {
  max-width: var(--max);
  margin-left: 0;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* Page 03: BTS Split Layout (Zero-Gap Cinematic Rectangle) */
/* ── BTS Magazine Layout ──────────────────────────────── */
.bts-layout {
  display: block;
  margin-top: 2rem;
}

/* ── Large hero image ── */
.bts-hero {
  position: relative;
  width: 100%;
  margin-bottom: 6px;
}
.bts-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.4s ease;
}

/* ── 8 small cells: 4 + 4 ── */
.bts-small-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.bts-small-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
  cursor: pointer;
}
.bts-small-cell a {
  display: block;
  width: 100%;
  height: 100%;
}
.bts-small-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.4s ease;
}

/* active highlight on the cell being swapped */
.bts-small-cell.bts-active-swap {
  outline: 2px solid var(--gold);
}
@media (max-width: 760px) {
  .bts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .bts-grid .cell:nth-child(7n) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}
@media (max-width: 480px) {
  .bts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px !important;
  }
  .bts-grid .cell:nth-child(7n) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

/* Page 05: Action Studios Video Bg */
#action-studios {
  position: relative;
  overflow: hidden;
}
#action-studios .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}
#action-studios .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%);
}
#action-studios > * {
  position: relative;
  z-index: 2;
}
#action-studios .synopsis-poster {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  #action-studios .synopsis {
    text-align: center;
  }
  #action-studios .action-studios-ctas {
    justify-content: center !important;
  }
  #action-studios .synopsis-poster {
    margin: 0 auto;
  }
}

/* Page 06: Timeline Logo */
.timeline-logo {
  display: inline-block;
  margin-bottom: .8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: .5rem;
  border: 1px solid var(--line);
}
.timeline-logo img {
  height: 38px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.9);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.timeline-item:hover .timeline-logo img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

/* Page 08: Diorama split showcase */
.diorama-showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(201,160,40,0.03) 0%, rgba(10,15,26,0.5) 100%);
  border: 1px solid var(--line);
  padding: 2.5rem;
  margin-top: 1.5rem;
}
.diorama-badge, .designs-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
.diorama-hero {
  aspect-ratio: 16/10;
}
@media (max-width: 900px) {
  .diorama-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
}

/* Page 12: Photography Split Layout */
/* ── PHOTOGRAPHY FIXED ANIMATED GRID ─────────────────── */

/* Grid: 4 cols × 3 rows desktop  |  3 cols × 2 rows mobile */
.photo-grid-fixed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}

/* Each cell — fixed square-ish aspect ratio, no gaps */
.pgf-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #07090f;
  cursor: pointer;
}

/* Both images stacked, filling the cell */
.pgf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Active = visible, next = hidden waiting */
.pgf-img.pgf-active  { opacity: 1; }
.pgf-img.pgf-next    { opacity: 0; }

/* Crossfade transitions */
.pgf-img.pgf-fading-out { transition: opacity 0.4s ease; opacity: 0; }
.pgf-img.pgf-fading-in  { transition: opacity 0.4s ease; opacity: 1; }

/* First cell spans 2 columns × 2 rows (= 4 cells space) */
.pgf-cell:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* Subtle zoom-in on hover */
.pgf-cell:hover .pgf-img.pgf-active {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* Hover overlay with title */
.pgf-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.pgf-cell:hover::after { opacity: 1; }

/* Mobile: 3 cols × 2 rows — hide last 6 cells */
@media (max-width: 720px) {
  .photo-grid-fixed {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .pgf-desktop-only { display: none; }
}

/* Lightbox */
.mg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mg-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.mg-lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 4rem 5rem 1rem;
  cursor: zoom-out;
}
.mg-lb-stage img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s ease;
  user-select: none;
}
.mg-lb-stage img.mg-fade { opacity: 0; }

.mg-lb-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(201,160,40,0.4);
  color: var(--gold);
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 9001;
}
.mg-lb-close:hover { background: var(--gold); color: #07090f; }

.mg-lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(201,160,40,0.3);
  color: var(--gold);
  width: 3rem;
  height: 3rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 9001;
}
.mg-lb-btn:hover { background: var(--gold); color: #07090f; border-color: var(--gold); }
.mg-lb-prev { left: 1.2rem; }
.mg-lb-next { right: 1.2rem; }

.mg-lb-footer {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.8rem 5rem 1.5rem;
  gap: 1rem;
}
.mg-lb-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.mg-lb-cat {
  font-family: var(--ff-caps);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.mg-lb-title {
  font-family: var(--ff-caps);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 400;
}
.mg-lb-loc {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.5);
}
.mg-lb-counter {
  font-family: var(--ff-caps);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.4);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .mg-lb-stage   { padding: 4rem 3.5rem 1rem; }
  .mg-lb-footer  { padding: 0.8rem 3.5rem 1.2rem; }
}
@media (max-width: 600px) {
  .masonry-gallery { column-gap: 0.6rem; }
  .masonry-gallery .mg-item { margin-bottom: 0.6rem; }
  .gallery-tabs { gap: 0.35rem; }
  .gallery-tab { font-size: 0.62rem; padding: 0.42rem 0.9rem; }
  .mg-lb-stage   { padding: 3.5rem 0.5rem 0.5rem; }
  .mg-lb-footer  { padding: 0.6rem 1rem 1rem; }
  .mg-lb-btn     { width: 2.4rem; height: 2.4rem; font-size: 0.9rem; }
  .mg-lb-prev    { left: 0.3rem; }
  .mg-lb-next    { right: 0.3rem; }
}

/* Page 13: Photoshop Featured Card (Full Screen Visual Banner) */
.designs-featured-card {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
  cursor: pointer;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-end;
}
.designs-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.designs-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.designs-featured-card:hover .designs-featured-img img {
  transform: scale(1.03);
}
.designs-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0) 65%);
  z-index: 2;
  pointer-events: none;
}
.designs-featured-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem max(2rem, calc((100vw - 1200px) / 2 + 2rem));
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-top: 1px solid rgba(201, 160, 40, 0.2);
  border-radius: 0;
  box-shadow: none;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
}
@media (max-width: 900px) {
  .designs-featured-card {
    height: 60vh;
    min-height: 380px;
    align-items: flex-end;
  }
  .designs-featured-card::after {
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 70%);
  }
  .designs-featured-content {
    padding: 1.5rem 1.5rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

/* Page 12: Photography Masonry Loader */
.masonry-spinner {
  text-align: center;
  padding: 3rem;
  color: var(--gold);
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

/* Action Studios Posters Slider */
.action-posters-slider {
  --poster-gap: 1rem;
  --poster-w: 220px;
  margin: 3rem calc(-1 * var(--side-pad)) 2.5rem;
  overflow: hidden;
  max-width: none !important;
  width: calc(100% + 2 * var(--side-pad));
  border-top: 1px solid rgba(201, 160, 40, 0.12);
  border-bottom: 1px solid rgba(201, 160, 40, 0.12);
  padding: 1rem 0;
}
.action-posters-track {
  display: flex;
  gap: var(--poster-gap);
  width: max-content;
  animation: posterScroll 60s linear infinite;
}
.action-posters-slider:hover .action-posters-track {
  animation-play-state: paused;
}
@keyframes posterScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.action-poster-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 3/4;
  width: var(--poster-w);
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}
.action-poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.action-poster-item:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(201, 160, 40, 0.2);
  transform: translateY(-5px);
}
.action-poster-item:hover img {
  transform: scale(1.05);
}
.action-showreel-full {
  margin-left: calc(-1 * var(--side-pad));
  width: calc(100% + 2 * var(--side-pad));
  max-width: none !important;
  height: 56.25vw !important;
  max-height: 760px;
}
.action-showreel-full iframe {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  transform: none !important;
}
.action-showreel-caption {
  width: min(92vw, 980px);
}
.action-showreel-caption span {
  display: block;
  white-space: normal;
}
.action-studios-actions {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding-top: 2rem;
  text-align: center;
}
.action-pdf-label {
  font-family: 'Lemon Milk', 'Bebas Neue', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.action-studios-actions .action-studios-ctas {
  justify-content: center !important;
}
@media (max-width: 760px) {
  .action-posters-slider {
    --poster-gap: 0.45rem;
    margin-top: 2rem;
    padding: 0.6rem 0;
  }
  .action-poster-item {
    border-radius: 4px;
  }
  .action-showreel-full {
    height: 56.25vw !important;
  }
  .action-showreel-full iframe {
    transform: none !important;
  }
  .action-showreel-caption {
    bottom: 1rem !important;
    width: 86vw;
  }
  .action-showreel-caption span {
    font-size: 0.58rem !important;
    line-height: 1.5;
    letter-spacing: 0.12em !important;
  }
  .action-studios-actions {
    padding-top: 1.4rem;
  }
  .action-studios-actions .btn {
    width: min(100%, 320px);
    justify-content: center;
  }
  .action-pdf-label {
    font-size: 0.58rem;
    line-height: 1.7;
  }
}

/* ── PERFORMANCE: IMAGE DECODE OPTIMIZATION ──────────────
   Use async decoding on all images for non-blocking paint.
   content-visibility is omitted — complex sections with
   absolute-positioned video BGs and vh-height min-heights
   cause scroll jitter without per-section intrinsic sizes.
──────────────────────────────────────────────────────── */

/* ── MOBILE RESPONSIVE FIXES ────────────────────────────
   Section 04 All Works: 2 per row on mobile
   Sections 10/11/15 (works-slider cards): 3 per row on mobile
   Section 08 Diorama: stack columns, comfortable text/video size
   Video blocks: full width, no overflow
──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .worked-with-logos {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
    width: 100%;
  }
  .worked-with-logos > div {
    width: clamp(44px, 13vw, 54px) !important;
    height: clamp(44px, 13vw, 54px) !important;
    flex-shrink: 0;
  }
  /* Section 04 All Works grid → 2 per row */
  .works-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  /* Section 13 Photoshop & Design and 15 Acting Credits → 2 per row */
  #designs .works-slider,
  #acting .works-slider {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  /* Behance albums: show only first 9 (3×3) */
  #photography [style*="repeat(3,1fr)"] a:nth-child(n+10) {
    display: none !important;
  }
  /* Sections 10, 11, 15 work-card slider → 3 per row */
  .works-slider {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
  }
  #works .works-slider .work-card:first-child {
    grid-column: 1 / -1;
    width: 100%;
  }
  #works .works-slider .work-card:first-child .work-card-img {
    aspect-ratio: 16 / 9;
  }
  #works .works-slider .work-card:first-child .work-card-overlay {
    padding: 1rem 1rem 3.6rem;
  }
  /* Section 08 Diorama: stack to single column, comfortable size */
  .diorama-showcase {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1rem !important;
  }
  #diorama {
    padding: 3rem 1rem !important;
    min-height: auto !important;
  }
  /* Video blocks: full width on mobile */
  .video-block {
    max-width: 100% !important;
  }
  /* Works-slider work-card text: smaller on tiny screens */
  .works-slider .work-card-title { font-size: 0.65rem; }
  .works-slider .work-card-cat { font-size: 0.38rem; letter-spacing: 0.1em; }
  .works-slider .work-card-meta { display: none; }
  .works-slider .work-card-link { display: none; }
  .works-slider .work-card-num { font-size: 0.7rem; }
  #works .works-slider .work-card:first-child .work-card-title {
    font-size: 1.35rem;
    line-height: 1;
  }
  #works .works-slider .work-card:first-child .work-card-title-ar {
    font-size: 1rem;
  }
  #works .works-slider .work-card:first-child .work-card-cat {
    font-size: 0.52rem;
    letter-spacing: 0.22em;
  }
  #works .works-slider .work-card:first-child .work-card-num {
    font-size: 1.6rem;
  }
  #works .works-slider .work-card:first-child .work-card-meta,
  #works .works-slider .work-card:first-child .work-card-link {
    display: inline-flex;
  }
  /* Work items in all-works grid: smaller text */
  .work-item-title { font-size: 0.9rem; }
  .work-item-cat { font-size: 0.42rem; }
  /* Fix full-bleed 100vw elements that cause horizontal overflow */
  .designs-featured-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  .action-showreel-full {
    width: 100% !important;
    margin-left: 0 !important;
    height: 56.25vw !important;
  }
  /* Merged spatial section: stack tiles to single column */
  #spatial .works-slider {
    grid-template-columns: 1fr !important;
  }
}

/* ── SECTION 07 — 3D ALBUM GRID ─────────────────────── */
#spatial .s07-card {
  flex: unset;
  scroll-snap-align: unset;
  border: 1px solid rgba(201,160,40,.25);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
#spatial .s07-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,160,40,.18);
  transform: translateY(-4px);
}
#spatial .s07-card .work-card-img {
  aspect-ratio: 4/3;
}
#spatial .s07-card .work-card-overlay {
  padding: .7rem .9rem .9rem;
}
#spatial .s07-card .work-card-cat {
  font-size: .48rem;
  letter-spacing: .25em;
}
#spatial .s07-card .work-card-title {
  font-size: 1rem;
  letter-spacing: .06em;
  line-height: 1.2;
}
#spatial .s07-card .work-card-link {
  font-size: .52rem;
  margin-top: .5rem;
}
@media (max-width: 1024px) {
  #spatial > .reveal[style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  #spatial > .reveal[style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .8rem !important;
  }
  #spatial .s07-card .work-card-title { font-size: .75rem; }
  #spatial .s07-card .work-card-cat { font-size: .4rem; }
  #spatial .s07-card .work-card-link { display: none; }
}
@media (max-width: 360px) {
  #spatial > .reveal[style*="grid-template-columns:repeat(5"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── PRINT ───────────────────────────────────────────── */
@media print {
  .main-nav, .lang-bar, .back-nav, .lb, .video-modal, .download-btn, .hero-sound-btn { display: none !important; }
  body { background: #fff; color: #111; }
  .sec { padding: 2rem 1rem; }
}
