/* ================================================================ */
/* == BLOCK 1: DESIGN TOKENS & RESET                             == */
/* ================================================================ */

/* SECTION 1.1: Variables */
:root {
  --black:        #080808;
  --black-soft:   #0d0d0d;
  --black-card:   #111115;
  --white:        #ffffff;
  --body-text:    #d0d0d8;
  --dim:          #888896;
  --accent:       #3b9eff;
  --accent-glow:  rgba(59, 158, 255, 0.15);
  --accent-dim:   rgba(59, 158, 255, 0.35);
  --border:       rgba(255, 255, 255, 0.08);
  --border-hover: rgba(59, 158, 255, 0.45);
  --font-display: 'Cormorant Garamond', serif;
  --font-ui:      'Rajdhani', sans-serif;
  --max-width:    1160px;
  --pad-x:        5rem;
  --pad-section:  130px;
}

/* SECTION 1.2: Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  line-height: 1.6;
  overflow-x: hidden;
}

img    { display: block; max-width: 100%; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* SECTION 1.3: Utilities */
.text-accent { color: var(--accent); }

.section-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible    { opacity: 1; transform: translateY(0); }
.reveal-delay-1    { transition-delay: 0.1s; }
.reveal-delay-2    { transition-delay: 0.2s; }
.reveal-delay-3    { transition-delay: 0.3s; }
.reveal-delay-4    { transition-delay: 0.4s; }


/* ================================================================ */
/* == BLOCK 2: NAVBAR                                            == */
/* ================================================================ */

/* SECTION 2.1: Base */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.4rem var(--pad-x);
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

/* SECTION 2.2: Scrolled */
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(16px);
  padding: 1rem var(--pad-x);
  border-bottom-color: var(--border);
}

/* SECTION 2.3: Logo */
.nav-logo { justify-self: start; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }

/* SECTION 2.4: Brand */
.nav-brand {
  justify-self: center;
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  letter-spacing: 0.38em;
  color: var(--white); text-transform: uppercase;
  user-select: none; transition: color 0.3s ease;
}
.nav-brand:hover { color: var(--accent); }

/* SECTION 2.5: Links */
.nav-links { justify-self: end; display: flex; align-items: center; gap: 2rem; }

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--body-text);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover        { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* SECTION 2.6: CTA */
.nav-links .nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.5rem 1.2rem;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover  { background: var(--accent); color: var(--black); }

/* SECTION 2.7: Hamburger */
.hamburger {
  display: none; justify-self: end;
  flex-direction: column; gap: 5px; padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* SECTION 2.8: Mobile menu */
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; inset: 0;
  background: var(--black);
  justify-content: center; align-items: center;
  gap: 2.5rem; z-index: 999;
}
.nav-links.open a { font-size: 1.1rem; letter-spacing: 0.25em; }


/* ================================================================ */
/* == BLOCK 3: HERO                                              == */
/* ================================================================ */

/* SECTION 3.1: Container */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--black);
  overflow: hidden;
  padding: 0 var(--pad-x);
  text-align: center;
}

/* SECTION 3.2: Radial glow */
.hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(59, 158, 255, 0.06) 0%,
    rgba(59, 158, 255, 0.02) 45%,
    transparent 70%
  );
  pointer-events: none; z-index: 0;
}

/* SECTION 3.3: Inner */
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 900px; width: 100%;
}

/* SECTION 3.4: Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 600; letter-spacing: 0.2em; line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 1s ease forwards 0.2s;
}

/* SECTION 3.5: Tagline */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400; font-style: italic;
  color: var(--white); letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 1s ease forwards 0.45s;
}

/* SECTION 3.6: Subtext */
.hero-subtext {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400; color: var(--body-text);
  line-height: 1.9; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 1s ease forwards 0.65s;
}

/* SECTION 3.7: Buttons */
.hero-cta {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s ease forwards 0.85s;
}

.btn-primary {
  font-family: var(--font-ui); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1rem 2.6rem;
  background: var(--accent); color: var(--black);
  border: 1px solid var(--accent);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }

.btn-ghost {
  font-family: var(--font-ui); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1rem 2.6rem;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* SECTION 3.8: Scroll cue */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; z-index: 1;
  opacity: 0; animation: fadeIn 1s ease forwards 1.4s;
}
.scroll-label { font-size: 0.6rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--dim); }
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}


/* ================================================================ */
/* == BLOCK 4: DIFFERENCE                                        == */
/* ================================================================ */

/* SECTION 4.1: Container */
.difference {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-width); margin: 0 auto;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* SECTION 4.2: Headline */
.difference-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.15; margin-bottom: 2rem;
}

/* SECTION 4.3: Desc */
.difference-desc {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400; color: var(--body-text);
  line-height: 2; max-width: 560px;
  margin: 0 auto 5rem;
}

/* SECTION 4.4: Pillars */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); text-align: left;
}
.pillar {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.8rem;
}
.pillar:last-child   { border-right: none; padding-left: 2.5rem; padding-right: 0; }
.pillar:nth-child(2) { padding-left: 2.5rem; }

.pillar-num   { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--accent); line-height: 1; }
.pillar-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--white); }
.pillar-desc  { font-size: 0.92rem; font-weight: 400; color: var(--body-text); line-height: 1.8; }


/* ================================================================ */
/* == BLOCK 5: SELECTED WORK — FAN LAYOUT                       == */
/* ================================================================ */

/* SECTION 5.1: Container */
.work {
  padding: var(--pad-section) var(--pad-x);
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* SECTION 5.2: Header */
.work-header {
  max-width: var(--max-width); margin: 0 auto 5rem;
  text-align: center;
}
.work-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600; color: var(--white);
}

/* SECTION 5.3: Fan Stage */
.fan-stage {
  position: relative;
  width: 100%; max-width: 900px;
  margin: 0 auto;
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1200px;
}

/* SECTION 5.4: Fan Card Base */
.fan-card {
  position: absolute;
  width: 280px;
  height: 400px;
  bottom: 0;
  transform-origin: center bottom;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              z-index 0s,
              filter 0.5s ease,
              opacity 0.5s ease;
  cursor: pointer;
  filter: brightness(0.55);
  will-change: transform;
}

/* SECTION 5.4.1: Stacked state — before entering view */
.fan-card.fan-stacked {
  transform: translateX(0px) translateY(0px) rotate(0deg) !important;
  filter: brightness(0.3) !important;
  opacity: 0.6;
}

/* SECTION 5.4.2: Folded state — after leaving view */
.fan-card.fan-folded {
  transform: translateX(0px) translateY(8px) rotate(0deg) !important;
  filter: brightness(0.25) !important;
  opacity: 0.5;
}

/* SECTION 5.5: Active card */
.fan-card.fan-active {
  filter: brightness(1);
  z-index: 10 !important;
  cursor: default;
  transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.08) !important;
}

/* SECTION 5.6: Card inner */
.fan-card-inner {
  position: relative;
  width: 100%; height: 100%;
  background: var(--black-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.fan-card.fan-active .fan-card-inner { border-color: var(--accent-dim); }

/* SECTION 5.7: Thumbnail */
.fan-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* SECTION 5.8: Overlay — only shows on active */
.fan-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.3) 60%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.fan-tag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
}

.fan-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--white); margin-bottom: 1rem;
}

/* SECTION 5.9: Play button */
.fan-play-btn {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--white);
  transition: color 0.3s ease;
  width: fit-content;
}
.fan-play-btn:hover { color: var(--accent); }

.fan-play-icon {
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; padding-left: 3px;
  transition: background 0.3s ease;
}
.fan-play-btn:hover .fan-play-icon { background: var(--accent); border-color: var(--accent); color: var(--black); }

.fan-play-label {
  font-family: var(--font-ui);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
}

/* SECTION 5.10: Card number badge */
.fan-num {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--accent); opacity: 0.6;
}

/* SECTION 5.11: Coming soon card */
.fan-card--soon .fan-card-inner {
  background: var(--black-card);
  display: flex; align-items: center; justify-content: center;
}

.fan-soon {
  text-align: center;
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fan-card--soon.fan-active .fan-soon { opacity: 1; }

.fan-soon-tag  { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); }
.fan-soon-title{ font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); }
.fan-soon-sub  { font-size: 0.82rem; color: var(--dim); }

/* SECTION 5.12: Fan navigation */
.fan-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-top: 3rem;
}

.fan-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.fan-arrow svg { width: 18px; height: 18px; }
.fan-arrow:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* SECTION 5.13: Dots */
.fan-dots { display: flex; gap: 0.5rem; align-items: center; }

.fan-dot {
  width: 24px; height: 2px;
  background: var(--border-hover);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.fan-dot.active { background: var(--accent); width: 40px; }


/* ================================================================ */
/* == BLOCK 6: WHY FRAMEBORN                                     == */
/* ================================================================ */

/* SECTION 6.1: Container */
.why {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-width); margin: 0 auto;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* SECTION 6.2: Headline */
.why-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600; color: var(--white);
  line-height: 1.2; margin-bottom: 4rem;
}

/* SECTION 6.3: Grid */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); text-align: left;
}

/* SECTION 6.4: Card */
.why-card {
  background: var(--black); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.35s ease;
}
.why-card:hover { background: var(--black-card); }

.why-card-num {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 500; color: var(--accent);
  opacity: 0.4; line-height: 1;
  transition: opacity 0.3s ease;
}
.why-card:hover .why-card-num { opacity: 1; }
.why-card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--white); }
.why-card-desc  { font-size: 0.92rem; font-weight: 400; color: var(--body-text); line-height: 1.8; }


/* ================================================================ */
/* == BLOCK 7: WHAT WE CREATE — ZIGZAG TIMELINE                 == */
/* ================================================================ */

/* SECTION 7.1: Container */
.services {
  padding: var(--pad-section) var(--pad-x);
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* SECTION 7.2: Headline */
.services-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600; color: var(--white);
  line-height: 1.2; margin-bottom: 5rem;
  max-width: var(--max-width);
  margin-left: auto; margin-right: auto;
}

/* SECTION 7.3: Timeline wrapper */
.timeline {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 2rem 0;
}

/* SECTION 7.4: Center vertical line */
.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--accent-dim) 10%,
    var(--accent-dim) 90%,
    transparent 100%
  );
}

/* SECTION 7.5: Timeline item */
.timeline-item {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: 4rem;
}
.timeline-item:last-child { margin-bottom: 0; }

/* SECTION 7.6: Left item */
.timeline-item--left {
  justify-content: flex-start;
  padding-right: calc(50% + 3rem);
}

/* SECTION 7.7: Right item */
.timeline-item--right {
  justify-content: flex-end;
  padding-left: calc(50% + 3rem);
}

/* SECTION 7.8: Dot on the line */
.timeline-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 0 20px var(--accent);
}

/* SECTION 7.9: Card */
.timeline-card {
  text-align: left;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  background: var(--black-card);
  max-width: 340px; width: 100%;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.timeline-item:hover .timeline-card {
  border-color: var(--border-hover);
  background: #131318;
}

.timeline-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 500;
  color: var(--accent); opacity: 0.5;
  line-height: 1; margin-bottom: 0.8rem;
  transition: opacity 0.3s ease;
}
.timeline-item:hover .timeline-num { opacity: 1; }

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.5rem;
}
.timeline-desc {
  font-size: 0.9rem; font-weight: 400;
  color: var(--dim); letter-spacing: 0.04em;
}


/* ================================================================ */
/* == BLOCK 8: CONTACT                                           == */
/* ================================================================ */

/* SECTION 8.1: Container */
.contact {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-width); margin: 0 auto;
  text-align: center; border-top: 1px solid var(--border);
}

/* SECTION 8.2: Headline */
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.15; margin-bottom: 3.5rem;
}

/* SECTION 8.3: Details */
.contact-details {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.contact-link {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem; transition: opacity 0.3s ease;
}
.contact-link:hover { opacity: 0.7; }
.contact-type  { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.38em; text-transform: uppercase; color: var(--accent); }
.contact-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--white); }
.contact-divider { color: var(--dim); font-size: 1.5rem; line-height: 1; }

/* SECTION 8.4: Socials */
.contact-socials { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--dim); }
.social-link {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--dim); transition: color 0.3s ease;
}
.social-link:hover { color: var(--accent); }


/* ================================================================ */
/* == BLOCK 9: FOOTER                                            == */
/* ================================================================ */

.footer {
  padding: 3rem var(--pad-x); border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer-logo-img { height: 36px; width: auto; opacity: 0.6; transition: opacity 0.3s ease; }
.footer-logo:hover .footer-logo-img { opacity: 1; }
.footer-tagline  { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; color: var(--dim); letter-spacing: 0.1em; }
.footer-bottom   { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-width); padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.footer-copy     { font-size: 0.7rem; color: var(--dim); letter-spacing: 0.08em; }
.footer-socials  { display: flex; gap: 1.5rem; }
.footer-social   { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); transition: color 0.3s ease; }
.footer-social:hover { color: var(--accent); }


/* ================================================================ */
/* == BLOCK 10: LIGHTBOX                                         == */
/* ================================================================ */

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.97); cursor: pointer; }

.lightbox-content {
  position: relative; z-index: 1;
  width: 90vw; max-width: 960px;
  transform: scale(0.94); transition: transform 0.4s ease;
}
.lightbox-content.portrait { max-width: 400px; }
.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-close {
  position: absolute; top: -3rem; right: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close span {
  position: absolute; width: 22px; height: 1.5px;
  background: var(--white); transition: background 0.3s ease;
}
.lightbox-close span:first-child { transform: rotate(45deg); }
.lightbox-close span:last-child  { transform: rotate(-45deg); }
.lightbox-close:hover span { background: var(--accent); }

.lightbox-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.lightbox-content.portrait .lightbox-frame { padding-top: 177.78%; }
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }


/* ================================================================ */
/* == BLOCK 11: ANIMATIONS                                       == */
/* ================================================================ */

@keyframes fadeUp  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 1;    transform: scaleY(1.12); }
}


/* ================================================================ */
/* == BLOCK 12: RESPONSIVE                                       == */
/* ================================================================ */

/* SECTION 12.1: Tablet */
@media (max-width: 1024px) {
  :root { --pad-x: 3rem; --pad-section: 90px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .fan-stage { height: 460px; }
  .fan-card  { width: 240px; height: 340px; }
}

/* SECTION 12.2: Mobile */
@media (max-width: 768px) {
  :root { --pad-x: 1.5rem; --pad-section: 70px; }

  .navbar { grid-template-columns: auto auto 1fr; padding: 1.2rem var(--pad-x); }
  .nav-brand { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar.scrolled { padding: 1rem var(--pad-x); }

  .pillars { grid-template-columns: 1fr; text-align: center; }
  .pillar, .pillar:last-child, .pillar:nth-child(2) {
    padding: 1.8rem 0; border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .pillar:last-child { border-bottom: none; }

  .fan-stage { height: 380px; }
  .fan-card  { width: 200px; height: 290px; }

  .why-grid { grid-template-columns: 1fr; }

  /* Timeline stacks on mobile */
  .timeline-line { display: none; }
  .timeline-item--left,
  .timeline-item--right { justify-content: center; padding: 0; }
  .timeline-dot { display: none; }
  .timeline-card { max-width: 100%; }

  .contact-details { flex-direction: column; gap: 2rem; }
  .contact-divider { display: none; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .lightbox-content { width: 95vw; }
  .lightbox-content.portrait { max-width: 300px; }
}