/* ==========================================================================
   Dark layer: Bold palette + type (Anton / Archivo, black + Ace red) on the
   base layout. Loaded after theme.css.
   Contrast (WCAG): #F3F0EA on #0B0B0B 17:1 · #B8B8B8 on #151515 9:1 ·
   #FF5470 (red text) on #0B0B0B 6.4:1 / on #151515 5.9:1 · #fff on #D40029 5.4:1
   ========================================================================== */
:root {
  --ink: #0B0B0B; --char: #0B0B0B; --char-2: #151515; --char-3: #262626; --line: #2F2F2F;
  --paper: #F3F0EA; --text: #F3F0EA; --muted: #B8B8B8; --red-text: #FF5470;
  --kraft: #1C1C1C; --kraft-2: #2F2F2F;
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --radius: 4px; --radius-lg: 6px;
  --shadow: none; --shadow-lg: 0 20px 50px rgba(0,0,0,.6);
}
body { background: var(--ink); color: var(--text); }
h1, h2, h3 { font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
.eyebrow, .placeholder, .loc-card__name, .loc-card__more, .info-card__label, .popup a, .store-hero__name, .footer-locations a[href^="tel"] { color: var(--red-text); }
.eyebrow::before { border-radius: 0; }
.eyebrow--light { color: var(--red-text); }

/* buttons: square-ish Bold buttons, large tap targets kept */
.btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.btn--red { box-shadow: none; }
.btn--dark { background: var(--paper); color: var(--ink); }
.btn--dark:hover { background: #fff; }
.btn--line { background: transparent; color: var(--paper); border-color: #5A5A5A; }
.btn--line:hover { border-color: var(--paper); }
.btn:focus-visible, a:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--red-text); outline-offset: 2px; }

/* header: Bold red topbar + black bar */
.topbar { background: var(--ace-red); color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.site-header { background: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav a { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; border-radius: 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { background: none; border-bottom-color: var(--ace-red); }
.nav-toggle { background: var(--char-3); border-radius: 6px; }
.nav-toggle span { background: #fff; }

/* hero + chooser */
.hero, .store-hero { background: var(--ink); }
.hero::after, .store-hero::after { background: var(--ace-red); height: 6px; opacity: 1; }
.carousel__slide::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 100%); }
.hero__kicker { border-radius: 0; }
.hero__title { font-size: clamp(40px, 5vw, 68px); }
.chooser, .store-hero__panel { background: var(--char-2); border: 1px solid var(--line); }
.chooser__title { font-size: 34px; }
.chooser__sub, .crumbs, .mapsec__txt small, .site-footer__tag span, .crew .section-head__meta, .switcher { color: var(--muted); }
.chooser__item { background: var(--char-3); color: #fff; border: 1px solid #3A3A3A; border-radius: 6px; }
.chooser__item:hover { background: #303030; border-color: var(--ace-red); }
.chooser__arrow { stroke: var(--red-text); }
.chooser__result { color: var(--paper); }
.carousel__btn { background: rgba(255,255,255,.92); }

/* status badges on dark */
.status { background: #262626; color: var(--muted); }
.status.is-open { background: #10301D; color: #6EE29A; }
.status.is-closed { background: #3A1A0E; color: #FFAD80; }
.status.is-tbd { background: #3A0A14; color: var(--red-text); }

/* sections */
.locations, .community { background: var(--ink); }
.community { border-top: 1px solid var(--line); }
.section-head__meta, .fine, .hours, .hours-table td, .deal__detail, .deal__credit, .others__item span:not(.status), .review footer { color: var(--muted); }
.hours b, .info-card__link { color: var(--paper); }
.loc-card, .info-card, .deal, .others__item { background: var(--char-2); border: 1px solid var(--line); color: var(--text); }
.loc-card:hover, .others__item:hover { border-color: var(--ace-red); }
.loc-card__media { background: var(--char-3); }
.mapsec, .crew { background: var(--char-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mapsec__item:hover, .mapsec__item.is-selected { background: var(--char-3); }
.mapsec__map, .leaflet-container { background: #1A1A1A; }
.map-label { background: #fff; color: var(--ink); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #fff; color: var(--ink); }
.popup a { color: #B00022; }
.leaflet-control-attribution { background: rgba(0,0,0,.7) !important; color: #ccc; }
.leaflet-control-attribution a { color: #fff; }
.leaflet-control-zoom a { background: #1C1C1C; color: #fff; border-color: #333; }
.snap { background: var(--char-3); }
.snap figcaption { background: rgba(11,11,11,.9); color: #fff; border-radius: 4px; }
.snap figcaption em { color: var(--muted); }
.deal__tag { background: var(--ace-red); border-color: var(--ace-red); border-radius: 0; }
.deal__offer { color: var(--red-text); font-weight: 400; }
.review { background: var(--char-3); color: var(--paper); }
.switcher select { background: var(--char-3); color: #fff; border: 1px solid #4A4A4A; border-radius: 6px; }
.tile { border-radius: 6px; }
.tile--dark { background: var(--char-3); border: 1px solid var(--line); }
.tile--wood { background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.82)), var(--wood) center/700px; }
.loc-card--cta { background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.88)), var(--wood) center/700px var(--ink); }
.loc-card--cta p, .site-footer { color: #D8D8D8; }
.site-footer { background: var(--ink); border-top: 6px solid var(--ace-red); border-image: none; }
.site-footer__tag { font-weight: 400; text-transform: uppercase; }
.site-footer__bottom { background: #000; color: var(--muted); }
@media (max-width: 820px) { body.nav-open .site-nav { background: var(--ink); border-bottom: 1px solid var(--line); } }

/* Nearest store */
.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; }
.near-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 13px; font-weight: 700; }
.near-meta[hidden] { display: none; }
.near-meta .near-dist, .others__item .near-meta .near-dist { color: var(--muted); font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.near-badge { display: inline-block; background: var(--ace-red); color: #fff; font: 800 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.chooser__city { display: flex; flex-direction: column; gap: 2px; }
.chooser__item .near-meta { margin: 0 0 4px; font-size: 12px; }
.chooser li.is-nearest .chooser__item, .loc-card.is-nearest, .others__item.is-nearest { border-color: var(--ace-red); box-shadow: 0 0 0 2px var(--ace-red); }
.footer-locations .near-meta { margin: 2px 0; }
/* Footer list: distance line, then the Nearest badge on its own line below it. */
.footer-locations .near-meta { flex-direction: column; align-items: flex-start; }
.footer-locations .near-meta .near-badge { order: 2; }
.chooser__result a { color: #fff; font-weight: 800; }

/* Deals (CPT) */
.deal__media { background: var(--char-3); }
.deal__title { font-weight: 400; text-transform: uppercase; }
.deal__detail p { margin: 0 0 6px; }
.deal__offer { color: var(--red-text); }

/* Clickable slides: full-slide hit area + focusable title link */
.carousel__hit { position: absolute; inset: 0; z-index: 2; }
.carousel__slide--link .hero__caption { z-index: 3; pointer-events: none; }
.carousel__slide--link .carousel__link { color: inherit; text-decoration: none; pointer-events: auto; }
.carousel__slide--link .carousel__link:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.carousel__ui { z-index: 4; }

/* Block styles: core Heading/Paragraph that look exactly like .eyebrow / .section-head__title */
.is-style-stans-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 800 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.is-style-stans-eyebrow::before { content: ''; width: 26px; height: 4px; border-radius: 0; background: currentColor; }
.is-style-stans-section-title { display: block; margin: 10px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.section-head > .is-style-stans-section-title + .is-style-stans-section-title, .section-head > p:not([class*="is-style"]) { margin: 10px 0 0; }

/* Order online row (replaces the CTA card in the store grid) */
.order-online { display: flex; align-items: center; gap: 28px; margin-top: 24px; padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); color: var(--paper);
  background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.7)), var(--wood) center/700px var(--ink); }
.order-online__img { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.order-online__text { flex: 1; min-width: 0; }
.order-online__title { font-size: 28px; margin: 8px 0 6px; }
.order-online__copy { margin: 0; color: #D8D8D8; }
.order-online__btn { flex: none; }
.mapsec__blurb { margin: -8px 0 20px; color: var(--muted); }
@media (max-width: 700px) {
  .order-online { flex-direction: column; align-items: stretch; text-align: left; padding: 24px; gap: 16px; }
  .order-online__btn { width: 100%; }
}

/* Community/tiles blocks */
.community__text > .is-style-stans-eyebrow + .community__title { margin-top: 12px; }
.community__text > .checklist { margin: 0 0 26px; }
.snap__link { display: block; width: 100%; height: 100%; }
.tile--image { background: var(--char-3) center/cover no-repeat; }
.tile__text { margin: 0; color: rgba(255,255,255,.88); }
div.tile a.tile__cta { color: #fff; text-decoration: none; }
div.tile a.tile__cta:hover { text-decoration: underline; }
