/* Karns Fair. Design A: navy #1F3A7D + sunflower #F6D308, Coiny headings, Montserrat body.
   The accent follows the next event (body.theme-parade | theme-fall | theme-fair). Light theme only. */
@font-face { font-family: 'Coiny'; src: url('/assets/fonts/coiny-latin.woff2') format('woff2'); font-display: swap; font-weight: 400; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-latin.woff2') format('woff2'); font-display: swap; font-weight: 100 900; }

:root {
  --navy: #1F3A7D; --navy-d: #142856; --navy-l: #E8EDF8; --sun: #F6D308; --sun-l: #FFF8CC;
  --ink: #1B2333; --muted: #4A5468; --line: #D5DBE7; --bg: #FFFFFF; --soft: #F5F7FB;
  --ok: #1E6B3A; --bad: #B3202A; --warn-bg: #FFF4D6;
  --accent: var(--sun); --on-accent: var(--navy-d); --accent-ink: var(--navy); --accent-soft: var(--sun-l);
  --r: 14px; --r-s: 8px; --shadow: 0 6px 24px rgba(20, 40, 86, .10);
  --wrap: 1180px; --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --display: 'Coiny', 'Montserrat', system-ui, sans-serif;
}
body.theme-parade { --accent: #B3202A; --on-accent: #fff; --accent-ink: #9A1B24; --accent-soft: #FBEAEA; }
body.theme-fall { --accent: #B4470F; --on-accent: #fff; --accent-ink: #9A3C0C; --accent-soft: #FDEEE3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-d); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-d); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 8px; color: #fff; }
.nw { white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted, .hint { color: var(--muted); }
.hint { font-size: .9rem; margin: .35em 0 0; }
svg[aria-hidden="true"] { flex: none; }

/* Preview markers for facts the board hasn't confirmed */
.preview [data-ph] { outline: 2px dashed #D97706; outline-offset: 2px; }

/* Utility strip + header */
.utility { background: var(--navy-d); color: #fff; font-size: .875rem; }
.utility-in { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.utility a { color: #fff; }
.u-next { margin: 0; display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.u-next svg { color: var(--sun); }
.u-item { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.u-item:hover { text-decoration: underline; color: #fff; }
.site-header { background: #fff; border-bottom: 4px solid var(--sun); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand img { width: 108px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 10px 12px; font-weight: 600; text-decoration: none; border-radius: var(--r-s); color: var(--ink); }
.site-nav li a:hover { background: var(--navy-l); color: var(--navy-d); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; font: 600 1rem var(--font); background: var(--navy); color: #fff; border: 0; border-radius: var(--r-s); padding: 10px 14px; min-height: 44px; cursor: pointer; }
@media (max-width: 1060px) {
  .u-item span:not(.sr-only) { display: none; }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 4px solid var(--sun); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: 14px 12px; font-size: 1.05rem; }
  .brand img { width: 92px; }
}
@media (max-width: 560px) { .u-next { font-size: .8rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 40, 86, .18); }
.btn-cta { background: var(--accent); color: var(--on-accent); }
.btn-cta:hover { color: var(--on-accent); filter: brightness(1.04); }
.btn-light { background: #fff; color: var(--navy-d); border-color: var(--navy); }
.btn-light:hover { color: var(--navy-d); background: var(--navy-l); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.nav-cta { padding: 10px 18px; min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* Bands */
.band { padding: clamp(40px, 6vw, 72px) 0; }
.band-soft { background: var(--soft); }
.sec-lead { font-size: 1.08rem; color: var(--muted); max-width: 64ch; }
.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr 1fr; align-items: start; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo img, .split figure img, .map-fig img { border-radius: var(--r); box-shadow: var(--shadow); }
.duo img { aspect-ratio: 4 / 5; object-fit: cover; height: 100%; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Hero (home, event follows the current event) */
.hero { position: relative; color: #fff; isolation: isolate; min-height: min(78vh, 640px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 40, 86, .92) 0%, rgba(20, 40, 86, .70) 45%, rgba(20, 40, 86, .15) 100%); }
.hero-in { padding: 56px 0 48px; }
.hero-card { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.hero .lead { color: #EEF2FA; font-size: 1.15rem; }
.hero .eyebrow { color: var(--sun); }
.hero .facts li { color: #fff; }
.hero .facts svg { color: var(--sun); }
.hero .event-mark img { width: 120px; margin-bottom: 10px; background: #fff; border-radius: 12px; padding: 6px; mix-blend-mode: normal; }
.hero .notice { color: var(--ink); }
.hero .btn-light { background: rgba(255, 255, 255, .95); border-color: #fff; }
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; height: 230px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20, 40, 86, 0) 40%, rgba(20, 40, 86, .9) 100%); }
  .hero-in { background: var(--navy-d); padding: 22px 0 30px; }
}
/* Split hero (parade portrait photo): photo fills the right two thirds and fades into navy under the text; stacked under 1024px */
.hero-split { background: var(--navy-d); }
@media (min-width: 1024px) {
  .hero-split { min-height: min(70vh, 620px); align-items: center; }
  .hero-split .hero-in { padding: 40px 0 44px; }
  .hero-split .hero-media { left: auto; width: min(64%, 820px); }
  .hero-split .hero-media img { object-position: 50% 80%; }
  .hero-split .hero-media::after { background: linear-gradient(90deg, var(--navy-d) 0%, rgba(20, 40, 86, .85) 16%, rgba(20, 40, 86, .35) 32%, rgba(20, 40, 86, 0) 46%); }
  .hero-split .hero-card { max-width: min(620px, calc(50vw - 24px)); }
}
@media (max-width: 1023px) {
  .hero-split { min-height: 0; display: block; }
  .hero-split .hero-media { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; max-height: 72vh; }
  .hero-split .hero-media img { object-position: 50% 62%; }
  .hero-split .hero-media::after { background: linear-gradient(180deg, rgba(20, 40, 86, 0) 55%, rgba(20, 40, 86, .9) 100%); }
  .hero-split .hero-in { padding: 22px 0 34px; }
}
@media (max-width: 700px) {
  .hero-split .hero-media { aspect-ratio: 4 / 5; max-height: 62vh; }
  .hero-split .hero-media img { object-position: 50% 45%; }
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--accent-ink); margin-bottom: 10px; }
.theme-fair .eyebrow { color: var(--navy); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.facts svg { color: var(--accent-ink); margin-top: 3px; }
.theme-fair .facts svg { color: var(--navy); }

/* Page heads */
.crumbs { padding-top: 14px; font-size: .88rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted); }
.crumbs [aria-current] { color: var(--muted); }
.page-head { padding: 22px 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); border-bottom: 1px solid var(--line); }
.head-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.head-photo { border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-mark img { width: 110px; margin-bottom: 8px; mix-blend-mode: multiply; } /* JPG logos: white drops out on tinted heroes */
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } .head-photo { max-height: 260px; } }

/* Cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: 0 2px 8px rgba(20, 40, 86, .05); }
.card.ic { display: flex; flex-direction: column; }
.card.ic .text-link { margin-top: auto; }
.ic-i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 12px; }
.theme-fair .ic-i { background: var(--sun-l); color: var(--navy); }
.ic-i svg { width: 24px; height: 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { color: var(--ok); margin-top: 4px; }
.where { display: flex; gap: 8px; font-weight: 600; }

/* Sponsors */
.sponsor-wall { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .sponsor-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sponsor-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.sponsor-wall li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 1px 3px rgba(20, 40, 86, .06); transition: box-shadow .2s, transform .2s, border-color .2s; }
.sponsor-wall li:hover { box-shadow: 0 8px 22px rgba(20, 40, 86, .12); transform: translateY(-2px); border-color: #C3CBDB; }
.sponsor-wall a { display: block; height: 100%; }
.sponsor-wall img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-wall img.up { padding: 12% 14%; }

/* Press quotes */
.press { background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.press blockquote { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.press blockquote p { margin: 0; }
.press figcaption { color: #DCE3F2; margin: 8px 0 22px; }
.press figcaption:last-child { margin-bottom: 0; }
.press a { color: #fff; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary h3 { margin: 0; font-size: 1.06rem; }
.faq-a { padding: 0 0 16px; color: var(--ink); }
.faq-a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 56px) 0; border-top: 6px solid var(--sun); }
.cta-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #E3E9F5; }
.cta-band a:not(.btn) { color: #fff; }
.theme-fair .cta-band .btn-cta { background: var(--sun); color: var(--navy-d); }

/* Timeline (parade) */
.timeline { list-style: none; padding: 0; margin: 0 0 1em; border-left: 3px solid var(--accent); }
.timeline li { padding: 0 0 16px 18px; position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline strong { color: var(--navy-d); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 10px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }

/* Notices */
.notice, .sales { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-s); background: var(--warn-bg); border: 1px solid #F0D88A; margin: 14px 0; }
.notice svg, .sales svg { margin-top: 3px; color: var(--navy); }
.sales-open { background: #E8F5EC; border-color: #A9D5B6; }
.sales-closed, .sales-over { background: #F3F4F6; border-color: var(--line); }

/* Forms */
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.req { font-weight: 500; color: var(--muted); font-size: .88rem; }
input:not([type=checkbox]):not([type=radio]), textarea, select { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid #8C96AA; border-radius: var(--r-s); }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(31, 58, 125, .35); border-color: var(--navy); }
input[type=file] { padding: 10px; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.err { color: var(--bad); font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.form-err { padding: 10px 14px; background: #FBEAEA; border-radius: var(--r-s); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.chk { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-weight: 500; cursor: pointer; }
.chk input, .choice input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1.5px solid #8C96AA; border-radius: 999px; cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-l); }
.choice input { margin: 0; }
.amt { margin: 12px 0 0; max-width: 220px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reassure { font-size: .9rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-ok { padding: 18px; background: #E8F5EC; border: 1px solid #A9D5B6; border-radius: var(--r-s); font-weight: 600; }

/* Sponsor levels */
.levels { list-style: none; padding: 0; margin: 18px 0 12px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.level { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: var(--r); padding: 20px; }
.lv-gold { border-top-color: #C9A227; } .lv-platinum { border-top-color: #8A94A6; } .lv-diamond { border-top-color: #2C7DA0; }
.lv-price { font-family: var(--display); font-size: 1.9rem; color: var(--navy-d); margin: 0 0 10px; }

/* Booth booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; margin-top: 18px; }
.form-col { position: sticky; top: 96px; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } .form-col { position: static; } }
.step { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1rem var(--font); margin-right: 10px; vertical-align: middle; }
.h-note { font: 500 .95rem var(--font); color: var(--muted); }
.h-sub { font-size: 1.3rem; margin-top: 22px; }
.legend { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 22px; height: 22px; border-radius: 5px; display: inline-grid; place-items: center; border: 2px solid var(--navy); background: #fff; }
.sw svg { width: 14px; height: 14px; color: #8A6D00; }
.sw-power { background: var(--sun-l); }
.sw-sel { background: var(--navy); }
.sw-sold { background: #D3D7DF; border-color: #9AA2B1; background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(0,0,0,.12) 4px 6px); }
.map-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.map-tabs [role=tab] { font: 700 .95rem var(--font); min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.map-tabs [aria-selected="true"] { background: var(--navy); color: #fff; }
.map-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; overflow-x: auto; }
.map { position: relative; width: 100%; min-width: 520px; background: #FBFBFD; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 5% 5%; border-radius: var(--r-s); }
.booth { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0; border: 2px solid var(--navy); background: #fff; color: var(--navy-d); border-radius: 4px; font: 800 clamp(.6rem, 1.1vw, .85rem)/1 var(--font); cursor: pointer; transition: background .12s, transform .12s; }
.booth svg { width: 11px; height: 11px; color: #8A6D00; }
.booth.power { background: var(--sun-l); }
.booth:hover:not([disabled]) { background: var(--navy-l); transform: scale(1.06); z-index: 2; }
.booth[aria-pressed="true"] { background: var(--navy); color: #fff; }
.booth[aria-pressed="true"] svg { color: var(--sun); }
.booth.sold, .booth.held, .booth.blocked, .booth[disabled] { background: #D3D7DF; border-color: #9AA2B1; color: #5B6475; cursor: not-allowed; background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(0,0,0,.10) 4px 6px); }
.booth[disabled] svg { color: #5B6475; }
.m-label { position: absolute; display: grid; place-items: center; font: 700 .72rem/1.1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: center; border: 1px dashed #B8C0D0; border-radius: 4px; background: rgba(255,255,255,.7); }
.m-label.vert span { writing-mode: vertical-rl; transform: rotate(180deg); }
.m-door { position: absolute; background: var(--ok); border-radius: 2px; }
.book-card h2 { font-size: 1.35rem; }
.picked-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.picked-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--navy-l); padding: 8px 12px; border-radius: var(--r-s); font-weight: 600; }
.picked-list button { font: 600 .88rem var(--font); background: none; border: 0; color: var(--bad); text-decoration: underline; cursor: pointer; min-height: 32px; }
.total { font-size: 1.15rem; padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.total strong { font-size: 1.5rem; color: var(--navy-d); }

/* Thanks */
.big-money { font-family: var(--display); font-size: 2.6rem; color: var(--navy-d); margin: 0 0 6px; }
.code-box { background: var(--sun-l); border: 2px dashed var(--navy); border-radius: var(--r); padding: 18px; text-align: center; margin-bottom: 16px; }
.code-box .code { font: 800 2rem/1 ui-monospace, Consolas, monospace; letter-spacing: .15em; color: var(--navy-d); margin: 6px 0 10px; }

/* Footer */
.site-footer { background: var(--navy-d); color: #E3E9F5; padding: 48px 0 0; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.f-plate { display: inline-block; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.f-plate img { width: 120px; }
.f-h { font: 700 1rem var(--font); color: var(--sun); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.f-links a { display: inline-block; padding: 6px 0; }
.f-small { font-size: .88rem; color: #C9D3E8; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding: 16px 0 24px; font-size: .88rem; }
.f-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile quick bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(20, 40, 86, .12); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; text-decoration: none; }
  .mb-book { background: var(--accent); color: var(--on-accent); }
  .mb-donate { color: var(--navy-d); }
  body { padding-bottom: 56px; }
  body:has(#booker) .mobile-bar { display: none; }
  body:has(#booker) { padding-bottom: 0; }
}
.field .chk { font-weight: 500; display: flex; }
.map-col > h2, .book-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.h-note { flex-basis: 100%; padding-left: 44px; }
@media (min-width: 600px) { .h-note { flex-basis: auto; padding-left: 8px; } }
.book-grid > * { min-width: 0; }
@media (max-width: 960px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.press-sm { margin-top: 18px; }
.press-sm blockquote { font-size: 1.15rem; }
/* Focus ring must show on dark bands too */
.utility :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .press :focus-visible, .hero :focus-visible, .skip:focus-visible { outline-color: var(--sun); }
/* About page */
.stats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.stats strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--navy-d); }
.stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-mission { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-mission figure img { border-radius: var(--r); box-shadow: var(--shadow); }
@media (max-width: 860px) { .about-mission { grid-template-columns: 1fr; } }
.mission-fig { margin: 0; }
.mission { margin: 0 0 26px; padding: 4px 0 4px 20px; border-left: 5px solid var(--sun); }
.mission p { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--navy-d); margin: 0; }
.about-mission h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards.three { grid-template-columns: 1fr; } }
.cards.three .card p:last-child { margin-bottom: 0; }
.ev-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.ev-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.ev-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ev-body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.ev-when { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.ev-name { font-weight: 800; font-size: 1.15rem; color: var(--navy-d); }
.ev-card:hover .ev-name { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.ev-desc { color: var(--ink); }
.stats strong span { font-size: inherit; color: inherit; }
@media (max-width: 860px) {
  .ev-card { flex-direction: row; align-items: stretch; }
  .ev-card picture, .ev-card img { width: 38%; flex: none; aspect-ratio: auto; height: auto; min-height: 100%; object-fit: cover; }
  .ev-body { padding: 14px 16px; gap: 4px; }
  .ev-desc { font-size: .95rem; }
}
/* Sponsor level picker: one row of equal tiles (2x2 on phones) */
.level-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.level-pick .choice { display: flex; margin: 0; border-radius: var(--r-s); padding: 12px 12px; align-items: center; gap: 10px; min-height: 64px; }
.level-pick .choice > span { display: grid; gap: 2px; line-height: 1.2; }
.level-pick .lp-name { font-weight: 600; font-size: .92rem; color: var(--muted); }
.level-pick strong { font-size: 1.1rem; color: var(--navy-d); }
.level-pick .choice:has(input:checked) .lp-name { color: var(--navy-d); }
@media (max-width: 600px) { .level-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Donate prompt inside a form (parade registration) */
.give-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--line); }
.give-box h3 { margin: 0 0 4px; }
.give-box p { margin: 0; color: var(--ink); max-width: 46ch; }
.form-ok + .give-box { margin-top: 16px; }
.field .choice { display: inline-flex; margin-bottom: 0; }
/* Political booth: guidelines agreement + popup */
.pol-agree { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid var(--accent, var(--navy)); background: var(--soft); border-radius: 0 var(--r-s) var(--r-s) 0; }
.pol-agree .chk { margin: 0; }
.pol-dlg { border: 0; border-radius: var(--r); padding: 0; width: min(100% - 24px, 720px); max-height: min(88vh, 820px); box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--ink); }
.pol-dlg[open] { display: flex; flex-direction: column; }
.pol-dlg::backdrop { background: rgba(20, 40, 86, .55); }
.pol-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pol-dlg-head h2 { margin: 0; font-size: 1.35rem; }
.pol-x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.9rem; line-height: 1; color: var(--navy-d); cursor: pointer; border-radius: var(--r-s); }
.pol-x:hover { background: var(--soft); }
.pol-dlg-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.pol-dlg-body p { margin: 0 0 .9em; }
.pol-dlg-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--soft); }

/* 320px reflow (WCAG 1.4.10): glued last words in long H1s must fit */
@media (max-width: 360px) { h1 { font-size: 1.75rem; } .hero h1 { font-size: 1.9rem; } }
/* Keep keyboard focus clear of the sticky header and the phone bottom bar (WCAG 2.4.11) */
html { scroll-padding-top: 110px; }
@media (max-width: 700px) { html { scroll-padding-top: 90px; scroll-padding-bottom: 76px; } }
/* Christmas Parade logo beside the organization logo in the header */
.event-logos { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.event-logos a { display: block; border-radius: 6px; }
.event-logos img { height: 48px; width: auto; display: block; }
@media (min-width: 1061px) and (max-width: 1159px) { .event-logos { display: none; } }
@media (max-width: 1060px) { .header-in { gap: 14px; } .event-logos img { height: 40px; } }
@media (max-width: 420px) { .brand img { width: 80px; } .event-logos { padding-left: 10px; gap: 6px; } .event-logos img { height: 34px; } }
@media (max-width: 359px) { .event-logos { display: none; } }
