:root {
  --navy: #07162f;
  --navy-soft: #10254b;
  --blue: #087ea5;
  --aqua: #27c4d4;
  --aqua-pale: #daf8f8;
  --yellow: #ffd20a;
  --white: #fff;
  --ink: #101a32;
  --muted: #5b6678;
  --line: #d7e3e7;
  --shadow: 0 24px 60px rgba(4, 38, 57, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6fbfc;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--navy); font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; padding: 20px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: min(370px, 58vw); padding: 9px 14px; border-radius: 15px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 22px rgba(5, 52, 73, .12); }
.brand img { width: 100%; height: auto; }
.header-cta { padding: 12px 20px; border: 2px solid rgba(255,255,255,.75); border-radius: 999px; color: white; text-decoration: none; font-weight: 800; white-space: nowrap; transition: .2s ease; }
.header-cta:hover, .header-cta:focus-visible { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(118deg, #087ca5 0%, #0aa9bd 54%, #26c6d1 100%); padding: 160px 0 112px; }
.hero::after { content: ""; position: absolute; inset: auto -8vw -230px 42%; height: 420px; border-radius: 50%; background: rgba(124, 239, 238, .22); transform: rotate(-8deg); }
.hero-pattern { position: absolute; inset: 0; opacity: .35; background: radial-gradient(circle at 78% 14%, transparent 0 92px, rgba(255,255,255,.2) 94px 96px, transparent 98px), linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.1) 50% 50.3%, transparent 50.5%); background-size: auto, 180px 180px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .16em; font-size: .79rem; font-weight: 800; }
.eyebrow { color: var(--aqua-pale); }
.eyebrow span { display: inline-block; width: 34px; height: 5px; margin-right: 10px; border-radius: 10px; vertical-align: middle; background: var(--yellow); }
h1, h2, h3 { font-family: Montserrat, Arial, sans-serif; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(3.4rem, 7vw, 6.7rem); letter-spacing: -.065em; font-weight: 900; }
h1 strong { color: var(--yellow); }
.intro { max-width: 620px; margin: 18px 0 30px; font-size: clamp(1.2rem, 2.1vw, 1.62rem); line-height: 1.38; }
.event-facts { display: grid; gap: 10px; max-width: 635px; }
.fact { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; min-height: 66px; padding: 11px 18px 11px 10px; color: var(--navy); border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(3, 61, 87, .12); }
.fact-icon { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); font: 900 .75rem Montserrat, sans-serif; }
.fact-icon i { font-size: 1.25rem; }
.fact-label { display: block; color: #457082; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fact strong { display: block; font-size: 1rem; line-height: 1.28; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 52px; padding: 13px 22px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, .submit-button:focus-visible { outline: 4px solid rgba(255, 210, 10, .45); outline-offset: 3px; }
.button-primary { color: var(--navy); background: var(--yellow); box-shadow: 0 10px 25px rgba(76, 57, 0, .16); }
.button-secondary { color: white; border: 2px solid rgba(255,255,255,.72); }
.deadline { margin: 16px 0 0; font-size: .88rem; font-weight: 700; }
.deadline span { color: var(--yellow); margin-right: 7px; }
.hero-portrait { position: relative; min-height: 650px; align-self: end; border-radius: 48% 48% 30px 30px; background: url("../images/background/bessy-meet-greet-cafe.webp?v=20261012") center / cover no-repeat; box-shadow: 0 30px 60px rgba(0, 54, 77, .2); overflow: hidden; }
.hero-portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(transparent, rgba(3, 31, 58, .6)); }
.portrait-message { position: absolute; z-index: 1; right: 28px; bottom: 24px; color: white; font-family: Montserrat, sans-serif; font-size: 1.15rem; font-weight: 800; line-height: 1.25; text-align: right; }

.registration-section { padding: 100px 0; background: white; }
.registration-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.section-kicker { color: var(--blue); }
.registration-copy h2, .venue-card h2 { margin: 0; color: var(--navy); font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.045em; }
.registration-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.12rem; }
.registration-copy > .registration-note { margin-top: 16px; padding-left: 16px; border-left: 4px solid var(--aqua); font-size: .95rem; }
.benefit-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; font-weight: 700; }
.benefit-list li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 8px; align-items: start; }
.benefit-list span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--navy); background: var(--yellow); }
.form-card { padding: clamp(24px, 5vw, 48px); border-radius: 30px; background: #f2fbfb; border: 1px solid #d3eded; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin: 0 0 7px; color: var(--navy); font-weight: 800; }
.field input, .field select { width: 100%; min-height: 54px; padding: 13px 15px; border: 1px solid #bad1d8; border-radius: 11px; color: var(--ink); background: white; }
.field input::placeholder { color: #8997a4; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b72828; box-shadow: 0 0 0 3px rgba(183, 40, 40, .1); }
.field-error { display: block; min-height: 18px; color: #a72020; font-size: .78rem; font-weight: 700; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; color: #394658; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.consent-error { margin-left: 32px; }
.submit-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 58px; margin-top: 10px; padding: 14px 22px; border: 0; border-radius: 14px; color: white; background: var(--navy); font-weight: 800; cursor: pointer; }
.submit-button:hover { background: var(--blue); }
.submit-button:disabled { cursor: wait; opacity: .68; }
.privacy-note { margin: 12px 0 0; color: #75818b; font-size: .78rem; text-align: center; }
.form-status { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; font-weight: 700; }
.form-status.success { display: block; color: #105a38; background: #dff7ea; }
.form-status.error { display: block; color: #8a1b1b; background: #fde5e5; }
.closed-message { padding: 24px; text-align: center; }
.closed-message > span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; color: var(--navy); background: var(--yellow); font-size: 1.8rem; font-weight: 900; }

.venue-section { padding: 100px 0; color: white; background: var(--navy); }
.venue-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: stretch; }
.venue-card { padding: clamp(28px, 5vw, 52px); border-radius: 28px; color: var(--navy); background: linear-gradient(145deg, #dfffff, #8ce5e8); }
.venue-card .section-kicker { color: #0b6c85; }
.address { margin: 22px 0 10px; font-size: 1.28rem; font-weight: 800; }
.venue-note { color: #335669; }
.directions-button { margin-top: 18px; }
.map-wrap { min-height: 430px; overflow: hidden; border-radius: 28px; background: #d9eff1; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }

.site-footer { padding: 36px 0; color: white; background: #050d1e; }
.footer-inner { display: grid; grid-template-columns: 160px 1fr auto; gap: 32px; align-items: center; }
.footer-inner img { max-height: 70px; width: auto; }
.footer-inner strong { font-family: Montserrat, sans-serif; }
.footer-inner p { margin: 5px 0 0; color: #9ca9b7; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer-links a { color: var(--aqua); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--yellow); }

@media (max-width: 960px) {
  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 710px; }
  .hero-portrait { min-height: 520px; background-position: center; }
  .registration-grid { grid-template-columns: 1fr; gap: 45px; }
  .registration-copy { max-width: 690px; }
  .venue-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 130px 1fr; }
  .footer-links { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { padding: 14px 0; }
  .brand { width: 190px; padding: 7px 10px; border-radius: 11px; }
  .header-cta { padding: 9px 14px; font-size: .78rem; }
  .hero { padding: 115px 0 64px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .intro { margin-top: 12px; }
  .fact { grid-template-columns: 42px 1fr; padding-right: 12px; }
  .fact strong { font-size: .92rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-portrait { min-height: 420px; border-radius: 150px 150px 24px 24px; background-position: center; }
  .registration-section, .venue-section { padding: 70px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { border-radius: 22px; }
  .map-wrap, .map-wrap iframe { min-height: 360px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { grid-column: auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

[hidden] { display: none !important; }
.eligibility-check, .registration-details { min-width: 0; margin: 0; padding: 0; border: 0; }
.eligibility-check legend, .registration-details legend { margin-bottom: 12px; color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.eligibility-check > p { margin-top: 0; color: var(--muted); }
.eligibility-status { margin-bottom: 18px; padding: 14px; border-radius: 10px; background: var(--aqua-pale); color: var(--navy); }
.voter-help { margin: 0 0 20px; font-weight: 700; }
