/* ===================================================================
   StrikePoint Laser Tag — shared site chrome.
   Loaded on every standard page AFTER pages.css (or the homepage's inline
   stylesheet). Styles the build-rendered nav (with its collapsible menu),
   footer, mobile conversion bar, service-area callout, skip link and
   breadcrumbs, so every page shares one navigation experience.
   =================================================================== */

/* Slightly lighter muted text so small print meets WCAG AA on the dark
   background (4.5:1+). */
:root { --ink-mute: #8190b6; }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px;
  font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; font-size: 13px;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* ============ NAV ============ */
/* The logo is the brand's primary mark: the StrikePoint emblem, shown large
   and shrinking smoothly once the visitor scrolls (site-nav.js adds
   .nav-scrolled). Sized by width (--nav-logo-w); its height follows the
   image's 1530:842 shape. It may give up width when a narrow row needs room,
   so it never crowds the links, phone, CTA or menu button. */
.nav { --nav-logo-w: 370px; }
.nav.nav-scrolled { --nav-logo-w: 240px; }
@media (max-width: 1279px) { .nav { --nav-logo-w: 300px; } .nav.nav-scrolled { --nav-logo-w: 220px; } }
@media (max-width: 640px) { .nav { --nav-logo-w: 260px; } .nav.nav-scrolled { --nav-logo-w: 200px; } }
.nav-inner { padding-top: 6px; padding-bottom: 6px; }
.nav-logo { flex: 0 1 auto; width: var(--nav-logo-w); min-width: 150px; line-height: 0; transition: width 0.25s ease; }
.nav-logo picture { display: block; }
.nav-logo .nav-logo-img {
  display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1530 / 842;
  object-fit: contain; filter: none;
}
@media (prefers-reduced-motion: reduce) { .nav-logo { transition: none; } }
/* Desktop: the tall logo spans two rows on the right, with the phone and
   "Check Availability" above the link row. */
@media (min-width: 1280px) {
  .nav .nav-inner {
    display: grid; grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "logo actions" "logo menu";
    column-gap: 32px; row-gap: 12px; align-items: center;
  }
  .nav-logo { grid-area: logo; }
  .nav-actions { grid-area: actions; justify-self: end; align-self: end; }
  .nav-menu { grid-area: menu; justify-self: end; align-self: start; }
}
.nav-menu { display: flex; align-items: center; }
.nav .nav-links { display: flex; gap: 20px; list-style: none; flex-wrap: nowrap; }
.nav .nav-links a { font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
.nav .nav-links a[aria-current="page"] { color: var(--ink); }
.nav .nav-links a[aria-current="page"]::after { width: 100%; }
.nav .nav-links a:focus-visible,
.nav-menu-phone:focus-visible,
.menu-toggle:focus-visible,
.footer-col a:focus-visible,
.footer-legal a:focus-visible,
.sa-callout a:focus-visible,
.breadcrumbs a:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; }
.nav-menu-phone { display: none; }

/* The label stacks above the number so seven links fit on wide screens. */
.nav-phone { flex-wrap: wrap; column-gap: 8px; row-gap: 0; line-height: 1.25; }
.nav-phone svg { align-self: center; }
.nav-phone-text { display: flex; flex-direction: column; }
.nav-phone-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px;
  background: none; border: 1px solid var(--line-bright); color: var(--ink);
  padding: 8px 12px; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.menu-toggle:hover { border-color: var(--blue-glow); }
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  position: relative; transition: transform 0.2s, background 0.2s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.nav-open .menu-toggle-bars { background: transparent; }
.nav-open .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ============ EXPERIENCES DROPDOWN ============ */
/* Disclosure menu (site-nav.js). The button matches the nav links; the panel
   floats under it on desktop and becomes an accordion in the mobile menu. */
.nav-dd { position: relative; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--ink-dim); font-family: inherit; font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
  transition: color 0.2s;
}
.nav-dd-trigger::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.nav-dd-trigger:hover, .nav-dd.is-open .nav-dd-trigger, .nav-dd.is-current .nav-dd-trigger { color: var(--ink); }
.nav-dd-trigger:hover::after, .nav-dd.is-open .nav-dd-trigger::after, .nav-dd.is-current .nav-dd-trigger::after { width: 100%; }
.nav-dd-trigger:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; }
.nav-dd-chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.nav-dd.is-open .nav-dd-chevron { transform: rotate(180deg); }

.nav-dd-panel[hidden] { display: none; }
.nav-dd-heading {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
}
.nav-dd-heading::before { content: ""; width: 3px; height: 12px; background: var(--red); }
.nav-dd-group + .nav-dd-group .nav-dd-heading::before { background: var(--blue); }
.nav-dd-group ul { list-style: none; }
/* "Plan by Occasion": set apart from the service groups by a rule and a white marker. */
.nav-dd-group--occasion { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-bright); }
.nav-dd-group.nav-dd-group--occasion .nav-dd-heading::before { background: var(--ink); }
.nav .nav-links .nav-dd-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-left: 2px solid transparent; color: var(--steel);
  font-size: 15px; font-weight: 500; letter-spacing: 0.03em; text-transform: none;
  white-space: normal; line-height: 1.3; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.nav .nav-links .nav-dd-panel a::after { display: none; }
.nav .nav-links .nav-dd-panel a:hover { color: var(--ink); background: rgba(30,136,255,0.10); border-left-color: var(--red); }
.nav .nav-links .nav-dd-panel a:focus-visible { color: var(--ink); background: rgba(30,136,255,0.10); outline: 2px solid var(--blue-glow); outline-offset: -2px; }
.nav .nav-links .nav-dd-panel .nav-dd-all {
  justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-bright); border-left-color: transparent;
  color: var(--blue-glow); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav .nav-links .nav-dd-panel .nav-dd-all::after { display: block; content: "\2192" / ""; position: static; width: auto; height: auto; background: none; }
.nav .nav-links .nav-dd-panel .nav-dd-all:hover { color: var(--ink); border-left-color: var(--blue-glow); }

@media (min-width: 1280px) {
  .nav-dd-panel {
    position: absolute; top: calc(100% + 22px); left: -22px; z-index: 60;
    width: min(620px, calc(100vw - 48px)); padding: 18px 16px 12px;
    background: rgba(5,7,13,0.98); border: 1px solid var(--line-bright); border-top: 2px solid var(--red);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    animation: nav-dd-in 0.14s ease-out;
  }
  /* Invisible bridge so the pointer can cross the gap from button to panel. */
  .nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }
  .nav-dd-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px 20px; }
  .nav-dd-heading { padding-left: 12px; }
  .nav-dd-group--occasion { grid-column: 1 / -1; margin-top: 0; }
  .nav-dd-group--occasion ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@keyframes nav-dd-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .nav-dd-panel { animation: none; }
  .nav-dd-chevron, .nav-dd-trigger::after { transition: none; }
}

/* Mobile menu: a full-width accordion row with the same groups and order. */
@media (max-width: 1279px) {
  .nav .nav-menu { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overscroll-behavior: contain; }
  .nav-dd-trigger {
    display: flex; width: 100%; min-height: 48px; justify-content: space-between;
    font-size: 15px; letter-spacing: 0.14em; color: var(--ink-dim);
  }
  .nav-dd-trigger::after { display: none; }
  .nav-dd-chevron { width: 14px; height: 14px; }
  .nav-dd-panel { padding: 4px 0 14px; }
  .nav-dd-group + .nav-dd-group { margin-top: 12px; }
  .nav-dd-heading { margin: 6px 0 2px; }
  .nav .nav-links .nav-dd-panel li { border-bottom: 0; }
  .nav .nav-links .nav-dd-panel a { padding: 8px 12px 8px 14px; letter-spacing: 0.03em; font-size: 15px; }
  .nav .nav-links .nav-dd-panel .nav-dd-all { padding-left: 14px; font-size: 12px; letter-spacing: 0.16em; }
}
/* Phones: end the menu above the fixed mobile conversion bar. */
@media (max-width: 640px) {
  .nav .nav-menu {
    max-height: calc(100vh - 210px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 210px - env(safe-area-inset-bottom, 0px));
  }
}

/* The gallery link reads "Photos & Videos" in the collapsed menu and the
   shorter "Gallery" on the desktop row. */
.nav-label-short { display: none; }
@media (min-width: 1280px) {
  .nav-label-long { display: none; }
  .nav-label-short { display: inline; }
}

/* Ten top-level links (Active PE and Gallery included): tighten spacing on the
   narrower desktop widths so the row never wraps or crowds the phone/CTA. */
@media (min-width: 1280px) {
  .nav .nav-links { gap: 16px; }
  .nav .nav-links a, .nav-dd-trigger { letter-spacing: 0.06em; }
  .nav-cta { white-space: nowrap; }
}
@media (min-width: 1280px) and (max-width: 1379px) {
  .nav-inner { gap: 14px; }
  .nav .nav-links { gap: 13px; }
  .nav .nav-links a, .nav-dd-trigger { letter-spacing: 0.04em; }
  .nav-actions { gap: 12px; }
}

/* Below 1280px the links collapse into a keyboard-operable menu. */
@media (max-width: 1279px) {
  .nav { position: sticky; }
  .nav-inner { position: relative; }
  .menu-toggle { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: rgba(5,7,13,0.98); border-bottom: 1px solid var(--line-bright);
    padding: 8px 28px 20px; max-height: calc(100vh - 190px); overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  }
  .nav-open .nav-menu { display: flex; }
  .nav .nav-links { display: flex; flex-direction: column; gap: 0; }
  .nav .nav-links li { border-bottom: 1px solid var(--line); }
  .nav .nav-links a {
    display: flex; align-items: center; min-height: 48px; padding: 0;
    font-size: 15px; letter-spacing: 0.14em;
  }
  .nav .nav-links a::after { display: none; }
  .nav-menu-phone {
    display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 12px;
    color: var(--ink); text-decoration: none; font-family: 'JetBrains Mono', monospace;
    font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  }
  .nav-menu-phone svg { width: 18px; height: 18px; color: var(--blue-glow); flex-shrink: 0; }
}
@media (min-width: 641px) and (max-width: 1279px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-cta { padding: 12px 18px; }
}
@media (max-width: 640px) {
  .nav-menu { padding: 4px 18px 18px; }
  .nav-inner { padding-top: 4px; padding-bottom: 4px; }
  /* "Check Availability" wraps onto two lines to leave the logo more room. */
  .nav-actions .nav-cta { white-space: normal; max-width: 104px; padding: 7px 10px; line-height: 1.15; text-align: center; justify-content: center; }
  .nav-actions { gap: 8px; }
  .menu-toggle { padding: 8px 10px; }
}
/* Small phones show the menu button's icon only (the label stays for screen
   readers), leaving the logo more width. */
@media (max-width: 460px) {
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 400px) {
  .nav-inner { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .nav-actions .nav-cta { max-width: 92px; padding: 7px 10px; font-size: 11px; letter-spacing: 0.06em; }
}

/* ============ FOOTER ============ */
.footer-brand img { height: 96px; width: 96px; }
.footer-grid--five { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-heading {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--red-glow); letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 700;
}
.footer-col a { display: inline-block; padding: 3px 0; }
.footer-bottom { color: var(--ink-dim); }
.footer-legal a { color: var(--ink-dim); }
/* Chamber of Commerce membership badges. chamber-badge.js fills each
   container with its Chamber's widget; until it does — or if that Chamber's
   service is unreachable — the empty container is hidden, so only rendered
   badges take up space. Badges sit side by side and wrap; every card shares
   the same fixed size so no Chamber dominates. */
.footer-chamber {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 28px; text-align: center;
}
.footer-chamber-heading {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.6;
  color: var(--ink-dim); max-width: 36em;
}
.footer-chamber-badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px;
}
.footer-chamber-badge {
  width: 140px; padding: 8px 8px 6px;
  background: #fff; color: #1a1a1a; border-radius: 8px;
  box-shadow: 0 0 16px rgba(30,136,255,0.25);
  font-size: 10px; line-height: 1.3;
}
.footer-chamber-badge:empty { display: none; }
.footer-chamber-badge .mn-widget-member-name { margin-bottom: 2px; overflow-wrap: anywhere; }
.footer-chamber-badge .mn-widget-member-text { color: #555; font-size: 9.5px; margin-bottom: 2px; }
/* The Chambers' 200x200 logo files are square with white space above and
   below a wide artwork band; every logo gets the same 124x46 box cropped to
   that band, so the artwork keeps its proportions and the cards stay
   QR-code sized. */
.footer-chamber-badge .mn-widget-member-logo {
  display: block; margin: 0 auto; width: 124px; height: 46px;
  object-fit: cover; object-position: 50% 49%;
}
.footer-chamber-badge a { display: inline-block; border-radius: 4px; }
.footer-chamber-badge a:focus-visible { outline: 2px solid var(--red-glow); outline-offset: 3px; }
@media (max-width: 480px) {
  .footer-chamber-badges { flex-direction: column; align-items: center; gap: 12px; }
}
@media (max-width: 1100px) {
  .footer-grid--five { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid--five .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid--five { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}
@media (max-width: 380px) {
  .footer-grid--five { grid-template-columns: 1fr; }
}

/* ============ MOBILE CONVERSION BAR ============ */
.mcb-call-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.mcb-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.02em; font-weight: 700; }
@media (max-width: 400px) {
  .mobile-cta-bar a { font-size: 12px; letter-spacing: 0.06em; padding: 0 6px; }
  .mcb-num { font-size: 10px; }
}

/* ============ SERVICE AREA CALLOUT ============ */
.sa-callout {
  margin-top: 32px; padding: 22px 24px;
  border: 1px solid var(--line-bright); border-left: 3px solid var(--blue);
  background: linear-gradient(135deg, rgba(30,136,255,0.10), rgba(10,15,28,0.6));
}
.sa-callout-title {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--blue-glow); text-transform: uppercase; line-height: 1.4;
}
.sa-callout-copy { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.sa-callout-cities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sa-callout-cities a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px;
  border: 1px solid var(--line-bright); color: var(--steel); text-decoration: none;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.sa-callout-cities a:hover { border-color: var(--blue-glow); color: var(--ink); }
.sa-callout-regions { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-dim); }
@media (max-width: 640px) {
  .sa-callout { padding: 18px 16px; }
  .sa-callout-title { font-size: 12px; letter-spacing: 0.14em; }
  .sa-callout-copy { font-size: 15px; }
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-dim); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-mute); }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ============ LOCAL PAGES ============ */
.local-prices { margin: 18px 0 8px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.local-prices li { border: 1px solid var(--line-bright); background: var(--bg-1); padding: 14px 16px; }
.local-prices strong { display: block; color: var(--ink); font-size: 16px; letter-spacing: 0.04em; }
.local-prices span { color: var(--amber); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; }
.local-prices small { display: block; color: var(--ink-dim); font-size: 13px; margin-top: 4px; }
.legal-content .faq-list { margin-top: 20px; }
.local-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.local-links a { color: var(--blue-glow); }

/* In-page links (#book, #nerf-packages…) land below the sticky nav. */
html { scroll-padding-top: 160px; }
@media (max-width: 1279px) { html { scroll-padding-top: 145px; } }
@media (max-width: 640px) { html { scroll-padding-top: 125px; } }
