/* style.css — SEIU 721 President's Report design system */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors — sampled from the printed report */
  --purple: #2D1B69;          /* Deep cover background */
  --purple-2: #4C2C92;         /* Mid purple — header bars */
  --purple-3: #6B47C2;         /* Lighter purple for duotone */
  --gold: #F8D11F;             /* SEIU yellow */
  --cream: #EFEAE0;            /* Body panel background */
  --cream-2: #F5F1E8;          /* Lighter cream */
  --ink: #111111;              /* Body text */
  --ink-2: #2A2A2A;
  --white: #FFFFFF;

  /* Tri-Counties accent palette (page 6 wave bar) */
  --tc-teal: #1E8B92;
  --tc-coral: #E25E45;
  --tc-orange: #EB8946;

  /* AANHPI accents (page 8) */
  --aanhpi-red: #B73229;
  --aanhpi-red-deep: #8B1E16;

  /* Fonts loaded via Typekit (bte2ypf) */
  --font-display: "loos-compressed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-display-wide: "loos-wide", "loos-extrawide", Impact, sans-serif;
  --font-body: "cofo-sans-variable", "Helvetica Neue", system-ui, sans-serif;

  /* Type scale */
  --fs-hero: clamp(3.5rem, 9vw, 9rem);
  --fs-display: clamp(2.5rem, 6vw, 5.5rem);
  --fs-section: clamp(2.4rem, 5.4vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.85rem);
  --fs-h3: clamp(1.4rem, 2.3vw, 1.85rem);
  --fs-stat: clamp(2.5rem, 6vw, 4.5rem);
  --fs-body: clamp(1rem, 1.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --letter-display: -0.01em;
  --letter-condensed: 0.02em;
  --letter-eyebrow: 0.18em;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Containers */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
}

/* ---------- Typography utilities ---------- */
.display { font-family: var(--font-display); font-weight: 700; line-height: 0.92; letter-spacing: var(--letter-display); text-transform: uppercase; }
.display-wide { font-family: var(--font-display-wide); font-weight: 700; line-height: 0.95; letter-spacing: var(--letter-condensed); text-transform: uppercase; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: var(--letter-eyebrow); text-transform: uppercase; }
.body { font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; }
.lead { font-family: var(--font-body); font-size: var(--fs-lead); line-height: 1.5; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ---------- Edge rail (vertical "SEIU 721 PRESIDENT'S REPORT") ---------- */
.edge-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34px;
  z-index: 30;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-left: 1px solid rgba(0,0,0,0.06);
  mix-blend-mode: normal;
}
.edge-rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--purple-2);
  opacity: 0.85;
}
@media (max-width: 720px) { .edge-rail { display: none; } }

/* ---------- Top nav (sticky, condensed) ---------- */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 34px;
  z-index: 40;
  background: rgba(15, 8, 40, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
  border-bottom: 1px solid rgba(248, 209, 31, 0.18);
}
.topnav.scrolled {
  background: rgba(15, 8, 40, 0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.topnav-brand .lockup {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.topnav-brand .lockup b { color: var(--gold); }

/* Inline link list inside topnav — Home + President's Reports archive */
.topnav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto 0 28px;
  padding: 0;
  list-style: none;
}
.topnav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.topnav-links a:hover,
.topnav-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
  outline: none;
}

.topnav-issue {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  padding: 6px 10px;
  border: 1px solid rgba(248, 209, 31, 0.4);
  border-radius: 999px;
}
.topnav-menu-btn {
  background: var(--gold);
  border: 0;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s var(--ease-out);
}
.topnav-menu-btn:hover { transform: translateY(-1px); }
.topnav-menu-btn .dot { width: 6px; height: 6px; background: var(--purple); border-radius: 50%; display: inline-block; }
@media (max-width: 1024px) {
  .topnav-links { display: none; }
}
@media (max-width: 720px) {
  .topnav-issue { display: none; }
  .topnav { right: 0; padding: 10px 14px; }
}

/* ---------- Section jump menu (slide-out) ---------- */
.jumpnav {
  position: fixed;
  top: 0;
  right: -360px;
  width: min(340px, 86vw);
  height: 100vh;
  background: var(--purple);
  color: var(--white);
  z-index: 60;
  padding: 84px 28px 28px;
  transition: right 0.5s var(--ease-out);
  overflow-y: auto;
  box-shadow: -20px 0 40px rgba(0,0,0,0.3);
}
.jumpnav.open { right: 0; }
.jumpnav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.jumpnav-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.jumpnav-list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
  transition: color 0.2s;
}
.jumpnav-list a:hover { color: var(--gold); }
.jumpnav-list .num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.jumpnav-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jumpnav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.jumpnav-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

/* ---------- COVER ---------- */
.cover {
  position: relative;
  min-height: 100vh;
  background: var(--purple);
  color: var(--white);
  padding: 86px var(--container-pad) 48px;
  overflow: hidden;
}

/* Static-render cover — displays the InDesign-rendered cover.png at full fidelity. */
.cover-static {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--container-pad) 64px;
  gap: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(248, 209, 31, 0.12), transparent 55%),
    var(--purple);
}
.cover-static-figure {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3);
  /* Subtle ambient float into view */
  animation: cover-float-in 900ms ease-out both;
}
@keyframes cover-float-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cover-static-img {
  display: block;
  width: 100%;
  height: auto;
}
.cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.cover-cta-text { line-height: 1; }
.cover-cta-arrow { width: 18px; height: 18px; }
@keyframes cta-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-static-figure { animation: none; }
  .cover-cta { animation: none; }
}
.cover-swoosh {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 1100px;
  max-width: 80vw;
  opacity: 0.35;
  pointer-events: none;
}
.cover-swoosh path { fill: rgba(248, 209, 31, 0.22); stroke: rgba(248,209,31,0.45); stroke-width: 2; }

.cover-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 2;
}

.cover-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}
.cover-lockup .seiu-721 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 9vw, 7rem);
  line-height: 0.85;
  color: var(--white);
  letter-spacing: -0.02em;
  border-bottom: 4px solid var(--white);
  padding-bottom: 8px;
  white-space: nowrap;
}
.cover-lockup .seiu-721 span { display: block; }
.cover-lockup .pres-report {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.86;
  color: var(--gold);
  letter-spacing: -0.01em;
  align-self: end;
}
.cover-lockup .pres-report span { display: block; }

.cover-issue {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.28em;
  color: var(--white);
  padding: 6px 0;
  margin: 8px 0 30px;
  border-bottom: 2px solid var(--gold);
}

.cover-gold-bar {
  position: absolute;
  top: clamp(180px, 28vw, 280px);
  right: 0;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold));
  z-index: 1;
}

.cover-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.32);
  margin-top: 20px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.cover-photo {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  margin-bottom: 36px;
}
.cover-photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.cover-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.cover-teaser h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cover-teaser p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.18;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
@media (max-width: 720px) {
  .cover { padding-top: 76px; }
  .cover-lockup { grid-template-columns: 1fr; gap: 10px; }
  .cover-lockup .seiu-721 { white-space: normal; font-size: clamp(2.8rem, 14vw, 4rem); }
  .cover-lockup .pres-report { font-size: clamp(2.4rem, 12vw, 4rem); }
  .cover-teasers { grid-template-columns: 1fr; gap: 20px; }
  .cover-gold-bar { display: none; }
}

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(56px, 9vw, 120px) var(--container-pad);
}
.section-inner { max-width: var(--container-max); margin: 0 auto; }
.section.dark { background: var(--ink); color: var(--cream); }
.section.cream { background: var(--cream); }
.section.purple { background: var(--purple); color: var(--white); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--purple);
  margin-bottom: 18px;
}
.section.dark .section-eyebrow,
.section.purple .section-eyebrow { background: var(--gold); color: var(--purple); }

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-section);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.section-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ---------- President's Message (editorial newspaper layout) ----------
   Top row: rotated rail label flush-left of the MEASURE ER WINS! photo, bottom-aligned.
   Middle: full-width black headline with a gold underline rule.
   Body: two-column copy.
   Footer: signature on the left, headshot on the right. */
.pres-message {
  background: var(--cream);
}
.pres-message-inner {
  max-width: 980px;
  margin: 0 auto;
}

.pres-message-top {
  display: grid;
  /* Narrow rail column + the photo */
  grid-template-columns: clamp(130px, 14vw, 170px) 1fr;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: stretch;       /* rail tracks the photo's natural height */
  margin-bottom: 32px;
}
/* Reusable President name-rail graphic. The rail is sized by an aspect-ratio that
   matches the hero photo (1549×1080 ≈ 1.434:1), so as the photo scales responsively,
   the rail tracks its exact vertical height. Letters are rotated INSIDE the SVG, so
   no CSS rotation is needed. To repurpose for a future president: change the text in
   #rail-name-text in the SVG, and add `class="pres-message-rail gold"` for the gold
   tone. `currentColor` controls both the eyebrow text and the halftone field. */
.pres-message-rail {
  position: relative;
  color: var(--purple-2);
  min-width: 130px;
  max-width: 170px;
  /* Match the photo's height exactly. Photo is 1549×1080 with width:100%, so its
     rendered height = column_width / (1549/1080). The rail column width is the
     full grid track; we compute height to match. Simpler reliable approach: have
     the photo be the height authority and pin the SVG to its bottom-left. */
  align-self: stretch;
  display: block;
}
.pres-rail-svg {
  /* Absolutely fill the rail container; xMidYMax preserves aspect ratio and pins
     the graphic to the BOTTOM so the giant name's baseline sits at the photo's
     bottom edge. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Theme variant: gold rail (add class="pres-message-rail gold") */
.pres-message-rail.gold { color: var(--gold); }

.pres-message-photo {
  margin: 0;
}
.pres-message-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.pres-message-head {
  margin: 8px 0 26px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--gold);   /* gold rule under the headline, per mockup */
}
.pres-message-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}

.pres-message-body {
  columns: 2;
  column-gap: 32px;
}
.pres-message-body p {
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0 0 14px;
  break-inside: avoid;
}
.pres-message-body em {
  font-style: italic;
  color: var(--ink);
}

/* Body-copy salutation: italic "In unity," that closes the letter inside the
   two-column body block. The `break-before: column` keeps it from getting orphaned
   at the top of the second column — it sits naturally at the end of the prose. */
.pres-message-body p.signoff-label {
  font-style: italic;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--ink);
  break-inside: avoid;
}

/* Bottom row: small signature on the left, headshot on the right. The signature
   is intentionally modest — ~60px tall — so it reads as a closing flourish, not
   as another hero element competing with the photo and the headshot. */
.pres-message-foot {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
.signoff-signature {
  /* Modest closing flourish — small relative to the 220px headshot and the
     full-bleed hero photo above. Adjust here, once, for all future issues. */
  height: clamp(36px, 3.4vw, 46px);
  width: auto;
  max-width: 100%;
  display: block;
  align-self: end;
}
.pres-message-headshot {
  margin: 0;
  width: clamp(160px, 22vw, 220px);
  aspect-ratio: 1;
}
.pres-message-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;        /* slight rounding, not a circle — matches mockup */
  display: block;
}

@media (max-width: 720px) {
  .pres-message-top {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .pres-message-rail {
    /* On narrow screens the vertical rail doesn't read well — show it horizontally
       above the photo, smaller, by overriding the SVG container shape. */
    align-self: auto;
    min-width: 0;
    max-width: 100%;
    height: 72px;
    margin-bottom: 6px;
  }
  .pres-rail-svg {
    /* Hide the vertical SVG on mobile; show plain text instead via the data-fallback. */
    display: none;
  }
  .pres-message-rail::before {
    content: "A Message From SEIU 721 President";
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
  }
  .pres-message-rail::after {
    content: "DAVID GREEN";
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    line-height: 0.95;
    color: var(--purple-2);
  }
  .pres-message-body { columns: 1; }
  .pres-message-foot {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
  .pres-message-headshot { width: 60%; max-width: 220px; }
}

/* ---------- Measure ER ---------- */
.measure-er {
  background: var(--ink);
  color: var(--cream);
}
.measure-er-banner {
  background: var(--purple-2);
  color: var(--gold);
  padding: 22px clamp(20px, 3vw, 40px);
  text-align: center;
  border-radius: 2px;
  margin-bottom: 0;
}
.measure-er-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.measure-er-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  padding: 32px 0 14px;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.measure-er-lede {
  background: var(--cream);
  color: var(--ink);
  padding: 18px 22px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  border-radius: 2px;
  margin: 0 auto 32px;
  max-width: 760px;
  text-align: center;
}

.measure-er-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  margin-bottom: 32px;
}
.measure-er-ad-box {
  background: var(--cream);
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.measure-er-ad-box-head {
  padding: 16px 18px 8px;
}
.measure-er-ad-box .eyebrow-y {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  background: var(--purple);
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.measure-er-ad-box .ad-text {
  font-family: var(--font-display);
  color: var(--gold);
  background: var(--purple);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin: 0;
  line-height: 1.1;
}
.measure-er-ad-box-img {
  position: relative;
  flex: 1;
}
.measure-er-ad-box-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.measure-er-ad-box-img figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--white);
  padding: 22px 16px 14px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.measure-er-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--ink);
}
.stat {
  padding: 22px 18px;
  border: 1px solid rgba(248, 209, 31, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: var(--fs-stat);
  line-height: 0.95;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--cream);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .measure-er-cols { grid-template-columns: 1fr; }
}

.chart-card {
  background: var(--cream);
  border-radius: 2px;
  padding: 28px 32px 24px;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
}
.chart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.chart-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  text-align: center;
  background: var(--gold);
  color: var(--ink);
  display: inline-block;
  padding: 4px 12px;
  margin: 8px auto 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chart-sub-wrap { text-align: center; }
.chart-svg {
  width: 100%;
  height: auto;
  display: block;
  /* aspect-ratio matches the SVG viewBox (800:500) so labels stay proportional */
  aspect-ratio: 800 / 500;
}

/* ---------- Primary Election ---------- */
.primary-election {
  background: var(--cream);
}
.primary-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
}
.primary-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--purple);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.primary-hero-card .duotone {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Photos display in full color now — no purple duotone. A subtle dark gradient
   at the bottom keeps the white "WE PLANNED. / WE ORGANIZED." lockup readable. */
.primary-hero-card .duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.primary-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}
.primary-hero-card .label {
  position: relative;
  z-index: 2;
  padding: 28px 28px 4px;
}
.primary-hero-card .label .top {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 2px;
}
.primary-hero-card .label .accent {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  margin-bottom: 24px;
}

.primary-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.primary-card {
  background: var(--white);
  padding: 28px;
  border-radius: 2px;
  border: 1px solid rgba(45, 27, 105, 0.15);
}
.primary-card.purple-card { background: var(--purple); color: var(--white); }
.primary-card.purple-card h3 { color: var(--gold); }
.primary-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--purple-2);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.1;
}
.primary-card p { margin-bottom: 12px; font-size: var(--fs-body); }
.primary-card .gotv-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(248, 209, 31, 0.3);
}
.primary-card .gotv-list h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.primary-card .gotv-list ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: var(--fs-body);
  line-height: 1.4;
}
.primary-card .gotv-list ul li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.winners-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.winners-list {
  background: var(--purple);
  color: var(--white);
  padding: 28px;
  border-radius: 2px;
}
.winners-list h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.winners-list .subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(248, 209, 31, 0.4);
  margin-bottom: 18px;
}
.winner {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.winner:last-child { border-bottom: 0; }
.winner .race {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.winner .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.005em;
}
.winner .status {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-top: 2px;
}
.winners-region-divider {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 18px 0 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(248,209,31,0.4);
}

@media (max-width: 720px) {
  .primary-hero-grid, .primary-cols, .winners-grid { grid-template-columns: 1fr; }
}

/* ---------- Gig Drivers ---------- */
.gig-drivers {
  background: var(--cream);
  position: relative;
}
.gig-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

/* LEFT COLUMN ---------------------------------- */
.gig-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gig-hero {
  position: relative;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  color: var(--white);
}
.gig-hero img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.gig-hero-title {
  position: absolute;
  top: 0;
  right: 0;
  left: 30%;
  padding: 26px 24px;
  text-align: right;
  z-index: 2;
  pointer-events: none;
}
.gig-hero-title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  color: var(--gold);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* Pull-quote now sits BELOW the hero photo (not overlaid on it),
   so it gets a proper card treatment of its own. */
.gig-pullquote {
  background: var(--ink);
  border-left: 6px solid var(--gold);
  padding: 22px 26px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
}
.gig-pullquote img.granados {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.gig-pullquote .quote-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
  color: var(--white);
  font-style: italic;
}
.gig-pullquote .quote-text::before { content: '“'; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.1em; margin-right: 0.05em; }
.gig-pullquote .quote-text::after  { content: '”'; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-left: 0.05em; }
.gig-pullquote .attrib {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

/* Article block (was "gig-blurb-card" in the right column; moved here per mockup). */
.gig-article {
  padding: 0;
}
.gig-article h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--aanhpi-red);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.08;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--aanhpi-red);
}
.gig-article p {
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}

/* RIGHT COLUMN --------------------------------- */
.gig-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gig-facts {
  background: var(--cream);
  padding: 26px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.08);
}
.gig-facts h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--aanhpi-red);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gig-facts-h3-second { margin-top: 22px; }
.gig-facts p {
  font-size: var(--fs-body);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* The CGWU seal is now anchored to the bottom of the right column, much larger,
   reading as the issuing-authority medallion for the entire story. */
.gig-cgwu-seal {
  margin-top: auto;     /* sticks to bottom of the flex column */
  padding-top: 12px;
  display: flex;
  justify-content: center;
}
.gig-cgwu-seal img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}

/* MOSAIC --------------------------------------- */
.gig-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.gig-mosaic img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .gig-grid { grid-template-columns: 1fr; gap: 22px; }
  .gig-cgwu-seal img { max-width: 280px; }
  .gig-mosaic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .gig-pullquote { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 20px; }
  .gig-pullquote img.granados { width: 64px; height: 64px; }
  .gig-hero-title { padding: 18px 16px; left: 25%; }
}

/* ---------- Bartz / Welcome ---------- */
.welcome-family {
  background: var(--cream);
}
.welcome-hero {
  position: relative;
  background: var(--purple);
  color: var(--white);
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 26px;
  aspect-ratio: 16/8;
  display: flex;
  align-items: flex-end;
}
/* Bartz-Altadonna hero image is already a purple/cream duotone in the source file,
   so we display it as-is — no extra brightness or multiply overlays applied. We just
   darken the bottom slightly so the white "Welcome to the Family!" lockup pops. */
.welcome-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.welcome-hero .duotone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.welcome-hero h2 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  padding: 36px clamp(24px, 4vw, 56px);
  color: var(--cream);
}

.bartz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.bartz-body {
  background: var(--white);
  padding: 28px;
  border-radius: 2px;
  border: 1px solid rgba(45,27,105,0.15);
}
.bartz-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-2);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.bartz-body .body-cols {
  columns: 2;
  column-gap: 28px;
  font-size: var(--fs-body);
  line-height: 1.55;
}
.bartz-body .body-cols p { break-inside: avoid; margin-bottom: 12px; }
.bartz-body .strong-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--purple-2);
  text-transform: uppercase;
  margin-top: 8px;
}

.bartz-quote-card {
  background: var(--cream);
  border-left: 6px solid var(--gold);
  padding: 30px 32px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}
.bartz-quote-card .qtext {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
}
.bartz-quote-card .qtext::before { content: '“'; color: var(--gold); font-size: 1.8em; line-height: 0; vertical-align: -0.15em; margin-right: 0.05em; }
.bartz-quote-card .qattrib {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--purple-2);
  text-transform: uppercase;
  margin-top: 14px;
}
.bartz-quote-card .qphoto {
  width: 150px;
  height: 150px;
  border-radius: 2px;
  overflow: hidden;
}
.bartz-quote-card .qphoto img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .bartz-body .body-cols { columns: 1; }
  .bartz-quote-card { grid-template-columns: 1fr; }
  .bartz-quote-card .qphoto { width: 90px; height: 90px; }
}

/* ---------- Civil Service / Hell No ---------- */
.civil-service {
  background: var(--cream);
  padding-top: 0;
}
.civil-hero {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
  border-radius: 2px;
  overflow: hidden;
}
.civil-hero img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  /* Bias crop slightly upward so the front-row faces (lower half of source) stay visible. */
  object-position: center 35%;
  display: block;
}
.civil-hero-banner {
  /* Banner sits at TOP-LEFT over the empty council-chamber arches —
     leaving the front-row faces below untouched. */
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--purple);
  padding: 0;
  display: flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.civil-hero-banner .yellow-chunk {
  background: var(--gold);
  color: var(--purple);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1;
}
.civil-hero-banner .purple-chunk {
  background: var(--purple);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1;
}

.civil-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 26px;
  align-items: start;
}
.civil-body {
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  border-radius: 2px;
}
.civil-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.civil-body p { font-size: var(--fs-body); line-height: 1.55; margin-bottom: 12px; }

.civil-yellow-block {
  background: var(--gold);
  color: var(--ink);
  padding: 26px 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.civil-yellow-block .wright-photo {
  display: flex;
  gap: 16px;
  align-items: center;
}
.civil-yellow-block .wright-photo img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 2px;
}
/* Brand-supplied Union Strong shield SVG. Sized to sit next to the 90px Wright
   headshot. The SVG has its own art — override the generic .wright-photo img
   rules above so it isn't cropped to 90×90 with object-fit. */
.civil-yellow-block .wright-photo img.union-shield {
  width: clamp(110px, 11vw, 132px);
  height: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.civil-yellow-block .qtext {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.22;
  color: var(--ink);
}
.civil-yellow-block .qtext::before { content: '“'; font-size: 1.6em; color: var(--purple-2); line-height: 0; vertical-align: -0.18em; margin-right: 0.04em; }
.civil-yellow-block .qattrib {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--purple-2);
  text-transform: uppercase;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .civil-grid { grid-template-columns: 1fr; }
  .civil-hero-banner { top: 10px; left: 10px; }
  .civil-hero img { aspect-ratio: 16/11; object-position: center 30%; }
}

/* ---------- Tri-Counties / Port Hueneme ---------- */
.tri-counties {
  background: var(--cream);
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}
.tc-wave {
  position: relative;
  height: 130px;
  background: linear-gradient(180deg,
    var(--tc-orange) 0%, var(--tc-orange) 16%,
    var(--tc-coral) 16%, var(--tc-coral) 33%,
    var(--tc-teal) 33%, var(--tc-teal) 56%,
    var(--cream-2) 56%, var(--cream-2) 100%);
  overflow: hidden;
}
.tc-wave-circle {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: var(--tc-coral);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-wave-circle svg {
  width: 50px;
  height: 50px;
  fill: var(--purple);
}
.tc-wave-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background:
    radial-gradient(ellipse at 25% 0, transparent 30px, var(--cream-2) 30px),
    radial-gradient(ellipse at 75% 0, transparent 30px, var(--cream-2) 30px);
  background-color: var(--tc-teal);
}

.tc-content {
  padding: 36px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.tc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--tc-teal);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: 18px;
}

.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.tc-hueneme-photo {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
}
.tc-hueneme-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.tc-hueneme-banner {
  background: var(--tc-coral);
  color: var(--white);
  padding: 22px 24px;
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
}

.tc-hueneme-body {
  padding: 8px 0 0;
}
.tc-hueneme-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tc-teal);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.15;
}
.tc-hueneme-body .cols {
  columns: 1;
  font-size: var(--fs-body);
  line-height: 1.55;
}
.tc-hueneme-body p { margin-bottom: 12px; }

/* Family Fun Day */
.tc-funday {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: start;
}
.tc-funday-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.tc-funday-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  border: 3px solid var(--purple-2);
  aspect-ratio: 1;
}
.tc-funday-mosaic img:nth-child(1) { grid-column: span 1; grid-row: span 1; }

.tc-funday-text {}
.tc-funday-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  color: var(--tc-teal);
  text-transform: uppercase;
  line-height: 0.88;
  margin-bottom: 16px;
}
.tc-funday-text p { font-size: var(--fs-body); line-height: 1.55; margin-bottom: 12px; }
.tc-funday-text .closer {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tc-coral);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  margin-top: 12px;
}

.tc-wave-bottom {
  height: 16px;
  background: linear-gradient(180deg, var(--tc-teal) 0%, var(--tc-teal) 50%, var(--tc-coral) 50%, var(--tc-coral) 100%);
}

@media (max-width: 720px) {
  .tc-grid, .tc-funday { grid-template-columns: 1fr; }
}

/* ---------- Santa Ana / Inland Region ---------- */
.santa-ana {
  background: var(--cream);
}
.sa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.sa-card {
  background: var(--purple);
  color: var(--white);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  align-self: start; /* don't stretch to match inland-card height — avoids trapped purple space */
}
.sa-card-img {
  position: relative;
  height: 200px;
}
/* Color photo — just darken the bottom with a gradient so the title is readable. */
.sa-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sa-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 75%, rgba(45,27,105,0.96) 100%);
}
.sa-card-content {
  padding: 0 28px 28px;
  position: relative;
  margin-top: -60px;
  z-index: 2;
}
.sa-card-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 16px;
}
.sa-card-content .deck {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  margin-bottom: 16px;
  line-height: 1.2;
}
.sa-card-content p { font-size: var(--fs-body); line-height: 1.55; margin-bottom: 12px; }

.sa-card-quote {
  background: var(--cream);
  color: var(--ink);
  padding: 22px 26px;
  margin: 22px -28px -28px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  border-left: 6px solid var(--gold);
}
.sa-card-quote img {
  width: 96px;
  height: 96px;
  border-radius: 2px;
  object-fit: cover;
}
.sa-card-quote .qtext {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.25;
}
.sa-card-quote .qtext::before { content: '“'; color: var(--purple-2); font-size: 1.4em; line-height: 0; vertical-align: -0.15em; margin-right: 0.04em; }
.sa-card-quote .qattrib {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--purple-2);
  text-transform: uppercase;
  margin-top: 8px;
}

.inland-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  padding: 28px;
}
.inland-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.92;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
}
.inland-section { margin-bottom: 24px; }
.inland-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(248,209,31,0.45);
}
.inland-section p { font-size: var(--fs-body); line-height: 1.55; margin-bottom: 12px; }
.inland-section img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 2px;
  margin: 12px 0;
}

@media (max-width: 720px) {
  .sa-grid { grid-template-columns: 1fr; }
}

/* ---------- AANHPI ---------- */
.aanhpi {
  background: var(--aanhpi-red);
  color: var(--white);
}
.aanhpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.aanhpi-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.92;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}
.aanhpi-hero-img {
  border: 6px solid var(--gold);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.aanhpi-hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
/* Brand-supplied Asian Pacific Islanders Caucus mark. The SVG is square (392×392)
   and carries its own circular composition, type, and color — no border or fill
   needed in CSS. Anchored to the bottom-left of the hero photo, overlapping the
   gold border by ~22px. The more specific `.aanhpi-hero-img img` rule above forces
   width:100% and aspect-ratio 16:9 on any img inside, so we override it explicitly. */
.aanhpi-hero-img img.aanhpi-caucus-badge {
  position: absolute;
  bottom: -22px;
  left: 16px;
  width: clamp(120px, 12vw, 160px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}

.aanhpi-blurb {
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
  padding: 26px;
}
.aanhpi-blurb h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-2);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.aanhpi-blurb .cols {
  columns: 2;
  column-gap: 26px;
  font-size: var(--fs-body);
  line-height: 1.55;
}
.aanhpi-blurb .cols p { break-inside: avoid; margin-bottom: 12px; }

.aanhpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.aanhpi-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--gold);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .aanhpi-blurb .cols { columns: 1; }
  .aanhpi-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- Linda Dent / Day of Service — full-page static render ---------- */
.linda-dent-static {
  background: var(--ink);
  padding: 56px var(--container-pad) 72px;
}
.ld-static-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.ld-static-figure {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35);
  background: var(--purple);
}
.ld-static-figure a {
  display: block;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out);
}
.ld-static-figure a:hover { transform: translateY(-3px); }
.ld-static-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.ld-static-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.ld-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 32px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(248, 209, 31, 0.28);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.ld-cta-button:hover,
.ld-cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(248, 209, 31, 0.4);
  outline: none;
}
.ld-cta-arrow {
  width: 22px;
  height: 22px;
}
.ld-cta-meta {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 60ch;
}
.ld-cta-meta a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(248,209,31,0.4);
}
.ld-cta-meta a:hover { text-decoration-color: var(--gold); }

@media (max-width: 720px) {
  .linda-dent-static { padding: 36px 16px 48px; }
  .ld-static-inner { gap: 24px; }
}

/* ---------- Site Footer (mirrors live seiu721.org layout) ---------- */
.site-footer {
  background: var(--purple);
  color: var(--white);
  padding: 64px var(--container-pad) 28px;
  border-top: 4px solid var(--gold);
  margin-right: 34px; /* leave room for the edge rail on desktop */
}
.site-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
  outline: none;
}
.footer-col-address {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.5;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-address .footer-org {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col-address .footer-phone a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(248,209,31,0.4);
  text-underline-offset: 3px;
}
.footer-col-address .footer-phone a:hover { color: var(--gold); text-decoration-color: var(--gold); }

.site-footer-bottom {
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.site-footer-bottom .footer-publication { opacity: 0.65; font-style: italic; }

@media (max-width: 900px) {
  .site-footer { margin-right: 0; padding: 48px 24px 24px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Print-friendly fallback */
@media print {
  .topnav, .edge-rail, .jumpnav, .jumpnav-backdrop { display: none !important; }
  .section { page-break-inside: avoid; }
}
