/* ============================================================
   AARON CLITE FOR MISSOURI STATE REP — DISTRICT 81
   Bold American campaign design system
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --navy:      #0a1c3f;
  --navy-800:  #0d2451;
  --navy-700:  #133069;
  --blue:      #1e40af;   /* royal — matches logo */
  --blue-600:  #2456c9;
  --red:       #d61f2b;   /* campaign red */
  --red-600:   #e11d2a;
  --red-700:   #b3121f;
  --cream:     #f7f4ed;   /* warm off-white, not stark template white */
  --cream-200: #efe9dc;
  --white:     #ffffff;
  --ink:       #11161f;
  --slate:     #4a5365;
  --line:      rgba(10, 28, 63, 0.12);
  --gold:      #f2b705;

  /* Type */
  --f-display: "Anton", "Oswald", Impact, sans-serif;
  --f-head:    "Oswald", "Arial Narrow", sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(10, 28, 63, 0.10);
  --shadow-md: 0 18px 50px rgba(10, 28, 63, 0.18);
  --shadow-lg: 0 30px 80px rgba(10, 28, 63, 0.28);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Reusable layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1360px; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #ff5663; }
.eyebrow--light::before { background: #ff5663; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1.display { font-size: clamp(2.7rem, 7vw, 5.6rem); }
h2.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  letter-spacing: 0.01em;
}
h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.1; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.6; }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-cream { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
  padding: 1.05rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 10px 24px rgba(214, 31, 43, 0.28);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(214, 31, 43, 0.4); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 10px 24px rgba(10, 28, 63, 0.3); }
.btn--navy:hover { box-shadow: 0 16px 32px rgba(10, 28, 63, 0.42); }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--navy);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none;
}
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn--lg { padding: 1.2rem 2.1rem; font-size: 1.05rem; }
.btn--sm { padding: 0.75rem 1.15rem; font-size: 0.82rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Stars & stripe motifs ---------- */
.stripe-bar {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg, var(--red) 0 24px, #fff 24px 48px, var(--navy) 48px 72px, #fff 72px 96px);
}
.star {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--star-mask) center/contain no-repeat;
          mask: var(--star-mask) center/contain no-repeat;
}
:root {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .8l3.09 6.26 6.91 1-5 4.87 1.18 6.87L12 16.5l-6.18 3.25L7 12.93l-5-4.87 6.91-1z'/%3E%3C/svg%3E");
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--navy);
  color: #cdd6e8;
  font-family: var(--f-head);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .topbar__tag { display: inline-flex; align-items: center; gap: .5rem; color: #ff5663; font-weight:600; }
.topbar .topbar__right { display: inline-flex; align-items: center; gap: 1.4rem; }
.topbar .topbar__right a { display:inline-flex; align-items:center; gap:.4rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: height .25s ease; }
.is-stuck .brand img { height: 52px; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--f-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 0.6rem 0.85rem;
  border-radius: 7px;
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.42rem;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover { color: var(--red); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--red); }

.nav__links .mobile-cta { display: none; }
.nav__cta { display: flex; align-items: center; gap: 0.7rem; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 2px solid var(--navy);
  border-radius: 9px;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2.4px; background: var(--navy);
  transform: translate(-50%,-50%); transition: .25s ease;
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
body.menu-open .nav__toggle span::after  { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* angled blue field */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(36,86,201,.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, #0a1834 100%);
  z-index: -2;
}
.hero::after {
  /* faint star field */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--star-mask);
  opacity: .04;
  background-repeat: repeat;
  background-size: 60px;
  z-index: -1;
  -webkit-mask: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: min(82vh, 760px);
}
.hero__copy { padding-block: clamp(2.5rem, 6vw, 4.5rem); align-self: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--red); color: #fff;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem;
  padding: .5rem 1rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.hero__badge .star { width: .85em; height: .85em; color: var(--gold); }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .line2 { color: #fff; }
.hero h1 .accent {
  display: inline-block;
  color: #fff;
  background: var(--red);
  padding: 0 .25em;
  transform: skew(-6deg);
  box-shadow: 6px 6px 0 rgba(0,0,0,.18);
}
.hero__tag {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #d7e0f3;
  max-width: 34ch;
  font-style: italic;
  border-left: 4px solid var(--red);
  padding-left: 1.1rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

/* hero photo */
.hero__media { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero__media::before {
  content: "";
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 120%; height: 78%;
  background: linear-gradient(180deg, transparent, rgba(214,31,43,.0) 40%, rgba(214,31,43,.85));
  -webkit-clip-path: polygon(8% 18%, 100% 0, 92% 100%, 0 100%);
          clip-path: polygon(8% 18%, 100% 0, 92% 100%, 0 100%);
  background: var(--red);
  opacity: .9;
  z-index: 0;
}
.hero__photo {
  position: relative; z-index: 1;
  width: min(100%, 460px);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px 18px 0 0;
  align-self: flex-end;
  box-shadow: var(--shadow-lg);
}
.hero__chip {
  position: absolute; z-index: 2;
  left: -8px; bottom: 42px;
  background: #fff; color: var(--navy);
  border-radius: 12px; padding: .8rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-family: var(--f-head);
  display: flex; align-items: center; gap: .7rem;
  transform: rotate(-3deg);
}
.hero__chip .big { font-family: var(--f-display); font-size: 1.8rem; color: var(--red); line-height: 1; }
.hero__chip small { display:block; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; color: var(--slate); font-weight:600; }

/* countdown */
.countdown {
  display: flex; gap: .6rem; flex-wrap: wrap;
}
.countdown__item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: .6rem .9rem; min-width: 72px; text-align: center;
}
.countdown__num { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: #fff; }
.countdown__label { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; color: #9fb0d0; margin-top: .35rem; }
.countdown__lead { font-family: var(--f-head); text-transform: uppercase; letter-spacing:.14em; font-size:.75rem; color:#ff5663; margin-bottom:.6rem; display:flex; align-items:center; gap:.5rem;}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-block: 4px solid var(--navy);
}
.marquee__track {
  display: flex; gap: 2.5rem; width: max-content;
  padding-block: .7rem;
  animation: marquee 32s linear infinite;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .04em;
  align-items: center;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee .star { width: .8em; height: .8em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   "AARON STANDS FOR" STRIP
   ============================================================ */
.stands { background: var(--white); border-bottom: 1px solid var(--line); }
.stands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stands__item {
  background: #fff; padding: 1.8rem 1.2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  transition: background .2s ease, transform .2s ease;
}
.stands__item:hover { background: var(--cream); }
.stands__ico {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.12);
}
.stands__item:nth-child(odd) .stands__ico { background: var(--red); }
.stands__ico svg { width: 26px; height: 26px; }
.stands__item p {
  font-family: var(--f-head); font-weight: 600; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; color: var(--navy);
}

/* ============================================================
   GENERIC SECTION HELPERS
   ============================================================ */
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .lede { color: #c3cfe6; }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .section-title { margin-top: .7rem; }
.section-head p { margin-top: 1rem; }

/* angled divider */
.angled-top { clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); margin-top: -3vw; padding-top: calc(clamp(4rem,8vw,7.5rem) + 3vw); }

/* ============================================================
   ABOUT / SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5; object-fit: cover;
}
.split__media .frame-accent {
  position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border: 4px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.split__media .frame-accent.blue { border-color: var(--blue); inset: -18px auto auto -18px; }
.prose p { margin-top: 1.15rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose p:first-child { margin-top: 0; }
.signoff { font-family: var(--f-display); color: var(--red); font-size: 1.5rem; text-transform: none; margin-top: 1.2rem; }

/* pull quote */
.pullquote {
  position: relative;
  font-family: var(--f-head); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.32; color: #fff;
  max-width: 900px;
}
.pullquote::before {
  content: "\201C";
  font-family: Georgia, serif; font-size: 6rem; color: var(--red);
  line-height: 0; position: absolute; top: .35em; left: -.15em; opacity: .5;
}
.pullquote cite { display:block; margin-top: 1.4rem; font-family: var(--f-head); font-style: normal; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: #ff5663; }

/* ============================================================
   ISSUE CARDS
   ============================================================ */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.issue-card {
  background: #fff; border-radius: var(--radius);
  padding: 2.2rem 1.9rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.issue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.issue-card__num {
  font-family: var(--f-display); font-size: 4.5rem; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--cream-200);
  position: absolute; top: 1rem; right: 1.2rem; z-index: 0;
}
.issue-card__bar { width: 52px; height: 5px; background: var(--red); border-radius: 4px; margin-bottom: 1.1rem; }
.issue-card:nth-child(2) .issue-card__bar { background: var(--blue); }
.issue-card h3 { font-size: 1.5rem; color: var(--navy); position: relative; z-index: 1; margin-bottom: .8rem; }
.issue-card p { color: var(--slate); font-size: .98rem; position: relative; z-index: 1; }
.issue-card .card-link {
  margin-top: auto; padding-top: 1.3rem;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .82rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .4rem;
}
.issue-card .card-link .arrow { transition: transform .18s ease; }
.issue-card:hover .card-link .arrow { transform: translateX(4px); }

/* full issue blocks (issues page) */
.issue-block {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.issue-block:first-of-type { border-top: none; }
.issue-block__index {
  font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); line-height: .85;
  color: var(--red); position: sticky; top: 110px;
}
.issue-block:nth-of-type(2) .issue-block__index { color: var(--blue); }
.issue-block:nth-of-type(3) .issue-block__index { color: var(--navy); }
.issue-block h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 1.2rem; text-transform: uppercase; }
.issue-block p { margin-top: 1rem; color: var(--slate); }
.issue-block p:first-of-type { margin-top: 0; }

/* stands list (issues hero) */
.stands-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.stands-list li {
  display: flex; align-items: center; gap: .9rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 1rem 1.2rem;
  font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; line-height: 1.25;
}
.stands-list .check {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.stands-list .check svg { width: 16px; height: 16px; }

/* ============================================================
   STATS / NEIGHBORHOODS BAND
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat__num { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; line-height: 1; }
.stat__num .text-red { color: #ff5663; }
.stat__label { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: #aebbd6; margin-top: .6rem; font-size: .9rem; }

.hoods {
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center;
}
.hoods li {
  font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(.95rem, 2.2vw, 1.45rem); color: #fff;
  padding: .3rem .2rem;
}
.hoods li::after { content: "★"; color: var(--red); margin-left: .85rem; font-size: .7em; vertical-align: middle; }
.hoods li:last-child::after { content: ""; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 1; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--red);
  color: #fff;
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--star-mask); -webkit-mask: none;
  background-size: 90px; opacity: .06;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(255,255,255,.92); margin-inline: auto; max-width: 620px; }
.cta-band .btn--ghost-light:hover { color: var(--red); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: clamp(1.8rem, 4vw, 3rem);
  border-top: 6px solid var(--red);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.3rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: .78rem; color: var(--navy);
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem;
  padding: .85rem 1rem; border: 1.5px solid var(--line);
  border-radius: 9px; background: var(--cream); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(30,64,175,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: .7rem; }
.check-pill {
  display: flex; align-items: center; gap: .65rem;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem;
  background: var(--cream); cursor: pointer; transition: border-color .15s, background .15s;
  font-weight: 500; font-size: .95rem;
}
.check-pill:hover { border-color: var(--blue); }
.check-pill input { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.check-pill:has(input:checked) { border-color: var(--red); background: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 1rem; }
.form-success {
  display: none; text-align: center; padding: 1.5rem;
}
.form-success.show { display: block; animation: pop .4s ease; }
.form-success .check-big {
  width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; margin: 0 auto 1.2rem;
}
.form-success h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: .6rem; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* inline newsletter */
.newsletter { display: flex; gap: .7rem; flex-wrap: wrap; max-width: 520px; }
.newsletter input { flex: 1 1 240px; padding: 1rem 1.1rem; border-radius: 9px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: 1rem; }
.newsletter input::placeholder { color: #b9c6e2; }
.newsletter input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.16); }

/* ============================================================
   UPDATES / NEWS
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .7rem; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--red); }
.tag { background: var(--cream); color: var(--navy); padding: .25rem .6rem; border-radius: 100px; }
.post-card h3 { font-size: 1.35rem; color: var(--navy); line-height: 1.18; }
.post-card p { color: var(--slate); font-size: .96rem; }

.featured-post {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--navy); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); color: #fff;
}
.featured-post img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.featured-post__body { padding: clamp(1.8rem, 4vw, 3rem); align-self: center; }
.featured-post__body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .8rem 0 1rem; }
.featured-post__body p { color: #c3cfe6; }

.empty-state {
  text-align: center; max-width: 560px; margin-inline: auto;
  background: #fff; border: 2px dashed var(--line); border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem);
}
.empty-state .star { color: var(--red); font-size: 2.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #b8c4dd; }
.footer__top { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { height: 52px; width: auto; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.footer__brand p { font-size: .95rem; max-width: 32ch; }
.footer__col h4 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: #fff; margin-bottom: 1.1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer__col a { font-size: .95rem; transition: color .15s; }
.footer__col a:hover { color: #ff5663; }
.footer__cta .btn { width: 100%; justify-content: center; margin-bottom: .8rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .15s, transform .15s;
}
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.8rem; font-size: .82rem; color: #8b9bbd;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
}
.footer__legal .disclaimer { max-width: 70ch; line-height: 1.55; }
.footer__legal a { color: #b8c4dd; }
.footer__legal a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 120% at 90% 0%, rgba(36,86,201,.5), transparent 55%);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: var(--red); opacity: .12; border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-top: .6rem; }
.page-hero .lede { color: #c8d4ec; max-width: 60ch; margin-top: 1rem; }
.breadcrumb { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #8fa3c8; display: flex; gap: .6rem; align-items: center; }
.breadcrumb a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .stands__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { height: 58px; }
  .is-stuck .brand img { height: 50px; }
  /* The header's backdrop-filter creates a containing block that would trap the
     fixed drawer inside the header's height. Disable it on mobile so the slide-out
     menu can fill the whole screen and show every link. */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 2rem) 1.5rem 2rem; gap: .3rem;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg); z-index: 95; overflow-y: auto;
  }
  body.menu-open .nav__links { transform: none; }
  .nav__links a { display: block; color: #fff; font-size: 1.15rem; padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: #ff5663; }
  .nav__links .mobile-cta { margin-top: 1.2rem; display: block; }
  .nav__toggle { display: block; }
  .nav__cta .btn--header { display: none; }
  .menu-backdrop {
    position: fixed; inset: 0; background: rgba(7,16,36,.55); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
  }
  body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; min-height: 0; }
  .hero__photo { width: min(78%, 340px); aspect-ratio: 3/4; }
  .hero__copy { padding-bottom: 1rem; text-align: left; }
  .hero__chip { left: 6%; }

  .split { grid-template-columns: 1fr; align-items: start; }
  .split--reverse .split__media { order: -1; }
  .split__media img { aspect-ratio: 16/11; }
  /* mobile: tighten the big gap before the 2nd bio block (desktop keeps 3rem) */
  .split + .prose { margin-top: 1.25rem !important; }
  .issue-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post img { min-height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .stands__grid { grid-template-columns: 1fr 1fr; }
  .issue-grid, .post-grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .issue-block { grid-template-columns: 1fr; gap: .4rem; }
  .issue-block__index { position: static; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero h1 .accent { box-shadow: 4px 4px 0 rgba(0,0,0,.18); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}
