:root {
  --bg: #0A0A0A;
  --panel: #101010;
  --green: #00FF64;
  --gold: #C7A45D;
  --white: #FFFFFF;
  --muted: rgba(255,255,255,.62);
  --soft: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, max(9vw, (100vw - 1280px) / 2), 560px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
  cursor: none;
}

a, button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 10000;
  transition: width .08s linear;
  box-shadow: 0 0 10px var(--accent);
}

.grain {
  position: fixed;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  z-index: 50;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255,255,255,.28) 25%, transparent 26%),
    linear-gradient(90deg, transparent 24%, rgba(255,255,255,.22) 25%, transparent 26%);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.spotlight {
  position: fixed;
  left: var(--mx, 50%);
  top: var(--my, 40%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,100,.16), transparent 64%);
  filter: blur(20px);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199,164,93,.72);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.cursor-ring.hover {
  width: 68px;
  height: 68px;
  border-color: rgba(0,255,100,.78);
  background: rgba(0,255,100,.08);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  gap: 24px;
  align-content: center;
  background: #050505;
  transition: opacity .65s var(--ease), visibility .65s var(--ease);
}

.page-loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo img {
  width: clamp(240px, 40vw, 400px);
  opacity: 0;
  animation: logoReveal 1.6s var(--ease) .2s forwards;
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: translateY(40px) scale(.94); filter: blur(14px) drop-shadow(0 0 0px #00FF64); }
  45%  { opacity: 1; transform: translateY(-6px) scale(1.03); filter: blur(0px) drop-shadow(0 0 28px #00FF64); }
  70%  { transform: translateY(3px) scale(.99); filter: blur(0px) drop-shadow(0 0 14px rgba(0,255,100,.6)); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px) drop-shadow(0 0 6px rgba(0,255,100,.3)); }
}

.loader-line {
  width: min(280px, 64vw);
  height: 2px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}

.loader-line i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--green);
  animation: loader 1.1s var(--ease) infinite;
}

@keyframes loader {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--gutter);
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.hide {
  transform: translateY(-100%);
}

.nav.scrolled {
  padding-block: 14px;
  background: rgba(10,10,10,.72);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.brand {
  font: 900 1.35rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .28em;
}

.nav-logo {
  display: block;
  height: 150px;
  width: auto;
  transition: filter .3s var(--ease);
}

.nav-logo:hover {
  filter: drop-shadow(0 0 8px rgba(0,255,100,.6));
}

.brand span,
em {
  color: var(--green);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .68rem;
  font-weight: 800;
  transition: color .28s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.nav-guide-link {
  padding: 7px 16px !important;
  border: 1px solid rgba(0,255,100,.35);
  border-radius: 100px;
  color: var(--green) !important;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s !important;
}

.nav-guide-link:hover {
  background: rgba(0,255,100,.08);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0,255,100,.2);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0,255,100,.25);
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: .35s var(--ease);
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 135px) var(--gutter);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(0,255,100,.13), transparent 32%),
    linear-gradient(180deg, #0f0f0f, var(--bg));
}

.hero-bg-text {
  position: absolute;
  top: 18vh;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 900 clamp(5rem, 18vw, 17rem)/.8 "Barlow Condensed", sans-serif;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.hero-content {
  width: min(1100px, 100%);
  text-align: center;
  z-index: 2;
}

.kicker,
.label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .72rem;
  font-weight: 800;
}

.hero-title {
  margin: 22px 0 20px;
  font: 900 clamp(4rem, 8vw, 9rem)/.82 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .88rem;
  font-weight: 900;
  border: 1px solid var(--green);
  transition: transform .32s var(--ease), background .32s var(--ease), color .32s var(--ease);
}

.primary-btn {
  background: var(--green);
  color: #050505;
}

.ghost-btn {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: var(--line);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-4px);
}

.float-card {
  --a: #111;
  --b: #333;
  position: absolute;
  width: clamp(145px, 16vw, 245px);
  aspect-ratio: 4 / 5.4;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  transform-style: preserve-3d;
  animation: floaty 7s ease-in-out infinite;
}

.float-card span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
}

.float-card b {
  display: block;
  margin-top: 4px;
  font: 800 1.4rem/.9 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.card-art {
  height: 72%;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(135deg, var(--a), var(--b));
  overflow: hidden;
}

.card-art::after {
  content: "";
  display: block;
  width: 60%;
  height: 140%;
  background: rgba(255,255,255,.18);
  transform: translateX(-120%) rotate(18deg);
  animation: cardScan 4.8s var(--ease) infinite;
}

.c1 { --a: #07160d; --b: #00ff64; left: 8vw; top: 23vh; transform: rotate(-12deg); }
.c2 { --a: #25090c; --b: #ff3054; right: 10vw; top: 18vh; animation-delay: -1.4s; }
.c3 { --a: #07101c; --b: #2e72ff; left: 14vw; bottom: 10vh; animation-delay: -2.2s; }
.c4 { --a: #16091f; --b: #a84dff; right: 15vw; bottom: 8vh; animation-delay: -3.1s; }

@keyframes floaty {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -22px; rotate: 2deg; }
}

@keyframes cardScan {
  0%, 48% { transform: translateX(-140%) rotate(18deg); opacity: 0; }
  56% { opacity: .8; }
  68%, 100% { transform: translateX(220%) rotate(18deg); opacity: 0; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .66rem;
}

.scroll-cue span {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--green), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ── Hero Cinemagraph ── */
.hero-cine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Light sweep beam */
.hero-cine::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(0,255,100,.06) 50%, transparent 70%);
  animation: lightSweep 8s ease-in-out infinite;
}
.hero-cine::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(0,255,100,.12), transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes lightSweep {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(280%); opacity: 0; }
}
@keyframes glowPulse {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}

/* Falling streaks */
.cine-streak {
  position: absolute;
  width: 1.5px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(0,255,100,.7), transparent);
  filter: blur(1px);
}
.cine-streak.s1 { left: 10%;  top: 0; height: 30vh; animation: streakFall 4.5s linear infinite; }
.cine-streak.s2 { left: 25%;  top: 0; height: 20vh; width: 1px; background: linear-gradient(180deg,transparent,rgba(0,255,100,.45),transparent); animation: streakFall 6.5s linear 1.2s infinite; }
.cine-streak.s3 { left: 50%;  top: 0; height: 40vh; width: 2px; animation: streakFall 5.5s linear 2.5s infinite; }
.cine-streak.s4 { right: 20%; top: 0; height: 25vh; background: linear-gradient(180deg,transparent,rgba(0,255,100,.5),transparent); animation: streakFall 7s linear .5s infinite; }
.cine-streak.s5 { right: 8%;  top: 0; height: 18vh; width: 1px; background: linear-gradient(180deg,transparent,rgba(0,255,100,.35),transparent); animation: streakFall 5s linear 3.8s infinite; }
.cine-streak.s6 { left: 72%;  top: 0; height: 35vh; width: 2.5px; filter: blur(2px); animation: streakFall 6s linear 1.8s infinite; }

@keyframes streakFall {
  0%   { transform: translateY(-5%); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* Particles */
.cine-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,255,100,.9);
  box-shadow: 0 0 8px 2px rgba(0,255,100,.5);
}
.cine-particle.p1 { width: 3px; height: 3px; left: 8%;   top: 82%; animation: particleDrift 11s ease-in-out infinite; }
.cine-particle.p2 { width: 4px; height: 4px; left: 22%;  top: 68%; animation: particleDrift 14s ease-in-out 1.5s infinite; }
.cine-particle.p3 { width: 2px; height: 2px; left: 48%;  top: 78%; animation: particleDrift 9s  ease-in-out 3.5s infinite; background: rgba(0,255,100,.6); }
.cine-particle.p4 { width: 3px; height: 3px; right: 15%; top: 60%; animation: particleDrift 13s ease-in-out .8s  infinite; }
.cine-particle.p5 { width: 5px; height: 5px; right: 30%; top: 88%; animation: particleDrift 16s ease-in-out 4.5s infinite; box-shadow: 0 0 12px 4px rgba(0,255,100,.4); }
.cine-particle.p6 { width: 2px; height: 2px; left: 65%;  top: 45%; animation: particleDrift 18s ease-in-out 2.2s infinite; background: rgba(0,255,100,.5); }

@keyframes particleDrift {
  0%   { transform: translate(0,0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  40%  { transform: translate(20px,-55px) scale(1.8); }
  80%  { opacity: .8; }
  100% { transform: translate(-25px,-130px) scale(.3); opacity: 0; }
}

/* Vignette */
.cine-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,.7) 100%);
}

/* ── Hero Orbs VFX ── */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.o1 {
  width: clamp(400px, 55vw, 750px);
  height: clamp(400px, 55vw, 750px);
  background: radial-gradient(circle, rgba(0,255,100,.22) 0%, rgba(0,255,100,.06) 55%, transparent 75%);
  top: -18%;
  left: -12%;
  animation: orbDrift1 22s ease-in-out infinite;
}

.o2 {
  width: clamp(320px, 44vw, 620px);
  height: clamp(320px, 44vw, 620px);
  background: radial-gradient(circle, rgba(0,200,75,.15) 0%, rgba(0,100,40,.08) 55%, transparent 74%);
  top: 15%;
  right: -10%;
  animation: orbDrift2 28s ease-in-out infinite;
  animation-delay: -10s;
}

.o3 {
  width: clamp(350px, 48vw, 680px);
  height: clamp(350px, 48vw, 680px);
  background: radial-gradient(circle, rgba(0,255,100,.1) 0%, rgba(0,30,15,.18) 50%, transparent 72%);
  bottom: -12%;
  left: 28%;
  animation: orbDrift3 34s ease-in-out infinite;
  animation-delay: -18s;
}

.o4 {
  width: clamp(200px, 28vw, 420px);
  height: clamp(200px, 28vw, 420px);
  background: radial-gradient(circle, rgba(0,255,100,.18) 0%, transparent 68%);
  top: 38%;
  left: 38%;
  animation: orbDrift4 19s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes orbDrift1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(7%, 14%) scale(1.1); }
  66%     { transform: translate(-4%, 7%) scale(.93); }
}

@keyframes orbDrift2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(-9%, 10%) scale(1.14); }
  72%     { transform: translate(5%, -7%) scale(.88); }
}

@keyframes orbDrift3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  28%     { transform: translate(-7%, -12%) scale(1.08); }
  62%     { transform: translate(8%, 5%) scale(.91); }
}

@keyframes orbDrift4 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(-8%, -10%) scale(1.18); }
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  margin: 0 0 54px;
}

.section-head.centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-index {
  color: rgba(255,255,255,.08);
  font: 900 clamp(5rem, 13vw, 12rem)/.72 "Barlow Condensed", sans-serif;
}

.section-head h2,
.contact-copy h2 {
  margin: 10px 0 0;
  font: 900 clamp(3rem, 7vw, 6.6rem)/.86 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.portrait-wrap {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  overflow: hidden;
}

.portrait-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,100,.24), transparent 68%);
  filter: blur(16px);
  animation: pulse 5s ease-in-out infinite;
}

.portrait {
  position: relative;
  width: min(330px, 72%);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,255,100,.28);
  border-radius: 8px;
  background-image: url('mahmoud.png');
  background-size: cover;
  background-position: center top;
  box-shadow: 0 34px 90px rgba(0,0,0,.54);
}
.portrait-initials {
  font: 900 clamp(5rem, 11vw, 9rem)/.8 "Barlow Condensed", sans-serif;
  color: rgba(255,255,255,.9);
  display: none;  /* ← هنا جوه الـ {} */
}
.portrait span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .68rem;
  font-weight: 900;
}

.orbit-tag {
  position: absolute;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: orbit 7s ease-in-out infinite;
}

.t1 { top: 18%; left: 9%; }
.t2 { right: 8%; top: 42%; animation-delay: -2s; }
.t3 { bottom: 14%; left: 18%; animation-delay: -3.2s; }

@keyframes pulse {
  50% { transform: scale(1.12); opacity: .72; }
}

@keyframes orbit {
  50% { transform: translateY(-18px) translateX(12px); }
}

.about-copy p {
  color: rgba(255,255,255,.74);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.9;
}

.about-copy strong { color: var(--white); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats div {
  min-height: 142px;
  padding: 26px;
  background: #0c0c0c;
}

.stats b {
  display: block;
  font: 900 3.4rem/.9 "Barlow Condensed", sans-serif;
  color: var(--green);
}

.stats b::after { content: "+"; }

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.5;
}

.skill-bands {
  margin: 70px 0 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.skill-band {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.skill-band.reverse {
  animation-direction: reverse;
  opacity: .72;
}

.skill-band span {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  font-weight: 900;
  background: rgba(255,255,255,.035);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   CINEMATIC ABOUT — Option 2
═══════════════════════════════════════ */

.about-cinema {
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}

/* ── Full-bleed cinematic photo frame ── */
.cinema-frame {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #050505;
}

.cinema-photo {
  position: absolute;
  inset: 0;
  background-image: url('mahmoud.png');
  background-size: cover;
  background-position: center 18%;
  filter: saturate(.68) contrast(1.12) brightness(.88);
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(.16, 1, .3, 1);
}

.about-cinema.visible .cinema-photo {
  transform: scale(1);
}

/* Green cinematic tint */
.cinema-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 24% 0%, rgba(0,255,100,.22), transparent 52%),
    linear-gradient(170deg, rgba(0,20,10,.48) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* Horizontal scan-line film texture */
.cinema-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,.07) 3px,
    rgba(0,0,0,.07) 4px
  );
  pointer-events: none;
}

/* Radial vignette */
.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 40%, transparent 28%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}

/* Bottom fade for text legibility */
.cinema-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.5) 40%, transparent 100%);
  pointer-events: none;
}

/* Top-left section label */
.cinema-label-top {
  position: absolute;
  top: 14%;
  left: clamp(24px, 7vw, 100px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cinema-section-num {
  color: rgba(255,255,255,.12);
  font: 900 clamp(3.5rem, 8vw, 7rem)/.8 "Barlow Condensed", sans-serif;
}

.cinema-section-tag {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: .7rem;
  font-weight: 900;
}

/* Top-right floating tags */
.cinema-tags {
  position: absolute;
  top: 14%;
  right: clamp(18px, 4vw, 60px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cinema-tags span {
  display: block;
  padding: 6px 14px;
  border: 1px solid rgba(0,255,100,.38);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(10px);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .6rem;
  font-weight: 900;
}

/* Bottom name title card */
.cinema-title-card {
  position: absolute;
  bottom: 8%;
  left: clamp(24px, 7vw, 100px);
  z-index: 5;
}

.cinema-name {
  font: 900 clamp(3.5rem, 9.5vw, 12.5rem)/.78 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
  line-height: .82;
}

.cinema-name em {
  color: var(--green);
  font-style: normal;
}

.cinema-role {
  margin-top: clamp(10px, 1.6vw, 20px);
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(.58rem, .9vw, .82rem);
  font-weight: 700;
}

/* ── Stats row (giant film-credit numbers) ── */
.cinema-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: clamp(36px, 5.5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.cinema-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 clamp(16px, 3vw, 48px);
}

.cinema-stat b {
  display: block;
  font: 900 clamp(2.4rem, 4vw, 5.5rem)/.9 "Barlow Condensed", sans-serif;
  color: var(--green);
}

.cinema-stat b::after { content: "+"; }

.cinema-stat span {
  color: rgba(255,255,255,.42);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.55;
}

.cinema-stat-divider {
  width: 1px;
  height: clamp(40px, 5vw, 64px);
  background: var(--line);
}

/* ── Bio + Skills grid ── */
.cinema-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(52px, 7vw, 100px) 0 clamp(52px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}

.cinema-bio-rule {
  width: 56px;
  height: 2px;
  background: var(--green);
  margin-bottom: 28px;
}

.cinema-bio p {
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.95;
  margin: 0 0 20px;
}

.cinema-bio p:last-of-type { margin-bottom: 28px; }
.cinema-bio strong { color: #fff; }

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid rgba(0,255,100,.35);
  border-radius: 100px;
  font: 600 .88rem/1 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s;
}

.cv-download-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cv-download-btn:hover {
  background: rgba(0,255,100,.08);
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0,255,100,.2);
}

.cinema-skills-title {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: .68rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.cinema-skill-list {
  display: grid;
}

.cinema-skill-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0 17px 12px;
  border-bottom: 1px solid var(--line);
  font: 700 clamp(1rem, 1.5vw, 1.35rem)/.9 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.78);
  transition: color .28s ease, padding-left .28s ease;
  cursor: default;
  overflow: hidden;
}

.cinema-skill-item:first-child { border-top: 1px solid var(--line); }

.cinema-skill-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}

.cinema-skill-item:hover {
  color: #fff;
  padding-left: 20px;
}

.cinema-skill-item:hover::before {
  transform: scaleY(1);
}

.cinema-skill-item span {
  color: var(--green);
  font: 600 .65rem/1 "Inter", sans-serif;
  letter-spacing: .1em;
  min-width: 22px;
  opacity: .7;
}

/* skill-bands already defined globally, just add top margin */
.about-cinema .skill-bands {
  margin-top: 0;
  padding-top: clamp(44px, 5vw, 70px);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .cinema-frame { aspect-ratio: 16 / 9; }
  .cinema-body { grid-template-columns: 1fr; gap: 40px; }
}

.work { overflow: hidden; }

.work-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.work-filters button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .65rem;
  font-weight: 900;
  transition: .3s var(--ease);
}

.work-filters button:hover,
.work-filters button.active {
  background: var(--green);
  color: #050505;
  border-color: var(--green);
}

.home-gallery-stage {
  --accent: var(--green);
  --a: #07160d;
  --b: #00ff64;
  position: relative;
  min-height: clamp(430px, 54vw, 650px);
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .68fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}

.featured-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 28%),
    radial-gradient(circle at 32% 18%, rgba(255,255,255,.18), transparent 16%),
    linear-gradient(135deg, var(--a), var(--b));
  opacity: .9;
  transition: background .45s var(--ease);
}

#featuredImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  mix-blend-mode: luminosity;
  transition: opacity .45s ease;
}

.featured-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.2) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 24px);
}

.featured-copy {
  position: relative;
  z-index: 2;
}

.featured-copy span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .7rem;
  font-weight: 900;
}

.featured-copy h3 {
  max-width: 720px;
  margin: 10px 0 14px;
  font: 900 clamp(1.8rem, 3.2vw, 3.6rem)/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.featured-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  font-size: 1.02rem;
}

.featured-link {
  display: inline-flex;
  margin-top: 28px;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #050505;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .68rem;
  font-weight: 900;
}

.featured-stack {
  position: relative;
  z-index: 2;
  min-height: 430px;
  perspective: 1100px;
}

.stack-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(330px, 82%);
  aspect-ratio: 4 / 5.3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
  transition: background .45s var(--ease);
}

.stack-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .45s ease;
}

.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}

.stack-card.s1 {
  transform: translateX(0) translateY(0) rotateY(-7deg) rotateZ(-2deg);
  animation: stackFloat 5.8s ease-in-out infinite;
}

.stack-card.s2 {
  transform: translateX(42px) translateY(34px) rotateY(-12deg) rotateZ(4deg) scale(.88);
  opacity: .68;
  animation: stackFloat 6.5s ease-in-out -1.4s infinite;
}

.stack-card.s3 {
  transform: translateX(-42px) translateY(58px) rotateY(10deg) rotateZ(-7deg) scale(.78);
  opacity: .42;
  animation: stackFloat 7.2s ease-in-out -2.6s infinite;
}

@keyframes stackFloat {
  50% { translate: 0 -16px; }
}

.slider-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
  padding: 50px 0 50px 20px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform .65s cubic-bezier(.77, 0, .18, 1);
  will-change: transform;
}

.slider-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.7);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.slider-arrow svg { width: 20px; height: 20px; }

.slider-arrow:hover {
  background: color-mix(in srgb, var(--green) 16%, transparent);
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.1);
}

.work-card {
  --accent: var(--green);
  position: relative;
  flex: 0 0 clamp(160px, 21vw, 250px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: #111;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transform: scale(.82);
  opacity: .35;
  transition:
    transform .6s cubic-bezier(.77, 0, .18, 1),
    opacity .45s ease,
    border-color .4s ease,
    box-shadow .4s ease;
}

.work-card:not(.active):hover {
  opacity: .58;
}

.work-card.active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--accent);
  box-shadow:
    0 32px 80px rgba(0,0,0,.7),
    0 0 0 1px var(--accent),
    0 0 50px color-mix(in srgb, var(--accent) 18%, transparent);
}

.work-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.work-card.active .work-art-img { transform: scale(1.04); }

.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .45s ease;
}

.work-card.active .work-overlay { opacity: 1; }

.work-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  right: 13px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.work-num {
  font: 700 .65rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  padding: 5px 8px;
  border-radius: 5px;
}

.work-cat {
  font: 600 .58rem/1 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.72);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  padding: 5px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.1);
}

.work-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .35s ease, opacity .3s ease;
}

.work-card.active .work-meta {
  transform: translateY(0);
  opacity: 1;
}

.work-badge { transition: opacity .4s ease; }
.work-card:not(.active) .work-badge { opacity: 0; }

.work-title {
  font: 900 clamp(.88rem, 1.4vw, 1.1rem)/.92 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  color: #fff;
  flex: 1;
}

.work-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #050505;
  font-size: .95rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  transition: width .35s ease, background .35s ease, border-radius .35s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 3px;
  background: var(--green);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 300px;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0,255,100,.08), transparent 34%),
    rgba(255,255,255,.035);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .42s var(--ease), border-color .32s ease, background .32s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0,255,100,.12), transparent);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.service-card:hover {
  border-color: rgba(0,255,100,.55);
  background-color: rgba(0,255,100,.035);
}

.service-card:hover::before { transform: translateX(120%); }

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #050505;
  font: 900 1.4rem/1 "Barlow Condensed", sans-serif;
  margin-bottom: 62px;
}

.service-card h3 {
  margin: 0 0 12px;
  font: 900 2.15rem/.9 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: .92rem;
}

.client-marquees {
  display: grid;
  gap: 16px;
  overflow: hidden;
  margin-inline: calc(-1 * var(--gutter));
}

.client-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: clientMove 120s linear infinite;
}

.client-track.reverse { animation-direction: reverse; }

.client-logo {
  min-width: 180px;
  height: 80px;
  display: grid;
  place-items: center;
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  transition: .3s var(--ease);
}

.client-logo img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .75;
  transition: opacity .3s ease;
  pointer-events: none;
  user-select: none;
}

.client-logo:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.client-logo:hover img {
  opacity: 1;
}

@keyframes clientMove {
  to { transform: translateX(-50%); }
}

.contact-panel {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid rgba(0,255,100,.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 10%, rgba(0,255,100,.16), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.85;
  max-width: 580px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-row:last-child {
  gap: 16.5px;
}

.contact-icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.contact-icon-btn svg {
  width: 17px;
  height: 17px;
}

.contact-icon-btn:hover {
  background: color-mix(in srgb, var(--green) 14%, transparent);
  border-color: color-mix(in srgb, var(--green) 50%, transparent);
  color: var(--green);
  transform: translateY(-3px);
}

.contact-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 10px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font: 500 .82rem/1 "Inter", sans-serif;
  letter-spacing: .04em;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.contact-phone-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-phone-btn:hover {
  background: color-mix(in srgb, var(--green) 14%, transparent);
  border-color: color-mix(in srgb, var(--green) 50%, transparent);
  color: var(--green);
  transform: translateY(-3px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255,255,255,.64);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.34);
  color: var(--white);
  padding: 15px 16px;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0,255,100,.08);
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.46);
  font-size: .82rem;
}

.case-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(14px);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: .35s var(--ease);
}

.case-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: .8fr 1fr;
  border: 1px solid rgba(0,255,100,.28);
  border-radius: 8px;
  overflow: hidden;
  background: #101010;
  transform: translateY(28px) scale(.96);
  transition: .42s var(--ease);
}

.case-modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-art {
  min-height: 520px;
  background:
    radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(135deg, var(--a), var(--b));
}

.modal-info {
  padding: clamp(28px, 5vw, 54px);
  align-self: end;
}

.modal-info span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .68rem;
  font-weight: 900;
}

.modal-info h3 {
  margin: 12px 0 16px;
  font: 900 clamp(2.8rem, 6vw, 5.6rem)/.84 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.modal-info p {
  color: var(--muted);
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 2rem;
}

.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  animation: revealUp .9s var(--ease) .5s forwards;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.split-text .word {
  display: inline-block;
  white-space: nowrap;
}

.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1em) rotate(8deg);
  animation: charIn .82s var(--ease) forwards;
  animation-delay: calc(var(--i) * 18ms + .25s);
}

@keyframes charIn {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ═══════════════════════════════════
   TABLET — 980px
═══════════════════════════════════ */
@media (max-width: 980px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  button { cursor: pointer; }

  /* Nav */
  .menu-toggle { display: block; }
  .nav-logo { height: 64px; }
  .nav-links {
    position: fixed;
    inset: 73px 16px auto;
    display: grid;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10,10,10,.94);
    backdrop-filter: blur(18px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links a { padding: 14px 8px; }

  /* Hero */
  .hero-title { white-space: normal; }
  .float-card { opacity: .42; }

  /* Work */
  .contact-panel, .modal-card { grid-template-columns: 1fr; }
  .home-gallery-stage { grid-template-columns: 1fr; }
  .featured-stack { min-height: 360px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════
   MOBILE — 680px
═══════════════════════════════════ */
@media (max-width: 680px) {
  :root { --gutter: 18px; }

  /* Layout */
  .section { padding: 72px var(--gutter); }
  .nav { padding: 14px var(--gutter); }
  .nav-logo { height: 38px; }
  .footer { display: grid; padding: 24px var(--gutter); }

  /* Hero */
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: .88; white-space: normal; }
  .hero-copy { font-size: clamp(.85rem, 3.8vw, 1rem); }
  .hero-bg-text { top: 16vh; font-size: clamp(3rem, 14vw, 6rem); opacity: .06; }
  .hero { padding-top: 110px; min-height: auto; }
  .float-card { display: block; width: 88px; opacity: .45; animation: none; }
  .float-card b { font-size: .9rem; }
  .float-card span { font-size: .5rem; margin-top: 6px; }
  .card-art { height: 65%; }
  .c1 { left: 1vw; top: 10vh; transform: rotate(-10deg); }
  .c2 { right: 1vw; top: 8vh; transform: rotate(8deg); }
  .c3, .c4 { display: none; }

  /* About Cinema */
  .cinema-frame { aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); }
  .cinema-tags { display: none; }
  .cinema-name { font-size: clamp(2.8rem, 13vw, 5rem); }
  .cinema-section-num { font-size: 2.8rem; }
  .cinema-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .cinema-stat-divider { display: none; }
  .cinema-stat:nth-child(1),
  .cinema-stat:nth-child(5) { border-right: 1px solid var(--line); }
  .cinema-stat:nth-child(1),
  .cinema-stat:nth-child(3) { border-bottom: 1px solid var(--line); }
  .cinema-stat { padding: 20px 12px; }
  .cinema-body { padding-top: 36px; }

  /* Work */
  .work-card { flex: 0 0 56vw; }
  .home-gallery-stage { min-height: auto; padding: 18px 16px; }
  .featured-copy h3 { font-size: clamp(1.8rem, 7.5vw, 3rem); }
  .featured-copy p { font-size: .88rem; line-height: 1.65; }
  .featured-stack { min-height: 160px; }
  .stack-card { width: min(140px, 62%); aspect-ratio: 3 / 4; }
  .slider-shell { gap: 8px; margin-top: 20px; }
  .slider-viewport { padding: 30px 0 30px 14px; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow svg { width: 16px; height: 16px; }

  /* Film Header */
  .film-header { grid-template-columns: 1fr; gap: 0; padding-bottom: 18px; }
  .film-num { font-size: 4.5rem; }
  .film-title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .film-sprockets, .film-acts-label { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-cinema .service-icon { font-size: 6rem; }

  /* Clients */
  .client-logo { min-width: 110px; height: 64px; }
  .client-logo img { max-width: 88px; max-height: 34px; }

  /* Contact */
  .contact-panel { padding: 28px 22px; }

  /* Misc */
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .section-index { font-size: 4.5rem; }
  .modal-art { min-height: 300px; }
  .modal-card { grid-template-columns: 1fr; }
}

/* ============= PROJECTS PAGES ============= */
.projects-hero {
  min-height: 70vh;
  display: grid;
  align-content: end;
  padding-top: 180px;
  background:
    radial-gradient(circle at 68% 20%, rgba(0,255,100,.14), transparent 30%),
    linear-gradient(180deg, #101010, var(--bg));
}

.projects-hero h1 {
  max-width: 1120px;
  margin: 16px 0 20px;
  font: 900 clamp(4rem, 10vw, 10rem)/.82 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.projects-hero p {
  max-width: 670px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.projects-page {
  padding-top: 70px;
}

.projects-grid {
  max-width: 1360px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-cover {
  --accent: var(--green);
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
  background: #111;
  text-decoration: none;
  color: inherit;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.project-cover:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent);
}

.project-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .4s ease;
}

.project-cover:hover .project-cover-overlay {
  opacity: 1;
}

.project-cover-art {
  position: absolute;
  inset: 0;
}

.case-cover-art,
.gallery-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 18%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(135deg, var(--a), var(--b));
}

.cover-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}

.project-cover:hover .cover-art-img {
  transform: scale(1.07);
}

.case-cover-art::before,
.gallery-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255,255,255,.24) 44%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 20px);
  transform: translateX(-120%);
  opacity: 0;
}

.case-cover:hover .case-cover-art::before,
.gallery-shot:hover .gallery-art::before {
  animation: workScan 1.05s var(--ease) both;
}

.case-cover-art::after,
.gallery-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.9));
}

.project-cover-num {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  font: 700 .7rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  transition: color .3s ease;
}

.project-cover:hover .project-cover-num {
  color: rgba(255,255,255,.85);
}

.project-cover-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 18px 20px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .38s var(--ease), opacity .32s ease;
}

.project-cover:hover .project-cover-meta {
  transform: translateY(0);
  opacity: 1;
}

.project-cover-client {
  display: block;
  font: 700 .62rem/1 "Inter", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.project-cover-title {
  font: 900 clamp(1rem, 1.6vw, 1.35rem)/.92 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 7px;
}

.project-cover-tags {
  font: 400 .66rem/1 "Inter", sans-serif;
  color: rgba(255,255,255,.45);
}

.case-hero {
  --accent: var(--green);
  --a: #111;
  --b: #333;
  min-height: 100vh;
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding-top: 130px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  font-weight: 900;
}

.back-link:hover { color: var(--accent); }

.case-hero h1 {
  margin: 16px 0 18px;
  font: 900 clamp(4rem, 8vw, 8.8rem)/.82 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.case-hero p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  max-width: 640px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-meta-grid div {
  padding: 18px;
  background: #0d0d0d;
}

.case-meta-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .62rem;
  font-weight: 900;
}

.case-meta-grid b {
  font: 900 1.7rem/.9 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.case-cover {
  position: relative;
  min-height: min(72vh, 720px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.58);
}

.case-body {
  padding-top: 80px;
}

.case-story {
  max-width: 1180px;
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
}

.case-story p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.85;
}

.case-solutions,
.case-tools,
.case-gallery {
  max-width: 1280px;
  margin: 0 auto 110px;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease) var(--delay, 0ms), transform .65s var(--ease) var(--delay, 0ms), border-color .3s ease;
}

.solution-card.show {
  opacity: 1;
  transform: translateY(0);
}

.solution-card:hover {
  border-color: rgba(0,255,100,.46);
}

.solution-card span {
  color: var(--green);
  font: 900 3rem/.9 "Barlow Condensed", sans-serif;
}

.solution-card p {
  margin: 60px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tools-list span {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(32px) scale(.96);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s ease;
  transition-delay: var(--delay);
}

.gallery-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-shot.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-shot.wide {
  grid-column: span 2;
}

.gallery-shot:hover {
  border-color: var(--green);
}

/* ── More Projects ── */
.more-projects {
  padding-top: 80px;
  padding-bottom: 100px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.mp-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .55s ease,
    transform .55s ease,
    border-color .3s ease,
    box-shadow .3s ease;
  transition-delay: var(--delay, 0ms);
}

.mp-card.show {
  opacity: 1;
  transform: translateY(0);
}

.mp-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px var(--accent);
}

.mp-img {
  position: absolute;
  inset: 0;
}

.mp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.mp-card:hover .mp-img img {
  transform: scale(1.06);
}

.mp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%);
  transition: opacity .3s ease;
}

.mp-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateY(6px);
  transition: transform .35s ease;
}

.mp-card:hover .mp-info {
  transform: translateY(0);
}

.mp-cat {
  font: 600 .6rem/1 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
}

.mp-title {
  font: 800 clamp(.95rem, 1.6vw, 1.15rem)/.95 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  color: #fff;
}

.mp-meta {
  font: 400 .72rem/1 "Inter", sans-serif;
  color: rgba(255,255,255,.5);
}

.mp-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #050505;
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(.7) rotate(-45deg);
  transition: opacity .3s ease, transform .3s ease;
}

.mp-card:hover .mp-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.gallery-shot span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .projects-grid,
  .case-hero,
  .case-story,
  .solution-list {
    grid-template-columns: 1fr;
  }

  .more-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mp-card {
    aspect-ratio: 16 / 9;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .projects-hero {
    min-height: 62vh;
    padding-top: 130px;
  }

  .projects-grid {
    gap: 14px;
  }

  .case-hero {
    padding-top: 120px;
  }

  .case-meta-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-shot.wide {
    grid-column: auto;
  }
}
/* Card Hover Preview */
.preview-float {
  position: fixed;
  z-index: 9990;
  pointer-events: none;
  width: 380px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: scale(.93) translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  box-shadow: 0 24px 70px rgba(0,0,0,.85);
}

.preview-float.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.preview-float img {
  width: 100%;
  height: auto;
  display: block;
}

/* Image Lightbox (Pop-up) Styles */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none; /* مخفي في البداية */
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: zoom-out;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.image-lightbox.active {
  display: flex; /* يظهر لما نضيف كلاس active */
}

.image-lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 45px;
  color: white;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  font-family: serif;
}

/* ═══════════════════════════════════════════════════
   SHARED FILM HEADER — Work / Services / Clients / Contact
═══════════════════════════════════════════════════ */

.film-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: clamp(20px, 4vw, 48px);
  margin: 0 0 clamp(48px, 7vw, 80px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.film-header--center {
  grid-template-columns: 1fr;
  text-align: center;
}

.film-num {
  font: 900 clamp(6rem, 12vw, 12rem)/.8 "Barlow Condensed", sans-serif;
  color: rgba(255,255,255,.055);
  user-select: none;
}

.film-tag {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: .68rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.film-title {
  margin: 0;
  font: 900 clamp(3rem, 7vw, 6.6rem)/.86 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.film-sprockets {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 10px;
  opacity: .18;
}

.film-sprockets span {
  display: block;
  width: 26px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.film-acts-label {
  font: 900 .6rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .42em;
  color: rgba(255,255,255,.22);
  text-transform: uppercase;
  text-align: right;
  padding-bottom: 14px;
  align-self: end;
}

/* ═══════════════════════════════════
   WORK — CINEMATIC
═══════════════════════════════════ */

.work-cinema {
  background: #040404;
}

.work-cinema .home-gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,.04) 3px,
    rgba(0,0,0,.04) 4px
  );
  pointer-events: none;
  border-radius: inherit;
}

/* ═══════════════════════════════════
   SERVICES — CINEMATIC
═══════════════════════════════════ */

.services-cinema {
  background: #050505;
  position: relative;
  overflow: hidden;
}

.services-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 119px,
    rgba(255,255,255,.022) 119px,
    rgba(255,255,255,.022) 120px
  );
  pointer-events: none;
}

.services-cinema .service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.018);
  border-color: rgba(255,255,255,.06);
  padding-top: 44px;
  transition: transform .42s var(--ease), border-color .32s ease, background .32s ease;
}

.services-cinema .service-icon {
  position: absolute;
  top: -18px;
  right: -6px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: rgba(255,255,255,.042);
  font: 900 9rem/.8 "Barlow Condensed", sans-serif;
  margin-bottom: 0;
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
}

.services-cinema .service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--green);
  transition: height .5s var(--ease);
}

.services-cinema .service-card:hover::after {
  height: 100%;
}

.services-cinema .service-card:hover {
  background: rgba(255,255,255,.038);
}

/* ═══════════════════════════════════
   CLIENTS — CINEMATIC
═══════════════════════════════════ */

.clients-cinema {
  background: #030303;
  position: relative;
}

.cc-scanlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,.055) 3px,
    rgba(0,0,0,.055) 4px
  );
  pointer-events: none;
}

.clients-cinema .film-header,
.clients-cinema .client-marquees {
  position: relative;
  z-index: 1;
}

.clients-cinema .client-logo {
  background: rgba(255,255,255,.018);
  border-color: rgba(255,255,255,.055);
}

/* ═══════════════════════════════════
   CONTACT — CINEMATIC
═══════════════════════════════════ */

.contact-cinema {
  background: #040404;
  position: relative;
  overflow: hidden;
}

.ctc-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ctc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ctc-g1 {
  width: clamp(400px, 55vw, 700px);
  height: clamp(400px, 55vw, 700px);
  background: radial-gradient(circle, rgba(0,255,100,.1) 0%, transparent 70%);
  top: -20%;
  right: -15%;
}

.ctc-g2 {
  width: clamp(300px, 40vw, 550px);
  height: clamp(300px, 40vw, 550px);
  background: radial-gradient(circle, rgba(0,255,100,.07) 0%, transparent 70%);
  bottom: -10%;
  left: -10%;
}

.ctc-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 28%, rgba(0,0,0,.72) 100%);
}

.contact-cinema .film-header,
.contact-cinema .contact-panel {
  position: relative;
  z-index: 1;
}

.contact-cinema .contact-panel {
  border-color: rgba(0,255,100,.16);
  background:
    radial-gradient(circle at 85% 5%, rgba(0,255,100,.1), transparent 32%),
    rgba(255,255,255,.025);
  overflow: visible;
}


/* ═══════════════════════════════════
   RESPONSIVE — CINEMA SECTIONS
═══════════════════════════════════ */

@media (max-width: 980px) {
  .film-header { grid-template-columns: auto 1fr; }
  .film-sprockets, .film-acts-label { display: none; }
}