/* Julie Leonardi campaign site — main stylesheet.
   Brand: red, navy, white, and warm local photo accents. */

:root {
  --red: #DF3C3C;
  --red-dark: #B62A2A;
  --red-light: #ef5555;
  --navy: #04527F;
  --black: #141414;
  --ink: #141414;
  --gray-900: #0f1d32;
  --gray-700: #3d3d3d;
  --gray-500: #737373;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --cream: #fafaf7;
  --focus: #ffb800;
  --max: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.15);
  --font-head: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a { color: var(--white); text-decoration: underline; }
.section--red { background: var(--red); color: var(--white); }
.section--red h1, .section--red h2, .section--red h3 { color: var(--white); }
.section--cream { background: var(--cream); }

/* ----- top bar + header ----- */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .03em;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.topbar a { color: var(--white); }
.topbar .social { display: flex; gap: 14px; }
.topbar .social a { opacity: .85; }
.topbar .social a:hover { opacity: 1; }

.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}
.brand__logo {
  height: 62px;
  width: auto;
  display: block;
}
.brand__mark {
  width: 56px; height: 56px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; }
.brand__sub  { font-size: .78rem; color: var(--gray-500); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--gray-100); text-decoration: none; }
.nav a.is-active { color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span {
  display: block; width: 28px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px;
}

/* ----- buttons ----- */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 14px 24px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .08s ease, background .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 18px 32px; font-size: 1.15rem; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--red); }
/* Ghost buttons inside light-background containers need dark text */
.admin-main .btn--ghost,
.section--cream .btn--ghost,
.card .btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.admin-main .btn--ghost:hover,
.section--cream .btn--ghost:hover,
.card .btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark:hover { background: #061020; border-color: #061020; }
.btn--block { display: block; width: 100%; text-align: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- hero ----- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 60%, var(--red) 100%);
  color: var(--white);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 20px);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .9rem;
  background: var(--white);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  max-width: 14ch;
}
.hero__tag {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 44ch;
  margin-bottom: 30px;
  opacity: .95;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--split { padding: 80px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero__portrait {
  position: relative;
}
.hero__portrait img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 6px var(--white), 0 0 0 10px var(--red);
  margin-left: auto;
  display: block;
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__portrait img { max-width: 320px; margin: 0 auto; }
  .hero--split { padding: 56px 0 72px; }
}

/* ----- cards & grids ----- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--red); margin-top: 0; }
.card--accent { border-top: 4px solid var(--red); }

/* Platform planks */
.plank {
  background: var(--white);
  border-left: 6px solid var(--red);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.plank h3 { margin: 0 0 10px; color: var(--black); }
.plank ul { margin: 0; padding-left: 22px; }
.plank ul ul { margin-top: 6px; }

/* Event cards */
.event {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.event__img {
  background: var(--gray-100) center/cover no-repeat;
  min-height: 200px;
}
.event__body { padding: 24px; }
.event__date {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 12px;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-radius: 3px;
}
.event__title { margin: 6px 0; }
.event__meta { color: var(--gray-500); font-size: .93rem; margin-bottom: 14px; }

/* Forms */
.form { max-width: 640px; }
.form--wide { max-width: 860px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(223,60,60,.22);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--inline { display: flex; gap: 16px; }
.field--inline > div { flex: 1; }
.field__help { font-size: .85rem; color: var(--gray-500); margin-top: 4px; }
.checkboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.checkboxes label {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: none;
  font-size: .95rem;
  letter-spacing: 0;
  margin: 0;
}
.checkboxes input { width: auto; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 4px solid;
}
.alert--success { background: #ecfdf5; border-color: #059669; color: #065f46; }
.alert--error   { background: #fef2f2; border-color: #dc2626; color: #991b1b; }
.alert--info    { background: #eff6ff; border-color: #2563eb; color: #1e40af; }

/* Donation amount picker */
.amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.amounts label {
  background: var(--white);
  border: 2px solid var(--gray-300);
  padding: 16px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .12s;
}
.amounts input { display: none; }
.amounts input:checked + span { }
.amounts label:has(input:checked) { border-color: var(--red); background: var(--red); color: var(--white); }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 28px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #d4d4d4; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .grid { gap: 40px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer .social a {
  display: inline-block;
  width: 38px; height: 38px;
  border: 1px solid #444;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 8px;
}
.site-footer__legal {
  border-top: 1px solid #2a2a2a;
  margin-top: 48px;
  padding-top: 24px;
  font-size: .85rem;
  color: #888;
  text-align: center;
}

/* Map */
#district-map {
  width: 100%;
  height: 560px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.district-static {
  margin: 0;
  padding: 0;
}
.district-static img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: block;
  margin: 0 auto;
}
.district-static figcaption {
  text-align: center;
  font-size: .9rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* District list */
.district-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.district-list h3 {
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* Voter info */
.voter-dates {
  display: grid;
  gap: 14px;
}
.voter-dates li {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  list-style: none;
  box-shadow: var(--shadow-sm);
}

/* Endorsement grid */
.endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
/* Inline "See the district map" link under the hero eyebrow */
.hero__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px 12px;
  color: rgba(255,255,255,.92);
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  vertical-align: middle;
}
.hero__map-link:hover { color: #fff; text-decoration: underline; }
.hero__map-link svg { color: var(--white); }

/* Responsive 16:9 video frame for embedded YouTube */
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.endorsement {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  /* Center contents so cards without photos don't look top-heavy when their
     row's tallest neighbor has a big photo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.endorsement img {
  /* Inline max-height (set per-endorsement via admin) overrides this default */
  max-height: 80px;
  width: auto;
  margin: 0 auto 14px;
  object-fit: contain;
}
.endorsement__name { font-family: var(--font-head); font-size: 1.1rem; }
.endorsement__title { color: var(--gray-500); font-size: .9rem; }
.endorsement__quote { font-style: italic; margin-top: 12px; }

/* Bio layout */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.bio-layout .prose p { font-size: 1.05rem; }
.bio-layout .prose p + p { margin-top: 1.1em; }
.bio-layout--with-photo {
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.bio-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  outline: 4px solid var(--red);
}
@media (max-width: 820px) {
  .bio-layout--with-photo { grid-template-columns: 1fr; }
  .bio-photo img { max-width: 260px; margin: 0 auto; }
}

/* Homepage photo card */
.card--photo { text-align: center; }
.card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 14px;
  display: block;
  border: 4px solid var(--white);
  outline: 3px solid var(--red);
}
.bio-layout--with-photo {
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.bio-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  outline: 4px solid var(--red);
}
@media (max-width: 820px) {
  .bio-layout--with-photo { grid-template-columns: 1fr; }
  .bio-photo img { max-width: 280px; margin: 0 auto; }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
.muted { color: var(--gray-500); }
.small { font-size: .88rem; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 999px;
}

/* Admin */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--black);
  color: var(--white);
  padding: 24px 0;
}
.admin-sidebar .brand { color: var(--white); padding: 0 24px 20px; border-bottom: 1px solid #2a2a2a; margin-bottom: 20px; }
.admin-sidebar .brand__name { color: var(--white); }
.admin-sidebar .brand__sub { color: #888; }
.admin-sidebar nav a {
  display: block;
  padding: 12px 24px;
  color: #ccc;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .04em;
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { background: #0c1e36; color: var(--white); text-decoration: none; }
.admin-sidebar nav a.is-active { border-left-color: var(--red); background: #1c1c1c; color: var(--white); }
.admin-sidebar nav a:hover { background: #1c1c1c; color: var(--white); text-decoration: none; }
.admin-main { background: var(--gray-100); padding: 30px 40px; }
.admin-main h1 { text-transform: none; font-size: 1.8rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}
.stat__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.stat__value { font-family: var(--font-head); font-size: 2rem; color: var(--black); margin-top: 4px; }

.table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
table.data th { background: var(--gray-100); font-family: var(--font-head); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--gray-700); }
table.data tr:last-child td { border-bottom: 0; }
table.data a { color: var(--red); }
/* Buttons inside tables must keep their own text color (tables override links above) */
table.data a.btn { color: var(--white); }
table.data a.btn--ghost { color: var(--ink); }
table.data a.btn--ghost:hover { color: var(--white); }
.actions-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--danger { background: #dc2626; border-color: #dc2626; }
.btn--danger:hover { background: #991b1b; border-color: #991b1b; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .district-list { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event__img { min-height: 180px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 12px 0; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; }
  .admin-sidebar nav a { border-left: 0; border-bottom: 3px solid transparent; padding: 10px 16px; }
  .admin-main { padding: 20px; }
}
@media (max-width: 720px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--red);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 52px 0; }
  .topbar { display: none; }
}

/* Julie Leonardi retheme */
:root {
  --red: #df2828;
  --red-dark: #b91f28;
  --navy: #10264a;
  --black: #101827;
  --ink: #142033;
  --cream: #f7f4ee;
  --focus: #f3c33b;
}

.dev-banner {
  background: #f3c33b;
  color: #141414;
  font-family: var(--font-head);
  font-weight: 800;
  text-align: center;
  padding: 8px 14px;
}

.site-header {
  border-bottom-color: var(--red);
}

.site-header .container {
  min-height: 82px;
}

.brand__logo {
  height: 70px;
  max-width: 230px;
  object-fit: contain;
}

.cart-count {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  padding: 1px 7px;
  border-radius: 999px;
  vertical-align: middle;
}

.nav__donate {
  margin-left: 8px;
}

.nav__map {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  padding: 6px 10px !important;
  color: var(--ink) !important;
}

.nav__map:hover {
  background: var(--gray-100);
  text-decoration: none;
}

.nav__map-icon {
  color: var(--red);
  display: block;
}

.nav__map-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .04em;
  text-align: center;
}

.hero--julie {
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  padding: 92px 0;
  background: var(--black);
}

.hero--julie::before {
  display: none;
}

.hero__media,
.volunteer-band__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.volunteer-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero__shade,
.volunteer-band__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,24,39,.92) 0%, rgba(16,24,39,.74) 44%, rgba(16,24,39,.28) 72%, rgba(16,24,39,.12) 100%),
    linear-gradient(0deg, rgba(16,24,39,.45), transparent 46%);
}

.hero__content {
  position: relative;
  max-width: 680px;
}

.hero--page {
  background:
    linear-gradient(135deg, rgba(16,38,74,.95), rgba(223,40,40,.85)),
    url('/assets/roseville-mi-2.jpg') center/cover no-repeat;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 48px;
  align-items: center;
}

.feature-split--reverse {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
}

.feature-copy p,
.prose p {
  font-size: 1.05rem;
}

.image-card {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  background: var(--gray-100);
}

.image-card--portrait {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.priority-grid .card {
  min-height: 230px;
}

.district-feature {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1fr);
  gap: 38px;
  align-items: center;
}

.district-feature__map {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.volunteer-band {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: grid;
  align-items: center;
  color: #fff;
}

.volunteer-band h2,
.volunteer-band p {
  position: relative;
  color: #fff;
}

.volunteer-band p {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.donate-aside,
.donate-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.donate-aside {
  position: sticky;
  top: 112px;
}

.donate-aside__photo,
.contact-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.contact-card {
  position: sticky;
  top: 112px;
}

.field-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: 10px;
  display: block;
}

.btn--light {
  color: var(--ink);
  border-color: var(--ink);
}

.btn--light:hover {
  background: var(--ink);
  color: var(--white);
}

.district-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.district-modal.is-open {
  display: flex;
}

.district-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  cursor: pointer;
}

.district-modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  padding: 20px;
}

.district-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  z-index: 2;
}

.district-modal__close:hover {
  color: var(--red);
}

.district-modal h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.district-modal img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.district-modal__hint {
  text-align: center;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: .9rem;
}

@media (max-width: 960px) {
  .feature-split,
  .feature-split--reverse,
  .district-feature,
  .donate-layout {
    grid-template-columns: 1fr;
  }

  .donate-aside,
  .contact-card {
    position: static;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(16,24,39,.92), rgba(16,24,39,.58));
  }
}

@media (max-width: 720px) {
  .brand__logo {
    height: 58px;
    max-width: 180px;
  }

  .hero--julie {
    min-height: 700px;
    padding: 64px 0;
  }

  .hero__media img {
    object-position: 70% center;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(16,24,39,.94) 0%, rgba(16,24,39,.76) 62%, rgba(16,24,39,.35) 100%);
  }

  .hero__content {
    padding-top: 280px;
  }

  .field--inline {
    flex-direction: column;
    gap: 0;
  }
}
