/* ═══════════════════════════════════════════════
   PINEAL AI ACADEMY — Dark Luxury Design System
   ═══════════════════════════════════════════════ */

:root {
  --black: #050505;
  --black-2: #0a0a0b;
  --black-3: #101012;
  --white: #f5f4f2;
  --grey: #9b9a97;
  --grey-dim: #5c5b58;
  --red: #e50914;
  --red-soft: #ff2d3a;
  --red-glow: rgba(229, 9, 20, 0.45);
  --gold: #c9a24b;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe: cubic-bezier(0.65, 0, 0.15, 1);
  --section-pad: clamp(6rem, 12vw, 11rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

@media (pointer: fine) {
  body { cursor: none; }
  body a, body button, body summary, body [data-video], body [data-full] { cursor: none; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ═══════════ LOADER ═══════════ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease-luxe), visibility 0.9s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; width: min(420px, 80vw); }
.loader-logo {
  font-family: var(--font-display);
  font-weight: 200; letter-spacing: 0.45em; font-size: clamp(0.9rem, 2.4vw, 1.25rem);
  margin-bottom: 2.4rem; animation: loaderPulse 2.2s ease-in-out infinite;
}
.loader-logo span { color: var(--red); font-weight: 700; }
@keyframes loaderPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.loader-bar { height: 1px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  box-shadow: 0 0 18px var(--red-glow);
  transition: width 0.25s ease;
}
.loader-count {
  margin-top: 1.1rem; font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.4em; color: var(--grey-dim);
}

/* ═══════════ CURSOR ═══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; transform: translate(-50%, -50%);
  display: none;
}
@media (pointer: fine) { .cursor-dot, .cursor-ring { display: block; } }
.cursor-dot { width: 6px; height: 6px; background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.35);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s, background 0.35s, opacity 0.3s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--red); background: rgba(229,9,20,0.08);
}
.cursor-ring.is-media {
  width: 84px; height: 84px;
  background: rgba(229,9,20,0.9); border-color: transparent;
}
.cursor-ring.is-media::after {
  content: "VIEW"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.58rem;
  letter-spacing: 0.25em; color: #fff; font-weight: 600;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.15rem 2.6rem; border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, background 0.4s, border-color 0.4s, color 0.4s;
  overflow: hidden; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), #b00610);
  color: #fff;
  box-shadow: 0 8px 34px rgba(229,9,20,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 50px rgba(229,9,20,0.55); transform: translateY(-2px); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-luxe);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--white);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--red); background: rgba(229,9,20,0.08); transform: translateY(-2px); }
.btn-small { padding: 0.75rem 1.7rem; font-size: 0.68rem; }
.btn-large { padding: 1.35rem 3.2rem; font-size: 0.88rem; }
.btn-full { width: 100%; margin-top: auto; }
.play-icon {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.4rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background 0.5s, padding 0.5s, border-color 0.5s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,5,5,0.72);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: rgba(255,255,255,0.07);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.nav.hidden { transform: translateY(-110%); }
.nav-logo {
  font-family: var(--font-display); font-weight: 200;
  letter-spacing: 0.35em; font-size: 0.85rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.logo-img { height: 34px; width: auto; }
.nav-logo span { color: var(--red); font-weight: 700; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; z-index: 950;
}
.nav-burger span { width: 24px; height: 1.5px; background: var(--white); transition: 0.35s var(--ease-out); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════ LAYOUT ═══════════ */
.section { padding: var(--section-pad) 0; position: relative; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.container-wide { width: min(1400px, 94vw); margin: 0 auto; }
.container-narrow { width: min(820px, 92vw); margin: 0 auto; }

.section-eyebrow {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.6rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.section-sub { color: var(--grey); max-width: 560px; margin-bottom: 3.5rem; }

/* ═══════════ REVEALS ═══════════ */
.reveal {
  opacity: 0; transform: translateY(46px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-lines {
  opacity: 0; transform: translateY(46px); filter: blur(6px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
.reveal-lines.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); filter: saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.35) 40%, rgba(5,5,5,0.92) 100%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5,5,5,0.7) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: min(1000px, 92vw);
  padding: 9rem 0 6rem;
}
.hero-eyebrow {
  font-family: var(--font-display); font-size: 0.72rem;
  letter-spacing: 0.55em; text-transform: uppercase; color: rgba(245,244,242,0.75);
  margin-bottom: 2.2rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  line-height: 0.98; letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block; transform: translateY(110%);
  animation: heroLine 1.2s var(--ease-luxe) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.15s; }
@keyframes heroLine { to { transform: translateY(0); } }
.grad {
  background: linear-gradient(100deg, #fff 10%, var(--red-soft) 55%, var(--red) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 80px rgba(229,9,20,0.25);
}
.hero-sub {
  max-width: 640px; margin: 0 auto 3rem;
  color: rgba(245,244,242,0.82); font-size: clamp(0.98rem, 1.6vw, 1.15rem);
}
.hero-ctas { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4.5rem; }
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(1.6rem, 4vw, 3.8rem);
  padding-top: 2.6rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat { text-align: center; }
.stat-num, .stat-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1;
}
.stat-word { font-size: clamp(1.05rem, 2.2vw, 1.45rem); padding-top: 0.35em; font-weight: 500; }
.stat-word.accent { color: var(--red); text-shadow: 0 0 24px var(--red-glow); }
.stat-label {
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey); margin-top: 0.7rem;
}
.scroll-indicator {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.scroll-line {
  width: 1px; height: 56px; overflow: hidden; position: relative;
  background: rgba(255,255,255,0.15);
}
.scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--red);
  animation: scrollDrop 2s var(--ease-luxe) infinite;
}
@keyframes scrollDrop { 0% { transform: translateY(-100%);} 100% { transform: translateY(260%);} }
.scroll-text { font-size: 0.6rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--grey); }

/* ═══════════ GLASS ═══════════ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-radius: 22px;
}

/* ═══════════ WHY ═══════════ */
.why { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(229,9,20,0.06), transparent 65%); }
.statement {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 4rem; max-width: 900px;
}
.statement em { font-style: normal; color: var(--red); text-shadow: 0 0 40px var(--red-glow); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why-text { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--grey); }
.why-quote {
  border-left: 2px solid var(--red); padding-left: 2rem;
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.35; font-weight: 300;
}
.why-quote strong { font-weight: 700; }
.why-quote-sub { font-family: var(--font-body); font-size: 0.95rem; color: var(--grey); margin-top: 1.2rem; }

/* ═══════════ ABOUT ═══════════ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-media { position: sticky; top: 110px; }
.about-media { position: relative; }
.about-photo {
  position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #141416, #0a0a0b);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo.is-placeholder img { display: none; }
.about-photo-fallback {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 200;
  letter-spacing: 0.4em; font-size: 1rem; color: var(--grey-dim); line-height: 2.2;
  background:
    radial-gradient(circle at 30% 20%, rgba(229,9,20,0.12), transparent 55%),
    linear-gradient(160deg, #141416, #0a0a0b);
}
.about-photo.is-placeholder .about-photo-fallback { display: flex; }
.about-badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  padding: 0.9rem 1.3rem; text-align: center;
  font-family: var(--font-display); font-size: 0.68rem;
  letter-spacing: 0.3em; text-transform: uppercase;
}
.about-role {
  font-family: var(--font-display); font-size: 0.78rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 2rem;
}
.about-copy p + p { margin-top: 1.2rem; }
.about-copy strong { font-weight: 600; color: var(--white); }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.6rem;
  list-style: none; margin-top: 2.6rem;
}
.about-facts li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.9rem; color: var(--grey);
}
.about-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px var(--red-glow);
}

/* ═══════════ SHOWREEL MASONRY ═══════════ */
.showreel { background: var(--black-2); }
.masonry {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  width: min(1500px, 96vw); margin: 0 auto;
}
.masonry-item {
  border-radius: 16px; overflow: hidden; position: relative;
  aspect-ratio: 9 / 16;
}
.masonry-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s;
}
.masonry-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,5,5,0.55));
  opacity: 0; transition: opacity 0.5s;
}
.masonry-item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.masonry-item:hover::after { opacity: 1; }

/* ═══════════ FILMS ═══════════ */
.films-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.film-card { position: relative; }
.film-thumb {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--black-3);
}
.film-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.film-card:hover .film-thumb img { transform: scale(1.07); }
.film-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.6));
}
.film-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(5,5,5,0.55); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s, transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  z-index: 2;
}
.film-play::after {
  content: ""; position: absolute; top: 50%; left: 53%; transform: translate(-50%,-50%);
  width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.film-card:hover .film-play {
  background: var(--red); border-color: var(--red);
  transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 0 44px var(--red-glow);
}
.film-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0.02em; margin: 1.1rem 0 0.15rem;
}
.film-card p { font-size: 0.8rem; color: var(--grey); letter-spacing: 0.08em; text-transform: uppercase; }

/* ═══════════ THE LAST DRAGON ═══════════ */
.dragon {
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(229,9,20,0.09), transparent 70%),
    var(--black-2);
  overflow: hidden;
}
.dragon-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  letter-spacing: 0.06em; line-height: 1;
  margin-bottom: 1.6rem;
  background: linear-gradient(180deg, #fff 30%, #7a7a7a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.filmstrip {
  display: flex; gap: 16px; overflow-x: auto; padding: 0.5rem 3vw 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip-item {
  flex: 0 0 clamp(300px, 42vw, 560px);
  scroll-snap-align: center;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.6s var(--ease-out);
}
.filmstrip-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.filmstrip-item:hover { transform: translateY(-6px); }
.filmstrip-item:hover img { transform: scale(1.05); }

/* ═══════════ BEFORE / AFTER ═══════════ */
.ba-slider {
  position: relative; aspect-ratio: 16/9; max-height: 640px;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-after, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap {
  position: absolute; inset: 0; overflow: hidden;
  width: 50%;
}
.ba-before { width: 100vw; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(0,0,0,0.6);
}
.ba-handle-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 34px var(--red-glow);
  display: flex; align-items: center; justify-content: center;
}
.ba-handle-circle::before, .ba-handle-circle::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ba-handle-circle::before { left: 12px; border-right: 8px solid #fff; }
.ba-handle-circle::after { right: 12px; border-left: 8px solid #fff; }
.ba-tag {
  position: absolute; bottom: 1.2rem; z-index: 2;
  font-family: var(--font-display); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border-radius: 100px;
  background: rgba(5,5,5,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.ba-tag-before { left: 1.2rem; }
.ba-tag-after { right: 1.2rem; color: var(--red-soft); border-color: rgba(229,9,20,0.4); }

/* ═══════════ PROGRAMS ═══════════ */
.programs {
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(229,9,20,0.07), transparent 60%),
    var(--black-2);
}
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
  align-items: start; margin-top: 3.5rem;
}
.program-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.6rem 2.2rem;
  transition: transform 0.6s var(--ease-out), border-color 0.6s, box-shadow 0.6s;
}
.program-card:hover {
  transform: translateY(-10px);
  border-color: rgba(229,9,20,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(229,9,20,0.07);
}
.program-card.featured { border-color: rgba(229,9,20,0.45); box-shadow: 0 0 70px rgba(229,9,20,0.1); }
.program-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.45rem 1.2rem; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 6px 24px var(--red-glow);
}
.program-flag.gold { background: linear-gradient(135deg, var(--gold), #a07f2e); box-shadow: 0 6px 24px rgba(201,162,75,0.4); }
.program-head { margin-bottom: 1.6rem; }
.program-head h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em;
}
.program-price {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1.15;
  background: linear-gradient(120deg, #fff, #b9b8b5);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.program-duration {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red-soft); margin-top: 0.5rem;
}
.program-desc { font-size: 0.92rem; color: var(--grey); margin-bottom: 1.4rem; }
.program-desc strong { color: var(--white); }
.program-group {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--red);
  margin: 1.6rem 0 0.9rem;
}
.program-list { list-style: none; margin-bottom: 1rem; }
.program-list li {
  position: relative; padding: 0.42rem 0 0.42rem 1.5rem;
  font-size: 0.86rem; color: rgba(245,244,242,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.program-list li:last-child { border-bottom: none; }
.program-list li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
  transform: rotate(-45deg);
}
.program-note {
  font-size: 0.76rem; color: var(--grey); line-height: 1.65;
  border: 1px solid rgba(201,162,75,0.25); border-radius: 14px;
  background: rgba(201,162,75,0.05);
  padding: 1rem 1.2rem; margin: 1rem 0 1.4rem;
}
.program-outcome {
  font-size: 0.9rem; margin: 1.2rem 0 1.8rem;
  padding: 1.1rem 1.3rem; border-radius: 14px;
  background: rgba(229,9,20,0.06); border: 1px solid rgba(229,9,20,0.18);
}
.program-outcome strong {
  display: block; font-family: var(--font-display); font-size: 0.62rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--red);
  margin-bottom: 0.4rem;
}

/* ═══════════ COMPARISON ═══════════ */
.compare-wrap {
  overflow-x: auto; border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 0.95rem 1.3rem; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.compare-table th {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  position: sticky; top: 0;
}
.compare-table th span { display: block; font-size: 0.66rem; color: var(--red-soft); margin-top: 0.3rem; letter-spacing: 0.05em; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--grey); font-size: 0.82rem; }
.compare-table tbody tr { transition: background 0.3s; }
.compare-table tbody tr:hover { background: rgba(229,9,20,0.05); }
.compare-table td.y::after {
  content: "✓"; color: var(--red-soft); font-weight: 700; font-size: 1rem;
  text-shadow: 0 0 14px var(--red-glow);
}
.compare-table td.n::after { content: "—"; color: var(--grey-dim); }
.compare-note { font-size: 0.76rem; color: var(--grey-dim); margin-top: 1.4rem; max-width: 720px; }

/* ═══════════ CREATE GRID ═══════════ */
.create { background: var(--black-2); }
.create-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem;
  margin-top: 3rem;
}
.create-card {
  padding: 1.9rem 1.6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  line-height: 1.4; letter-spacing: 0.01em;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s;
}
.create-card span {
  display: block; font-size: 0.66rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.3em; margin-bottom: 0.9rem;
}
.create-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229,9,20,0.4);
  background: rgba(229,9,20,0.05);
}

/* ═══════════ WORKFLOW ═══════════ */
.workflow { overflow: hidden; }
.workflow-track {
  position: relative;
  display: flex; gap: clamp(1rem, 3vw, 2.4rem);
  overflow-x: auto; padding: 3rem 4vw 2rem;
  scrollbar-width: none;
}
.workflow-track::-webkit-scrollbar { display: none; }
.workflow-line {
  position: absolute; top: calc(3rem + 34px); left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--red), rgba(229,9,20,0.15));
  box-shadow: 0 0 16px var(--red-glow);
  transition: width 1.8s var(--ease-luxe);
}
.workflow-track.animate .workflow-line { width: 100%; }
.workflow-step {
  flex: 0 0 auto; text-align: center; min-width: 120px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.workflow-track.animate .workflow-step { opacity: 1; transform: translateY(0); }
.workflow-track.animate .workflow-step:nth-child(2) { transition-delay: 0.1s; }
.workflow-track.animate .workflow-step:nth-child(3) { transition-delay: 0.2s; }
.workflow-track.animate .workflow-step:nth-child(4) { transition-delay: 0.3s; }
.workflow-track.animate .workflow-step:nth-child(5) { transition-delay: 0.4s; }
.workflow-track.animate .workflow-step:nth-child(6) { transition-delay: 0.5s; }
.workflow-track.animate .workflow-step:nth-child(7) { transition-delay: 0.6s; }
.workflow-track.animate .workflow-step:nth-child(8) { transition-delay: 0.7s; }
.workflow-track.animate .workflow-step:nth-child(9) { transition-delay: 0.8s; }
.workflow-track.animate .workflow-step:nth-child(10) { transition-delay: 0.9s; }
.wf-num {
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; margin: 0 auto 1.1rem;
  border-radius: 50%; border: 1px solid rgba(229,9,20,0.4);
  background: rgba(229,9,20,0.06);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--red-soft);
  box-shadow: 0 0 30px rgba(229,9,20,0.12);
}
.wf-name {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* ═══════════ JOURNEY ═══════════ */
.journey { background: var(--black-2); text-align: center; }
.journey .section-eyebrow { text-align: center; }
.journey-steps {
  display: flex; align-items: stretch; justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem); margin-top: 3rem; flex-wrap: wrap;
}
.journey-step {
  flex: 1 1 240px; max-width: 340px;
  padding: 2.6rem 1.8rem; border-radius: 22px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}
.journey-step:hover { transform: translateY(-8px); border-color: rgba(229,9,20,0.4); }
.journey-step h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  background: linear-gradient(120deg, #fff, var(--red-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.journey-step p { font-size: 0.9rem; color: var(--grey); }
.journey-arrow { align-self: center; position: relative; width: 40px; height: 1px; background: rgba(229,9,20,0.5); }
.journey-arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(-45deg);
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}

/* ═══════════ TESTIMONIALS ═══════════ */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex; transition: transform 0.8s var(--ease-luxe);
}
.testimonial {
  flex: 0 0 100%; padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.testimonial p {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.5;
  max-width: 760px; margin: 0 auto 2rem;
}
.testimonial footer cite {
  display: block; font-style: normal; font-family: var(--font-display);
  font-weight: 600; letter-spacing: 0.05em;
}
.testimonial footer span { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red-soft); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 2.2rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--white); font-size: 1rem;
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }
.carousel-dots { display: flex; gap: 0.6rem; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.2); transition: background 0.35s, transform 0.35s;
}
.carousel-dot.active { background: var(--red); transform: scale(1.35); box-shadow: 0 0 10px var(--red-glow); }

/* ═══════════ FAQ ═══════════ */
.faq { background: var(--black-2); }
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2.5rem; }
.faq-item { border-radius: 16px; overflow: hidden; transition: border-color 0.4s; }
.faq-item[open] { border-color: rgba(229,9,20,0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none; padding: 1.35rem 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red-soft); }
.faq-icon { position: relative; flex: 0 0 16px; height: 16px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--red); transition: transform 0.4s var(--ease-out);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-item > p { padding: 0 1.6rem 1.5rem; color: var(--grey); font-size: 0.92rem; }

/* ═══════════ FINALE ═══════════ */
.finale {
  position: relative; text-align: center; overflow: hidden;
  padding: calc(var(--section-pad) * 1.2) 0;
}
.finale-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,20,0.16), transparent 60%);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse { 0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1);} 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12);} }
.finale-title {
  position: relative; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.finale-sub { position: relative; color: var(--grey); max-width: 560px; margin: 0 auto 1.2rem; }
.finale-limited {
  position: relative; font-family: var(--font-display); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--red);
  margin-bottom: 3rem; animation: loaderPulse 2.4s ease-in-out infinite;
}
.finale .hero-ctas { margin-bottom: 0; position: relative; }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 4rem 0 0; background: var(--black-2); }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap; padding-bottom: 3rem;
}
.footer-brand p { color: var(--grey); font-size: 0.85rem; margin-top: 0.9rem; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--red-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.6rem 0; text-align: center;
  font-size: 0.72rem; color: var(--grey-dim); letter-spacing: 0.1em;
}

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 980;
  background: rgba(3,3,3,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content {
  width: min(1200px, 92vw); max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.92); transition: transform 0.5s var(--ease-out);
}
.lightbox.open .lightbox-content { transform: scale(1); }
.lightbox-content img, .lightbox-content video {
  max-width: 100%; max-height: 86vh; border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 1.6rem; right: 2rem; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: #fff; font-size: 1.1rem;
  transition: background 0.35s, transform 0.35s;
}
.lightbox-close:hover { background: var(--red); transform: rotate(90deg); }

/* ═══════════ CONTACT MODAL ═══════════ */
.contact-modal {
  position: fixed; inset: 0; z-index: 985;
  background: rgba(3,3,3,0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  overflow-y: auto;
}
.contact-modal.open { opacity: 1; visibility: visible; }
.contact-card {
  position: relative; width: min(520px, 94vw);
  padding: 2.8rem 2.4rem; margin: auto;
  background: rgba(14,14,16,0.92);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
}
.contact-modal.open .contact-card { transform: translateY(0) scale(1); }
.contact-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 42px; height: 42px; }
.contact-title { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; margin-bottom: 0.6rem; }
.contact-sub { font-size: 0.88rem; color: var(--grey); margin-bottom: 1.8rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block; font-family: var(--font-display); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.45rem;
}
.form-row input, .form-row textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; color: var(--white);
  font-family: var(--font-body); font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); background: rgba(229,9,20,0.05);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--grey-dim); }
.contact-note { font-size: 0.7rem; color: var(--grey-dim); text-align: center; margin-top: 0.9rem; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .masonry { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .films-grid, .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; position: static; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.mobile-open {
    display: flex; position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    z-index: 940;
  }
  .nav-links.mobile-open a { font-size: 1.15rem; }
  .films-grid, .programs-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: repeat(2, 1fr); gap: 10px; width: 94vw; }
  .masonry-item { border-radius: 12px; }
  .hero-title { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-content { padding: 7.5rem 0 5rem; }
  .hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem 0.8rem; justify-items: center;
  }
  .hero-stats .stat:nth-child(4) { grid-column: 1 / 2; }
  .about-facts { grid-template-columns: 1fr; }
  .journey-arrow { display: none; }
  .btn { padding: 1.05rem 2rem; }
  .ba-slider { aspect-ratio: 4/3; }
  .ba-handle-circle { width: 42px; height: 42px; }
  .filmstrip-item { flex-basis: min(78vw, 420px); }
  .program-card { padding: 2.1rem 1.5rem; }
  .compare-table td:first-child, .compare-table th:first-child {
    position: sticky; left: 0; background: #0d0d0f; z-index: 1;
  }
  .contact-card { padding: 2.2rem 1.5rem; }
  .statement { font-size: clamp(2rem, 9vw, 3rem); }
  .section-title { font-size: clamp(1.9rem, 8vw, 3rem); }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .finale .hero-ctas { align-items: center; }
  .finale .hero-ctas .btn { width: min(320px, 100%); }
  .scroll-indicator { display: none; }
  .container, .container-narrow { width: 91vw; }
  .lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-lines, .workflow-step { opacity: 1 !important; transform: none !important; filter: none !important; }
}
