/* ============================================================
   Vote Plummer 2026 — voteplummer.ca
   Campaign palette: navy #242363 · red #cc252d
   ============================================================ */

:root {
  --navy: #242363;
  --navy-dark: #1a194b;
  --red: #cc252d;
  --red-dark: #a91d24;
  --ink: #22243a;
  --muted: #5b5e77;
  --paper: #ffffff;
  --cream: #f6f6f9;
  --line: #e4e5ee;
  --heading: 'Oswald', sans-serif;
  --body: 'Lato', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--red); }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.kicker {
  font-family: var(--heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.kicker-light { color: #ff8a90; }

/* ------------------------------------------------ Buttons */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--navy-dark); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-full { width: 100%; }

/* ------------------------------------------------ Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--heading);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand b { font-weight: 700; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover { color: var(--red); border-color: var(--red); }

.site-nav .nav-cta {
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  border-bottom: none;
}

.site-nav .nav-cta:hover { background: var(--red-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------ Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(36, 35, 99, 0.08), transparent 55%),
    radial-gradient(ellipse at 10% 110%, rgba(204, 37, 45, 0.07), transparent 50%),
    var(--paper);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  text-align: center;
}

.hero-logo {
  width: min(760px, 92%);
  height: auto;
  margin-bottom: 2rem;
}

.vote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.vote-badge svg { color: #ff6b72; flex-shrink: 0; }

.vote-badge strong {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.vote-badge span { font-size: 0.85rem; opacity: 0.85; }

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------ Ticker */
.ticker {
  background: var(--red);
  color: #fff;
  padding: 1.1rem 0;
  text-align: center;
}

.ticker p {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
}

/* ------------------------------------------------ Goals */
.goals {
  background: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.goals h2 { color: var(--navy); margin-bottom: 2.5rem; }

.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .goal-grid { grid-template-columns: 1fr 1fr; }
}

.goal-card {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 5px solid var(--red);
}

.goal-card img { width: 72px; height: 72px; }

.goal-card h3 { margin: 0; }

.goal-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d9daee;
}

/* ------------------------------------------------ Bio */
.bio {
  background: var(--navy);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.bio-inner {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) 3fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.bio-photo {
  position: sticky;
  top: 84px;
}

.bio-photo img {
  border-radius: 10px;
  display: block;
}

.bio-photo-caption {
  background: var(--red);
  border-radius: 0 0 10px 10px;
  margin-top: -8px;
  padding: 1rem 1.25rem 0.9rem;
}

.bio-photo-caption strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bio-photo-caption span { font-size: 0.85rem; opacity: 0.9; }

.bio-text h2 { color: #fff; }

.bio-text p { color: #d9daee; }

.bio-text strong { color: #fff; }

.signature {
  font-family: var(--heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

/* ------------------------------------------------ Voting */
.voting {
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.voting h2 { color: var(--navy); margin-bottom: 2.5rem; }

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.vote-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  background: var(--paper);
}

.vote-date {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.9rem;
}

.vote-item h3 { color: var(--navy); margin-bottom: 0.5rem; }

.vote-item p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.voting-link { margin: 0; }

/* ------------------------------------------------ Contact */
.contact {
  background: var(--red);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-text h2 { color: #fff; }

.contact-text p { color: #ffe2e3; font-size: 1.1rem; }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.contact-form label { display: block; }

.contact-form label > span {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9cbdd;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.contact-form textarea { resize: vertical; }

.contact-form .check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.contact-form .check input { margin-top: 0.3rem; width: 18px; height: 18px; flex-shrink: 0; }

.form-status {
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-status.ok { background: #e7f6ec; color: #1c6b35; border: 1px solid #bfe5cc; }
.form-status.err { background: #fdecec; color: #a91d24; border: 1px solid #f3c2c5; }

/* ------------------------------------------------ Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9bad6;
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav a:hover { color: #ff8a90; }

.footer-vote {
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 0.95rem;
}

.footer-credit { margin: 1.25rem 0 0.5rem; }

.footer-credit img { opacity: 0.7; }

.footer-copy { font-size: 0.85rem; margin: 0; }

/* ------------------------------------------------ Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.9rem;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .bio-inner,
  .contact-inner { grid-template-columns: 1fr; }

  .bio-photo { position: static; max-width: 480px; }

  .vote-badge {
    flex-direction: row;
    width: 100%;
    max-width: 480px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }

  .brand span { font-size: 0.95rem; }

  .hero-actions .btn { width: 100%; }

  .vote-badge strong { font-size: 0.95rem; }

  .goal-card,
  .contact-form { padding: 1.5rem 1.25rem; }
}
