/* ============================================================
   WeAreQuadCities — discovery.css
   Shared cinematic layer for Directory + Guides + Listing pages.
   Loaded AFTER homepage.css, so it inherits every token, the
   topbar, buttons, footer, and the mono-eyebrow labels.
   "Different rooms, same building."
   ============================================================ */

/* duotone placeholder hues (premium, intentional — for not-yet
   photographed businesses; clearly a holding state, never broken) */
:root {
  --duo-brand-a: #1b4a66;  --duo-brand-b: #0c2433;
  --duo-brick-a: #7a2e1e;  --duo-brick-b: #3a160d;
  --duo-gold-a:  #9a6e22;  --duo-gold-b:  #4a3210;
  --duo-green-a: #2c5740;  --duo-green-b: #12281d;
}

/* ============================================================ shared section rhythm */
.d-section { padding: var(--pad-section) 0; }
.d-section + .d-section:not(.d-bleed) { border-top: 1px solid var(--rule); }

.d-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}
.d-head-tight { margin-bottom: 28px; }
.d-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.d-head h2 em { font-style: italic; color: var(--brick); }
.d-head p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 14px 0 0;
  max-width: 56ch;
  line-height: 1.55;
}

/* ============================================================ universal hero (discovery / guide / listing) */
.dhero {
  position: relative;
  overflow: hidden;
  background: #07121a;
  isolation: isolate;
  border-bottom: 1px solid var(--rule);
}
.dhero-img {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center 52%;
  filter: saturate(1.06) contrast(1.03);
  animation: dhero-pan 34s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes dhero-pan {
  0%   { transform: scale(1.05) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-1.4%, -1%, 0); }
}
.dhero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(255,196,120,.18), transparent 60%),
    linear-gradient(180deg, rgba(7,12,16,.20) 0%, rgba(7,12,16,.30) 38%, rgba(7,12,16,.82) 100%),
    linear-gradient(90deg, rgba(7,12,16,.55) 0%, rgba(7,12,16,0) 60%);
}
.dhero-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .32; mix-blend-mode: overlay;
}
.dhero-inner {
  position: relative;
  color: #fff;
  padding: 116px 0 132px;
}
.dhero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  backdrop-filter: blur(8px);
}
.dhero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin: 22px 0 18px;
  text-wrap: balance;
  max-width: 18ch;
}
.dhero h1 em { font-style: italic; color: var(--gold-soft); }
.dhero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}
.dhero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.dhero-breadcrumb a:hover { color: #fff; }
.dhero-breadcrumb .sep { opacity: .5; }
.dhero-credit {
  position: absolute;
  left: 0; bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ============================================================ search (shared, glass) */
.dsearch-shell { position: relative; max-width: 760px; margin-top: 34px; }
.dsearch-shell::before {
  content: ""; position: absolute; inset: -24px;
  background: radial-gradient(60% 70% at 50% 50%, rgba(255,255,255,.18), transparent 70%);
  filter: blur(26px); pointer-events: none;
}
.dsearch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  background: rgba(255,253,247,.96);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.7);
}
.dsearch-in { display: flex; align-items: center; gap: 14px; padding: 0 22px; }
.dsearch input {
  flex: 1; height: 72px; border: 0; outline: 0; background: transparent;
  font-family: var(--font-display); font-size: 21px; letter-spacing: -0.01em; color: var(--ink);
}
.dsearch input::placeholder { color: var(--ink-3); }
.dsearch-icon { color: var(--ink-3); flex: none; }
.dsearch-btn {
  height: 72px; padding: 0 28px; border: 0; background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.dsearch-btn:hover { background: var(--brand); }
.dhero-chips {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.dhero-chips > span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-right: 4px;
}
.dhero-chips a {
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); color: #fff; font-size: 13px; transition: background .12s;
}
.dhero-chips a:hover { background: rgba(255,255,255,.24); }

/* ============================================================ duotone placeholder (premium holding state) */
.ph {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(155deg, var(--duo-a, var(--duo-brand-a)) 0%, var(--duo-b, var(--duo-brand-b)) 100%);
}
.ph.tone-brand { --duo-a: var(--duo-brand-a); --duo-b: var(--duo-brand-b); }
.ph.tone-brick { --duo-a: var(--duo-brick-a); --duo-b: var(--duo-brick-b); }
.ph.tone-gold  { --duo-a: var(--duo-gold-a);  --duo-b: var(--duo-gold-b); }
.ph.tone-green { --duo-a: var(--duo-green-a); --duo-b: var(--duo-green-b); }
.ph::before {
  /* fine grain */
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .06; mix-blend-mode: screen;
}
.ph-glyph {
  position: absolute;
  right: -6%; bottom: -22%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13rem;
  line-height: 1;
  color: rgba(255,255,255,.09);
  pointer-events: none;
  user-select: none;
}
.ph-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
/* the "add photo" affordance only belongs on business listing media,
   never on category tiles, guide cards, or full-bleed heroes */
.cat-tile-img .ph-tag,
.gcard-img .ph-tag,
.dhero-img .ph-tag { display: none; }
.ph-tag .cam {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
}

/* ============================================================ canonical LISTING CARD */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.lcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--rule-soft); }
.lcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.lcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.lcard:hover .lcard-media img { transform: scale(1.05); }
.lcard-cat {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff;
  background: rgba(15,12,10,.42); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.lcard-save {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(15,12,10,.35); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); opacity: 0; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, background .15s;
}
.lcard:hover .lcard-save { opacity: 1; transform: translateY(0); }
.lcard-save:hover { background: var(--brick); border-color: var(--brick); }
.lcard-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.lcard-city {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3); display: flex; align-items: center; gap: 7px;
}
.lcard-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 21px; letter-spacing: -0.016em; line-height: 1.14; color: var(--ink);
  text-wrap: balance;
}
.lcard:hover .lcard-name { color: var(--brand); }
.lcard-desc {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0;
  text-wrap: pretty;
}
.lcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--rule);
  padding: 4px 9px; border-radius: var(--radius-pill);
}
.tag.river { color: var(--brand); border-color: color-mix(in oklab, var(--brand) 35%, var(--rule)); }
.tag.free  { color: var(--pos); border-color: color-mix(in oklab, var(--pos) 35%, var(--rule)); }
.tag.gem   { color: var(--brick); border-color: color-mix(in oklab, var(--brick) 35%, var(--rule)); }

/* horizontal listing card (browse list view / related) */
.lcard-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.lcard-row:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.lcard-row .lcard-media { aspect-ratio: auto; height: 100%; min-height: 168px; }
.lcard-row .lcard-body { padding: 20px 22px; }

/* ============================================================ CATEGORY TILE */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  cursor: pointer;
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--rule);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-tile-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.cat-tile:hover .cat-tile-img { transform: scale(1.06); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,14,18,.10) 0%, rgba(10,14,18,.30) 45%, rgba(10,14,18,.85) 100%);
}
.cat-tile-icon {
  position: absolute; top: 18px; left: 18px;
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); color: #fff;
}
.cat-tile-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 23px; letter-spacing: -0.015em; line-height: 1.08;
}
.cat-tile-blurb { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 5px; line-height: 1.4; }
.cat-tile-count {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255,255,255,.7); margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.cat-tile-count .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.cat-tile:hover .arrow { background: #fff; color: var(--ink); }

/* ============================================================ GUIDE CARD (large photography) */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  border: 1px solid var(--rule);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.gcard-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gcard:hover .gcard-img { transform: scale(1.07); }
.gcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,12,16,.12) 0%, rgba(8,12,16,.34) 42%, rgba(8,12,16,.88) 100%);
}
.gcard.big { min-height: 560px; padding: 40px; }
.gcard-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  display: inline-flex; align-items: center; gap: 10px;
}
.gcard-kicker::before { content:""; width: 22px; height: 1px; background: rgba(255,255,255,.6); }
.gcard-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 30px; letter-spacing: -0.02em; line-height: 1.04;
  margin: 14px 0 0; text-wrap: balance;
}
.gcard.big .gcard-title { font-size: clamp(34px, 3.6vw, 52px); }
.gcard-desc {
  font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.5;
  margin: 12px 0 0; max-width: 42ch;
}
.gcard-meta {
  margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,.72);
}
.gcard-meta .arrow {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.gcard:hover .gcard-meta .arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================================ BROWSE — filter bar + split view */
.browse-bar {
  position: sticky; top: 64px; z-index: 40;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.browse-bar-inner { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.chip-row { display: flex; gap: 8px; flex-wrap: nowrap; flex: 1; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  font-family: var(--font-sans); font-size: 13px;
  padding: 8px 15px; border-radius: var(--radius-pill);
  border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2);
  cursor: pointer; transition: all .14s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.browse-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.browse-count {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.04em; white-space: nowrap;
}
.seg {
  display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.seg button {
  width: 38px; height: 36px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink-3); border: 0; border-right: 1px solid var(--rule);
}
.seg button:last-child { border-right: 0; }
.seg button.active { background: var(--ink); color: var(--paper); }

.browse-split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; align-items: start; }
.browse-list { padding: 32px 0; }
.browse-list .card-grid { grid-template-columns: repeat(2, 1fr); }
.browse-map-col {
  position: sticky; top: 130px; height: calc(100vh - 130px);
  border-left: 1px solid var(--rule);
}

/* ============================================================ STYLIZED MAP */
.qcmap {
  position: relative; width: 100%; height: 100%;
  background: var(--paper-2); overflow: hidden;
}
.qcmap.framed { border: 1px solid var(--rule); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; height: auto; }
.qcmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.qcmap-pin {
  position: absolute; transform: translate(-50%, -100%);
  z-index: 3; cursor: pointer;
}
.qcmap-pin .dot {
  width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
  background: var(--brick); transform: rotate(-45deg);
  border: 2px solid var(--paper); box-shadow: 0 4px 10px -2px rgba(0,0,0,.4);
}
.qcmap-pin.active .dot { background: var(--brand); width: 22px; height: 22px; }
.qcmap-pin .lbl {
  position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--font-mono); font-size: 10px;
  background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 4px;
  opacity: 0; transition: opacity .15s; pointer-events: none; letter-spacing: 0.04em;
}
.qcmap-pin:hover .lbl, .qcmap-pin.active .lbl { opacity: 1; }
.qcmap-label {
  position: absolute; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  transform: translate(-50%, -50%); pointer-events: none;
}
.qcmap-river-label {
  font-style: italic; font-family: var(--font-display); font-size: 15px;
  letter-spacing: 0; text-transform: none; color: var(--brand-soft); opacity: .8;
}

/* ============================================================ LISTING DETAIL */
.ld-wrap { display: grid; grid-template-columns: 1fr 372px; gap: 56px; align-items: start; }
.ld-main { min-width: 0; }
.ld-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brick);
}
.ld-lede {
  font-family: var(--font-display); font-size: 22px; line-height: 1.5;
  color: var(--ink); margin: 0 0 26px; text-wrap: pretty; letter-spacing: -0.005em;
}
.ld-body p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; max-width: 62ch; }
.ld-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px;
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 8px;
}
.ld-gallery .g-main { grid-row: span 2; }
.ld-gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.ld-gallery .g-main { aspect-ratio: 3 / 2; }
.ld-gallery .g-sub { aspect-ratio: 3 / 2; }
.ld-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ld-gallery .more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15,12,10,.5); color: #fff; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em;
}
.ld-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 18px 0; border-bottom: 1px solid var(--rule); margin-bottom: 28px;
}
.ld-meta-row .city {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px;
}

/* sticky info panel */
.ld-panel {
  position: sticky; top: 88px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
.ld-panel-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.ld-panel-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.ld-panel-row .ico { color: var(--ink-3); flex: none; margin-top: 1px; }
.ld-panel-row b { color: var(--ink); font-weight: 500; }
.ld-open { color: var(--pos); font-weight: 500; }
.ld-panel-actions { display: flex; flex-direction: column; gap: 8px; padding: 0 22px 22px; }
.ld-feature-strip {
  background: var(--paper-2); border-top: 1px solid var(--rule);
  padding: 18px 22px;
}
.ld-feature-strip .lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.ld-feature-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px;
}
.ld-feature-link:last-child { border-bottom: 0; }
.ld-feature-link:hover .gn { color: var(--brand); }
.ld-feature-link .gn { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; }
.ld-feature-link .arrow { color: var(--ink-3); }

/* ============================================================ GUIDE PAGE — feature blocks */
.guide-intro {
  max-width: 760px;
}
.guide-intro p {
  font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.55; color: var(--ink); margin: 0; text-wrap: pretty;
  letter-spacing: -0.008em;
}
.guide-nav {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
  padding-top: 26px; border-top: 1px solid var(--rule);
}
.guide-nav-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); width: 100%; margin-bottom: 4px;
}
.guide-nav a {
  font-size: 13px; padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--rule); color: var(--ink-2); transition: all .14s;
}
.guide-nav a:hover { border-color: var(--ink); color: var(--ink); }

/* the reusable feature block — alternates image side */
.fblock {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--rule);
}
.fblock:last-of-type { border-bottom: 1px solid var(--rule); }
.fblock-media { position: relative; overflow: hidden; min-height: 460px; background: var(--paper-2); }
.fblock-media img { width: 100%; height: 100%; object-fit: cover; }
.fblock-text {
  padding: 56px 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.fblock:nth-child(even) .fblock-media { order: 2; }
.fblock-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brick);
  display: inline-flex; align-items: center; gap: 10px;
}
.fblock-kicker::before { content:""; width: 24px; height: 1px; background: var(--brick); }
.fblock-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.024em; line-height: 1.02;
  margin: 16px 0 10px; text-wrap: balance;
}
.fblock-loc {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.fblock-desc { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0 0 24px; max-width: 48ch; text-wrap: pretty; }
.fblock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.fblock-actions { display: flex; align-items: center; gap: 14px; }
.fblock-index {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: #fff; background: rgba(15,12,10,.4); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); padding: 5px 10px; border-radius: var(--radius-pill);
}

/* ============================================================ cross-link band (guide<->directory) */
.xband {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  border-radius: var(--radius-lg); padding: 52px 48px;
}
.xband-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; }
.xband::after { content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(90deg, rgba(8,12,16,.82) 0%, rgba(8,12,16,.5) 60%, rgba(8,12,16,.3) 100%); }
.xband-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
.xband h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.022em; line-height: 1.05; margin: 12px 0 16px; max-width: 20ch; text-wrap: balance;
}
.xband h2 em { font-style: italic; color: var(--gold-soft); }
.xband p { font-size: 15px; color: rgba(255,255,255,.82); max-width: 50ch; margin: 0 0 24px; line-height: 1.55; }

/* ============================================================ neighborhoods strip */
.hood-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hood {
  border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 20px; background: var(--paper); cursor: pointer; transition: all .15s;
}
.hood:hover { background: var(--paper-2); transform: translateY(-2px); }
.hood .n { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.014em; }
.hood .s { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.04em; }
.hood .st { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ============================================================ geodirectory band */
.gd-band {
  background: var(--brand-deep, #102E43);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 36px 0;
}
.gd-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.gd-band-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gd-band-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.gd-band-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}
.gd-band-sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  max-width: 52ch;
  line-height: 1.5;
}
.gd-band-btn { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 680px) {
  .gd-band-inner { flex-direction: column; align-items: flex-start; }
  .gd-band-btn { width: 100%; justify-content: center; }
}

/* ============================================================ responsive */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-split { grid-template-columns: 1fr; }
  .browse-map-col { display: none; }
  .browse-list .card-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-wrap { grid-template-columns: 1fr; gap: 36px; }
  .ld-panel { position: static; }
  .fblock { grid-template-columns: 1fr; }
  .fblock:nth-child(even) .fblock-media { order: 0; }
  .fblock-media { min-height: 320px; }
  .fblock-text { padding: 36px 32px; }
  .hood-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-grid, .card-grid.cols-4, .card-grid.cols-2,
  .guide-grid, .guide-grid.cols-2,
  .browse-list .card-grid { grid-template-columns: 1fr; }
  .dhero-inner { padding: 84px 0 92px; }
  .dsearch input { height: 60px; font-size: 18px; }
  .dsearch-btn { height: 60px; padding: 0 18px; }
  .dsearch-btn span { display: none; }
  .ld-gallery { grid-template-columns: 1fr 1fr; }
  .ld-gallery .g-main { grid-column: span 2; grid-row: auto; }
  .lcard-row { grid-template-columns: 1fr; }
  .lcard-row .lcard-media { aspect-ratio: 16/10; min-height: 0; }
  .d-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hood-row { grid-template-columns: 1fr; }
  .xband { padding: 36px 26px; }
  .fblock-text { padding: 28px 22px; }
}
