/* ============================================================
   VOTEALIHOSNY.CA — Complete Stylesheet v10
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal:       #0f7b82;
  --teal-dark:  #0a5f65;
  --teal-light: #f0fafb;
  --gold:       #c9a84c;
  --gold-text:  #87681f;
  --dark:       #1a1a1a;
  --mid:        #666;
  --soft:       #888;
  --light:      #f7f7f7;
  --white:      #fff;
  --border:     #e8e8e8;
}

html { scroll-behavior: smooth; overflow-y: scroll; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4vw;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* Push content down to account for fixed nav */
body { padding-top: 58px; }

.nav-brand {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: clamp(10px, 1.6vw, 24px);
  align-items: center;
}

.nav-links a {
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--teal); text-decoration: none; border-bottom-color: var(--teal); }
.nav-links a.nav-active { color: var(--dark); border-bottom-color: var(--teal); }

.nav-links .cta-nav {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s;
  border-bottom: none !important;
}
.nav-links .cta-nav:hover { background: var(--teal-dark); }
.nav-links .cta-nav.nav-active { border-bottom: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 60px 32px 32px;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:hover { color: var(--teal); }
.nav-drawer a.drawer-active { color: var(--teal); font-weight: 900; }
.nav-drawer .cta-drawer {
  display: block;
  margin-top: 24px;
  background: var(--teal);
  color: var(--white) !important;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  border: none;
}
.nav-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}
.nav-overlay.open { display: block; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 55%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 55%, black 75%, transparent 100%);
}

.map-fade-left {
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(to right, var(--white) 60%, transparent 100%);
  z-index: 1; pointer-events: none;
}
.map-fade-top {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 15%;
  background: linear-gradient(to bottom, var(--white), transparent);
  z-index: 1; pointer-events: none;
}
.map-fade-bottom {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 15%;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1; pointer-events: none;
}

.hero {
  padding: 1vw 5vw 0;
  position: relative;
  z-index: 2;
}

.hero-phrase {
  display: block;
  white-space: nowrap;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  /* font-size set by JS */
}

.t-your { color: var(--dark); }

.word-stage {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

.word-item {
  position: absolute;
  top: 0; left: 0;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--teal);
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  will-change: opacity;
}
.word-item.visible { opacity: 1; }
.w-ward {
  -webkit-text-stroke: 0.04em var(--teal);
  color: transparent;
}

.hero-sub {
  padding: 0 5vw;
  position: relative;
  z-index: 2;
  margin-top: clamp(12px, 1.5vw, 24px);
}

.divider {
  width: clamp(40px, 5vw, 56px);
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: clamp(8px, 1.2vw, 14px);
}

.vote-label {
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.name-timer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.vote-name {
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.countdown-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
  text-align: right;
}

.countdown-inline {
  display: flex;
  gap: clamp(6px, 1vw, 16px);
  align-items: baseline;
}

.cd-unit { text-align: center; }

.cd-num {
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  display: block;
  color: var(--dark);
}

.cd-lbl {
  font-size: clamp(7px, 0.65vw, 9px);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  display: block;
  margin-top: -4px;
}

.cd-sep {
  font-size: clamp(14px, 2.5vw, 34px);
  font-weight: 900;
  color: var(--teal);
  opacity: 0.4;
  align-self: flex-start;
  padding-top: 2px;
}

.neighbour-tag {
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 700;
  color: #777;
  margin-top: -8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.neighbour-tag span { color: var(--teal); font-weight: 900; }

.countdown-mobile {
  display: none;
  margin-top: 16px;
  padding: 14px 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
}
.countdown-mobile .countdown-title { text-align: left; margin-bottom: 8px; }
.countdown-mobile .countdown-inline { gap: 12px; }
.countdown-mobile .cd-num { font-size: 26px; }
.countdown-mobile .cd-sep { font-size: 20px; }

.dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 20px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.5s, width 0.5s;
  cursor: pointer;
}
.dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}

.bottom-strip {
  border-top: 1px solid var(--border);
  padding: clamp(14px, 2vw, 20px) 5vw;
  background: var(--teal-light);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: clamp(12px, 1.5vw, 18px) clamp(18px, 2.5vw, 32px);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); text-decoration: none; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a8882e; color: var(--white); text-decoration: none; }

/* ─── SECTIONS ──────────────────────────────────────────────── */
section {
  padding: clamp(32px, 5vw, 72px) 5vw;
}

.section-eyebrow {
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.1;
}

.section-sub {
  font-size: 16px;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 32px;
}

/* ─── PRIORITY PULSE ────────────────────────────────────────── */
.pulse-section { background: var(--white); padding-bottom: clamp(16px, 2vw, 28px); scroll-margin-top: 72px; }

.pulse-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  align-items: start;
}

.pulse-col {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* pulse-divider now becomes a column header */
.pulse-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff8ec;
  border-bottom: 1px solid var(--border);
}
.pulse-col-header-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.pulse-col-header-text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-text);
}
.pulse-col-header-teal {
  background: var(--teal-light);
  border-bottom: 1px solid var(--border);
}
.pulse-col-header-teal .pulse-col-header-dot { background: var(--teal); }
.pulse-col-header-teal .pulse-col-header-text { color: var(--teal); }

.pulse-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.pulse-item:last-child { border-bottom: none; }

.pulse-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pulse-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  flex: 1;
}

.pulse-label .icon { font-size: 18px; flex-shrink: 0; }

.pulse-meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 2px;
}

.pulse-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pulse-count {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  min-width: 32px;
  text-align: right;
}

.pulse-btn {
  min-width: 68px;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pulse-btn-text {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}
.pulse-btn.platform-btn { background: var(--teal); }
.pulse-btn.community-btn { background: var(--gold); }
.pulse-btn:hover { transform: scale(1.06); }
.pulse-btn.voted {
  min-width: 36px;
  width: 36px;
  padding: 0;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  cursor: default;
  transform: none;
}
.pulse-btn.voted.community-voted {
  background: #fff8ec;
  border-color: var(--gold);
}
.pulse-btn svg { width: 16px; height: 16px; }
.pulse-btn.voted svg path { stroke: var(--teal); }

.pulse-bar-wrap {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}
.pulse-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.pulse-bar.platform-bar { background: var(--teal); }
.pulse-bar.community-bar { background: var(--gold); }

/* pulse-divider replaced by pulse-col-header */

.pulse-footer {
  padding: 12px 20px;
  background: var(--light);
  font-size: 12px;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-col-buttons {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--teal-light);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pulse-col-btn {
  flex: 1;
  text-align: center;
  font-size: 11px;
  padding: 10px 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.raise-issue-block {
  padding: 14px 20px;
  border-top: 1px solid #f0e8d4;
  background: #fffdf8;
}
.raise-issue-toggle {
  background: none;
  border: none;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-family: inherit;
}
.raise-issue-toggle:hover { color: #a8882e; text-decoration: none; }
.raise-issue-form {
  display: none;
  margin-top: 12px;
}
.raise-issue-form.open { display: flex; flex-direction: column; gap: 8px; }
.raise-issue-form.open button { align-self: flex-start; }
.raise-issue-form input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #e8d9b8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  color: var(--dark);
}
.raise-issue-form input:focus { outline: none; border-color: var(--gold); }
.raise-issue-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.raise-issue-form button:hover { background: #a8882e; }
.raise-issue-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 4px;
  padding: 8px 12px;
}
/* visible state set via inline style in JS */

/* ─── PLATFORM PREVIEW (HOME) ───────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.platform-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.platform-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.platform-card-icon { font-size: 28px; margin-bottom: 12px; }
.platform-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.platform-card-tagline {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

/* ─── ABOUT TEASER ──────────────────────────────────────────── */
.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-teaser-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  background: var(--light);
}
.about-teaser-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--teal-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 48px;
}

/* ─── ENDORSEMENTS ──────────────────────────────────────────── */
.endorsements-section { background: var(--teal-light); }

.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.endorsement-card {
  background: var(--white);
  border-radius: 4px;
  padding: 24px;
  border: 1px solid var(--border);
}
.endorsement-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 16px;
}
.endorsement-name { font-weight: 900; font-size: 14px; color: var(--dark); }
.endorsement-title { font-size: 13px; color: var(--mid); }

/* ─── NEWS SECTION ──────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--light);
}
.news-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 32px;
}
.news-card-body { padding: 20px; }
.news-card-date { font-size: 11px; color: var(--soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.news-card-title { font-size: 16px; font-weight: 900; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.news-card-excerpt { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 16px; }
.news-card-link { font-size: 13px; font-weight: 700; color: var(--teal); }

/* Featured news post */
.news-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.news-featured .news-card-img { height: 100%; aspect-ratio: unset; }
.news-featured .news-card-body { padding: 32px; }
.news-featured .news-card-title { font-size: 22px; }

/* ─── CTA BAND ──────────────────────────────────────────────── */
.cta-band {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.cta-band .section-title { color: var(--white); }
.cta-band .section-sub { color: rgba(255,255,255,0.7); margin-left: auto; margin-right: auto; }
.cta-band-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── PLATFORM PAGE ─────────────────────────────────────────── */
.community-rank-cta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.community-rank-cta-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.community-rank-cta a {
  display: inline-block;
  color: var(--gold-text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 24px;
  border: 2px solid var(--gold);
  border-radius: 24px;
  transition: all 0.2s;
}
.community-rank-cta a:hover {
  background: var(--gold);
  color: #fff;
  text-decoration: none;
}
.platform-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 6px;
}
.platform-issue {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.platform-issue:last-child { border-bottom: none; }

.platform-issue-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.platform-issue-icon { font-size: 36px; flex-shrink: 0; }
.platform-issue-meta { flex: 1; }
.platform-issue-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}
.platform-issue-tagline { font-size: 15px; color: var(--mid); }

.platform-issue-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark);
  max-width: 720px;
}
.platform-issue-body p { margin-bottom: 12px; }

.community-section {
  margin-top: 48px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 32px;
}
.community-section-header { margin-bottom: 20px; }
.community-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.community-section-desc { font-size: 14px; color: var(--mid); line-height: 1.7; margin-bottom: 8px; }
.community-section-disclaimer { font-size: 12px; color: var(--soft); font-style: italic; }

/* ─── ABOUT PAGE ────────────────────────────────────────────── */
.about-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  width: 100%;
  border-radius: 4px;
  background: var(--light);
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--teal-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.about-body { font-size: 16px; line-height: 1.8; color: var(--dark); }
.about-body p { margin-bottom: 20px; }
.about-body h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; margin-top: 32px; }

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.fact-item {
  background: var(--light);
  border-radius: 4px;
  padding: 16px;
  font-size: 14px;
}
.fact-label { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.fact-value { color: var(--mid); }

/* ─── CONTACT PAGE ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.contact-form { width: 100%; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.form-honeypot { display: none !important; }

.contact-aside { padding-top: 8px; }
.contact-aside-box {
  background: var(--teal-light);
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-aside-box h3 { font-size: 16px; font-weight: 900; margin-bottom: 12px; }
.contact-aside-box p { font-size: 14px; color: var(--mid); line-height: 1.7; }
.contact-aside-box a { color: var(--teal); }

/* ─── GET INVOLVED PAGE ─────────────────────────────────────── */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.way-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}
.way-card-icon { font-size: 32px; margin-bottom: 12px; }
.way-card-title { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.way-card-desc { font-size: 13px; color: var(--mid); line-height: 1.6; }

.rebate-section {
  background: var(--teal-light);
}
.rebate-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.rebate-example {
  background: var(--white);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
.rebate-amount { font-size: 28px; font-weight: 900; color: var(--teal); margin-bottom: 4px; }
.rebate-net { font-size: 14px; color: var(--mid); }
.rebate-net strong { color: var(--dark); }

.checkbox-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--teal); }

/* ─── NEWS PAGE ─────────────────────────────────────────────── */
.news-single { max-width: 720px; margin: 0 auto; }
.news-single-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 32px;
  background: var(--light);
}
.news-single-date { font-size: 13px; color: var(--soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.news-single-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.2; margin-bottom: 24px; }
.news-single-body { font-size: 16px; line-height: 1.85; color: var(--dark); }
.news-single-body p { margin-bottom: 20px; }
.news-single-body h2 { font-size: 22px; font-weight: 900; margin-bottom: 12px; margin-top: 36px; }
.news-single-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; margin-top: 24px; }
.news-single-body img { border-radius: 4px; margin: 24px 0; }
.news-single-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--teal-light);
  font-style: italic;
}
.news-single-body .video-embed { position: relative; padding-top: 56.25%; margin: 24px 0; }
.news-single-body .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: none;
}

.share-buttons { display: flex; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; text-decoration: none; }
.share-fb { background: #1877f2; color: var(--white); }
.share-tw { background: #000; color: var(--white); }
.share-wa { background: #25d366; color: var(--white); }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info    { background: var(--teal-light); border: 1px solid var(--teal); color: var(--teal-dark); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 5vw 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col p, .footer-col li { font-size: 14px; line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--white); }
.footer-col ul li { margin-bottom: 6px; }
/* ─── NAV SOCIAL ICONS ─────────────────────────────────────── */
.nav-social-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
  padding-left: 14px;
  margin-left: 6px;
}
.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--teal);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none !important;
}
.nav-social-icon svg { width: 20px; height: 20px; display: block; }
.nav-social-icon:hover { color: var(--dark); background: rgba(15,123,130,0.08); }

/* Mobile drawer social row */
.drawer-social-cluster {
  display: flex;
  gap: 10px;
  padding: 18px 0 6px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.drawer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none !important;
}
.drawer-social-icon svg { width: 20px; height: 20px; display: block; }
.drawer-social-icon:hover { color: var(--teal); border-color: var(--teal); }

/* ─── FOOTER SOCIAL ICONS ──────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none !important;
}
.footer-social-icon svg { width: 18px; height: 18px; display: block; }
.footer-social-icon:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}
.footer-disclaimer a { color: rgba(255,255,255,0.5); }

/* ─── MAINTENANCE PAGE ──────────────────────────────────────── */
.maintenance-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px;
}
.maintenance-page .site-logo { font-size: 28px; font-weight: 900; margin-bottom: 40px; }
.maintenance-page .site-logo span { color: var(--teal); }
.maintenance-page h1 { font-size: clamp(24px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; }
.maintenance-page p { font-size: 16px; color: var(--mid); max-width: 480px; }

/* ─── ADMIN ──────────────────────────────────────────────────── */
.admin-layout {
  display: block;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--dark);
  color: var(--white);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}
.admin-main {
  margin-left: 240px;
  background: #f5f5f5;
  padding: 32px;
  min-height: 100vh;
}
.admin-sidebar-brand {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.admin-sidebar-brand span { color: var(--teal); }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border-left-color: var(--teal);
  text-decoration: none;
}
.admin-nav-section {
  padding: 20px 24px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-header h1 { font-size: 22px; font-weight: 900; }

.admin-card {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-body { padding: 20px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft);
  border-bottom: 1px solid var(--border);
  background: var(--light);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

.admin-form .form-group label { font-size: 13px; font-weight: 700; color: var(--dark); }
.admin-form .form-group input,
.admin-form .form-group textarea,
.admin-form .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 14px; }
.admin-form .form-group textarea { min-height: 120px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-green  { background: #ecfdf5; color: #065f46; }
.badge-red    { background: #fef2f2; color: #991b1b; }
.badge-yellow { background: #fffbeb; color: #92400e; }
.badge-blue   { background: #eff6ff; color: #1e40af; }
.badge-gray   { background: var(--light); color: var(--soft); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}
.stat-card-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.stat-card-value { font-size: 28px; font-weight: 900; color: var(--dark); }
.stat-card-sub { font-size: 12px; color: var(--mid); margin-top: 4px; }

.pulse-bar-admin { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.pulse-bar-admin-fill { height: 100%; background: var(--teal); border-radius: 4px; }

/* Rich text editor toolbar */
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.rte-toolbar button {
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  transition: all 0.15s;
}
.rte-toolbar button:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal); }
.rte-toolbar .sep { width: 1px; background: var(--border); margin: 2px 4px; }
.rte-editor {
  min-height: 200px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 0 0 4px 4px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  outline: none;
}
.rte-editor:focus { border-color: var(--teal); }

/* Login */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--light);
}
.admin-login-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
.admin-login-logo {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 28px;
  text-align: center;
}
.admin-login-logo span { color: var(--teal); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
/* Nav collapses to the drawer earlier than other mobile styles —
   the full nav needs ~930px to fit without wrapping. */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }
}

@media (max-width: 768px) {
  .map-bg { opacity: 0.12; mask-image: none; -webkit-mask-image: none; }
  .map-fade-left { display: none; }
  .countdown-block { display: none; }
  .countdown-mobile { display: block; }
  .name-timer-row { flex-direction: column; gap: 0; }
  /* Reorder hero elements on mobile using flex order */
  .hero-sub { display: flex; flex-direction: column; }
  .divider { order: 1; }
  .vote-label { order: 2; }
  .countdown-mobile { order: 3; margin-top: 12px; margin-bottom: 4px; }
  .name-timer-row { order: 4; margin-top: 8px; }
  .neighbour-tag { order: 5; }
  .dots { order: 6; }
  /* Smaller vote-name to avoid edge clipping */
  .vote-name { font-size: 11vw; }
  .neighbour-tag { font-size: 6.5vw; margin-top: 6px; }
  /* Bigger countdown numbers on mobile */
  .countdown-mobile .cd-num { font-size: 34px; }
  .countdown-mobile .cd-sep { font-size: 26px; }
  .countdown-mobile .cd-lbl { font-size: 9px; }
  .countdown-mobile .countdown-inline { gap: 16px; align-items: baseline; }
  .bottom-strip { justify-content: center; }
  .btn { width: 100%; text-align: center; padding: 16px; }

  /* Mobile hero breathing room */
  .hero { padding: 3vw 5vw 0; }
  .hero-sub { padding: 0 5vw; margin-top: 10px; }
  .vote-label { margin-top: 8px; }
  .dots { margin-top: 10px; padding-bottom: 16px; }

  .platform-grid { grid-template-columns: 1fr; }
  .endorsements-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .about-teaser-inner { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: repeat(2, 1fr); }
  .rebate-examples { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .pulse-wrap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }

  .cta-band-buttons { flex-direction: column; align-items: center; }

  section { padding: clamp(28px, 6vw, 48px) 5vw; }

  /* Map boundary grid — stack on mobile */
  .ward-boundary-grid { grid-template-columns: 1fr !important; }

  /* Hide back-to-top on mobile */
  .back-to-top { display: none !important; }

  /* Learn page: stack controls grid to single column */
  .learn-controls-grid { grid-template-columns: 1fr !important; }

  /* Learn page: stack engage grid to single column */
  .learn-engage-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .ways-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── UTILITIES ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── CHECKBOX FIX — prevent form-group input width:100% overriding ── */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
}
.checkbox-item input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--teal);
}

/* ─── FULL-WIDTH LAYOUT — remove max-width caps on content ───────── */
.section-sub { max-width: none; }
.platform-issue-body { max-width: none; }
.news-single { max-width: none; }

/* ─── PAGE HERO BANNER — shared teal-light header sections ──────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-light);
  padding: clamp(56px, 7vw, 96px) 5vw clamp(48px, 6vw, 80px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 55%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 55%, black 75%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ─── BACK TO TOP ────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--teal-dark); text-decoration: none; }
.back-to-top svg { width: 20px; height: 20px; }

/* ─── PULSE BULLETS ─────────────────────────────────────────── */
.pulse-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}
.platform-bullet { background: var(--teal); }
.community-bullet { background: var(--gold); }

/* ─── MAP PAGE ──────────────────────────────────────────────── */
.map-issue-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.map-issue-header {
  padding: 16px 16px 12px;
}
.map-locate-btn:hover { opacity: 0.85; }

/* ─── MOBILE: raise-issue form inputs stack vertically ──────── */
@media (max-width: 768px) {
  .raise-issue-form.open {
    flex-direction: column;
  }
  .raise-issue-form input {
    width: 100%;
    flex: none;
  }
  .raise-issue-form button {
    width: 100%;
    align-self: stretch;
  }
}
