:root { color-scheme: light; --bg:#f8fafc; --card:#ffffff; --ink:#0f172a; --muted:#475569; --line:#dbe3f0; --brand:#1d4ed8; --brand-dark:#10224a; --brand-soft:#dbeafe; --brand-logo-width:300px; --brand-logo-max-height:82px; --brand-logo-offset-x:0px; --brand-logo-offset-y:0px; --hero-focal-x:50%; --hero-focal-y:0%; --headshot-focal-x:50%; --headshot-focal-y:22%; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: linear-gradient(180deg, #f8fbff, #eef4ff 42%, #f8fafc); }
[data-section-id] { scroll-margin-top: 128px; }
a { color: inherit; }
img { max-width: 100%; }
.hero-media, .story-preview-aside, .story-family-frame { min-width: 0; }
.container { width: min(1100px, calc(100% - 1.5rem)); margin: 0 auto; }
.narrow, .narrow-left { width: min(760px, 100%); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248,250,252,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(148,163,184,0.14); }
.header-inner { display: flex; align-items: center; gap: 1rem; justify-content: space-between; min-height: 96px; padding-block: 0.5rem; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.85rem; min-width: 0; }
.brand-text { display: inline-block; }
.brand-logo { display: block; width: min(var(--brand-logo-width), 100%); max-height: var(--brand-logo-max-height); height: auto; max-width: 100%; object-fit: contain; object-position: left center; transform: translate(var(--brand-logo-offset-x), var(--brand-logo-offset-y)); }
.nav { display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.donate-button { white-space: nowrap; margin-left: auto; padding-inline: 1.35rem; box-shadow: 0 14px 30px rgba(37,99,235,0.28); }
.donate-button[hidden],
.donation-widget-section[hidden] { display: none !important; }
.hero, .section { padding: 3.5rem 0; }
.hero-layout, .story-preview-layout, .contact-grid, .split-section, .feature-band, .donate-shell { display: grid; gap: 2rem; }
.hero-layout { grid-template-columns: 1fr; align-items: stretch; gap: 1.35rem; position: relative; }
.compact-copy h1 { max-width: 13ch; }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 1rem; }
.eyebrow, .section-kicker, .preview-label, .media-kicker { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: #2563eb; margin: 0 0 0.8rem; }
.hero-text, .section-lead, .muted, .section-note, .footer-copy, .footer-disclaimer, .footer-contact { color: var(--muted); line-height: 1.7; }
.hero-actions, .section-actions, .overview-action-row, .footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.donation-button-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap:0.85rem; width:100%; }
.donation-option { min-height:56px; width:100%; }
.donation-option:hover, .donation-option:focus-visible { transform: translateY(-1px); box-shadow: 0 18px 30px rgba(15,23,42,0.18); }
.donation-option:focus-visible { outline: 3px solid rgba(147,197,253,0.7); outline-offset: 2px; }
.donation-option-custom { background: rgba(255,255,255,0.12); color:#ffffff; border:1px solid rgba(255,255,255,0.28); }
.donation-option-custom:hover, .donation-option-custom:focus-visible { background: rgba(255,255,255,0.2); }
.btn, .btn-small, button, .overview-action-link { appearance: none; border: 0; border-radius: 999px; padding: 0.95rem 1.25rem; font-weight: 800; text-decoration: none; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 16px 30px rgba(37,99,235,0.25); }
.btn-secondary { background: #fff; color: #0f172a; border: 1px solid #cbd5e1; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.section-alt { background: rgba(255,255,255,0.74); }
.hero-media-card, .priority-card, .feature-band-card, .donate-card, .donate-copy, .contact-card, .join-shell { background: var(--card); border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 24px 60px rgba(15,23,42,0.08); }
.hero-media { order: -1; }
.hero-media-card { border-radius: 34px; min-height: 360px; width: 100%; overflow: hidden; display: grid; align-items: stretch; justify-content: stretch; position: relative; isolation: isolate; }
.hero-image { width: 100%; height: 100%; min-height: 360px; display: block; object-fit: cover; object-position: var(--hero-focal-x) var(--hero-focal-y); background: #dbeafe; }
.hero-media-fallback { padding: 2.1rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(191,219,254,0.2), rgba(255,255,255,0.98)); min-width: 0; }
.hero-media-fallback[hidden] { display:none !important; }
.join-shell { padding: 2rem; border-radius: 30px; background: linear-gradient(180deg, #10224a, #132f63 62%, #163872 100%); color: #ffffff; border: 1px solid rgba(147,197,253,0.22); box-shadow: 0 28px 70px rgba(15,23,42,0.2); display: grid; gap: 1.4rem; }
.join-shell-copy { display: grid; gap: 0.9rem; max-width: 44rem; }
.join-shell h2 { margin: 0; color: #ffffff; }
.join-shell .section-kicker { color: #93c5fd; margin-bottom: 0; }
.join-shell .section-lead { margin: 0; color: rgba(255,255,255,0.88); }
.join-movement-section[hidden] { display: none !important; }
.join-grid { display: grid; gap: 1rem; }
.join-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label span, legend { display: block; font-weight: 700; margin-bottom: 0.45rem; }
input, textarea, select { width: 100%; padding: 0.9rem 1rem; border-radius: 18px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink); font: inherit; }
.join-shell input,
.join-shell textarea,
.join-shell select { border-color: rgba(191,219,254,0.32); background: rgba(255,255,255,0.98); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
.join-shell input:focus,
.join-shell textarea:focus,
.join-shell select:focus { outline: 3px solid rgba(147,197,253,0.42); outline-offset: 2px; border-color: rgba(147,197,253,0.72); }
fieldset { border: 0; padding: 0; margin: 0; }
.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; margin: 1.3rem 0; }
.interest-grid label { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.interest-grid input { width: auto; padding: 0; }
.join-interest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.join-interest-grid label { padding: 0.95rem 1rem; border-radius: 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(191,219,254,0.18); color: rgba(255,255,255,0.94); align-items: flex-start; }
.join-interest-grid input { margin-top: 0.18rem; accent-color: #60a5fa; }
.join-consent-copy { color: rgba(255,255,255,0.88); }
.join-consent-copy textarea { min-height: 96px; resize: vertical; background: rgba(248,250,252,0.96); color: #334155; }
.join-actions { justify-content: flex-start; }
.join-actions .btn { min-width: 220px; }
.join-feedback { margin-bottom: 0; padding: 0.85rem 1rem; border-radius: 18px; font-weight: 700; }
.join-feedback.ok { background:#ecfdf5; color:#166534; border:1px solid #86efac; }
.join-feedback.error { background:#fef2f2; color:#b91c1c; border:1px solid #fca5a5; }
.feature-band { grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.72fr); align-items: stretch; }
.feature-band-card, .petition-status-card, .event-status-card { border-radius: 26px; padding: 1.6rem; }
.event-widget-section[hidden] { display: none !important; }
.event-widget-list { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; margin-top:1.5rem; }
.event-widget-card { background:var(--card); border:1px solid rgba(148,163,184,0.18); box-shadow: 0 24px 60px rgba(15,23,42,0.08); border-radius:26px; padding:1.6rem; display:grid; gap:0.85rem; }
.event-widget-card h3 { margin:0; color:#10224a; }
.event-widget-card p { margin:0; }
.event-widget-card .btn { margin-top:0.35rem; width:auto; justify-self:start; }
.event-widget-meta { color:var(--muted); font-size:0.95rem; line-height:1.6; }
.event-widget-meta strong { color:#10224a; }
.signature-progress-section[hidden] { display: none !important; }
.signature-progress-shell { display:grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr); gap:1.5rem; align-items:stretch; background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); border:1px solid #dbe4f3; border-radius:28px; padding:1.5rem; box-shadow: 0 24px 60px rgba(15,23,42,0.08); }
.signature-progress-copy { display:grid; gap:0.85rem; }
.signature-progress-count { font-size:1.1rem; font-weight:700; color:#10224a; margin:0; }
.signature-progress-note { margin:0; color:#475569; }
.signature-progress-card { border-radius:24px; background:linear-gradient(180deg, #10224a, #132f63); color:#ffffff; padding:1.35rem; display:grid; gap:1rem; box-shadow: 0 24px 60px rgba(15,23,42,0.16); }
.signature-progress-gauge { width:100%; height:14px; border-radius:999px; background:rgba(191,219,254,0.24); overflow:hidden; box-shadow:inset 0 0 0 1px rgba(191,219,254,0.18); }
.signature-progress-gauge-fill { width:0%; max-width:100%; height:100%; border-radius:999px; background:linear-gradient(90deg, #60a5fa 0%, #818cf8 100%); transition:width 180ms ease; }
.signature-progress-metric { display:grid; gap:0.35rem; }
.signature-progress-value { font-size:2rem; line-height:1; font-weight:800; }
.signature-progress-label { color:#dbeafe; font-weight:700; }
.signature-progress-meta { display:grid; gap:0.75rem; }
.signature-progress-meta div { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; border-top:1px solid rgba(219,234,254,0.18); padding-top:0.75rem; }
.signature-progress-meta div:first-child { border-top:none; padding-top:0; }
.signature-progress-meta strong { color:#dbeafe; font-size:0.95rem; }
.donate-card, .donate-copy, .contact-card { border-radius: 30px; padding: 2.1rem; }
.donate-card, .donate-copy, .contact-card { background: linear-gradient(180deg, #10224a, #132f63); color: #ffffff; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16); }
.donate-card h2, .donate-copy h2, .contact-card h2 { color: #ffffff; }
.donate-card .section-kicker, .donate-copy .section-kicker, .contact-card .section-kicker { color: #93c5fd; }
.donate-card .section-note, .donate-copy .section-note, .contact-card p, .contact-email-row, .contact-card a { color: rgba(255,255,255,0.88); }
.priority-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.75rem; }
.priority-card { border-radius: 24px; padding: 1.55rem; position: relative; overflow: hidden; }
.priority-card p { margin: 0.55rem 0 0; }
.card-index { display: inline-block; margin-bottom: 0.85rem; color: #2563eb; font-weight: 800; letter-spacing: 0.08em; }
.story-preview-layout { grid-template-columns: minmax(0, 1.06fr) minmax(230px, 0.74fr); align-items: center; gap: 2.15rem; }
.story-preview-aside { display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; }
.story-headshot-frame { width: min(100%, 252px); aspect-ratio: 1 / 1; border-radius: 999px; overflow: hidden; border: 8px solid #ffffff; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16); background: #dbeafe; display: grid; place-items: stretch; }
.story-headshot { width: 100%; height: 100%; display: block; border-radius: 999px; object-fit: cover; object-position: var(--headshot-focal-x) var(--headshot-focal-y); background: #dbeafe; }
.story-preview-caption:empty { display:none; }
.story-preview-caption { margin: 0; color: #475569; font-size: 0.95rem; text-align: center; max-width: 26ch; }
.contact-grid { grid-template-columns: minmax(0, 1.06fr); align-items: stretch; gap: 1.1rem; }
.footer-inner { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items:start; }
.footer-links { justify-content: flex-start; }
.footer-link.disabled { color:#94a3b8; cursor:not-allowed; }
@media (min-width: 921px) {
  .campaign-hero { padding-top: 2.5rem; }
  .hero-layout {
    min-height: 520px;
    display: block;
  }
  .hero-media {
    order: initial;
    position: relative;
    z-index: 1;
  }
  .hero-media-card {
    min-height: 520px;
    border-radius: 36px;
  }
  .hero-image {
    min-height: 520px;
  }
  .hero-media-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.54) 0%, rgba(15,23,42,0.24) 28%, rgba(15,23,42,0.08) 48%, rgba(255,255,255,0) 68%);
  }
  .hero-copy {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(34rem, calc(100% - 6rem));
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-text {
    text-shadow: 0 2px 18px rgba(255,255,255,0.14), 0 2px 6px rgba(15,23,42,0.28);
  }
  .hero-copy h1,
  .hero-text,
  .hero-actions {
    max-width: 30rem;
  }
}
@media (max-width: 920px) {
  .hero-layout, .split-section, .feature-band, .donate-shell, .story-preview-layout, .contact-grid, .footer-inner, .signature-progress-shell { grid-template-columns: 1fr; }
  .event-widget-list { grid-template-columns: 1fr; }
  .priority-grid, .join-grid.two-up, .interest-grid, .join-interest-grid { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; overflow-x: auto; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .nav { order: 3; width: 100%; gap: 0.72rem; }
  .donate-button { order: 2; margin-left: auto; }
  :root { --brand-logo-width:220px; --brand-logo-max-height:56px; }
  .hero, .section { padding: 3rem 0; }
  .hero-copy h1 { font-size: 2.25rem; }
  .hero-actions, .section-actions, .donation-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .donation-button-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .container { width: min(1100px, calc(100% - 1.1rem)); }
  .hero-layout { gap: 1.25rem; }
  .hero-media { order: -1; position: static; }
  .hero-copy {
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero-media-card { min-height: 260px; }
  .hero-image { min-height: 260px; }
  .story-preview-aside { align-items: flex-start; }
  .story-headshot-frame { width: min(100%, 220px); }
  .story-preview-caption { text-align: left; max-width: none; }
}
