/* Michelle Salzman campaign — styled to match the live campaign site:
   bold red + navy + white, Montserrat display caps, Open Sans body. */

:root {
  --red: #E11B22;
  --red-700: #B5141A;
  --navy: #15233F;
  --navy-900: #0E1830;
  --navy-700: #1E3358;
  --ink: #20242E;
  --text: #33373F;
  --muted: #6A7080;
  --paper: #FFFFFF;
  --gray: #F2F3F5;
  --line: #E2E4E8;

  --display: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, sans-serif;
  --wrap: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--body); font-size: 1.05rem; line-height: 1.7;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 3px; transition: top .15s ease; }
.skip-link:focus { top: 1rem; }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 3px solid #ffd34d; outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: .92rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: .8rem 1.6rem; min-height: 44px; border: 0; border-radius: 3px;
  background: var(--bg); color: var(--fg); transition: background .15s ease, transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { --bg: var(--red); } .btn-red:hover { background: var(--red-700); }
.btn-navy { --bg: var(--navy); } .btn-navy:hover { background: var(--navy-900); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .8rem; min-height: 38px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topline { height: 5px; background: var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; color: var(--navy); text-decoration: none; }
.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { font-family: var(--display); font-weight: 600; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); text-decoration: none; padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav-menu a:not(.btn):hover { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(96deg, rgba(14,24,48,.96) 0%, rgba(14,24,48,.90) 38%, rgba(14,24,48,.60) 68%, rgba(14,24,48,.28) 100%),
    url("/img/hero-speaking.jpeg");
  background-size: cover; background-position: center 22%;
}
.hero-inner { padding-block: clamp(4rem, 11vw, 8.5rem); }
.hero-eyebrow, .hero-head, .hero-body { max-width: 42rem; }
.hero-eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.78rem, 1.5vw, .95rem); color: var(--red); margin: 0 0 1rem; }
.hero-head { font-weight: 900; text-transform: uppercase; color: var(--red); font-size: clamp(2.8rem, 8.5vw, 5.6rem); letter-spacing: .005em; margin: 0 0 1.4rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-body { color: rgba(255,255,255,.92); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 34rem; margin: 0 0 1.8rem; }

/* ---------- Bands (navy / red full-width) ---------- */
.band { color: #fff; }
.band-navy { background: var(--navy); }
.band-red { background: var(--red); }
.band-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 .4rem; }
.joinband-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.joinband-copy p { margin: 0; color: rgba(255,255,255,.85); }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; position: relative; }
.inline-form input:not(.hp) {
  flex: 1 1 9rem; min-width: 0; font-family: var(--body); font-size: 1rem; padding: .75rem .9rem;
  border: 0; border-radius: 3px; background: #fff; color: var(--ink);
}
.inline-form .btn { flex: 0 0 auto; }
.inline-form .form-msg { flex-basis: 100%; }

.contribute-inner { text-align: center; padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.contribute-inner p { max-width: 46rem; margin: 0 auto 1.4rem; color: rgba(255,255,255,.92); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-head { max-width: 60ch; margin-bottom: 2.2rem; }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--red); margin: 0 0 .5rem; }
.eyebrow.light { color: #ff5a60; }
.section-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.9rem, 4.4vw, 3rem); color: var(--navy); }
.section-title.light { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: .8rem; }

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-copy .section-title { margin-bottom: 1.1rem; }
.about-copy strong { color: var(--navy); }
.about-media img { width: min(420px, 92%); margin-inline: auto; filter: drop-shadow(0 14px 26px rgba(21,35,63,.2)); }

/* ---------- Record ---------- */
.record { background: var(--gray); }
.record-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.record-list li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: 3px; padding: 1.1rem 1.5rem; }
.record-text { display: flex; align-items: baseline; gap: 1rem; min-width: 0; }
.record-year { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 1.3rem; flex: 0 0 auto; }
.record-text a { font-family: var(--display); font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.08rem; }
.record-text a:hover { color: var(--red); text-decoration: underline; }

/* ---------- Photo band ---------- */
.photo-band { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.photo-band figure { margin: 0; height: clamp(220px, 26vw, 360px); overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

/* ---------- Issues ---------- */
.issues { background: var(--navy); }
.issues-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.issues-extra { color: rgba(255,255,255,.82); font-size: .98rem; margin-top: 1rem; }
.issues-extra strong { color: #fff; font-family: var(--display); }
.issues-list { list-style: none; margin: 0; padding: 0; }
.issues-list li {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.3rem, 3vw, 2rem); color: #fff; background: var(--red);
  padding: 1rem 1.4rem; border-radius: 3px; margin-bottom: .7rem;
  border-left: 6px solid rgba(255,255,255,.6);
}
.issues-list li:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-info li { display: grid; }
.contact-info span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--red); margin-bottom: .15rem; }
.contact-form { background: var(--gray); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 4px; padding: 1.6rem 1.5rem; }
.contact-form label { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .76rem; color: var(--navy); margin: .9rem 0 .3rem; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink); padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 3px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(30,51,88,.16); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn-block { margin-top: 1.2rem; }

/* shared form bits */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: .7rem 0 0; font-size: .92rem; font-weight: 700; min-height: 1.2em; }
.form-msg.ok { color: #7CFFA0; }
.form-msg.err { color: #FFC2C2; }
.contact-form .form-msg.ok { color: #1c7a3e; }
.contact-form .form-msg.err { color: var(--red-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-sign img { width: 100%; max-width: 30rem; }
.site-footer h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: #fff; margin-bottom: .7rem; }
.footer-contact p { margin: 0 0 .6rem; font-size: .98rem; }
.footer-contact a { color: #ff8a8f; }
.footer-social a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-contact .btn { margin-top: .6rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; }
.disclaimer { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; max-width: 70ch; }
.copy { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .joinband-inner, .about-grid, .issues-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media img { width: min(300px, 70%); }
  .issues-intro { order: 1; }
}
@media (max-width: 600px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .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); }
  .nav-menu { position: absolute; top: 69px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .25rem 1.25rem 1.1rem; box-shadow: 0 14px 30px -18px rgba(21,35,63,.4); display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-top: 1px solid var(--line); }
  .nav-menu a:not(.btn) { display: block; padding: .9rem 0; }
  .nav-cta { border-top: 0 !important; margin-top: .8rem; }
  .nav-cta .btn { width: 100%; }
  .photo-band { grid-template-columns: 1fr; }
  .record-list li { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .footer-legal { flex-direction: column; }
}
