/* ============================================================
   Stafford By-Election 2026 — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --maroon:      #7B0C2A;
  --maroon-dark: #5C0920;
  --maroon-light:#9E1036;
  --gold:        #C9922C;
  --gold-light:  #E5B96A;
  --cream:       #FAF7F2;
  --off-white:   #F4F0EA;
  --light-grey:  #E8E3DC;
  --mid-grey:    #8B8078;
  --dark:        #1C1410;
  --text:        #2C2420;
  --text-light:  #5C5048;
  --white:       #FFFFFF;
  --success:     #1B6B3A;
  --error:       #B91C1C;
  --shadow-sm:   0 1px 3px rgba(28,20,16,0.10);
  --shadow-md:   0 4px 16px rgba(28,20,16,0.12);
  --shadow-lg:   0 8px 32px rgba(28,20,16,0.14);
  --radius:      6px;
  --radius-lg:   12px;
  --font-body:   'DM Sans', sans-serif;
  --font-serif:  'Source Serif 4', Georgia, serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── SKIP LINK ─────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--maroon); color: var(--white);
  padding: 8px 16px; z-index: 9999; font-size: .875rem;
}
.skip-link:focus { top: 0; }

/* ── TOP BAR ────────────────────────────────── */
.top-bar {
  background: var(--maroon-dark);
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  letter-spacing: .04em;
}
.top-bar .inner {
  max-width: 1200px; margin: 0 auto;
  padding: 6px 24px;
  display: flex; justify-content: flex-end; gap: 20px;
}
.top-bar a { color: rgba(255,255,255,.75); text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ── HEADER ─────────────────────────────────── */
header {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(28,20,16,.25);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 1.15rem;
  color: var(--maroon-dark);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.logo-text span { font-size: .7rem; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }

/* ── NAV ─────────────────────────────────────── */
nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex; gap: 2px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.nav-list a.active { background: rgba(255,255,255,.2); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none;
  color: white; cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media(max-width:768px){
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  nav { position: absolute; top: 100%; left: 0; right: 0;
        background: var(--maroon-dark); display: none; padding: 12px 16px 20px; }
  nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 12px 16px; }
}

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-grey);
}
.breadcrumb .inner {
  max-width: 1200px; margin: 0 auto;
  padding: 10px 24px;
  font-size: .8rem; color: var(--mid-grey);
}
.breadcrumb a { color: var(--maroon); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--mid-grey); margin: 0 6px; }

/* ── NOTICE BANNER ──────────────────────────── */
.notice-banner {
  background: #FFF8E6;
  border-bottom: 2px solid var(--gold);
  padding: 10px 24px;
  text-align: center;
  font-size: .875rem;
  color: #5c3d00;
}
.notice-banner strong { color: #7B3E00; }

/* ── HERO ────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #A0152F 100%);
  color: var(--white);
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-meta {
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap; margin: 20px 0;
  font-size: .9rem;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 8px 16px;
}

/* ── COUNTDOWN ───────────────────────────────── */
.countdown-wrap {
  margin: 28px 0 0;
  display: flex; gap: 12px; justify-content: center;
}
.countdown-unit {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 2px 2px;
  min-width: 5px;
  text-align: center;
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700;
  line-height: 1;
  display: block;
  min-width: 50px;
}
.countdown-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
  margin-top: 4px;
  display: block;
}

/* ── CONTENT WRAPPER ─────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ─────────────────────────────────── */
.section {
  padding: 60px 0;
}
.section + .section {
  border-top: 1px solid var(--light-grey);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 8px;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 640px;
}

/* ── CARD GRID ───────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--maroon);
}
.card-desc {
  font-size: .875rem;
  color: var(--text-light);
  flex: 1;
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: white; padding: 44px 24px;
  text-align: center;
}
.page-hero .icon { font-size: 2.5rem; margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700; margin-bottom: 10px;
}
.page-hero p { opacity: .85; max-width: 600px; margin: 0 auto; font-size: .95rem; }

/* ── FORM STYLES ─────────────────────────────── */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 780px;
  margin: 40px auto;
  box-shadow: var(--shadow-md);
}
@media(max-width:600px){ .form-wrap { padding: 24px 20px; } }

.form-info-box {
  background: #EDF3FF;
  border: 1px solid #B8CCEE;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: .875rem;
  color: #1a3a6b;
}
.form-info-box ul { margin: 10px 0 0 18px; }
.form-info-box li { margin-bottom: 6px; }

.form-section {
  margin-bottom: 36px;
}
.form-section h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--maroon-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-grey);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row.full { grid-template-columns: 1fr; }
.form-row.thirds { grid-template-columns: 1fr 1fr 1fr; }
@media(max-width:580px){
  .form-row { grid-template-columns: 1fr; }
  .form-row.thirds { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .85rem; font-weight: 600;
  color: var(--text);
}
.form-group label .req { color: var(--error); margin-left: 2px; }
.form-group .hint {
  font-size: .75rem; color: var(--mid-grey);
  margin-top: -2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123,12,42,.1);
}
.form-group select { appearance: none; cursor: pointer; }

.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.form-check input[type=checkbox],
.form-check input[type=radio] {
  width: 18px; height: 18px;
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--maroon);
}
.form-check label { font-size: .875rem; cursor: pointer; }

.form-divider {
  border: none;
  border-top: 1px dashed var(--light-grey);
  margin: 28px 0;
}

/* Conditional section */
.conditional-section {
  display: none;
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 12px;
}
.conditional-section.visible { display: block; }

/* Declaration */
.declaration-box {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: .875rem;
}
.declaration-box p { margin-bottom: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-red {
  background: var(--maroon);
  color: var(--white) !important;;
  box-shadow: 0 2px 8px rgba(123,12,42,.25);
}
.btn-red:hover { background: var(--maroon-dark); box-shadow: 0 4px 12px rgba(123,12,42,.35); }
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(123,12,42,.25);
}
.btn-primary:hover { background: var(--maroon-dark); box-shadow: 0 4px 12px rgba(123,12,42,.35); }
.btn-secondary {
  background: transparent;
  border-color: var(--light-grey);
  color: var(--text-light);
}
.btn-secondary:hover { background: var(--off-white); }
.btn-gold {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-light); }

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Success message */
.success-msg {
  display: none;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px auto;
  max-width: 580px;
}
.success-msg .check-icon {
  font-size: 3rem; margin-bottom: 16px;
}
.success-msg h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--success);
  margin-bottom: 8px;
}
.success-msg p { color: #047857; font-size: .9rem; }

/* ── KEY DATES TIMELINE ───────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.timeline-item {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.timeline-date {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.timeline-month {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid-grey);
  margin-bottom: 8px;
}
.timeline-event {
  font-weight: 600; font-size: .85rem;
  margin-bottom: 4px;
}
.timeline-desc { font-size: .75rem; color: var(--text-light); }

/* ── CANDIDATE CARDS ─────────────────────────── */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.candidate-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.candidate-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.candidate-header {
  background: var(--maroon);
  color: white;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.ballot-num {
  width: 36px; height: 36px;
  background: var(--white);
  color: var(--maroon);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.candidate-avatar {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.candidate-header-info h3 { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.candidate-header-info small { opacity: .8; font-size: .78rem; }
.party-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}
.party-alp  { background: #CC0000; color: white; }
.party-lnp  { background: #003087; color: white; }
.party-grn  { background: #00703C; color: white; }
.party-ind  { background: #555;    color: white; }
.candidate-body { padding: 20px 24px; }
.policy-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.policy-tag {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .72rem;
  color: var(--text-light);
}
.candidate-bio { font-size: .875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.candidate-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--maroon); font-size: .8rem; font-weight: 600;
  text-decoration: none;
}
.candidate-link:hover { text-decoration: underline; }

/* ── BALLOT SAMPLE ───────────────────────────── */
.ballot-paper {
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 4px;
  padding: 28px 24px;
  max-width: 440px;
  font-family: var(--font-serif);
}
.ballot-header {
  text-align: center;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.ballot-header h4 { font-size: 1rem; font-weight: 700; }
.ballot-header p { font-size: .8rem; color: var(--mid-grey); }
.ballot-row {
  display: flex; align-items: center;
  border: 1px solid #999;
  margin-bottom: -1px;
}
.ballot-box {
  width: 42px; flex-shrink: 0;
  text-align: center;
  font-size: 1.1rem; font-weight: 700;
  border-right: 1px solid #999;
  padding: 10px 0;
}
.ballot-box.empty { color: var(--mid-grey); font-size: .75rem; font-weight: 400; }
.ballot-candidate { padding: 10px 14px; }
.ballot-candidate strong { display: block; font-size: .9rem; }
.ballot-candidate span { font-size: .78rem; color: var(--mid-grey); }
.ballot-instruction {
  font-size: .75rem; color: var(--mid-grey);
  margin-top: 14px; text-align: center;
  font-family: var(--font-body);
}

/* ── POLLING MAP LAYOUT ──────────────────────── */
.map-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: calc(100vh - 200px);
  min-height: 550px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}
@media(max-width: 900px){
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-sidebar { max-height: 380px; }
  #map { height: 400px; }
}
.map-sidebar {
  overflow-y: auto;
  border-right: 1px solid var(--light-grey);
  display: flex; flex-direction: column;
}
.map-sidebar-header {
  background: var(--maroon);
  color: white;
  padding: 18px 20px;
  position: sticky; top: 0; z-index: 10;
}
.map-sidebar-header h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.map-tabs {
  display: flex; gap: 4px; margin-top: 10px;
}
.map-tab {
  padding: 5px 12px;
  font-size: .75rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  cursor: pointer;
  background: transparent; color: rgba(255,255,255,.8);
  transition: background .15s, color .15s;
}
.map-tab.active { background: white; color: var(--maroon); }

.booth-list { list-style: none; flex: 1; }
.booth-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--light-grey);
  cursor: pointer;
  transition: background .15s;
}
.booth-item:hover { background: var(--off-white); }
.booth-item.early { border-left: 3px solid var(--gold); }
.booth-item.election-day { border-left: 3px solid var(--maroon); }
.booth-name { font-weight: 700; font-size: .875rem; }
.booth-addr { font-size: .78rem; color: var(--text-light); margin-top: 2px; }
.booth-tags { display: flex; gap: 4px; margin-top: 6px; }
.booth-tag {
  padding: 2px 8px; border-radius: 20px;
  font-size: .68rem; font-weight: 600;
}
.booth-tag.early    { background: #FFF3D1; color: #7B4A00; }
.booth-tag.day      { background: #FFE5EA; color: var(--maroon-dark); }
.booth-tag.access   { background: #E0F0FF; color: #0050A0; }
#map { flex: 1; min-height: 400px; }

/* ── SIDEBAR INFO BOXES ───────────────────────── */
.info-aside {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  font-size: .85rem;
}
.info-aside h4 {
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--mid-grey);
  margin-bottom: 10px;
}
.info-aside p, .info-aside li { color: var(--text-light); line-height: 1.6; }
.info-aside ul { margin-left: 16px; margin-top: 6px; }
.info-aside a { color: var(--maroon); }

/* ── CONTENT TWO-COL ─────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media(max-width:900px){ .two-col { grid-template-columns: 1fr; } }

/* ── HOW-TO STEPS ────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 34px; height: 34px;
  background: var(--maroon);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  margin-bottom: 12px;
}
.step-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: .8rem; color: var(--text-light); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  margin-top: 80px;
}
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media(max-width:768px){
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media(max-width:480px){
  .footer-main { grid-template-columns: 1fr; }
}
.footer-brand .logo-mark { background: var(--gold); }
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .8rem; line-height: 1.7; }
.footer-col h5 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .82rem;
  transition: color .15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── UTILITIES ───────────────────────────────── */
.text-maroon { color: var(--maroon); }
.text-gold   { color: var(--gold); }
.text-light  { color: var(--text-light); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.inline-link { color: var(--maroon); }
.inline-link:hover { text-decoration: underline; }
strong { font-weight: 600; }
em { font-style: italic; }

.alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .875rem;
  margin-bottom: 16px;
}
.alert-warning { background: #FFF8E6; border: 1px solid #F0C040; color: #7B4400; }
.alert-info    { background: #EDF3FF; border: 1px solid #B8CCEE; color: #1A3A6B; }
.alert-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
