/* Pompano Votes 2026 — citywide GOTV landing */

:root {
  --navy-900: #0b1a2b;
  --navy-800: #11253a;
  --navy-700: #17324d;
  --navy-500: #2c5478;
  --sand-50:  #f7f2e8;
  --sand-100: #efe6d2;
  --sand-200: #e2d3b0;
  --teal-500: #1f8ea3;
  --teal-600: #157180;
  --coral-500: #d76a4a;
  --ink-900:  #0e1116;
  --ink-700:  #2a2f37;
  --ink-500:  #58606b;
  --ink-300:  #a2a8b1;
  --white:    #ffffff;

  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --pad-y: clamp(4rem, 8vw, 7rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11,26,43,0.06), 0 2px 8px rgba(11,26,43,0.04);
  --shadow-md: 0 6px 24px rgba(11,26,43,0.10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy-800); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--navy-900); color: var(--white); padding: .5rem .75rem; border-radius: 6px; z-index: 1000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--sand-50) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(11,26,43,.10); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand em { font-style: normal; color: var(--teal-600); font-weight: 500; margin-left: .1rem; }
.brand svg { color: var(--teal-600); }
.brand small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--ink-500); margin-top: .35rem; }
.brand > svg { flex-shrink: 0; }
.breadcrumb { color: var(--sand-100); display: inline-block; font-size: .85rem; margin-bottom: 1.5rem; }
a.breadcrumb { text-decoration: underline; }
.source-link { font-size: .8rem; display: inline-block; margin-top: 1rem; text-decoration: underline; }
.hero-source { color: inherit; margin: 0 0 0 .5rem; letter-spacing: normal; text-transform: none; }
.source-note { font-size: .85rem; max-width: 65ch; margin-top: 1.5rem; }
.source-note a, .how-card p a { text-decoration: underline; }
.sponsor { font-size: .8rem; margin-top: 2rem; border-top: 1px solid #526072; padding-top: 1.5rem; }
.footer-mission a { color: inherit; text-decoration: underline; }
.theme-button { font: inherit; font-size: .8rem; padding: .6rem; min-height: 44px; color: var(--ink-900); background: transparent; border: 1px solid var(--ink-300); border-radius: 8px; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #1f8ea3; outline-offset: 4px; }
section { scroll-margin-top: 110px; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--ink-700); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--navy-900); }
.site-nav .btn-sm { padding: .45rem .8rem; font-size: .85rem; color: var(--sand-50); background: var(--navy-900); border-color: var(--navy-900); }
.site-nav .btn-sm:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { gap: .5rem; }
  .site-nav .btn-sm { font-size: .75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.15rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--navy-900); color: var(--sand-50); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: rgba(11,26,43,.20); }
.btn-ghost:hover { background: var(--navy-900); color: var(--sand-50); border-color: var(--navy-900); }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; border-radius: 8px; }
.btn.btn-polling { min-height: 64px; padding: 18px 28px; gap: 16px; background: #f4cf75; border: 2px solid #f4cf75; color: #14294d; border-radius: 12px; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 800; line-height: 1.3; white-space: normal; text-align: center; box-shadow: 0 5px 16px rgb(0 0 0 / 15%); }
.btn.btn-polling:hover { background: #ffe4a6; border-color: #ffe4a6; color: #14294d; transform: translateY(-2px); }
.btn.btn-polling:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.how-card .btn-polling { width: 100%; margin-top: 16px; }
@media (max-width: 600px) { .hero-cta .btn-polling { width: 100%; } }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: .78rem; color: var(--teal-600);
  margin: 0 0 .75rem;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; color: var(--navy-900); margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; line-height: 1.25; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-700); max-width: 62ch; line-height: 1.55; margin: 1rem 0 1.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--sand-50); overflow: hidden; padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem); background: var(--navy-900); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,43,.45) 0%, rgba(11,26,43,.75) 60%, rgba(11,26,43,.92) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero .eyebrow { color: var(--sand-200); }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(247,242,232,.88); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-cta.center { justify-content: center; }
.hero .btn-primary { background: var(--sand-50); color: var(--navy-900); }
.hero .btn-primary:hover { background: var(--white); }
.hero .btn-ghost { color: var(--sand-50); border-color: rgba(247,242,232,.35); }
.hero .btn-ghost:hover { background: var(--sand-50); color: var(--navy-900); border-color: var(--sand-50); }

/* ---------- Video ---------- */
.video-section { padding: var(--pad-y) 0; background: var(--sand-50); }
.video-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.video-frame {
  aspect-ratio: 16 / 9; background: var(--navy-900); color: var(--sand-100);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.video-frame::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 30% 30%, rgba(31,142,163,.25), transparent 60%),
              radial-gradient(120% 80% at 80% 90%, rgba(215,106,74,.20), transparent 60%);
  pointer-events: none;
}
.video-frame .play { position: relative; opacity: .95; }
.video-label { position: relative; font-weight: 600; font-size: 1rem; margin: 0; }
.video-note { position: relative; font-size: .8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,242,232,.6); margin: 0; }
.video-copy { padding-right: .5rem; }
.video-copy h2 { margin-bottom: 1rem; }
.video-copy p { color: var(--ink-700); }
@media (max-width: 900px) {
  .video-card { grid-template-columns: 1fr; }
  .video-copy { padding: 0; }
}

/* ---------- Why grid ---------- */
.why { padding: var(--pad-y) 0; background: var(--white); border-top: 1px solid rgba(11,26,43,.06); border-bottom: 1px solid rgba(11,26,43,.06); }
.why h2 { max-width: 22ch; margin-bottom: 2.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card { background: var(--sand-50); border-radius: var(--radius); padding: 1.75rem 1.5rem; border: 1px solid rgba(11,26,43,.06); }
.stat { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3.8vw, 3rem); line-height: 1; color: var(--navy-900); margin: 0 0 .35rem; letter-spacing: -0.02em; }
.stat-label { font-weight: 600; color: var(--navy-800); margin: 0 0 .85rem; font-size: .95rem; line-height: 1.35; max-width: 22ch; }
.why-card .body { color: var(--ink-700); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- How to vote ---------- */
.how { padding: var(--pad-y) 0; background: var(--sand-50); }
.how h2 { max-width: 22ch; margin-bottom: 2.5rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.how-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; border: 1px solid rgba(11,26,43,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.how-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.how-num { font-family: var(--font-display); color: var(--teal-600); font-weight: 600; font-size: 1rem; letter-spacing: 0.12em; margin: 0 0 .75rem; }
.how-card h3 { color: var(--navy-900); margin-bottom: .75rem; }
.how-card p { color: var(--ink-700); font-size: .95rem; margin: 0 0 1rem; }
.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--teal-600); }
.link:hover { color: var(--navy-900); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline / dates ---------- */
.dates { padding: var(--pad-y) 0; background: var(--white); border-top: 1px solid rgba(11,26,43,.06); }
.dates h2 { max-width: 22ch; margin-bottom: 2.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 780px; }
.timeline li {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand-50); border: 1px solid rgba(11,26,43,.06);
  border-left: 3px solid var(--teal-500);
  border-radius: 10px;
}
.timeline li.highlight { border-left-color: var(--coral-500); background: linear-gradient(180deg, var(--sand-100) 0%, var(--sand-50) 100%); }
.tl-date { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 1.1rem; margin: 0; letter-spacing: -0.01em; }
.tl-title { font-weight: 700; color: var(--navy-800); margin: 0 0 .25rem; font-size: 1rem; }
.tl-body { color: var(--ink-700); margin: 0; font-size: .93rem; }
.tl-body { grid-column: 2; }
@media (max-width: 720px) { .timeline li { grid-template-columns: 1fr; gap: .35rem; } }
@media (max-width: 720px) { .tl-body { grid-column: 1; } }

/* ---------- Resources ---------- */
.resources { padding: var(--pad-y) 0; background: var(--sand-100); }
.resources h2 { max-width: 22ch; margin-bottom: 2.5rem; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.res {
  display: block;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius); border: 1px solid rgba(11,26,43,.08);
  color: var(--ink-900);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.res:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--teal-500); color: var(--ink-900); }
.res-title { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); margin: 0 0 .35rem; font-size: 1.1rem; letter-spacing: -0.01em; }
.res-body { color: var(--ink-700); margin: 0 0 .75rem; font-size: .93rem; }
.res-cta { color: var(--teal-600); font-weight: 600; margin: 0; font-size: .9rem; }
@media (max-width: 720px) { .resource-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final { padding: var(--pad-y) 0; background: var(--navy-900); color: var(--sand-50); text-align: center; }
.final .eyebrow { color: var(--sand-200); }
.final h2 { color: var(--white); max-width: 20ch; margin-left: auto; margin-right: auto; }
.final .lede { color: rgba(247,242,232,.85); margin-left: auto; margin-right: auto; text-align: center; }
.final .btn-primary { background: var(--sand-50); color: var(--navy-900); }
.final .btn-primary:hover { background: var(--white); }
.final .btn-ghost { color: var(--sand-50); border-color: rgba(247,242,232,.30); }
.final .btn-ghost:hover { background: var(--sand-50); color: var(--navy-900); border-color: var(--sand-50); }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 3rem; background: var(--navy-800); color: rgba(247,242,232,.75); }
.footer-inner { max-width: 780px; }
.footer-brand { font-family: var(--font-display); color: var(--sand-50); font-weight: 600; font-size: 1.15rem; margin: 0 0 .5rem; letter-spacing: -0.01em; }
.footer-mission { color: rgba(247,242,232,.85); margin: 0 0 1rem; font-size: .95rem; }
.footer-fine { font-size: .82rem; color: rgba(247,242,232,.55); margin: 0; line-height: 1.6; }
.footer-fine a { color: var(--sand-100); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .how-card, .res { transition: none; }
}
[data-theme="dark"] {
  --sand-50: #111c2b;
  --sand-100: #19283a;
  --sand-200: #c7bfae;
  --white: #142134;
  --ink-900: #edf0f5;
  --ink-700: #c6ced8;
  --ink-500: #adb8c8;
  --teal-600: #81c7d1;
}
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] .brand,
[data-theme="dark"] .stat,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .tl-date,
[data-theme="dark"] .tl-title,
[data-theme="dark"] .res-title { color: #edf0f5; }
[data-theme="dark"] .hero,
[data-theme="dark"] .final,
[data-theme="dark"] .video-frame { color: #f7f2e8; }
[data-theme="dark"] .hero h1,
[data-theme="dark"] .final h2,
[data-theme="dark"] .footer-brand { color: #ffffff; }
[data-theme="dark"] .btn-primary { background: #f7f2e8; color: #0b1a2b; }
[data-theme="dark"] .btn-ghost { color: #f7f2e8; border-color: #8392a5; }
[data-theme="dark"] .site-nav .btn-sm { background: #f7f2e8; color: #0b1a2b; }
[data-theme="dark"] .breadcrumb { color: #f7f2e8; }
[data-theme="dark"] .footer-fine a { color: #f7f2e8; }
