:root {
  --green: #0b6b3a;
  --green-dark: #084c2a;
  --green-light: #e6f2eb;
  --orange: #f2641c;
  --orange-dark: #d14e0f;
  --orange-light: #fdeee4;
  --brown: #8b5e34;
  --brown-dark: #4e2f16;
  --brown-light: #f3e8da;
  --tan: #e9cba0;
  --ink: #1a2a22;
  --ink-soft: #4a5a52;
  --paper: #ffffff;
  --paper-warm: #f7f4ee;
  --line: #e6e0d6;
  --shadow: 0 20px 50px -20px rgba(8, 76, 42, 0.25);
  --radius: 20px;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

/* Ensure elements with the hidden attribute are actually hidden,
   even when a class sets display on them (e.g. modals). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent,
.btn--ghost,
.btn--tint,
.btn--white {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(26, 42, 34, 0.45);
}
.btn--accent:hover,
.btn--ghost:hover,
.btn--tint:hover,
.btn--white:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-mark--sm { width: 36px; height: 36px; font-size: 0.9rem; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; }
.brand-text em { font-style: normal; font-size: 0.78rem; color: var(--ink-soft); }

.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--green-light); color: var(--green); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper-warm);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-school-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(139, 94, 52, 0.14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(11, 107, 58, 0.16), transparent 60%);
  z-index: 0;
}
/* Real school (Kildonan-East Collegiate) shaded behind the hero */
.hero-school-bg::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 68%;
  height: 88%;
  opacity: 0.22;
  background: url("assets/school-bg-1.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  filter: grayscale(0.1) saturate(0.95);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-line { display: block; }
.hero-name {
  display: block;
  color: var(--green);
  font-weight: 700;
}
.hero-sub {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 4px;
}
.hero-division {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--green);
  white-space: nowrap;
}
.hero-lede {
  margin-top: 24px;
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 34em;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-election {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.hero-election-date { font-weight: 700; color: var(--ink); }
.hero-election-btn { margin-top: 14px; }

/* Hero photo placeholder */
.hero-card { position: relative; }
.hero-photo {
  border-radius: 26px;
  background: linear-gradient(135deg, var(--green-light), var(--brown-light));
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}
.hero-photo:hover { transform: rotate(0deg); }
.hero-photo-inner {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--green-light);
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-card-badge {
  position: absolute;
  bottom: 24px;
  left: -8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.18);
}
.badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 107, 58, 0.18);
}

/* ---------- Entrance animations ---------- */
[data-animate] { opacity: 0; }

.animate--fade-up {
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate--pop {
  animation: pop-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.4) forwards;
}
.animate--fly-in {
  animation: fly-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.6); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fly-in {
  from { opacity: 0; transform: translateX(120px) rotate(6deg); }
  to { opacity: 1; transform: translateX(0) rotate(2deg); }
}

/* ---------- Ticker ---------- */
.ticker {
  margin-top: 64px;
  background: var(--green-dark);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--green-dark), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--green-dark), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  padding: 16px 0;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0 28px;
}
.ticker-item::after {
  content: "●";
  font-size: 0.55rem;
  color: var(--tan);
}
.ticker-item:last-child::after { content: ""; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-warm); }
.section--cta {
  background:
    radial-gradient(900px 400px at 80% 20%, rgba(233, 203, 160, 0.25), transparent 60%),
    linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}
.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-inner--narrow { max-width: 820px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 18em;
}
.section-title--light { color: #fff; }
.section-lede { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; max-width: 36em; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 16px; }
.about-copy em { color: var(--green); font-style: italic; }

.values-card {
  background: linear-gradient(160deg, var(--green), var(--green-dark));
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  transition: transform 0.25s ease;
}
.values-card:hover { transform: rotate(0deg); }
.values-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
}
.values-list { list-style: none; display: grid; gap: 18px; }
.values-list li {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(255,255,255,0.25);
}
.values-list strong {
  display: block;
  color: var(--tan);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.values-list p {
  color: rgba(255,255,255,0.85);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---------- Four Years of Showing Up (record of service) ---------- */
.record { margin-top: 44px; max-width: 820px; }
.record-block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.record-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 20px;
}
.record-committee { margin-bottom: 20px; }
.record-committee:last-child { margin-bottom: 0; }
.record-name { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.record-role { color: var(--green); }
.record-committee ul {
  margin-top: 6px;
  padding-left: 22px;
}
.record-committee li,
.record-list li {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}
.record-list {
  padding-left: 22px;
  columns: 2;
  column-gap: 48px;
}
.record-list li { break-inside: avoid; margin-bottom: 6px; }
.record-note--above {
  margin-top: -8px;
  margin-bottom: 14px;
}
.record-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Priorities (list rows) ---------- */
.priorities-tagline {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--brown-dark);
}
.priorities-list { margin-top: 36px; border-top: 1px solid var(--line); }
.priority-row {
  display: grid;
  grid-template-columns: 76px 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 20px;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.priority-row:hover {
  background: var(--paper-warm);
  transform: translateX(6px);
}
.priority-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-light), var(--brown-light));
  font-size: 1.9rem;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}
.priority-row:hover .priority-icon { transform: rotate(-8deg) scale(1.08); }
.priority-main h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.priority-lede {
  color: var(--green);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
}
.priority-detail {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
  border-left: 2px solid var(--line);
  padding-left: 24px;
  transition: border-color 0.2s ease;
}
.priority-row:hover .priority-detail { border-color: var(--brown); }

/* ---------- Record of Results ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.result-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.result-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--brown));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.result-card:hover::before { opacity: 1; }
.result-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brown);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.result-card:hover .result-num { color: var(--brown); -webkit-text-stroke-color: transparent; }
.result-card h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.result-lede {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.result-card p:not(.result-lede) { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- FAQ (questionnaire) ---------- */
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.open { border-color: var(--green); box-shadow: 0 12px 30px -18px rgba(8, 76, 42, 0.25); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
}
.faq-question:hover { background: var(--green-light); }
.faq-q-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tan);
  color: var(--brown-dark);
  font-weight: 700;
  font-size: 0.9rem;
}
.faq-q-text { flex: 1; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.faq-chevron {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.faq-answer-inner p + p { margin-top: 12px; }
.faq-list {
  margin: 12px 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list li { color: var(--ink-soft); }
.faq-answer-inner .map-link { margin-top: 12px; display: inline-block; }

/* ---------- Beyond the Boardroom (photo strip) ---------- */
.photo-strip {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}
.photo-item {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-item:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: var(--shadow);
}
.photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
}

/* ---------- Map ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: center;
}
.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  cursor: pointer;
  transform: perspective(900px) rotateY(0deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.map-frame:hover {
  transform: perspective(900px) rotateX(3deg) rotateY(-4deg) scale(1.01);
}
.map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.02);
  transition: filter 0.3s ease;
}
.map-frame:hover .map-img { filter: saturate(1) contrast(1.05); }

.map-pin {
  position: absolute;
  top: 42%;
  left: 52%;
  width: 0; height: 0;
}
.map-pin-ring {
  position: absolute;
  left: -32px; top: -32px;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--brown);
  background: rgba(139, 94, 52, 0.12);
  animation: pulse-ring 2.4s ease-out infinite;
}
.map-pin-dot {
  position: absolute;
  left: -9px; top: -9px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 0 0 4px #fff;
}
.map-pin-label {
  position: absolute;
  left: -34px; top: -60px;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}
@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-side h3 { font-size: 1.4rem; margin-bottom: 12px; }
.map-side p { color: var(--ink-soft); margin-bottom: 20px; }
.map-election-day {
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.map-subhead {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.map-find { margin-top: 32px; }
.map-meta { margin-top: 20px; font-size: 0.92rem; }
.map-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-link:hover { color: var(--brown-dark); }

/* ---------- CTA ---------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.cta-lede {
  margin-top: 20px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 32em;
}
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-sign {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sign-img {
  width: 100%;
  max-width: 380px;
  border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.5);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.cta-sign:hover .sign-img { transform: rotate(0deg); }
.sign-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 30, 20, 0.55);
  backdrop-filter: blur(4px);
  animation: fade-up 0.25s ease forwards;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.modal-close:hover { background: var(--green-light); color: var(--green); }
.modal-icon { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-copy { color: var(--ink-soft); margin-bottom: 20px; }

.modal-email {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--green);
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  margin-bottom: 16px;
  word-break: break-all;
}
.modal-email:hover { background: #d5eadf; }
.copy-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brown-dark);
}
.modal-important {
  text-align: left;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--brown-light);
  border: 1px solid rgba(139, 94, 52, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  line-height: 1.5;
}
.modal-important strong { color: var(--brown-dark); }
.modal-important--note { margin-top: 10px; }

/* Sign form */
.sign-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.field-optional {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.field input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 107, 58, 0.15);
}
.sign-submit { justify-content: center; margin-top: 4px; }
.form-note {
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 600;
  text-align: center;
}

body.modal-open { overflow: hidden; }

/* Contact card button variant */
.contact-card--button {
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  width: 100%;
}
.contact-card--button:hover { border-color: var(--brown); }

/* ---------- Contact ---------- */
.contact-lede { margin-top: 16px; color: var(--ink-soft); font-size: 1.1rem; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.contact-icon { font-size: 1.8rem; }
.contact-label { font-weight: 700; color: var(--ink); margin-top: 6px; }
.contact-value { color: var(--orange-dark); font-weight: 600; }

.vote-callout {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--green-light);
  border: 1px solid rgba(11, 107, 58, 0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.vote-icon { font-size: 2rem; }
.vote-callout p { flex: 1; min-width: 220px; color: var(--ink); }
.vote-callout strong { color: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfe0d6;
  padding: 48px 0;
}
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand strong { color: #fff; display: block; font-size: 1.05rem; }
.footer-brand em { font-style: normal; font-size: 0.8rem; }
.footer-note { font-size: 0.88rem; line-height: 1.5; }
.footer-note--muted { color: #8aa398; margin-top: 8px; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-sign { order: -1; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
  }
  .main-nav.mobile-open a { padding: 12px 14px; }
  .section { padding: 64px 0; }
}

@media (max-width: 900px) {
  .priority-row { grid-template-columns: 64px 1fr; }
  .priority-detail { grid-column: 2; border-left: none; padding-left: 0; }
}
@media (max-width: 760px) {
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-division { font-size: 0.85rem; }
  .record-list { columns: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-school-bg::after { width: 100%; height: 60%; }
}