/* NBO Transportation */

:root {
  --navy-950: #061a2e;
  --navy-900: #082541;
  --navy-800: #0b2e4f;
  --navy-700: #14426d;
  --red: #e2232a;

  --bg: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --text: #0f1c2a;
  --muted: #586777;
  --border: #e0e6ec;
  --link: #0d58a0;
  --focus: #2f7dff;
  --shadow: 0 1px 2px rgba(8, 37, 65, 0.05), 0 6px 20px rgba(8, 37, 65, 0.06);

  --tint-red: #fdecec;
  --tint-navy: #e8eff7;
  --warn-bg: #fff7e8;
  --warn-border: #f2c46d;
  --warn-text: #5c3d00;
  --ok: #11804a;
  --ok-tint: #e2f4ea;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --max: 980px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08111b;
    --surface: #101b27;
    --surface-2: #152332;
    --text: #e6edf4;
    --muted: #97a7b7;
    --border: #213244;
    --link: #8cc3ff;
    --shadow: none;
    --tint-red: #3a1518;
    --tint-navy: #16283b;
    --warn-bg: #2a200d;
    --warn-border: #6e5320;
    --warn-text: #f2d18f;
    --ok: #57cf8c;
    --ok-tint: #0f2a1d;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  border-top: 4px solid var(--red);
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 0.75em; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: 2px; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
small { font-size: 0.8em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.pad { padding: 24px; }
.stack > * + * { margin-top: 28px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.25em;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Header + hero share one navy block */
.site-header, .hero { background: var(--navy-800); color: #fff; }
@media (prefers-color-scheme: dark) { .site-header, .hero { background: var(--navy-950); } }

.header-inner { display: flex; align-items: center; padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: #fff; border-radius: 13px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.brand-mark img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }

.site-nav ul {
  position: relative;
  display: flex; gap: 6px; list-style: none; margin: 0 auto; padding-top: 6px; padding-bottom: 6px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; white-space: nowrap; padding: 8px 15px; border-radius: 999px;
  color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 0.94rem; font-weight: 550;
  transition: background 0.15s;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-nav a[aria-current="page"] { background: #fff; color: var(--navy-800); }

.hero { position: relative; overflow: hidden; padding: 22px 0 64px; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); font-weight: 760; max-width: 18ch; }
.eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.lede { margin-top: 10px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.hero-court {
  position: absolute; right: -150px; top: -230px; width: 320px; height: auto;
  transform: rotate(-30deg); fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 3;
  pointer-events: none;
}
@media (min-width: 720px) { .hero-court { right: 4%; width: 360px; top: -200px; stroke: rgba(255, 255, 255, 0.08); } }

.page-body { position: relative; margin-top: -40px; padding-bottom: 48px; }
.page-body > * + * { margin-top: 20px; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}

/* Places: destination + map app buttons */
.places, .docs { list-style: none; margin: 0; padding: 0; }
.place { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.place + .place, .docs li + li { border-top: 1px solid var(--border); }
.place-info { flex: 1; min-width: 0; }
.place-name { font-size: 1.02rem; font-weight: 650; }
.place-address { margin: 2px 0 0; color: var(--muted); font-size: 0.875rem; }
.place-note {
  display: inline-block; margin: 6px 0 0; padding: 2px 8px; border-radius: 6px;
  background: var(--tint-red); color: var(--text); font-size: 0.8rem; font-weight: 550;
}
.apps { display: flex; gap: 4px; flex: none; }
.app {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 52px; padding: 4px 0; border-radius: 12px; text-decoration: none;
  color: var(--muted); font-size: 0.7rem; font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.app img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.app:hover { background: var(--surface-2); color: var(--text); }
.app:active { transform: scale(0.94); }

/* Search + jump chips */
.toolbar { display: grid; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  color: var(--muted);
}
.search:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text);
  font: inherit; font-size: 1rem; height: 100%;
}
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 44px;
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 0.875rem; font-weight: 550; text-decoration: none;
}
.chip .icon { color: var(--red); width: 1.1em; height: 1.1em; }
.chip:hover { border-color: var(--muted); }

.group { scroll-margin-top: 12px; }
.group-title {
  display: flex; align-items: center; gap: 8px; margin: 0 4px 10px;
  font-size: 1.05rem; font-weight: 700;
}
.group-title .icon { color: var(--red); }
.count {
  margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: 999px; text-align: center;
  background: var(--tint-navy); color: var(--muted); font-size: 0.8rem; font-weight: 600;
}
.empty { padding: 28px 16px; text-align: center; color: var(--muted); }

/* Before you drive */
.setup { padding: 18px 18px 20px; }
.setup-head { display: flex; gap: 12px; align-items: flex-start; }
.setup-head h2 { font-size: 1.1rem; margin-bottom: 4px; }
.setup-head p { color: var(--muted); font-size: 0.94rem; }
.setup-icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--tint-navy); color: var(--link);
}
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--ok-tint); font-weight: 600; font-size: 0.95rem;
}
.checklist .icon { color: var(--ok); stroke-width: 2.6; }
.setup-how { margin: 16px 0 8px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.app-guides { display: grid; gap: 8px; }
.app-guides > * { min-width: 0; }
@media (min-width: 860px) { .app-guides { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.app-guide { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.app-guide summary {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px;
  font-weight: 650; cursor: pointer; list-style: none;
}
.app-guide summary::-webkit-details-marker { display: none; }
.app-guide summary img { border-radius: 7px; }
.app-guide summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s;
}
.app-guide[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.app-guide-body { padding: 4px 14px 14px; }
.steps--small li { font-size: 0.92rem; }
.steps--small li::before { width: 22px; height: 22px; font-size: 0.72rem; }
.btn--video { margin-top: 12px; width: 100%; }
.btn--video .icon { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 0.94rem; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn img { border-radius: 6px; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
@media (prefers-color-scheme: dark) {
  .btn--primary { background: #fff; color: var(--navy-900); }
  .btn--primary:hover { background: #dde7f1; }
}
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--small { min-height: 44px; padding: 4px 14px; font-size: 0.85rem; background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn--small.copied { background: var(--ok-tint); color: var(--ok); border-color: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 0; background: var(--surface-2); color: var(--text); cursor: pointer;
}

/* Promo link to volunteer area */
.promo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--text); text-decoration: none; }
.promo:hover { border-color: var(--muted); }
.promo-icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--tint-red); color: var(--red);
}
.promo-body { flex: 1; display: flex; flex-direction: column; }
.promo-body span { color: var(--muted); font-size: 0.9rem; }
.promo-arrow { color: var(--muted); }

/* Resources */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  display: flex; align-items: center; gap: 10px; padding: 14px; min-height: 60px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; font-weight: 650; font-size: 0.94rem;
}
.tile .icon { color: var(--red); width: 1.4em; height: 1.4em; }
.tile:hover { border-color: var(--muted); }

.doc-sections { display: grid; gap: 24px; }
@media (min-width: 860px) { .doc-sections { grid-template-columns: 1fr 1fr; align-items: start; } }
.doc-section .muted { margin: -4px 4px 10px; font-size: 0.9rem; }
.doc {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  color: var(--text); text-decoration: none; transition: background 0.15s;
}
a.doc:hover { background: var(--surface-2); }
.doc-icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--tint-red); color: var(--red);
}
.doc-icon--video, .doc-icon--link { background: var(--tint-navy); color: var(--link); }
.doc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.doc-title { font-weight: 650; font-size: 0.98rem; }
.doc-desc { color: var(--muted); font-size: 0.85rem; }
.doc-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.doc-end { color: var(--muted); }
.doc--missing { opacity: 0.55; }
.doc--missing .doc-icon { background: var(--surface-2); color: var(--muted); }

.badge {
  display: inline-block; padding: 1px 7px; border-radius: 6px;
  background: var(--navy-800); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
@media (prefers-color-scheme: dark) { .badge { background: var(--navy-700); } }
.badge--today { background: var(--ok); color: #fff; }

/* Parking */
.notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.94rem;
}
.notice > .icon { margin-top: 2px; }
.notice--warn { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); }
.notice p { margin: 0; }

.today-banner {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--ok); color: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.today-banner > span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.today-banner small { opacity: 0.85; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; }
@media (prefers-color-scheme: dark) { .today-banner { color: #062014; } }

.periods { display: grid; gap: 16px; }
@media (min-width: 760px) { .periods { grid-template-columns: 1fr 1fr; } }
.period { display: flex; flex-direction: column; }
.period.is-today { border: 2px solid var(--ok); }
.period-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.period-head h2 { display: flex; align-items: center; gap: 8px; font-size: 0.98rem; font-weight: 700; }
.period-head .icon { color: var(--red); }
.period-body { padding: 16px; flex: 1; }
.period-body h3 { font-size: 1.12rem; }
.period-body > .muted { font-size: 0.9rem; margin-top: 2px; }
.facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts li > .icon { color: var(--muted); margin-top: 2px; }
.facts small { display: block; color: var(--muted); font-weight: 600; }
.code-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.code {
  font: 700 1.15rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.06em;
  padding: 8px 12px; border-radius: 10px; background: var(--tint-navy); color: var(--text);
}
.map-image { position: relative; display: block; border-top: 1px solid var(--border); background: #fff; }
.map-image img { display: block; width: 100%; height: auto; }
.map-image-label {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(8, 37, 65, 0.85); color: #fff; font-size: 0.78rem; font-weight: 650;
}

.honk { padding: 20px; }
.honk h2 { font-size: 1.15rem; margin-bottom: 14px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: baseline; font-size: 0.96rem; }
.steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px; background: var(--navy-800); color: #fff;
  font-size: 0.8rem; font-weight: 700; transform: translateY(-1px);
}
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--navy-700); } }
.honk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }

.card-title {
  padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}

/* Phone numbers */
.main-line { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--text); text-decoration: none; }
.main-line:hover { border-color: var(--muted); }
.main-line-icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px;
  background: var(--red); color: #fff;
}
.main-line-icon .icon { width: 1.4em; height: 1.4em; }
.main-line-body { display: flex; flex-direction: column; line-height: 1.25; }
.main-line-body small { color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.main-line-body strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.main-line-body span { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

.phone-rows { list-style: none; margin: 0; padding: 0; }
.phone-row { display: grid; gap: 8px; padding: 12px 16px; }
.phone-row + .phone-row { border-top: 1px solid var(--border); }
@media (min-width: 720px) {
  .phone-row { grid-template-columns: 270px 1fr; align-items: center; gap: 16px; padding: 10px 18px; }
}
.phone-name h3 { font-size: 0.98rem; font-weight: 650; }
.phone-name small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.numbers { display: flex; flex-wrap: wrap; gap: 6px; }
.number {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 12px 6px 10px;
  border-radius: 11px; background: var(--tint-navy); color: var(--text); text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 0.92rem; font-variant-numeric: tabular-nums;
}
.number .icon { color: var(--link); width: 1.05em; height: 1.05em; }
.number em {
  font-style: normal; font-size: 0.68rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.number:hover { background: color-mix(in srgb, var(--tint-navy) 70%, var(--link) 12%); }

/* FAQ */
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
  padding: 16px 18px; cursor: pointer; font-weight: 650; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.prose blockquote {
  margin: 0 0 0.75em; padding: 10px 14px; border-left: 3px solid var(--red);
  background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--text);
}
.prose strong { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; background: var(--surface); }
.contacts { display: grid; gap: 10px; }
@media (min-width: 720px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contact {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.94rem;
  overflow-wrap: break-word; min-width: 0;
}
.contact .icon { color: var(--red); }
.contact small { display: block; color: var(--muted); font-weight: 500; }
.fineprint { margin-top: 18px; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* Video dialog */
.video-dialog {
  width: min(92vw, 440px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.video-dialog::backdrop { background: rgba(4, 14, 25, 0.7); backdrop-filter: blur(3px); }
.video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; }
.video-head h2 { font-size: 1rem; }
.video-dialog video { display: block; width: 100%; max-height: calc(92vh - 64px); background: #000; }

@media (min-width: 720px) {
  body { font-size: 17.5px; }
  .hero { padding: 30px 0 72px; }
  .place { padding: 14px 20px; }
  .app { width: 58px; }
}
