/* ============================================================
   NJBA — Design System
   Deep maroon + gold on warm ivory. Fraunces display / Inter body.
   ============================================================ */

:root {
  /* Primitive palette */
  --maroon-950: #3d0a0d;
  --maroon-900: #5c1014;
  --maroon-800: #7a1a1f;
  --maroon-700: #93262c;
  --maroon-600: #ad3a40;
  --gold-600: #b07f2c;
  --gold-500: #d9a441;
  --gold-400: #e7bc63;
  --gold-100: #f8ecd4;
  --ivory-50: #fdfbf6;
  --ivory-100: #f8f3e9;
  --ivory-200: #efe6d5;
  --ink-900: #241d1a;
  --ink-700: #4c423d;
  --ink-500: #71655e;
  --white: #ffffff;

  /* Semantic tokens */
  --bg: var(--ivory-50);
  --surface: var(--white);
  --surface-alt: var(--ivory-100);
  --text: var(--ink-900);
  --text-muted: var(--ink-700);
  --text-subtle: var(--ink-500);
  --primary: var(--maroon-800);
  --primary-strong: var(--maroon-900);
  --gold: var(--gold-500);
  --border: rgba(60, 30, 20, 0.12);

  /* Type scale */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-bengali: "Noto Serif Bengali", serif;

  /* Rhythm */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(50, 20, 10, 0.08);
  --shadow: 0 8px 30px rgba(70, 20, 15, 0.10);
  --shadow-lg: 0 20px 60px rgba(70, 20, 15, 0.16);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--text); margin: 0 0 0.5em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  font: 600 15px/1 var(--font-body); letter-spacing: 0.01em;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.btn-primary { background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950)); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--maroon-950); }
.btn-outline { background: transparent; color: var(--primary); border-color: currentColor; }
.btn-outline-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--maroon-950); color: rgba(255,255,255,0.85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-note { opacity: 0.75; }
.topbar-mail { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-400); text-decoration: none; }
.topbar-mail:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253, 251, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 22px/1 var(--font-display); letter-spacing: 0.04em; color: var(--maroon-900); }
.brand-text small { font: 500 10.5px/1.2 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 10px; white-space: nowrap;
  font: 500 14.5px/1 var(--font-body); color: var(--text-muted); text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--primary); background: var(--ivory-100); }
.main-nav a.is-active { color: var(--primary); background: var(--gold-100); font-weight: 600; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.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; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(217, 164, 65, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(48, 9, 12, 0.88) 0%, rgba(61, 10, 13, 0.82) 55%, rgba(38, 6, 8, 0.92) 100%),
    url("../images/bridge-background.jpg") center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 12c9 15 24 21 24 39a24 24 0 1 1-48 0c0-18 15-24 24-39Z' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3Ccircle cx='60' cy='60' r='56' fill='none' stroke='%23ffffff' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.hero-inner { position: relative; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold-500); }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); font-weight: 600; color: #fff; margin-bottom: 8px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-bengali { font-family: var(--font-bengali); font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.78); margin: 0 0 20px; }
.hero-lede { font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.7; color: rgba(255,255,255,0.86); max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-values { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.16); }
.hero-values span { display: inline-flex; align-items: center; gap: 9px; font: 600 13.5px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.hero-values svg { color: var(--gold-400); flex-shrink: 0; }

/* ---------- Hero events panel ---------- */
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 56px; align-items: start; padding: 96px 0 110px; }
.hero-events {
  background: linear-gradient(165deg, rgba(231, 188, 99, 0.22) 0%, rgba(176, 127, 44, 0.14) 45%, rgba(20, 4, 5, 0.35) 100%);
  border: 1.5px solid rgba(217, 164, 65, 0.55);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.hero-events h2 {
  color: var(--gold-400); font-size: 23px; margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-events h2::after { content: ""; flex: 1; height: 1px; background: rgba(217, 164, 65, 0.4); }
.hero-event {
  display: block; text-decoration: none;
  background: rgba(20, 4, 5, 0.55);
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-left: 4px solid var(--gold-500);
  border-radius: 14px; padding: 15px 16px; margin-bottom: 12px;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.hero-event:hover { transform: translateY(-2px); background: rgba(20, 4, 5, 0.75); border-color: var(--gold-500); }
.hero-event:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.hero-event-date { display: block; font: 600 12px/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }
.hero-event-title { display: block; font: 600 17px/1.35 var(--font-display); color: #fff; margin: 4px 0 8px; }
.hero-event-cta { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px/1 var(--font-body); color: var(--gold-400); }
.hero-events-all { display: inline-block; margin-top: 6px; font: 600 14px/1 var(--font-body); color: var(--gold-400); text-decoration: none; }
.hero-events-all:hover { color: var(--gold-400); }
.hero-events-empty { color: rgba(255,255,255,0.75); font-size: 14.5px; margin: 0 0 10px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  display: inline-block; font: 600 12px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; }
.section-sub { color: var(--text-muted); font-size: 16.5px; margin: 10px 0 0; }

/* ---------- Featured event ---------- */
.event-feature {
  display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.event-feature-media { position: relative; min-height: 340px; }
.event-feature-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.event-feature-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.event-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-100); color: var(--gold-600);
  font: 600 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
}
.event-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.event-feature-body h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; }
.event-meta { display: grid; gap: 10px; margin: 20px 0 28px; padding: 0; list-style: none; }
.event-meta li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-muted); font-size: 15.5px; }
.event-meta svg { flex-shrink: 0; margin-top: 3px; color: var(--maroon-700); }
.event-feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Event cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.event-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-200); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.event-card:hover .event-card-media img { transform: scale(1.04); }
.event-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card-date { font: 600 12.5px/1.4 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); }
.event-card h3 { font-size: 20px; font-weight: 600; margin: 0; }
.event-card-venue { color: var(--text-subtle); font-size: 14px; margin: 0; display: flex; gap: 7px; align-items: flex-start; }
.event-card-venue svg { flex-shrink: 0; margin-top: 2.5px; }
.event-card-links { margin-top: auto; padding-top: 14px; display: flex; gap: 16px; }
.event-card-links a { font: 600 14px/1 var(--font-body); text-decoration: none; color: var(--maroon-800); display: inline-flex; align-items: center; gap: 6px; }
.event-card-links a:hover { text-decoration: underline; }

/* ---------- Pillars (about/mission) ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-100), #fff); color: var(--maroon-800);
  border: 1px solid var(--border); margin-bottom: 18px;
}
.pillar h3 { font-size: 19px; font-weight: 600; }
.pillar p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  aspect-ratio: 4 / 3; background: var(--ivory-200); box-shadow: var(--shadow-sm); display: block;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(180deg, transparent 40%, rgba(35, 8, 8, 0.86));
  color: #fff;
}
.gallery-card-overlay h3 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.gallery-card-overlay p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.8); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photo-grid a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--ivory-200); display: block; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.photo-grid a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none; place-items: center;
  background: rgba(20, 5, 5, 0.92); padding: 4vmin;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  color: #fff; font-size: 22px; cursor: pointer;
}

/* ---------- Sponsors ---------- */
.sponsor-tier { margin-bottom: 56px; }
.sponsor-tier:last-child { margin-bottom: 0; }
.sponsor-tier-title {
  display: flex; align-items: center; gap: 18px; font-size: 24px; font-weight: 600; margin-bottom: 26px;
}
.sponsor-tier-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.tier-chip {
  font: 700 11px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.tier-grand .tier-chip { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--maroon-950); }
.tier-gold .tier-chip { background: var(--gold-100); color: var(--gold-600); }
.tier-silver .tier-chip { background: #eceff3; color: #5b6675; }
.tier-bronze .tier-chip { background: #f3e4d8; color: #92603a; }
.tier-community .tier-chip { background: var(--ivory-200); color: var(--ink-700); }

.sponsor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sponsor-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 218px; min-height: 140px; display: flex; align-items: center; justify-content: center; padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sponsor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sponsor-card img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.tier-grand .sponsor-card { width: 300px; min-height: 190px; }
.tier-grand .sponsor-card img { max-height: 140px; }
.sponsor-name-only { flex-direction: column; gap: 6px; text-align: center; }
.sponsor-name-only .sponsor-title { font: 600 21px/1.35 var(--font-display); color: var(--maroon-900); }
.tier-grand .sponsor-name-only .sponsor-title { font-size: 26px; }
.sponsor-name-only .sponsor-sub { font-size: 12.5px; color: var(--text-subtle); letter-spacing: 0.06em; text-transform: uppercase; }
a.sponsor-card { text-decoration: none; }

.sponsor-quote { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.sponsor-quote blockquote { font: 500 clamp(19px, 2.4vw, 24px)/1.5 var(--font-display); font-style: italic; color: var(--maroon-900); margin: 0 0 10px; }
.sponsor-quote cite { color: var(--text-subtle); font-style: normal; font-size: 14.5px; }

/* ---------- Donate / causes ---------- */
.cause-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.cause-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cause-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cause-card-body { padding: 24px 26px 28px; }
.cause-card h3 { font-size: 20px; }
.cause-card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(217, 164, 65, 0.25), transparent 60%),
    linear-gradient(150deg, var(--maroon-900), var(--maroon-950));
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(40px, 6vw, 72px); text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn { margin: 0 7px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--maroon-900), var(--maroon-950));
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 12c9 15 24 21 24 39a24 24 0 1 1-48 0c0-18 15-24 24-39Z' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); margin: 0; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 12px 0 0; font-size: 17px; }
.breadcrumb { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; display: inline-flex; gap: 8px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.contact-card a { display: block; padding: 6px 0; font-size: 16.5px; font-weight: 500; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- Registration form ---------- */
.register-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.register-layout--single { display: block; max-width: 640px; margin-left: auto; margin-right: auto; }
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow);
}
.form-card label { display: block; font: 600 13.5px/1.4 var(--font-body); margin-bottom: 6px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"],
.form-card input[type="number"], .form-card select, .form-card textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff; box-sizing: border-box;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2.5px solid var(--gold-500); outline-offset: 1px; border-color: transparent;
}
.form-card .field { margin-bottom: 20px; }
.form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card textarea { resize: vertical; }
.req { color: #b3261e; }
.field-error { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: #b3261e; }
.form-alert {
  background: #fdf1f0; color: #b3261e; border: 1px solid rgba(179, 38, 30, 0.3);
  border-radius: 10px; padding: 13px 16px; font-size: 14.5px; font-weight: 500; margin-bottom: 22px;
}
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--text-subtle); text-align: center; }
.form-success { text-align: center; padding: 20px 6px; }
.form-success svg { color: #1d7a45; margin-bottom: 10px; }
.form-success h2 { font-size: 26px; }
.form-success p { color: var(--text-muted); max-width: 460px; margin: 0 auto; }
.register-aside {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px;
}
.register-aside h2 { font-size: 21px; margin: 18px 0 10px; }
.register-flyer { border-radius: 12px; width: 100%; }
@media (max-width: 860px) {
  .register-layout { grid-template-columns: 1fr; }
  .register-aside { position: static; order: -1; }
  .form-card .form-row { grid-template-columns: 1fr; }
}

.register-total {
  background: var(--gold-100); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; font-size: 15px; color: var(--maroon-900); margin: 0 0 20px;
}
.register-total span { color: var(--text-subtle); font-size: 13.5px; }

/* ---------- Assist strip + footer ---------- */
.assist-strip { background: var(--gold-100); border-top: 1px solid var(--border); }
.assist-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 22px 0; text-align: center; }
.assist-title { margin: 0; font: 600 15px/1.4 var(--font-body); color: var(--maroon-900); }
.assist-phones { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.assist-phones a { font: 600 15.5px/1 var(--font-body); color: var(--maroon-800); text-decoration: none; }
.assist-phones a:hover { text-decoration: underline; }

.site-footer { background: var(--maroon-950); color: rgba(255,255,255,0.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 64px 24px 40px; }
.brand-footer { color: #fff; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(255,255,255,0.6); }
.footer-tagline { font: 600 13px/1.5 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin: 18px 0 12px; }
.footer-legal { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 380px; }
.site-footer h3 { color: #fff; font: 600 13px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: rgba(217, 164, 65, 0.2); transform: translateY(-2px); color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; padding-bottom: 26px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 60px 24px; background: var(--surface); border: 1.5px dashed var(--border);
  border-radius: var(--radius); color: var(--text-subtle);
}

/* ---------- Responsive ---------- */
@media (max-width: 1330px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 10px 8px; font-size: 13.5px; }
  .brand-logo { height: 38px; }
}
@media (max-width: 1120px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .brand-logo { height: 42px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none; padding: 12px 24px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 16px; padding: 13px 12px; }
}
@media (max-width: 900px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature-media { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-grid { padding: 72px 0 84px; }
  .topbar-note { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Donation ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.amount-fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.amount-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.amount-chip { position: relative; cursor: pointer; }
.amount-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount-chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 76px; min-height: 48px; padding: 10px 18px;
  font: 600 16px/1 var(--font-body); color: var(--maroon-800);
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.amount-chip:hover span { border-color: var(--gold-500); }
.amount-chip input:checked + span {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-color: transparent; color: var(--maroon-950);
}
.amount-chip input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.donate-banner {
  background: var(--gold-100); border: 1px solid var(--border); color: var(--maroon-900);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 30px; font-size: 15.5px;
}
.donate-banner-success { background: #e5f3ea; color: #1d7a45; border-color: rgba(29,122,69,0.3); }
.donate-banner-error { background: #fdf1f0; color: #b3261e; border-color: rgba(179,38,30,0.3); }

/* ---------- Event popup (home page, first entry) ---------- */
.event-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.event-popup[hidden] { display: none; }
.event-popup-backdrop { position: absolute; inset: 0; background: rgba(30, 12, 12, 0.72); }
.event-popup-box {
  position: relative; z-index: 1; display: flex; width: min(880px, 100%); max-height: 90vh;
  background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: popupIn .3s ease;
}
@keyframes popupIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.event-popup-close {
  position: absolute; top: 10px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.event-popup-close:hover { background: rgba(0, 0, 0, 0.72); }
.event-popup-media { flex: 0 0 44%; background: #1e0c0c; display: flex; }
.event-popup-media img { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; display: block; }
.event-popup-body { flex: 1; min-width: 0; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; overflow: auto; }
.event-popup-eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.event-popup-body h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; line-height: 1.15; }
.event-popup-meta { color: var(--text-muted); font-weight: 600; margin: 0 0 14px; font-size: 15px; }
.event-popup-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0 0 22px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.event-popup-cta { align-self: flex-start; }
@media (max-width: 680px) {
  .event-popup-box { flex-direction: column; max-height: 92vh; }
  .event-popup-media { flex: 0 0 auto; max-height: 40vh; }
  .event-popup-media img { max-height: 40vh; }
  .event-popup-desc { -webkit-line-clamp: 4; margin-bottom: 16px; }
}
