/* =========================================================
   Joyce Rudin for Mayor — site styles
   Palette pulled from the campaign lawn sign + invitation flyer
   ========================================================= */

:root {
  /* Brand */
  --blue: #4a6cc4;          /* "JOYCE" / "FOR MAYOR" on the lawn sign */
  --blue-strong: #3656a8;   /* text-safe blue for links & buttons */
  --blue-tint: #eef2fb;
  --red: #d2232a;           /* "RUDIN" on the lawn sign */
  --red-strong: #b01b22;
  --red-tint: #fdf0f0;
  --navy: #0d2a5e;          /* flyer headline + footer bar */
  --navy-deep: #081d44;

  /* Neutrals */
  --ink: #16213a;
  --ink-soft: #46506a;
  --line: #dde2ec;
  --paper: #ffffff;
  --paper-alt: #f5f7fb;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(13, 42, 94, 0.25);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--blue-strong); text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }
strong { color: var(--navy); font-weight: 700; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }

.lead { font-size: 1.3rem; line-height: 1.6; color: var(--ink-soft); }

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-strong); color: #fff; }
.btn-blue { background: var(--blue-strong); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-tint); color: var(--navy); }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

/* ---------- Top strip + header ---------- */
.top-strip {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-align: center;
  padding: 7px var(--gutter);
}
.top-strip b { color: #ffd9da; font-weight: 700; }
.top-strip-main { display: block; text-decoration: none; transition: background 0.15s; }
.top-strip-main:hover { background: var(--navy-deep); color: #fff; }
.top-strip-main .arrow { display: inline-block; width: 2em; height: 1.6em; margin-left: 0.2em; vertical-align: -0.45em; }
.top-strip-link {
  display: block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s;
}
.top-strip-link:hover { background: var(--blue-strong); color: #fff; }
.top-strip-link .arrow { display: inline-block; width: 2em; height: 1.6em; margin-left: 0.35em; vertical-align: -0.45em; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px;
}

.wordmark {
  display: inline-flex; flex-direction: column; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; line-height: 0.88;
  text-transform: uppercase;
}
.wordmark .wm-name { font-size: 1.9rem; letter-spacing: 0.01em; }
.wordmark .wm-first { color: var(--blue); }
.wordmark .wm-last { color: var(--red); }
.wordmark .wm-office { color: var(--blue); font-size: 0.95rem; letter-spacing: 0.2em; margin-top: 4px; }
.wordmark:hover .wm-first { color: var(--blue); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding: 10px 10px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.main-nav .nav-donate a {
  background: var(--red); color: #fff; border-radius: var(--radius);
  padding: 10px 20px; margin-left: 8px; border-bottom: none;
}
.main-nav .nav-donate a:hover { background: var(--red-strong); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--navy); border-radius: var(--radius);
  color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; cursor: pointer;
  align-items: center; gap: 8px;
}
.nav-toggle .bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .main-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .main-nav .nav-donate a { margin: 16px 0 0; text-align: center; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, var(--paper-alt) 100%);
  border-bottom: 6px solid var(--red);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 90px);
  padding-bottom: clamp(40px, 7vw, 90px);
  position: relative; z-index: 1;
}
.hero-title { margin-bottom: 0.3em; line-height: 0.92; }
.hero-title .t-first { color: var(--blue); font-size: 1.35em; }
.hero-title .t-last { color: var(--red); font-size: 1.35em; white-space: nowrap; }
.hero-title .t-rest { color: var(--navy); display: block; font-size: 0.55em; letter-spacing: 0.04em; margin-top: 0.2em; }
.hero .tagline { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1rem; }
.hero .tagline em { color: var(--red); }
.hero p.lead { color: var(--ink); max-width: 36em; }

.vote-badge {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 0.6rem;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--navy); font-size: 1.35rem; letter-spacing: 0.04em;
}
.vote-badge .num {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1.8rem; font-weight: 800;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--blue);
}

.portrait {
  position: relative;
  max-width: 440px; justify-self: center; width: 100%;
}
.portrait img {
  position: relative; border-radius: var(--radius); width: 100%;
  aspect-ratio: 1 / 1; object-fit: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--blue), var(--shadow);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .portrait { order: -1; max-width: 300px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 3px; background: currentColor; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.intro-letter p { font-size: 1.2rem; }

.town-intro { align-items: center; }
.town-intro p { font-size: 1.25rem; line-height: 1.7; }
.town-intro img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--blue), var(--shadow);
}

/* Priority cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: 0 2px 0 rgba(13, 42, 94, 0.04);
  display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:nth-child(2) { border-top-color: var(--red); }
.card:nth-child(3) { border-top-color: var(--navy); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .card-num {
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: var(--blue-tint); -webkit-text-stroke: 2px var(--blue); margin-bottom: 10px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); margin-bottom: 1.2em; }
.card .card-link {
  margin-top: auto;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: var(--red);
}
.card .card-link:hover { color: var(--navy); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 2rem; }
.stat { padding: 22px 20px 6px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat .stat-num {
  font-family: var(--font-display); font-weight: 800; color: var(--red);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1;
}
.stat .stat-label { color: var(--ink-soft); font-size: 1rem; line-height: 1.4; margin-top: 6px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
}

.record-teaser { align-items: center; }
.record-teaser .panel {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.record-teaser .panel::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border: 18px solid var(--red); border-radius: 50%; opacity: 0.9;
}
.record-teaser .panel h3 { color: #fff; position: relative; }
.record-teaser .panel ul { list-style: none; margin: 0; padding: 0; position: relative; }
.record-teaser .panel li { padding: 12px 0 12px 34px; border-top: 1px solid rgba(255,255,255,0.15); position: relative; }
.record-teaser .panel li::before {
  content: ""; position: absolute; left: 4px; top: 20px; width: 14px; height: 8px;
  border-left: 3px solid #ff8a8e; border-bottom: 3px solid #ff8a8e; transform: rotate(-45deg);
}

/* Quote band */
.quote-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.quote-band::before {
  content: "\201C";
  position: absolute; left: 50%; top: -0.15em; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 22rem; line-height: 1;
  color: var(--blue); opacity: 0.35; pointer-events: none;
}
.quote-band h2 { color: #fff; text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); position: relative; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; position: relative; text-align: center; }
.quote-band blockquote p {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.55;
}
.quote-band cite {
  display: inline-block; font-style: normal; font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ffb3b6;
  border-top: 3px solid var(--red); padding-top: 12px; margin-top: 6px;
}

/* Quote band with a photo beside the quote (home page Sierra Club) */
.quote-photo-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.quote-band--photo h2, .quote-band--photo blockquote { text-align: left; }
.quote-band--photo blockquote { margin: 0; }
.quote-photo {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--blue), var(--shadow);
}
/* Sierra Club endorsement seal, set into the photo's corner like a stamp */
.quote-photo-wrap { position: relative; }
.quote-seal {
  position: absolute; right: -28px; bottom: -28px; width: 128px; height: 128px;
  background: #fff; border-radius: 50%; padding: 6px;
  box-shadow: 0 0 0 3px var(--blue), 0 10px 24px rgba(0, 0, 0, 0.35);
}
@media (max-width: 860px) {
  .quote-photo-grid { grid-template-columns: 1fr; }
  .quote-photo-wrap { max-width: 360px; margin: 0 auto; }
  .quote-seal { width: 104px; height: 104px; right: -14px; bottom: -18px; }
  .quote-photo { max-width: 360px; margin: 0 auto; }
  .quote-band--photo h2, .quote-band--photo blockquote { text-align: center; }
}

/* CTA band */
.cta-band {
  background: var(--red);
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band .container {
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center;
  gap: clamp(24px, 4vw, 60px); padding-top: clamp(50px, 7vw, 80px); padding-bottom: clamp(50px, 7vw, 80px);
}
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.25rem; }
.cta-band .eyebrow { color: #fff; }
.cta-band img {
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 0 0 3px var(--blue), 0 20px 40px -18px rgba(0,0,0,0.5);
  transform: rotate(2deg); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 22%;
}
@media (max-width: 800px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ---------- Interior page header ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(50px, 7vw, 86px) 0 clamp(44px, 6vw, 70px);
  position: relative; overflow: hidden;
  border-bottom: 6px solid var(--red);
}
.page-hero::after {
  content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 38%;
  background: repeating-linear-gradient(-55deg, rgba(74,108,196,0.18) 0 18px, transparent 18px 40px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #ffb3b6; }
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lead { color: #dfe6f6; max-width: 40em; margin-bottom: 0; }
.page-hero.with-photo .container { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: center; }
.page-hero.with-photo img { border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 6px var(--red); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 800px) {
  .page-hero.with-photo .container { grid-template-columns: 1fr; }
  .page-hero.with-photo img { width: 180px; order: -1; }
}

.page-hero.with-wide-photo .container { display: grid; grid-template-columns: 1fr 440px; gap: 50px; align-items: center; }
.page-hero.with-wide-photo img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover;
  border: 6px solid #fff; box-shadow: 0 0 0 3px var(--red);
}
@media (max-width: 900px) {
  .page-hero.with-wide-photo .container { grid-template-columns: 1fr; }
  .page-hero.with-wide-photo img { max-width: 440px; margin-left: 6px; }
}

.page-hero.with-tall-photo .container { grid-template-columns: 1fr 300px; }
.page-hero.with-tall-photo img { aspect-ratio: auto; }
@media (max-width: 900px) { .page-hero.with-tall-photo img { max-width: 300px; } }

.page-hero.with-hero-video .container { grid-template-columns: 1fr 480px; }
.hero-video {
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 6px solid #fff; box-shadow: 0 0 0 3px var(--red);
}
.hero-video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .hero-video { max-width: 480px; width: 100%; } }

/* Phones: stack the header photo/video under the text (Record, Plan, Plan Details) */
@media (max-width: 900px) {
  .page-hero.with-wide-photo .container,
  .page-hero.with-tall-photo .container,
  .page-hero.with-hero-video .container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-hero.with-tall-photo img { width: 100%; max-width: 260px; }
  .page-hero.with-hero-video .hero-video { width: 100%; max-width: 480px; }
}

/* ---------- Long-form content ---------- */
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--blue-strong); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.6em; }

.story-block {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 56px);
  padding: 44px 0; border-top: 1px solid var(--line);
}
.story-block:first-child { border-top: none; padding-top: 0; }
.story-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.story-block h2::after { content: ""; display: block; width: 50px; height: 4px; background: var(--red); margin-top: 16px; }
.story-photo {
  margin-top: 26px; width: 100%; max-width: 190px; border-radius: var(--radius);
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--blue), var(--shadow);
}
@media (max-width: 800px) {
  .story-block { grid-template-columns: 1fr; }
  .story-photo { max-width: 280px; }
}

.mother-callout { display: flex; align-items: center; gap: 26px; }
.mother-callout img { flex: none; width: 130px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--blue); }
@media (max-width: 560px) { .mother-callout { flex-direction: column; align-items: flex-start; } }

.feature-callout {
  background: var(--blue-tint);
  border-left: 6px solid var(--blue);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.4em 0;
}
.feature-callout p:last-child { margin-bottom: 0; }

/* Record list */
.record-list { counter-reset: rec; }
.record-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.record-item:first-child { border-top: none; padding-top: 0; }
.record-item::before {
  counter-increment: rec; content: counter(rec, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 2px var(--red);
}
.record-item h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.record-item strong { background: linear-gradient(transparent 62%, #fbd5d6 62%); }
.record-item strong a { color: inherit; text-decoration: none; }
.record-item strong a:hover { color: var(--red); }
@media (max-width: 640px) {
  .record-item { grid-template-columns: 1fr; gap: 6px; }
  .record-item::before { font-size: 2.6rem; }
}

.record-closing { margin-top: 28px; font-size: 1.2rem; }

/* Plan grid */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px;
  background: #fff; position: relative;
}
.plan-card::before {
  content: ""; position: absolute; left: -1px; top: 28px; width: 6px; height: 46px; background: var(--red);
}
.plan-card:nth-child(even)::before { background: var(--blue); }
.plan-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.plan-card p:last-child { margin-bottom: 0; }
.plan-card .icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue-strong); margin-bottom: 16px;
}
.plan-card .icon svg { width: 26px; height: 26px; }

.change-callout {
  margin-top: 40px;
  background: #fff; border: 2px solid var(--red); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.change-callout h2 { color: var(--red); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.change-callout p { margin-bottom: 0; }
@media (max-width: 760px) { .change-callout { grid-template-columns: 1fr; } }

.pledge-band {
  background: var(--navy); color: #fff; text-align: center;
  padding: clamp(56px, 8vw, 90px) 0;
}
.pledge-band p.pledge {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.15; max-width: 22em; margin: 0 auto;
}
.pledge-band p.pledge strong { color: #fff; }
.pledge-band .btn-row { justify-content: center; }

/* Plan details layout with sticky TOC */
.details-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.toc {
  position: sticky; top: 100px;
  border-left: 3px solid var(--line);
  padding-left: 0;
}
.toc h2 {
  font-size: 1rem; letter-spacing: 0.14em; color: var(--red); padding-left: 18px; margin-bottom: 10px;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
  display: block; padding: 8px 18px; margin-left: -3px; border-left: 3px solid transparent;
  text-decoration: none; color: var(--ink-soft); font-weight: 600; line-height: 1.3; font-size: 1.02rem;
}
.toc a:hover { color: var(--navy); }
.toc a.active { color: var(--navy); border-left-color: var(--red); }
@media (max-width: 960px) {
  .details-layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: none; background: var(--paper-alt); border-radius: var(--radius); padding: 18px 8px; }
  .toc a { border-left: none; margin: 0; padding: 6px 10px; }
}
.topic { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.topic:last-child { border-bottom: none; }
.topic > h2 {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.topic > h2 .tn {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1.4rem;
}
.topic h3 { color: var(--blue-strong); margin-top: 1.6em; }
.topic-photo {
  float: right; width: 40%; max-width: 340px; margin: 6px 0 20px 32px; border-radius: var(--radius);
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--blue), var(--shadow);
}
.topic::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) { .topic-photo { float: none; width: 100%; max-width: 420px; margin: 0 0 22px; } }
.topic .check-list { list-style: none; padding: 0; }
.topic .check-list li { position: relative; padding-left: 34px; margin-bottom: 1em; }
.topic .check-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.money-figure {
  display: flex; flex-wrap: wrap; gap: 16px; margin: 1.4em 0;
}
.money-figure div {
  flex: 1 1 160px; background: var(--red-tint); border-radius: var(--radius); padding: 16px 18px;
  border-bottom: 4px solid var(--red);
}
.money-figure .n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--red); line-height: 1; }
.money-figure .l { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.35; margin-top: 4px; }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .involve-grid { grid-template-columns: 1fr; } }
.involve-card {
  border-radius: var(--radius); padding: 32px 28px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.involve-card .icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 18px;
}
.involve-card .icon svg { width: 28px; height: 28px; }
.involve-card .btn { margin-top: auto; align-self: stretch; }
.email-callout {
  margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.email-callout p { margin: 0; font-size: 1.25rem; }
.email-callout strong { color: #fff; }
.email-callout a { color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 48px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue);
}
.timeline li.key::before { border-color: var(--red); background: var(--red); }
.timeline .when {
  display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--navy); font-size: 1.35rem; line-height: 1.2;
}
.timeline li.key .when { color: var(--red); }

/* Branded photo frame: blue offset block + red corner */
.framed-photo-wrap { position: relative; max-width: 460px; width: 100%; justify-self: center; margin: 18px 18px 18px 0; }
.framed-photo-wrap::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--blue); border-radius: var(--radius);
}
.framed-photo-wrap::after {
  content: ""; position: absolute; left: -14px; top: -14px; width: 90px; height: 90px;
  border-top: 6px solid var(--red); border-left: 6px solid var(--red);
}
.framed-photo {
  position: relative; width: 100%; border-radius: var(--radius);
  aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow);
}
.framed-photo--square { aspect-ratio: 1 / 1; }
.portrait img.framed-photo { box-shadow: var(--shadow); }

/* Simple white + blue ring photo (no offset block) */
.ring-photo-wrap { max-width: 460px; width: 100%; justify-self: center; }
.ring-photo {
  width: 100%; border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--blue), var(--shadow);
}

.vote-panel {
  background: var(--paper-alt); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  border-top: 6px solid var(--red);
}

/* Why new mayor */
.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .question-grid { grid-template-columns: 1fr; } }
.question-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; border-top: 6px solid var(--red);
}
.question-card .topic-label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--red); font-size: 1rem; display: block; margin-bottom: 6px;
}
.question-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); text-transform: none; }
.question-card p:last-child { margin-bottom: 0; }

/* WordPress post lists (Rudin Report, News, Videos) */
.post-status { color: var(--ink-soft); font-size: 1.15rem; }
.post-item { padding: 30px 0; border-top: 1px solid var(--line); }
.post-item:first-child { border-top: none; padding-top: 0; }
.post-date {
  display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--red); font-size: 1rem; margin-bottom: 6px;
}
.post-item h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); text-transform: none; margin-bottom: 0.4em; }
.post-item h2 a { color: var(--navy); text-decoration: none; }
.post-item h2 a:hover { color: var(--red); }
.post-item p { color: var(--ink-soft); margin-bottom: 0.8em; }
.post-more {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: var(--red);
}
.post-more:hover { color: var(--navy); }
.post-load-more { margin-top: 24px; }

/* Ethics Pledge */
.pledge-body { align-items: center; }
.pledge-body .lead { color: var(--ink); font-size: 1.3rem; line-height: 1.7; }
.clipping { margin: 0; }
.clipping img { width: 100%; max-width: 520px; border-radius: var(--radius); box-shadow: var(--shadow); }
.clipping figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }

/* Coming soon */
.coming-soon { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.coming-soon p { color: var(--ink-soft); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.values-bar {
  background: var(--navy-deep); color: #fff; text-align: center;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px var(--gutter); font-size: 1rem;
}
.values-bar { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px; }
.values-bar span { white-space: nowrap; }
.values-bar .dot { color: var(--red); margin: 0 0.8em; }

.site-footer { background: var(--navy); color: #cfd8ee; padding: 60px 0 30px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .wordmark .wm-first,
.site-footer .wordmark .wm-office { color: #8fa8e8; }
.site-footer .wordmark .wm-last { color: #ff5a5f; }
.site-footer .wordmark .wm-name { font-size: 2.4rem; }
.site-footer .footer-tag { font-family: var(--font-serif); font-style: italic; color: #fff; margin-top: 16px; font-size: 1.1rem; }
.site-footer h2 {
  color: #fff; font-size: 1.05rem; letter-spacing: 0.14em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfd8ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; transition: background 0.15s;
}
.social-links a:hover { background: var(--red); color: #fff; }
.social-links svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.92rem;
}
.paid-for {
  border: 1px solid rgba(255,255,255,0.4); padding: 6px 12px; display: inline-block;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
