/* ==========================================================================
   Ali Ettarnichi · Moncton 2026
   Bold visual design. Full-bleed sections. Color progression. Responsive.
   ========================================================================== */

@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Regular.ttf")    format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Medium.ttf")     format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Bold.ttf")       format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-ExtraBold.ttf")  format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --navy: #14213D;
  --navy-d: #0F1A35;
  --navy-2: #1B2C5A;
  --blue: #2B5BAA;
  --blue-d: #1F4488;
  --red: #B7322B;
  --red-d: #8E2520;
  --beige: #EAD8B6;
  --beige-d: #D6BE8E;
  --cream: #FAF7F0;
  --cream-d: #F0EBDC;
  --ink: #0F1419;
  --ink-2: #2A3441;
  --muted: #5A6473;
  --gold: #FFD24A;
  --gold-d: #C7A632;
  --line: #E2DFD4;
  --white: #FFFFFF;
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --pad-sm: clamp(16px, 3vw, 32px);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* bilingual toggle */
body[data-lang="en"] .fr,
body[data-lang="fr"] .en { display: none !important; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; outline: 3px solid var(--gold); }

/* ──────── TOPBAR ──────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
  color: var(--white);
  padding: 14px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--red);
  font-weight: 800; font-size: 18px;
  border-radius: 6px;
}
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }

.topnav {
  display: flex; gap: 26px;
  flex: 1; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: .12em;
}
.topnav a {
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }

.topbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 12px;
  background: rgba(255,255,255,.08);
  padding: 6px 12px;
  border-radius: 6px;
}
.lang-toggle button { color: rgba(255,255,255,.55); padding: 2px 4px; transition: color .15s; }
.lang-toggle button[aria-pressed="true"] { color: var(--gold); }
.lang-toggle button:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────── HERO ──────── */
.hero {
  position: relative;
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 720px;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  max-height: 940px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 750px at 78% 30%, rgba(43,91,170,.40), transparent 60%),
    radial-gradient(700px 500px at 8% 92%, rgba(183,50,43,.25), transparent 60%),
    radial-gradient(500px 400px at 50% 5%, rgba(255,210,74,.10), transparent 60%);
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  overflow: hidden;
  z-index: 1;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 22%, transparent 100%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56%;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--pad);
}
.hero-eyebrow {
  font-weight: 800; font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-name {
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  display: flex; flex-direction: column;
}
.hero-name-first { color: var(--white); }
.hero-name-last { color: var(--gold); }
.hero-role {
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 500;
  color: rgba(255,255,255,.82);
  margin: 0 0 32px;
  max-width: 24ch;
}
.hero-vote {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--red);
  background-image: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  padding: 14px 22px;
  width: fit-content;
  margin-bottom: 32px;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(183,50,43,.40);
}
.hero-vote-day {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-vote-meta {
  font-weight: 600; font-size: clamp(11px, 1.1vw, 13px);
  color: rgba(255,255,255,.85);
}
.hero-motto {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: .14em;
  color: var(--white);
}
.motto-d {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.motto-fr {
  display: block; width: 100%;
  margin-top: 6px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.58);
  text-transform: none;
  font-style: italic;
}
.motto-fr.en, .motto-fr.fr { font-style: normal; }

/* ──────── BAND (section header) ──────── */
.band {
  background: var(--cream);
  background-image: linear-gradient(180deg, var(--cream-d) 0%, var(--cream) 100%);
  padding: clamp(72px, 8vw, 112px) var(--pad) clamp(36px, 4vw, 48px);
}
.band-cream {
  background-image: linear-gradient(180deg, var(--cream-d) 0%, var(--cream) 100%);
}
.band-dark {
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy-d) 0%, var(--navy) 100%);
}
.band-no-pad-top { padding-top: clamp(72px, 8vw, 112px); }

.band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0 28px;
}
.band-num {
  grid-row: 1 / 3;
  font-size: clamp(64px, 8vw, 130px);
  font-weight: 800;
  line-height: 0.85;
  color: var(--red);
  letter-spacing: -0.045em;
}
.band-num-light { color: var(--gold); }
.band-eyebrow {
  font-weight: 800; font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .28em;
  color: var(--red);
  margin-bottom: 6px;
}
.band-eyebrow-light { color: var(--gold); }
.band-title {
  font-size: clamp(26px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  grid-column: 2;
}
.band-title-light { color: var(--white); }

/* ──────── PRIORITIES ──────── */
.pillar {
  padding: clamp(48px, 6vw, 90px) var(--pad);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(800px 500px at 90% 10%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.pillar-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  position: relative;
}
.pillar-num {
  font-size: clamp(56px, 7vw, 110px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  opacity: .9;
}
.pillar h3 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.pillar-tag {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
  max-width: 32ch;
}
.pillar-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 18px;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
}
.pillar-bullets li {
  position: relative;
  padding-left: 38px;
  border-top: 1px solid currentColor;
  padding-top: 18px;
  font-weight: 500;
  opacity: .95;
}
.pillar-bullets li:first-child { border-top: 0; padding-top: 0; }
.pillar-bullets li::before {
  content: "→";
  position: absolute; left: 0; top: 18px;
  font-weight: 800;
  font-size: 1.2em;
}
.pillar-bullets li:first-child::before { top: 0; }

.pillar-red {
  background: var(--red);
  background-image: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  color: var(--white);
}
.pillar-red .pillar-num { color: rgba(255,255,255,.45); }
.pillar-red .pillar-bullets li { border-top-color: rgba(255,255,255,.18); }

.pillar-navy {
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  color: var(--white);
}
.pillar-navy .pillar-num { color: rgba(255,210,74,.55); }
.pillar-navy .pillar-bullets li { border-top-color: rgba(255,255,255,.18); }

.pillar-beige {
  background: var(--beige);
  background-image: linear-gradient(135deg, var(--beige) 0%, var(--beige-d) 100%);
  color: var(--ink);
}
.pillar-beige .pillar-num { color: var(--red); }
.pillar-beige .pillar-bullets li { border-top-color: rgba(15,20,25,.18); }

/* ──────── LEADERSHIP ──────── */
.leadership {
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
}
.lead-cards {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lead-card {
  padding: clamp(28px, 3vw, 44px);
  border-radius: 14px;
  display: flex; flex-direction: column;
  color: var(--white);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lead-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lead-card-1 { background: linear-gradient(160deg, var(--blue) 0%, var(--navy-d) 100%); }
.lead-card-2 { background: linear-gradient(160deg, var(--red) 0%, var(--red-d) 100%); }
.lead-card-3 { background: linear-gradient(160deg, var(--gold) 0%, var(--gold-d) 100%); color: var(--navy); }
.lead-card-3 .lead-num { color: rgba(20,33,61,.55); }

.lead-num {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .25em;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.lead-word {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.lead-tag {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  margin: 0 0 24px;
  opacity: .9;
}
.lead-body {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
  opacity: .85;
}

/* ──────── ABOUT ──────── */
.about {
  background: var(--cream);
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%);
  padding: clamp(72px, 8vw, 110px) var(--pad);
}
.about-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.about-portrait {
  width: clamp(160px, 22vw, 220px);
  height: clamp(160px, 22vw, 220px);
  margin: 0 auto 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 18px 40px rgba(15,20,25,.18);
  background: var(--navy);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.about-eyebrow {
  display: inline-block;
  font-weight: 800; font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .28em;
  color: var(--red);
  margin-bottom: 14px;
}
.about-title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--ink);
}
.about-quote {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 22px;
  color: var(--ink);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 clamp(20px, 4vw, 40px);
}
.about-quote::before, .about-quote::after {
  content: '"';
  font-size: 1.6em;
  color: var(--red);
  font-weight: 800;
}
.about-sig {
  font-weight: 800;
  color: var(--red);
  letter-spacing: .04em;
  margin: 0 0 48px;
}
.about-values {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 18px;
  margin-top: 12px;
}
.value-chip {
  background: var(--white);
  padding: 18px 28px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  align-items: center;
  min-width: 130px;
  box-shadow: 0 4px 16px rgba(15,20,25,.06);
}
.value-num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.value-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
  text-align: center;
}

/* ──────── VOTE ──────── */
.vote {
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy-d) 0%, var(--navy) 100%);
  color: var(--white);
  padding-bottom: clamp(60px, 7vw, 100px);
}
.vote-cards {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.vote-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex; flex-direction: column;
  min-height: 200px;
}
.vote-card-label {
  font-weight: 800; font-size: 11px;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 16px;
}
.vote-card-big {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-top: auto;
  margin-bottom: 12px;
}
.vote-card-mid {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  margin-bottom: 12px;
}
.vote-card-meta {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.vote-card-primary {
  background: var(--red);
  background-image: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  border-color: var(--red);
}
.vote-card-primary .vote-card-label, .vote-card-primary .vote-card-meta { color: rgba(255,255,255,.85); }
.vote-card-accent {
  background: var(--gold);
  background-image: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
  color: var(--navy);
  border-color: var(--gold);
}
.vote-card-accent .vote-card-label { color: var(--navy); opacity: .65; }
.vote-card-accent .vote-card-meta { color: rgba(20,33,61,.7); }

.ride-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
  background: var(--white);
  color: var(--navy);
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 12px;
  transition: background .15s, transform .15s;
}
.ride-strip:hover { background: var(--gold); transform: translateY(-2px); }
.ride-icon { color: var(--red); flex-shrink: 0; }
.ride-icon svg { width: 40px; height: 40px; }
.ride-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ride-text strong { font-size: clamp(15px, 1.8vw, 22px); font-weight: 800; }
.ride-text span { font-size: clamp(12px, 1.3vw, 14px); color: var(--muted); font-weight: 500; }
.ride-arrow { font-size: 28px; font-weight: 800; color: var(--red); flex-shrink: 0; }

/* ──────── COMMUNITY GALLERY ──────── */
.community {
  background: var(--cream);
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-d) 100%);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3 / 4;
  border-radius: 8px;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15,20,25,.92) 100%);
  color: var(--white);
  padding: 38px 16px 14px;
  font-weight: 700; font-size: 13px;
  letter-spacing: .02em;
}

/* ──────── EVENTS & MEETUPS ──────── */
.events {
  background: var(--navy);
  background-image:
    radial-gradient(900px 600px at 90% 5%, rgba(43,91,170,.20), transparent 60%),
    radial-gradient(700px 500px at 5% 95%, rgba(183,50,43,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.events-lead {
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 0 var(--pad);
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  text-align: center;
}
.events-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.event-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  transition: background .2s, border-color .2s;
}
.event-row:hover { background: rgba(255,255,255,.07); border-color: rgba(255,210,74,.32); }
.event-row-flip .event-meta { order: 2; }
.event-row-flip .event-collage { order: 1; }

.event-meta { color: var(--white); }
.event-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 12px;
}
.event-meta h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.event-meta p {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0 0 16px;
}
.event-meta-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px;
  border-radius: 999px;
}

/* event collage layouts */
.event-collage {
  display: grid;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-d);
  min-height: 260px;
}
.event-collage-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.event-collage-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.event-collage-3 > :nth-child(1) { grid-row: 1 / 3; }
.event-collage-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.event-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy-d);
  min-height: 130px;
}
.event-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.event-photo:hover img { transform: scale(1.05); }
.event-photo-more::after {
  content: attr(data-more) " more";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: rgba(15,20,25,.65);
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: .04em;
}
.events-cta {
  text-align: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 0 var(--pad);
}
.events-cta-btn {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 4px 0;
  transition: color .15s, border-color .15s;
}
.events-cta-btn:hover { color: var(--white); border-color: var(--white); }

/* ──────── CONTACT ──────── */
.contact {
  background: var(--ink);
  background-image: linear-gradient(180deg, var(--ink) 0%, #1a1f28 100%);
  color: var(--white);
}
.contact-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--pad) clamp(48px, 6vw, 80px);
  text-align: center;
}
.contact-eyebrow {
  display: inline-block;
  font-weight: 800; font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--white);
}
.contact-lead {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,.78);
  margin: 0 auto 40px;
  max-width: 50ch;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: background .15s, border-color .15s, transform .15s;
}
.contact-card:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact-card-label {
  font-weight: 800; font-size: 11px;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-card-value {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  word-break: break-word;
}

.contact-pdfs {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
  margin-top: 8px;
}
.pdf-btn {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 14px);
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  transition: background .15s, border-color .15s, color .15s;
}
.pdf-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.vote-closer {
  background: var(--red);
  background-image: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  padding: clamp(60px, 8vw, 110px) var(--pad);
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.vote-closer-label {
  font-weight: 800; font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: .35em;
  color: rgba(255,255,255,.85);
}
.vote-closer-name {
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}
.vote-closer-date {
  font-weight: 700; font-size: clamp(14px, 1.6vw, 19px);
  color: var(--gold);
}

/* ──────── FOOTER ──────── */
.footer {
  background: var(--navy-d);
  color: rgba(255,255,255,.6);
  padding: 36px var(--pad);
  text-align: center;
  font-size: 13px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer p { margin: 6px 0; }
.footer a { color: var(--gold); }
.footer a:hover { color: var(--white); }
.footer .fine { font-size: 11px; opacity: .55; margin-top: 12px; }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────── */

/* Tablet landscape & smaller desktop */
@media (max-width: 1100px) {
  .topnav { gap: 16px; font-size: 12px; }
  .events-list { gap: 32px; }
}

/* Tablet & smaller — collapse nav into hamburger */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .topnav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-d);
    padding: 16px var(--pad);
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .topnav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .topnav a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom-color: rgba(255,255,255,.06);
  }
  .topbar { gap: 12px; }
  .brand-name { font-size: 14px; }

  .hero {
    height: auto; min-height: 0; max-height: none;
  }
  .hero-photo {
    position: relative;
    width: 100%; height: 60vw; max-height: 480px;
  }
  .hero-photo::after {
    background: linear-gradient(180deg, transparent 30%, var(--navy) 100%);
  }
  .hero-content {
    max-width: 100%;
    padding: 32px var(--pad) 56px;
  }
  .hero-name { font-size: clamp(48px, 12vw, 84px); }

  .pillar-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillar-tag { max-width: 100%; }
  .pillar h3 { font-size: clamp(28px, 6vw, 44px); }

  .lead-cards { grid-template-columns: 1fr; }
  .lead-card { min-height: 220px; }

  .vote-cards { grid-template-columns: repeat(2, 1fr); }

  .gallery { grid-template-columns: repeat(2, 1fr); }

  .event-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .event-row-flip .event-meta, .event-row-flip .event-collage { order: 0; }
  .event-collage { min-height: 240px; }

  .contact-cards { grid-template-columns: 1fr; }

  .ride-strip { gap: 14px; }
}

/* Phones */
@media (max-width: 580px) {
  .topbar { padding: 10px var(--pad-sm); gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .brand-name { font-size: 13px; }

  .vote-cards { grid-template-columns: 1fr; }

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

  .ride-arrow { display: none; }

  .band-inner { grid-template-columns: 1fr; gap: 8px; }
  .band-num { grid-row: auto; font-size: 64px; line-height: 0.9; }
  .band-title { grid-column: 1; }

  .about-portrait { width: 140px; height: 140px; }
  .about-quote { font-size: 18px; padding: 0 12px; }

  .vote-closer-name { font-size: clamp(36px, 12vw, 64px); }
  .contact-title { font-size: clamp(36px, 12vw, 64px); }

  .event-collage { min-height: 200px; }
  .event-collage-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .event-collage-3 > :nth-child(1) { grid-row: auto; }

  .footer { padding: 28px var(--pad-sm); font-size: 12px; }
}

/* Very small phones */
@media (max-width: 360px) {
  :root { --pad: 16px; --pad-sm: 12px; }
  .hero-name { font-size: clamp(40px, 14vw, 60px); }
  .hero-vote { padding: 12px 16px; gap: 12px; }
  .hero-vote-day { font-size: 22px; }
  .hero-motto { font-size: 12px; gap: 8px; }
}

/* ──────── LIGHTBOX ──────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  animation: lightbox-in 0.18s ease-out;
  touch-action: none;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-frame {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #111;
}
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  max-width: 60ch;
  line-height: 1.5;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(0.95);
}
.lightbox-close {
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 56px; height: 56px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 32px;
  font-weight: 800;
}
.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}
.lightbox-prev { left: clamp(8px, 2vw, 24px); }
.lightbox-next { right: clamp(8px, 2vw, 24px); }
.lightbox.no-nav .lightbox-prev,
.lightbox.no-nav .lightbox-next { display: none; }

/* Make any image with .lightbox-trigger feel clickable */
.lightbox-trigger { cursor: zoom-in; }

/* Mobile: bigger touch targets, repositioned for thumb access */
@media (max-width: 580px) {
  .lightbox-close { width: 48px; height: 48px; font-size: 32px; top: 16px; right: 16px; }
  .lightbox-prev,
  .lightbox-next {
    top: auto; bottom: 16px;
    transform: none;
    width: 48px; height: 48px;
    font-size: 28px;
  }
  .lightbox-prev:active,
  .lightbox-next:active { transform: scale(0.95); }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-img { max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); }
  .lightbox-caption { font-size: 13px; padding: 0 70px; }
}

@media (max-width: 580px) {
  body.lightbox-open .lightbox-prev,
  body.lightbox-open .lightbox-next { box-shadow: 0 4px 16px rgba(0,0,0,0.5); }
}

body.lightbox-open { overflow: hidden; }

/* ──────── Developer credit banner ──────── */
.dev-banner {
  background: linear-gradient(90deg, #B7322B 0%, #8c241e 50%, #B7322B 100%);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}
.dev-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dev-flag {
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}
.dev-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.dev-link {
  color: #FFD24A;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 210, 74, 0.4);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.dev-link:hover,
.dev-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.dev-sep {
  opacity: 0.55;
  padding: 0 2px;
}
@media (max-width: 580px) {
  .dev-banner { font-size: 12px; padding: 12px 16px; }
  .dev-text { gap: 4px; }
  .dev-sep { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
