/* ==========================================================================
   AFROFRAME FESTIVAL 2026 — SINGLE FONT: DM Sans
   Inspired by MasterClass: dark, cinematic, editorial, rounded cards.
   ========================================================================== */

/* ─── Unique Font Declaration ─────────────────────────────────────────────── */
/* DM Sans: moderne, géométrique, premium, lisible — une seule famille pour tout */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400;1,9..40,700&display=swap');

/* ─── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg: #000;
  --bg-alt: #0a0a0a;
  --card: #171717;
  --elev: #1f1f1f;
  --hover: #2a2a2a;

  /* Text */
  --text: #fff;
  --muted: #b3b3b3;
  --soft: #888;
  --faint: #5e5e5e;

  /* Brand (AfroFrame logo orange + taupe) */
  --gold: #d4af72;
  --gold-soft: #e8d3a6;
  --gold-deep: #a8854b;
  --cream: #f5efe6;

  /* Borders */
  --line: #2e2e2e;
  --line-strong: #4a4a4a;

  /* Typography — Single Font */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radii — MasterClass rounded cards */
  --radius-xs: 4px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Motion */
  --cinema: cubic-bezier(.16, 1, .3, 1);
}

/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Typography Scale ────────────────────────────────────────────────────── */
/* All headings and labels use DM Sans with weight variation instead of serif */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .15s, color .15s, border-color .15s, transform .2s var(--cinema), box-shadow .2s;
  white-space: nowrap;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8e8; box-shadow: 0 8px 24px rgba(255,255,255,.12); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 34px; font-size: 16px; }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-soft); }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: 72px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s, box-shadow .3s;
}
.site-nav.scrolled {
  background: rgba(0,0,0,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.nav-wrapper { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo-brand { display: flex; align-items: center; }
.logo-brand img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  opacity: .8;
  position: relative;
  padding: 6px 0;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--cinema);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-primary { background: var(--gold); color: #000; }
.nav-actions .btn-primary:hover { background: var(--gold-soft); }
.mobile-menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); align-items: center; justify-content: center; }
.mobile-menu-btn:hover { background: rgba(255,255,255,.1); }

/* ─── Badges & Labels ─────────────────────────────────────────────────────── */
.eyebrow, .mc-badge, .section-label, .card-top-tag, .stage-tag, .footer-col-title, .sponsors-caption {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mc-badge { display: inline-flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 28px; }
.section-label { color: var(--gold); display: block; margin-bottom: 12px; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,114,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(212,175,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,114,0); }
}

/* ─── Hero Section ────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-backdrop { position: absolute; inset: 0; }
.hero-backdrop-img {
  width: 100%; height: 115%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0) contrast(1.08) brightness(0.82);
  will-change: transform;
  animation: kenburns 24s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-gradient-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.65) 72%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 80px; }

.hero-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-family: var(--font);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-dotation-card {
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--gold);
  margin-bottom: 40px;
}
.hero-dotation-val {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}
.hero-dotation-val span { font-size: .5em; color: #fff; font-weight: 500; letter-spacing: .04em; }
.hero-dotation-label { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-ticker {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.ticker-item svg { color: var(--gold); flex: none; }

/* Hero entrance animation */
.hero-content > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--cinema) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .4s; }
.hero-content > *:nth-child(4) { animation-delay: .55s; }
.hero-content > *:nth-child(5) { animation-delay: .7s; }
.hero-content > *:nth-child(6) { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ─── Metrics Section ─────────────────────────────────────────────────────── */
.metrics-section {
  background: var(--bg-alt, #0a0a0a);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-box { padding: 56px 24px; border-left: 1px solid var(--line); }
.metric-box:first-child { border-left: 0; padding-left: 0; }
.metric-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.metric-num.highlight { color: var(--gold); }
.metric-txt {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-darker { background: var(--bg-alt, #0a0a0a); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}
.section-subtitle { font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* ─── Awards ──────────────────────────────────────────────────────────────── */
.awards-highlight-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--cream);
  color: #1a1a1a;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin-bottom: 16px;
}
.awards-highlight-left { display: flex; align-items: center; gap: 20px; }
.award-trophy-symbol {
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  flex: none;
}
.awards-highlight-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.awards-highlight-desc { font-size: 14px; color: #555; }
.awards-highlight-sum {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  color: #1a1a1a;
}

/* Major awards grid */
.major-awards-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.mc-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: background .3s, transform .5s var(--cinema), box-shadow .5s, border-color .3s;
}
.mc-card:hover {
  background: var(--elev);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.card-top-tag { color: var(--gold); margin-bottom: auto; padding-bottom: 40px; }
.card-award-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.card-award-sum {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.card-award-sum span { font-size: .4em; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.card-award-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Tech awards */
.sub-awards-heading {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin-bottom: 0;
}
.sub-awards-heading span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.tech-awards-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.tech-award-item {
  padding: 32px 24px 32px 0;
  margin-right: 24px;
  border-right: 1px solid var(--line);
  transition: transform .5s var(--cinema);
}
.tech-award-item:last-child { border-right: 0; margin-right: 0; }
.tech-award-item:hover { transform: translateY(-4px); }
.tech-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.tech-sum { font-weight: 800; font-size: 1.1rem; color: var(--gold); margin-bottom: 10px; letter-spacing: -.01em; }
.tech-detail { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── Genres ──────────────────────────────────────────────────────────────── */
.genres-display { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.genre-poster-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
}
.poster-media, .poster-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster-media img { object-fit: cover; filter: grayscale(.3); transition: transform .8s var(--cinema), filter .6s; }
.poster-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.92) 100%);
}
.genre-poster-card:hover .poster-media img { transform: scale(1.05); filter: grayscale(0); }
.poster-body { position: absolute; inset: auto 0 0 0; padding: 32px 28px; display: flex; flex-direction: column; }
.poster-genre-title { font-weight: 700; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 10px; }
.poster-genre-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.tags-cluster { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,.35);
  transition: background .15s, color .15s, border-color .15s;
}
.genre-poster-card:hover .genre-pill { border-color: var(--gold); color: var(--gold-soft); }

/* ─── Eligibility ─────────────────────────────────────────────────────────── */
.eligibility-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.criteria-rows { display: flex; flex-direction: column; gap: 2px; }
.criteria-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.criteria-row:hover { background: var(--elev); }
.criteria-num {
  font-weight: 800; font-size: 1.1rem;
  color: var(--gold);
  background: rgba(212,175,114,.1);
  min-width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex: none;
  letter-spacing: -.01em;
}
.criteria-info h4 { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.criteria-info p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.criteria-info strong { color: #fff; }

.checker-box {
  position: sticky;
  top: 104px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.checker-head { margin-bottom: 24px; }
.checker-head h3 { font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 6px; }
.checker-head p { font-size: 14px; color: var(--muted); }
.checklist-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.checklist-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.checklist-item:hover { background: var(--elev); }
.checklist-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  flex: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.checklist-item input::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--gold);
  transform: scale(0);
  transition: transform .2s var(--cinema);
}
.checklist-item input:checked { background: var(--gold); border-color: var(--gold); }
.checklist-item input:checked::after { transform: scale(1); background: #000; }
.checker-status-banner {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  text-align: center;
  margin-bottom: 16px;
}
.checker-status-title { font-weight: 700; font-size: 15px; color: var(--gold); margin-bottom: 6px; }
.checker-status-sub { font-size: 13px; color: var(--muted); }

/* ─── Timeline ────────────────────────────────────────────────────────────── */
.timeline-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage-step-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 28px 40px;
  position: relative;
  overflow: hidden;
  transition: background .3s, transform .5s var(--cinema);
}
.stage-step-card:hover { background: var(--elev); transform: translateY(-4px); }
.stage-step-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--cinema);
}
.stage-step-card:hover::before { transform: scaleX(1); }
.stage-number {
  font-family: var(--font);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: #2a2a2a;
  margin-bottom: 32px;
  transition: color .3s;
}
.stage-step-card:hover .stage-number { color: var(--gold); }
.stage-tag { color: var(--gold); margin-bottom: 14px; display: block; }
.stage-title { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.stage-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ─── Jury ────────────────────────────────────────────────────────────────── */
.jury-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 96px; }
.jury-member-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.jury-photo-wrap, .jury-photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jury-photo-wrap img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform .8s var(--cinema), filter .6s;
}
.jury-photo-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.92) 100%);
}
.jury-member-card:hover .jury-photo-wrap img { transform: scale(1.05); filter: grayscale(.2); }
.jury-content { position: absolute; inset: auto 0 0 0; padding: 24px; display: flex; flex-direction: column; }
.jury-member-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  order: -1;
}
.jury-member-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.jury-member-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--cinema), opacity .5s, margin .5s;
}
.jury-member-card:hover .jury-member-bio { max-height: 120px; opacity: 1; margin-top: 10px; }
@media (hover: none) { .jury-member-bio { max-height: none; opacity: 1; margin-top: 10px; } }

/* Sponsors */
.sponsors-block { text-align: center; padding-top: 64px; border-top: 1px solid var(--line); }
.sponsors-caption { color: var(--faint); margin-bottom: 40px; display: block; }
.sponsors-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; opacity: .6; }
.sponsor-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--muted);
  transition: color .2s, opacity .2s;
  cursor: default;
}
.sponsor-name:hover { color: #fff; opacity: 1; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-box-wrap { max-width: 820px; margin: 0 auto; }
.faq-accordion-group { display: flex; flex-direction: column; }
.faq-item-card { border-top: 1px solid var(--line); }
.faq-item-card:last-child { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.35;
  transition: color .15s;
  letter-spacing: -.01em;
}
.faq-btn:hover { color: var(--gold); }
.faq-chevron { width: 20px; height: 20px; flex: none; color: var(--gold); transition: transform .3s var(--cinema); }
.faq-item-card.open .faq-chevron { transform: rotate(180deg); }

.faq-body-collapse {
  display: none;
  overflow: hidden;
}
.faq-item-card.open .faq-body-collapse {
  display: block;
}
.faq-body-content {
  padding-bottom: 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-body-content strong { color: #fff; }

/* ─── Footer & CTA ────────────────────────────────────────────────────────── */
.section-cta-pre-faq {
  background: var(--bg);
  padding: 100px 0 60px;
}
.masterclass-footer {
  background: var(--bg);
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.footer-cta-card { text-align: center; padding: 20px 0 40px; }
.footer-cta-headline {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.03em;
  line-height: 1.08;
  max-width: 800px;
  margin: 0 auto 40px;
}
.footer-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.newsletter-subscribe-panel { max-width: 520px; margin: 0 auto; }
.newsletter-subscribe-panel p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.newsletter-input-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 20px;
  transition: border-color .15s;
}
.newsletter-input-row:focus-within { border-color: var(--gold); }
.newsletter-input-field {
  flex: 1; min-width: 0;
  height: 44px;
  background: transparent;
  color: #fff;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
}
.newsletter-input-field::placeholder { color: var(--faint); }

/* Footer navigation */
.footer-grid {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
  padding: 64px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-bio { max-width: 360px; }
.footer-bio p { font-size: 14px; color: var(--muted); margin-top: 20px; line-height: 1.6; }
.footer-columns-wrap { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title { color: #fff; margin-bottom: 20px; display: block; }
.footer-col-list { display: flex; flex-direction: column; gap: 12px; }
.footer-col-list a { font-size: 14px; color: var(--muted); transition: color .15s; }
.footer-col-list a:hover { color: #fff; }
.social-icons-row { display: flex; gap: 8px; }
.social-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  transition: background .15s, color .15s, border-color .15s;
  color: var(--muted);
}
.social-icon-btn:hover { background: var(--elev); color: #fff; border-color: rgba(255,255,255,.3); }
.footer-legal-bar {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 13px;
  color: var(--faint);
  flex-wrap: wrap; gap: 12px;
}

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-sheet {
  width: 100%; max-width: 720px; max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0,0,0,.7);
  transform: scale(.96);
  transition: transform .3s var(--cinema);
}
.modal-overlay.open .modal-sheet { transform: scale(1); }
.modal-sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 28px 40px;
  border-bottom: 1px solid var(--line);
}
.modal-sheet-head h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.modal-dismiss-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  flex: none;
  transition: background .15s;
}
.modal-dismiss-btn:hover { background: var(--elev); }
.modal-sheet-body { padding: 40px; overflow-y: auto; flex: 1; font-size: 15px; line-height: 1.7; color: var(--muted); }
.modal-sheet-body h4 { font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -.01em; margin: 24px 0 8px; }
.modal-sheet-body h4:first-child { margin-top: 0; }
.modal-sheet-body strong { color: #fff; }
.modal-sheet-foot {
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .metric-box:nth-child(3) { border-left: 0; padding-left: 0; }
  .metric-box { padding: 40px 20px; }
  .metric-box:nth-child(n+3) { border-top: 1px solid var(--line); }
  .major-awards-list { grid-template-columns: 1fr; }
  .mc-card { min-height: 0; }
  .tech-awards-row { grid-template-columns: repeat(2, 1fr); }
  .tech-award-item:nth-child(3) { border-right: 0; }
  .genres-display { grid-template-columns: 1fr; }
  .eligibility-split { grid-template-columns: 1fr; }
  .checker-box { position: static; }
  .jury-row { grid-template-columns: repeat(2, 1fr); }
  .timeline-stages { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Drawer Mobile MasterClass ─────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  background: #000000;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-drawer a {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -.01em;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.mobile-drawer a:hover, .mobile-drawer a:active {
  color: var(--gold);
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .mobile-menu-btn svg {
    display: block;
    width: 28px;
    height: 28px;
  }
  .logo-brand img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
  .genres-display, .jury-row, .timeline-stages { grid-template-columns: 1fr; }
  .tech-award-item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .awards-highlight-banner { padding: 28px 24px; }
  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-columns-wrap { gap: 32px; }
}

/* ─── Print ───────────────────────────────────────────────────────────────── */
@media print {
  .site-nav, .hero-section, .masterclass-footer, main { display: none; }
  .modal-overlay { position: static; visibility: visible; opacity: 1; background: #fff; }
  .modal-sheet { box-shadow: none; max-height: none; background: #fff; color: #000; border-radius: 0; }
  .modal-sheet-body, .modal-sheet-body h4, .modal-sheet-body strong { color: #000; }
  .modal-sheet-foot, .modal-dismiss-btn { display: none; }
}
