/* ==================== Base: colors, page, fonts ==================== */

/* Southland Heritage, one-page site.
   Layout: header / the ring (home) / footer, all on one screen, no page scroll.
   Panels open over the ring for categories, Blog, Shop and Contact. */
:root {
  --night: #0c0e12;      /* page ground */
  --midnight: #1b1f26;   /* brand Midnight: cards, panels */
  --cream: #e0ddd7;      /* brand Cream: text */
  --cherry: #d72630;     /* brand Cherry Red: accent */
  --gold: #b7ad85;       /* brand Golden Gray: HUD lines, labels */
  --dim: #8d887a;        /* quiet text */
  --line: #2a2c2a;       /* hairlines */
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
html, body { height: 100%; margin: 0; }
body {
  background: radial-gradient(ellipse at 50% 48%, #151920 0%, var(--night) 62%) var(--night);
  color: var(--cream);
  font-family: var(--mono);
  overflow: hidden;
}
/* anything marked hidden is truly gone: not visible, not clickable */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
/* no built-in iPhone/Safari button styling */
a { color: inherit; }
:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
.site {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding-inline: 16px;
  box-sizing: border-box;
}
/* ---------- stage: ring + panels ---------- */
.stage { position: relative; min-height: 0; }
.out { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
@media (hover: hover) { .out:hover { color: var(--cream); } }
.note { margin: 0; min-height: 1.4em; font: 400 11.5px/1.4 var(--mono); color: var(--gold); }
/* ---------- brand view ---------- */
.detail-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; transform: scale(var(--z, 1)); }
@media (max-width: 640px) { #saved-btn { font-size: 0; gap: 0; } 
  #saved-btn span[aria-hidden] { font-size: 17px; }
}
/* no hover zoom (Jake): the photo keeps its framing *//* desktop: invisible tab row on pages without tabs (same photo size everywhere); phones don't need it */
.tab-spacer { visibility: hidden; }
@media (max-width: 640px) { .tab-spacer { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.detail-img.loaded { opacity: 1; }

/* ==================== Site header and menu ==================== */

/* ---------- header ---------- */
.top {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding-block: calc(18px + env(safe-area-inset-top, 0px)) 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 13px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--cream);
}
.brand::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cherry); box-shadow: 0 0 10px var(--cherry); }
.sub { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.menu { position: relative; display: flex; align-items: center; gap: 18px; }
.menu-list {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 260px;
  display: flex; flex-direction: column; padding: 8px;
  background: rgba(16, 19, 24, .94); border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease;
}
.menu-list.open { opacity: 1; transform: none; }
.menu-list button {
  display: flex; align-items: baseline; gap: 14px; text-align: left;
  background: none; border: 0; border-left: 2px solid transparent; padding: 12px 14px; cursor: pointer;
  font: 600 17px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  transition: border-color .15s ease, background .15s ease;
}
.menu-list button span { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--gold); }
.menu-list button:focus-visible { border-left-color: var(--cherry); background: rgba(215, 38, 48, .08); outline: none; }
@media (hover: hover) { .menu-list button:hover { border-left-color: var(--cherry); background: rgba(215, 38, 48, .08); outline: none; } }
/* ---------- header: menu left, search centered, title right ---------- */
.top .menu { justify-self: start; }
.top-center { justify-self: center; display: flex; align-items: center; gap: 26px; }
@media (max-width: 760px) { .top-center { gap: 16px; } }
/* ---------- monogram home button (right of the menu) ---------- */
.mono { display: grid; place-items: center; width: 26px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--cream); transition: color .2s ease, transform .2s ease; }
@media (hover: hover) { .mono:hover { color: var(--cherry); transform: translateY(-1px); } }
/* ---------- monogram sits on the right, just before the title ---------- */
.top-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.top .sub { justify-self: auto; background: none; border: 0; padding: 0; cursor: pointer; }
/* ---------- uniform header on phones: same words as desktop, sized to fit one line ---------- */
@media (max-width: 640px) { .top { gap: 8px; grid-template-columns: auto 1fr auto; } 
  .brand { font-size: 10px; letter-spacing: .16em; gap: 6px; white-space: nowrap; }

  .top-right { gap: 6px; }

  .top .sub { font-size: 9px; letter-spacing: .06em; white-space: nowrap; }

  .mono { width: 20px; height: 24px; }
}
/* ---------- "The Made in USA List" is a home link (looks the same) ---------- */
@media (hover: hover) { .top .sub:hover { color: var(--cream); } }
.mono svg { width: 100%; height: 100%; fill: currentColor; }

/* ==================== The ring (home) ==================== */

#southland-ring {
  height: 100%; padding-block: 8px; box-sizing: border-box;
  transition: filter .45s ease, transform .45s ease, opacity .45s ease;
}
/* let the ring shrink on short screens instead of overlapping the footer */
#southland-ring .sr-root { min-height: 0; }
/* ---------- title tucked closer to the ring; the room goes to a taller sponsor banner ---------- */
@media (min-width: 641px) { #southland-ring .sr-stage { width: min(100cqw, calc(100cqh - 70px)); transform: translateY(-26px); } 
  #southland-ring .sr-readout { margin-top: -22px; position: relative; z-index: 1; }
}
/* ---------- phones: bigger ring, title spaced evenly between the ring and the banner ---------- */
@media (max-width: 640px) {
  #southland-ring .sr-root { justify-content: space-evenly; }
}
/* the ring's Replay / Take control buttons are never shown on the site, so they take no space */
#southland-ring .sr-controls { display: none !important; }
/* ---------- phone: Search in the center of the ring ---------- */
.ring-search { display: none; }
@media (max-width: 640px) { #southland-ring [data-k=viewIdle] { display: none; } }
/* replaced by the hint + button below */
@media (max-width: 640px) { .ring-search:not([hidden]) { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; } 
  .ring-hint { font: 500 9px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

  .ring-search-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
    font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); border-radius: 2px; background: none; border: 0; padding: 6px 4px; }

  .ring-search-btn:active { border-color: var(--cherry); }
}
/* icon inside the ring's Search button keeps its own small size */
#southland-ring .ring-search-btn svg { position: static; inset: auto; width: 13px; height: 13px; display: block; overflow: visible; }

/* ==================== Windows: frame, header, ✕, Surprise me, tabs, pager ==================== */

/* ---------- phone: ring-center Search is plain text + icon (no box) ---------- */
.stage.panel-open #southland-ring { filter: blur(8px) brightness(.35); transform: scale(.95); pointer-events: none; }
.panel-layer { position: absolute; inset: 0; display: grid; place-items: center; z-index: 10; }
.panel {
  position: relative;
  width: min(1120px, 100%); height: min(680px, calc(100% - 16px));
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(14, 17, 22, .9); border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .3s ease;
}
.panel.open { opacity: 1; transform: none; }
/* HUD corner brackets */
.panel::before, .panel::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); pointer-events: none; }
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.panel h2 { margin: 0; font: 700 clamp(28px, 4vw, 42px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-wrap: balance; }
.head-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tool {
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  background: transparent; border: 1px solid #3a382f; border-radius: 2px; padding: 9px 11px; cursor: pointer; white-space: nowrap;
}
@media (hover: hover) { .tool:hover { color: var(--cream); border-color: var(--cherry); } }
.close { font-size: 16px; padding: 6px 11px; color: var(--cream); }
.panel-body { position: relative; overflow: hidden; padding: 18px 24px; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager { display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-variant-numeric: tabular-nums; }
.pager .tool { font-size: 14px; padding: 6px 12px; letter-spacing: 0; padding-top: 5px; padding-bottom: 7px; }
.pager .tool:disabled { opacity: .3; cursor: default; border-color: #3a382f; color: var(--gold); }
.dots { display: flex; gap: 5px; }
.dots i { width: 14px; height: 2px; background: #3a382f; }
.dots i.on { background: var(--cherry); }
@media (max-width: 760px) { .panel-head { padding: 16px 16px 12px; flex-wrap: wrap; } 
  .panel-body { padding: 14px 16px; }

  .panel-foot { padding: 10px 16px 12px; }
}
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer;
  font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
}
@media (hover: hover) { .search-btn:hover { color: var(--cherry); } }
/* ---------- search ---------- */
.search-body { display: flex; flex-direction: column; gap: 12px; }
.search-bar { display: flex; flex-direction: column; gap: 10px; flex: none; }
.chips { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.chip { flex: none; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  background: transparent; border: 1px solid #3a382f; border-radius: 2px; padding: 7px 9px; cursor: pointer; }
@media (hover: hover) { .chip:hover { color: var(--cream); border-color: var(--gold); } }
.chip[aria-pressed="true"] { color: var(--cream); background: var(--cherry); border-color: var(--cherry); }
.search-status { margin: 0; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.results { position: relative; flex: 1; min-height: 0; }
@media (max-width: 640px) { .chips { flex-wrap: wrap; overflow: hidden; } }
.tool.save { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; }
.tool.save[aria-pressed="true"] { color: var(--cherry); border-color: var(--cherry); }
/* ---------- filters: chips + state picker ---------- */
.filter-row { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 30px; }
.filter-row .chips { min-width: 0; flex: 0 1 auto; }
.state-pick { flex: none; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  background: var(--night); border: 1px solid #3a382f; border-radius: 2px; padding: 7px 8px; cursor: pointer; }
.state-pick:focus { outline: none; border-color: var(--gold); }
@media (max-width: 640px) { .search-btn { font-size: 9.5px; letter-spacing: .08em; gap: 5px; white-space: nowrap; } }
@media (max-width: 380px) { .search-btn { font-size: 0; gap: 0; } }
/* ---------- show-on-phone / hide-on-phone helpers ---------- */
@media (max-width: 640px) {
  
  .top-center .search-btn { display: none; }          /* phone: Search lives in the menu and footer */
}
/* the window fills the screen below the header so 8 brands fit *//* the window fills the space between the header and the sponsor banner; banner and footer stay visible */
@media (max-width: 640px) { .panel { height: calc(100% - 8px); width: 100%; } }
/* compact header: count + buttons on one row, title below */
@media (max-width: 640px) { .panel-head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "eye tools" "title title"; align-items: center;
    gap: 6px 10px; padding: 12px 12px 10px; flex-wrap: nowrap; padding-right: 56px; } 
  .panel-head > div:first-child { display: contents; }

  .panel-head .eyebrow { grid-area: eye; margin: 0; white-space: nowrap; font-size: 10px; letter-spacing: .14em; }

  .panel-head h2 { grid-area: title; font-size: 28px; }

  .panel-head .head-tools { grid-area: tools; flex-wrap: nowrap; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; justify-items: stretch; }

  .panel-head .tool { padding: 7px 9px; }

  .panel-body { padding: 10px 12px; }

  .search-body { gap: 8px; }

  .search-bar { gap: 6px; }

  .panel-foot { padding: 8px 12px 10px; flex-wrap: nowrap; }

  .pager .dots { display: none; }
}
/* ---------- phone: close button pinned to the top-right corner ---------- */
@media (max-width: 640px) { .panel .close { position: absolute; top: 10px; right: 10px; z-index: 4; } 
  
}
/* windows never grow wider than the screen, whatever is inside them */
.panel-layer > .panel { min-width: 0; max-width: 100%; }
/* ---------- phone brand view: nothing cut off ---------- *//* ---------- phone: previous / next category sit under Surprise me ---------- */
@media (max-width: 640px) { .panel-head .head-tools > .tool:first-child { grid-column: 1 / -1; } 
  .panel-head .head-tools > .tool { text-align: center; }

  .panel-foot:empty { display: none; }
}
/* ---------- desktop: brand windows nearly full width (same tile size, more brands per page) ---------- */
@media (min-width: 641px) {
  .panel { width: 100%; }
}
.panel.detail-open .panel-head { display: none; }
.cat-tabs { border-bottom: 1px solid var(--line); flex: 1; min-width: 0; overflow: hidden; touch-action: pan-y; display: grid; grid-template-columns: repeat(4, 132px); gap: 0; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 6px 0 8px; cursor: pointer; white-space: nowrap;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); justify-self: center; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .cat-tab:hover { color: var(--cream); } }
.cat-tab[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--cherry); }
@media (max-width: 640px) { .panel.cat .panel-head { flex-wrap: wrap; gap: 8px 10px; touch-action: pan-x; } 
  .panel.cat .eyebrow { display: flex; align-items: center; }

  .panel.cat .panel-head h2 { min-width: 0; grid-area: title; font-size: 28px; flex: none; }

  .panel.cat .surp { flex: none; }

  .panel.cat .catprev, .panel.cat .catnext { flex: 1 1 40%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.panel.cat.detail-open .panel-head { display: none; }
.panel.detail-open .panel-body { grid-row: 1 / -1; }
/* slightly smaller names on desktop, so the longest name fits and you get 4 across on a half-screen window */
@media (min-width: 641px) { .panel-foot:empty { display: none; } }
/* ---------- desktop category + tag pages: title, brand count and buttons on one row; tabs keep their own row;
   page buttons centered under the tiles (Jake, 2026-10-05) ---------- */
@media (min-width: 641px) { .panel.cat .panel-head { padding-top: 16px; padding-bottom: 14px; align-items: center; } 
  .panel.cat .panel-head > div:first-child { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 18px; min-width: 0; }

  .panel.cat .eyebrow { margin: 0; white-space: nowrap; }
}
/* ---------- LAYOUT LAW (Jake): tabs are fixed everywhere, every version. They never scroll, swipe or move.
   Phone spreads them across the row with at least 12px between. ---------- *//* fixed slots: All + 3 tabs always sit in the same four spots on every category and tag page. A category with fewer tabs leaves slots empty. *//* LAYOUT LAW, tabs: four equal slots (All + 3 tabs), each tab centered in its slot. Same spots on every category and tag page;
   a category with fewer tabs leaves its slots empty. Slots fit a 12-character tab. */
@media (max-width: 640px) { .cat-tabs { grid-template-columns: 52px repeat(3, minmax(0, 1fr)); } 
  .cat-tab { font-size: 10px; letter-spacing: .08em; }
}
/* phone: fixed slots (same spots in every category); ALL gets a narrow slot so there's no dead space after it *//* clickable page dashes (desktop pages) */
.pager .dots button.dot { width: 18px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.pager .dots button.dot::before { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; height: 2px; background: #4a473d; }
.pager .dots button.dot.on::before { background: var(--cherry); }
@media (hover: hover) { .pager .dots button.dot:hover::before { background: var(--gold); } }
/* desktop tabs: All + the tabs sit the same distance apart (equal gaps), lined up with the title */
@media (min-width: 641px) { .cat-tabs { display: flex; gap: 44px; } 
  .cat-tab { justify-self: auto; }
}
/* search uses the category page header exactly (same ✕, Surprise me, count spot): uniform, no custom sizes *//* phone category header: swipe down here goes home (no pull-to-refresh) *//* page buttons always centered under the content */
.panel.cat .panel-foot { justify-content: center; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
/* puts the card ✕ in the same spot as every window ✕ *//* page buttons always sit centered under the content; an extra link (like "All posts") sits at the right */
.panel.cat .panel-foot > .pager { grid-column: 2; }
.panel.cat .panel-foot > :not(.pager) { grid-column: 3; justify-self: end; }
.panel.cat .panel-foot > span:empty { display: none; }
.panel.detail-open .panel-foot { display: none !important; }
/* LAYOUT LAW (Jake 2026-10-06): on desktop, Surprise me sits fixed in the CENTER of the top row on every window (kept apart from
   the ‹ › navigation). Search is the one exception: there it sits right beside the ✕. *//* narrower desktop windows keep it in the row (long titles would run into a centered button) */
@media (min-width: 1240px) { .panel.cat:not(.srch) .panel-head { position: relative; } 
  .panel.cat:not(.srch) .panel-head .surp { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); margin: 0; }
}
/* map cards: room at both ends so the first and last card can reach the middle (the middle card is the one in view) *//* LAYOUT LAW — PHONE WINDOW HEADER (Jake 2026-10-06), every window (categories, search, tags, Honorable Mention, Blog, Shop, Contact, map card):
   row 1: the count in the top-left corner · Surprise me · ✕ (both fixed in the top-right, identical boxes, same height and border)
   row 2: the title · row 3 (category pages): ‹ previous / next › category. No empty strip at the bottom. */
@media (max-width: 640px) { .panel.cat .panel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "eye surp x" "title title title" "nav nav nav";
    column-gap: 8px; row-gap: 2px; padding: 10px 12px 8px; align-items: center;} 
  .panel.cat .eyebrow { grid-area: eye; min-height: 0; margin: 0; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

  .panel.cat .panel-head .catprev { grid-area: nav; justify-self: start; width: calc(50% - 4px); margin-top: 6px; }

  .panel.cat .panel-head .catnext { grid-area: nav; justify-self: end; width: calc(50% - 4px); margin-top: 6px; }

  .panel.cat .panel-head .surp { display: inline-flex; align-items: center; padding: 0 12px; line-height: 1; grid-area: surp; position: static; transform: none; margin: 0; }

  .panel.cat .panel-foot:not(:has(*)) { display: none !important; }

  .panel.cat.detail-open .panel-head { display: none !important; }
}
@media (min-width: 641px) { .panel.cat .panel-foot:not(:has(*)) { display: none !important; } }
@media (max-width: 640px) { .panel.cat .panel-head .close { grid-area: x; position: static; margin: 0; } }
/* Surprise me and ✕: identical boxes */
@media (max-width: 640px) { .panel.cat .panel-head .surp, .panel.cat .panel-head .close { box-sizing: border-box; height: 32px; border: 1px solid #3a382f; border-radius: 2px;} }
/* ---------- category windows: fixed shape on every category ---------- */
.panel h2 { white-space: nowrap; overflow: hidden; }
@media (max-width: 380px) { .search-btn svg { width: 15px; height: 15px; } }
@media (max-width: 640px) { .panel.cat .panel-head > div:first-child, .panel.cat .head-tools { display: contents; } }

/* ==================== Brand tiles and grids ==================== */

.page { position: absolute; inset: 18px 24px; display: grid; gap: 14px; align-content: start; transition: opacity .28s ease, transform .28s ease; }
.page.enter-next { opacity: 0; transform: translateX(30px); }
.page.enter-prev { opacity: 0; transform: translateX(-30px); }
.page.leave-next { opacity: 0; transform: translateX(-30px); }
.page.leave-prev { opacity: 0; transform: translateX(30px); }
@media (max-width: 760px) { .page { inset: 14px 16px; } }
/* ---------- brand tiles: the photo is the hero ---------- */
.tile { text-align: left; grid-template-rows: minmax(0, 1fr) auto; position: relative; min-width: 0; height: 100%; background: var(--midnight); border: 1px solid #262a31; border-radius: 2px; overflow: hidden; transition: border-color .25s ease; display: block; padding: 0; cursor: default; }
.tile-img { position: relative; overflow: hidden; background: #14171c; }
.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02);
  transition: opacity .5s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile-photo.loaded { opacity: 1; transform: scale(var(--z, 1)); }
.tile:focus-visible { border-color: var(--gold); outline: none; }
@media (hover: hover) { .tile:hover { outline: none; } }
.tile-meta { display: flex; flex-direction: column; gap: 5px; padding: 11px 12px 12px; border-top: 1px solid #262a31; }
.tile-name { font: 600 17px/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-loc { font: 400 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .tile:hover .tile-name { color: #fff; } }
.results .page { inset: 0; }
/* tabs and chips never scroll (layout law) *//* ---------- save star + New badge on tiles ---------- */
.tile-open { all: unset; box-sizing: border-box; width: 100%; height: 100%; cursor: pointer; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.tile:focus-within { border-color: var(--gold); }
@media (hover: hover) { .tile:hover { border-color: var(--gold); } }
.tile-open:focus-visible { outline: 1px solid var(--cream); outline-offset: -3px; }
.badge-new { position: absolute; top: 10px; left: 10px; font: 600 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); background: var(--cherry); padding: 5px 7px; border-radius: 2px; pointer-events: none; }
/* ---------- Honorable Mention note + missing-photo placeholder ---------- */
.grid-note { margin: 0; max-width: 80ch; font: 400 12px/1.6 var(--mono); color: #b9b5aa; }
.no-photo { position: absolute; inset: 0; display: block; background: #14171c repeating-linear-gradient(135deg, rgba(183, 173, 133, .1) 0 2px, transparent 2px 12px); }
@media (max-width: 640px) { .page { inset: 0; } 
  .results .page { inset: 0; }
}
/* phone tiles: compact name and city under the photo */
@media (max-width: 640px) { .tile-meta { padding: 7px 8px 8px; gap: 3px; } 
  .tile-name { font-size: 13px; }

  .tile-loc { font-size: 8.5px; letter-spacing: .1em; }

  .badge-new { top: 6px; left: 6px; font-size: 8.5px; padding: 4px 5px; }
}
/* ---------- phone: brands scroll inside the fixed window, portrait photos ---------- */
.scroll-list { display: none; grid-auto-rows: max-content; }
@media (max-width: 640px) { .scroll-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: absolute; inset: 0; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain; align-content: start; padding-bottom: 6px; } 
  .scroll-list .tile-open { grid-template-rows: auto auto; }
}
/* portrait photo boxes (286 x 326, like southland-heritage.com) */
.scroll-list .tile-img, .page.portrait .tile-img { display: block; aspect-ratio: 286 / 326; }
.page.portrait .tile { align-self: start; }
.page.portrait .tile-open { grid-template-rows: auto auto; }
.scroll-list .tile-meta, .page.portrait .tile-meta { display: flex; }
.scroll-list .tile, .page.portrait .tile { display: flex; flex-direction: column; height: auto; min-height: 0; }
.scroll-list .tile-open, .page.portrait .tile-open { display: flex; flex-direction: column; height: auto; width: 100%; }
/* rows take each tile's full height (otherwise the scrolling grid squeezes them to fit) */
.page.portrait { grid-auto-rows: max-content; align-content: start; }
/* ---------- phone brand view: square photo, no scrolling ---------- *//* ---------- phone brand view: square photo on the left (tile size or bigger), info beside it ---------- *//* phone brand view photo = exactly the size and shape of a grid tile photo *//* ---------- per-brand photo zoom (set in Admin); 1 = normal ---------- *//* ---------- desktop grid: up to 5 across (Jake), tiles never wider than 0.9 x photo height, exactly 2 whole rows in the window, scrolls a row at a time (Jake, option E) ---------- */
@media (min-width: 641px) { .scroll-list.desk { display: grid; grid-template-columns: repeat(var(--cols, 5), var(--colw, minmax(0, 1fr))); justify-content: center; gap: 14px; position: absolute; inset: 0;
    overflow-y: hidden; align-content: start; scrollbar-width: none; transition: opacity .12s ease; top: var(--rowtop, 0); bottom: auto; height: var(--rowh, 100%); } 
  .scroll-list.desk::-webkit-scrollbar { display: none; }

  .scroll-list.desk.turning { opacity: 0; }

  .scroll-list.desk .tile-img { aspect-ratio: auto; height: var(--ph, 220px); }
}
/* desktop tiles: the tall tile shape; names get two reserved lines so the longest always shows in full *//* LAYOUT LAW (desktop tiles): the name always gets two lines of space, and the location always sits under the second line,
     in a smaller font, so it lands in the same spot on every tile */
@media (min-width: 641px) { .scroll-list.desk .tile-name { line-height: 1.05; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: auto; display: block; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; } 
  .scroll-list.desk .tile-loc { letter-spacing: .1em; font-size: 9.5px; }
}

/* ==================== Brand card ==================== */

/* desktop tiles, one row: the name sits on one line and the location right under it *//* desktop: the single row of tiles is centered in the window; anything past one row is clipped */
.bcard { position: absolute; inset: 0; z-index: 3; background: rgb(14, 17, 22); display: flex; flex-direction: column; gap: 10px;
  padding: 14px 18px 16px; overflow: hidden; transition: opacity .25s ease, transform .25s ease; }
.bcard.entering { opacity: 0; transform: translateY(8px); }
.bc-top{ display: flex; justify-content: space-between; align-items: center; gap: 10px; flex: none; }
.bc-card { border: 2px solid var(--cream); background: var(--midnight); padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.bc-photo { position: relative; width: 100%; aspect-ratio: 1 / .92; align-self: center; flex: none; }
.bc-ph { position: absolute; inset: 0; border: 3px solid var(--cream); border-radius: 12px; overflow: hidden; background: #14171c; }
.bc-ph .detail-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-circ { position: absolute; right: -6px; bottom: -6px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(40, 44, 52, .88), rgba(8, 9, 12, .96)); border: 2px solid var(--cream); box-shadow: 0 3px 10px rgba(0, 0, 0, .5); }
.bc-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bc-name { margin: 2px 0 0; font: 700 24px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.bc-loc { margin: 0; display: flex; gap: 7px; font: 400 10px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); align-items: flex-start; }
.bc-flag { height: 14px; width: auto; flex: none; border: 1px solid #444; }
.bc-story { margin: 0; font: 400 12px/1.55 var(--mono); color: #cfcbc2; }
.bc-tags { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
@media (hover: hover) { .bc-tags .bc-tag:hover { color: var(--cream); border-color: var(--gold); } }
.bc-actions { display: flex; gap: 8px; align-items: stretch; position: relative; }
.bc-actions .ig { flex: 1; text-align: center; text-decoration: none; display: grid; place-items: center; padding: 10px 6px; }
.bc-actions .bc-share { flex: none; width: 44px; display: grid; place-items: center; padding: 0; }
@media (min-width: 641px) { .bcard { padding: 18px 26px 20px; padding-top: 21px; } 
  .bc-top { max-width: 980px; width: 100%; margin: 0 auto; }

  .bc-card { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 100%; align-items: stretch; }

  .bc-photo { height: 100%; width: auto; max-width: 52vw; align-self: start; }
}
@media (max-width: 640px) { .bcard { padding: 10px 12px 12px; gap: 8px; touch-action: none; } 
  .bc-card { flex: none; }
}
/* ---------- brand card framing rules (phone): one page. Tall photo (tile shape) with a nameplate (name + place), then name, flag + place,
   description (limit: the most characters that fit this frame, 125), 3 tags max, buttons.
   One top row: ← All, ‹, ›, ✕. The share images draw this exact card. ---------- */
@media (max-width: 640px) { .bc-top-phone { justify-content: flex-start; gap: 8px; } 
  .bc-top-phone .back { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .bc-top-phone .bc-prev, .bc-top-phone .bc-next { flex: none; width: 44px; padding-left: 0; padding-right: 0; text-align: center; letter-spacing: 0; }

  .panel .bc-top-phone .close { position: static; flex: none; width: 44px; padding-left: 0; padding-right: 0; text-align: center; }
}
/* the tile shape (286 : 326), as wide as the window allows (--bpw is set by fitDetail); one framing in Admin fits tiles and card */
@media (max-width: 640px) { .bc-photo { width: var(--bpw, 282px); aspect-ratio: auto; padding-top: 0; height: calc(var(--bpw, 282px) * 326 / 286); align-self: center; } 
  .bc-plate { position: absolute; left: 3px; right: 3px; bottom: 3px; padding: 34px 64px 11px 12px; border-radius: 0 0 9px 9px; pointer-events: none;
    background: linear-gradient(rgba(8, 9, 12, 0), rgba(8, 9, 12, .82) 45%, rgba(8, 9, 12, .92)); display: flex; flex-direction: column; gap: 5px; }

  .bc-plate .bc-name { margin: 0; }

  .bc-circ { z-index: 2; }

  .bc-story { font-size: 11.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; height: calc(3 * 1.55em); }

  .bc-tags { flex-wrap: nowrap; overflow: hidden; height: 21px; }

  .bc-tags .bc-tag { flex: none; }
}
/* share menu: Send card / Instagram Story */
.bc-sharemenu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; display: flex; flex-direction: column; min-width: 190px;
  background: var(--midnight); border: 1px solid var(--cream); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.bc-sharemenu button:last-child { border-bottom: 0; }
@media (hover: hover) { .bc-sharemenu button:hover { background: #232832; } }
/* ---------- desktop brand card (Jake, option A): one top row like the phone; photo (1 : .86) beside a fixed 330px
   details column; the photo is as big as the window allows by height AND width, so the card never leaves the frame ---------- */
@media (min-width: 641px) { .bc-top-phone { display: flex; justify-content: flex-start; gap: 10px; flex: none; max-width: none; margin: 0; width: 100%; } 
  .bc-top-phone .back { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; flex: 0 1 auto; padding-left: 16px; padding-right: 16px; }

  .bc-top-phone .bc-prev, .bc-top-phone .bc-next { flex: none; text-align: center; width: auto; max-width: 240px; padding-left: 14px; padding-right: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .panel .bc-top-phone .close { position: static; flex: none; width: 46px; padding-left: 0; padding-right: 0; text-align: center; }

  .bc-card { flex: none; width: auto; max-width: none; margin: auto; display: flex; flex-direction: row; gap: 24px; padding: 18px; }

  .bc-card .bc-photo { width: var(--bcw, 420px); max-width: none; aspect-ratio: auto; padding-top: 0; flex: none; align-self: flex-start; height: calc(var(--bcw, 420px) * 326 / 286); }

  .bc-info { width: 330px; flex: none; overflow: hidden; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 6px; }

  .bc-name { font-size: 34px; }

  .bc-story { font-size: 13px; line-height: 1.55; height: calc(4 * 1.55em); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }

  .bc-tags { flex-wrap: nowrap; overflow: hidden; height: 21px; }

  .bc-tags .bc-tag { flex: none; }
}
/* phone brand card: the page doesn't scroll or pull-to-refresh under a swipe, so swipes reach the card (down = back, left/right = next/prev) *//* ---------- LAYOUT LAW, desktop brand card (Jake, 2026-10-05): tall photo in the tile shape with the name + place on the photo
   (same as the phone and share card); on the right one centered group: brand name, state, description, tags, buttons.
   Top row: "← All ..." on the left, the previous / next brand names and ✕ on the right. ---------- */
@media (min-width: 641px) { .bc-plate { position: absolute; left: 3px; right: 3px; bottom: 3px; padding: 50px 90px 16px 18px; border-radius: 0 0 9px 9px; pointer-events: none;
    background: linear-gradient(rgba(8, 9, 12, 0), rgba(8, 9, 12, .82) 45%, rgba(8, 9, 12, .92)); display: flex; flex-direction: column; gap: 7px; } 
  .bc-plate .bc-name { margin: 0; font-size: 34px; }

  .bc-circ { width: 58px; height: 58px; z-index: 2; }

  .bc-idhead { display: flex; flex-direction: column; align-items: center; gap: 8px; }

  .bc-idname { margin: 0; font: 700 30px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--cream); text-align: center; }

  .bc-idstate { margin: 0; font: 700 13px/1 var(--display); letter-spacing: .5em; color: var(--gold); text-align: center; }

  .bc-info .bc-story { text-align: center; margin: 0; }

  .bc-info .bc-tags { justify-content: center; }

  .bc-info .bc-actions { justify-content: center; }

  .bc-top-phone .bc-prev { margin-left: auto; }

  .bc-top-phone .surp { margin-left: auto; flex: none; }

  .bc-top-phone .surp + .bc-prev { margin-left: 0; }
}
/* brand card place line: "City, State" on one line; when it doesn't fit, the whole state moves to line 2 (never breaks mid-state) */
.bc-loc .bc-flag { margin-top: -1px; }
/* phone map: "MAP" + count on one row at the top left (✕ in the corner) so the map gets more height;
   once a tab is picked the sheet grows and the State box tucks away, so the list shows many brands *//* LAYOUT LAW: the brand card's ✕ is the same 32×32 ✕ as every listing window, in the same corner spot */
.panel .bcard .bc-top-phone .close { width: 32px; height: 32px; display: grid; place-items: center; align-self: center; margin-right: -2px; }
/* LAYOUT LAW: one ✕ everywhere: 32×32, same corner spot on every window and the brand card (phone and desktop) */
.panel .panel-head .close, .panel .bcard .close { width: 32px; height: 32px; display: grid; place-items: center; font-size: 15px; line-height: 1; }
/* LAYOUT LAW: the ✕ and lone ‹ › arrows sit dead center in their buttons.
   (Letter spacing added a sliver of space after the glyph, and the font sits it ~1px low, so: no spacing, lift 1px.) */
.panel .panel-head .close, .panel .bcard .close, .panel .bcard .bc-top-phone .close { letter-spacing: 0; padding: 0 0 2px; }
@media (min-width: 1240px) { .bc-top-phone { position: relative; } 
  .bc-top-phone .surp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }

  .bc-top-phone .surp + .bc-prev { margin-left: auto; }
}
/* phone brand card top row: ← (same box as the ✕) · Surprise me · ‹ › · ✕ */
@media (max-width: 640px) { .panel .bcard .bc-top-phone .back-icon { flex: none; width: 32px; height: 32px; padding: 0 0 2px; display: grid; place-items: center; font-size: 15px; letter-spacing: 0;} 
  .panel .bcard .bc-top-phone .surp { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; position: static; transform: none; }

  .panel .bcard .bc-top-phone .bc-prev, .panel .bcard .bc-top-phone .bc-next { padding-top: 0; padding-bottom: 2px; }
}
/* LAYOUT LAW — DESKTOP BRAND CARD TOP ROW (Jake 2026-10-06): fixed slots at every desktop width, every box 32px tall.
   ← Back (170 wide, left) · Surprise me (124, dead center) · ‹ Prev (170) · Next › (170) · ✕ (32, right). Long names end in "…". */
@media (min-width: 641px) { .panel .bcard .bc-top-phone { position: relative; display: block; height: 32px; flex: none; } 
  .panel .bcard .bc-top-phone > .tool { position: absolute; top: 0; height: 32px; box-sizing: border-box; margin: 0; padding: 0 12px;
    display: block; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; max-width: none;}

  .panel .bcard .bc-top-phone > .back { left: 0; width: 170px; }

  .panel .bcard .bc-top-phone > .surp { left: 50%; transform: translateX(-50%); width: 124px; }

  .panel .bcard .bc-top-phone > .bc-prev { right: 218px; left: auto; width: 170px; }

  .panel .bcard .bc-top-phone > .bc-next { right: 40px; left: auto; width: 170px; }

  .panel .bcard .bc-top-phone > .close { right: 0; left: auto; width: 32px; padding: 0 0 2px; display: grid; place-items: center; line-height: 1; }
}
@media (min-width: 641px) and (max-width: 1010px) {   /* too narrow for dead center: Surprise me locks just left of ‹ Prev */
  .panel .bcard .bc-top-phone > .surp { left: auto; right: 396px; transform: none; }
}
.bc-circ span { display: block; text-align: center;
  font: 700 11px/1 var(--display); text-transform: uppercase; color: var(--cream); }
/* the brand card photo links to the brand's website */
.bc-ph a { position: absolute; inset: 0; display: block; }
/* footer: six links still on one line */
.bc-tags span, .bc-tags .bc-tag { background: none; cursor: pointer; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid #3a382f; border-radius: 2px; padding: 5px 7px; }
/* ---------- category circle text: 10px on every circle, everywhere (locked). Names wider than 52px wrap onto two lines
   (Bags & Luggage, Denim & Workwear split at the "&"). Never shrinks per category. The share card draws the same. ---------- */
.bc-circ span, .bc-circ span[style] { font-size: 10px; max-width: 52px; white-space: normal; overflow: visible; line-height: 1.05; letter-spacing: .04em; }
.bc-place > span { white-space: nowrap; }
/* ==================== Phone brand card top row (Jake 2026-10-08) ====================
   ← back names where you came from (fills the space) · shuffle icon · ‹ · › · ✕, every box 32px tall; the icon boxes are 32px square */
@media (max-width: 640px) { .panel .bcard .bc-top-phone .back { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; padding-right: 4px; } 
  .panel .bcard .bc-top-phone .surp.shuffle { flex: none; height: 32px; padding: 0; display: grid; place-items: center; position: static; transform: none; width: 50px; }

  .panel .bcard .bc-top-phone .bc-prev, .panel .bcard .bc-top-phone .bc-next { flex: none; width: 32px; height: 32px; }
}

/* ==================== Blog, Shop, Contact ==================== */

/* brand cards */
.card {
  min-width: 0; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px;
  background: var(--midnight); border: 1px solid #262a31; border-radius: 2px;
  transition: border-color .2s ease, transform .2s ease;
}
@media (hover: hover) { .card:hover { border-color: #4a463a; transform: translateY(-2px); } }
.logo { width: 44px; height: 44px; flex: none; object-fit: contain; background: #f2efe9; border-radius: 2px; padding: 3px; box-sizing: border-box; }
.card h3 { margin: 0; font: 600 20px/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; }
/* blog cards */
.post { grid-template-rows: minmax(0, 1fr) auto; background: var(--midnight); border: 1px solid #262a31; border-radius: 2px; overflow: hidden; height: 100%; min-width: 0; text-decoration: none; transition: border-color .2s ease, transform .2s ease; position: relative; display: block; }
@media (hover: hover) { .post:hover { border-color: #4a463a; transform: translateY(-2px); } }
.post img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; position: absolute; inset: 0; }
.post div { display: flex; flex-direction: column; gap: 6px; position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(to top, rgba(12, 14, 18, .94) 55%, rgba(12, 14, 18, 0)); }
.post h3 { margin: 0; font: 600 21px/1.08 var(--display); letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }
.post p { margin: 0; font: 400 12px/1.5 var(--mono); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* blog cards: tall photo (286:326, same shape as every photo slot) with the text over a dark fade at the bottom */
.post h3 { min-height: 2.16em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--cream); }
.post p { min-height: 3em; color: #d4d0c4; }
.post time { font: 400 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
/* shop + contact */
.center { height: 100%; display: grid; place-items: center; text-align: center; }
.center > div { max-width: 460px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lede { margin: 0; font: 400 13px/1.6 var(--mono); color: #b9b5aa; }
.big { margin: 0; font: 700 clamp(40px, 7vw, 72px)/.95 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.form { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }
.form .row { display: flex; gap: 10px; }
.form .row > * { flex: 1; min-width: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.form input, .form textarea {
  font: 13px var(--mono); color: var(--cream); background: var(--night); border: 1px solid #33352f; border-radius: 2px; padding: 11px 12px; width: 100%; box-sizing: border-box;
}
.form textarea { resize: none; height: 110px; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.send { font: 600 14px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: var(--cherry); border: 1px solid var(--cherry); border-radius: 2px; padding: 13px 18px; cursor: pointer; }
@media (hover: hover) { .send:hover { background: #b81f28; } }
.contact { height: 100%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.contact .say { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; gap: 16px; align-content: center; } 
  .contact .say .lede { display: none; }

  .form textarea { height: 80px; }
}
.search-input {
  width: 100%; box-sizing: border-box; background: transparent; border: 0; border-bottom: 1px solid #3a382f; border-radius: 0;
  padding: 6px 0 10px; color: var(--cream); font: 600 clamp(22px, 3vw, 30px)/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase;
}
.search-input::placeholder { color: #55534a; }
.search-input:focus { outline: none; border-bottom-color: var(--cherry); }
.search-input::-webkit-search-cancel-button { filter: invert(.7); }
.bc-actions .send { flex: 1.3; text-align: center; text-decoration: none; padding: 11px 8px; }
.bc-actions .send, .bc-actions .ig { white-space: nowrap; }
@media (max-width: 640px) { .bc-actions .send, .bc-actions .ig { letter-spacing: .1em; font-size: 11px; } 
  .search-input, input, textarea, select { font-size: max(16px, 1em); }
}

/* ==================== Sponsor banner ==================== */

/* ---------- sponsor strip ---------- */
.sponsor { position: relative; overflow: hidden; height: 58px; margin-block: 2px 10px; border: 1px solid #22252b; border-radius: 2px; background: rgba(27, 31, 38, .55); }
.sp-track { position: relative; height: 100%; }
.sp-slide { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 0; cursor: pointer;
  opacity: 0; transform: translateX(24px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.sp-slide.past { transform: translateX(-24px); }
.sp-slide.on { opacity: 1; transform: none; }
.sp-slide:focus-visible { outline: 1px solid var(--cream); outline-offset: -3px; }
.sp-img { width: 86px; height: 100%; object-fit: cover; flex: none; }
.sp-mark { width: 86px; height: 100%; flex: none; background: repeating-linear-gradient(135deg, rgba(183, 173, 133, .14) 0 2px, transparent 2px 9px); border-right: 1px solid #22252b; }
.sp-text { display: flex; align-items: baseline; gap: 14px; min-width: 0; flex: 1; overflow: hidden; }
.sp-label { flex: none; font: 500 9.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid #3a382f; padding: 4px 6px; border-radius: 2px; }
.sp-title { flex: none; font: 600 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.sp-line { min-width: 0; font: 400 11.5px/1.3 var(--mono); color: #a9a597; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-go { flex: none; color: var(--gold); font-size: 14px; margin-right: 170px; }
@media (hover: hover) { .sp-slide:hover .sp-title { color: #fff; } 
  .sp-slide:hover .sp-go { color: var(--cherry); }
}
.sp-dots { position: absolute; top: 50%; transform: translateY(-50%); display: flex; right: 10px; gap: 4px; }
.sp-dot { padding: 0; border: 0; cursor: pointer; position: relative; width: 34px; height: 30px; background: none; }
@media (max-width: 760px) { .sponsor { height: 54px; } 
  .sp-text { flex-direction: column; align-items: flex-start; gap: 4px; }

  .sp-img, .sp-mark { width: 64px; }
}
/* desktop: ring sits higher, so its moving outer rings clear the title */
@media (min-width: 641px) { .sponsor { height: 76px; } 
  .sp-img, .sp-mark { width: 118px; }

  .sp-title { font-size: 22px; }

  .sp-line { font-size: 12.5px; }

  .sp-label { font-size: 10px; padding: 5px 7px; }

  .sp-slide { gap: 18px; }
}
/* ---------- sponsor indicators: bigger and easier to hit ---------- */
.sp-dot::before { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #4a473d; transition: background .2s ease; }
@media (hover: hover) { .sp-dot:hover::before { background: var(--gold); } }
.sp-dot[aria-current="true"] { background: none; }
.sp-dot[aria-current="true"]::before { background: var(--cherry); }
.sp-dot:focus-visible { outline: 1px solid var(--cream); outline-offset: -4px; }
/* ---------- sponsor banner: the phone style everywhere (photo + title) ---------- */
.sp-label, .sp-line { display: none; }
@media (max-width: 640px) { .sp-title { line-height: 1.05; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; } }
/* ---------- sponsor arrow: room for it next to the four indicators ---------- */
@media (max-width: 640px) { .sp-text { min-width: 0; } 
  
}
/* banner: indicators move to the bottom-right corner so the title gets the full width */
@media (max-width: 640px) { .sp-dots { top: auto; transform: none; bottom: 0; right: 8px; } 
  
}
/* banner: a thin strip along the bottom is reserved for the indicators, so text never overlaps them */
@media (max-width: 640px) { .sponsor { height: 68px; } 
  .sp-slide { padding-bottom: 16px; position: absolute; }

  .sp-img, .sp-mark { height: calc(100% + 16px); align-self: flex-start; }

  .sp-dot { width: 26px; height: 16px; }

  .sp-dot::before { left: 4px; right: 4px; height: 3px; margin-top: -1.5px; }
}
/* banner: a finished ad fills the whole strip, edge to edge (indicators sit on top of it) */
.sp-slide.has-ad { padding: 0; }
.sp-ad, .sp-ad img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sp-ad img { object-fit: cover; object-position: center; }
/* ---------- phone banner: gold arrow in the bottom-left, just right of the photo ---------- */
@media (max-width: 640px) { .sp-go { position: absolute; left: 76px; bottom: 2px; margin: 0; font-size: 13px; line-height: 1; } 
  .sp-mark ~ .sp-text, .sp-img ~ .sp-text { padding-right: 8px; }
}
/* phone: while a brand card is open, the sponsor banner steps aside and the card gets its space (the banner shows everywhere else) */
@media (max-width: 640px) { .site:has(.panel.detail-open) .sponsor { display: none; } }

/* ==================== Map card ==================== */

/* ---------- search page: Map sits at the right end of the chip row ---------- */
.map-btn { margin-left: auto; }
/* ---------- map page: gold outline of the US, thin state lines, state names, a pin per home city ---------- */
.panel.mappage .panel-body { position: relative; min-height: 0; overflow: hidden; }
.map-svg { display: block; overflow: hidden; position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.map-nation { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.map-states { fill: none; stroke: var(--gold); stroke-width: .6; stroke-opacity: .45; stroke-linejoin: round; }
.map-pin { cursor: pointer; outline: none; }
.map-pin .hit { fill: transparent; }
.map-pin .dot { transform-origin: 0 0; fill: var(--cherry); stroke: var(--cream); stroke-width: 1.4; transform: none; transition: r .15s ease; }
@media (hover: hover) { .map-pin:hover .dot{ transform: scale(1.3); r: 7; } }
.map-pin:focus-visible .dot { transform: scale(1.3); r: 7; stroke: #fff; }
@media (max-width: 640px) {
   .map-pin .hit { r: 22; }
}
/* map drawer: slides over the map (never squishes it), semi-transparent; desktop from the right, phone up from the bottom */
.map-box { position: absolute; inset: 0; overflow: hidden; }
.map-nation, .map-states { vector-effect: non-scaling-stroke; }
.map-labels text.sm { font-size: calc(7.5px / var(--mz, 1)); }
.map-pin.dim { opacity: .22; }
@media (max-width: 640px) { .map-labels text.sm { font-size: calc(10px / var(--mz, 1)); } }
/* page numbers never show under a brand card *//* map pins: round (back from teardrops) */
@media (max-width: 640px) { .map-pin .dot { r: 7; stroke-width: 2; } }
/* phone map: a Map | List switch at the top; each fills the window. On the Map screen a bar names the picked area. *//* desktop: the Map button is a small US outline with MAP inside */
.map-btn-us { display: none; }
@media (min-width: 641px) { .chip.map-btn { position: relative; width: 96px; height: 58px; padding: 0; border: 0; background: none; color: var(--gold); display: grid; place-items: center; } 
  .map-btn-us { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

  .map-btn-txt { position: relative; font: 700 15px/1 var(--display); letter-spacing: .18em; padding-left: .18em; color: var(--cream); transform: translate(-4px, -2.5px); }

  @media (hover: hover) { .chip.map-btn:hover .map-btn-us path { stroke: var(--cream); } }

  .chip.map-btn:focus-visible { outline: 1px solid var(--cherry); outline-offset: 2px; }
}
/* phone: the US-outline Map button too, sized to the chip row */
@media (max-width: 640px) { .map-btn-us { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; } 
  .chip.map-btn { position: relative; width: 70px; height: 42px; padding: 0; border: 0; background: none; color: var(--gold); display: grid; place-items: center; margin-left: auto; }

  .map-btn-txt { position: relative; font: 700 12px/1 var(--display); letter-spacing: .16em; padding-left: .16em; color: var(--cream); transform: translate(-3px, -2px); }
}
/* the map's Map | List switch and area bar never show over a brand card *//* ---------- phone map, full screen (Jake 2026-10-06): pinch / drag, glow over busy spots, tap a state, tall cards ---------- */
.pm-top, .pm-area, .pm-chips, .pm-bar, .pm-cards, .map-glow { display: none; }
@media (max-width: 640px) { .panel.mappage .map-svg { inset: 0; width: 100%; height: 100%; touch-action: none; } 
  .panel.mappage .map-glow { display: inline; pointer-events: none; transition: opacity .3s ease; }

  .panel.mappage .map-svg.picked .map-glow { opacity: 0; }

  .panel.mappage .map-shapes path { fill: transparent; pointer-events: fill; cursor: pointer; }

  .map-pin.lit { opacity: 1; }
}
/* the cards are the category-page tiles: same photo shape, name and place */
@media (max-width: 640px) { .pm-cards .tile.pm-card { flex: none; width: 162px; height: auto; padding: 0; opacity: .75; transition: opacity .2s ease, border-color .2s ease; scroll-snap-align: center; } 
  .pm-cards .tile.pm-card.on { opacity: 1; border-color: var(--cream); }

  .pm-cards .tile-open { display: flex; flex-direction: column; height: auto; }

  .pm-cards .tile-img { display: block; flex: none; height: 185px; }

  .panel.detail-open .pm-top, .panel.detail-open .pm-area, .panel.detail-open .pm-chips, .panel.detail-open .pm-bar, .panel.detail-open .pm-cards { display: none !important; }

  .map-pin.lit .dot { r: 18; fill: var(--cream); stroke: var(--cherry); stroke-width: 5; }

  .pm-btn { height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 18px; cursor: pointer;
    background: rgba(14, 17, 22, .92); border: 1px solid #3a3d44; color: var(--cream); font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

  .pm-x { width: 36px; padding: 0; justify-content: center; font-size: 14px; letter-spacing: 0; }

  .pm-top { display: flex; gap: 8px; position: absolute; z-index: 6; top: 12px; left: 12px; right: 12px; }

  .pm-find { flex: 1; min-width: 0; height: 36px; box-sizing: border-box; border-radius: 18px; border: 1px solid #3a3d44; background: rgba(14, 17, 22, .92); color: var(--cream);
    font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 14px; outline: none; }

  .pm-find::placeholder { color: #8d887a; }

  .pm-find:focus { border-color: var(--cherry); }

  .pm-area:not([hidden]) { display: inline-flex; position: absolute; z-index: 6; top: 58px; left: 12px; color: #8d887a; }

  .pm-area-tab { color: var(--cream); }

  .pm-area-x { color: var(--cream); font-size: 11px; letter-spacing: 0; margin-left: 2px; }

  .pm-chips:not([hidden]) { display: flex; gap: 8px; position: absolute; z-index: 6; left: 12px; bottom: 58px; }

  .pm-bar:not([hidden]) { display: flex; justify-content: space-between; align-items: center; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
    padding: 12px 14px 14px; background: rgba(14, 17, 22, .95); border-top: 1px solid #2c3038; font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

  .pm-cards:not([hidden]) { display: flex; gap: 10px; position: absolute; z-index: 6; left: 0; right: 0; bottom: 12px; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; }

  .pm-cards::-webkit-scrollbar { display: none; }

  .pm-card { flex: none; width: 122px; scroll-snap-align: center; padding: 0; text-align: left; cursor: pointer; background: var(--midnight); border: 1px solid #2c3038; border-radius: 2px; overflow: hidden;
    display: flex; flex-direction: column; opacity: .72; transition: opacity .2s ease, border-color .2s ease; }

  .pm-card.on { opacity: 1; border-color: var(--cream); }
}
/* phone map, zoomed in: angled pins + faint town names (Jake 2026-10-06). Zoomed out keeps the red dots + glow. */
.apin, .map-towns { display: none; }
@media (max-width: 640px) { .panel.mappage .map-svg.zoomed .map-pin .dot { display: none; } 
  .panel.mappage .map-svg.zoomed .apin { display: inline; }

  .panel.mappage .map-svg.zoomed .map-towns { display: inline; pointer-events: none; }

  .ap-shadow { fill: #000; opacity: .45; }

  .ap-needle { stroke: #cfcbc2; stroke-width: 3; stroke-linecap: round; }

  .ap-head { fill: var(--cherry); stroke: #7a1218; stroke-width: 2; }

  .ap-shine { fill: #fff; opacity: .5; }

  .apin .hit { fill: transparent; }

  .map-pin.lit .ap-head { fill: var(--cream); stroke: var(--cherry); stroke-width: 4; }

  .town { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: #8d887a; opacity: .6; dominant-baseline: central; }

  .town.town-major { fill: #cfcbc2; opacity: .75; font-weight: 500; }

  .town-dot { fill: #cfcbc2; opacity: .6; }
}
/* desktop map (Jake 2026-10-06): the same map as the phone, inside its window (the window keeps its MAP header and ✕) */
@media (min-width: 641px) { .panel.mappage .map-svg { inset: 0; width: 100%; height: 100%; touch-action: none; } 
  .panel.mappage .map-glow { display: inline; pointer-events: none; transition: opacity .3s ease; }

  .panel.mappage .map-svg.picked .map-glow { opacity: 0; }

  .panel.mappage .map-shapes path { fill: transparent; pointer-events: fill; cursor: pointer; }

  .map-pin.lit { opacity: 1; }
}
/* the cards are the category-page tiles: same photo shape, name and place */
@media (min-width: 641px) { .pm-cards .tile.pm-card { flex: none; height: auto; padding: 0; opacity: .75; transition: opacity .2s ease, border-color .2s ease; scroll-snap-align: center; width: 162px; } 
  .pm-cards .tile.pm-card.on { opacity: 1; border-color: var(--cream); }

  .pm-cards .tile-open { display: flex; flex-direction: column; height: auto; }

  .pm-cards .tile-img { display: block; flex: none; height: 185px; }

  .panel.detail-open .pm-top, .panel.detail-open .pm-area, .panel.detail-open .pm-chips, .panel.detail-open .pm-bar, .panel.detail-open .pm-cards { display: none !important; }

  .map-pin.lit .dot { r: 18; fill: var(--cream); stroke: var(--cherry); stroke-width: 5; }

  .pm-btn { height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 18px; cursor: pointer;
    background: rgba(14, 17, 22, .92); border: 1px solid #3a3d44; color: var(--cream); font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

  .pm-x { width: 36px; padding: 0; justify-content: center; font-size: 14px; letter-spacing: 0; }

  .pm-top { display: flex; gap: 8px; position: absolute; z-index: 6; top: 12px; left: 12px; right: auto; width: min(520px, calc(100% - 24px)); }

  .pm-find { flex: 1; min-width: 0; height: 36px; box-sizing: border-box; border-radius: 18px; border: 1px solid #3a3d44; background: rgba(14, 17, 22, .92); color: var(--cream);
    font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 14px; outline: none; }

  .pm-find:focus { border-color: var(--cherry); }

  .pm-area:not([hidden]) { display: inline-flex; position: absolute; z-index: 6; top: 58px; left: 12px; color: #8d887a; }

  .pm-area-tab { color: var(--cream); }

  .pm-area-x { color: var(--cream); font-size: 11px; letter-spacing: 0; margin-left: 2px; }

  .pm-chips:not([hidden]) { display: flex; gap: 8px; position: absolute; z-index: 6; left: 12px; bottom: 58px; }

  .pm-bar:not([hidden]) { display: flex; justify-content: space-between; align-items: center; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
    padding: 12px 14px 14px; background: rgba(14, 17, 22, .95); border-top: 1px solid #2c3038; font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

  .pm-cards:not([hidden]) { display: flex; gap: 10px; position: absolute; z-index: 6; left: 0; right: 0; bottom: 12px; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; }

  .pm-cards::-webkit-scrollbar { display: none; }

  .pm-card { flex: none; width: 122px; scroll-snap-align: center; padding: 0; text-align: left; cursor: pointer; background: var(--midnight); border: 1px solid #2c3038; border-radius: 2px; overflow: hidden;
    display: flex; flex-direction: column; opacity: .72; transition: opacity .2s ease, border-color .2s ease; }

  .pm-card.on { opacity: 1; border-color: var(--cream); }

  .panel.mappage .map-svg.zoomed .map-pin .dot { display: none; }

  .panel.mappage .map-svg.zoomed .apin { display: inline; }

  .panel.mappage .map-svg.zoomed .map-towns { display: inline; pointer-events: none; }

  .ap-shadow { fill: #000; opacity: .45; }

  .ap-needle { stroke: #cfcbc2; stroke-width: 3; stroke-linecap: round; }

  .ap-head { fill: var(--cherry); stroke: #7a1218; stroke-width: 2; }

  .ap-shine { fill: #fff; opacity: .5; }

  .apin .hit { fill: transparent; }

  .map-pin.lit .ap-head { fill: var(--cream); stroke: var(--cherry); stroke-width: 4; }

  .town { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: #8d887a; opacity: .6; dominant-baseline: central; }

  .town.town-major { fill: #cfcbc2; opacity: .75; font-weight: 500; }

  .town-dot { fill: #cfcbc2; opacity: .6; }
}
/* desktop: the cards run along the bottom in one row, a little smaller than the phone's so the map keeps its room */
@media (min-width: 641px) { .pm-cards .tile-meta { padding: 7px 8px 8px; gap: 3px; } 
  .pm-cards .tile-name { font-size: 13px; }

  .pm-cards .tile-loc { font-size: 8.5px; letter-spacing: .1em; }
}
/* map speed (Jake 2026-10-06): pins keep their size through one setting (--pz); the glow steps aside while you pinch or drag */
.map-pin .pin-in { transform: scale(var(--pz, 1)); }
.map-svg.moving .map-glow { visibility: hidden; }
/* the "Tap a state" hint sits under the search bar; it goes away once a state, region or search is in use, or you start typing */
.pm-hint { display: none; }
.panel.mappage .pm-hint:not([hidden]) { display: block; position: absolute; z-index: 6; margin: 0; font: 500 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); pointer-events: none; top: 50px; left: 12px; }
.panel.detail-open .pm-hint { display: none !important; }
/* the glow fades once you zoom in; a "Whole map" button brings back the full view */
.panel.mappage .map-svg.glow-off .map-glow { opacity: 0; }
.pm-reset { display: none; }
.panel.mappage .pm-reset:not([hidden]) { display: inline-flex; position: absolute; z-index: 6; top: 58px; right: 12px; }
/* map card controls: ONE row (Jake 2026-10-06): ‹ back to search · State or city box (the picked state's tag takes its place) · ↺ whole map */
.panel.mappage .pm-top { top: 8px; left: 8px; right: 8px; width: auto; gap: 6px; align-items: center; }
.panel.mappage .pm-top .pm-btn, .panel.mappage .pm-find { height: 34px; }
.panel.mappage .pm-top .pm-btn:first-child, .panel.mappage .pm-reset { width: 34px; padding: 0; justify-content: center; font-size: 15px; letter-spacing: 0; flex: none; }
.panel.mappage .pm-find[hidden] { display: none; }
.panel.mappage .pm-top .pm-area:not([hidden]) { position: static; flex: 1; min-width: 0; display: inline-flex; }
.panel.mappage .pm-top .pm-reset:not([hidden]) { position: static; display: inline-flex; }
@media (min-width: 641px) { .panel.mappage .pm-top { right: auto; width: min(520px, calc(100% - 16px)); display: none !important; } }
/* map card title: MAP in the top-left corner with the brand count beside it (no Surprise me on this window) */
@media (max-width: 640px) { .panel.mappage .panel-head { grid-template-areas: "title eye x"; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px;} 
  .panel.mappage .eyebrow { align-self: center; }
}
/* desktop map card: ‹ Search + the search box sit in the header beside the ✕; the state tag is the only thing on the map (top-left). No empty footer strip. */
@media (min-width: 641px) { .panel.mappage .pm-hint { display: none !important; } 
  .panel.mappage .head-tools { flex-wrap: nowrap; align-items: center; }

  .panel.mappage .pm-headbtn { height: 32px; border-radius: 2px; border-color: #3a382f; padding: 0 12px; }

  .panel.mappage .pm-headfind { width: 300px; height: 32px; border-radius: 2px; border-color: #3a382f; flex: none; }

  .panel.mappage .pm-corner { position: absolute; z-index: 6; top: 12px; left: 12px; display: flex; gap: 8px; }

  .panel.mappage .pm-corner .pm-area:not([hidden]), .panel.mappage .pm-corner .pm-reset:not([hidden]) { position: static; display: inline-flex; height: 34px; }

  .panel.mappage .pm-corner .pm-reset { width: 34px; padding: 0; justify-content: center; letter-spacing: 0; font-size: 15px; }
}
/* map card: no "481 brands" bar at the bottom (the count is in the header); the region chips sit in the corner instead */
.panel.mappage .pm-bar { display: none !important; }
.panel.mappage .pm-chips:not([hidden]) { bottom: 12px; }
/* California: NorCal / SoCal buttons (Jake 2026-10-06). Phone: under the control row; desktop: beside the state tag */
.pm-sub { display: none; }
.panel.mappage .pm-sub:not([hidden]) { display: flex; gap: 6px; }
.panel.mappage .pm-sub .pm-btn { height: 30px; }
.panel.mappage .pm-sub .pm-btn[aria-pressed="true"] { border-color: var(--cherry); }
@media (max-width: 640px) { .panel.mappage .pm-sub:not([hidden]) { position: absolute; z-index: 6; top: 50px; left: 8px; } }
@media (min-width: 641px) { .panel.mappage .pm-corner .pm-sub .pm-btn { height: 34px; } }
/* desktop split-screen windows (641–1239 wide): Surprise me sits at the right end of the tab row on category and tag pages */
@media (min-width: 641px) and (max-width: 1239px) { .panel.cat:not(.srch):not(.mappage) .panel-head { position: relative; } 
  .panel.cat:not(.srch):not(.mappage) .panel-head .surp { position: absolute; right: 24px; top: calc(100% + 14px); margin: 0; transform: none; height: 32px; z-index: 2; }
}
/* phone: text boxes use 16px type so iPhone Safari doesn't zoom the page in when you tap them */
@media (max-width: 640px) { .panel.mappage .pm-find { font-size: 16px; letter-spacing: .06em; } }
/* phone map card: smaller brand tiles, same shape as the category tile (162:185), so the map gets more room (Jake 2026-10-07) */
@media (max-width: 640px) { .panel.mappage .pm-cards .tile.pm-card { width: 124px; } 
  .panel.mappage .pm-cards .tile-img { height: 142px; }

  .panel.mappage .pm-cards .tile-meta { padding: 6px 7px 7px; gap: 2px; }

  .panel.mappage .pm-cards .tile-name { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .panel.mappage .pm-cards .tile-loc { font-size: 7.5px; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .panel.mappage .pm-cards:not([hidden]) { padding-left: 12px; padding-right: 12px; }
}
/* a brand card opened from the map covers the whole map card: the state tag, NorCal / SoCal and ↺ hide under it */
.panel.detail-open .pm-corner, .panel.detail-open .pm-sub, .panel.detail-open .pm-area, .panel.detail-open .pm-reset { display: none !important; }
/* MAP CARD (Jake 2026-10-06): the map and its window are the "map card". Layout law: same window, header and ✕ as the category page;
   the map stays inside it (never over the sponsor banner or footer). The map's own ✕ is not needed (the window has one). */
.pm-x { display: none !important; }
/* the picked brand's pin: bigger and cream, so it stands out (nothing else added) */
.map-pin.lit .apin { transform: scale(1.6); transform-box: fill-box; transform-origin: 50% 100%; }
.map-pin.lit .ap-needle { stroke: var(--cream); }
/* desktop: ‹ › buttons step through the cards */
.pm-step { display: none; }
@media (min-width: 641px) { .panel.mappage .pm-cards:not([hidden]) ~ .pm-step { display: grid; place-items: center; position: absolute; z-index: 7; bottom: 96px; width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: rgba(14, 17, 22, .92); border: 1px solid #3a3d44; color: var(--cream); font: 15px/1 var(--mono); cursor: pointer; } 
  .panel.mappage .pm-step.prev { left: 4px; }

  .panel.mappage .pm-step.next { right: 4px; }

  .panel.mappage .pm-cards:not([hidden]) { padding: 0 44px; }

  .panel.detail-open .pm-step { display: none !important; }
}
.map-labels text { font: 500 9px var(--mono); letter-spacing: .12em; fill: var(--gold); fill-opacity: .55; text-anchor: middle; dominant-baseline: central; pointer-events: none; font-size: calc(9px / var(--mz, 1)); }
.map-shapes path { fill: none; stroke: none; }
/* once an area is picked, the other tabs fold away (tap the picked one to bring them back) and the list gets the room *//* phone list rows: one line each (name, then category · city), so more brands show at once */
@media (max-width: 640px) { .map-labels text { font-size: calc(13px / var(--mz, 1)); } }
@media (min-width: 641px) { .map-btn-us path { fill: #11141a; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; transition: stroke .15s ease; } }
@media (max-width: 640px) { .map-btn-us path { fill: #11141a; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; } 
  .pm-bar b { font: 700 15px var(--display); letter-spacing: .06em; color: var(--cream); }
}
@media (min-width: 641px) { .pm-bar b { font: 700 15px var(--display); letter-spacing: .06em; color: var(--cream); } }
/* the picked state (or region) on the map: a cream outline and a faint fill (Jake 2026-10-06, phone + desktop) */
.map-picked-state path { fill: rgba(224, 221, 215, .06); stroke: var(--cream); stroke-width: 2.5px; vector-effect: non-scaling-stroke; pointer-events: none; }

/* ==================== Sponsor pop-up ==================== */

/* the sponsor pop-up window (phone, Simple) */
.sp-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); display: grid; place-items: center; padding: 16px; }
.spm-box { position: relative; width: min(400px, 100%); background: #fff; border: 1px solid #111; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.spm-x { position: absolute; z-index: 2; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #111; background: #fff; color: #111; font: 15px/1 var(--mono); cursor: pointer; padding: 0 0 2px; }
.spm-art { aspect-ratio: 286 / 326; max-height: 52vh; width: 100%; margin: 0 auto; background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 10px); border-bottom: 1px solid #ddd; overflow: hidden; }
.spm-txt { padding: 16px 18px 18px; }
.spm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spm-go { background: var(--cherry); color: #fff; font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 11px 14px; text-decoration: none; }
.spm-dots { display: flex; gap: 6px; }
.spm-dots i.on { background: var(--cherry); }
.spm-arr { display: flex; gap: 6px; }
/* phone: the sponsor pop-up sits just under the site header, so it fully covers the Simple title behind it */
@media (max-width: 640px) { .sp-modal { align-items: start; padding-top: calc(env(safe-area-inset-top, 0px) + 45px); } }
.spm-txt small { font: 500 9.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--keep-gold, #8f8253); }
.spm-txt b { margin: 6px 0 4px; font: 700 24px/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #111; }
.spm-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* LAYOUT LAW — SPONSOR POP-UP (Jake 2026-10-07): every sponsor shows at the exact same size. The title always reserves 2 lines,
   the line under it always reserves 2 lines, so a short or long sponsor never changes the box. Titles over 2 lines end in "…". */
.spm-txt b { height: 2.1em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.spm-txt p { height: 3em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ==================== Simple mode ==================== */

.simple-view { display: none; }
html[data-simple] #southland-ring { display: none; }
html[data-simple] .simple-view { display: flex; flex-direction: column; position: absolute; inset: 0; min-height: 0; }
.sv-inner { width: min(820px, 100%); margin: 0 auto; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px 4px 0; box-sizing: border-box; }
.sv-title { margin: 0; font: 700 clamp(30px, 4vw, 44px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.sv-count { margin: 6px 0 0; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--keep-gold, var(--gold)); }
.sv-list { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; touch-action: pan-y; overscroll-behavior: contain; padding-bottom: 16px; }
/* scrolls up/down only, never sideways */
.sv-letter { margin: 20px 0 2px; font: 700 13px var(--display); letter-spacing: .3em; color: var(--cherry); }
.sv-row { box-sizing: border-box; min-width: 0; display: flex; align-items: baseline; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 11px 0; cursor: pointer; text-align: left; color: var(--cream); }
.sv-name { font: 700 17px/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase; flex: none; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-meta { min-width: 0; font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-go { margin-left: auto; flex: none; font: 400 13px var(--mono); color: var(--dim); }
@media (hover: hover) { .sv-row:hover .sv-name { color: var(--cherry); } }
.sv-empty { margin: 24px 0; font: 400 12px var(--mono); color: var(--dim); }
@media (max-width: 640px) { .sv-inner { padding-top: 12px; } 
  .sv-title { font-size: 32px; }

  .sv-name { font-size: 15px; }

  .sv-meta { font-size: 8.5px; }
}
.stage.panel-open .simple-view { filter: blur(6px); opacity: .25; pointer-events: none; }
/* SIMPLE (theme A, Jake 2026-10-07): no search; a category grid (desktop 2 rows, phone 4 across); one Tags drop-down at the right of the count;
   rows open a drop-down (small photo, description, website, Instagram). Phone: no sponsor banner, a sponsor pop-up instead. */
html[data-simple] .top-center { visibility: hidden; }
.sv-countrow { align-items: center; justify-content: space-between; gap: 12px; display: block; margin-top: 6px; }
.sv-tags { flex: none; max-width: 46%; height: 30px; border: 1px solid #111; border-radius: 2px; color: #111; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; -webkit-appearance: none; appearance: none; padding: 0 26px 0 10px; text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 9px center; }
html[data-simple] .sv-inner { width: min(1100px, 100%); }
.sv-row .sv-go { transition: transform .2s ease; }
.sv-row.open { border-bottom: 0; }
.sv-row.open .sv-go { transform: rotate(90deg); color: var(--cherry); }
.sv-drop { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); align-items: start; min-height: 98px; }
.sv-drop-ph { position: relative; width: 72px; height: 82px; overflow: hidden; border: 1px solid var(--line); background: #ebe8e2; }
.sv-drop-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-drop-btns .sv-web { background: var(--cherry); border-color: var(--cherry); color: #fff; }
/* Simple never shows the sponsor banner (phone or desktop): it's a pop-up there. A ↺ beside Tags clears the filters. */
html[data-simple] .sponsor { display: none !important; }
.sv-filters { display: flex; align-items: center; gap: 6px; flex: none; max-width: 46%; width: auto; }
.sv-filters .sv-tags { max-width: none; flex: 1 1 0; min-width: 0; }
.sv-reset { flex: none; padding: 0 0 2px; display: grid; place-items: center; border-radius: 2px; font: 15px/1 var(--mono); cursor: pointer; width: 26px; height: 30px; border: 0; background: none; font-size: 17px; color: #111; }
.sv-reset[hidden] { display: none; }
/* Simple: Category and Tags drop-downs side by side; ↺ is a plain icon (no box) that clears the tag */
@media (hover: hover) { .sv-reset:hover { color: var(--cherry); } }
@media (max-width: 640px) {
  .sv-countrow { row-gap: 8px; flex-wrap: nowrap; }
  
}
/* Simple: row 1 = count · ↺ Tags; row 2 = Category (70%) · State (30%) */
@media (max-width: 640px) {  
  .sv-filters { width: auto; max-width: 52%; }
}
.sv-countrow .sv-count { min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .sv-pickrow .sv-tags, .sv-filters .sv-tags { font-size: 16px; letter-spacing: .02em; text-transform: none; } 
  
}
/* Simple: Category · State · ↺ (the reset sits at the right end and clears all three drop-downs) */
.sv-pickrow .sv-catsel { flex: 7 1 0; min-width: 0; }
.sv-pickrow .sv-statesel { flex: 3 1 0; min-width: 0; margin-left: 6px; }
.sv-pickrow .sv-reset { flex: none; }
@media (max-width: 640px) { .sv-pickrow .sv-catsel { flex: 5 1 0; } 
  .sv-pickrow .sv-statesel { flex: 4 1 0; }
}
/* Simple: a little more room between the drop-downs, and the ↺ gets its own slot (taken from the category box) *//* Simple: a ↺ right of each drop-down (its slot always kept; faded out until that drop-down is picked) */
.sv-reset.off { visibility: hidden; }
.sv-pickrow { gap: 4px; display: grid; grid-template-columns: minmax(0, 4fr) 30px minmax(0, 3fr) 30px minmax(0, 3fr) 30px; column-gap: 4px; align-items: center; margin: 12px 0 4px; }
.sv-pickrow .sv-reset, .sv-filters .sv-reset { width: 30px; height: 34px; margin: 0; }
.sv-drop p { margin: 0 0 10px; font: 400 12px/1.6 var(--mono); color: #222; }
.sv-drop-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; }
/* Simple drop-down cards: the same size for every brand: the description shows up to 3 lines (Admin keeps it to 125 characters) */
.sv-drop p { height: 4.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* ==================== Simple: drop-downs (locked layout, Jake 2026-10-08) ====================
   Category · ↺ · State · ↺ · Tags · ↺ on ONE row (phone and desktop). Fixed slots: Category 40%, State and Tags 30% each of
   what's left after the three ↺ slots, so nothing changes width as you pick. The count sits alone on the line above.
   The drop-down arrow is our own, the same on every Mac and phone. */
.sv-pickrow .sv-tags { width: 100%; max-width: none; height: 34px; margin: 0; }
.sv-pickrow .sv-reset { width: 30px; height: 34px; margin: 0; }
@media (max-width: 640px) { .sv-pickrow .sv-reset { font-size: 15px; width: 24px; height: 30px; } 
  .sv-pickrow .sv-tags { padding: 0 20px 0 7px; background-position: right 6px center; font-size: 16px; letter-spacing: 0; height: 30px; color: transparent; }
}
/* Simple on desktop: drop-down photos a little bigger (same tall shape); phone keeps 72px */
@media (min-width: 641px) { .sv-drop { grid-template-columns: 110px minmax(0, 1fr); min-height: 142px; } 
  .sv-drop-ph { width: 110px; height: 125px; }
}
/* LAYOUT LAW (Jake 2026-10-08): on phone the sponsor pop-up lines up exactly with the window's edges (top 45px, same left/right) *//* phone brand card: the shuffle box is a little wider (an easier tap); the category button gives up the room *//* ==================== Simple on phone: two compact rows (Jake 2026-10-08) ====================
   row 1: Category (full width) · ↺   row 2: State · ↺ · Tags · ↺   — 30px boxes, small uppercase text on top of the real
   16px text (so iPhone doesn't zoom), full names fit. Desktop keeps one row. */
.sv-pick { position: relative; display: block; min-width: 0; }
.sv-pick-text { display: none; }
@media (max-width: 640px) { .sv-pickrow { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px; column-gap: 4px; row-gap: 5px; } 
  .sv-pickrow > .sv-pick:first-child { grid-column: 1 / 4; }

  .sv-pick-text { display: block; position: absolute; left: 0; top: 0; right: 26px; padding-left: 9px; pointer-events: none;
    font: 500 10.5px/30px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ==================== Sponsor pop-up ==================== */

.spm-txt p { margin: 0 0 14px; font: 400 12px/1.5 var(--mono); color: #333; }

/* ==================== Light / Simple switches ==================== */

.modes { display: flex; align-items: center; gap: 16px; }
.mode-sw { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.mode-sw[aria-checked="true"] { color: var(--cream); }
.mode-sw[aria-checked="true"] i { border-color: var(--cherry); }
@media (hover: hover) { .mode-sw:hover { color: var(--cream); } }
.modes-gear { display: none; }
@media (max-width: 640px) { .modes-gear { display: grid; place-items: center; position: absolute; right: 0; top: 10px; width: 30px; height: 30px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; } 
  .modes { display: none; position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30; flex-direction: column; align-items: stretch; gap: 0; min-width: 170px; padding: 6px;
    background: rgba(16, 19, 24, .97); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }

  .modes.open { display: flex; }

  .modes .mode-sw { justify-content: space-between; padding: 12px 10px; }
}
.mode-sw i { position: relative; width: 22px; height: 12px; border: 1px solid currentColor; border-radius: 7px; flex: none; }
@media (max-width: 640px) { .modes-gear svg { width: 15px; height: 15px; } }
.mode-sw[aria-checked="true"] i::after { transform: translateX(10px); background: var(--cherry); }

/* ==================== Sponsor pop-up ==================== */

.spm-dots i { width: 16px; height: 3px; background: #ccc; }

/* ==================== Footer ==================== */

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap;
  padding-block: 14px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #22252b;
  font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot a, .foot button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: none; font: inherit; letter-spacing: inherit; text-transform: inherit; }
@media (hover: hover) { .foot a:hover, .foot button:hover { color: var(--cream); } }
@media (max-width: 640px) { .foot { justify-content: center; text-align: center; position: relative; } 
  .foot nav { justify-content: center; flex-wrap: nowrap; gap: 10px; letter-spacing: .06em; font-size: 10px; }
}
/* footer: the switches sit just right of the copyright on desktop */
.foot-left { display: flex; align-items: center; gap: 28px; }
@media (max-width: 640px) { .foot-left { gap: 0; } }
@media (min-width: 900px) { .foot { position: relative; } }

/* ==================== Brand card ==================== */

.bc-sharemenu button { background: none; border: 0; border-bottom: 1px solid #2c3038; padding: 13px 16px; text-align: left; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }

/* ==================== Sponsor pop-up ==================== */

.spm-arr button { width: 32px; height: 32px; border: 1px solid #111; background: #fff; color: #111; font: 14px/1 var(--mono); cursor: pointer; padding: 0 0 2px; }

/* ==================== Simple mode ==================== */

.sv-drop-btns a { font: 600 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 9px 12px; text-decoration: none; border: 1px solid #111; color: #111; }

/* ==================== Light mode ==================== */

html[data-theme="light"] a.post p { color: #d4d0c4; }
html[data-theme="light"] a.post h3 { color: #f2efe9; }
/* ================= LIGHT MODE (footer switch on desktop, gear menu on phone; Simple mode always uses it) =================
   Everything black on a paper-white ground, except the brand count and the top-right "The Made in USA List" home button (gold).
   Red stays true cherry red. Photos are untouched. */
html[data-theme="light"] {
  --night: #f5f3ef; --midnight: #ffffff; --cream: #111111; --gold: #111111; --dim: #4a4a4a; --line: #d6d2c8;
  --keep-gold: #8f8253;
  color-scheme: light;
}
html[data-theme="light"] body { background: var(--night); }
html[data-theme="light"] .eyebrow, html[data-theme="light"] .top .sub { color: var(--keep-gold); }
/* windows, menus, cards */
html[data-theme="light"] .panel { background: rgba(255, 255, 255, .97); box-shadow: 0 24px 60px rgba(0, 0, 0, .12); }
html[data-theme="light"] .menu-list { background: rgba(255, 255, 255, .98); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
html[data-theme="light"] .bcard { background: #fff; }
html[data-theme="light"] .tile, html[data-theme="light"] .card, html[data-theme="light"] .post { border-color: var(--line); }
html[data-theme="light"] .tile-meta { border-top-color: var(--line); }
html[data-theme="light"] .tile-img, html[data-theme="light"] .bc-ph, html[data-theme="light"] .no-photo { background-color: #ebe8e2; }
@media (hover: hover) { html[data-theme="light"] .tile:hover .tile-name, html[data-theme="light"] .sp-slide:hover .sp-title { color: #000; } }
/* buttons, chips, tags: black text, black borders */
html[data-theme="light"] .tool, html[data-theme="light"] .chip,
html[data-theme="light"] .bc-tags span, html[data-theme="light"] .bc-tags .bc-tag, html[data-theme="light"] .sp-label,
html[data-theme="light"] .pager .tool:disabled { border-color: #111; color: #111; }
html[data-theme="light"] .send { color: #fff; }
@media (hover: hover) { html[data-theme="light"] .send:hover { background: #b81f28; } }
html[data-theme="light"] .dots i, html[data-theme="light"] .sp-dot, html[data-theme="light"] .sp-dot::before, html[data-theme="light"] .pager .dots button.dot::before { background: #c9c4b8; }
html[data-theme="light"] .pager .dots button.dot.on::before { background: var(--cherry); }
/* text that was a soft gray */
html[data-theme="light"] .post p, html[data-theme="light"] .lede, html[data-theme="light"] .grid-note, html[data-theme="light"] .bc-story, html[data-theme="light"] .sp-line { color: #222; }
/* fields */
html[data-theme="light"] .search-input { border-bottom-color: #111; }
html[data-theme="light"] .search-input::placeholder { color: #8a8a8a; }
html[data-theme="light"] input, html[data-theme="light"] textarea, html[data-theme="light"] select { border-color: #bdb8ad; }
/* sponsor strip */
html[data-theme="light"] .sponsor { background: #fff; border-color: var(--line); }
html[data-theme="light"] .sp-mark { background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 9px); border-right-color: var(--line); }
/* brand card: the name plate and category circle sit on the photo, so they keep light text on dark */
html[data-theme="light"] .bc-plate, html[data-theme="light"] .bc-plate * { color: #f2efe9; }
html[data-theme="light"] .bc-ph { border-color: #111; }
html[data-theme="light"] .bc-circ { border-color: #fff; }
html[data-theme="light"] .bc-flag { border-color: #bbb; }
html[data-theme="light"] .bc-sharemenu { background: #fff; border-color: #111; }
html[data-theme="light"] .bc-sharemenu button { border-bottom-color: var(--line); }
@media (hover: hover) { html[data-theme="light"] .bc-sharemenu button:hover { background: #f0ede7; } }
/* map */
html[data-theme="light"] .map-pin .dot { stroke: #fff; }
html[data-theme="light"] .map-labels text { fill-opacity: .7; }
html[data-theme="light"] .map-btn-us path { fill: #fff; }
/* the ring: HUD lines and readout go black; the photo tiles keep their own colors */
html[data-theme="light"] .sr-root { --sr-cream: #111; --sr-gold: #111; }
html[data-theme="light"] #southland-ring [data-k="ticks"] circle, html[data-theme="light"] #southland-ring [data-k="outer"] path,
html[data-theme="light"] #southland-ring [data-k="sweep"] line, html[data-theme="light"] #southland-ring [data-k="leader"] line,
html[data-theme="light"] #southland-ring [data-k="viewRing"], html[data-theme="light"] #southland-ring [data-k="innerDash"],
html[data-theme="light"] #southland-ring [data-k="coreRing"], html[data-theme="light"] #southland-ring [data-k="reticle"] path { stroke: #111; }
html[data-theme="light"] #southland-ring [data-k="markers"] circle { fill: #111; }
html[data-theme="light"] #southland-ring [data-k="leadIdx"] { fill: #111; }
html[data-theme="light"] .sr-controls button { border-color: #111; }
@media (max-width: 640px) { html[data-theme="light"] .modes { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .15); } }
html[data-theme="light"] .foot { border-top-color: var(--line); }
html[data-theme="light"] .stage.panel-open #southland-ring { filter: blur(8px); opacity: .25; }
html[data-theme="light"] .sp-dot { background: none; }
html[data-theme="light"] .sp-dot[aria-current="true"]::before { background: var(--cherry); }
html[data-theme="light"] .bc-circ, html[data-theme="light"] .bc-circ span { color: #f2efe9; }
html[data-theme="light"] .ring-search .ring-hint { color: #b7ad85; }
html[data-theme="light"] .ring-search-btn { color: #e0ddd7; border-color: #e0ddd7; }
@media (max-width: 640px) { html[data-theme="light"] .map-btn-us path { fill: #fff; } 
  html[data-theme="light"] .pm-cards .tile.pm-card.on { border-color: #111; }

  html[data-theme="light"] .pm-btn, html[data-theme="light"] .pm-find { background: rgba(255, 255, 255, .95); border-color: #111; color: #111; }

  html[data-theme="light"] .pm-bar { background: rgba(255, 255, 255, .96); border-top-color: var(--line); }

  html[data-theme="light"] .pm-card { border-color: var(--line); }

  html[data-theme="light"] .pm-card.on { border-color: #111; }

  html[data-theme="light"] .map-pin.lit .dot { fill: #fff; }

  html[data-theme="light"] .town { fill: #6b6b6b; }

  html[data-theme="light"] .town.town-major, html[data-theme="light"] .town-dot { fill: #222; }

  html[data-theme="light"] .ap-needle { stroke: #555; }
}
@media (min-width: 641px) { html[data-theme="light"] .pm-cards .tile.pm-card.on { border-color: #111; } 
  html[data-theme="light"] .pm-bar { background: rgba(255, 255, 255, .96); border-top-color: var(--line); }

  html[data-theme="light"] .pm-card { border-color: var(--line); }

  html[data-theme="light"] .pm-card.on { border-color: #111; }

  html[data-theme="light"] .map-pin.lit .dot { fill: #fff; }

  html[data-theme="light"] .town { fill: #6b6b6b; }

  html[data-theme="light"] .town.town-major, html[data-theme="light"] .town-dot { fill: #222; }

  html[data-theme="light"] .ap-needle { stroke: #555; }
}
html[data-theme="light"] .panel.mappage .pm-hint { color: #333; }
@media (max-width: 640px) { html[data-theme="light"] .panel.cat .panel-head .surp, html[data-theme="light"] .panel.cat .panel-head .close { border-color: #111; } }
@media (min-width: 641px) { html[data-theme="light"] .panel.mappage .pm-headbtn, html[data-theme="light"] .panel.mappage .pm-headfind { border-color: #111; } }
html[data-theme="light"] .map-picked-state path { fill: rgba(0, 0, 0, .04); stroke: #111; }
/* the sponsor pop-up on the main (dark) site: same box, dark colors */
html:not([data-theme="light"]) .spm-box { background: var(--midnight); border-color: var(--cream); }
html:not([data-theme="light"]) .spm-x, html:not([data-theme="light"]) .spm-arr button { background: none; border-color: #3a382f; color: var(--cream); }
html:not([data-theme="light"]) .spm-art { border-bottom-color: var(--line); background-color: #14171c; background-image: repeating-linear-gradient(135deg, rgba(183, 173, 133, .12) 0 2px, transparent 2px 10px); }
html:not([data-theme="light"]) .spm-txt b { color: var(--cream); }
html:not([data-theme="light"]) .spm-txt p { color: #b9b5aa; }
html:not([data-theme="light"]) .spm-dots i.on { background: var(--cherry); }
@media (min-width: 641px) { html[data-theme="light"] .panel.mappage .pm-step { background: #fff; border-color: #111; color: #111; } }

/* ==================== Map card ==================== */

@media (min-width: 641px) { .pm-find::placeholder { color: #8d887a; } }

/* ==================== Light / Simple switches ==================== */

.mode-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform .2s ease; }

/* ==================== Light mode ==================== */

@media (min-width: 641px) { html[data-theme="light"] .pm-btn, html[data-theme="light"] .pm-find { background: rgba(255, 255, 255, .95); border-color: #111; color: #111; } }
html:not([data-theme="light"]) .spm-dots i { background: #4a473d; }

