:root {
  --black: #0a0a0a;
  --dark: #191919;
  --ink: #000;
  --paper: #fff;
  --gray: #efefef;
  --line: #d9d9d9;
  --muted: #555;
  --lime: #ffd400;
  --lime-deep: #d4a800;
  --display: "Gambarino", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Hind", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.1; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.top { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #2a2a2a; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lime); font-family: var(--display); font-size: 17px; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.mark { width: 40px; height: 40px; flex: none; }
.nav { display: none; gap: 22px; align-items: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.nav a { color: #fff; text-decoration: none; }
.nav a:hover { color: var(--lime); }
.nav-cta { background: var(--lime); color: var(--ink) !important; padding: 9px 16px; border-radius: 999px; }
.nav-cta:hover { background: #fff; }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; max-width: 1180px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 16ch; margin: 10px 0 24px; }
.eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; }
.lead { font-size: 18px; max-width: 62ch; color: #e6e6e6; }
.hero-meta { color: var(--lime); font-size: 14px; letter-spacing: .04em; margin: 22px 0 0; }
.hero-art { position: absolute; right: 0; bottom: 0; width: 60%; max-width: 640px; height: 100%; pointer-events: none; }

/* Layout */
.layout { display: block; padding-top: 32px; padding-bottom: 48px; }
.section { padding: 28px 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; padding-top: 0; }
.section-intro { color: var(--muted); max-width: 64ch; }
.sources { font-size: 15px; }

/* TOC */
.toc { border: 1px solid var(--ink); background: var(--paper); margin-bottom: 28px; }
.toc summary { cursor: pointer; list-style: none; padding: 14px 16px; font-family: var(--display); font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-family: var(--body); font-size: 22px; color: var(--muted); }
.toc[open] summary::after { content: "–"; }
.toc-list { margin: 0; padding: 0 16px 14px 36px; font-size: 15px; line-height: 1.7; columns: 2; column-gap: 20px; }
.toc-list li { break-inside: avoid; padding-left: 2px; }
.toc-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.toc-list a:hover { border-color: var(--ink); background: var(--lime); }

/* Cards: every card uses exactly these rules */
.card { padding: 30px 0; border-top: 1px solid var(--line); }
.card:first-of-type { border-top: 0; }
.card-title { font-size: clamp(27px, 3.4vw, 34px); scroll-margin-top: 90px; }
.rank { color: var(--muted); }
.brokerage { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.card-body { display: grid; grid-template-columns: 1fr; gap: 20px; }
.headshot { width: 160px; height: 160px; object-fit: cover; border: 1px solid var(--line); background: var(--gray); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 16px; padding: 16px; background: var(--gray); }
.stats div { min-width: 0; }
.stats dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stats dd { margin: 2px 0 0; font-size: 20px; font-family: var(--display); line-height: 1.2; }
.rating { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rating .muted { font-family: var(--body); font-size: 14px; }
.star { width: 18px; height: 18px; fill: var(--lime-deep); flex: none; }
.tags { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.bio { max-width: 70ch; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); }
.btn:hover { background: var(--lime); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--lime); }

/* Neighborhoods, market, map, FAQ */
.neigh { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.neigh li { padding: 16px 18px; background: var(--gray); border-left: 4px solid var(--lime); }
.table-wrap { overflow-x: auto; }
.market { width: 100%; border-collapse: collapse; font-size: 16px; }
.market th, .market td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.market thead th { background: var(--dark); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.market tbody th { font-weight: 600; white-space: nowrap; }
.map { aspect-ratio: 16 / 10; background: var(--gray); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 22px; line-height: 1.25; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { max-width: 72ch; padding-bottom: 16px; margin: 0; }

/* Footer */
.foot { background: var(--black); color: #cfcfcf; font-size: 15px; }
.foot-inner { padding-top: 40px; padding-bottom: 40px; max-width: 820px; margin-left: 0; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--lime); font-family: var(--display); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.foot a { color: #fff; }

@media (min-width: 720px) {
  .card-body { grid-template-columns: 200px 1fr; gap: 28px; }
  .headshot { width: 200px; height: 200px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; }
  .side { position: sticky; top: 92px; }
  .toc { margin-bottom: 0; }
  .toc summary::after { display: none; }
  .toc summary { cursor: default; }
  .toc-list { columns: auto; max-height: calc(100vh - 200px); overflow: auto; }
  .hero-inner { padding-top: 88px; padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
