/* ==========================================================================
   Taso for San Mateo City Council
   Design tokens lifted from the live site: navy #2F3F78, campaign red #EE1C25,
   Montserrat display / Roboto body. Logo blue is #2A429C.
   ========================================================================== */

:root {
  --navy: #2f3f78;
  --navy-dark: #24305c;
  --navy-deep: #1b2445;
  --logo-blue: #2a429c;
  --red: #ee1c25;
  --red-dark: #c9151d;
  --red-deep: #ad1119;

  --ink: #1a1a1a;
  --body: #525252;
  --muted: #6b6b74;
  --line: #e4e6ed;
  --wash: #f4f4f6;
  --white: #ffffff;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 5px;

  --shadow-sm: 0 2px 10px rgba(27, 36, 69, 0.06);
  --shadow-md: 0 10px 30px rgba(27, 36, 69, 0.1);
  --shadow-lg: 0 18px 50px rgba(27, 36, 69, 0.16);
}

/* --------------------------------------------------------------- reset --- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------ utilities --- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--wash { background: var(--wash); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red-dark);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* eyebrow ------------------------------------------------------------------ */

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: #ffb9bc; }

/* headings ----------------------------------------------------------------- */

.h-display {
  font-size: clamp(2.6rem, 6.2vw, 4.1rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(1.85rem, 4vw, 2.83rem);
  font-weight: 600;
}

.h-card {
  font-size: 1.365rem;
  font-weight: 700;
}

.lede {
  font-size: clamp(1.12rem, 1.6vw, 1.27rem);
  line-height: 1.62;
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--red-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  padding: 15px 30px;
  border: 2px solid var(--red-dark);
  border-radius: var(--radius);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover, .btn--navy:focus-visible { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--white); border-color: var(--white); color: var(--navy); }

.btn--ghost-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost-navy:hover, .btn--ghost-navy:focus-visible { background: var(--navy); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* =============================================================== header === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
  padding-block: 0.75rem;
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: 168px; }

.nav { display: flex; align-items: center; gap: clamp(0.85rem, 1.6vw, 1.5rem); }

.nav__link {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-block: 0.4rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__link:hover { color: var(--red); border-bottom-color: var(--red); }
.nav__link[aria-current="page"] { color: var(--red-dark); border-bottom-color: var(--red); }

.nav .btn { padding: 11px 18px; font-size: 0.78rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { display: block; }

@media (max-width: 1080px) {
  .site-header__inner { flex-wrap: wrap; min-height: 72px; }
  .brand img { width: 132px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-block: 0.5rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__link:hover { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ================================================================= hero === */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 27, 51, 0.94) 0%, rgba(20, 27, 51, 0.82) 42%, rgba(20, 27, 51, 0.35) 72%, rgba(20, 27, 51, 0.28) 100%),
    linear-gradient(180deg, rgba(20, 27, 51, 0.5) 0%, rgba(20, 27, 51, 0) 40%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: 2rem;
  min-height: 620px;
}

.hero__copy {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  align-self: center;
  color: var(--white);
  max-width: 620px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--red-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.15rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}
.hero__badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.hero h1 { color: var(--white); margin-bottom: 0.5em; }
.hero h1 span { display: block; }
.hero h1 .is-accent { color: #ffd8da; }

.hero__lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 33em;
  margin-bottom: 2rem;
}

.hero__portrait {
  position: relative;
  align-self: end;
  justify-self: center;
  max-width: 480px;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.45));
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__portrait { display: none; }
  .hero__copy { padding-block: clamp(3rem, 12vw, 4.5rem); }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(20, 27, 51, 0.86) 0%, rgba(20, 27, 51, 0.7) 55%, rgba(20, 27, 51, 0.88) 100%);
  }
}

/* page hero (interior pages) ----------------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(28, 38, 74, 0.93) 0%, rgba(28, 38, 74, 0.72) 52%, rgba(28, 38, 74, 0.42) 100%);
}
@media (max-width: 780px) {
  .page-hero::after {
    background: linear-gradient(180deg, rgba(28, 38, 74, 0.9) 0%, rgba(28, 38, 74, 0.74) 50%, rgba(28, 38, 74, 0.9) 100%);
  }
}
.page-hero h1 { color: var(--white); max-width: 16em; }
.page-hero p { color: rgba(255, 255, 255, 0.88); max-width: 40em; margin-top: 1.1rem; }

/* breadcrumb --------------------------------------------------------------- */

.crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current="page"] { color: var(--white); }

/* ============================================================== split ===== */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }


.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split__media--framed {
  position: relative;
}
.split__media--framed::before {
  content: "";
  position: absolute;
  left: -18px; bottom: -18px;
  width: 55%; height: 55%;
  border-left: 6px solid var(--red);
  border-bottom: 6px solid var(--red);
  border-radius: 0 0 0 var(--radius);
  z-index: -1;
}

/* two photos, offset from one another: first sits top-left, second drops
   below it and slides right, overlapping just enough to read as one unit */
.photo-stack {
  position: relative;
  display: flex;
  flex-direction: column;
}
.photo-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.photo-stack img.photo-stack__a {
  width: 76%;
  margin-right: auto;
  box-shadow: var(--shadow-md);
}
.photo-stack img.photo-stack__b {
  width: 62%;
  margin-left: auto;
  margin-top: -13%;
  position: relative;
  z-index: 2;
  /* the ring is painted in the section's own wash, so it reads as a clean
     gap between the two photos rather than a visible white border */
  box-shadow: 0 0 0 9px var(--wash), var(--shadow-lg);
}
/* red bracket anchors the top-left corner, same accent language as --framed */
.photo-stack::before {
  content: "";
  position: absolute;
  left: -18px; top: -18px;
  width: 42%; height: 42%;
  border-left: 6px solid var(--red);
  border-top: 6px solid var(--red);
  border-radius: var(--radius) 0 0 0;
  z-index: 0;
}
@media (max-width: 780px) {
  .photo-stack img.photo-stack__a { width: 82%; }
  .photo-stack img.photo-stack__b { width: 68%; margin-top: -11%; }
}

@media (max-width: 780px) {
  .split--reverse .split__media { order: 0; }
}

/* =========================================================== issue grid === */

.issues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
}

.issue {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.issue:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.issue__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.issue__media img { width: 100%; height: 100%; object-fit: cover; }
.issue__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 63, 120, 0) 45%, rgba(47, 63, 120, 0.55) 100%);
}

.issue__body { padding: clamp(1.35rem, 2.2vw, 1.85rem); flex: 1 1 auto; }
.issue__body h3 { margin-bottom: 0.55rem; }
.issue__body p { font-size: 1rem; line-height: 1.62; }

.issue--wide { grid-column: span 2; }
.issue--wide .issue__media { aspect-ratio: 21 / 9; }
/* the City Hall sign sits high in the frame - keep it inside the letterbox crop */
.issue__img--cityhall { object-position: center 42%; }
/* keep the officers and the subject centred in the 16:10 card crop */
.issue__img--safety { object-position: center 45%; }
.issue--wide .issue__body { max-width: 46em; }
@media (max-width: 700px) {
  .issue--wide { grid-column: span 1; }
  .issue--wide .issue__media { aspect-ratio: 16 / 10; }
}

/* ===================================================== get-involved band === */

.band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--red);
}
.band h2 { color: var(--white); }
.band p { color: rgba(255, 255, 255, 0.87); }

/* =============================================================== cta ====== */

.cta {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 46em; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 2rem; }

/* ============================================================== footer ==== */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(3rem, 5vw, 4.25rem) 0;
  font-size: 1rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.75rem;
}

.site-footer h2 {
  font-size: 1.365rem;
  font-weight: 700;
  color: #ff8f93;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a { color: rgba(255, 255, 255, 0.86); }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-logo { background: var(--white); border-radius: var(--radius); padding: 0.85rem 1rem; display: inline-block; }
.footer-logo img { width: 190px; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.6rem; }
/* footer nav links rendered at 19px tall — under the 24px WCAG 2.5.8 target
   minimum. Pad the anchor itself so the tap area grows without moving text. */
.footer-list a { display: inline-block; padding: 0.3rem 0; }
.footer-list li { margin-bottom: 0.3rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.15rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

.site-footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.disclaimer {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  text-align: center;
}

/* ==========================================================================
   Campaign repositioning — August 2026
   "A Different Kind of Campaign. A Different Kind of Leadership."
   ========================================================================== */

/* hero kicker + district emphasis ------------------------------------------ */

.hero__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.26rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
}
.hero__kicker .district {
  color: #ffd8da;
  white-space: nowrap;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2rem;
}

.hero h1.h-display { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }


/* emphasis line inside body copy ------------------------------------------- */

.emph {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
.band .emph, .cta .emph, .closing .emph { color: var(--white); }

/* community service list ---------------------------------------------------- */

.service {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
}
.service li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  box-shadow: var(--shadow-sm);
}
.service h3 {
  /* holds "San Mateo Police Department Neighborhood Watch" on one line once the
     cards narrow to two columns; unchanged at full desktop width */
  font-size: clamp(0.92rem, 1.4vw, 1.06rem);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.service p { font-size: 0.98rem; line-height: 1.58; margin: 0; }

/* closing band -------------------------------------------------------------- */

.closing {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
}
.closing::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--red);
}
.closing h2 { color: var(--white); }


/* alternating story blocks (Meet Taso) --------------------------------------- */

.story + .story { margin-top: clamp(3rem, 6vw, 5rem); }
.story__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }


/* text-dominant split — for long first-person copy beside a single photo */
.split--wide-text { align-items: start; }
@media (min-width: 900px) {
  .split--wide-text { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
}

/* ==========================================================================
   Typographic orphan control
   ---------------------------------------------------------------------------
   `balance` evens the line lengths of short blocks — right for headings and
   display copy, where a stranded last word reads as a mistake.
   `pretty` leaves the block alone except to pull a word down from the
   second-to-last line so the last line is never a single word — right for
   running body copy, where balancing would make the ragged edge look odd.

   Unsupported in Firefox/Safari for `pretty`; both degrade to normal wrapping,
   which is exactly the current behaviour. Nothing breaks.
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.h-display, .h-section, .h-card,
.hero h1 span,
.hero__kicker, .hero__tagline,
.eyebrow,
.sig-line,
.service h3,
.emph {
  text-wrap: balance;
}

p, li, cite, address,
.lede,
.issue__body p,
.flow p,
.opening p,
.disclaimer,
.site-footer__base p {
  text-wrap: pretty;
}

/* Keeps the final two words of a short display line together so no single word
   is ever stranded, at any viewport, where balance/pretty can't resolve it.
   Released below 430px: an unbreakable long pair would otherwise overflow a
   narrow phone. Orphans matter less there than a broken layout does. */
.nb { white-space: nowrap; }

/* Release only inside large display type, where an unbreakable pair can be
   wider than a narrow phone. Body-copy pairs are short enough to hold at any
   width, so they keep their nowrap. */
@media (max-width: 430px) {
  h1 .nb, h2 .nb, h3 .nb,
  .h-display .nb, .h-section .nb, .h-card .nb,
  .hero__kicker .nb {
    white-space: normal;
  }
}

/* An authored line break for short display copy. Suppressed on narrow screens,
   where the text needs every line it can get and the break would strand a word. */
.br-wide { display: inline; }
@media (max-width: 560px) { .br-wide { display: none; } }

/* ==========================================================================
   Get Involved — two columns so the band uses its full width, with the ways
   to help as tappable rows rather than a thin bulleted list.
   ========================================================================== */

.involve {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.involve__intro .lede { margin-bottom: 1.5rem; }
/* sized to the two-column measure so "Neighborhood Campaign." stays whole */
.involve__intro h2 { font-size: clamp(1.55rem, 3.1vw, 2.4rem); }

.ways__heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 1.15rem;
  text-wrap: balance;
}

.ways__label { flex: 1; }   /* one text flex item, so inner spans can't pick up the row gap */

.ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  counter-reset: way;
}
.ways li {
  counter-increment: way;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ways li:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateX(4px);
}
.ways li::before {
  content: counter(way);
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red-dark);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

/* This heading is sized small enough on phones that the pair still fits
   (measured: 326px into 335px), so it opts out of the narrow-screen release. */
@media (max-width: 430px) {
  .involve__intro h2 .nb { white-space: nowrap; }
}

/* ==========================================================================
   Signup — the single conversion point on the site. Markup is shaped for a
   Mailchimp embed: swap the form action, keep the field names Mailchimp
   expects (EMAIL / FNAME), and drop in the honeypot div it generates.
   ========================================================================== */

.signup { margin-top: 2rem; max-width: 34rem; }

.signup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.signup__row input {
  flex: 1 1 12rem;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 14px 16px;
}
.signup__row input::placeholder { color: #8b8f9e; }
.signup__row input:focus-visible { outline: none; border-color: var(--red); }
.signup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.signup__note {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.9rem;
}
.signup__note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Mailchimp's own honeypot wrapper, kept off-screen */
.signup__hp { position: absolute; left: -5000px; }

/* closing sign-off ---------------------------------------------------------- */

.closing__head { max-width: 34rem; }

.creed {
  list-style: none;
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.creed li {
  border-top: 3px solid var(--red);
  padding-top: 1.05rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
  text-wrap: balance;
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* opening blurb (Meet Taso) ------------------------------------------------ */

.opening-band {
  background: var(--white);
  text-align: center;
  padding-block: clamp(2rem, 3.5vw, 3rem);
}

.opening { max-width: 60rem; margin-inline: auto; }

/* full-width reading column for sections with no accompanying image */
.flow { max-width: 60rem; }
.opening__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

/* Meet Taso closing --------------------------------------------------------- */

.closing__lede {
  max-width: 46rem;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.62;
}
.closing__tagline {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: #ffd8da;
  text-wrap: balance;
}

/* Interior hero with no photograph. Deep navy so it still steps away from the
   brand-navy opening band directly beneath it. */
.page-hero--solid { background: var(--navy-deep); }
.page-hero--solid::after { content: none; }


/* signature on a light background ------------------------------------------ */

.sig-line {
  margin-top: 1.9rem;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--navy);
}
.sig-line small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
