/* Lee Murphy for U.S. Congress 2026 — static site styles */
:root {
  --navy: #0a2342;
  --navy-deep: #071a33;
  --red: #c8102e;
  --red-dark: #a10d25;
  --cream: #f7f5f0;
  --gray: #5a6472;
  --line: #e2e0d9;
  --max: 1120px;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
h2.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0 0 .4rem;
}
.section-title + .kicker { color: var(--gray); margin-top: 0; margin-bottom: 2rem; font-size: 1.05rem; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  text-decoration: none;
  padding: .8rem 1.8rem;
  border-radius: 3px;
  transition: transform .1s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .6rem; padding-bottom: .6rem; }
.site-header .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .03em;
  color: var(--navy);
  text-decoration: none;
}
.nav a:hover { color: var(--red); }
.nav .btn { padding: .5rem 1.1rem; color: #fff; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: var(--navy) url("../img/portraits/portrait-riverwalk-hero.jpg") center right / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,26,51,.78) 0%, rgba(7,26,51,.45) 42%, rgba(7,26,51,0) 75%);
}
.hero .wrap { position: relative; color: #fff; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  text-transform: uppercase;
  margin: 0 0 .5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero .tagline { font-size: clamp(1.15rem, 2.5vw, 1.6rem); max-width: 34ch; margin: 0 0 2rem; color: #eaf0f7; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Bio ---- */
.bio { padding: 4.5rem 0; background: var(--cream); }
.bio .grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; }
.bio img { border-radius: 6px; box-shadow: 0 12px 30px rgba(10,35,66,.18); }
.bio p { font-size: 1.12rem; }

/* ---- Issues ---- */
.issues { padding: 4.5rem 0; }
.issues .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow .15s ease, transform .1s ease;
}
.card:hover { box-shadow: 0 10px 26px rgba(10,35,66,.1); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; text-transform: uppercase; margin: 0 0 .5rem; color: var(--navy); }
.card p { margin: 0; color: var(--gray); font-size: 1rem; }

/* ---- Endorsements ---- */
.endorse { padding: 4.5rem 0; background: var(--navy); color: #fff; }
.endorse .section-title { color: #fff; }
.endorse .kicker { color: #b9c6d8; }
.quote {
  max-width: 760px; margin: 0 auto 2rem;
  font-size: 1.3rem; line-height: 1.5; text-align: center; font-style: italic;
}
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--red); font-size: 1rem; }
.endorse-logos { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }
.endorse-logos img { max-height: 220px; border-radius: 6px; }

/* ---- Get involved / signup ---- */
.involved { padding: 4.5rem 0; background: var(--cream); text-align: center; }
.involved p { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.12rem; }
.signup { display: flex; gap: .6rem; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.signup input {
  flex: 1 1 200px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 3px; font-size: 1rem; font-family: var(--font-body);
}

.donate-note {
  max-width: 48ch;
  margin: 1.3rem auto 0;
  padding: 1rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  color: var(--navy);
  font-size: 1.02rem;
  text-align: left;
}
.donate-note.flash { animation: noteflash 0.8s ease; }
@keyframes noteflash { from { background: #fdeef0; } to { background: #fff; } }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: #c3cede; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.site-footer a { color: #fff; }
.site-footer .logo img { height: 40px; margin-bottom: 1rem; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.4rem;
  color: #8fa0b6;
  font-size: .85rem;
}

/* ---- Responsive ---- */
@media (max-width: 800px) {
  .nav .nav-links { display: none; }
  .bio .grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .bio .grid .portrait { max-width: 340px; margin: 0 auto; }
  .hero { min-height: 70vh; }
  .hero::before { background: linear-gradient(180deg, rgba(7,26,51,.75) 0%, rgba(7,26,51,.88) 100%); }
}
