/* ============================================================
   Lake Mirror Classic - Homepage styles (theme-aware)
   Works for both Variant A (dark) and Variant B (light)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* Hide alt-text / broken-image glyphs inside media slots (placeholder photos
   may fail to load); the gradient fallback + caption label carry the slot instead. */
.hero-media img, .event-media img, .g-item img, .winner img, .intro-figure img { font-size: 0; color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* ---- Type primitives ---- */
.eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before {
  content: "";
  width: 30px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.solo::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h2.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-bright); box-shadow: 0 12px 30px rgba(194,161,78,0.42); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-on-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.7rem 1.35rem; font-size: 0.95rem; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: 1.15rem; }

/* link arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--hairline);
  color: var(--nav-ink);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
  transition: height .35s var(--ease);
}
.site-header.scrolled .nav { height: 70px; }
.brand img { height: 42px; width: auto; border-radius: 4px; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.7vw, 2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  padding: 0.4rem 0;
  position: relative;
  transition: color .2s;
}
.site-header.scrolled .nav-links a { color: var(--nav-ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 0; background: var(--accent);
  transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* ---- Dropdown menus ---- */
.nav-links { align-items: center; }
.nav-links .nav-item { position: relative; display: flex; align-items: center; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap;
  font-family: inherit; font-size: 19px; font-weight: 500; letter-spacing: 0.01em;
  color: #fff; background: none; border: none; cursor: pointer; padding: 0.4rem 0;
}
.site-header.scrolled .dropdown-toggle { color: var(--nav-ink); }
.dropdown-toggle svg { transition: transform .25s var(--ease); opacity: 0.65; }
.nav-item:hover .dropdown-toggle, .nav-item:focus-within .dropdown-toggle { color: var(--accent); }
.nav-item:hover .dropdown-toggle svg, .nav-item:focus-within .dropdown-toggle svg { transform: rotate(180deg); opacity: 1; }
.dropdown-panel {
  position: absolute; top: 100%; left: 0;
  min-width: 232px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 10;
}
.dropdown-panel.align-right { left: auto; right: 0; }
.dropdown-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .dropdown-panel, .nav-item:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(10px);
}
.dropdown-panel a {
  color: var(--ink) !important;
  font-size: 19px; font-weight: 500;
  padding: 0.62rem 0.85rem; border-radius: 9px; white-space: nowrap;
}
.dropdown-panel a::after { display: none; }
.dropdown-panel a:hover { background: var(--accent-tint); color: var(--accent-deep) !important; }
:root[data-theme="dark"] .dropdown-panel a:hover { color: var(--accent-bright) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: currentColor; display: block; transition: .3s var(--ease); }
.nav-burst-ink { color: #fff; }
.site-header.scrolled .nav-burst-ink { color: var(--nav-ink); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--french-blue-deep);
  color: #fff;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 5.5rem var(--gutter) 3rem;
  gap: 0;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .m-group { display: flex; flex-direction: column; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu .m-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.mobile-menu .m-group a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.35rem 0;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu > .btn { margin-top: 1.5rem; flex: 0 0 auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--french-blue-deep); }
.hero-media > * {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media .hero-fallback { z-index: 0; }
.hero-media video { z-index: 1; }
.hero-scrim { position: absolute; inset: 0; z-index: 2; background: var(--hero-scrim); }
.hero-inner { position: relative; z-index: 3; padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: 7rem; }
.hero .eyebrow { color: var(--accent-bright); }
.hero-title {
  color: #fff;
  font-size: clamp(1.4rem, 6vw, 4.5rem);
  margin: 1.1rem 0 0.4rem;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-dates {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: #fff;
  letter-spacing: 0.005em;
  margin-top: 0.2rem;
}
.hero-dates b { color: var(--accent-bright); font-weight: 700; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1.4rem;
  margin-top: 1.5rem; color: rgba(255,255,255,0.86);
  font-size: 1rem; font-weight: 500;
}
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%,100%{opacity:.3; transform:scaleY(.6); transform-origin:top;} 50%{opacity:1; transform:scaleY(1);} }

/* counters strip under hero */
.stat-strip {
  background: var(--panel);
  color: var(--panel-ink);
}
.stat-strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.stat { text-align: center; padding: 0.4rem 0.5rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px;
  background: rgba(255,255,255,0.16);
}
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.stat .num em { color: var(--accent-bright); font-style: normal; }
.stat .label {
  margin-top: 0.55rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* ============================================================
   EVENT INTRO
   ============================================================ */
.intro-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.intro-copy .title { margin: 1rem 0 1.3rem; max-width: 18ch; }
.intro-copy .lead { max-width: 46ch; }
.intro-copy .body-2 { margin-top: 1.1rem; color: var(--ink-3); max-width: 46ch; }
.intro-actions { margin-top: 2rem; display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.intro-figure {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-figure .cap {
  position: absolute; left: 1.1rem; bottom: 1.1rem; right: 1.1rem;
  color: #fff; font-size: 0.85rem; font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.intro-badge {
  position: absolute; top: -22px; right: 28px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--french-blue); color: #fff;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
}
.intro-badge .b-num { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.intro-badge .b-lbl { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; color: var(--accent-bright); }

/* ============================================================
   SUB-EVENTS
   ============================================================ */
.events-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem,4vw,3.25rem); flex-wrap: wrap; }
.events-head .title { margin-top: 0.8rem; max-width: 16ch; }

.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); }

/* --- Card base --- */
.event-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.06); }
.event-day {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(20,24,48,0.62); backdrop-filter: blur(6px);
  color: #fff; padding: 0.4rem 0.85rem; border-radius: var(--r-pill);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
}
.event-body { padding: clamp(1.4rem, 2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.event-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem,2vw,1.7rem); letter-spacing: -0.01em; line-height: 1.12; }
.event-when { color: var(--accent-deep); font-weight: 600; font-size: 0.92rem; margin-top: 0.5rem; letter-spacing: 0.01em; }
:root[data-theme="dark"] .event-when { color: var(--accent-bright); }
.event-desc { color: var(--ink-3); margin-top: 0.85rem; font-size: 1rem; line-height: 1.62; }
.event-foot {
  margin-top: auto; padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--hairline);
  margin-top: 1.4rem;
}
.event-price { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }
.event-price em { font-style: normal; color: var(--ink-faint); font-weight: 500; font-size: 0.82rem; display: block; letter-spacing: 0.08em; text-transform: uppercase; }

/* --- Variant: "panel" sub-event style (Tweak) --- */
:root[data-cards="panel"] .events-grid { gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
:root[data-cards="panel"] .event-card { border-radius: 0; border: none; box-shadow: none; }
:root[data-cards="panel"] .event-card:hover { transform: none; box-shadow: none; background: var(--surface-2); }
:root[data-cards="panel"] .event-media { aspect-ratio: 16/7; }
:root[data-cards="panel"] .event-card:hover .event-media img { transform: scale(1.03); }

/* --- Variant: "editorial" overlay style (Tweak) --- */
:root[data-cards="editorial"] .events-grid { grid-template-columns: repeat(2, 1fr); }
:root[data-cards="editorial"] .event-card { background: var(--near-black); }
:root[data-cards="editorial"] .event-media { aspect-ratio: 3/4; }
:root[data-cards="editorial"] .event-media::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,12,28,0) 30%, rgba(10,12,28,0.55) 60%, rgba(10,12,28,0.92) 100%);
}
:root[data-cards="editorial"] .event-body {
  position: absolute; inset: auto 0 0 0; z-index: 2; color: #fff;
}
:root[data-cards="editorial"] .event-name { color: #fff; }
:root[data-cards="editorial"] .event-desc { color: rgba(255,255,255,0.78); }
:root[data-cards="editorial"] .event-when { color: var(--accent-bright); }
:root[data-cards="editorial"] .event-foot { border-top-color: rgba(255,255,255,0.18); }
:root[data-cards="editorial"] .event-price { color: #fff; }
:root[data-cards="editorial"] .event-day { display: none; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--panel); color: var(--panel-ink); }
.gallery-section .eyebrow { color: var(--accent-bright); }
.gallery-section .title { color: #fff; }
.gallery-section .lead { color: rgba(255,255,255,0.78); }
.gallery-head { display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap; margin-bottom: clamp(1.75rem,3vw,2.5rem); }
.gallery-head .title { margin-top: 0.8rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  cursor: pointer; background: rgba(255,255,255,0.05);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  opacity: 0; transition: opacity .35s;
}
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after { opacity: 1; }
.g-cap {
  position: absolute; left: 0.9rem; bottom: 0.8rem; right: 0.9rem; z-index: 2;
  color: #fff; font-size: 0.82rem; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: .35s var(--ease);
}
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.gallery-foot { margin-top: 2.25rem; display: flex; justify-content: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,10,22,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 4vw;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--r-md); box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.lb-cap { position: absolute; bottom: 3.5vh; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-content: center; transition: .25s;
}
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.lb-close { top: 4vh; right: 4vw; }
.lb-nav.prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ============================================================
   BEST IN SHOW (winners feature)
   ============================================================ */
.winners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.winner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/2; box-shadow: var(--shadow-md);
  border: 1px solid var(--hairline);
}
.winner img { width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease); }
.winner:hover img { transform: scale(1.05); }
.winner::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,12,28,0) 40%, rgba(10,12,28,0.88) 100%); }
.winner-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.4rem,2.5vw,2rem); color: #fff; }
.winner-tag {
  display:inline-flex; align-items:center; gap:0.5em;
  background: var(--accent); color: var(--on-accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: var(--r-pill); margin-bottom: 0.8rem;
}
.winner-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem,2vw,1.75rem); line-height: 1.15; }
.winner-sub { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.35rem; }

/* ============================================================
   2025 BEST IN SHOW (three-image feature)
   ============================================================ */
.bis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.bis-item { margin: 0; display: flex; flex-direction: column; }
.bis-item.bis-wide { grid-column: 1 / -1; }
.bis-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--hairline);
  aspect-ratio: 3/2; background: var(--surface-2);
}
.bis-wide .bis-media { aspect-ratio: 21/9; }
.bis-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bis-item:hover .bis-media img { transform: scale(1.04); }
.bis-cap { padding: 1.1rem 0.2rem 0; display: flex; flex-direction: column; gap: 0.35rem; text-align: center; }
.bis-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
:root[data-theme="dark"] .bis-tag { color: var(--accent-bright); }
.bis-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.22; color: var(--ink); }
@media (max-width: 720px) { .bis-grid { grid-template-columns: 1fr; } .bis-wide .bis-media { aspect-ratio: 16/10; } }

/* ============================================================
   MISSION band
   ============================================================ */
.mission { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.mission .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.mission .big-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.95; color: var(--french-blue); }
:root[data-theme="dark"] .mission .big-num { color: var(--accent-bright); }
.mission .big-num span { display:block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.6rem; }
.mission .title { margin-bottom: 1.1rem; }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors { text-align: center; }
.sponsors .eyebrow { justify-content: center; }
.sponsors .title { margin: 0.9rem auto 0.7rem; }
.sponsors .lead { max-width: 52ch; margin: 0 auto 2.5rem; }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sponsor-tile {
  background: var(--surface);
  aspect-ratio: 3/2;
  display: grid; place-content: center;
  padding: clamp(1.1rem, 2vw, 1.8rem);
  transition: background .3s;
}
.sponsor-tile img {
  max-height: 64px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.72;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.sponsor-tile:hover { background: var(--surface-2); }
.sponsor-tile:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
:root[data-theme="dark"] .sponsor-tile { background: rgba(255,255,255,0.96); }
:root[data-theme="dark"] .sponsor-tile:hover { background: #fff; }

/* sponsor layout: free (no grid lines, larger) */
:root[data-sponsors="free"] .sponsor-grid {
  background: transparent; border: none; gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(5, 1fr); align-items: center;
}
:root[data-sponsors="free"] .sponsor-tile { background: transparent; aspect-ratio: auto; padding: 0.5rem; }
:root[data-sponsors="free"] .sponsor-tile:hover { background: transparent; }
:root[data-sponsors="free"] .sponsor-tile img { max-height: 56px; }

/* sponsor layout: marquee (scrolling) */
:root[data-sponsors="marquee"] .sponsor-grid { display: none; }
.sponsor-marquee { display: none; }
:root[data-sponsors="marquee"] .sponsor-marquee {
  display: block; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sponsor-track { display: flex; gap: clamp(2.5rem, 5vw, 5rem); width: max-content; animation: scrollx 38s linear infinite; align-items: center; }
:root[data-sponsors="marquee"] .sponsors:hover .sponsor-track { animation-play-state: paused; }
.sponsor-track img {
  height: 84px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.7; transition: .35s;
}
.sponsor-track img:hover { filter: grayscale(0); opacity: 1; }
:root[data-theme="dark"] .sponsor-track img { filter: grayscale(1) brightness(0) invert(1); opacity: 0.6; }
:root[data-theme="dark"] .sponsor-track img:hover { filter: none; opacity: 1; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.sponsor-cta { margin-top: 2.5rem; }

/* ============================================================
   SUBSCRIBE
   ============================================================ */
.subscribe { position: relative; background: var(--french-blue); color: #fff; overflow: hidden; }
.subscribe::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(194,161,78,0.22), transparent 55%),
              radial-gradient(100% 100% at 0% 100%, rgba(28,43,107,0.6), transparent 50%);
}
.subscribe .wrap { position: relative; max-width: 760px; text-align: center; }
.subscribe .eyebrow { color: var(--accent-bright); justify-content: center; }
.subscribe .title { color: #fff; margin: 0.9rem 0 0.8rem; }
.subscribe p.lead { color: rgba(255,255,255,0.82); margin: 0 auto 2rem; max-width: 48ch; }
.subscribe-form { display: flex; gap: 0.8rem; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1; min-width: 220px;
  font-family: inherit; font-size: 1.05rem;
  padding: 1rem 1.3rem; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08); color: #fff;
  transition: border-color .25s, background .25s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.6); }
.subscribe-form input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.14); box-shadow: 0 0 0 4px rgba(194,161,78,0.18); }
.subscribe-form input.invalid { border-color: #ff8a8a; box-shadow: 0 0 0 4px rgba(255,90,90,0.18); }
.subscribe-note { margin-top: 1.1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.subscribe-success {
  display: none; margin-top: 1.5rem;
  align-items: center; justify-content: center; gap: 0.6rem;
  color: #fff; font-weight: 600;
}
.subscribe-success.show { display: flex; }
.subscribe-success .ck { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--near-black); color: rgba(255,255,255,0.72); padding-top: clamp(3.5rem,6vw,5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 44px; width: auto; border-radius: 4px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-content: center; color: #fff; transition: .25s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Image placeholder fallback ---- */
.img-fallback {
  background:
    linear-gradient(135deg, var(--french-blue) 0%, var(--french-blue-deep) 100%) !important;
  position: relative;
}
.img-fallback::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 22px, rgba(255,255,255,0.04) 22px, rgba(255,255,255,0.04) 23px);
}
.img-fallback .ph-label {
  position: absolute; inset: auto 1rem 1rem 1rem; z-index: 2;
  color: rgba(255,255,255,0.92); font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; font-weight: 500; line-height: 1.3;
}
.img-fallback .ph-label::before {
  content: "Photo · "; font-style: normal; font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-bright); display: block; margin-bottom: 0.3rem;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .intro-grid, .mission .wrap { grid-template-columns: 1fr; }
  .winners-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  :root[data-sponsors="free"] .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .events-grid { grid-template-columns: 1fr; }
  :root[data-cards="editorial"] .events-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  :root[data-sponsors="free"] .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item.wide { grid-column: span 2; }
  .g-item.tall { grid-row: span 1; }
}

/* Client request (2026-06-11): all heading titles line-height 1.2, desktop + mobile */
h1, h2, h3, h4, h5, h6,
.hero-title, .display, .title, .section-head .title { line-height: 1.2 !important; }
