:root {
  --navy: #102A43;
  --coral: #E9654B;
  --coral-dark: #c94f37;
  --cream: #F7F2E8;
  --slate: #526477;
  --ink: #102A43;
  --muted: #6b7a8a;
  --line: #e3ddd2;
  --card: #ffffff;
  --bg: #F7F2E8;
  --ok: #2f7d4f;
  --ok-bg: #e4f3ea;
  --warn: #9a6700;
  --warn-bg: #fff3cd;
  --info-bg: #e8eef5;
  --focus: #E9654B;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.06), 0 4px 14px rgba(16, 42, 67, 0.06);
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--navy); }
a:hover { color: var(--coral-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5rem; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
small, .muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 14px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 34px; height: 32px; }
.brand-word { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1; }
.brand-around { color: var(--navy); }
.brand-tonight { color: var(--coral); }
.brand-city { font-size: .8rem; color: var(--slate); margin-left: 4px; padding-left: 8px; border-left: 1px solid var(--line); line-height: 1.1; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px; color: var(--slate); }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--cream); color: var(--navy); }
.site-nav a { white-space: nowrap; }
@media (max-width: 600px) {
  .brand-city { display: none; }
}
@media (max-width: 480px) {
  .brand-word { font-size: 1.1rem; }
  .brand-mark { width: 28px; height: 26px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 6px; font-size: .82rem; }
}

.site-main { min-height: 60vh; padding: 14px 0 40px; }
.site-footer { background: var(--navy); color: #d8e0ea; padding: 28px 0 36px; margin-top: 24px; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-tagline { font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.footer-disclaimer { color: #b9c6d4; max-width: 60ch; }
.footer-copy { color: #8fa1b5; margin: 8px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 10px 14px; border-radius: 10px; border: 1px solid transparent;
  background: var(--navy); color: #fff; cursor: pointer; text-decoration: none;
}
.btn:hover { background: #0b1f33; color: #fff; }
.btn-primary { background: var(--coral); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { background: var(--cream); color: var(--navy); }
.btn-sm { padding: 6px 10px; font-size: .85rem; border-radius: 8px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: .85rem; font-weight: 600; line-height: 1;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--slate); color: var(--navy); }
.chip[aria-pressed="true"], .chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-row::-webkit-scrollbar { display: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.card + .card { margin-top: 10px; }

.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; line-height: 1.3; }
.badge-open { background: var(--ok-bg); color: var(--ok); }
.badge-later { background: var(--info-bg); color: var(--navy); }
.badge-closed { background: #f1e9e7; color: #7a3b2e; }
.badge-unknown { background: #eeeeee; color: #555; }
.badge-live { background: #fde8e2; color: var(--coral-dark); }

.form-field { display: block; margin-bottom: 14px; }
.form-field label, .form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="date"], input[type="time"], input[type="number"], select, textarea {
  font: inherit; width: 100%; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.field-validation-error, .text-danger { color: #b42318; font-size: .85rem; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; color: #b42318; }

.flash { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: #fde8e2; color: #8a2a19; }

.inline { display: inline; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.text-sm { font-size: .88rem; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.5rem; }

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