/* Typography & global styles */
:root {
  --bg: #0f172a;
  --bg-alt: #122347;
  --accent: #f5b400;
  --soft: rgba(255, 255, 255, 0.82);
  --card: rgba(15, 23, 42, 0.7);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 50px -20px rgba(15, 23, 42, 0.75);
}

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

body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e2b52 0%, #0b1020 60%, #06070f);
  color: #eef2ff;
  line-height: 1.6;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

figure img,
.spotlight img {
  cursor: zoom-in;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hero */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.45) 55%,
    rgba(15, 23, 42, 0.65) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(1.5rem, 4vw, 6rem) 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.main-nav .brand {
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(14, 21, 40, 0.6);
}

.main-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 10vh;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.pulse-button {
  cursor: pointer;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  background: var(--accent);
  box-shadow: 0 18px 35px -14px rgba(245, 180, 0, 0.85);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pulse-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px -18px rgba(245, 180, 0, 0.95);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 6rem);
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  opacity: 0.35;
}

.section.intro::before {
  display: none;
}

.section-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.section-grid .section-text {
  max-width: 620px;
}

.spotlight {
  margin: 0;
  text-align: right;
}

.spotlight figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.fact-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.fact-card {
  background: rgba(17, 26, 50, 0.75);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.4s ease, border 0.4s ease, background 0.4s ease;
  backdrop-filter: blur(12px);
}

.fact-card.active {
  border-color: rgba(245, 180, 0, 0.6);
  background: rgba(245, 180, 0, 0.15);
  transform: translateY(-8px);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.stage-label {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(245, 180, 0, 0.7);
  margin-bottom: 0.75rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
}

.media-card {
  margin: 0;
  background: rgba(12, 18, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 1.1rem 1rem 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.media-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.media-card img {
  border-radius: 18px;
}

.media-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.media-card.wide {
  grid-column: span 2;
}

.video-strip,
.video-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.video-strip figure,
.video-card {
  margin: 0;
  background: rgba(12, 18, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-strip figcaption,
.video-card figcaption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.video-card video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.closing-note {
  max-width: 680px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer {
  padding: 2rem clamp(1.5rem, 5vw, 6rem);
  text-align: center;
  background: #05070f;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 8, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-media {
  max-width: min(92vw, 1200px);
  width: 100%;
  text-align: center;
  display: grid;
  gap: 1rem;
}

.lightbox-media img {
  margin: 0 auto;
  max-height: 80vh;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 35px 60px -20px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  background: rgba(12, 18, 35, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(245, 180, 0, 0.25);
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .hero-overlay {
    padding-top: 16px;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-copy {
    margin-bottom: 6vh;
  }

  .section::before {
    inset: 6%;
  }

  .media-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  #hero {
    min-height: 560px;
  }

  .main-nav {
    font-size: 0.85rem;
  }

  .section::before {
    display: none;
  }

  .fact-stack {
    gap: 0.75rem;
  }

  .fact-card {
    padding: 1.1rem 1rem;
  }
}
