/* ---------------------------------------------------------------------------
   BoredomBash section styling — orange/blue reference direction.

   Ported from boredombash-orange-blue-full-reskin.html: alternating colour
   BANDS with oversized paper-fill headings (ink stroke + hard shadow), the
   second word in an accent colour.

   Loaded AFTER site.css so it out-specifies the legacy section rules without
   editing them — same layering pattern as bb-header.css. Uses the global
   :root tokens; no local colour copies.
   --------------------------------------------------------------------------- */

/* --- colour bands --------------------------------------------------------- */

.showcase.recently   { background: var(--blue-light); }
.showcase.toppicks   { background: var(--orange); }
.showcase.trending   { background: var(--orange); }
.directory           { background: var(--blue); }

.showcase, .directory {
  position: relative;
  padding: clamp(44px, 5.5vw, 80px) clamp(18px, 3vw, 40px);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  isolation: isolate;
}

/* Soft blob, as per the reference. Decorative only — behind everything. */
.showcase::before, .directory::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -34%;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .72;   /* matches the reference blob */
  pointer-events: none;
}
.showcase.recently::before { background: var(--orange); }
.showcase.toppicks::before,
.showcase.trending::before { background: var(--blue-light); }
.directory::before         { background: var(--blue-light); opacity: .32; }

/* --- oversized section headings ------------------------------------------ */

.showcase .section-h,
.directory .section-h {
  margin: 0 0 .18em;
  color: var(--bg);
  font-family: var(--impact);
  font-size: clamp(38px, 5.6vw, 92px);
  /* Stroke is EM-based, not a fixed px: at the clamp's small end (~38px) a
     flat 5px stroke was 13% of the glyph height and, combined with tight
     tracking, made adjacent letters' strokes visually collide ("squished" —
     Gray, 2026-07-20). em scales the stroke with the text instead. */
  letter-spacing: -.006em;
  line-height: .85;
  text-transform: uppercase;
  /* paint-order keeps the stroke BEHIND the fill — without it the stroke
     eats into the letterforms and the type looks thin and muddy. */
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  text-shadow: 7px 8px 0 var(--ink);
}

/* Second word drops to the next line in an accent colour, as per reference.
   The legacy rule (site.css:1221) gives .accent a yellow highlight BACKGROUND
   with padding — fine inline, but once it's display:block that bar stretches
   the full width of the section. Must be cleared here, not just recoloured. */
.showcase .section-h .accent,
.directory .section-h .accent {
  display: block;
  width: fit-content;
  margin-left: .06em;
  padding: 0;
  background: none;
}
.showcase.recently .section-h .accent { color: var(--orange); }
.showcase.toppicks .section-h .accent,
.showcase.trending .section-h .accent { color: var(--blue); }
.directory .section-h .accent         { color: var(--orange); }

.showcase .section-eyebrow,
.directory .section-eyebrow {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(13px, 1.1vw, 17px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.directory > .inner > .sub {
  margin: 10px 0 30px;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(15px, 1.2vw, 19px);
  font-style: italic;
  font-weight: 700;
}
.directory > .inner > .sub a { color: var(--bg); text-decoration: underline; }

.showcase .inner, .directory .inner { position: relative; z-index: 2; }

/* .showcase-list is an <ol>; the global reset zeroes padding but not list-style,
   so the "1." "2." markers render outside the cells. */
.showcase-list { margin-top: 26px; list-style: none; }
.showcase-list > li { list-style: none; }

/* --- cards ---------------------------------------------------------------- */

/* NARROWER CARDS (Gray 2026-07-20): was minmax(360px,1fr) → 3 wide columns.
   280px yields 4 columns at 1280–1440 and 5 at 1680, so each card is roughly
   a third narrower. Keep >=260px or the link rows inside start wrapping. */
.cat-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px 22px;
}

/* Both showcase rows carry exactly 8 items. 300px min gives 4 columns at
   1280-1680, so 8 items fill two rows flush with no empty cells; 260px gave 5
   columns and left three blanks. */
.showcase-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Shadows re-keyed to the band they sit on so they stay visible. */
.recently .showcase-list { box-shadow: 10px 10px 0 var(--ink); }
.toppicks .showcase-list,
.trending .showcase-list { box-shadow: 10px 10px 0 var(--ink); }

/* --- show-all button ------------------------------------------------------ */

.cat-grid-more { margin-top: 36px; text-align: center; }

.cat-grid-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(16px, 1.5vw, 22px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 6px 0 rgba(37,37,37,.35);
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease;
}

.cat-grid-more-btn:hover,
.cat-grid-more-btn:focus-visible {
  background: var(--blue-light);
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(37,37,37,.35);
}

@media (prefers-reduced-motion: reduce) {
  .cat-grid-more-btn { transition: none; }
  .cat-grid-more-btn:hover { transform: none; }
}

/* --- "What do you want?" chip row ---------------------------------------- */

.feels { margin-top: 30px; }

.feels-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-family: var(--condensed);
  font-size: clamp(14px, 1.2vw, 18px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.feels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.feel-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(13px, 1.05vw, 16px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease;
}

.feel-chip:hover,
.feel-chip:focus-visible {
  background: var(--blue-light);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* --- Editor's Spotlight --------------------------------------------------- */

.spotlight-section {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) clamp(18px, 3vw, 40px);
  background: var(--bg-soft);
  border-bottom: 4px solid var(--ink);
}

.spotlight-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.spotlight-head h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.spotlight-head .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--ink);
  flex: 0 0 auto;
}

.spotlight-meta {
  font-family: var(--condensed);
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- ad slots ------------------------------------------------------------- */

.ad-wrap { padding: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 40px); background: var(--bg); border-bottom: 4px solid var(--ink); }
.ad-wrap.soft { background: var(--bg-soft); }

.ad-slot.ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1400px;
  min-height: 92px;
  margin: 0 auto;
  border: 3px dashed var(--ink-faint);
  border-radius: 4px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ad-slot .ad-label { font-weight: 700; }

/* --- SEO landing-page grid ----------------------------------------------- */

.seo {
  position: relative;
  padding: clamp(44px, 5.5vw, 80px) clamp(18px, 3vw, 40px);
  background: var(--blue-light);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}

.seo .inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }

.seo .section-h {
  margin: 0 0 .18em;
  color: var(--bg);
  font-family: var(--impact);
  font-size: clamp(38px, 5.6vw, 92px);
  letter-spacing: -.006em;   /* was -.04em + fixed 5px stroke — squished (Gray, 2026-07-20) */
  line-height: .85;
  text-transform: uppercase;
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  text-shadow: 7px 8px 0 var(--ink);
}
.seo .section-h .accent {
  display: block;
  width: fit-content;
  margin-left: .06em;
  padding: 0;
  background: none;
  color: var(--orange);
}

.seo > .inner > .sub {
  max-width: 62ch;
  margin: 14px 0 34px;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(15px, 1.25vw, 20px);
  font-style: italic;
  font-weight: 700;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.seo-block {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border: 4px solid var(--ink);
  background: var(--bg-card);
  box-shadow: 6px 6px 0 var(--ink);
}

.seo-block h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.seo-block p {
  flex: 1 1 auto;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.6;
}

.seo-block a {
  align-self: flex-start;
  font-family: var(--condensed);
  font-size: 16px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 2px;
}
.seo-block a:hover { border-bottom-color: var(--ink); }

/* --- view-all link in showcase heads -------------------------------------- */

.showcase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.view-all {
  font-family: var(--condensed);
  font-size: clamp(14px, 1.15vw, 18px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.view-all:hover { border-bottom-color: var(--bg); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .feel-chip { transition: none; }
  .feel-chip:hover { transform: none; }
}

/* ===========================================================================
   INTERIOR PAGES — category, SEO landing, detail.
   These shared the flat paper layout from the old dark theme. Give them the same
   banded orange/blue system as the homepage: orange hero band with a big stroked
   heading, readable paper intro, blue band behind the destination grid.
   One set of rules, keyed on shared classes, styles all 24 category pages + the
   SEO landings + detail pages at once.
   =========================================================================== */

/* --- hero band ------------------------------------------------------------ */

/* PAPER, not orange — this sits directly under the orange header. An orange
   band right under an orange header reads as one undifferentiated block (Gray,
   2026-07-20). Mirrors the homepage `.hero`: no background-color override, so
   the body's grid-dot texture shows through underneath. The stroked heading
   supplies the colour instead — same trick the header logo uses (blue fill +
   ink stroke reads great on paper; that's WHY it works in the header). */
.cat-hero {
  position: relative;
  padding: clamp(40px, 5vw, 72px) clamp(18px, 3vw, 40px);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}

.cat-hero .inner { position: relative; z-index: 2; max-width: 1100px; }

.cat-hero .eyebrow {
  font-family: var(--condensed);
  font-size: clamp(12px, 1.05vw, 15px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cat-hero .eyebrow .pill {
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
  padding: 3px 9px 2px;
  font-style: normal;
}

.cat-hero h1 {
  margin: 0 0 .2em;
  color: var(--blue);
  font-family: var(--impact);
  font-size: clamp(32px, 5vw, 74px);
  letter-spacing: -.006em;   /* was -.035em + fixed 5px stroke — squished (Gray, 2026-07-20) */
  line-height: .88;
  text-transform: uppercase;
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 7px 0 var(--ink);
}

/* Clear the legacy yellow highlight — same trap as the homepage .accent. */
.cat-hero h1 .accent {
  display: inline;
  background: none;
  padding: 0;
  color: var(--orange);
}

.cat-hero .tagline {
  max-width: 60ch;
  color: var(--ink-soft);
  font-family: var(--condensed);
  font-size: clamp(15px, 1.3vw, 20px);
  font-style: italic;
  font-weight: 700;
}

/* --- readable intro blocks (paper) --------------------------------------- */

.content-block { padding: clamp(38px, 4.5vw, 64px) clamp(18px, 3vw, 40px); }

.content-block .section-eyebrow,
.content-block .section-eyebrow::before { }
.content-block .section-eyebrow {
  color: var(--ink-soft);
  font-family: var(--condensed);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .09em;
}
.content-block .section-body a { color: var(--blue-deep); border-bottom-color: var(--blue-light); }
.content-block .section-body a:hover { color: var(--ink); border-color: var(--ink); }

/* --- destination grid band (blue) ---------------------------------------- */

.content-block#destinations,
.content-block.soft#destinations {
  position: relative;
  background: var(--blue);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}

.content-block#destinations .inner { position: relative; z-index: 2; }

/* Big stroked heading, same system as the homepage section heads. */
.content-block#destinations .section-h {
  margin: 0 0 .16em;
  color: var(--bg);
  font-family: var(--impact);
  font-size: clamp(30px, 4.4vw, 68px);
  letter-spacing: -.006em;   /* was -.035em + fixed 4px stroke — squished (Gray, 2026-07-20) */
  line-height: .88;
  text-transform: uppercase;
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 var(--ink);
}
.content-block#destinations .section-h .accent {
  display: inline;
  background: none;
  padding: 0;
  color: var(--orange);
}

.content-block#destinations .section-eyebrow { color: var(--bg); }
.content-block#destinations .section-eyebrow::before { background: rgba(255,250,242,.5); }

/* Narrower dest cards to match the homepage grid (Gray). */
.dest-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* --- filter tabs on the blue band ---------------------------------------- */

.content-block#destinations .filter-tabs { margin: 22px 0 26px; }
.content-block#destinations .filter-label { color: var(--bg); }
.content-block#destinations .filter-tab {
  border: 3px solid var(--ink);
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--condensed);
  font-style: italic;
  font-weight: 800;
}
.content-block#destinations .filter-tab.is-active { background: var(--ink); color: var(--bg); }

/* --- footer + marquee: intentional dark anchors, brought on-brand ---------
   These stay INK-dark on purpose — a brutalist orange/blue/paper layout needs a
   dark base to sit on, and the reference uses a dark ticker. But re-key their
   accents to the brand so they read as designed, not as leftover dark-theme. */

.site-shell > footer .foot-brand .logo {
  font-family: var(--impact);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--blue-light);
  letter-spacing: -.01em;
}
.site-shell > footer .foot-links a:hover { color: var(--orange); }

/* Marquee ticker — separators to brand orange, keeps the dark strip as a device. */
.marquee-sep { color: var(--orange); }

/* --- site detail page: link list on the blue band ------------------------- */

.content-block#destinations .cat-link-list {
  max-width: 900px;
  margin-top: 8px;
  border: 4px solid var(--ink);
  background: var(--bg-card);
  box-shadow: 6px 6px 0 var(--ink);
}

.content-block#destinations .dest-link {
  padding: 14px 18px;
  border-bottom: 3px solid var(--ink-faint);
  font-size: 14px;
}
.content-block#destinations .cat-link-list li:last-child .dest-link { border-bottom: 0; }
.content-block#destinations .dest-link:hover { background: var(--blue-light); }

.content-block#destinations .link-cat-tag {
  margin-left: auto;
  padding: 2px 8px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   Detail-page arrow — the ONE link into /link/{slug}/ on every listing.
   Was present in markup on category.blade.php ONLY, with ZERO css (invisible/
   unstyled), and entirely absent everywhere else (every client-rendered grid,
   homepage rows, Trending) because PublicData::clientDestinations() never sent
   a site_slug at all. Fixed at every layer 2026-07-20 (Gray: "i dont see the
   links to the new content pages on each listing").
   --------------------------------------------------------------------------- */

.dest-detail-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: background-color .12s ease, transform .12s ease;
}
.dest-detail-arrow:hover,
.dest-detail-arrow:focus-visible {
  background: var(--blue-light);
  transform: scale(1.08);
}

/* --- inside a category-grid <h3> (category.blade.php) --------------------- */
.dest-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- inside a client-rendered .dest-card (dest-grid.js destCardHTML) ------ */
.dest-card-head { flex-wrap: nowrap; }
.dest-card-head .dest-name { text-decoration: none; color: inherit; }

/* --- inside a .show-row (dest-grid.js makeShowcaseRow + home.blade.php) --- */
/* .show-row was a single <a>; it's now a plain container so a separate arrow
   can live inside it. .nm-link takes over the flex-item role .name-block used
   to have — display:contents keeps it out of the box model entirely so the
   flex layout (favicon | name-block | tag) is unaffected by the extra wrapper. */
.show-row .nm-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.show-row .dest-detail-arrow {
  width: 22px;
  height: 22px;
  font-size: 14px;
  border-width: 2px;
}
.show-row:hover .dest-detail-arrow { border-color: var(--bg); color: var(--ink); }

/* --- inside .cat-link-list (homepage Popular Categories mini-lists,
   site.blade.php's "what we feature" list) — same fix as earlier this session:
   the arrow is a SIBLING of .dest-link inside <li>, and .dest-link was
   width:100%, so without display:flex on <li> the arrow dropped to its own
   line below every row. */
.cat-link-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-link-list .dest-link { flex: 1; min-width: 0; width: auto; }
.cat-link-list .dest-detail-arrow { width: 22px; height: 22px; font-size: 14px; border-width: 2px; }

/* --- inside .mini-list (renderMiniList: category "trending"/"fresh" mini
   lists AND the standalone /trending/ page) — same fix pattern again: .row
   was a single <a> at width:100% with its own padding/hover-bg. display:contents
   removes .row's box entirely (no box = no hover background to paint, no
   padding to apply) so ALL of that has to move up to <li>, which becomes the
   real flex container for the row's internal items PLUS the new arrow. */
.mini-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  transition: background-color .12s ease, color .12s ease;
}
.mini-list li:hover { background: var(--ink); color: var(--bg); }
.mini-list li:hover .rank { color: var(--bg); }
.mini-list li:hover .meta { color: var(--bg); opacity: 0.7; }
.mini-list .row {
  display: contents;
  font-family: var(--body);
  font-size: 13px;
  color: inherit;
}
.mini-list .dest-detail-arrow { width: 22px; height: 22px; font-size: 14px; border-width: 2px; flex-shrink: 0; }
.mini-list li:hover .dest-detail-arrow { border-color: var(--bg); color: var(--ink); }

/* ===========================================================================
   BOXED LAYOUT (Gray, 2026-07-28): "i dont like the full width website, i
   wanna try boxxing it slightly, lift it off the background". Chose the
   bigger option when asked: one background for the whole shell, with the
   former full-bleed colour bands becoming rounded internal blocks rather
   than spanning edge-to-edge.

   `.site-shell` wraps header+menu+main+footer in public.blade.php (the
   floating CTA stays OUTSIDE it — it's position:fixed to the viewport and
   must not be clipped by, or scoped to, the shell). Body keeps its existing
   paper + grid-dot texture as the "lifted off" ground; the shell restates
   the SAME paper as its own background so the ground and box aren't
   identical tones — separation comes from the shadow + ink border, the same
   brutalist offset-shadow language used everywhere else on the site
   (.float-surprise, cards), not a soft realistic drop shadow which would
   clash with the hard-edged brand.
   =========================================================================== */

body {
  padding: clamp(0px, 3vw, 28px) clamp(0px, 2.4vw, 24px);
}

.site-shell {
  max-width: 1480px;
  margin: 0 auto;
  background: var(--bg);
  border: var(--border);
  box-shadow: 10px 10px 0 var(--ink);
}

@media (max-width: 640px) {
  /* Full-bleed on small screens — a boxed shell just wastes width and doubles
     up on the ink border every band already has. */
  body { padding: 0; }
  .site-shell { border-width: 0; box-shadow: none; }
}

/* Bands stop being edge-to-edge and become internal rounded blocks. Each band
   already has `overflow: hidden` for its decorative blob, so adding radius
   here clips the blob cleanly with it — no separate mask needed. */
.showcase, .directory, .seo {
  margin: 22px 22px 0;
  border-radius: 20px;
  border: var(--border);
}
.showcase:last-child, .directory:last-child, .seo:last-child { margin-bottom: 22px; }

/* Header/footer stay full-width of the shell (they're its top/bottom edge,
   not "bands"), just rounded to match the shell's own corners. */
.site-header.bbh { border-radius: 20px 20px 0 0; }
.site-shell > footer { border-radius: 0 0 20px 20px; }

@media (max-width: 640px) {
  .showcase, .directory, .seo { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .site-header.bbh, .site-shell > footer { border-radius: 0; }
}

/* ===========================================================================
   FORMS (.bb-form) — /submit/ and /contact/

   These had NO css at all: both pages shipped raw browser-default inputs
   (thin grey 1px boxes) against a brutalist ink-border layout. The class was
   in the markup from day one but was never written (Gray, 2026-07-28, on
   first seeing the contact page).

   Inputs carry the same language as every other control on the site — ink
   border + hard offset shadow, paper fill — rather than a softer "form" look
   that would read as a different design system bolted on.
   =========================================================================== */

.bb-form { max-width: 620px; }

.bb-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--condensed);
  font-size: 16px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bb-form input[type="text"],
.bb-form input[type="url"],
.bb-form input[type="email"],
.bb-form select,
.bb-form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  color: var(--ink);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--body);
  /* >=16px or iOS zooms the whole page on focus. Do not shrink this. */
  font-size: 16px;
  line-height: 1.5;
  transition: box-shadow .12s ease, transform .12s ease;
}

.bb-form textarea { resize: vertical; min-height: 140px; }

/* Native select keeps its own arrow, but the default padding-right crowds it. */
.bb-form select { padding-right: 34px; }

.bb-form input:focus,
.bb-form select:focus,
.bb-form textarea:focus {
  outline: 0;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
}

.bb-form ::placeholder { color: var(--ink-soft); }

/* The "(required)" / helper text under a field. */
.bb-form small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.5;
}

/* Each field is wrapped in <p class="section-body"> by both templates —
   tighten the gap so the form reads as a form, not as prose paragraphs. */
.bb-form .section-body { margin: 0 0 22px; }

/* The submit button.
   site.css styles this CTA as `a.back-cta` — an ANCHOR-only selector — so a
   <button class="back-cta"> never matched it and fell back to the global
   `button { background:transparent; border:0; padding:0 }` reset, rendering
   the primary CTA as bare text. Both /submit/ and /contact/ shipped that way.
   Styled here on the element that's actually used. */
.bb-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 28px;
  background: var(--yellow);
  color: var(--fixed-dark);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(37,37,37,.35);
  font-family: var(--condensed);
  font-size: 18px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease;
}

.bb-form button[type="submit"]:hover,
.bb-form button[type="submit"]:focus-visible {
  background: var(--orange);
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(37,37,37,.35);
}

@media (prefers-reduced-motion: reduce) {
  .bb-form button[type="submit"] { transition: none; }
  .bb-form button[type="submit"]:hover { transform: none; }
}

@media (max-width: 600px) {
  .bb-form input[type="text"],
  .bb-form input[type="url"],
  .bb-form input[type="email"],
  .bb-form select,
  .bb-form textarea { box-shadow: 3px 3px 0 var(--ink); }
}

/* ===========================================================================
   NEWSLETTER (footer signup) + ON-SITE POPUP
   Ported from the Pranksters V3 chrome system, restyled to the orange/blue
   brutalist language: ink borders, hard offset shadows, no soft shadows.
   =========================================================================== */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- footer signup band --------------------------------------------------- */

/* Sits INSIDE <footer> (which is ink-dark), above .foot-inner. Blue band so the
   signup reads as its own moment rather than more footer smallprint. */
.foot-subscribe {
  background: var(--blue);
  border-bottom: 4px solid var(--ink);
  padding: clamp(28px, 3.5vw, 44px) clamp(18px, 3vw, 40px);
}

.foot-subscribe-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px 40px;
}

.foot-subscribe-copy { flex: 1 1 320px; }

.foot-subscribe-kicker {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(12px, 1vw, 15px);
  font-style: italic; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}

.foot-subscribe h2 {
  margin: 0 0 6px;
  color: var(--bg);
  font-family: var(--impact);
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.045em var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}

.foot-subscribe-sub {
  margin: 0;
  max-width: 46ch;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: clamp(14px, 1.15vw, 18px);
  font-style: italic; font-weight: 700;
}

.foot-subscribe-form {
  flex: 0 1 460px;
  display: flex; flex-wrap: wrap; gap: 10px;
  position: relative;
}

.foot-subscribe-form input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  padding: 13px 16px;
  background: var(--bg-card); color: var(--ink);
  border: var(--border); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--body);
  font-size: 16px;   /* >=16px or iOS zooms the page on focus */
}
.foot-subscribe-form input::placeholder { color: var(--ink-soft); }
.foot-subscribe-form input:focus {
  outline: 0; transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.foot-subscribe-form button {
  flex: 0 0 auto;
  padding: 13px 26px;
  background: var(--yellow); color: var(--fixed-dark);
  border: var(--border); border-radius: 999px;
  box-shadow: 0 5px 0 rgba(37,37,37,.45);
  font-family: var(--condensed);
  font-size: 17px; font-style: italic; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease;
}
.foot-subscribe-form button:hover:not(:disabled),
.foot-subscribe-form button:focus-visible {
  background: var(--orange);
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(37,37,37,.45);
}
.foot-subscribe-form button:disabled { opacity: .7; cursor: default; }

/* Status line sits under the row without shifting it — it's empty until used. */
.foot-subscribe-msg {
  flex: 1 0 100%;
  margin: 0;
  min-height: 1.2em;
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .foot-subscribe-form { flex: 1 1 100%; }
  .foot-subscribe-form button { flex: 1 1 100%; }
}

/* --- on-site popup -------------------------------------------------------- */

.bb-pop-scrim {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(37,37,37,.62);
  opacity: 0;
  transition: opacity .18s ease;
}
.bb-pop-scrim.in { opacity: 1; }

.bb-pop {
  position: relative;
  width: min(480px, 100%);
  max-height: 88vh; overflow-y: auto;
  padding: 30px 28px 26px;
  background: var(--bg);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 10px 10px 0 var(--ink);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
}
.bb-pop-scrim.in .bb-pop { transform: none; }
.bb-pop:focus { outline: none; }

.bb-pop-x {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: background-color .12s ease, transform .12s ease;
}
.bb-pop-x:hover, .bb-pop-x:focus-visible {
  background: var(--blue-light); transform: scale(1.08);
}

.bb-pop-img {
  display: block; width: 100%; height: auto;
  margin: 0 0 18px;
  border: 3px solid var(--ink); border-radius: 12px;
}

.bb-pop h3 {
  margin: 0 0 10px;
  padding-right: 34px;   /* clear the close button */
  color: var(--blue);
  font-family: var(--impact);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.04;
  text-transform: uppercase;
  -webkit-text-stroke: 0.04em var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}

.bb-pop p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 14px; line-height: 1.65;
}

.bb-pop-form { display: flex; flex-wrap: wrap; gap: 10px; }

.bb-pop-form input[type="email"] {
  flex: 1 1 200px; min-width: 0;
  padding: 12px 15px;
  background: var(--bg-card); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--body);
  font-size: 16px;   /* iOS zoom guard */
}
.bb-pop-form input:focus { outline: 0; box-shadow: 5px 5px 0 var(--blue); }

.bb-pop-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: var(--yellow); color: var(--fixed-dark);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 5px 0 rgba(37,37,37,.4);
  font-family: var(--condensed);
  font-size: 16px; font-style: italic; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease;
}
.bb-pop-btn:hover, .bb-pop-btn:focus-visible {
  background: var(--orange); transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(37,37,37,.4);
}

.bb-pop-err {
  margin: 10px 0 0 !important;
  color: var(--red); font-size: 13px !important; font-weight: 700;
}
.bb-pop-thanks {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: var(--condensed) !important;
  font-size: 18px !important; font-style: italic; font-weight: 800;
  text-transform: uppercase;
}

/* Custom-HTML popups: the admin owns the body, so only constrain the media. */
.bb-pop--html .bb-pop-custom img { max-width: 100%; height: auto; }

@media (max-width: 600px) {
  .bb-pop { padding: 26px 20px 22px; box-shadow: 6px 6px 0 var(--ink); }
  .bb-pop-form button, .bb-pop-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bb-pop-scrim, .bb-pop { transition: none; }
  .foot-subscribe-form button, .bb-pop-btn, .bb-pop-x { transition: none; }
}

/* --- touch targets for the detail arrow ------------------------------------
   The arrow is deliberately small (22–26px) so it doesn't shout next to the
   destination name, but that is well under the ~44px touch minimum — and it
   sits directly beside a link to the EXTERNAL site, so a near-miss sends the
   visitor off-site instead of to our own page. Measured 22x22 at 320px.

   Fix the hit area, not the look: a transparent ::after expands the tappable
   region on coarse pointers only, so the visual design is untouched and mouse
   users see no change. */
@media (pointer: coarse) {
  .dest-detail-arrow { position: relative; }
  .dest-detail-arrow::after {
    content: '';
    position: absolute;
    /* expands a 22px control to ~44px without moving anything in the layout */
    inset: -11px;
  }

  /* Same treatment for the popup close button (34px visual): dismissing a
     popup must never be the fiddly part of the interaction. */
  .bb-pop-x::after {
    content: '';
    position: absolute;
    inset: -6px;
  }
}

/* ===========================================================================
   ARTICLES — posts at root (/{slug}/) + the /articles/ hub.
   Body copy is admin-authored HTML, so these rules style bare tags rather than
   classes: whatever the editor writes has to look right without them knowing
   any class names.
   =========================================================================== */

.article-hero {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--ink);
}

.article-body {
  max-width: 68ch;      /* measure, not full width — long lines are unreadable */
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body > * + * { margin-top: 1.1em; }

.article-body h2 {
  margin-top: 1.8em;
  font-family: var(--impact);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--blue);
  -webkit-text-stroke: 0.03em var(--ink);
  paint-order: stroke fill;
}

.article-body h3 {
  margin-top: 1.5em;
  font-family: var(--condensed);
  font-size: clamp(18px, 1.8vw, 23px);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.article-body a { color: var(--blue-deep); text-decoration: underline; }
.article-body a:hover { color: var(--orange-hot); }

.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .45em; }
.article-body li { list-style: revert; }   /* the global reset kills markers */

.article-body img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 12px;
}

.article-body blockquote {
  margin-left: 0;
  padding: 14px 18px;
  border-left: 6px solid var(--orange);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

.article-body code {
  padding: 2px 6px;
  background: var(--bg-soft);
  border-radius: 4px;
  font-size: .92em;
}

.article-body hr { border: 0; border-top: 3px dashed var(--ink-faint); }

/* --- hub --- */

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink-soft);
}

.article-pagination { margin-top: 30px; }
.article-pagination svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .article-hero { box-shadow: 5px 5px 0 var(--ink); }
  .article-body { font-size: 16px; }   /* never below 16 — mobile readability */
}
