/* Form controls (added)
 * --------------------------------------------------- */
.form-label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A6168;
  margin: 0 0 8px;
}
.form-input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  background: #FFFFFF;
  border: 1px solid #C9C0AC;
  border-radius: 4px;
  color: #14181A;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-input:focus {
  outline: none;
  border-color: #8A6B2C;
  box-shadow: 0 0 0 3px rgba(138, 107, 44, 0.18);
}
textarea.form-input { resize: vertical; line-height: 1.5; }

.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #C9C0AC;
  border-radius: 4px;
  background: #FFFFFF;
  font-size: 13.5px;
  color: #2B3137;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.form-radio input { accent-color: #8A6B2C; }
.form-radio:hover { border-color: #8A6B2C; }
.form-radio.is-active { border-color: #8A6B2C; background: #FAF6EC; color: #14181A; }

/* Honduras Collectibles — redesign
 * Modern institutional / editorial. All sans, off-white paper, deep ink, brass accent.
 * Trustworthy directory, not auction theater.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces */
  --paper:        #F6F4EF;        /* warm off-white */
  --paper-2:      #EFEAE0;        /* slightly darker section */
  --card:         #FFFFFF;
  --line:         #E2DCCE;
  --line-strong:  #C9C0AC;
  --rule:         #1A1F1C;

  /* Ink */
  --ink:          #14181A;
  --ink-2:        #2B3137;
  --ink-3:        #5A6168;
  --mute:         #8A8E8F;

  /* Accents */
  --brass:        #8E6B2A;        /* the one accent */
  --brass-2:      #B58A3E;
  --brass-soft:   rgba(142, 107, 42, 0.08);
  --signal:       #1F5D3F;        /* fresh, used for badges */
  --warn:         #8C3A2A;

  /* Type */
  --display:      "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:         "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --bound:        1240px;
  --bound-narrow: 920px;
  --prose:        680px;

  /* Numbers */
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ============== utility ============== */
.wrap { max-width: var(--bound); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: var(--bound-narrow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--brass);
}
.kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ============== top bar (spot ticker + utility nav) ============== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.topbar__inner {
  max-width: var(--bound);
  margin: 0 auto;
  padding: 8px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.ticker {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
  color: rgba(246, 244, 239, 0.78);
}
.ticker__item { display: inline-flex; align-items: baseline; gap: 8px; }
.ticker__lbl { color: rgba(246, 244, 239, 0.52); }
.ticker__val { color: var(--paper); font-weight: 500; }
.ticker__delta--up   { color: #7DD68F; }
.ticker__delta--down { color: #E89A8A; }
.topbar__util { display: flex; gap: 18px; color: rgba(246, 244, 239, 0.7); }
.topbar__util a:hover { color: var(--paper); }
.topbar__caveat { color: rgba(246, 244, 239, 0.52); }

/* ============== header / nav ============== */
.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(140%) blur(6px);
  background: rgba(246, 244, 239, 0.92);
}
.site-head__inner {
  max-width: var(--bound);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #D2A65A 0%, var(--brass-2) 45%, var(--brass) 80%);
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after {
  content: ""; position: absolute;
  inset: 8px; border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.brand__name { line-height: 1; }
.brand__tag {
  display: block;
  font-family: var(--mono); font-size: 10px;
  font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); border-bottom-color: var(--brass); }
.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--r);
  font-size: 13px; font-weight: 500;
  transition: background .15s;
}
.head-cta:hover { background: var(--ink-2); }

/* ============== buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s;
}
.btn--primary {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--ink-2); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--card); border-color: var(--ink); }
.btn--brass {
  background: var(--brass); color: var(--paper); border-color: var(--brass);
}

/* ============== homepage hero ============== */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero__copy h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__copy h1 em {
  font-style: normal;
  color: var(--brass);
}
.hero__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero__search {
  display: flex; gap: 0;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 6px;
  max-width: 560px;
  box-shadow: 0 1px 0 rgba(20,24,26,0.04);
}
.hero__search select,
.hero__search input {
  flex: 1;
  border: 0; background: transparent;
  padding: 12px 14px;
  font: inherit; color: var(--ink);
  outline: none;
}
.hero__search select { max-width: 160px; border-right: 1px solid var(--line); border-radius: 0; }
.hero__search button {
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: var(--r);
  padding: 0 22px;
  font-weight: 500; font-size: 14px;
}
.hero__meta {
  display: flex; gap: 28px; margin-top: 22px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
}
.hero__meta strong { color: var(--ink); font-weight: 500; }

/* hero stat panel */
.statpanel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.statpanel__head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--paper-2);
}
.statpanel__head h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.statpanel__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal);
}
.statpanel__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(31, 93, 63, 0.18);
}
.statpanel__rows { display: grid; grid-template-columns: 1fr 1fr; }
.statpanel__row {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statpanel__row:nth-child(2n) { border-right: 0; }
.statpanel__row:nth-last-child(-n+2) { border-bottom: 0; }
.statpanel__lbl {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 8px;
}
.statpanel__val {
  font-family: var(--display);
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink);
}
.statpanel__delta {
  font-family: var(--mono); font-size: 11px;
  margin-left: 6px;
  color: var(--ink-3);
}
.statpanel__delta--up   { color: var(--signal); }
.statpanel__delta--down { color: var(--warn); }
.statpanel__foot {
  padding: 12px 18px;
  font-family: var(--mono); font-size: 11px;
  color: var(--mute);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

/* ============== section block ============== */
.section { padding: 72px 0; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.section__title h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.018em;
  margin: 10px 0 0;
  color: var(--ink);
  max-width: 600px;
}
.section__title p {
  margin: 12px 0 0;
  color: var(--ink-3);
  max-width: 520px;
  font-size: 15px;
}
.section__link {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  white-space: nowrap;
}
.section__link:hover { color: var(--brass); border-color: var(--brass); }

/* ============== featured plate (single big card) ============== */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature__photo {
  position: relative;
  background: var(--paper-2);
  min-height: 480px;
  overflow: hidden;
}
.feature__photo img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.feature__badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--line-strong);
}
.feature__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.feature__name {
  font-family: var(--display); font-weight: 600;
  font-size: 38px; line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.feature__loc {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 22px;
}
.feature__copy {
  font-size: 16.5px; line-height: 1.6;
  color: var(--ink-2); margin: 0 0 24px;
}
.feature__signals {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px;
}
.signal {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--body);
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  background: var(--brass-soft);
  color: var(--brass);
  border-radius: 100px;
}
.signal::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brass);
}
.feature__meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.feature__meta dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 6px;
}
.feature__meta dd {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--ink);
}
.feature__meta dd small {
  display: block;
  font-family: var(--body); font-weight: 400;
  font-size: 12px; color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0;
}

/* ============== card grid (mini plates) ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.card__photo {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__city {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(20, 24, 26, 0.85);
  color: var(--paper);
  padding: 4px 10px; border-radius: 100px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.card__desc {
  font-size: 13.5px; color: var(--ink-3);
  line-height: 1.5; margin: 0;
  flex: 1;
}
.card__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: 12px; margin-top: 4px;
  border-top: 1px solid var(--line);
}
.card__rating { color: var(--ink); font-weight: 500; }
.card__rating::before {
  content: "★"; color: var(--brass); margin-right: 4px;
}
.card__signals { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.card__signals .signal {
  font-size: 10.5px; padding: 3px 8px; letter-spacing: 0;
}

/* ============== specialty grid (services) ============== */
.specialties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.spec {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .15s;
}
.spec:hover { background: var(--paper-2); }
.spec:nth-child(3n) { border-right: 0; }
.spec:nth-last-child(-n+3) { border-bottom: 0; }
.spec__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--brass-soft);
  color: var(--brass);
  border-radius: var(--r);
}
.spec__count {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.015em;
  color: var(--ink);
}
.spec__count small {
  font-family: var(--mono); font-size: 11px;
  font-weight: 400; color: var(--ink-3);
  margin-left: 6px; letter-spacing: 0.08em;
}
.spec h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
}
.spec p {
  margin: 0;
  font-size: 14px; line-height: 1.5;
  color: var(--ink-3);
}
.spec__cta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass); margin-top: auto;
}

/* ============== state grid ============== */
.states {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.state {
  background: var(--card);
  padding: 18px 18px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .15s;
}
.state:hover { background: var(--paper-2); }
.state__name {
  font-family: var(--display); font-weight: 600;
  font-size: 15px; letter-spacing: -0.005em;
  color: var(--ink);
}
.state__count {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
}

/* ============== methodology block ============== */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.method__step {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.method__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 12px;
  font-weight: 500;
}
.method__step h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 0 0 12px; color: var(--ink);
}
.method__step p {
  margin: 0; color: var(--ink-2);
  font-size: 15px; line-height: 1.6;
}

/* ============== faq ============== */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  font-family: var(--display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.01em;
  margin: 0 0 10px; color: var(--ink);
}
.faq__a {
  margin: 0; color: var(--ink-2);
  font-size: 15.5px; line-height: 1.65;
  max-width: 720px;
}

/* ============== footer ============== */
.foot {
  background: var(--ink);
  color: rgba(246, 244, 239, 0.7);
  padding: 56px 0 24px;
  margin-top: 80px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.12);
}
.foot__brand .brand { color: var(--paper); }
.foot__brand p {
  margin: 16px 0 0;
  font-size: 14px; line-height: 1.55;
  max-width: 360px;
}
.foot__col h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(246, 244, 239, 0.5);
  font-weight: 500;
  margin: 0 0 14px;
}
.foot__col a {
  display: block;
  padding: 5px 0;
  color: rgba(246, 244, 239, 0.85);
  font-size: 14px;
}
.foot__col a:hover { color: var(--brass-2); }
.foot__bot {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: rgba(246, 244, 239, 0.45);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}
.foot__legal { display: flex; gap: 16px; }
.foot__legal a:hover { color: var(--paper); }

/* ============== LISTING PAGE (ledger) ============== */
.ledger { padding: 40px 0 80px; }
.ledger__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.ledger__head h1 {
  font-family: var(--display); font-weight: 600;
  font-size: 44px; letter-spacing: -0.022em; line-height: 1.05;
  margin: 12px 0 8px;
}
.ledger__head p { margin: 0; max-width: 640px; color: var(--ink-3); }
.ledger__stats {
  display: flex; gap: 28px;
}
.ledger__stat {
  border-left: 1px solid var(--line); padding-left: 14px;
}
.ledger__stat dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 4px;
}
.ledger__stat dd {
  font-family: var(--display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.015em;
  margin: 0; color: var(--ink);
}
.ledger__body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.filters {
  position: sticky; top: 110px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 6px 0;
}
.filters__group { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.filters__group:last-child { border-bottom: 0; }
.filters__group h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin: 0 0 12px;
}
.filters__group a {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px; color: var(--ink-2);
}
.filters__group a:hover { color: var(--ink); }
.filters__group a span { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.filters__group a.is-active {
  color: var(--brass); font-weight: 500;
}
.filters__group a.is-active span { color: var(--brass); }

.results__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.results__count strong { color: var(--ink); font-weight: 600; }
.results__sort {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
}
.results__sort select {
  border: 1px solid var(--line);
  background: var(--card); border-radius: var(--r-sm);
  padding: 4px 8px; font: inherit;
}

.row {
  display: grid;
  grid-template-columns: 110px 1fr 200px 100px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.row:hover { background: rgba(255,255,255,0.5); }
.row__thumb {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
}
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__name {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em;
  margin: 0 0 4px; color: var(--ink);
}
.row__loc {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-3);
  margin: 0 0 8px;
}
.row__desc {
  margin: 0 0 8px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 600px;
}
.row__signals { display: flex; flex-wrap: wrap; gap: 6px; }
.row__signals .signal { font-size: 11px; padding: 3px 9px; }
.row__rating {
  text-align: right;
}
.row__rating strong {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.015em;
  display: block;
}
.row__rating strong::before {
  content: "★"; color: var(--brass); margin-right: 4px; font-size: 18px;
}
.row__rating small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
}
.row__cta {
  text-align: right;
}
.row__cta a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
}
.row__cta a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.row--limited { opacity: 0.7; }
.row--limited .row__cta a {
  pointer-events: none;
  color: var(--mute);
  border-style: dashed;
}

.pager {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: 36px;
}
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
}
.pager .is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .pager__sep { border: 0; background: transparent; }

/* ============== DETAIL PAGE ============== */
.crumbs {
  padding: 18px 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; color: var(--mute); }

.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--line);
}
.detail-hero__photo {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.detail-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.detail-hero__gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity .15s;
}
.detail-hero__gallery img:hover { opacity: 1; }

.detail-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 14px 0 10px;
  text-wrap: balance;
}
.detail-hero__loc {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.detail-hero__lede {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 22px;
}
.detail-hero__meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 22px;
}
.detail-hero__meta div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-hero__meta div:nth-child(2n) { border-right: 0; }
.detail-hero__meta div:nth-last-child(-n+2) { border-bottom: 0; }
.detail-hero__meta dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 6px;
}
.detail-hero__meta dd {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.005em;
  color: var(--ink);
}
.detail-hero__meta dd small {
  display: block;
  font-family: var(--body); font-weight: 400;
  font-size: 12px; color: var(--ink-3);
  margin-top: 4px; letter-spacing: 0;
}
.detail-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0;
}
.detail-body__main h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.015em;
  margin: 40px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.detail-body__main h2:first-child { margin-top: 0; }
.detail-body__main p {
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  margin: 0 0 16px; max-width: 680px;
}
.detail-body__main ul { padding-left: 22px; color: var(--ink-2); }
.detail-body__main ul li { margin-bottom: 8px; }

.evidence {
  border-left: 3px solid var(--brass);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
}
.evidence p { font-size: 16px; color: var(--ink); margin: 0 0 6px; max-width: 620px; }
.evidence cite {
  font-family: var(--mono); font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14px;
}
.compare thead th {
  background: var(--paper-2);
  text-align: left;
  padding: 14px 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.compare thead th:first-child { background: var(--card); }
.compare thead th.is-this {
  background: var(--ink); color: var(--paper);
}
.compare tbody th {
  text-align: left; font-weight: 500;
  padding: 14px 16px; color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 13px;
}
.compare tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.compare tbody td:last-child, .compare tbody th:last-child { border-right: 0; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody td.is-this { background: var(--brass-soft); color: var(--ink); font-weight: 500; }

.detail-aside {
  position: sticky; top: 110px;
  align-self: start;
  display: flex; flex-direction: column; gap: 18px;
}
.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.aside-card h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 16px; letter-spacing: -0.005em;
  margin: 0 0 12px; color: var(--ink);
}
.aside-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aside-card dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 4px;
}
.aside-card dd {
  margin: 0; font-size: 14px; color: var(--ink); font-weight: 500;
}
.aside-card .btn { width: 100%; justify-content: center; }
.aside-map {
  aspect-ratio: 4 / 3;
  background-color: var(--paper-2);
  border-radius: var(--r-lg);
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.aside-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  /* Lift contrast slightly to fit the warm-paper palette */
  filter: saturate(0.95);
}
.aside-map__cta {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 12px;
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(20, 24, 26, 0.25);
  transition: background 0.15s;
}
.aside-map__cta:hover { background: var(--brass); }
.aside-map__cta { z-index: 500; box-shadow: 0 2px 8px rgba(20,24,26,0.35); }
.aside-map__noscript { padding: 16px; display: block; color: var(--brass); }

/* Leaflet styling tweaks to fit the brass + paper palette */
.aside-map--leaflet { aspect-ratio: 4 / 3; }
.leaflet-brass-marker {
  background: transparent;
  border: 0;
  filter: drop-shadow(0 4px 8px rgba(20,24,26,0.25));
}
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(246,244,239,0.85) !important;
}
.leaflet-popup-content-wrapper {
  border-radius: var(--r) !important;
  background: var(--card);
}
.leaflet-popup-content {
  font-family: var(--body);
  font-size: 13px;
  margin: 10px 14px;
  color: var(--ink-2);
}
.leaflet-container { font-family: var(--body); }

.qa { display: grid; gap: 0; }
.qa__item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.qa__item:last-child { border-bottom: 1px solid var(--line); }
.qa__q {
  font-family: var(--display); font-weight: 600;
  font-size: 17px; margin: 0 0 8px; color: var(--ink);
}
.qa__a {
  margin: 0; color: var(--ink-2);
  font-size: 15px; line-height: 1.6;
  max-width: 740px;
}

/* ============== ABOUT / METHOD page ============== */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.022em; line-height: 1.05;
  margin: 14px 0 18px;
  max-width: 800px;
  text-wrap: balance;
}
.page-hero p {
  font-size: 19px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0;
}
.prose {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 56px 0;
}
.prose h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.015em;
  margin: 40px 0 14px;
}
.prose h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; margin: 28px 0 10px;
}
.prose p { color: var(--ink-2); margin: 0 0 16px; line-height: 1.7; font-size: 16.5px; }
.prose ul { color: var(--ink-2); padding-left: 22px; }
.prose ul li { margin-bottom: 8px; line-height: 1.6; }
.prose blockquote {
  border-left: 3px solid var(--brass);
  margin: 24px 0; padding: 6px 0 6px 18px;
  color: var(--ink); font-size: 17px;
}

/* ============== CONTACT page ============== */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 56px 0;
}
.contact__info h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em; margin: 28px 0 10px;
}
.contact__info p { color: var(--ink-2); margin: 0; line-height: 1.6; }
.contact__info a { color: var(--brass); border-bottom: 1px solid var(--brass-soft); }
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.form__row {
  margin-bottom: 18px;
}
.form__row label {
  display: block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  border-color: var(--ink);
  background: var(--card);
}
.form__row textarea { resize: vertical; min-height: 120px; }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============== GLOSSARY ============== */
.gloss-nav {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.gloss-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
}
.gloss-nav a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gloss-nav a.is-disabled { opacity: 0.3; pointer-events: none; }

.gloss-section { padding: 40px 0 0; }
.gloss-section__letter {
  font-family: var(--display); font-weight: 600;
  font-size: 56px; letter-spacing: -0.03em;
  color: var(--brass);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 24px;
}
.gloss-list {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}
.gloss-term {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.gloss-term dt {
  font-family: var(--display); font-weight: 600;
  font-size: 17px; color: var(--ink);
  margin-bottom: 6px;
}
.gloss-term dt small {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass); margin-left: 8px;
  font-weight: 500;
}
.gloss-term dd {
  margin: 0; font-size: 14.5px; line-height: 1.55;
  color: var(--ink-2);
}

/* ============== GUIDE LIST / DETAIL ============== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.guide-card__photo {
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.guide-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__photo .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--line);
}
.guide-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.guide-card__body h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.015em;
  margin: 0; color: var(--ink); line-height: 1.2;
}
.guide-card__body p {
  font-size: 14px; color: var(--ink-3); line-height: 1.55;
  margin: 0; flex: 1;
}
.guide-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.guide-card__meta a {
  color: var(--brass);
}

.guide-detail { padding: 56px 0; }
.guide-detail__head { max-width: 760px; margin: 0 auto; text-align: center; }
.guide-detail__head h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.022em; line-height: 1.05;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.guide-detail__lede {
  font-size: 19px; line-height: 1.5; color: var(--ink-2);
  max-width: 640px; margin: 0 auto;
}
.guide-detail__meta {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 24px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.06em;
}
.guide-detail__hero {
  aspect-ratio: 21 / 9;
  margin: 40px auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  max-width: 1080px;
}
.guide-detail__hero img { width: 100%; height: 100%; object-fit: cover; }

/* ============== POLICY ============== */
.policy { padding: 40px 0; }
.policy__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
}
.policy__nav { position: sticky; top: 110px; align-self: start; }
.policy__nav h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px;
}
.policy__nav a {
  display: block; padding: 6px 0;
  font-size: 14px; color: var(--ink-2);
  border-left: 2px solid transparent;
  padding-left: 12px;
}
.policy__nav a.is-active { color: var(--brass); border-color: var(--brass); }
.policy__body h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.015em;
  margin: 32px 0 12px;
}
.policy__body h2:first-child { margin-top: 0; }
.policy__body p, .policy__body li {
  color: var(--ink-2); line-height: 1.7;
  font-size: 15.5px;
}
.policy__body ul { padding-left: 22px; }

/* ============== 404 ============== */
.notfound {
  text-align: center;
  padding: 120px 0 80px;
}
.notfound__num {
  font-family: var(--display); font-weight: 600;
  font-size: 200px; letter-spacing: -0.04em;
  color: var(--brass); line-height: 1;
  margin: 0;
}
.notfound h1 {
  font-family: var(--display); font-weight: 600;
  font-size: 38px; letter-spacing: -0.018em;
  margin: 24px 0 14px;
}
.notfound p {
  font-size: 17px; color: var(--ink-2);
  max-width: 520px; margin: 0 auto 28px;
  line-height: 1.6;
}
.notfound__actions { display: inline-flex; gap: 12px; }

/* ============== responsive ============== */
@media (max-width: 980px) {
  .hero__grid, .feature, .detail-hero, .detail-body, .ledger__body,
  .contact, .gloss-list, .policy__inner, .foot__grid {
    grid-template-columns: 1fr;
  }
  .feature__photo { min-height: 320px; }
  .cards, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties { grid-template-columns: 1fr 1fr; }
  .specialties .spec:nth-child(3n) { border-right: 1px solid var(--line); }
  .specialties .spec:nth-child(2n) { border-right: 0; }
  .states { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 80px 1fr; gap: 14px; }
  .row__rating, .row__cta { display: none; }
  .nav { display: none; }
  .topbar__util { display: none; }
  .ticker { font-size: 10.5px; gap: 14px; }
  .filters { position: static; }
  .detail-aside { position: static; }
}
@media (max-width: 600px) {
  .cards, .guide-grid, .specialties, .states { grid-template-columns: 1fr; }
  .specialties .spec { border-right: 0 !important; }
  .method { grid-template-columns: 1fr; }
  .ledger__head { grid-template-columns: 1fr; }
  .ledger__stats { flex-wrap: wrap; }
}

/* ============== mobile burger toggle (added for honduras PHP nav) ============== */
.nav-toggle { display: none; }
.burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .18s, opacity .18s;
}
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .site-head__inner { flex-wrap: wrap; }
  .head-cta { display: none; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--line);
    margin: 14px -28px -18px;
    padding: 6px 28px 14px;
    background: var(--paper);
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-bottom-color: var(--line) !important;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============== page-head (about / contact / glossary / 404) ============== */
.page-head { padding: 24px 0 32px; max-width: 760px; }
.page-head h1 {
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 8px 0 16px;
}
.page-head p {
  font-size: 18px; color: var(--ink-2); line-height: 1.55;
  max-width: 640px; margin: 0;
}

/* ============== about: 4-step "how" methodology ============== */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.how__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.how__num {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: 28px; letter-spacing: -0.015em;
  color: var(--brass);
  margin: 0 0 6px;
}
.how__item h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--ink);
}
.how__item p {
  margin: 0;
  font-size: 15px; line-height: 1.65;
  color: var(--ink-2);
}

/* ============== about: publish vs don't-publish 2-col ============== */
.publish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.publish-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--card);
  border-radius: var(--r);
}
.publish-card h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em;
  color: var(--ink);
}
.publish-card ul {
  margin: 0; padding: 0 0 0 18px;
  color: var(--ink-2); line-height: 1.65; font-size: 15px;
}
.publish-card li { margin-bottom: 6px; }

/* ============== about: 6 signal grid w/ green dot ============== */
.signal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; padding: 16px 0; }
.signal-row {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.signal__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  margin-top: 6px;
  flex-shrink: 0;
}
.signal-row h4 {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; margin: 0 0 6px;
  color: var(--ink);
}
.signal-row p {
  margin: 0; font-size: 14px;
  color: var(--ink-2); line-height: 1.5;
}

/* ============== about: disclosures prose ============== */
.disclosures {
  max-width: 760px;
  color: var(--ink-2); line-height: 1.65;
  font-size: 16px;
  padding-bottom: 16px;
}
.disclosures p { margin: 0 0 14px; }

/* ============== contact page grid ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
}
.contact-form-wrap {
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.contact-form-wrap h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 28px; margin: 6px 0 24px;
  letter-spacing: -0.01em; color: var(--ink);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 0.6fr; gap: 16px; }
.form-radio-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.form-radio-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-aside .aside-card.is-dark { background: var(--ink); color: var(--paper); }
.contact-aside .aside-card.is-dark h3 { color: var(--paper); }
.contact-aside .aside-card.is-dark p { margin: 0; font-size: 14px; color: rgba(246,244,239,0.78); line-height: 1.55; }
.contact-aside .aside-card ol {
  margin: 0; padding: 0 0 0 18px;
  color: var(--ink-2); line-height: 1.6; font-size: 14px;
}
.contact-aside .aside-card a { color: var(--brass); }
.contact-form-row label { display: block; }

/* ============== glossary ============== */
.gloss-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 8px 0 64px;
}
.gloss-toc {
  position: sticky; top: 96px; align-self: start;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.gloss-toc h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
}
.gloss-toc ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.gloss-toc a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  color: var(--ink); font-size: 14px;
  border-bottom: 1px solid var(--line);
  transition: color 120ms ease;
}
.gloss-toc a:hover { color: var(--brass); }
.gloss-toc a span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

.gloss-letter {
  padding: 32px 0 8px;
  border-top: 1px solid var(--ink);
  margin-top: 28px;
  display: flex; align-items: baseline; gap: 16px;
}
.gloss-letter:first-child { margin-top: 0; }
.gloss-letter h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 56px; line-height: 1; margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.gloss-letter span {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.term {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.term__name {
  font-family: var(--display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
}
.term__name small {
  display: block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-3); text-transform: uppercase;
  margin-top: 6px; font-weight: 400;
}
.term__def {
  color: var(--ink-2); line-height: 1.6;
  font-size: 15px;
}
.term__def p { margin: 0 0 10px; }
.term__see {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--ink-3); text-transform: uppercase;
}
.term__see a {
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
}

/* ============== 404 (overrides legacy .notfound — bigger numeral) ============== */
.nf-stage {
  min-height: calc(100vh - 200px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.nf-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(160px, 22vw, 320px);
  line-height: 0.85; letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0; position: relative;
}
.nf-num span {
  display: inline-block;
  color: var(--brass);
}
.nf-num::after {
  content: 'RECORD NOT FOUND IN INDEX';
  position: absolute; bottom: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-3);
}
.nf-copy h1 {
  font-family: var(--display); font-weight: 600;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.015em;
  margin: 8px 0 16px;
}
.nf-copy p {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2); margin: 0 0 24px;
  max-width: 460px;
}
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.nf-suggest {
  border-top: 1px solid var(--ink);
  padding-top: 18px; margin-top: 12px;
}
.nf-suggest h3 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px;
  font-weight: 500;
}
.nf-suggest ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.nf-suggest a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  color: var(--ink); font-size: 15px;
  border-bottom: 1px solid var(--line);
  transition: color 120ms ease;
}
.nf-suggest a:hover { color: var(--brass); }
.nf-suggest a span {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============== editorial note callout (hotel detail bottom) ============== */
.editorial-note {
  font-family: var(--mono);
  font-size: 12px; line-height: 1.6;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 14px 16px;
  border-radius: var(--r);
  border-left: 3px solid var(--brass);
  margin: 24px 0;
}

/* ============== source-layers checklist (hotel aside) ============== */
.source-layers { display: flex; flex-direction: column; gap: 8px; }
.source-layer {
  display: flex; justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.source-layer:last-child { border-bottom: 0; padding-bottom: 0; }
.source-layer__ok {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 11px;
}

/* ============== mobile (page-specific) ============== */
@media (max-width: 980px) {
  .how { grid-template-columns: 1fr; }
  .publish-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; gap: 0 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .gloss-wrap { grid-template-columns: 1fr; gap: 24px; }
  .gloss-toc { position: static; padding-top: 0; }
  .term { grid-template-columns: 1fr; gap: 8px; }
  .nf-stage { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .nf-num { font-size: clamp(120px, 30vw, 200px); }
}

/* ============== article (guide detail) ============== */
.article {
  max-width: 760px; margin: 0 auto;
  padding: 24px 0 64px;
  font-size: 17px; line-height: 1.7;
}
.article h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 28px; letter-spacing: -0.015em;
  margin: 36px 0 12px;
  color: var(--ink);
}
.article p { margin: 0 0 18px; color: var(--ink-2); }
.article p strong { color: var(--ink); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; color: var(--ink-2); }
.article ul li, .article ol li { margin-bottom: 8px; line-height: 1.6; }

.author-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 28px;
}
.author-strip img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
}
.author-strip__name {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: 15px; letter-spacing: -0.005em;
  color: var(--ink);
}
.author-strip__meta {
  margin: 2px 0 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.lede {
  font-size: 21px; line-height: 1.5;
  color: var(--ink); font-weight: 500;
  margin: 0 0 28px;
  text-wrap: balance;
}

.pull {
  border-left: 4px solid var(--brass);
  margin: 32px 0;
  padding: 12px 0 12px 24px;
  font-family: var(--display);
  font-size: 22px; line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Calc / data table inside articles */
.calc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px 18px;
  margin: 24px 0;
}
.row-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.row-line:last-child { border-bottom: 0; }
.row-line strong { color: var(--ink); font-weight: 600; }

/* ============== policy page (privacy/terms) ============== */
.policy-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.policy-toc {
  position: sticky; top: 96px; align-self: start;
  border-top: 1px solid var(--ink); padding-top: 20px;
}
.policy-toc h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
  font-weight: 500;
}
.policy-toc a {
  display: block; padding: 6px 0;
  font-size: 14px; color: var(--ink-2);
  border-left: 2px solid transparent;
  padding-left: 12px;
}
.policy-toc a.is-active { color: var(--brass); border-color: var(--brass); }
.policy-section {
  border-top: 1px solid var(--ink);
  padding-top: 28px;
  margin-bottom: 36px;
}
.policy-section h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink);
}
.policy-section h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; margin: 24px 0 10px;
  color: var(--ink);
}
.policy-section p, .policy-section li {
  color: var(--ink-2); line-height: 1.7;
  font-size: 15.5px;
}
.policy-section ul, .policy-section ol { padding-left: 22px; }
.policy-section li { margin-bottom: 6px; }

@media (max-width: 980px) {
  .policy-grid { grid-template-columns: 1fr; gap: 24px; }
  .policy-toc { position: static; padding-top: 0; }
}

/* ============================================================
 * MOBILE POLISH (≤720px) — comprehensive overrides
 * The redesign's responsive rules collapse multi-column grids
 * but leave several elements (hero h1, meta, stat panel rows,
 * ticker, search form, action buttons, table-in-card) too wide
 * for narrow viewports. This block tightens them.
 * ============================================================ */
@media (max-width: 720px) {
  /* Wrap container: tighter padding */
  .wrap { padding: 0 18px; }

  /* Topbar ticker: hide reference band on mobile (taking 3 lines), keep util nav */
  .topbar__inner { flex-wrap: wrap; gap: 8px; padding: 8px 18px; }
  .ticker { gap: 12px; font-size: 10px; flex-direction: column; align-items: flex-start; }
  .ticker__caveat { display: none; }
  .topbar__util { gap: 14px; font-size: 10px; }

  /* Header: tighter padding, smaller brand */
  .site-head__inner { padding: 12px 18px; gap: 12px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__mark::after { inset: 7px; }
  .brand__tag { font-size: 9px; }

  /* Hero: tighter h1, full-width search stack, wrapped meta */
  .hero { padding: 32px 0 28px; }
  .hero__grid { gap: 28px; align-items: stretch; }
  .hero__copy h1 { font-size: 30px !important; line-height: 1.08; margin: 12px 0 14px; letter-spacing: -0.018em; }
  .hero__lede { font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
  .hero__search {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    gap: 4px;
  }
  .hero__search select,
  .hero__search input {
    max-width: none !important;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 10px;
  }
  .hero__search input { border-bottom: 0; }
  .hero__search button {
    padding: 12px;
    border-radius: var(--r);
    margin-top: 4px;
  }
  .hero__meta {
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 18px;
    font-size: 11px;
  }

  /* Stat panel: 1-col rows on mobile, smaller numbers */
  .statpanel__rows { grid-template-columns: 1fr; }
  .statpanel__row {
    border-right: 0;
    padding: 14px 16px;
  }
  .statpanel__row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .statpanel__row:last-child { border-bottom: 0; }
  .statpanel__val { font-size: 22px; }
  .statpanel__head { padding: 10px 14px; }
  .statpanel__foot { padding: 10px 14px; font-size: 10.5px; }

  /* Section heads: stack title + link */
  .section { padding: 40px 0; }
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }
  .section__title h2 { font-size: 24px; max-width: none; }
  .section__title p { font-size: 14px; }
  .section__link { white-space: normal; }

  /* Featured: stack and tighten */
  .feature__photo { min-height: 220px; }
  .feature__body { padding: 24px 22px; }
  .feature__name { font-size: 28px; }
  .feature__copy { font-size: 15px; }
  .feature__meta { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; margin-bottom: 18px; }
  .feature__meta dd { font-size: 18px; }
  .detail-hero__actions { flex-direction: column; gap: 8px; }
  .detail-hero__actions .btn { width: 100%; justify-content: center; }

  /* Cards: 1-col, tighter */
  .cards { grid-template-columns: 1fr !important; gap: 14px; }
  .card__body { padding: 16px 18px 18px; }
  .card__title { font-size: 17px; }

  /* Specialties: 1-col, fix the nth-child border bug */
  .specialties { grid-template-columns: 1fr !important; }
  .spec { border-right: 0 !important; }
  .spec:last-child { border-bottom: 0; }
  .spec { padding: 24px 22px; }
  .spec__count { font-size: 24px; }

  /* States: 2-col on mobile (6-col way too cramped) */
  .states { grid-template-columns: 1fr 1fr; }
  .state { padding: 14px 14px; }
  .state__name { font-size: 14px; }

  /* Method: stack */
  .method { grid-template-columns: 1fr; gap: 24px; }
  .method__step { padding-top: 16px; }
  .method__step h3 { font-size: 19px; }

  /* FAQ: tighter */
  .faq__item { padding: 18px 0; }
  .faq__q { font-size: 17px; }
  .faq__a { font-size: 14.5px; }

  /* Footer: stack columns */
  .foot__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .foot__bot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot__brand p { max-width: none; }
  .foot { padding: 36px 0 20px; margin-top: 48px; }

  /* ===== About / static pages ===== */
  .page-head { padding: 16px 0 22px; }
  .page-head h1 { font-size: 30px !important; }
  .page-head p { font-size: 16px; }
  .how { gap: 14px; }
  .how__item { padding: 22px 20px; }
  .publish-grid { gap: 14px; }
  .publish-card { padding: 22px 20px; }

  /* ===== Contact ===== */
  .contact-grid { gap: 28px; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .form-radio-grid-2, .form-radio-grid-3 { grid-template-columns: 1fr; }

  /* ===== Glossary ===== */
  .gloss-letter h2 { font-size: 38px; }
  .term { padding: 16px 0; }
  .term__name { font-size: 18px; }
  .term__def { font-size: 14.5px; }

  /* ===== Listing (ledger) ===== */
  .ledger__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ledger__head h1 { font-size: 28px; }
  .ledger__stats { flex-wrap: wrap; gap: 14px; }
  .ledger__stat dd { font-size: 20px; }
  .results__bar { flex-wrap: wrap; gap: 10px; }
  .row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 14px 0;
  }
  .row__rating, .row__cta { display: none; }
  .row__name { font-size: 16px; }
  .row__desc { font-size: 13px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .filters { padding: 0; }
  .filters__group { padding: 14px 16px; }

  /* ===== Detail page ===== */
  .detail-hero { gap: 28px; padding: 14px 0 32px; }
  .detail-hero__title { font-size: 28px; }
  .detail-hero__meta { grid-template-columns: 1fr 1fr; }
  .detail-hero__meta div { padding: 12px 14px; }
  .detail-hero__meta dd { font-size: 15px; }
  .detail-body { gap: 32px; padding: 32px 0; }
  .detail-body__main h2 { font-size: 22px; }
  .detail-body__main p { font-size: 15.5px; }
  .compare { display: block; overflow-x: auto; white-space: nowrap; font-size: 12px; }
  .compare thead th, .compare tbody td, .compare tbody th { padding: 8px 10px; white-space: normal; }

  /* ===== 404 ===== */
  .nf-stage { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .nf-num { font-size: clamp(110px, 30vw, 180px); }
  .nf-num::after { font-size: 9px; bottom: 4px; left: 4px; }
  .nf-copy h1 { font-size: 28px; }
  .nf-copy p { font-size: 15px; }
  .nf-actions { flex-direction: column; }
  .nf-actions .btn { width: 100%; justify-content: center; }

  /* ===== Article (guide detail) ===== */
  .article { padding: 16px 0 40px; font-size: 16px; line-height: 1.65; }
  .article h2 { font-size: 22px; margin: 28px 0 12px; }
  .lede { font-size: 17px; }
  .pull { font-size: 18px; padding-left: 18px; margin: 24px 0; }
  .calc { padding: 4px 12px; }
  .row-line { font-size: 13.5px; padding: 10px 0; }

  /* ===== Policy ===== */
  .policy-grid { gap: 24px; }
  .policy-section h2 { font-size: 22px; }
}

/* Extra-small phones (≤400px) */
@media (max-width: 400px) {
  .topbar__util { display: none; }
  .hero__copy h1 { font-size: 26px !important; }
  .ledger__head h1 { font-size: 24px; }
  .detail-hero__meta { grid-template-columns: 1fr; }
  .detail-hero__meta div { border-right: 0; }
  .row { grid-template-columns: 64px 1fr; }
  .row__thumb { width: 64px; height: 64px; }
  .states { grid-template-columns: 1fr; }
}

/* Small inline modifier on stat panel + feature meta — add space between number and small label */
.statpanel__val small,
.feature__meta dd small,
.detail-hero__meta dd small {
  margin-left: 6px;
}

/* Detail-hero meta: adapt to 1-4 items instead of fixed 2-col with empty cells */
.detail-hero__meta {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.detail-hero__meta div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-hero__meta div:last-child { border-right: 0; }
/* Rebuild bottom borders intelligently — last row's bottom border off */
.detail-hero__meta div:nth-last-child(-n+2):nth-child(odd):not(:last-child) ~ div:last-child { border-bottom: 0; }
/* Detail-hero: align top so photo and text columns start aligned */
.detail-hero { align-items: start; }
/* Photo col: when content stops, no extra empty margin */
.detail-hero > div:first-child { display: flex; flex-direction: column; gap: 8px; }

/* ============== compare table — contained horizontal scroll ============== */
/* The 5-col compare table is wider than mobile viewport. Wrap in scroll container so it scrolls inside its column instead of pushing the page. */
.compare-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 24px;
  border-radius: var(--r-lg);
  /* Subtle scroll indicator on edges when content is wider */
  background:
    linear-gradient(to right, var(--card) 30%, rgba(255,255,255,0)) 0 0 / 30px 100% no-repeat,
    linear-gradient(to left, var(--card) 30%, rgba(255,255,255,0)) 100% 0 / 30px 100% no-repeat,
    radial-gradient(farthest-side at 0% 50%, rgba(20,24,26,0.10), rgba(0,0,0,0)) 0 0 / 14px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(20,24,26,0.10), rgba(0,0,0,0)) 100% 0 / 14px 100% no-repeat;
  background-attachment: local, local, scroll, scroll;
}
.compare-scroll .compare {
  margin: 0;
  min-width: 640px; /* keeps cells legible during scroll */
}

/* Prevent the main column from being pushed wider than its grid cell by content. */
.detail-body__main { min-width: 0; }
.detail-body { min-width: 0; }

/* Mobile: keep table inside the scroll wrapper, drop the previous display: block hack */
@media (max-width: 720px) {
  .compare {
    display: table; /* re-enable normal table layout */
    white-space: normal;
    font-size: 13px;
  }
  .compare thead th, .compare tbody td, .compare tbody th { padding: 10px 12px; }
}
@media (max-width: 560px) {
  .compare-scroll .compare { min-width: 560px; }
}

/* ============== compare table — mobile row-card flip (≤720px) ==============
 * On mobile, each row of the compare table becomes a card. The original
 * column header ("This dealer / Major auction house / Pawn shop / Online
 * marketplace") becomes a per-cell label injected via data-label attr.
 * Result: 4 readable cards, no horizontal scroll, "this dealer" still
 * visually highlighted with brass-soft bg.
 * ========================================================================= */
@media (max-width: 720px) {
  /* Cancel the desktop scroll-wrapper styling — table is now flow content */
  .compare-scroll {
    overflow: visible;
    background: none;
    margin: 0 0 24px;
    border-radius: 0;
  }
  .compare-scroll .compare { min-width: 0; }

  .compare,
  .compare thead,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    padding: 0;
    background: transparent;
  }

  /* Hide the original column-header row */
  .compare thead { display: none; }

  /* Each <tr> = one card (Speed / Net price / Best for / Fees you owe) */
  .compare tbody tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: 14px;
    overflow: hidden;
  }
  .compare tbody tr:last-child { margin-bottom: 0; }

  /* The aspect label (Speed, Net price, Best for, Fees you owe) — card header */
  .compare tbody th[scope="row"] {
    background: var(--paper-2);
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    text-align: left;
  }

  /* Each <td> = one channel row inside the card */
  .compare tbody td {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-2);
  }
  .compare tbody td:last-child { border-bottom: 0; }

  /* The injected label from data-label attr (channel name) */
  .compare tbody td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    text-transform: uppercase;
    line-height: 1.5;
    padding-top: 2px;
  }

  /* Highlight "this dealer" cell — brass-soft bg + ink color + bold */
  .compare tbody td.is-this {
    background: var(--brass-soft);
    color: var(--ink);
    font-weight: 500;
  }
  .compare tbody td.is-this::before {
    color: var(--brass);
    font-weight: 500;
  }
}

@media (max-width: 400px) {
  .compare tbody td { grid-template-columns: 90px 1fr; gap: 10px; padding: 10px 14px; font-size: 13.5px; }
  .compare tbody th[scope="row"] { padding: 10px 14px; }
}

/* ============== aside-locator (map fallback when no lat/lng) ==============
 * When DB has no coordinates we can't render a real OSM iframe. Instead show
 * a map-themed address card with subtle grid texture + brass pin + strong
 * CTAs that open the device's default map app.
 * ========================================================================= */
.aside-locator {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Subtle 1px grid texture suggesting a map tile */
  background-image:
    linear-gradient(to right, rgba(20,24,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,24,26,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.aside-locator::before {
  /* Soft brass radial behind the pin to anchor the eye */
  content: '';
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 110px;
  background: radial-gradient(closest-side, rgba(142,107,42,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.aside-locator__pin {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 6px 0 14px;
  filter: drop-shadow(0 4px 8px rgba(20,24,26,0.18));
}
.aside-locator__addr {
  position: relative; z-index: 1;
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.aside-locator__cta {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-locator__cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}
