/* Actual Nomad — Editorial Design */
:root {
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --bg: #FAFAF9;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --content-width: 720px;
  --wide-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 5rem; }

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-light); }

img { display: block; max-width: 100%; }

/* ── Site Header ── */
.site-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

/* ── Homepage Header ── */
.site-header--home {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 5rem 2rem 1rem;
  text-align: center;
}
.site-header--home .logo {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 600;
}
.home-hero { max-width: 640px; margin: 0 auto; }
.home-tagline {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 2rem;
  font-weight: 400;
}
.home-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
  font-style: normal;
}

/* ── Homepage City Grid ── */
.city-grid-page {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.section-heading {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.city-card {
  background: var(--bg-card);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.2s;
}
.city-card:hover { background: #F5F5F4; }
.city-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.city-country {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.city-subhead {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}
.city-cost {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--bg-card);
  background: var(--accent);
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.empty-state { color: var(--text-muted); font-style: italic; }

/* ── Article Hero (full-width with overlay) ── */
.article-hero-wrap {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.article-hero-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.article-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}
.article-hero-content {
  max-width: var(--content-width);
  margin: 0 auto;
}
.article-hero-wrap .breadcrumb {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.article-hero-wrap .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.article-hero-wrap .breadcrumb a:hover { color: #fff; }
.article-hero-wrap h1 {
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.article-hero-wrap .subheadline {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.5;
}
.hero-credit {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  z-index: 3;
  font-family: var(--sans);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.hero-credit a { color: rgba(255,255,255,0.5); text-decoration: none; }
.hero-credit a:hover { color: rgba(255,255,255,0.8); }

/* ── Article Body ── */
.article-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* ── Article Byline ── */
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.byline-dot { color: var(--border); }
.byline-name { font-weight: 600; color: var(--text); }

/* ── How We Research ── */
.research-box {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
}
.research-box-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.research-box p {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ── Verdict Box ── */
.verdict-box {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: #F0FDF4;
}
.verdict-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

/* ── Article Layout (sidebar + content) ── */
.article-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.toc-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.toc-sticky { padding: 0; }
.toc-sticky-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: block;
}
.toc-sticky ol { list-style: none; padding: 0; margin: 0; }
.toc-sticky li { margin: 0; }
.toc-sticky a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0;
  border-bottom: none;
  line-height: 1.4;
  transition: color 0.15s;
}
.toc-sticky a:hover { color: var(--accent); }
.toc-sticky a.active {
  color: var(--accent);
  font-weight: 600;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

/* ── Mobile TOC (inline, hidden on desktop) ── */
.toc-mobile {
  display: none;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.toc-mobile ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.toc-mobile li { margin: 0; }
.toc-mobile a {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: inline-block;
}
.toc-mobile a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Summary Card (At a Glance) ── */
.summary-card {
  margin: 1.25rem 0 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.summary-card-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}
.summary-item { display: flex; flex-direction: column; gap: 0.15rem; }
.summary-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.summary-value {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.score-bar { display: inline-flex; gap: 2px; align-items: center; }
.bar-seg { display: inline-block; width: 18px; height: 6px; border-radius: 1px; }
.bar-filled { background: var(--accent); }
.bar-empty { background: #EAECE8; }
.summary-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}
.summary-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
}
.fit-col .summary-label { margin-bottom: 0.4rem; }
.fit-item {
  line-height: 1.7;
  color: var(--text);
}
.fit-yes .fit-prefix { color: var(--accent); font-weight: 600; margin-right: 0.25rem; }
.fit-no .fit-prefix { color: #6B7280; font-weight: 600; margin-right: 0.25rem; }

/* ── TOC (pill nav) ── */
.toc {
  margin: 2rem 0 2.5rem;
  padding: 0;
  border: none;
  background: none;
}
.toc-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.toc ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.toc li { margin: 0; }
.toc a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: inline-block;
  transition: border-color 0.15s, background 0.15s;
}
.toc a:hover {
  border-color: var(--accent);
  background: #F0FDF4;
  color: var(--accent);
}

/* ── Article Content Column ── */
.article-content {
  min-width: 0;
  max-width: var(--content-width);
}

/* ── Article Meta Bar ── */
.article-meta-bar {
  display: flex;
  gap: 1.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

/* ── Pull Quote ── */
.pull-quote {
  margin: 2.5rem 0 0;
  padding: 0;
  border: none;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  margin: 0;
}

/* ── Callout Boxes ── */
.callout {
  margin: 1.75rem 0 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  border-left: 3px solid;
}
.callout--worth_knowing {
  background: #F0FDF4;
  border-color: var(--accent);
}
.callout--heads_up {
  background: #FFFBEB;
  border-color: #D97706;
}
.callout-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.callout--worth_knowing .callout-label { color: var(--accent); }
.callout--heads_up .callout-label { color: #92400E; }
.callout-title {
  font-family: var(--sans);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.35rem;
}
.callout p {
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ── Hero Meta ── */
.hero-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.85rem;
  letter-spacing: 0.01em;
}

/* ── Article Sections ── */
.article-section { margin: 3.5rem 0; }
.article-section h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.25;
}
.article-section h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.article-section p { margin-bottom: 1.15rem; }

/* ── Section Photos ── */
.section-photo { margin: 1.5rem 0 2rem; }
.section-photo--header { margin-top: 0; margin-bottom: 1.5rem; }
.section-photo--header img { border-radius: 10px 10px 0 0; }
.section-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 2px;
}
.photo-credit {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  text-align: left;
}
.photo-credit a { color: var(--text-muted); text-decoration: none; }

/* ── Neighborhoods ── */
.neighborhood-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.neighborhood-card {
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--border);
}
.neighborhood-card:last-child { border-bottom: none; }
.neighborhood-card__body { padding: 1.25rem 0 0; }
.nbhd-card-map { margin-bottom: 0; }
.nbhd-card-map__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px 3px 0 0;
  filter: saturate(0.72) contrast(1.06) brightness(1.02);
}
.neighborhood-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.neighborhood-card .tagline {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.neighborhood-card dl {
  font-family: var(--sans);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.neighborhood-card dt {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.neighborhood-card dd { margin: 0.15rem 0 0; font-weight: 600; font-size: 0.9rem; }
.neighborhood-dl-group { display: flex; flex-direction: column; }
.honest-take {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  background: #F0FDF4;
  padding: 0.85rem 1.25rem;
  margin-top: 0.25rem;
}

/* ── Cost Table ── */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9rem;
  margin: 1.25rem 0;
}
.cost-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.cost-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); }
.cost-table tbody tr:nth-child(even) td { background: #F9FAFB; }
.cost-table .total-row td {
  font-weight: 700;
  border-top: 2px solid var(--text);
  border-bottom: none;
  background: none;
  padding-top: 0.75rem;
}
.currency-note { font-size: 0.75rem; color: var(--text-muted); font-style: italic; font-family: var(--sans); margin-top: 0.5rem; }

/* ── Honest Negatives ── */
.negatives-list { display: flex; flex-direction: column; gap: 1.25rem; }
.negative-item {
  border-left: 3px solid #DC2626;
  padding-left: 1.25rem;
}
.negative-item strong {
  font-family: var(--sans);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.3rem;
}
.negative-item p { font-size: 0.95rem; }

/* ── FAQ ── */
.faq-section .faq-item { margin-bottom: 2rem; }
.faq-section .faq-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.faq-section .faq-item p { font-size: 1rem; }

/* ── Lead Paragraph ── */
.lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── Related Footer ── */
.related-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.related-footer-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.related-footer-link {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.related-footer-link:hover { text-decoration: underline; }

/* ── Related Cities ── */
.related-cities {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.related-cities__title {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: none;
  padding-bottom: 0;
}
.related-cities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.related-city-card {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background 0.15s;
}
.related-city-card:hover { background: #F5F5F4; }
.related-city-card__city {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.related-city-card__country {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.related-city-card__verdict {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-top: 0.4rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .related-cities__grid { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  .related-city-card { background: var(--bg-card); color: var(--text); }
  .related-city-card:hover { background: #1A2B24; }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toc-sidebar { display: none; }
  .toc-mobile { display: block; }
}

@media (max-width: 768px) {
  .pull-quote { display: none; }
  body { font-size: 17px; }
  .article-hero-wrap { min-height: 400px; }
  .article-hero-wrap h1 { font-size: 2rem; }
  .article-hero-wrap .subheadline { font-size: 1.05rem; }
  .article-hero-overlay { padding: 3rem 1.25rem 2rem; }
  .article-body { padding: 0 1.25rem 4rem; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .home-tagline { font-size: 1.75rem; }
  .site-header--home { padding: 3rem 1.25rem 0.5rem; }
  .city-grid-page { padding: 2rem 1.25rem 4rem; }
  .city-grid { grid-template-columns: 1fr; }
  .city-card { padding: 1.5rem; }
  .city-name { font-size: 1.5rem; }
  .neighborhood-card dl { gap: 1.25rem; }
  .verdict-box { padding: 1.25rem; }
  .verdict-text { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .summary-fit { grid-template-columns: 1fr; gap: 0.75rem; }
  .summary-value { font-size: 0.85rem; }
  .article-hero-wrap { min-height: 420px; }
  .article-hero-wrap h1 { font-size: 1.75rem; }
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #52A882;
    --accent-light: #6BBD97;
    --text: #E8E3DD;
    --text-muted: #8A9E97;
    --bg: #0D1512;
    --bg-card: #131F1A;
    --border: #243029;
  }

  body { background: var(--bg); color: var(--text); }

  /* Header */
  .site-header { background: var(--bg); }
  .logo { color: var(--text); }

  /* Hero stays the same — it's a photo with dark overlay */
  .article-hero-wrap .breadcrumb a { color: rgba(255,255,255,0.7); }

  /* Verdict + research */
  .verdict-box { background: #0D2318; border-color: var(--accent); }
  .research-box { background: var(--bg-card); border-color: var(--border); border-left-color: var(--accent); }
  .research-box p { color: var(--text-muted); }

  /* Summary card */
  .summary-card { border-color: var(--border); }
  .bar-empty { background: #2A2E2A; }
  .fit-no .fit-prefix { color: #9CA3AF; }

  /* Callout boxes */
  .callout--worth_knowing { background: #0D2318; border-color: var(--accent); }
  .callout--worth_knowing .callout-label { color: var(--accent); }
  .callout--heads_up { background: #2A1F0A; border-color: #D97706; }

  /* Pull quote */
  .pull-quote p { color: var(--text); border-color: var(--accent); }

  /* TOC */
  .toc-sticky a { color: var(--text-muted); }
  .toc-sticky a.active { color: var(--accent); border-color: var(--accent); }
  .toc-mobile a { border-color: var(--border); color: var(--text); }
  .toc-mobile a:hover { border-color: var(--accent); color: var(--accent); }

  /* Sections */
  .article-section h2 { border-color: var(--border); }
  .honest-take { background: #0D2318; border-color: var(--accent); color: var(--text-muted); }

  /* Neighborhood */
  .neighborhood-card { border-color: var(--border); }
  .neighborhood-card dt { color: var(--accent); }

  /* Cost table */
  .cost-table th { border-color: var(--border); color: var(--text-muted); }
  .cost-table tbody tr:nth-child(even) td { background: #0F1A16; }
  .cost-table .total-row td { border-color: var(--text-muted); }

  /* Negatives */
  .negative-item { border-color: #F87171; }

  /* City grid */
  .city-card { background: var(--bg-card); color: var(--text); }
  .city-card:hover { background: #1A2B24; }
  .city-cost { background: var(--accent); color: #0D1512; }

  /* Footer */
  .site-footer { border-color: var(--border); }
  .related-footer { border-color: var(--border); }

  /* Section photos */
  .section-photo img { opacity: 0.85; }

  /* Cost Chart — dark mode */
  .cost-chart__track { background: #2A2A2A; }
  .cost-chart__bar { background: #52A882; }
  .cost-chart__bar--minor { background: #347A5E; }
  .cost-chart__sub { color: #9CA3AF; }
  .cost-chart__local { color: #9CA3AF; }
  .cost-chart__caption { color: #6B7280; }
  .cost-chart__total-amt { color: #52A882; }
}

/* ── Cost Chart ───────────────────────────────────────────────────────────── */
.cost-chart {
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 0 1.5rem;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border);
}
.cost-chart__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.cost-chart__rows { display: flex; flex-direction: column; gap: 1rem; }
.cost-chart__row {
  display: grid;
  grid-template-columns: 170px 1fr 72px;
  align-items: center;
  gap: 1rem;
}
.cost-chart__label-col { display: flex; flex-direction: column; gap: 2px; }
.cost-chart__cat {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.3;
}
.cost-chart__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--sans);
  line-height: 1.3;
}
.cost-chart__track {
  height: 7px;
  background: #EAECE8;
  border-radius: 2px;
  overflow: hidden;
}
.cost-chart__bar {
  height: 100%;
  background: #1B4332;
  border-radius: 2px;
}
.cost-chart__bar--minor { background: #52A882; }
.cost-chart__amt {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}
.cost-chart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.cost-chart__total-label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.cost-chart__total-amt {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
}
.cost-chart__local {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}
.cost-chart__caption {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.72rem;
  color: #9CA3AF;
  font-family: var(--sans);
  font-style: italic;
}
@media (max-width: 600px) {
  .cost-chart__row { grid-template-columns: 120px 1fr 60px; gap: 0.625rem; }
  .cost-chart__cat { font-size: 0.8125rem; }
  .cost-chart__amt { font-size: 0.8125rem; }
}

/* ── Full Guide CTA (bottom of opinion articles) ────────────────────────── */
.full-guide-cta {
  background: #1E3A5F; color: white;
  padding: 2.5rem; margin: 2.5rem 0; border-radius: 8px;
}
.full-guide-cta__inner { max-width: 560px; }
.full-guide-cta__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.full-guide-cta__title { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }
.full-guide-cta__desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; line-height: 1.5; }
.full-guide-cta__btn {
  display: inline-block; background: #B45309; color: white;
  padding: 0.625rem 1.25rem; border-radius: 4px; text-decoration: none;
  font-size: 0.875rem; font-weight: 600; transition: background 0.15s;
}
.full-guide-cta__btn:hover { background: #92400E; }

/* ── City Siblings Strip ─────────────────────────────────────────────────── */
.city-siblings {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.75rem 1.25rem; background: #F3F4F6; border-radius: 6px;
  margin: 1rem 0; font-size: 0.8125rem;
}
.city-siblings__prefix { color: var(--text-muted, #6B7280); font-weight: 500; white-space: nowrap; }
.sibling-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: white; border: 1px solid #E5E7EB; border-radius: 4px;
  padding: 0.25rem 0.625rem; text-decoration: none; color: var(--text, #1F2937);
  transition: border-color 0.15s, color 0.15s;
}
.sibling-link:hover { border-color: var(--accent, #B45309); color: var(--accent, #B45309); }
.sibling-link__label { font-weight: 600; font-size: 0.75rem; }
.sibling-link__city { font-size: 0.75rem; color: var(--text-muted, #6B7280); }

/* ── Pillar CTA ──────────────────────────────────────────────────────────── */
.pillar-cta {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem 1.25rem; background: #FFFBEB;
  border: 1px solid #FDE68A; border-left: 4px solid var(--accent, #B45309);
  border-radius: 6px; margin: 1rem 0;
}
.pillar-cta__eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #92400E; }
.pillar-cta__link { font-size: 0.9375rem; font-weight: 600; color: var(--accent, #B45309); text-decoration: none; }
.pillar-cta__link:hover { text-decoration: underline; }
.pillar-cta__arrow { font-size: 1rem; }

/* ── Opinion Format (honest-review) ─────────────────────────────────────── */
.myth-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border, #E5E7EB); }
.myth-block:last-child { border-bottom: none; }
.myth-myth { font-size: 1rem; font-weight: 600; color: var(--text-muted, #6B7280); margin-bottom: 0.5rem; font-style: italic; }
.myth-reality { margin: 0; }
.mob-block { margin-bottom: 1.75rem; padding-left: 1rem; border-left: 3px solid var(--accent, #B45309); }
.mob-block h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.mob-block p { margin: 0; }

/* ── Climate Matrix ──────────────────────────────────────────────────────── */
.climate-matrix { margin-top: 1.5rem; border-top: 2px solid var(--text, #1a1a1a); padding-top: 12px; }
.climate-grid {
  display: grid;
  grid-template-columns: 40px repeat(12, 1fr);
  gap: 1.5px;
  background: rgba(0,0,0,0.06);
}
.climate-corner { background: var(--bg, #FAFAF8); }
.climate-month {
  font-size: 11px; font-weight: 600; color: var(--text, #1a1a1a);
  text-align: center; padding: 0 0 6px 0; background: var(--bg, #FAFAF8);
}
.climate-hour {
  font-size: 11px; color: #707070; text-align: right;
  padding-right: 8px; background: var(--bg, #FAFAF8);
  display: flex; align-items: center; justify-content: flex-end;
}
.climate-cell {
  height: 26px; position: relative; transition: filter 0.15s;
}
.climate-cell:hover { filter: brightness(1.1); }
.climate-cell[data-temp]::after {
  content: attr(data-temp) '°C / ' attr(data-f) '°F';
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a; color: white;
  font-size: 10px; padding: 3px 8px; border-radius: 3px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.15s; z-index: 20;
}
.climate-cell:hover::after { opacity: 1; }
.climate-freezing  { background: #3d5a80; }
.climate-cold      { background: #6b8cae; }
.climate-cool      { background: #98b6c8; }
.climate-comfortable { background: #7a9e7e; }
.climate-warm      { background: #c9a227; }
.climate-hot       { background: #b5453a; }
.climate-legend {
  display: flex; gap: 0; margin-top: 10px;
  border-top: 1px solid #ddd; padding-top: 8px;
  justify-content: center; flex-wrap: wrap;
}
.climate-legend-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: #707070;
  padding: 2px 10px; border-right: 1px solid #ddd;
}
.climate-legend-item:last-child { border-right: none; }
.climate-swatch { width: 10px; height: 10px; border-radius: 1px; display: inline-block; flex-shrink: 0; }
.climate-source { font-size: 9px; color: #999; margin-top: 6px; font-style: italic; }
@media (max-width: 600px) {
  .climate-grid { gap: 1px; }
  .climate-cell { height: 20px; }
  .climate-month { font-size: 9px; }
  .climate-hour { font-size: 9px; }
  .climate-legend { gap: 4px; }
  .climate-legend-item { font-size: 8px; padding: 2px 6px; }
}

/* ── Neighbourhood Map ───────────────────────────────────────────────────── */
.nbhd-map {
  margin: 0.25rem 0 2rem;
}
.nbhd-map__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  border: 1px solid var(--border);
  filter: saturate(0.72) contrast(1.05) brightness(1.01);
}
.nbhd-map__attr {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  color: #9CA3AF;
  font-family: var(--sans);
}
.nbhd-map__attr a {
  color: #9CA3AF;
  text-decoration: none;
}
.nbhd-map__attr a:hover { text-decoration: underline; }

.guide-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 1.25rem;
}

.guide-link-list a {
  font-family: var(--sans);
}

.prose-block,
.link-section {
  max-width: var(--wide-width);
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.section-copy {
  color: var(--text-muted);
  max-width: 52rem;
}

.minimal-homepage {
  background: #f5f1ea;
}

.minimal-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35, 45, 42, 0.08);
}

.minimal-topbar__inner,
.minimal-main,
.site-footer p {
  max-width: 1120px;
  margin: 0 auto;
}

.minimal-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
}

.minimal-logo {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: #17343b;
  letter-spacing: -0.02em;
}

.minimal-nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.minimal-nav a {
  text-decoration: none;
  color: #4f625f;
}

.minimal-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: end;
}

.minimal-hero__image,
.minimal-hero__overlay {
  position: absolute;
  inset: 0;
}

.minimal-hero__image {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(0.88) contrast(0.95);
}

.minimal-hero__overlay {
  background: linear-gradient(180deg, rgba(20,26,24,0.10) 0%, rgba(20,26,24,0.30) 30%, rgba(20,26,24,0.78) 100%);
}

.minimal-hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4.5rem;
  color: #fff;
}

.minimal-hero__content > * {
  max-width: 760px;
}

.minimal-kicker,
.minimal-intro__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.minimal-kicker {
  margin-bottom: 1rem;
  opacity: 0.86;
}

.minimal-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.minimal-sub {
  max-width: 760px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
}

.minimal-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.minimal-hero-note {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.72);
  font-style: italic;
}

.minimal-quicklinks a {
  text-decoration: none;
  font-family: var(--sans);
  color: #17343b;
  background: rgba(247,243,237,0.95);
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.minimal-main {
  padding: 3.5rem 1.25rem 4rem;
}

.minimal-intro,
.minimal-featured,
.minimal-libraries {
  margin-bottom: 4rem;
}

.minimal-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-top: 1rem;
}

.minimal-intro h2,
.minimal-section-head h2 {
  font-family: var(--sans);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  color: #1c2a28;
}

.minimal-intro p,
.minimal-section-head p,
.minimal-library-block p {
  color: #556563;
}

.minimal-intro p + p {
  margin-top: 1rem;
}

.minimal-section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.minimal-section-head p {
  max-width: 420px;
}

.minimal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.minimal-card {
  background: #fffdfa;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(23,52,59,0.08);
  box-shadow: 0 12px 30px rgba(38,44,41,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.minimal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(38,44,41,0.10);
  border-color: rgba(23,52,59,0.14);
}

.minimal-card__image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.minimal-card__body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.minimal-card__meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7c79;
  margin-bottom: 0.65rem;
}

.minimal-card h3,
.minimal-library-block h3 {
  font-family: var(--sans);
  color: #1d2f2d;
}

.minimal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.minimal-card p {
  color: #5f6f6c;
  line-height: 1.6;
}

.minimal-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.minimal-library-block {
  background: rgba(255,253,250,0.7);
  border-radius: 18px;
  border: 1px solid rgba(23,52,59,0.08);
  padding: 1.25rem;
}

.minimal-library-block p {
  margin: 0.55rem 0 0.9rem;
}

.guide-link-list--minimal {
  gap: 0.7rem 1rem;
}

.guide-link-list--minimal a {
  color: #1e5a66;
}

@media (max-width: 900px) {
  .minimal-intro__grid,
  .minimal-library-grid,
  .minimal-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .minimal-intro__grid {
    grid-template-columns: 1fr;
  }

  .minimal-section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .minimal-topbar__inner {
    flex-direction: column;
    align-items: start;
    gap: 0.75rem;
  }

  .minimal-nav {
    flex-wrap: wrap;
  }

  .minimal-hero {
    min-height: 76vh;
  }

  .minimal-hero__content {
    padding-bottom: 3rem;
  }

  .minimal-sub {
    font-size: 1.05rem;
  }

  .minimal-card-grid,
  .minimal-library-grid {
    grid-template-columns: 1fr;
  }
}

.region-bridge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  font-family: var(--sans);
  color: var(--text-muted);
}

.region-bridge__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.region-bridge a { font-weight: 600; }

@media (max-width: 900px) {
  .portal-topbar__inner { grid-template-columns: 1fr; }
  .portal-utility-nav, .portal-main-nav { flex-wrap: wrap; }
  .portal-section__head { flex-direction: column; align-items: start; }
  .portal-card-grid, .portal-library-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .portal-hero { min-height: 460px; }
  .portal-hero h1 { font-size: 2.4rem; }
  .portal-hero__sub { font-size: 1.05rem; }
  .portal-card-grid, .portal-library-grid { grid-template-columns: 1fr; }
  .portal-main { padding: 0 1rem 3rem; }
  .portal-intro-band { padding: 2rem 1rem; }
  .prose-block, .link-section { padding: 0 1rem; }
}

@media (prefers-color-scheme: dark) {
  .nbhd-map__img { filter: saturate(0.5) invert(0.88) hue-rotate(180deg) brightness(0.9); border-color: #333; }
  .nbhd-card-map__img { filter: saturate(0.5) invert(0.88) hue-rotate(180deg) brightness(0.85); }
}
