/* Palette sampled from the Town of Lantana logo colors (colors only; no artwork used) */
:root {
  --navy: #003472;
  --navy-deep: #00244f;
  --navy-soft: #13437d;
  --sky: #6db7e6;
  --sky-light: #e3f2fc;
  --gold: #eec63c;
  --gold-soft: #faeed7;
  --red: #c23134;
  --red-dark: #9e2629;
  --sand: #f7f1e3;
  --sand-light: #fbf8f1;
  --white: #ffffff;
  --ink: #1b2a3d;
  --muted: #4d5d70;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 36, 79, .12);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --label: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand-light); line-height: 1.6; font-size: 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; color: var(--navy); }
h2 { font-size: clamp(2.1rem, 6vw, 2.9rem); margin: 0 0 .6rem; }
h1 em, h2 em, .brand em, .footer-brand em { font-style: italic; color: var(--navy-soft); }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Gold rule label (serif + gold lines look) */
.ruled { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-family: var(--label); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.ruled::before, .ruled::after { content: ""; flex: 1; height: 2px; background: var(--gold); min-width: 24px; }
.ruled.dark { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-decoration: none; color: #fff; border: 0; cursor: pointer; padding: .85em 1.6em; border-radius: 999px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none; }
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); box-shadow: 0 6px 16px rgba(0,52,114,.25); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-red { background: var(--red); box-shadow: 0 6px 16px rgba(194,49,52,.25); }
.btn-red:hover { background: var(--red-dark); }
.btn-sm { font-size: .82rem; padding: .6em 1.15em; box-shadow: none; }
.btn-lg { font-size: 1.02rem; padding: 1em 2.1em; min-width: 180px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: rgba(251,248,241,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,52,114,.1); padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link { display: none; text-decoration: none; font-family: var(--label); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding: 6px 10px; }
.nav-link:hover { color: var(--red); }
@media (min-width: 760px) { .nav-link { display: inline-block; } .nav { gap: 12px; } }
@media (max-width: 420px) {
  .brand { font-size: 1.12rem; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .btn-sm { font-size: .72rem; padding: .55em .85em; letter-spacing: .02em; }
  .nav { gap: 6px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-light) 0%, #f2f8fc 55%, var(--sand-light) 100%); padding: 44px 0 110px; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(238,198,60,.28) 0%, rgba(238,198,60,0) 65%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 26px; justify-items: center; text-align: center; }
.hero-logo { width: 150px; height: 150px; filter: drop-shadow(0 12px 22px rgba(0,36,79,.2)); }
.hero-copy { width: 100%; max-width: 640px; }
.hero h1 { margin: 0; font-size: clamp(3rem, 12vw, 5.6rem); letter-spacing: -.01em; }
.hero-sub { font-size: clamp(1.1rem, 3.4vw, 1.35rem); color: var(--muted); margin: 10px auto 26px; max-width: 32ch; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 130px; }
  .hero-inner { grid-template-columns: 300px 1fr; gap: 56px; align-items: center; justify-items: start; text-align: left; }
  .hero-logo { width: 300px; height: 300px; }
  .hero-sub { margin-left: 0; }
  .hero .ruled::before { display: none; }
  .hero-cta { justify-content: flex-start !important; }
}

.countdown-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 18px 16px 18px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.countdown-label { margin: 0 0 12px; font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-align: center; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd { text-align: center; padding: 6px 2px; border-right: 1px solid rgba(255,255,255,.15); }
.cd:last-child { border-right: 0; }
.cd-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.1rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit { display: block; font-family: var(--label); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; color: var(--sky); }
.countdown-done { font-family: var(--serif); font-size: 1.9rem; margin: 4px 0; text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; }

/* Sections */
.section { padding: 76px 0; position: relative; }
.eyebrow { margin: 0 0 6px; font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--red); }
.eyebrow.light { color: var(--gold); }
h2.light { color: #fff; }
.lead { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.section-intro { font-size: 1.12rem; margin: 0 0 30px; text-align: center; color: var(--muted); }

/* Placeholder badges */
.ph-badge { display: inline-block; background: #fff6d6; color: #7a5a00; border: 1.5px dashed #d4a81c; border-radius: 6px; padding: 1px 9px; font-family: var(--label); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; }
.placeholder { border: 1.5px dashed #d4a81c; background: #fffbea; border-radius: 12px; padding: 14px 18px; color: #5e5236; }
.placeholder p { margin: .6em 0 0; }

/* About */
.about-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 840px) { .about-grid { grid-template-columns: 360px 1fr; gap: 64px; } }
.photo-frame { margin: 0; display: flex; justify-content: center; }
.photo-ring { width: 280px; height: 280px; border-radius: 50%; padding: 6px; background: var(--gold); box-shadow: 0 0 0 8px var(--navy), var(--shadow); }
.photo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
@media (min-width: 840px) { .photo-ring { width: 320px; height: 320px; } }

/* Issues */
.issues { background: var(--navy); background-image: radial-gradient(circle at 85% 0%, rgba(109,183,230,.22), transparent 55%); padding: 84px 0; }
.section-note { margin: 0 0 30px; color: #d7e6f4; }
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--radius); padding: 26px 22px; border-top: 4px solid var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.18); transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }
.card-icon { width: 40px; height: 40px; color: var(--sky); display: block; }
.card:nth-child(2) .card-icon { color: var(--navy-soft); }
.card:nth-child(3) .card-icon { color: #d4a81c; }
.card:nth-child(4) .card-icon { color: var(--red); }
.card h3 { margin: 14px 0 6px; font-size: 1.5rem; }
.card h3 small { display: block; margin-top: 4px; font-family: var(--label); font-size: .62rem; font-weight: 700; color: #a07a00; text-transform: uppercase; letter-spacing: .1em; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Volunteer form */
.form { background: #fff; border-radius: 18px; padding: 26px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
@media (min-width: 640px) { .form { padding: 38px 42px; } }
.row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-family: var(--label); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; color: var(--navy); padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cbd7e4; background: #fbfcfe; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(109,183,230,.25); background: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #cbd7e4; background: #fbfcfe; font-weight: 600; font-size: .98rem; transition: all .15s ease; -webkit-user-select: none; user-select: none; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(109,183,230,.35); }
.hidden-field { position: absolute; left: -9999px; }

/* Donate */
.donate { background: var(--sand); }
.donate-card { text-align: center; background: #fff; border-radius: 18px; padding: 40px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.donate-card .lead { margin-top: 0; }
.donate-card p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d7e6f4; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; border-top: 4px solid var(--gold); }
.site-footer a { color: var(--gold); font-weight: 600; }
.footer-logo { width: 96px; height: 96px; margin: 0 auto 14px; }
.footer-brand { font-family: var(--serif); font-size: 1.9rem; color: #fff; margin: 0 0 8px; }
.footer-brand em { color: var(--sky); }
.disclaimer { margin: 28px auto 0; max-width: 640px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 12px 16px; font-size: .92rem; }
.disclaimer p { margin: 0; }

/* Thank-you page */
.thanks-page { background: linear-gradient(180deg, var(--sky-light), var(--sand-light)); min-height: 100vh; }
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.thanks-card { background: #fff; border-radius: 18px; padding: 40px 28px; text-align: center; max-width: 520px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.thanks-card img { width: 120px; height: 120px; margin: 0 auto 10px; }
.thanks-card h1 { font-size: 3rem; margin: 0 0 6px; }
.thanks-card p { color: var(--muted); }

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

@media (max-width: 899px) {
  .hero-cta .btn-lg { min-width: 0; flex: 1 1 140px; max-width: 220px; padding: 1em 1.2em; }
  .hero-sub { max-width: 28ch; }
}
