/* iPhones: no gray tap flash on anything tapped (Jake 2026-11-12: the Blog listing flashed gray when tapped). Standard: -webkit-tap-highlight-color
   (Apple Safari CSS reference, MDN); it passes down to everything. The site's own tap looks (cherry bar, etc.) stay. */
html { -webkit-tap-highlight-color: transparent; }
/* ==================== Base: colors, page, fonts ==================== */

@font-face { font-family: Yucca; src: url(fonts/Yucca.otf) format("opentype"); font-display: swap; }
@font-face { font-family: Oaxaca; src: url(fonts/Oaxaca.otf) format("opentype"); font-display: swap; }

/* 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 */
  /* Fonts (Jake 2026-11-11, chat "fonts"): Yucca = big headline words, Oaxaca = short words (both by James Coffman, jamescoffman.com,
     files in fonts/), Short Stack = sentences (Google Fonts). --display and --mono are both Oaxaca; the Yucca and Short Stack spots are
     listed by name in the "Fonts" section at the end of this file. */
  --display: Oaxaca, "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: Oaxaca, "Arial Narrow", "Helvetica Neue", sans-serif;
  --big: Yucca, Oaxaca, "Arial Narrow", sans-serif;
  --sentence: "Short Stack", "Comic Sans MS", sans-serif;
  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)); }
/* 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: 839px) { .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); min-width: 260px;
  display: flex; flex-direction: column; padding: 8px;
  background: rgba(16, 19, 24, .78); border: 1px solid var(--line); border-radius: 2px;   /* a little see-through, blur kept (Jake 2026-11-12; was .94) */
  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; left: auto; right: -12px; }
.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; } }
.menu-list button:active { border-left-color: var(--cherry); background: rgba(215, 38, 48, .08); }   /* phones: the same cherry bar while an item is tapped (Jake 2026-11-11) */
/* the logo menu's words match the home page menu beside the circle: Oaxaca 12px, weight 500, .2em spacing, one row each (Jake 2026-11-11).
   The box keeps the logo's width (260px). Phones: the whole menu is the laptop one scaled to the phone logo (7px / 12px). */
.menu-list button { font: 500 12px/1 var(--display); letter-spacing: .2em; padding: 11px 14px; white-space: nowrap; }
@media (max-width: 839px) {
  .menu-list { min-width: 0; left: 0; right: 0; top: calc(100% + 14px * 7 / 12); padding: calc(8px * 7 / 12); }   /* exactly as wide as the red dot + SOUTHLAND HERITAGE (Jake 2026-11-11) */
  .menu-list button { font-size: 9.5px; padding: calc(11px * 7 / 12 + 1.5px) calc(14px * 7 / 12); gap: calc(14px * 7 / 12); }   /* 8px words, same as the top bar (Jake 2026-11-11); the box grows only as much as the words need */
  /* phones (Jake 2026-11-12): 9.5px (HONORABLE MENTION has even space both sides), no cherry bar (the faint tint on tap stays) */
  .menu-list button { border-left: 0; padding-right: calc(14px * 7 / 12 - .2em); }   /* no cherry bar; the right padding drops the space after the last letter, so both sides match */
}
/* ---------- header: menu left, search centered, title right ---------- */

.top-center { justify-self: center; display: flex; align-items: center; gap: 26px; }
/* desktop home page (Jake 2026-10-19): Search sits under "The Made in USA List", right-aligned, so the ring gets the middle */
@media (min-width: 761px) { .top-center { position: absolute; left: 0; top: calc(100% + 2px); z-index: 5; }
  body:has(.panel-open) .top-center { position: static; } }   /* every other page (a window is open): Search back in the top center */
/* header swapped (Jake 2026-10-19; phones too 2026-10-20): monogram + "The Made in USA List" on the left, the Southland Heritage menu on the right */
.top .top-right { grid-column: 1; grid-row: 1; justify-self: start; flex-direction: row-reverse; }   /* monogram on the inside (toward the middle) */
.top .menu { grid-column: 3; grid-row: 1; justify-self: end; }

@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: 839px) { .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: 8.5px; letter-spacing: .06em; white-space: nowrap; }   /* 8.5px, same as the logo (Jake 2026-11-12) */

  .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: 840px) { #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: 839px) {
  #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: 839px) { #southland-ring [data-k=viewIdle] { display: none; } }
/* replaced by the hint + button below */
@media (max-width: 839px) { .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; justify-content: center; gap: 10px; pointer-events: auto; cursor: pointer;
    width: 140px; height: 140px; border-radius: 50%; }   /* the whole center circle is the tap area */
  .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-layer.sliding { overflow: hidden; }   /* Slide-over (Jake 2026-11-06): while a window slides in or out it stays inside its area, never over the footer */
.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:where(:not(.bc-name)) { margin: 0; font: 700 clamp(28px, 4vw, 39px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-wrap: balance; white-space: nowrap; overflow: hidden; }   /* window titles; the brand card's name (also an h2) keeps its own .bc-name look. :where adds no weight, so later .panel-head h2 rules still win */
.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);
}
/* the Carousel (Jake 2026-10-25: Directory, Blog and Shop feel like separate places): the header Search goes at once as it starts and
   fades in gently just after the new page has landed */
.top .search-btn { transition: opacity .45s ease; }
body.cs-search-off .top .search-btn { opacity: 0; pointer-events: none; transition: none; }   /* gone at once: a .1s fade read as a flash (Jake 2026-10-25) */
@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; }
/* short desktop screens (Jake 2026-11-03, under 750 tall): the Search top folds into one row (search box, tags, chips, a smaller Map) so the
   tiles below keep room for their names */
@media (min-width: 840px) and (max-height: 749px) {
  .srch .search-bar { flex-direction: row; align-items: center; gap: 16px; }
  /* the tag drop-down moves to the right of the tags, and the tags + drop-down sit between the search box and Map (Jake 2026-11-03) */
  .srch .search-line, .srch .filter-row { display: contents; }
  .srch .search-line .search-input { flex: 1 1 320px; order: 1; font-size: 22px; padding: 4px 0 6px; }
  .srch .search-reset { order: 2; margin-left: -42px; }   /* sits at the end of the search line and takes no room, so the gaps match */
  .srch .filter-row .chips { order: 3; }
  .srch .tag-pick { order: 4; }
  .srch .chip.map-btn { order: 5; width: 64px; height: 38px; }
  .srch .map-btn-txt { font-size: 11px; }
  .panel.cat:not(.room) .panel-body { padding-top: 10px; padding-bottom: 10px; }   /* every brand window alike: a little less padding above and below */
}
.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: 839px) { .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; }
/* laptops (Jake 2026-11-03): a chip that doesn't fit the row drops out whole (it wraps to a hidden second line), never half cut */
@media (min-width: 840px) { .filter-row .chips { flex-wrap: wrap; row-gap: 40px; height: 27px; align-content: flex-start; } }
.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); }
/* Search: the tag drop-down at the end of the search line; phone shows 3 quick tag chips, desktop 6 */
.search-line { display: flex; align-items: center; gap: 10px; }
.search-line .search-input { flex: 1; min-width: 0; }
.search-line .tag-pick { flex: none; }
.tag-pick { position: relative; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.tag-pick::after { content: "▾"; font-size: 11px; }
/* Search: ↺ at the end of the search line clears the search (Jake 2026-10-13, like Simple's ↺); hidden until there's something to clear */
.search-reset { flex: none; display: grid; place-items: center; width: 26px; height: 30px; padding: 0 0 2px; border: 0; background: none; color: var(--cream); font: 17px/1 var(--mono); cursor: pointer; }
.search-reset.off { visibility: hidden; }
@media (hover: hover) { .search-reset:hover { color: var(--cherry); } }
html[data-theme="light"] .search-reset { color: #111; }
.tag-pick-sel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
@media (max-width: 839px) { .srch .chips .chip { padding-left: 7px; padding-right: 7px; } }   /* 4 quick tags + Map fit one phone row */
@media (max-width: 839px) { .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: 839px) {
  
  .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: 839px) { .panel { height: calc(100% - 8px); width: 100%; } }
/* compact header: count + buttons on one row, title below */
@media (max-width: 839px) { .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 ---------- */
/* while one page slides over another, each page keeps its own ✕ and corners inside it (Jake 2026-11-12: on phones the page underneath drew
   its ✕ and gold corner on top of the new page, two of each as it landed). Standard CSS: "isolation: isolate" gives each page its own layer (MDN). */
.panel-layer.sliding > .panel, .panel-layer > .panel.slide-under { isolation: isolate; }
@media (max-width: 839px) { .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: 839px) { .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: 840px) {
  .panel { width: 100%; }
}
@media (max-width: 839px) { .panel.detail-open .panel-head { display: none; } }   /* phones; laptops: the card covers the window (below) */
.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; }
@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: 839px) { .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; }
}
@media (max-width: 839px) { .panel.detail-open .panel-body { grid-row: 1 / -1; } }
/* laptops (Jake 2026-11-02): the brand card covers the whole window and crossfades over it; nothing underneath moves. Once it's fully in,
   what's under it is hidden from keyboards and screen readers (closing shows it again at once, under the fading card) */
@media (min-width: 840px) { .panel.detail-open > :not(.bcard), .panel.detail-open .panel-body > :not(.bcard) { visibility: hidden; transition: visibility 0s .25s; } }
/* slightly smaller names on desktop, so the longest name fits and you get 4 across on a half-screen window */
@media (min-width: 840px) { .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: 840px) { .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: 839px) { .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: 840px) { .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; }
@media (max-width: 839px) { .panel.detail-open .panel-foot { display: none !important; } }
/* LAYOUT LAW, desktop window top row (Jake 2026-11-15): titles are 39px (the rule above), the ‹ › category buttons are one fixed width
   (183px, set by the longest name, "‹ DENIM & WORKWEAR") from 1240 wide up, and from 1400 wide up Surprise me sits in ONE fixed spot on
   every window, Search included: 30px left of the ‹ › buttons, level with the ✕. That spot clears the longest title + count
   ("DENIM & WORKWEAR 50 BRANDS") and the widest buttons on every category (all 16 measured). Narrower windows: Surprise me sits at the
   right end of the tab row (Search: beside the ✕), and under 1240 the ‹ › buttons keep their own widths (fixed ones would hit the title). */
@media (min-width: 1240px) {
  .panel.cat .catprev, .panel.cat .catnext { width: 183px; box-sizing: border-box; flex: none; justify-content: center; text-align: center; }
}
@media (min-width: 1400px) { .panel.cat .panel-head { position: relative; } 
  .panel.cat .panel-head .surp { position: absolute; right: 468px; top: 19.5px; left: auto; transform: none; margin: 0; height: 32px; box-sizing: border-box; display: inline-flex; align-items: center; }   /* level with the ✕ and ‹ › (same top, same 32px height; Jake 2026-11-16) */
}
/* 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: 839px) { .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: 6px 6px 6px 9px; align-items: center;}   /* tucked up and right (Jake 2026-11-12; was 10px 12px 8px) */ 
  .panel.cat .eyebrow { grid-area: eye; min-height: 0; margin: 0; flex: none; white-space: nowrap; overflow: hidden;}

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

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

  .panel.cat .panel-head .surp { display: inline-flex; align-items: center; padding: 0 9px; 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: 840px) { .panel.cat .panel-foot:not(:has(*)) { display: none !important; } }
@media (max-width: 839px) { .panel.cat .panel-head .close { grid-area: x; position: static; margin: 0; } }
/* Surprise me and ✕: identical boxes */
@media (max-width: 839px) { .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 ---------- */

@media (max-width: 380px) { .search-btn svg { width: 15px; height: 15px; } }
@media (max-width: 839px) { .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; }
.tile-loc { font: 400 10px/1.2 var(--mono); letter-spacing: .14em; word-spacing: -.2em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap; overflow: hidden; }   /* tighter gaps between words (Jake 2026-10-25) so the longest town fits whole: no "…" */
@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: none; font: 400 13px/1.6 var(--mono); color: #b9b5aa; }   /* full width: the Honorable Mention intro sits on two rows on desktop */
.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: 839px) { .page { inset: 0; } 
  .results .page { inset: 0; }
}
/* phone tiles: compact name and city under the photo */
@media (max-width: 839px) { .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: 839px) { .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: 840px) { .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: 840px) { .scroll-list.desk .tile-name { line-height: 1.05; -webkit-box-orient: vertical; overflow: hidden; height: auto; display: block; white-space: nowrap; font-size: 16px; } 
  .scroll-list.desk .tile-loc { letter-spacing: .1em; font-size: 9.5px; }
  .scroll-list.desk.names2 .tile-name { white-space: normal; height: 2.1em; text-wrap: balance; }   /* short windows: names on 2 lines (js/lists.js fitTwoRows) */
}

/* ==================== 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: 840px) { .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: 839px) { .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: 839px) { .bc-top-phone { justify-content: flex-start; gap: 8px; } 
  .bc-top-phone .back { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }


  .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: 839px) { .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; top: 70%; padding: 0 64px 11px 12px; border-radius: 0 0 9px 9px; pointer-events: none;
    background: linear-gradient(rgba(12, 14, 18, 0), rgba(12, 14, 18, .4) 50%, rgba(12, 14, 18, .75)); display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }   /* phones (Jake 2026-11-08): the same light fade as every phone photo, the bottom 30% */

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

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

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

  .bc-tags { flex-wrap: nowrap; overflow: hidden; height: 25px; margin: -2px 0; }   /* fits the 25px tags (Jake 2026-11-12: the row was 21px and cut their bottom edge off) */

  .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: 840px) { .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-align: center; flex: 0 1 auto; padding-left: 16px; padding-right: 16px; }


  .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; }

  .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: 840px) { .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 .surp { margin-left: auto; flex: none; }

}
/* 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; }

}
/* phone brand card top row: ← (same box as the ✕) · Surprise me · ‹ › · ✕ */
@media (max-width: 839px) {
  .panel .bcard .bc-top-phone .surp { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; position: static; transform: none; }

}
/* LAYOUT LAW — DESKTOP BRAND CARD TOP ROW (Jake 2026-10-06): fixed slots at every desktop width, every box 32px tall.
   ← Back (220 wide, left) · Surprise me (124, dead center) · ‹ Prev (220) · Next › (220) · ✕ (32, right). Jake 2026-10-25: no "…" anywhere,
   so the three name buttons are wide enough for the longest brand name (22 characters) and the longest "← All" category. */
@media (min-width: 840px) { .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-align: center; max-width: none;}

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

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

  .panel .bcard .bc-top-phone > .close { right: 0; left: auto; width: 32px; padding: 0 0 2px; display: grid; place-items: center; line-height: 1; }
}
.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; 2026-11-11) ====================
   ← back names where you came from (fills the space) · Surprise me (the same button as the category page) · ✕.
   ‹ › moved onto the photo's edges (.bc-side, below) */
@media (max-width: 839px) { .panel .bcard .bc-top-phone .back { flex: 1 1 auto; min-width: 0; padding: 0 4px; text-align: left; white-space: nowrap; overflow: hidden; }
  .panel .bcard .bc-top-phone .surp { flex: none; position: static; transform: none; padding: 0 12px; display: inline-flex; align-items: center; }   /* the same box as the category page's Surprise me */
}

/* ==================== 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; }
/* 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; }
/* about: the story on the left, how brands make the list on the right (stacked on phone) */
.about { height: 100%; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-story { display: flex; flex-direction: column; gap: 14px; }
.about-tag { font-size: clamp(30px, 3.2vw, 46px); white-space: nowrap; }   /* one row on desktop */
.about-quote { margin: 4px 0 0; padding-left: 14px; border-left: 2px solid var(--cherry); font: 600 20px/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--cream); }
.about-list { border: 1px solid #262a31; border-radius: 2px; background: var(--midnight); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list h3 { margin: 0; font: 600 22px/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
.about-list ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font: 400 13px/1.6 var(--mono); color: #b9b5aa; }
/* LAYOUT LAW (Jake 2026-10-10): in-page action buttons (like About > Contact) are outlined buttons, 32px tall, gold caps, no arrow. Phone and desktop. */
.about-note { display: flex; align-items: center; gap: 12px; }
.about-note > span { flex: 1; min-width: 0; }
.about .about-contact { flex: none; height: 32px; padding: 0 14px; background: none; cursor: pointer; border: 1px solid #3a382f; border-radius: 2px; color: var(--gold); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) { .about .about-contact:hover { color: var(--cream); border-color: var(--gold); } }
.about-arrow { display: none; }
/* About (phone only): the note + Contact row matches the Affiliate page: room above it, "Let me know." on its own line */
.about-br { display: none; }
@media (max-width: 760px) { .about:not(.affiliate) .about-list .about-note { margin-top: 6px; } 
  .about:not(.affiliate) .about-br { display: inline; }
}
a.about-contact { display: inline-flex; align-items: center; text-decoration: none; }
.affiliate .about-story .lede { max-width: 60ch; }
/* legal pages: one readable column that scrolls inside the window (phone and desktop) */
.legal { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 24px; }
.legal > * { max-width: 70ch; margin-left: auto; margin-right: auto; }
.legal p { margin: 0 auto 12px; font: 400 13px/1.65 var(--mono); color: #c9c5b9; }
.legal b { color: var(--cream); font-weight: 500; }
.legal h3 { margin: 22px auto 8px; font: 600 22px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
.legal .legal-eff { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.legal .legal-title { margin: 26px auto 10px; font: 700 26px/1.05 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--cream); }
.legal .legal-title:first-of-type { margin-top: 6px; }
@media (max-width: 839px) { .legal .legal-title { font-size: 22px; } }
html[data-theme="light"] .legal .legal-title { color: #111; }
@media (max-width: 839px) { .legal { padding: 2px 12px 20px; } .legal p { font-size: 11.5px; } .legal h3 { font-size: 16px; } }
html[data-theme="light"] .legal p { color: #222; }
html[data-theme="light"] .legal b, html[data-theme="light"] .legal h3 { color: #111; }
/* read by screen readers, not shown on screen */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* affiliate (phone): a little room above the Questions line + Contact button */
@media (max-width: 760px) { .affiliate .about-story .about-note { margin-top: 14px; } }
.about-donate { max-width: 460px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.about-donate .big, .shop-win .big { font-size: clamp(34px, 5vw, 56px); }   /* Shop matches Contact + Donate (Jake 2026-11-12) */
.about-donate .about-contact { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border: 1px solid #3a382f; border-radius: 2px; color: var(--gold); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
@media (hover: hover) { .about-donate .about-contact:hover { color: var(--cream); border-color: var(--gold); } }
html[data-theme="light"] .about-donate .about-contact { color: #111; border-color: #111; }
@media (max-width: 760px) { .affiliate .aff-desktop { display: none; } }
html[data-theme="light"] .about .about-contact { color: #111; border-color: #111; }
/* phone only: quote centered, the list box at the bottom of the window, Contact as an outlined button (no arrow). Desktop stays as it was. */
@media (max-width: 760px) { .about-quote { border-left: 0; padding-left: 0; text-align: center; font-size: 15px; margin-top: 4px; } 
  .about { display: flex; flex-direction: column; scrollbar-width: none; position: absolute; inset: 4px 12px 0; height: auto; grid-template-columns: 1fr; gap: 8px; align-content: start; overflow-y: auto; overscroll-behavior: contain; }
  .about::-webkit-scrollbar { display: none; }
  .about-list { margin-block: auto; padding: 8px 12px 10px; gap: 5px; }   /* any spare space splits evenly above and below the box */
  /* About only: the quote sits centered between the story and the box (spare space split above the quote, below it, and below the box) */
  .about:not(.affiliate) > .about-story { flex: 2 1 auto; display: flex; flex-direction: column; }
  .about:not(.affiliate) .about-quote { margin-block: auto; }
  .about:not(.affiliate) > .about-list { margin-block: 0; }
  .about:not(.affiliate)::after { content: ""; flex: 1 1 0; }
}
.about-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .about-link:hover { color: var(--cream); } }
html[data-theme="light"] .about-link { color: #111; }
@media (max-width: 760px) {    /* pinned inside the window and sized to fit one phone screen (scrolls only if the text grows) */
  .about-story { gap: 4px; }
  .about-tag { font: 500 11px/1.2 var(--mono); letter-spacing: .2em; color: var(--gold); white-space: nowrap; margin-bottom: 4px; }   /* phone: a small gold subheading, so "Southland Heritage" stays the one title */
  .about .lede { font-size: 11.5px; line-height: 1.45; }

  .about-list h3 { font-size: 16px; }
  .about-list ul { font-size: 11.5px; line-height: 1.45; gap: 4px; padding-left: 14px; }
}
html[data-theme="light"] .about-list h3, html[data-theme="light"] .about-quote { color: #111; }
html[data-theme="light"] .about-list ul { color: #222; }
@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: 839px) { .bc-actions .send, .bc-actions .ig { letter-spacing: .1em; font-size: 11px; } 
  .search-input, input, textarea, select, .form input, .form textarea { font-size: max(16px, 1em); }   /* 16px: iPhone zooms into any box with smaller text (Contact + Shop forms did, Jake 2026-11-13) */
}

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

/* ---------- sponsor strip ---------- */
/* short desktop screens (Jake 2026-11-03): under 750 tall (1366 x 768 and 1536 x 864 laptops, after the browser's bars) the sponsor banner
   steps aside, so the brand windows have room for whole tiles with their names; 750 and taller (Jake's 1440 x 900 laptop) keep it */
@media (min-width: 840px) and (max-height: 749px) { .sponsor { display: none; } }
.sponsor { touch-action: pan-y; 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%; }
.sponsor a, .sp-modal a { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }   /* a drag is a swipe, not a dragged link */
/* no saving photos, site-wide (Jake 2026-11-16): no press-and-hold Save menu on phones, no dragging a photo off the page (the right-click
   menu is blocked in js/core.js). The standard image-protection settings; screenshots still work, as on any site */
img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
.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; }
@media (hover: hover) { .sp-slide:hover .sp-title { color: #fff; } 
}
.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: 840px) { .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: 839px) { .sp-title { line-height: 1.05; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; font-size: 15px; } }
/* ---------- sponsor arrow: room for it next to the four indicators ---------- */
@media (max-width: 839px) { .sp-text { min-width: 0; } 
  
}
/* banner: indicators move to the bottom-right corner so the title gets the full width */
@media (max-width: 839px) { .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: 839px) { .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: a little room after the title */
@media (max-width: 839px) { .sp-mark ~ .sp-text, .sp-img ~ .sp-text { padding-right: 8px; } }
/* desktop: titles stop before the five indicators */
@media (min-width: 840px) { .sp-text { margin-right: 196px; } }
/* 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: 839px) { .site:has(.panel.detail-open:not(.slide-under)) .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: 839px) {
   .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: 839px) { .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: 839px) { .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: 840px) { .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: 839px) { .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: 839px) { .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: 839px) { .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: 7.5; fill: #ff2e3d; stroke: var(--cream); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255, 46, 61, .9)) drop-shadow(0 0 10px rgba(215, 38, 48, .6)); }   /* the pin of the card in view: bright red + glow, not a big cream disc (Jake 2026-10-13) */

  .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: 839px) { .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: #ff2e3d; stroke: var(--cream); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255, 46, 61, .9)) drop-shadow(0 0 10px rgba(215, 38, 48, .6)); }   /* matches the round lit pin */

  .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: 840px) { .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: 840px) { .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: 7.5; fill: #ff2e3d; stroke: var(--cream); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255, 46, 61, .9)) drop-shadow(0 0 10px rgba(215, 38, 48, .6)); }   /* the pin of the card in view: bright red + glow, not a big cream disc (Jake 2026-10-13) */

  .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: #ff2e3d; stroke: var(--cream); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255, 46, 61, .9)) drop-shadow(0 0 10px rgba(215, 38, 48, .6)); }   /* matches the round lit pin */

  .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: 840px) { .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; }
.map-svg.moving { transform-origin: 0 0; will-change: transform; }
/* 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; }
@media (max-width: 839px) { .panel.mappage .pm-top .pm-back { display: none; } }   /* phones (Jake 2026-11-07): no ‹ beside the State or city box (it read as "clear"); ✕ closes, Search is in the top bar */
.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: 840px) { .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: 839px) { .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: 840px) { .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; display: grid; grid-template-columns: repeat(5, 131px); gap: 8px; }
/* 5 regions (Jake 2026-10-25), every button the same width, every label on one line.
   Laptop: one row (more room side to side). Phone: 3 on top, 2 centered under them; a 6-column grid where each button spans 2
   columns and the 4th starts at column 2, so the bottom pair sits centered. */

.panel.mappage .pm-chips .pm-btn { white-space: nowrap; justify-content: center; text-align: center; }
@media (max-width: 839px) { .panel.mappage .pm-chips:not([hidden]) { right: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .panel.mappage .pm-chips .pm-btn { grid-column: span 2; }
  .panel.mappage .pm-chips .pm-btn:nth-child(4) { grid-column: 2 / span 2; }
}
/* 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: 839px) { .panel.mappage .pm-sub:not([hidden]) { position: absolute; z-index: 6; top: 50px; left: 8px; } }
@media (min-width: 840px) { .panel.mappage .pm-corner .pm-sub .pm-btn { height: 34px; } }
/* desktop windows 840–1399 wide: Surprise me sits at the right end of the tab row on category and tag pages (top-row law above) */
@media (min-width: 840px) and (max-width: 1399px) { .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: 839px) { .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: 839px) { .panel.mappage .pm-cards .tile.pm-card { width: 138px; }   /* Jake 2026-10-25: 11% bigger (was 124 x 142 photo) with the banner's room, so the longest town fits whole */
  .panel.mappage .pm-cards .tile-img { height: 158px; }

  .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; }

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

  .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: 840px) { .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: 839px) { .map-labels text { font-size: calc(13px / var(--mz, 1)); } }
@media (min-width: 840px) { .map-btn-us path { fill: #11141a; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; transition: stroke .15s ease; } }
@media (max-width: 839px) { .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: 840px) { .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: 839px) { .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; height: 2.1em; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.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. No "…" (Jake 2026-10-25): sponsor text must fit. */

.spm-txt p { height: 3em; display: -webkit-box; -webkit-box-orient: vertical; 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; 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; }
.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: 839px) { .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;
  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-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: 839px) {
  .sv-countrow { row-gap: 8px; flex-wrap: nowrap; }
  
}
.sv-countrow .sv-count { min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; }
@media (max-width: 839px) { .sv-pickrow .sv-tags { 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; width: 30px; height: 34px; margin: 0; }
@media (max-width: 839px) { .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-drop p { margin: 0 0 10px; font: 400 12px/1.6 var(--mono); color: #222; height: 4.8em; overflow: hidden; }   /* every description fits whole (Admin checks it): no "…" */
/* the category, on the photo's bottom edge over a dark fade (Jake 2026-10-25; like the brand tag on the Pick page) */
.sv-drop-cat { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px 6px 5px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  font: 500 7.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.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) */

/* ==================== 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; }

@media (max-width: 839px) { .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 (Jake 2026-10-25): a bigger photo (94 x 107, tall shape) and 4 lines for the description; the drop-down grows one line on every brand */
@media (max-width: 839px) { .sv-drop { grid-template-columns: 94px minmax(0, 1fr); }
  .sv-drop-ph { width: 94px; height: 107px; }
  .sv-drop p { height: 6.4em; }
}
@media (min-width: 840px) { .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: 839px) { .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; }
}

/* ==================== 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: 839px) { .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: flex; visibility: hidden; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    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 { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .25s ease, transform .25s ease, visibility 0s; }   /* fades in and out (Jake 2026-10-14) */

  .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: 839px) { .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: 839px) { .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; }
/* footer stays readable over the home photo: a soft dark fade behind it (dark mode; Light/Simple footers sit on light colors) */
html:not([data-theme="light"]) .foot { position: relative; isolation: isolate; }
/* matching soft fade behind the header, so the small gold "The Made in USA List" stays readable over the photo */
html:not([data-theme="light"]) .top { isolation: isolate; }
/* the fade ends at the header's bottom edge, so it never shades the top of a window (Jake 2026-11-08: site-wide; was bottom: -18px) */
html:not([data-theme="light"]) .top::before { content: ""; position: absolute; left: -16px; right: -16px; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12, 14, 18, .85), rgba(12, 14, 18, .55) 60%, rgba(12, 14, 18, 0)); }
html:not([data-theme="light"]) .foot::before { content: ""; position: absolute; left: -16px; right: -16px; top: -14px; bottom: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 14, 18, .85), rgba(12, 14, 18, .55) 70%, rgba(12, 14, 18, 0)); }
@media (max-width: 839px) { .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 ==================== */

/* ================= 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: #d72630;   /* light mode labels use the cherry red (gold failed contrast on white: 3.8:1; red 5.0:1) */
  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 { 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"] .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: 839px) { 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: 839px) { 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: 840px) { 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: 839px) { html[data-theme="light"] .panel.cat .panel-head .surp, html[data-theme="light"] .panel.cat .panel-head .close { border-color: #111; } }
@media (min-width: 840px) { 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: 840px) { html[data-theme="light"] .panel.mappage .pm-step { background: #fff; border-color: #111; color: #111; } }

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

@media (min-width: 840px) { .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: 840px) { 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; }

/* switching Light or Simple on or off: the old look fades into the new one instead of jumping (Jake 2026-10-14) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Blog posts (Admin > Blog): text in the Privacy page's reading look; photos, embeds and brand links full width */
.post-body figure { margin: 0 auto 16px; }
.post-body figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.post-body figcaption { font: 400 11px/1.5 var(--mono); color: var(--gold); margin-top: 6px; }
.post-body a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.post-body .post-html { margin: 0 auto 16px; overflow-x: auto; }
.post-body .post-html iframe, .post-body .post-html img, .post-body .post-html video { max-width: 100%; }
.post-brand { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 auto 14px; padding: 8px; background: var(--midnight); border: 1px solid #262a31; border-radius: 2px; color: var(--cream); text-align: left; cursor: pointer; }
.post-brand .post-brand-img { width: 56px; height: 64px; object-fit: cover; flex: none; }
.post-brand span { display: flex; flex-direction: column; gap: 3px; flex: none; }
.post-brand b { font: 600 17px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.post-brand small { font: 400 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-brand em { font: 400 12px/1.5 var(--mono); font-style: normal; color: #c9c5b9; }
@media (hover: hover) { .post-brand:hover { border-color: #4a463a; } }
html[data-theme="light"] .post-body a { color: #111; }
html[data-theme="light"] .post-brand { background: #fff; color: #111; border-color: var(--line); }
/* Article templates (Jake 2026-10-19): Brand Spotlight, Roundup, Gift Guide, New on the List. The email versions are built by newsletter.py. */
.post-body .tp-where { margin-block: 0 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.post-body .tp-name { margin-block: 0 8px; font: 700 26px/1.05 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.post-body .tp-lede { font-size: 14px; }
.post-body .tp-head p { margin-left: 0; margin-right: 0; max-width: none; }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block: 18px; }   /* margin-block: stays in the post's centered column */
.tp-tile-frame { display: block; aspect-ratio: 286 / 326; overflow: hidden; background: #1b1f26; }
.tp-tile-frame .tp-tile, .tp-cell .tp-tile, .tp-row-pic .tp-tile { width: 100%; height: 100%; aspect-ratio: 286 / 326; object-fit: cover; display: block; }
.tp-block { aspect-ratio: 286 / 326; box-sizing: border-box; padding: 18px; border: 1px solid #2a2c2a; background: rgba(27, 31, 38, .55); overflow: hidden; }
.post-body .tp-block h3 { margin: 0 0 8px; font: 600 19px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.post-body .tp-block p { margin: 0; font-size: 12.5px; line-height: 1.6; }
.tp-quote { margin-block: 26px; border-top: 3px solid var(--cream); border-bottom: 1px solid var(--cream); padding: 14px 0; text-align: center; font: 800 28px/1.08 var(--display); text-transform: uppercase; }
.tp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 6px 10px; }
.post-body .tp-btn { display: inline-block; border: 1px solid #3a382f; background: none; color: var(--gold); padding: 9px 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
@media (hover: hover) { .post-body .tp-btn:hover { border-color: var(--gold); } }
.tp-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.tp-row-pic { padding: 0; border: 0; background: none; cursor: pointer; }
.post-body .tp-row h3 { margin: 0 0 6px; font: 600 20px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.post-body .tp-row p { margin: 0 0 4px; }
.post-body .tp-section { margin-block: 28px 12px; font: 700 15px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--cherry); }
/* Gift Guide items (a product guide): photo column on the left, the words on the right; tops line up */
.tp-item { align-items: start; }
.tp-item-pics { display: grid; gap: 10px; }
.tp-item-pics .tp-row-pic { display: block; width: 100%; }
.post-body .tp-item .tp-price { margin: 0 0 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; color: var(--gold); }
.tp-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.tp-cell { display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: none; color: var(--cream); text-align: left; cursor: pointer; }
.tp-cell b { margin-top: 8px; font: 600 17px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tp-cell small { font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tp-tag { align-self: flex-start; font: 500 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; border: 1px solid #3a382f; color: var(--gold); padding: 4px 6px; margin-bottom: 4px; }
@media (max-width: 839px) {
  .tp-grid { grid-template-columns: 1fr; }   /* phone: photo, text, text, photo */
  .tp-block { aspect-ratio: auto; }
  .tp-row { grid-template-columns: 110px 1fr; gap: 12px; }
  .tp-cells { grid-template-columns: 1fr 1fr; }
}
html[data-theme="light"] .tp-block { background: #fff; border-color: var(--line); }
html[data-theme="light"] .tp-cell { color: #111; }
html[data-theme="light"] .tp-quote { border-color: #111; }
html[data-theme="light"] .post-body .tp-btn { color: #111; border-color: #111; }

/* framed photos (Admin focus + zoom): the box clips, the photo inside fills it (2026-10-14) */
span.sp-img { display: block; overflow: hidden; }
span.sp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-frame { display: block; overflow: hidden; border-radius: 2px; }
.post-body .post-frame { aspect-ratio: 286 / 326; }
/* post top (Jake 2026-10-20): cover at the Blog card's size on the left, date + summary beside it */
.post-body .post-hero { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: end; margin-block: 4px 30px; }
.post-body .post-hero.no-pic { grid-template-columns: 1fr; }
.post-body .post-hero figure { margin: 0; }
.post-body .post-hero p { margin: 0; max-width: none; }
.post-body .post-hero .legal-eff { margin-bottom: 10px; }
@media (max-width: 839px) { .post-body .post-hero { grid-template-columns: 132px 1fr; gap: 14px; margin-bottom: 22px; } }   /* layout law: every post photo (cover, Story photos) is the tall tile shape (Jake 2026-10-19) */
.post-body .post-frame img { width: 100%; height: 100%; object-fit: cover; }
.post-frame img { border-radius: 0 !important; }

/* phone category pages: the tag tabs sit at the top of the scrolling brand list and scroll up with it (2026-10-14) */
@media (max-width: 839px) { .scroll-list > .filter-row.in-list, .results > .filter-row.in-list { grid-column: 1 / -1; margin: 0 0 4px; }
  /* quick return: pinned to the top of the list, tucked up out of view while scrolling down, back on scrolling up */
  .scroll-list > .filter-row.in-list { position: sticky; top: 0; z-index: 3; background: rgb(14, 17, 22); transition: transform .25s ease; }
  .scroll-list > .filter-row.in-list.tucked { transform: translateY(-105%); }
  html[data-theme="light"] .scroll-list > .filter-row.in-list { background: #fff; } }
@media (max-width: 839px) and (prefers-reduced-motion: reduce) { .scroll-list > .filter-row.in-list { transition: none; } }
/* phone Search (Jake 2026-10-21): the search box + chips float over the top of the brand list; quick return like the category tabs.
   Tucked, they slide up out of sight under the line below "Find a brand" (the window's body clips them). */
@media (max-width: 839px) { .search-body.bar-over { position: relative; overflow: hidden; }
  .search-body.bar-over > .search-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: inherit; padding-bottom: 8px; background: rgb(14, 17, 22); transition: transform .25s ease; }
  .search-body.bar-over > .search-bar.tucked { transform: translateY(-105%); }
  html[data-theme="light"] .search-body.bar-over > .search-bar { background: #fff; } }
@media (max-width: 839px) and (prefers-reduced-motion: reduce) { .search-body.bar-over > .search-bar { transition: none; } }

/* an empty search bar (phone tag pages) takes no room */
.search-bar:empty { display: none; }

/* the forms' spam trap: off screen, never seen or tabbed to by people */
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Contact's newsletter box: small, one line, ticking it is required before Send works */
.form label.tick { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; font: 400 11px/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: var(--cream); }
.form label.tick input { appearance: auto; -webkit-appearance: checkbox; width: 14px; height: 14px; margin: 0; padding: 0; flex: none; accent-color: var(--cherry); cursor: pointer; }
.form .send:disabled { opacity: .45; cursor: default; }
html[data-theme="light"] .form label.tick { color: #111; }
/* the email signup in the sponsor banner (Jake 2026-10-19). Desktop: centered, "Stay in touch!" + Email + Subscribe on one line,
   the required box under the Email box. Phone: Email + Subscribe across the top, the box under it, the indicators beside the box. */
.sp-email { cursor: default; padding: 0 224px 0 0; }   /* 224px: clear of the five indicators */
.sp-email .form { flex: 1; min-width: 0; width: auto; height: 100%; padding: 5px 0; box-sizing: border-box; display: grid; align-content: center; gap: 8px 0;
  grid-template-columns: auto minmax(24px, 1fr) minmax(150px, 340px) 12px auto minmax(24px, 1fr);
  grid-template-areas: "head . email . send ." "head . tick tick tick ."; }   /* the box's two lines run under both Email and Subscribe (Jake 2026-10-19: cleaner, more room) */
.spe-mono { display: grid; place-items: center; background: none; }
.spe-mono svg { height: 62%; width: auto; fill: #fff; }
html[data-theme="light"] .spe-mono svg { fill: #111; }
html[data-theme="light"] .spe-mono { background: none; }   /* light mode too: the monogram sits on plain, no placeholder stripes (Jake 2026-11-06) */   /* light mode: dark monogram on the white banner */
@media (min-width: 840px) and (max-width: 1240px) {   /* smaller desktop windows: tighter, so nothing runs into the indicators */
  .spe-head { font-size: 18px; }
  .sp-email .send { padding: 0 16px; font-size: 12px; letter-spacing: .14em; }
  .sp-email label.tick { font-size: 9.5px; }
}
.spe-head { grid-area: head; align-self: center; margin: 0; font: 600 22px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.sp-email .form input.spe-email { grid-area: email; height: 34px; padding: 0 12px; }
.sp-email .send { grid-area: send; height: 34px; padding: 0 30px; font-size: 13px; }
.sp-email label.tick { grid-area: tick; font-size: 10.5px; line-height: 1.25; gap: 9px; }
.sp-email label.tick input { width: 13px; height: 13px; }
.sp-email .note { position: absolute; right: 196px; top: 6px; margin: 0; font: 400 10px/1 var(--mono); color: var(--gold); }
/* after subscribing (Jake 2026-11-16: the thanks bunched onto Subscribe / the sign-up line): for its 4 seconds the thanks takes the place of the
   Email box, Subscribe and the sign-up line, centered, and the banner keeps its size. Method: the embedded-form success state (Mailchimp's
   embedded signup swaps its fields for the thank-you in place) */
.sp-email .form.is-sent > :not(.note):not(.spe-head) { visibility: hidden; }
.sp-email .form.is-sent .note { position: static; grid-column: 3 / 6; grid-row: 1 / 3; align-self: center; justify-self: center; white-space: nowrap; }
@media (max-width: 839px) {
  .sp-email { padding: 6px 10px 4px; justify-content: stretch; align-items: stretch; }
  .sp-email .form { width: 100%; padding: 0; align-content: start; gap: 5px 6px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "email send" "tick ."; }
  .sp-email .form { height: 100%; grid-template-rows: auto 1fr; } .sp-email label.tick { align-self: center; }   /* the sign-up line centered between the Email box and the banner's bottom edge (Jake 2026-11-12) */
  .spe-head, .sp-email .sp-mark { display: none; }   /* no room on a phone: the box says "Email *" */
  .sp-email .form input.spe-email { height: 28px; font-size: 16px; padding: 0 8px; }   /* 16px: iPhone doesn't zoom in */
  .sp-email .send { height: 28px; padding: 0 14px; font-size: 12px; letter-spacing: .14em; }
  .sp-email label.tick { font-size: 8px; gap: 6px; max-width: calc(100% - 4px); white-space: nowrap; }   /* one row (Jake 2026-11-11, option A); 8px (Jake 2026-11-12) */
  .sp-email label.tick input { width: 12px; height: 12px; }
  .sp-email .note { right: 10px; top: auto; bottom: 20px; font-size: 9px; }
  .sp-email .form.is-sent .note { grid-column: 1 / -1; grid-row: 1 / 3; }   /* phone: centered across the whole banner */
}

/* ---------- wide screens (Jake 2026-10-18): title + menu card beside the ring, ring uses the full height ---------- */
.home-menu { display: none; }
@media (min-width: 900px) and (min-aspect-ratio: 3/2) {
  /* ring dead center and bigger (Jake 2026-10-19); the title + menu sit in the space to its right and scale to fit it */
  /* height (Jake 2026-10-19: as big as possible): the ring rises into the empty middle of the header (where Search was). Its drawn edge runs
     10px from the top of the window to 10px above the sponsor banner (x1.052: the drawing leaves ~5% empty margin inside its box) */
  #southland-ring .sr-root { --ring: min(64cqw, calc((100cqh + 46px) * 1.052)); --menuW: min(520px, calc(100cqw - 64px - 48px - var(--ring) * .95)); flex-direction: row; justify-content: center; }
  #southland-ring .sr-stage { width: var(--ring); transform: translate(calc((var(--menuW) + 48px) / 2), -23px); }   /* ring + menu centered on the page as one group */
  /* the ring's entrance (Jake 2026-10-20): dead center first, then it glides to the right as the menu recalls (expo.inOut, 1.1s) */
  #southland-ring .sr-root.ring-glide .sr-stage { transition: transform 1.1s cubic-bezier(.87, 0, .13, 1); }   /* only during the first-visit entrance: any other move (the banner coming back) snaps */
  #southland-ring .sr-root.ring-mid .sr-stage { transform: translate(0, -23px); }
  #southland-ring .sr-root.ring-snap .sr-stage { transition: none; }
  /* while the ring is centered, the words beside it wait (they'd sit on top of it), then fade in as it settles */
  #southland-ring .sr-readout > :not(.home-menu) { transition: opacity .5s ease .4s; }
  #southland-ring .sr-root.ring-mid .sr-readout > :not(.home-menu) { opacity: 0; transition: none; }
  #southland-ring .home-menu { transition: opacity .35s ease .45s, background-color .4s ease, border-color .4s ease; width: min(440px, 100%); box-sizing: border-box; text-align: left; }   /* while the ring is centered the menu is hidden (it would sit on the ring) */
  #southland-ring .sr-root.ring-mid .home-menu { opacity: 0; transition: none; }
  .top { pointer-events: none; } .top > * { pointer-events: auto; }   /* the header's empty middle never blocks the ring */
  /* title + menu (Jake 2026-10-19): locked together, centered on each other; with the ring they form one group centered on the page (48px apart) */
  #southland-ring .sr-readout { position: absolute; top: 50%; left: calc(50% - (var(--menuW) + 48px + var(--ring) * .95) / 2); width: var(--menuW); transform: translateY(-50%);
    margin-top: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  #southland-ring .sr-label { justify-content: center; white-space: nowrap; font-size: min(12px, calc(var(--menuW) / 27)); }
  #southland-ring .sr-name { white-space: nowrap; font-size: min(52px, calc(var(--menuW) / 11.6)); }
  
  .home-menu { display: flex; flex-direction: column; margin-top: 22px; padding: 4px 18px;
    background: rgba(27, 31, 38, .55); border: 1px solid #22252b; border-radius: 2px; position: relative; transition: background-color .4s ease, border-color .4s ease; }   /* same background as the sponsor banner */
  .home-menu button { position: relative; display: flex; justify-content: space-between; padding: 11px 0; background: none; border: 0; cursor: pointer;   /* the row line is button::after (below) */
    font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); text-align: left; }
  .home-menu button b { font-weight: inherit; }
  /* away / recall (Jake 2026-10-19). Operating: the full card. Away (cursor on the ring): no lines, one small gold cross-stitch per row,
     level with its word. Away: each row's word wipes out, its line pulls back to its left end, then the cross-stitch twists in there.
     Recall is the reverse: the cross-stitch untwists away, the line draws back out from that point, then the word types in (pages.js).
     Recall runs top-down (--i = row 0-3); away runs bottom-up and a little faster. */
  
  .home-menu button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line);   /* the row line */
    transition: width .45s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms + 220ms); }
  .home-menu button:last-child::after { width: 0; }
  .home-menu button::before { content: ""; position: absolute; left: -4.5px; top: calc(50% - 4.5px); width: 9px; height: 9px; pointer-events: none;   /* the cross-stitch */
    background: linear-gradient(45deg, transparent 43%, var(--gold) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--gold) 43% 57%, transparent 57%);
    opacity: 0; transform: scale(.2) rotate(-90deg);
    transition: opacity .3s ease calc(var(--i) * 70ms), transform .4s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms); }
  .home-menu button b, .home-menu button span { transition: clip-path .4s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms + 120ms), opacity .4s ease calc(var(--i) * 70ms + 120ms); clip-path: inset(0 0 0 0); }
  .home-menu.is-away { background-color: transparent; border-color: transparent; }
  .home-menu.is-away button { cursor: default; }
  .home-menu.is-away button::after, .home-menu.is-away button:last-child::after { width: 0; transition-delay: calc((3 - var(--i)) * 50ms); }
  .home-menu.is-away button::before { opacity: .65; transform: none; transition-delay: calc((3 - var(--i)) * 50ms + 380ms); }
  .home-menu.is-away button b, .home-menu.is-away button span { clip-path: inset(0 100% 0 0); opacity: 0; transition-delay: calc((3 - var(--i)) * 50ms); }
  @media (prefers-reduced-motion: reduce) { .home-menu, .home-menu *, .home-menu button::before, .home-menu button::after { transition: none !important; } }
  .home-menu button span { color: var(--gold); }
  @media (hover: hover) { .home-menu button:hover { color: var(--gold); } }
  html[data-theme="light"] .home-menu button { color: #111; }
  html[data-theme="light"] .home-menu { background: #fff; border-color: var(--line); }
  html[data-theme="light"] .home-menu.is-away { background-color: transparent; border-color: transparent; }   /* light mode: the card fades away too */
}

/* ---------- full pages (Jake 2026-10-20): Blog and Shop get the whole space between the header and footer; the banner steps aside ---------- */
.site:has(.stage.panel-open .panel.room:not(.slide-under)) .sponsor { display: none; }
.site:has(.stage.panel-open .panel.mappage:not(.slide-under)) .sponsor, .site:has(.panel-layer.sliding .panel.mappage:not(.slide-under)) .sponsor { display: none; }   /* the map takes the banner's space, phone + laptop (Jake 2026-10-25); it stays hidden until the map has slid away (Jake 2026-11-06) */
@media (min-width: 840px) { .panel.mappage { height: min(768px, calc(100% - 16px)); } }   /* laptop: the window grows by the banner's 88px (76 tall + 12 margin), its top stays put */   /* back the instant the full page closes, so the ring is already its final size (no jump after the carousel lands) */
.stage.panel-open:has(.panel.room) #southland-ring { opacity: 0; }   /* a full page hides the ring completely (no blurred edge behind the header). See-through, not visibility:hidden (Jake 2026-11-12): hidden made Safari redraw all 38 ring photos at once when a window opened from the Blog page or Stockists (a 130ms stutter) */
.panel-layer:has(> .panel.room:not(.frame-old, .slide-under)) { place-items: stretch; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }   /* the full page never grows past the screen; it scrolls inside (phones: Jake 2026-10-20) */
.panel.room { width: 100%; height: calc(100% - 16px); align-self: center; border: 0; border-radius: 0; box-shadow: none; }   /* the same 8px breathing room under the header as every window */
/* a gift guide (desktop): cream paper, Midnight ink, Cherry accents (Codrops "Grid to Full Preview", made ours) */
.panel.guide-room { --ink: #1b1f26; --soft: #5f5a4c; background: #e0ddd7; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.guide-room .panel-head { border-bottom: 1px solid rgba(27, 31, 38, .14); }
.guide-room .panel-head .eyebrow { color: var(--soft); }
.guide-room #panel-title { color: var(--ink); }
.guide-room .head-tools { align-items: center; }
.guide-room .tool { color: var(--ink); border-color: rgba(27, 31, 38, .3); background: none; }
@media (hover: hover) { .guide-room .tool:hover:not(:disabled) { border-color: var(--cherry); color: var(--cherry); } }
.panel.guide-room .panel-foot { display: none; }   /* the guide scrolls; ✕ goes back to the blog home */
.guide-room .panel-head, .guide-room .head-tools { flex-wrap: nowrap; }
.gr-top { position: absolute; top: 10px; left: 24px; right: 24px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 32px; }
.gr-tabs { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.gr-tabs button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); opacity: .32; white-space: nowrap;
  font: 600 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: opacity .2s ease; }
.gr-tabs button sup { font: 500 9px/1 var(--mono); letter-spacing: .04em; margin-left: 3px; vertical-align: super; }
.gr-tabs button.on { opacity: 1; box-shadow: inset 0 -2px 0 var(--cherry); }
@media (hover: hover) { .gr-tabs button:hover { opacity: 1; } }
/* the guide scrolls (Jake 2026-10-20): blocks of 4 x 2 run down the page */
/* Jake 2026-10-20: each block is one view tall and snaps into place, one block per scroll, so a photo never shows halfway */
.gr-scroll { position: absolute; inset: 58px 0 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; display: flex; flex-direction: column;
  scroll-snap-type: y mandatory; transform-origin: 50% 30%; }
.gr-sec { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 6px; background: rgba(14, 17, 22, .78); color: #e0ddd7; font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }   /* a Lineup pick's section (no tabs on Lineups) */
.gr-grid { position: relative; flex: none; height: 100%; display: grid; grid-template-columns: repeat(4, var(--tw)); gap: var(--gap); justify-content: center; align-content: center;
  scroll-snap-align: start; scroll-snap-stop: always; }
.gr-tile { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); contain: size; }
.gr-photo { position: relative; display: block; height: var(--th); background: #d3cfc7; overflow: hidden; }
.gr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-cap { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; min-width: 0; height: var(--cap); box-sizing: border-box;
  width: 100%; overflow: hidden; }   /* the tile's full width, in every browser (Safari shrank it inside the button and the words ran into the next tile) */
.gr-cap b { font: 700 15px/1.05 var(--display); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-cap small { font: 400 10px/1.2 var(--mono); letter-spacing: .06em; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-cta { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 10px 0; background: rgba(0, 0, 0, .8); color: #e0ddd7; text-align: center;
  font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .1s ease-out; pointer-events: none; }
@media (hover: hover) { .gr-tile:hover .gr-cta { opacity: 1; } .gr-tile:hover .gr-cap b { color: var(--cherry); } }
.gr-tile:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; }
/* a preview covers one half: 2 columns x 2 rows, the side opposite the photo you're on */
.gr-preview { position: relative; opacity: 0; pointer-events: none; z-index: 2; }
.gr-preview.gr-left { grid-column: 1 / span 2; }
.gr-preview.gr-right { grid-column: 3 / span 2; }
.gr-pics { position: absolute; top: 0; overflow: hidden; background: #d3cfc7; }   /* sized in js/pages.js to the exact tall shape (framing set in Admin) */
.gr-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-mask { position: absolute; top: 0; background: #e0ddd7; clip-path: polygon(50% 0%, 50% 0%, 50% 50%, 100% 50%, 100% 50%, 50% 50%, 50% 100%, 50% 100%, 50% 50%, 0% 50%, 0% 50%, 50% 50%); }
.gr-details { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 14px 16px 12px; background: #e0ddd7; color: var(--ink); }
.gr-details div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gr-details small { font: 700 21px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.gr-details b { display: block; font: 400 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-price { font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--cherry); white-space: nowrap; }
/* a product's page (opened with Interlude's frame): the photo on the left, a calm reading column on the right */
.gr-dim { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; pointer-events: none; }   /* slide-over: the guide steps back into the dark */
.gr-view { container-type: size; position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: 22px clamp(24px, 4vw, 64px);
  background: #e0ddd7; color: var(--ink); }
.gr-view ~ .bcard, .panel.guide-room > .bcard { z-index: 7; }   /* Jake 2026-11-06: "On the list" opens the brand card above the Pick page, not under it (phones: the card sits beside the Pick page; laptops: on the guide's window) */
.gr-v-pics { position: relative; display: block; height: 100%; min-height: 0; width: calc(100cqh * 286 / 326); }   /* explicit width (every browser the same; Safari sized it from the photo file) */
a.gr-v-pics { cursor: pointer; }
a.gr-v-pics:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; }   /* one tall photo frame on every pick (layout law) */
.gr-v-pics.two figure + figure { position: absolute; inset: 0; animation: gr-swap 6s steps(1) infinite; }   /* a second photo takes turns in the same frame */
@keyframes gr-swap { 0% { opacity: 0; } 50% { opacity: 1; } }
.gr-v-pics figure { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #d3cfc7; }
.gr-v-pics img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* a pick's words (layout law, Jake 2026-10-20): the column is as tall as the photo, and every part has its fixed place on every pick.
   Only the note flexes (it scrolls when it's long); the buttons and the count always sit at the bottom, level with the photo's edge. */
.gr-v-tag, .gr-v-note .gr-v-mnote { display: none; }   /* phones only: the brand on the photo, the Mobile note (".gr-v-note p" showed it on laptops too) */
.gr-v-words { align-self: stretch; min-height: 0; max-width: 500px; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; gap: 14px; padding-top: 2px; }
.gr-v-brand { margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-v-words h2 { margin: 0; height: 2em; font: 700 clamp(32px, 3vw, 46px)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.gr-v-words h2 span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gr-v-price { margin: 0; height: 15px; font: 500 15px/1 var(--mono); letter-spacing: .08em; color: var(--cherry); }
.gr-v-note { min-height: 0; overflow: hidden; border-top: 1px solid rgba(27, 31, 38, .14); }
.gr-v-note p { margin: 12px 0 0; font: 400 13px/1.8 var(--mono); color: #2b2f36; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }   /* lines set to fit (js), then "…" */
.gr-v-note a { color: var(--ink); text-underline-offset: 3px; }
/* buttons: Codrops "Creative Buttons" 1c (MIT): the fill slides in from the left. Two equal twins, then the count between square arrows. */
.gr-v-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gr-v-btn { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 14px; border: 1px solid var(--ink); background: none; color: var(--ink);
  cursor: pointer; text-decoration: none; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; transition: color .3s ease; }
.gr-v-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-v-btn::after { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 0; height: 100%; background: var(--ink); transition: width .3s ease; }
.gr-v-btn.solid { background: var(--ink); color: #e0ddd7; }
.gr-v-btn.solid::after { background: var(--cherry); }
@media (hover: hover) { .gr-v-btn:hover { color: #e0ddd7; } .gr-v-btn:hover::after { width: 100%; } }
.gr-v-btn:focus-visible { outline: 2px solid var(--cherry); outline-offset: 2px; }
.gr-v-step { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--soft); font-variant-numeric: tabular-nums; text-align: center; }
.gr-v-step button { position: relative; z-index: 0; overflow: hidden; width: 46px; height: 46px; background: none; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; font-size: 15px; transition: color .3s ease; }
.gr-v-step button::after { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 0; height: 100%; background: var(--ink); transition: width .3s ease; }
.gr-v-step button:disabled { opacity: .25; cursor: default; }
@media (hover: hover) { .gr-v-step button:hover:not(:disabled) { color: #e0ddd7; } .gr-v-step button:hover:not(:disabled)::after { width: 100%; } }
/* the header's ✕ / back arrow: Codrops "Icon Hover Effects" set 7a (MIT): the icon grows to full size and an offset frame appears */
.guide-room .panel-head .close { position: relative; font-size: 0; }
.guide-room .panel-head .close::before { content: "✕"; display: block; font-size: 15px; transform: scale(.85); opacity: .75; transition: transform .2s ease, opacity .2s ease; }
.guide-room .panel-head .close.is-back::before { content: "‹"; font-size: 24px; line-height: .8; }
.guide-room .panel-head .close::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--ink); box-shadow: 0 0 0 transparent; opacity: 0; transition: opacity .2s ease, box-shadow .2s ease; pointer-events: none; }
@media (hover: hover) { .guide-room .panel-head .close:hover::before { transform: scale(1); opacity: 1; } .guide-room .panel-head .close:hover::after { opacity: 1; box-shadow: 3px 3px 0 var(--cherry); } }

/* ---------- blog home + reading pages (Jake 2026-10-20): full pages on cream paper, Midnight ink, Cherry accents ---------- */
.panel.blog-room, .panel.read-room, .panel.stk-room { --ink: #1b1f26; --soft: #5f5a4c; background: #e0ddd7; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
:is(.blog-room, .read-room, .stk-room) .panel-head { border-bottom: 1px solid rgba(27, 31, 38, .14); }
:is(.blog-room, .read-room, .stk-room) .panel-head .eyebrow { color: var(--soft); }
:is(.blog-room, .read-room, .stk-room) #panel-title { color: var(--ink); }
/* phones (Jake 2026-11-08): the Blog page and post windows drop the small line over the title ("Thread Talks" / "Blog");
   the title sits beside the ✕, so the header is as short as the Map's and the photo moves up */
@media (max-width: 839px) {
  .panel:is(.blog-room, .guide-room, .read-room) .panel-head { grid-template-areas: "title x"; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
  .panel:is(.blog-room, .guide-room, .read-room) .panel-head .eyebrow { display: none; }
}
:is(.blog-room, .read-room, .stk-room) .tool { color: var(--ink); border-color: rgba(27, 31, 38, .3); background: none; }
@media (hover: hover) { :is(.blog-room, .read-room, .stk-room) .tool:hover { border-color: var(--cherry); color: var(--cherry); } }
:is(.blog-room, .read-room, .stk-room) .panel-foot { border-top: 1px solid rgba(27, 31, 38, .14); }
:is(.blog-room, .read-room, .stk-room) .panel-foot .out { color: var(--soft); }
:is(.blog-room, .stk-room) .panel-foot { display: none; }
/* Frame between full pages: the page underneath and the red sit in the same spot */
.panel-layer > .frame-old, .panel-layer > .frame-red { position: absolute; inset: 8px 0; width: auto; height: auto; align-self: stretch; justify-self: stretch; margin: 0; }   /* full size while it animates (it collapsed to its header before) */
.panel-layer > .frame-red { z-index: 2; background: var(--cherry); }
.panel-layer > .frame-old { z-index: 1; }
.frame-old *, .frame-old *::before, .frame-old *::after, .cs-card *, .cs-card *::before, .cs-card *::after { animation: none !important; }   /* the page you're leaving never replays its intro (the title rising) */
/* the blog home: the newest post as the feature, every other post in the list beside it */
.bh { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr); }   /* the list gets room for 2-line titles + descriptions */
.bh-lead { display: flex; flex-direction: column; gap: 14px; padding: 26px clamp(24px, 3vw, 48px) 28px; color: var(--ink); text-decoration: none; border-right: 1px solid rgba(27, 31, 38, .14); min-height: 0; }
.bh-lead h2 { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .04em; font: 700 clamp(34px, min(3.6vw, 7vh), 64px)/.95 var(--display);   /* layout law: 2 lines, then "…" */   /* sized by the window's width AND height, so it never crowds out the page */ letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.bh-lead-body { container-type: size; flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; padding-top: 6px; }
.bh-lead figure { margin: 0; min-height: 0; width: min(calc(100cqh * 286 / 326), calc(100cqw - 240px - clamp(24px, 3vw, 48px))); aspect-ratio: 286 / 326; align-self: start; overflow: hidden; background: #d3cfc7; isolation: isolate; }   /* as tall as fits, but the words beside it always keep 240px (the laptop has 261, so it looks the same there) (a narrow, tall window squeezed them: Jake 2026-11-02) */
.bh-lead img, .bh-row img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .bh-lead:hover img, .bh-row:hover img { transform: scale(1.03); } }
.bh-lead-words { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; height: 100%; padding: 6px 0 4px; min-height: 0; overflow: hidden; }
.bh-inside { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }   /* gives way first; "Read it" always stays on the page */
.bh-read { flex: none; align-self: flex-start; margin-top: 6px; padding: 12px 16px; background: var(--ink); color: #e0ddd7; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; transition: background .2s ease; }
.bh-inside .bh-label { margin-bottom: 8px; }
.bh-in-row { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(27, 31, 38, .14); }
.bh-in-row b { font: 500 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }   /* matches the home page menu (Jake 2026-11-11: 17px bold looked too big in the new font) */
.bh-in-row span { font: 500 11px/1 var(--mono); color: var(--soft); align-self: center; }
.bh-excerpt { margin: 0; font: 400 13.5px/1.75 var(--mono); color: #2b2f36; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.bh-kicker { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.bh-kicker span { padding: 5px 8px; background: var(--cherry); color: #fff; }
.bh-kicker i { font-style: normal; }
.bh-sum { margin: 0; font: 400 13px/1.7 var(--mono); color: #2b2f36; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (hover: hover) { .bh-lead:hover .bh-read { background: var(--cherry); } }
/* "More to read": 4 posts fit the column exactly (each row a quarter of it, photo sized to the row); a 5th and on scroll */
/* Stockists (Jake 2026-11-02): the Blog page's layout, parts and lines (js/pages.js stockistsHome). The rows are buttons that put their shop
   in the feature on the left; the picked one's name is red. The blurb keeps its 3 rows even when empty, so the feature never shifts. */
.stk-lead-slot { display: contents; }
.stk-sum { margin: 0; font: 400 14px/1.7 var(--mono); color: #2b2f36; height: 5.1em; }   /* 3 rows saved; Admin's 140-character limit fits them */
.bh-lead { container-type: inline-size; }   /* the feature measures its own width for the title size below (Blog page + Stockists) */
/* Blog page newest post (Jake 2026-11-16, LAYOUT LAW: the Title fits its frame on one row): one size for every post, set by the frame, the same
   method as the Stockists names below. The longest Title ("HOLIDAY GIFT GUIDE '26") is ~16.45 font-sizes wide in Chrome (Safari runs ~3.5%
   wider); 17.4 leaves a little air in both. qa/tests.html "blog: every Title fits..." puts every post's Title here, so a longer one stops the publish */
.blog-room .bh-lead h2 { font-size: min(clamp(34px, min(3.6vw, 7vh), 64px), calc(100cqw / 17.4)); }
.stk-room .bh-lead h2 { font-size: min(clamp(34px, min(3.6vw, 7vh), 64px), calc(100cqw / 19.2)); }   /* Jake 2026-11-12: every stockist name one row, one size; the longest (Brass Tacks Provisions) is ~18.1 font-sizes wide in Chrome, ~18.75 in Safari; 19.2 leaves a little air in both. A longer name = re-measure in both. */
.stk-room .bh-list { container-type: size; }   /* a row's photo column is sized from the list's height, so a shop with no photo yet keeps the same column */
.stk-room .bh-list > .bh-row { grid-template-columns: calc(min((100cqh - 30px) / 4 - 20px, 140px) * 286 / 326) minmax(0, 1fr) 16px; }
.stk-room button.bh-row { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(27, 31, 38, .14); font: inherit; text-align: left; cursor: pointer; }
.stk-room .bh-row[aria-current="true"] b { color: var(--cherry); }
.stk-room .bh-row:focus-visible { outline: 2px solid var(--cherry); outline-offset: 2px; }
.bh-list { display: flex; flex-direction: column; padding: 22px clamp(20px, 2.4vw, 36px) 14px; overflow-y: auto; min-height: 0; }
.bh-list > .bh-row { flex: 0 0 max(calc((100% - 30px) / 4), 124px); min-height: 0; box-sizing: border-box; }   /* never shorter than its words need (124px: label, title, subtitle, 2-line description); a short window shows fewer rows and the list scrolls (Jake 2026-11-03: 1280 x 600 cut the titles) */
.bh-label { margin: 0 0 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.bh-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 16px; gap: 20px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(27, 31, 38, .14); color: var(--ink); text-decoration: none; }
.bh-row figure { margin: 0; height: 100%; max-height: 140px; aspect-ratio: 286 / 326; overflow: hidden; background: #d3cfc7; isolation: isolate; }
.bh-row-words { display: flex; flex-direction: column; gap: 5px; min-width: 0; max-height: 100%; overflow: hidden; }   /* a row's words stay inside its quarter */
.bh-row small { font: 500 9.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 1 line */
.bh-row b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 clamp(17px, 2.6vh, 21px)/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.bh-row small i { font-style: normal; }
.bh-row em { font: 400 13px/1.55 var(--mono); font-style: normal; color: #4a4d52; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bh-arrow { color: var(--soft); font-size: 15px; transition: color .2s ease, transform .2s ease; }
@media (hover: hover) { .bh-row:hover .bh-arrow { color: var(--cherry); transform: translateX(3px); } .bh-row:hover b { color: var(--cherry); } }
/* ---------- the Blog page on phones (Jake 2026-10-26, option A; smaller laptop windows keep the laptop layout, shrunk: Jake 2026-11-02) ----------
   One post per screen: each post is a full card (its Cover photo, the Label + date, Title and Subtitle on a dark fade, "Read it"), and the
   page snaps from post to post with the browser's own scrolling (no scroll-jacking). A tab on the right edge opens a see-through gray drawer
   of small tall tiles of every post (tap, or hover on a laptop); tap a tile to jump to that post. Drawer rules from design systems (Visa,
   Telerik): it closes on a pick, a tap outside or Esc, scrolls when long, and keeps the current post's tile in view. Laptops keep the
   two-column Blog page above. */
.bs-wrap { display: none; }
@media (max-width: 839px) {
  .bh { display: none; }
  .bs-wrap { display: block; position: absolute; inset: 0; }
}
.bs { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; padding: 0 16px; container-type: size; }
/* the card is the tall photo itself (Layout Law: the 286:326 shape), as big as the screen allows, centered; it snaps to the middle of the view.
   12px on top = the phone Cover photo's spot (.gr-cover padding), so the photo doesn't hop 2px as the post opens (Jake 2026-11-08) */
.bs-card { position: relative; display: block; width: min(100%, calc((100cqh - 28px) * 286 / 326)); aspect-ratio: 286 / 326; margin: 12px auto 14px; scroll-snap-align: center; overflow: hidden; background: #1b1f26; text-decoration: none; }
.bs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 18, .75) 0%, rgba(12, 14, 18, .4) 15%, rgba(12, 14, 18, 0) 30%); }   /* Jake 2026-11-08: a light fade, the bottom 30%, just behind the words (same as the phone Cover) */
.bs-new { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 7px; background: var(--cherry); color: #fff; font: 600 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.bs-words { position: absolute; left: 18px; right: 52px; bottom: 12px; display: grid; gap: 8px; color: #e0ddd7; }
.bs-words small { font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(224, 221, 215, .8); }
.bs-words small i { font-style: normal; color: var(--cherry); }
.bs-words b { font: 700 clamp(30px, 6vw, 46px)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.bs-words .post-sub { font-size: clamp(15px, 2.6vw, 20px); color: rgba(224, 221, 215, .8); }
.bs-read { font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cherry); }
.bs-tab { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 6; width: 22px; height: 64px; padding: 0; border: 0; border-radius: 6px 0 0 6px;
  background: rgba(60, 64, 72, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; transition: opacity .25s ease; }
.bs-tab::before { content: ""; width: 3px; height: 26px; border-radius: 2px; background: rgba(224, 221, 215, .85); box-shadow: -6px 0 0 rgba(224, 221, 215, .45); }
.bs-drawer { position: absolute; right: 16px; top: 50%; z-index: 7; transform: translate(calc(100% + 20px), -50%);
  width: 96px; max-height: calc(100% - 60px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 12px; padding: 12px 10px; box-sizing: border-box; border-radius: 10px 0 0 10px;
  background: rgba(60, 64, 72, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); visibility: hidden; transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s; }
.bs-wrap.open .bs-drawer { transform: translate(0, -50%); visibility: visible; transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s; }

.bs-wrap.open .bs-tab { opacity: 0; pointer-events: none; }
.bs-drawer button { display: grid; gap: 5px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.bs-drawer .tile { display: block; aspect-ratio: 286 / 326; overflow: hidden; outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .25s ease; }
.bs-drawer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-drawer .on .tile { outline-color: var(--cherry); }
.bs-drawer span:not(.tile) { font: 600 10.5px/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #e0ddd7; }
@media (max-width: 839px) { .bs-tab, .bs-drawer { display: none; } }   /* phones: no side drawer (Jake 2026-10-26); just the cards */
@media (min-width: 840px) { .bs-drawer { width: 172px; gap: 14px; padding: 14px 12px; } .bs-drawer span:not(.tile) { font-size: 13.5px; } }
.bh-empty { margin: auto; font: 400 14px/1.6 var(--mono); color: var(--soft); }
/* a reading page: one calm column */
.read-room .panel-body { overflow-y: auto; padding: 36px 24px 60px; }
/* the blog only scrolls up and down, never sideways, on phones and laptops (Jake 2026-10-20) */
.gr-scroll, .bh, .bh-list, .read-room .panel-body { overflow-x: hidden; overscroll-behavior-x: none; touch-action: pan-y; }
.read-room .post-body { max-width: 700px; margin: 0 auto; }
.read-room .post-body p, .read-room .post-body li { font: 400 15px/1.85 var(--mono); color: #2b2f36; }
.read-room .post-body h3 { font: 700 26px/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-top: 36px; }
.read-room .post-body a { color: var(--ink); }
.read-room .legal-eff, .read-room .tp-where { color: var(--soft); }
/* the carousel between the big pages (Interlude, Codrops MIT): pages float in the dark in a row */
body.cs-running .site #southland-ring { visibility: hidden; }   /* the real ring hides while the carousel plays (its top edge sits behind the header); the copies in the row still show it */
.cs-space { position: fixed; left: 0; right: 0; z-index: 60; overflow: hidden; background: #07080a; pointer-events: none; }
body.cs-running .top { z-index: 61; }   /* the header stays over the carousel, which runs behind it from the window's top edge */
.cs-strip { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }   /* the browser keeps the moving row on the graphics card */
.cs-card, .cs-card * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }   /* blur effects are costly to move; the copies don't need them */
.cs-card { position: absolute; top: 0; overflow: hidden; will-change: transform; }   /* each page copy is drawn once and then just moved: Safari dropped ~5 frames mid-slide redrawing it (Jake 2026-10-25) */
.home-menu.cs-hide { opacity: 0 !important; transition: none !important; }   /* hidden during the carousel home */
.home-menu.hm-quiet, .home-menu.hm-quiet * { transition: none !important; animation: none !important; }   /* back home by the carousel: no line drawing, no typing... */
#southland-ring .home-menu.hm-quiet { transition: opacity .4s ease !important; }   /* ...just a quiet fade in */
.cs-pic { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }   /* a page picture (make_page_pictures.py): the closest laptop size, filling the card */
.cs-name { display: grid; place-items: center; background: #0e1116; color: #e0ddd7; font: 700 11vw/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }

/* the cover spread (Jake 2026-10-20): the opening scene of a gift guide, one view tall, snaps like the picks below it */
.gr-cover { container-type: size; flex: none; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; padding: 6px 0 22px;
  box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; max-width: 1240px; width: 100%; margin: 0 auto; }
.gr-cover figure { margin: 0; height: 100%; width: calc(100cqh * 286 / 326); overflow: hidden; background: #d3cfc7; }
.gr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-c-words { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; min-height: 0; container-type: inline-size; }
/* laptop and bigger (Jake 2026-10-25): on a big window the Cover photo grows with the window's height, so the Cover (capped at 1240) grows
   wider with it, keeping the words column room for the longest Title at full size (8.8 x its letter size) instead of squeezing it */
/* smaller laptop windows, 840-1000 wide (Jake 2026-10-26; phones + tablets under 840 since 2026-11-03): the same laptop layout, tighter, so nothing is cut. The section tabs
   tighten (14px letters, 12px gaps) so all of them fit without scrolling; the Pick page photo is capped at 46% of its width (same tall
   shape, centered) so its words keep a real column beside it */
@media (min-width: 840px) and (max-width: 1000px) {
  .gr-tabs { gap: 10px; flex-wrap: wrap; justify-content: center; row-gap: 6px; max-width: 100%; }
  .gr-tabs button { font-size: 13.5px; }
  /* a guide with more sections than one row holds takes 2 rows (Jake 2026-10-26, option A); every guide's tab bar reserves the 2 rows at
     these widths (one row sits centered in it), so the frame is the same for all of them */
  .gr-top { height: 58px; }
  .gr-scroll { top: 76px; }
  .gr-v-pics { width: min(calc(100cqh * 286 / 326), 46cqw); height: auto; aspect-ratio: 286 / 326; align-self: center; }   /* the Pick page: same cap as the Cover */
}
@media (min-width: 840px) { .gr-scroll { container-type: size; }
  .gr-cover { max-width: max(1240px, calc((100cqh - 28px) * 286 / 326 + clamp(28px, 4vw, 64px) + 8.8 * clamp(40px, 4.4vw, 78px))); } }
.gr-c-kicker { margin: 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
/* the Title's size: as before, but never wider than its column (Jake 2026-10-25: on a wide window "’25" was cut off). 11.4cqw = the longest
   Title Admin allows across the column's full width (Admin checks the width, not just the 22 characters) */
.gr-cover h2 { margin: 0; font: 700 min(clamp(40px, 4.4vw, 78px), 11.4cqw)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
  max-height: calc(2 * .95em + .1em); overflow: hidden; }   /* layout law: 2 lines; a longer title ends in "…" (js/pages.js cover) */
.gr-c-w { display: inline-block; overflow: hidden; padding-bottom: .04em; vertical-align: top; }
.gr-c-w.cut > span::after { content: "…"; }   /* the title ran past 2 lines (layout law) */
.panel .gr-v-words h2 { white-space: normal; }   /* a pick's title wraps to its 2 lines (window titles stay on one) */
/* Title + Subtitle (Jake 2026-10-20): a post's Title always fits one row (Admin's limit comes from the tightest space); the Subtitle sits under it */
.panel .gr-cover h2, .panel .bh-lead h2, .bh-row b { white-space: nowrap; }
.post-sub { display: block; margin: 0; font: 600 clamp(22px, 2.1vw, 32px)/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--soft); white-space: nowrap; overflow: hidden; }
.bh-row .post-sub { font-size: 14px; }
.post-hero .post-sub { margin-top: 10px; }
.gr-c-w > span { display: inline-block; animation: gr-rise .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.25s + var(--i) * .06s); }   /* the title's words rise into place */
@keyframes gr-rise { from { transform: translateY(105%); } to { transform: none; } }
.gr-c-head { display: contents; }   /* laptop: Label + Title stay in the words column */
.gr-c-intro p { margin: 0; font: 400 13px/1.75 var(--mono); color: #2b2f36; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.gr-c-intro p + p { display: none; }   /* the first paragraph only: the rest of the intro is for the email */
.gr-c-more { margin: 6px 0 0; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cherry); }
@media (prefers-reduced-motion: reduce) { .gr-c-w > span { animation: none; } }

/* ---------- the Cover on phones and smaller windows (Jake 2026-10-26). The tall photo stays tall (Layout Law). Two layouts, one hand-off:
   - 821 wide and up: the laptop split (photo beside the words); up to 1000 the photo gives way so the words column keeps at least 320px.
   - 820 and below: stacked, the phone Cover (approved 2026-10-20, "literally perfect"): the photo with Label, Title, Subtitle on its dark fade.
     641-820 (half-screen laptops): the photo as tall as the space allows and the Intro on its fade too, so there's little empty cream. ---------- */
@media (min-width: 821px) and (max-width: 1000px) {
  .gr-cover figure { width: min(calc(100cqh * 286 / 326), calc(100cqw - 320px - clamp(28px, 4vw, 64px))); height: auto; aspect-ratio: 286 / 326; align-self: center; }
  .gr-cover .post-sub { font-size: min(clamp(22px, 2.1vw, 32px), 6.4cqw); }
}
@media (max-width: 820px) {
  .gr-cover { --cw: min(100cqw, calc((100cqh - 85px) * 286 / 326)); grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding: 12px 0 6px; }   /* --cw: the photo is as wide as the Blog page photo; 85px keeps 3 lines for the Intro + the Scroll line (Jake 2026-11-08) */
  .gr-cover figure { grid-area: 1 / 1; position: relative; width: var(--cw); height: auto; aspect-ratio: 286 / 326; justify-self: center; }
  .gr-cover figure::after { content: ""; position: absolute; inset: 0; }   /* the fade itself: LAYOUT LAW, phone words on photos */
  .gr-c-words { display: contents; }
  .gr-c-head { grid-area: 1 / 1; z-index: 1; align-self: end; justify-self: center; width: calc(var(--cw) - 70px); margin-right: 34px; padding-bottom: 12px; display: grid; gap: 8px; }   /* the Blog page photo's word spot: 18px left, 52px right, 12px up */
  .gr-c-head > *, .gr-cover .gr-c-head h2 { color: #e0ddd7; }
  .gr-cover h2 { font-size: clamp(30px, 6vw, 46px); line-height: .95; }
  .gr-c-kicker { font-size: 10px; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gr-c-intro { grid-area: 2 / 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }   /* the Intro sits centered in its space (Jake 2026-11-11) */
  .gr-c-intro p { font-size: 11.5px; line-height: 16px; -webkit-line-clamp: 4; }   /* the Intro's phone space: 4 lines (Jake 2026-11-11, option B: the Gift Guide Intros fit whole in Short Stack) */
  .gr-c-more { grid-area: 3 / 1; margin: 0; }
  .gr-c-head .post-sub { font-size: clamp(15px, 2.6vw, 20px); color: rgba(224, 221, 215, .85); }
}
/* ---------- the blog on phones (Jake 2026-10-20): the same parts, stacked and sized for one hand ---------- */
@media (max-width: 839px) {
  .panel.room { height: calc(100% - 8px); }
  /* gift guide: no section row (it can't fit one line), the cover spread stacks, picks come 2 x 2 */
  .gr-top { display: none; }
  .gr-scroll { inset: 0; padding: 0 16px; }
  /* the Cover on phones (Jake 2026-10-20, option A): a big Cover photo with the Label + Title on a dark fade at its foot, the Intro under it.
     The photo takes what's left after the Intro's 4 lines, Scroll and the gaps (118px), in the tall shape: 288px wide on a 393x665 phone. */
  .gr-cap b { font-size: 14px; }
  .gr-cap small { font-size: 9.5px; }
  /* a pick's page: the photo on top, then every part in its fixed place */
  /* a pick's page on phones (Jake 2026-10-26, "space efficient"): the words live on the photo, like the phone Cover. The photo (tall shape)
     takes the whole screen except the 2-line note and the buttons; on its dark fade: brand (left) + price (right), then the title.
     The ‹ › are bare chevrons in the margins beside the photo (never on it); the count is a small pill in its top right (Instagram style).
     The words box and arrow row "dissolve" (display: contents) so each part takes its own spot in one grid. */
  .gr-view { /* the photo's size is set on the parts (100cqh only means this window inside it) */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto 14px auto auto; gap: 0; padding: 12px 16px 14px; }
  .gr-view > *, .gr-v-words > *, .gr-v-step > * { --ph: min(calc(100cqh - 105px), calc(100cqw * 326 / 286)); --pw: calc(var(--ph) * 286 / 326); }   /* the photo also fits the width (Jake 2026-11-09: it ran off the right edge on taller phones) */
  .gr-v-pics { grid-column: 2; grid-row: 1 / 5; justify-self: center; align-self: end; height: var(--ph); width: var(--pw); }   /* sits on the words row, so brand + title stay on the photo when it is width-limited */
  .gr-v-pics::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }   /* the fade itself: LAYOUT LAW, phone words on photos */
  .gr-v-tag, .gr-v-words h2, .gr-v-words .gr-v-price { text-shadow: 0 1px 3px rgba(12, 14, 18, .55); }   /* a soft shadow keeps the words readable on bright photos */
  .gr-v-words, .gr-v-step { display: contents; }
  .gr-v-words .gr-v-brand { display: none; }   /* the photo tag shows it */
  .gr-v-tag, .gr-v-words h2, .gr-v-words .gr-v-price { grid-column: 2; z-index: 2; pointer-events: none; color: #e0ddd7; min-width: 0; }
  .gr-v-tag { grid-row: 2; justify-self: start; max-width: calc(var(--pw) - 28px); margin: 0 0 6px 14px;   /* the whole row; the price sits at its right end (every pick checked: none touch) */
    display: grid; gap: 4px; font: 500 11px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
  .gr-v-tag p { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; }
  .gr-v-words .gr-v-price { grid-row: 2; justify-self: end; align-self: end; margin: 0 14px 6px 0; font-size: 13px; height: auto; }
  .gr-v-words h2 { grid-row: 3; width: calc(var(--pw) - 28px); margin: 0 14px; font-size: 24px; height: 2.1em; line-height: 1.05; }   /* 2 rows reserved, always: brand + price never move between picks */
  .gr-v-words h2 span { text-wrap: balance; }
  .gr-v-note { grid-column: 1 / -1; grid-row: 5; }
  .gr-v-note p { display: none; }
  .gr-v-note .gr-v-mnote { display: block; font-size: 11.5px; line-height: 1.6; margin-top: 8px; height: 3.2em; overflow: hidden; }   /* 2 lines (Jake 2026-10-26) */
  .gr-v-btns { grid-column: 1 / -1; grid-row: 6; margin-top: 10px; }
  .gr-v-btn { height: 42px; }
  .gr-v-btns.gr-v-nav { grid-template-columns: 42px 1fr 42px; margin-bottom: calc(max(0px, 100cqh - 105px - var(--ph)) / 2); }   /* ‹ See it ›, like the laptop (Jake 2026-11-09); tall phones: the spare height splits above + below, so the page sits centred */
  .gr-v-arw { position: relative; z-index: 0; overflow: hidden; width: 42px; height: 42px; padding: 0; background: none; border: 1px solid var(--ink); color: var(--ink); font-size: 15px; cursor: pointer; }
  .gr-v-arw:disabled { opacity: .25; cursor: default; }
  .gr-v-step span { grid-column: 2; grid-row: 1; z-index: 2; align-self: start; justify-self: end; margin: calc(10px + max(0px, 100cqh - 105px - var(--ph)) / 2) 10px 0 0;   /* follows the photo top down on tall screens */ padding: 4px 8px; border-radius: 999px;
    background: rgba(14, 17, 22, .6); color: #e0ddd7; font: 500 10px/1 var(--mono); letter-spacing: .04em; pointer-events: none; }
}

/* laptop Pick page (Jake 2026-11-08): the brand name links to its brand card ("On the list" is gone) */
.gr-v-brand-link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(27, 31, 38, .35); text-underline-offset: 4px; }
@media (hover: hover) { .gr-v-brand-link:hover { color: var(--cherry); text-decoration-color: var(--cherry); } }
/* Lineup, laptops (Jake 2026-11-08): "up next" strip on the right instead of ‹ ›: the picks after this one, tall photos, scrolls; none on the last pick.
   Method: Swiper's thumbnail strip (MIT). It is the page's third column, so it never covers the words. */
.gr-view.has-next { grid-template-columns: auto minmax(0, 1fr) 126px; padding-right: 24px; }   /* the strip sits in the right margin, so the words keep their 500px */
.gr-v-next { align-self: stretch; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; overscroll-behavior: contain; }
.gr-v-next::-webkit-scrollbar { display: none; }
.gr-v-next button { flex: none; width: 100%; aspect-ratio: 286 / 326; padding: 0; border: 0; background: #d3cfc7; cursor: pointer; opacity: .6; transition: opacity .2s ease; }
.gr-v-next button img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) { .gr-v-next button:hover { opacity: 1; } }
.gr-v-next button:focus-visible { outline: 2px solid var(--cherry); outline-offset: 2px; opacity: 1; }

/* ---------- laptop Pick page (Jake 2026-11-08): one middle column for Guide + Lineup; Guide adds a brand section ----------
   Middle column: brand (link) + count on top, the product name on one row (product names are 18 max), the note centred between the
   title and the buttons, then the buttons. The price sits on the photo (cream box, cherry price). */
.gr-view.lap .gr-v-words { grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 14px; }
.gr-view.lap .gr-v-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.gr-view.lap .gr-v-count { flex: none; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; color: var(--soft); font-variant-numeric: tabular-nums; }
.gr-view.lap .gr-v-words h2 { height: auto; padding-bottom: 14px; border-bottom: 1px solid rgba(27, 31, 38, .14); }
.gr-view.lap .gr-v-words h2 span { -webkit-line-clamp: 1; }
.gr-view.lap .gr-v-note { border-top: 0; display: flex; align-items: center; }
.gr-view.lap .gr-v-note p { margin: 0; }
.gr-view.lap .gr-v-row { grid-template-columns: 46px 1fr 46px; }   /* ‹ See it ›: the arrows are the old step buttons, the same height as See it */
.gr-v-ptag { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 8px 10px; background: #e0ddd7; line-height: 1; pointer-events: none; }
/* Guide: the product photo a little smaller, so the brand section fits; photo, words and brand section are one band, top + bottom aligned */
.gr-view.lap.is-guide { grid-template-columns: auto minmax(0, 500px) 1px minmax(0, 1fr); column-gap: 40px; padding-right: 40px; align-items: center; }
.gr-view.lap.is-guide .gr-v-pics { height: 84.5cqh; width: calc(84.5cqh * 286 / 326); }
.gr-view.lap.is-guide .gr-v-words, .gr-view.lap.is-guide .gr-v-story, .gr-view.lap.is-guide .gr-v-rule { height: 84.5cqh; align-self: center; }
.gr-v-rule { width: 1px; background: rgba(27, 31, 38, .18); }
.gr-v-story { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; justify-items: start; min-width: 0; }
.gr-v-story.two { grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); }
.gr-v-story:not(.two) .gr-v-about { align-self: start; }
.gr-v-sfig { position: relative; display: block; margin: 0; height: 100%; max-width: 100%; aspect-ratio: 286 / 326; overflow: hidden; background: #d3cfc7; }
.gr-v-sfig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-v-sfig .gr-v-ptag { left: 6px; bottom: 6px; padding: 6px 8px; }
.gr-v-sfig .gr-v-ptag .gr-price { font-size: 11px; }
a.gr-v-sfig { cursor: pointer; }
.gr-v-about { display: grid; gap: 8px; }
.gr-v-about small { font: 500 10.5px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.gr-v-about p { margin: 0; font: 400 12px/1.65 var(--mono); color: #2b2f36; }
.gr-v-story:not(.two) .gr-v-sfig { height: auto; width: 100%; align-self: start; }   /* one photo: full column width, tall shape kept */
.gr-v-story:not(.two) { grid-template-rows: auto auto; align-content: start; }

/* phones, page to page (Jake 2026-11-09): the page you're on slides down and away with the new one waiting underneath; from a page with no
   sponsor banner to one with it, the banner waits until the old page has gone, then rises from the footer line (js/core.js bannerRise).
   sp-ext lets the page sliding away draw down over the banner's empty spot. */
body.sp-wait .sponsor { visibility: hidden; }
body.sp-off .sponsor { display: none !important; }
.panel-layer.sp-ext { overflow: visible; clip-path: inset(0 0 calc(-1 * var(--ext)) 0); }

/* laptop Pick page fixes (Jake 2026-11-09): Lineup gets ‹ See it › like the Guide, and its up-next strip moves in next to the words (the
   group is centred) with every photo the tall tile shape (a fixed height: Safari ignored aspect-ratio on the buttons, so they overlapped).
   Guide, one brand photo: the brand's words sit above it and the photo fits the space left. See it is cherry, like Visit Website. */
.gr-view.lap.has-next { grid-template-columns: auto minmax(0, 500px) 126px; justify-content: center; padding-right: clamp(24px, 4vw, 64px); }
.gr-view.lap .gr-v-next button { width: 126px; height: calc(126px * 326 / 286); overflow: hidden; }
/* desktop windows under 1000 wide (Jake 2026-11-22, "B"): the up-next strip hides so the words get the room and no name is cut */
@media (max-width: 999px) {
  .gr-view.lap.has-next { grid-template-columns: auto minmax(0, 500px); }
  .gr-view.lap .gr-v-next { display: none; }
}
.gr-view.lap.is-guide .gr-v-story:not(.two) { container-type: size; grid-template-rows: auto auto; }
.gr-v-story:not(.two) .gr-v-sfig { height: auto; width: min(100%, calc((100cqh - 140px) * 286 / 326)); align-self: start; }   /* tall shape kept; 140px = room for the words above (up to 5 lines) */
.gr-v-btn.solid { background: var(--cherry); border-color: var(--cherry); color: #e0ddd7; }   /* phones + laptops (Jake 2026-11-09) */
.gr-v-btn.solid::after { background: #b81f28; }   /* hover: the darker cherry Visit website uses */

/* LAYOUT LAW, phones (Jake 2026-11-11, 25px since 2026-11-12): every boxed button is 25px tall, the size of the category page's ‹ Bed & Bath / Clothing › boxes;
   square ones (✕, ‹ ›) are 25px square, every ✕ a 14px mark dead center. Window tops, the brand card (top row + Visit website / Instagram / share) and the Pick page row. */
@media (max-width: 839px) {
  .panel .panel-head .tool, .panel.cat .panel-head .surp, .panel.cat .panel-head .close, .panel .bcard .tool, .panel .bcard .bc-top-phone .tool, .panel .bcard .bc-top-phone .surp,
  .panel .bcard .send, .panel .bcard .bc-actions .tool { box-sizing: border-box; height: 25px; padding-top: 0; padding-bottom: 0; }
  .panel .panel-head .close, .panel.cat .panel-head .close, .panel .bcard .close, .panel .bcard .bc-top-phone .close,
  .panel-layer .panel .panel-head .close { box-sizing: border-box; width: 25px; height: 25px; padding: 2px 0 0; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }   /* 2px on top: the ✕ glyph sits 1px high in its line */
  /* blog pages draw their ✕ as a mark (so it can turn into ‹ on a Pick page): on phones it is the same full-size ✕ as everywhere else */
  .panel-layer .guide-room .panel-head .close { font-size: 0; }
  .panel-layer .guide-room .panel-head .close::before { transform: none; opacity: 1; font-size: 14px; line-height: 1; }
  .panel .bcard .bc-actions .send, .panel .bcard .bc-actions .tool { display: flex; align-items: center; justify-content: center; }
  .gr-v-btn { height: 25px; box-sizing: border-box; }   /* See it is a link: its border counts inside the 25px, like the ‹ › buttons beside it */
  .gr-v-btns.gr-v-nav { grid-template-columns: 25px 1fr 25px; }
  .gr-v-arw { width: 25px; height: 25px; font-size: 13px; }
  /* the boxes shrink, the rows they sit in don't: every photo and tile stays exactly the size it was (Jake 2026-11-11) */
  .panel .panel-head .surp, .panel .panel-head .close, .panel.cat .panel-head .surp, .panel.cat .panel-head .close { margin-top: 3px; margin-bottom: 2px; }
  .panel .bcard .bc-top-phone > .tool { margin-top: 4px; margin-bottom: 3px; }
  .panel .bcard .bc-actions > * { margin-top: 5px; margin-bottom: 5px; }
  .gr-v-btns.gr-v-nav { padding-top: 8px; padding-bottom: 9px; }
}
/* phones (Jake 2026-11-11): ‹ › on the brand card photo's left and right edges, centred: a thin chevron on a soft dark circle so it reads on
   light and dark photos alike (method: Swiper's navigation arrows, MIT) */
.bc-side { display: none; }
@media (max-width: 839px) {
  .bc-photo .bc-side { display: grid; place-items: center; position: absolute; top: 50%; z-index: 4; width: 36px; height: 36px; margin-top: -18px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(14, 17, 22, .2); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #e0ddd7; cursor: pointer; }
  .bc-photo .bc-side.prev { left: -18px; }   /* half off the photo's edge, so it covers as little of the photo as possible (Jake 2026-11-11) */
  .bc-photo .bc-side.next { right: -18px; }
  .bc-photo .bc-side.prev svg { transform: scaleX(-1); }
  .bc-photo .bc-side:active { background: rgba(14, 17, 22, .45); }
}

/* Shop (Jake 2026-11-11): no "Back to the list", so no empty footer strip under it */
.panel.shop-win .panel-foot:empty { display: none; }

/* ==================== Fonts (Jake 2026-11-11, chat "fonts") ==================== */
/* Three fonts, one job each. Yucca = big headline words (--big). Oaxaca = every short word (--display / --mono).
   Short Stack = sentences (--sentence; Oaxaca is the named backup). Sizes below are the ones Jake approved in the
   previews (Website/previews/font-whole-site-v3.pdf, font-round-4/5.pdf, font-phone-audit.pdf), each set by the
   longest real text the spot must hold (layout law). */
.menu .brand, .bh-lead h2, .gr-cover h2, p.big, .bs-words b, #southland-ring .sr-name { font-family: var(--big) !important; }
@media (min-width: 840px) { .panel-head h2, .bc-name, .bc-idname, .legal .legal-title, .gr-v-words h2 { font-family: var(--big) !important; } }
@media (max-width: 839px) { p.big.about-tag { font-family: var(--display) !important; } }   /* phone: window titles + "Chasing heirloom quality" stay Oaxaca */
.lede, .lede span, .bh-sum, .bh-row-words em, .bc-story, .gr-c-intro p, .gr-v-about p, .gr-v-note p, .legal p, .legal li, .about-list li, .grid-note, .sv-drop p {
  font-family: var(--sentence) !important; text-transform: none !important; letter-spacing: 0 !important; }
.legal .legal-eff, .legal .legal-eff *, .legal p.legal-contact { font-family: var(--display) !important; }   /* the date line + contact line stay Oaxaca */
.legal p.legal-eff { text-transform: uppercase !important; letter-spacing: .16em !important; }
.tick, .tick span { font-family: var(--mono) !important; text-transform: uppercase !important; letter-spacing: .08em !important; }
.about-story .lede { text-align: center !important; }   /* (the Cover Intro reads left-aligned on every post: Jake 2026-11-22) */
/* Laptop sizes */
@media (min-width: 840px) {
  .menu .brand { font-size: 12px !important; }
  #southland-ring .sr-readout { overflow: visible !important; }
  #southland-ring .sr-name { font-size: 29px !important; letter-spacing: .02em !important; margin-top: 12px !important; overflow: visible !important; }
  .gr-cover h2 { font-size: min(clamp(24px, 2.9vw, 52px), 5.8cqw) !important; }   /* 5% smaller so every Holiday Gift Guide Title fits one row in Safari (Jake 2026-11-11) */
  .gr-cover .post-sub { font-size: min(clamp(14.5px, 1.4vw, 21.5px), 4.27cqw) !important; }   /* line under the Title: 2/3 of before, 20px at 1440 wide (Jake 2026-11-11) */
  .gr-v-words h2 { font-size: clamp(20px, 2.05vw, 30px) !important; }
  .gr-cap small { white-space: normal !important; text-overflow: clip !important; line-height: 1.2 !important; max-height: 2.4em;
    font-size: min(10px, calc(var(--tw, 140px) * .103)) !important; }   /* small desktop windows (Jake 2026-11-16): one size per window, set by the tile width so every product name fits its 2 rows (worst case k=.1072 in Chrome, ~4% air for Safari); 10px from ~1240 up */   /* pick product names (Jake 2026-11-16): the full name on up to 2 rows, never "…"; every tile reserves both rows (js/pages.js draw(): cap 56) */
  .gr-cap b { font-size: min(11.5px, calc(var(--tw, 203px) * .0555)) !important; }   /* pick grid brand names (Jake 2026-11-11): one size, set so the longest brand on the list (Golden Bear Sportswear) fits whole at every laptop size, no "…" */
  .bc-actions .send { letter-spacing: .08em !important; }
  .scroll-list.desk .tile-name { font-size: 13px !important; line-height: 16.8px !important; }
  .map-btn-txt { font-size: 14px !important; letter-spacing: .1em !important; padding-left: .1em !important; transform: translate(-9px, -2.5px) !important; }
  .about > * { min-width: 0; }
  .about .about-tag { font-size: 27px !important; }
  .bc-circ { width: 78px !important; height: 78px !important; }
  .bc-circ span, .bc-circ span[style] { font-size: 8px !important; max-width: 68px !important; }
}
@media (min-width: 840px) and (max-height: 749px) { .srch .map-btn-txt { font-size: 10px !important; }
  .scroll-list.desk .tile-loc { font-size: 8.5px !important; } }   /* short laptops: the longest town fits the tile the window allows (Jake 2026-11-11) */
/* Phone sizes (393 wide); MAP text = laptop x 70/96 so it matches laptop exactly */
@media (max-width: 839px) {
  .menu .brand { font-size: 8.5px !important; }   /* phone top bar logo 8.5px, same as THE MADE IN USA LIST (Jake 2026-11-12) */
  #southland-ring .sr-label { font-size: 8px !important; }
  #southland-ring .sr-name { font-size: 17px !important; letter-spacing: .02em !important; margin-top: 14px !important; white-space: nowrap !important; }
  .panel-head h2 { font-size: 16px !important; }
  .panel .gr-cover h2 { white-space: normal !important; font-size: 26px !important; line-height: 1 !important; text-wrap: balance; }   /* 26px: HOLIDAY GIFT fits row 1 in Safari too (27.5 was over; Yucca draws ~3% wider in Safari; Jake 2026-11-11) */
  .tool:not(.close), .send, .ig, .tag-pick, .tag-pick-txt, .sv-web { font-size: 9.5px !important; }
  .chips > *, .bc-tag { font-size: 8.5px !important; }
  .map-btn-txt { font-size: 10.2px !important; letter-spacing: .1em !important; padding-left: .1em !important; transform: translate(-6.6px, -1.8px) !important; }
  .about .about-tag { margin-top: 10px !important; }
  .sp-title { font-size: 10.5px !important; white-space: nowrap !important; }
  .search-input { font-size: 16px !important; letter-spacing: .03em !important; }
  /* (Jake 2026-11-11) the reset ↺ is back in its own spot right of All tags: pulled left it landed on that box; the placeholder still fits */
  .gr-c-head .post-sub, .bs-words .post-sub { font-size: 9.3px !important; }
  .bc-circ span, .bc-circ span[style] { font-size: 6.2px !important; }
  .bs-words b { font-size: 15px !important; }
  .bs-words small, .bs-words .bs-read { font-size: 9.5px !important; }
  .stk-room .bs-words small { font-size: 10px !important; }   /* Stockists cards keep their town at 10px (approved preview) */
  .gr-cap b { font-size: 8.7px !important; }
  .gr-cap small { font-size: 9px !important; }
  .tile-meta .tile-name { font-size: 9.5px !important; line-height: 10.5px !important; white-space: normal !important; overflow: visible !important; }   /* phone tiles (Jake 2026-11-11): 9.5px; the 17 longest names take two rows */
  .tile-meta { height: 38px; box-sizing: border-box; padding: 0 6px; gap: 2px; justify-content: center; }   /* 38px under every photo (was 39), name + town centered in it */
  .panel.mappage .pm-cards .tile-meta { height: auto; }   /* map cards keep their own size */
  .sv-name { font-size: 13px !important; max-width: none !important; }   /* Simple A to Z: the longest name + town fits one row (Jake 2026-11-11) */
  .sv-meta { font-size: 8px !important; }   /* Simple A to Z: towns (Jake 2026-11-11) */
  .sv-row { gap: 6px; }   /* name · town · › closer together, so the longest pair fits whole (Golden Bear Sportswear, San Francisco, CA was cut 11px; 2026-11-13) */
  .tile-loc { font-size: 8.5px !important; line-height: 10px !important; }   /* phone towns everywhere (category, Search), 8.5px (Jake 2026-11-11): the longest (White Sulphur Springs, MT) fits whole
  .panel.mappage .pm-cards .tile-loc { font-size: 6.5px !important; line-height: 9px !important; }   /* map cards, same rule */
}

/* ==================== LAYOUT LAW, phone words on photos (Jake 2026-11-15: "beautiful, uniformed, modern, intentionally designed") ====================
   One look on every phone photo that carries words: the brand card, the Pick page, the Blog listings and a post's Cover.
   1. Words sit bottom-left, 15px in from the photo's left edge and 14px up from its bottom (the brand card's spot).
   2. One fade: the same eased curve (darkest behind the bottom line), always ending 22px above the top line of words. So its height is
      the words' height + 22px: brand card 100px (2-row name + town, 78px), Pick page 75px (1-row name + brand/price, 53px),
      Blog listing 106px (label + title + line + read time, 84px), Cover 125px (label + 2-row title + line, 103px).
   Never a % of the photo: the fade follows the words, so the photo above stays clear. Stockists cards keep their own look.
   Curve credit: Andreas Larsen, easing-gradients (github.com/larsenwork/easing-gradients, MIT); CSS-Tricks, "Easing Linear Gradients". */
@media (max-width: 839px) {
  :root { --fade-curve: linear-gradient(to top, rgba(12, 14, 18, .82) 0%, rgba(12, 14, 18, .81) 8%, rgba(12, 14, 18, .783) 16.7%, rgba(12, 14, 18, .741) 25.3%, rgba(12, 14, 18, .685) 33.3%, rgba(12, 14, 18, .618) 41.3%, rgba(12, 14, 18, .541) 50%, rgba(12, 14, 18, .456) 58.7%, rgba(12, 14, 18, .365) 66.7%, rgba(12, 14, 18, .269) 74.7%, rgba(12, 14, 18, .172) 83.3%, rgba(12, 14, 18, .078) 92%, rgba(12, 14, 18, 0) 100%); }
  .bc-plate { top: auto; height: 100px; background: var(--fade-curve); }
  .gr-v-pics::after { top: auto; height: 75px; background: var(--fade-curve); }
  .blog-room .bs-words { left: 15px; bottom: 14px; }
  .blog-room .bs-fade { top: auto; height: 106px; background: var(--fade-curve); }
}
@media (max-width: 820px) {   /* the Cover's phone layout starts at 820 */
  .gr-cover figure::after { top: auto; height: 125px; background: var(--fade-curve); }
  .gr-c-head { width: calc(var(--cw) - 67px); margin-right: 37px; padding-bottom: 13px; }   /* 15px in, 14px up; right edge unchanged */
}
/* Phone brand card names + towns (Jake 2026-11-11): the category circle is off the phone card (the share card shows it top right), so the
   name and town use the photo's full width. Every name is 21.5px (no shrinking), on two rows when needed; two rows are always kept so every
   card matches (a one-row name sits on the lower row). 21.5px (Jake 2026-11-11): Hardworking Phil fits one row. The town is one row at 9.25px: the longest ("Lancaster County, Pennsylvania") fits. */
@media (max-width: 839px) {
  .bc-photo .bc-circ { display: none; }
  .bc-plate { padding-right: 12px; }
  .bc-plate .bc-name { font-size: 21.5px; line-height: 1; white-space: normal; overflow: visible; min-height: 2em; display: flex; align-items: flex-end; }
  .bc-plate .bc-loc { font-size: 9.25px; white-space: nowrap; }
}

/* Slide-over (motion law, Jake 2026-11-12): the dark layer over the page behind a sliding window on phones (js/core.js stepDim), as .gr-dim behind a Pick page */
.so-dim { position: absolute; inset: 0; z-index: 10; background: #000; opacity: 0; pointer-events: none; }

/* phone brand lists (category, Search, tag pages): the tiles take the window's width, 6px from its edges (Jake 2026-11-12: long names fit one row) */
@media (max-width: 839px) { .panel.cat .panel-body.search-body { padding-left: 6px; padding-right: 6px; } }

/* phones (Jake 2026-11-12): a little air between a long title (Denim and Workwear) and Surprise me above it; the 4px comes back from the
   header's bottom padding and the gap above ‹ › (the tabs and photos sit exactly as high as before this change) */
@media (max-width: 839px) { .panel.cat .panel-head #panel-title { margin-top: 4px; } }
/* LAYOUT LAW, phones, the directory (Jake 2026-11-12): its boxed buttons with words (window tops, brand card, Search chips and tag box, tags,
   map regions) have 9px of padding left and right, so each box hugs its words. Square ones (✕, ‹ ›, share) keep their fixed size,
   and so does Search's Map button (the US outline, sized as the laptop one scaled down: never a separate size).
   Footer pages, Shop and the blog keep their own button formats (each is decided on its own). */
@media (max-width: 839px) {
  .panel.cat:not(.room) .tool:not(.close):not(.bc-share), .panel.cat:not(.room) .surp, .bcard .send, .filter-row .chip:not(.map-btn), .search-line .state-pick,
  .bc-tag, .pm-btn { padding-left: 9px !important; padding-right: 9px !important; }
  /* and the same 25px height as every phone button (Jake 2026-11-12). The Search tag box is a field beside the search box, not a button: it stays */
  .filter-row .chip:not(.map-btn), .bc-tag, .pm-btn { box-sizing: border-box; height: 25px !important; padding-top: 0 !important; padding-bottom: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
}
/* phones (Jake 2026-11-12): Surprise me and ✕ are fixed parts, in the exact same spot on every page that has them. The brand card's top row
   sits 5px higher and reaches 4px further right (3px further left for ← back), matching the window tops; the 5px goes back under the row,
   so the photo doesn't move. */
@media (max-width: 839px) { .panel .bcard .bc-top-phone { margin: -5px -4px 5px -3px; } }

/* the logo menu's words sit centered in the box, phone and laptop (Jake 2026-11-12) */
.menu-list button { justify-content: center; text-align: center; }

/* phone Pick page words, the brand card's way (Jake 2026-11-12): the product name big on one row (21.5px, like a brand card's name), tucked
   bottom-left 15px in; the brand and price on one small line under it (9.25px, like the brand card's town). Names are written to fit one row
   (Admin measures each one); a name not yet rewritten wraps to a second row upward rather than running off the photo. */
@media (max-width: 839px) {
  .gr-v-words h2 { grid-row: 2; font-size: 21.5px; height: 2em; line-height: 1; margin: 0 14px 5px 15px; width: calc(var(--pw) - 29px); display: flex; align-items: flex-end; }   /* 2 rows held, name at the bottom (the brand card's way): nothing moves between picks */
  .gr-v-tag { grid-row: 3; margin: 0 0 0 15px; font-size: 9.25px; letter-spacing: .16em; color: rgb(183, 173, 133); align-self: end; }
  .gr-v-words .gr-v-price { grid-row: 3; font-size: 9.25px; letter-spacing: .16em; margin: 0 14px 0 0; align-self: end; }
}
/* the brand card's step-back layer sits under the sliding card (z 8), over the list and the window's top (Jake 2026-11-12) */
.so-dim.so-card { z-index: 7; }
/* phones (Jake 2026-11-12): the top bar and every window sit 10px from the screen's edges (was 16px), moved out together so they stay lined up */
@media (max-width: 839px) { .site { padding-inline: 10px; } }
/* the dark band behind the top bar and footer reaches the screen's edges: 10px past them on phones, to match (it was 16px and stuck out 6px) */
@media (max-width: 839px) { html:not([data-theme="light"]) .top::before, html:not([data-theme="light"]) .foot::before { left: -10px; right: -10px; } }
/* Accessibility (Jake 2026-11-15): words on the cherry red buttons are white, not cream, so small words pass the WCAG AA 4.5:1
   contrast standard (white on #d72630 = 5.2:1; cream was 3.7:1). The cherry red itself never changes. Found by axe-core 4.10.2. */
.bcard .send, .contact .send, .center form .send, .gr-v-btn, .gr-v-btn > span { color: #fff; }
/* Reading text, one size (Jake 2026-11-16): every sentence in the reading font is 11.5px on phones and 13px on desktop. Phone spots set here: the Honorable Mention note, page intros (Donate, Shop); About/Affiliate and the Pick description are
   set at their own rules above. */
@media (max-width: 839px) { .grid-note, .lede { font-size: 11.5px; } }
/* Keyboard (Jake 2026-11-16): the "Sign me up" checkbox shows the same thin cream outline as every button when reached with Tab
   (.form input:focus above turns outlines off for the text boxes, which show focus with their gold border instead). */
.form label.tick input:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
/* Desktop brand card (Jake 2026-11-16): ‹ › sit outside the card, one on each side, halfway down (the phone's photo-edge arrows, same look;
   method: Swiper's navigation arrows, MIT), so the top row is ← Back · Surprise me · ✕. From 1400 wide Surprise me sits in the same one
   fixed spot as every window's (right: 468px from the window's edge = 442px from the card row's). Narrower: dead center. */
@media (min-width: 840px) {
  .bcard .bc-card { position: relative; }
  .bc-card > .bc-side { display: grid; place-items: center; position: absolute; top: 50%; z-index: 4; width: 36px; height: 36px; margin-top: -18px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(14, 17, 22, .2); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #e0ddd7; cursor: pointer; }
  .bc-card > .bc-side.prev { left: -60px; }
  .bc-card > .bc-side.next { right: -60px; }
  .bc-card > .bc-side.prev svg { transform: scaleX(-1); }
}
@media (min-width: 1400px) { .panel .bcard .bc-top-phone > .surp { left: auto; right: 442px; width: 120px; transform: none; } }
/* wide windows (Jake 2026-11-16): from 1720 wide up, Surprise me sits dead center in the top row, level with the ✕, on every window (Search
   included) and the brand card. 1720 = where it clears the longest title + count ("DENIM & WORKWEAR 51 BRANDS", ends 745px in) by ~40px,
   measured on all 16 categories + Search. Under 1720 it keeps the 1400 spot above. */
@media (min-width: 1720px) { .panel.cat .panel-head .surp, .panel .bcard .bc-top-phone > .surp { left: 50%; right: auto; transform: translateX(-50%); } }
@media (min-width: 840px) and (max-width: 1009px) {   /* small desktop windows: the card fills the width, so the arrows sit half over its edges (like phones) */
  .bc-card > .bc-side.prev { left: -18px; }
  .bc-card > .bc-side.next { right: -18px; }
}
/* About > Sources & Credits (Jake 2026-11-23). Desktop: outlined button right under the box (story spans both rows). Phone: it replaces Contact in the box. */
.about-phone { display: none; }
.about:not(.affiliate) > .about-story { grid-row: 1 / span 2; }
.about:not(.affiliate) > .about-list { grid-column: 2; grid-row: 1; align-self: end; }
.about-credits { grid-column: 2; grid-row: 2; align-self: start; margin: -32px 0 0; }
@media (max-width: 760px) { .about .about-desk { display: none; } .about .about-phone { display: flex; justify-content: center; }
  .about .about-phone .about-contact { box-sizing: border-box; height: 25px; padding-top: 0; padding-bottom: 0; }   /* phone buttons are 25px (Layout Law 2026-11-12) */ }
/* Shop sign-up: the consent line under the Email box, in the email tick box's type (Jake 2026-11-23) */
.form .consent { margin: 0; font: 400 11px/1.3 var(--mono); color: #b9b5aa; }
html[data-theme="light"] .form .consent { color: #222; }
