/* ============================================================
   Ir. Benni Agus Candra — Calon Ketua IDTC
   Palette derived from the campaign poster: deep navy + electric
   blue/cyan gradient, gold as the "No.1" accent.
   ============================================================ */

:root {
  --bg: #050d1c;
  --bg-2: #081326;
  --surface: #0b1830;
  --surface-2: #10203f;
  --surface-3: #142a4d;
  --accent: #0a84ff;
  --accent-2: #25e0ff;
  --gold: #ffc53d;
  --text: #eaf2ff;
  --muted: #8fa6c6;
  --muted-dim: #5c7196;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(140, 190, 255, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  --font-display: "Anton", "Archivo Black", "Arial Narrow Bold", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent-2));
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  max-width: 780px;
  margin: 0 0 48px;
}

.section-lead strong {
  color: var(--text);
}

/* ---------- background texture ---------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
  background-image: radial-gradient(
      ellipse 900px 500px at 85% -10%,
      rgba(10, 132, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(ellipse 700px 500px at -10% 20%, rgba(37, 224, 255, 0.1), transparent 60%),
    repeating-linear-gradient(
      transparent,
      transparent 38px,
      rgba(255, 255, 255, 0.018) 39px
    );
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(5, 13, 28, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #04101f;
  font-weight: 900;
  font-size: 0.95rem;
  font-family: var(--font-body);
  box-shadow: 0 6px 18px rgba(10, 132, 255, 0.45);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 15, 32, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .nav-links.open {
    max-height: 420px;
  }

  .nav-links a {
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--border);
    border-left: 2px solid transparent;
  }

  .nav-links a.active {
    border-left-color: var(--accent-2);
    background: rgba(10, 132, 255, 0.08);
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.badge-pill .num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #ffa000);
  color: #241500;
  font-weight: 900;
  font-family: var(--font-body);
}

.hero-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 22px;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: #04101f;
  background: linear-gradient(100deg, var(--gold), #ffe08a);
  padding: 4px 14px;
  border-radius: 4px;
  transform: rotate(-1.2deg);
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(255, 197, 61, 0.25);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #03101f;
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 132, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
}

.hero-visual .glow {
  position: absolute;
  inset: -12% -14%;
  background: radial-gradient(circle at 40% 30%, rgba(37, 224, 255, 0.35), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(10, 132, 255, 0.3), transparent 55%);
  filter: blur(10px);
  z-index: -1;
}

.portrait-frame {
  position: relative;
  border-radius: 22px;
  padding: 6px;
  background: linear-gradient(155deg, rgba(37, 224, 255, 0.55), rgba(10, 132, 255, 0.05) 40%, rgba(255, 197, 61, 0.4));
  box-shadow: var(--shadow);
}

.portrait-frame img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  object-position: top center;
}

.portrait-tag {
  position: absolute;
  left: 18px;
  bottom: -18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.portrait-tag strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

/* ============================================================
   Profile
   ============================================================ */

.profile-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

@media (max-width: 860px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-text p {
  color: var(--muted);
  font-size: 1.03rem;
  margin-bottom: 18px;
}

.profile-text strong {
  color: var(--text);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-2);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.profile-card h3 {
  margin-top: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.profile-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.profile-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.profile-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-2);
  margin-top: 2px;
}

/* ============================================================
   Programs
   ============================================================ */

.programs {
  background: linear-gradient(180deg, transparent, rgba(10, 30, 60, 0.35), transparent);
}

.program-banner {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(255, 197, 61, 0.08);
  border: 1px solid rgba(255, 197, 61, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 40px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.program-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(10, 132, 255, 0.18);
}

.program-card .idx {
  position: absolute;
  top: -10px;
  right: 6px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  user-select: none;
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(10, 132, 255, 0.25), rgba(37, 224, 255, 0.12));
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
  color: var(--accent-2);
}

.program-icon svg {
  width: 26px;
  height: 26px;
}

.program-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: var(--text);
}

.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ============================================================
   Vision / Gagasan
   ============================================================ */

.vision-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
  border: 1px solid var(--border);
}

.vision-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.vision-banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px clamp(18px, 4vw, 34px);
  background: linear-gradient(0deg, rgba(3, 8, 18, 0.92), transparent);
  font-size: 0.9rem;
  color: var(--muted);
}

.vision-banner-caption strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.vision-blocks {
  display: grid;
  gap: 18px;
}

.vision-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px clamp(20px, 4vw, 34px);
}

.vision-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--text);
}

.vision-block h3 .tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #04101f;
  background: var(--accent-2);
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.vision-block p {
  color: var(--muted);
  margin: 0 0 12px;
}

.vision-block p:last-child {
  margin-bottom: 0;
}

/* timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 6px;
}

@media (max-width: 760px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

.timeline-step {
  position: relative;
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}

.timeline-step:nth-child(2) { border-top-color: var(--accent-2); }
.timeline-step:nth-child(3) { border-top-color: var(--gold); }
.timeline-step:nth-child(4) { border-top-color: #ff5da0; }

.timeline-step .era {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

.timeline-step p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* value cycle */

.cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cycle-step {
  flex: 1 1 160px;
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
}

.cycle-arrow {
  color: var(--accent-2);
  font-size: 1.4rem;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .cycle {
    flex-direction: column;
  }
  .cycle-arrow {
    transform: rotate(90deg);
  }
}

/* benefit mini grid inside vision block */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.benefit-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
  color: var(--text);
}

.benefit-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.closing-quote {
  margin: 44px 0 0;
  padding: 30px clamp(20px, 4vw, 40px);
  border-left: 4px solid var(--accent-2);
  background: linear-gradient(90deg, rgba(37, 224, 255, 0.08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text);
}

.closing-quote footer {
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.9rem;
}

/* ============================================================
   Video gallery
   ============================================================ */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(3, 8, 18, 0.55), rgba(3, 8, 18, 0.05));
}

.video-play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 132, 255, 0.85);
  box-shadow: 0 8px 26px rgba(10, 132, 255, 0.5);
  transition: transform 0.3s var(--ease);
}

.video-card:hover .video-play span {
  transform: scale(1.1);
}

.video-play svg {
  width: 22px;
  height: 22px;
  color: #04101f;
  margin-left: 3px;
}

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(3, 8, 18, 0.8);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.video-meta {
  padding: 18px 20px 20px;
}

.video-meta h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.video-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================================
   Image gallery
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f4f7fb;
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.gallery-item .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .cap {
  padding: 14px 16px 16px;
  background: var(--surface);
}

.gallery-item .cap strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 3px;
}

.gallery-item .cap span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   Closing / poster section
   ============================================================ */

.closing-section {
  background: radial-gradient(ellipse 800px 500px at 50% 0%, rgba(10, 132, 255, 0.15), transparent 70%);
}

.closing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

@media (max-width: 860px) {
  .closing-grid {
    grid-template-columns: 1fr;
  }
}

.poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  box-shadow: var(--shadow);
  background: none;
  padding: 0;
}

.poster-frame img {
  width: 100%;
}

.slogan {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 22px;
  background: linear-gradient(110deg, var(--gold), #fff 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.pillar .ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(37, 224, 255, 0.12);
  color: var(--accent-2);
}

.pillar .ic svg {
  width: 22px;
  height: 22px;
}

.pillar strong {
  display: block;
  font-size: 0.98rem;
}

.pillar span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   Footer
   ============================================================ */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px var(--gutter) 40px;
  text-align: center;
  color: var(--muted-dim);
  font-size: 0.85rem;
}

footer.site-footer strong {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-media {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  max-height: 78vh;
}

.lightbox-media video,
.lightbox-media img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
}

.lightbox-caption {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .program-card:hover,
  .video-card:hover,
  .gallery-item:hover,
  .btn:hover {
    transform: none !important;
  }
}
