/* =========================================================
   Jolyana Jirjees for School Board
   Campaign identity: Old Glory blue + red, civic type,
   squared edges, print-poster typography.
   ========================================================= */

:root {
  --navy:        #0a3161;   /* Old Glory Blue */
  --navy-deep:   #06203f;
  --navy-ink:    #041428;
  --navy-mid:    #14497f;
  --red:         #b31942;   /* Old Glory Red */
  --red-bright:  #d21f3c;
  --paper:       #f6f4ef;
  --paper-warm:  #efebe2;
  --white:       #ffffff;
  --ink:         #12181f;
  --muted:       #55606e;
  --line:        #d8d3c8;
  --line-soft:   #e7e3da;

  --shadow-sm:   0 2px 0 rgba(10, 49, 97, 0.10);
  --shadow-md:   0 14px 34px rgba(6, 32, 63, 0.16);
  --shadow-lg:   0 26px 60px rgba(6, 32, 63, 0.28);

  --t: 0.18s ease;

  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-ui: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; color: var(--white); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.04;
  margin: 0 0 0.4em;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Kicker / eyebrow --------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 14px;
}
.kicker.light { color: #ff9fb2; }
.section-head.center .kicker { justify-content: center; }

/* Solid five-point star, used as a small punctuation mark */
.star {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  flex: none;
}

/* --- Flag rule -----------------------------------------
   Solid red so it reads on both the navy and paper grounds —
   a banded gradient loses its navy segments against the hero. */
.flag-rule {
  height: 6px;
  background: var(--red);
}

/* =========================================================
   Utility bar
   ========================================================= */
.utility-bar {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.utility-bar p { margin: 0; }
.utility-vote {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
}
.utility-vote .star { color: var(--red-bright); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(4, 20, 40, 0.35); }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  flex: none;
}
.brand-mark svg { width: 24px; height: 24px; fill: var(--white); }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.brand-text em {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffc2ce;
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).active {
  color: var(--white);
  border-bottom-color: var(--red-bright);
}
.site-nav a.btn {
  padding: 9px 20px;
  border-bottom: 2px solid transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--white);
  margin: 5px auto;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn-sm { padding: 9px 18px; font-size: 0.78rem; }
.btn-lg { padding: 17px 34px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  color: var(--white);
}

.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

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

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 78px 0 0;
  overflow: hidden;
}
.hero-field {
  position: absolute;
  inset: 0;
  background:
    /* faint star field */
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.07) 0 1.6px, transparent 2px),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.05) 0 1.4px, transparent 2px),
    /* diagonal field wash */
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 48%, #0d3d78 100%);
  background-size: 260px 260px, 190px 190px, 100% 100%;
  pointer-events: none;
}
/* Red wedge behind the portrait — campaign-poster geometry.
   Only worth showing once the layout is two-column; on narrow
   screens the near-vertical edge reads as a stray band. */
.hero-field::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: var(--red);
  opacity: 0.13;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

/* The rule that closes the hero must sit above the absolute backdrop. */
.hero > .flag-rule { position: relative; z-index: 2; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 78px;
}

/* --- Name lockup (the yard sign) ----------------------- */
.lockup {
  display: flex;
  flex-direction: column;
  margin: 0 0 24px;
  color: var(--white);
  text-transform: uppercase;
}
.lockup-first {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.lockup-last {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9.6vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
  color: var(--white);
}
.lockup-office {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 18px 7px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.7vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.2;
}

.hero-copy .lead {
  font-size: 1.14rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-secondary { margin: 0 0 40px; }
.hero-link {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
}
.hero-link span { display: inline-block; transition: transform var(--t); }
.hero-link:hover { color: var(--white); border-bottom-color: var(--red-bright); }
.hero-link:hover span { transform: translateX(4px); }

.record-strip {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 560px;
}
.record-strip li {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.record-strip li:first-child { padding-left: 0; border-left: 0; }
.record-strip strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 6px;
}
.record-strip span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.35;
}

/* --- Portrait ------------------------------------------ */
.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(400px, 100%);
}
.portrait-block {
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 62%;
  height: 58%;
  background: var(--red);
  z-index: 0;
}
.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-deep);
  border: 7px solid var(--white);
  box-shadow: var(--shadow-lg);
}
/* Hairline over the photo: keeps the image edge readable when the headshot's
   own backdrop is light and would otherwise merge into the white border.
   Must be an overlay — an inset box-shadow paints under the <img>. */
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10, 49, 97, 0.18);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* Placeholder shown only when no headshot file resolves */
.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 50% 34%, #16508f 0%, var(--navy-deep) 72%);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 24px;
}
.portrait-frame.no-photo .portrait-placeholder { display: flex; }
.portrait-frame.no-photo img { display: none; }

.ph-stars { display: flex; gap: 9px; color: var(--red-bright); margin-bottom: 10px; }
.ph-stars .star { width: 14px; height: 14px; }
.ph-monogram {
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}
.ph-name {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 0;
}

.portrait-tag {
  position: relative;
  z-index: 2;
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 14px;
  border-top: 3px solid var(--red);
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 96px 0; position: relative; }
.section-paper { background: var(--paper); }
.section-band { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.84); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-navy .section-sub { color: rgba(255, 255, 255, 0.74); }

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-lede {
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 600;
  border-left: 4px solid var(--red);
  padding-left: 20px;
  margin-bottom: 26px;
}
.about-body p { color: var(--muted); }
.about-body em { color: var(--navy); font-style: italic; }

.fact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
}
.fact-card h3 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.fact-list { margin: 0; }
.fact-list > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fact-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list dt {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.fact-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.4;
}

/* =========================================================
   Priorities
   ========================================================= */
.priority-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.priority-card {
  position: relative;
  background: var(--navy);
  padding: 36px 32px 34px;
  transition: background var(--t);
}
.priority-card:hover { background: var(--navy-mid); }
.priority-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
}
.priority-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--red);
  margin-bottom: 20px;
}
.priority-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.priority-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
  padding-right: 46px;
}
.priority-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.97rem;
}

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
}
.timeline li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline-date {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 4px 0 0;
}
.timeline-body h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 3px;
}
.timeline-org {
  font-family: var(--font-ui);
  color: var(--navy-mid);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.timeline-body p:last-child { color: var(--muted); margin: 0; }

.education-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  padding: 38px 40px;
  box-shadow: var(--shadow-sm);
}
.education-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.education-list { list-style: none; padding: 0; margin: 0; }
.education-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.education-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.education-list strong { color: var(--navy); font-weight: 600; }
.education-list span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* =========================================================
   Recognition
   ========================================================= */
.awards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.award {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  padding: 36px 30px;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.award-year {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}
.award h3 { margin-bottom: 4px; font-size: 1.1rem; }
.award p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* =========================================================
   Get involved
   ========================================================= */
.involve-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}

.action-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.action-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  padding: 26px 28px;
  transition: border-left-color var(--t), box-shadow var(--t);
}
.action-card:hover { border-left-color: var(--red); box-shadow: var(--shadow-sm); }
.action-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--line);
  line-height: 1;
}
.action-card h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 6px; }
.action-card p { color: var(--muted); margin: 0 0 12px; font-size: 0.97rem; }
.action-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.action-link span { transition: transform var(--t); display: inline-block; }
.action-link:hover span { transform: translateX(4px); }

.signup-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 34px 32px;
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow-md);
}
.signup-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.signup-intro { color: rgba(255, 255, 255, 0.72); margin-bottom: 22px; font-size: 0.96rem; }
.signup-card label { display: block; margin-bottom: 16px; }
.signup-card label span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 7px;
}
.signup-card input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  transition: border-color var(--t), background var(--t);
}
.signup-card input:focus {
  outline: none;
  border-color: var(--red-bright);
  background: rgba(255, 255, 255, 0.12);
}
.signup-card input:user-invalid { border-color: #ff8ea3; }
.signup-card .btn { margin-top: 8px; }
.signup-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 12px 0 0;
}
.signup-success {
  margin: 14px 0 0;
  padding: 12px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li {
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background var(--t);
}
.contact-list li:hover { background: rgba(255, 255, 255, 0.11); }
.contact-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffb3c1;
  font-weight: 500;
}
.contact-list a,
.contact-list span:not(.contact-label) {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 500;
}
.contact-list a:hover { color: #ffb3c1; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.05fr;
  gap: 40px;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 44px;
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 8px;
}
.footer-brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #ffb3c1;
  margin-top: 7px;
}
.footer-tag { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.86rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.footer-nav a:hover { color: var(--white); }

.footer-meta { text-align: right; }
.disclosure {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
}
.footer-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

/* =========================================================
   Reveal on scroll (subtle)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
/* Between the nav collapsing (1020px) and the container hitting its max
   width, the inline nav crowds the wordmark — tighten its tracking instead
   of letting the two run into each other. */
@media (min-width: 1021px) and (max-width: 1140px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 0.8rem; letter-spacing: 0.09em; }
  .site-nav a.btn { padding: 9px 16px; }
}

@media (max-width: 1020px) {
  /* Single column: lift the portrait directly under the name lockup so the
     candidate's face is visible without scrolling past the whole pitch.
     `display: contents` promotes the copy's children to flex items so they
     can be ordered individually; the DOM order stays correct for readers. */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 64px;
  }
  .hero-copy { display: contents; }
  .hero-copy .kicker { order: 1; }
  .lockup { order: 2; margin-bottom: 32px; }
  .hero-portrait { order: 3; align-self: flex-start; margin-bottom: 44px; }
  .hero-copy .lead { order: 4; }
  .hero-ctas { order: 5; }
  .record-strip { order: 6; }

  .hero-field::after { display: none; }
  .about-grid,
  .involve-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-meta { text-align: left; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 8px 24px 22px;
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
  }
  .site-nav a:not(.btn):hover,
  .site-nav a:not(.btn).active { border-bottom-color: rgba(255, 255, 255, 0.12); }
  .site-nav a.btn { padding: 14px 20px; border-bottom: 0; }
  .nav-cta { margin-top: 18px; }
}

@media (max-width: 800px) {
  .utility-inner { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.66rem; }

  .section { padding: 72px 0; }
  .hero { padding-top: 56px; }

  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .timeline-date { margin-top: 0; }

  .education-block { padding: 30px 26px; }
  .education-list li { flex-direction: column; gap: 2px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero-ctas .btn { width: 100%; }
  .record-strip { grid-template-columns: 1fr; }
  .record-strip li {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .record-strip li:first-child { border-top: 0; }
  .record-strip strong { font-size: 1.5rem; margin-bottom: 0; }
  .portrait-block { left: -12px; bottom: -12px; }
  .priority-card { padding: 30px 24px; }
  .signup-card { padding: 28px 22px 26px; }
  .lockup-office { letter-spacing: 0.22em; }
}

/* =========================================================
   Motion & print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .utility-bar, .nav-toggle, .hero-ctas, .signup-card, .site-footer { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 24px 0; }
  .hero { background: #fff; color: #000; }
}
