/* ==========================================================================
   Noe Valley Real Estate Agent Rankings, v2 "painted lady"
   Plum, mint and mustard on cream. Bodoni Moda display, Karla body,
   IBM Plex Mono for every tracked-uppercase label.
   Order: tokens, reset, type, buttons, shell, topline, navbar, hero,
   layout + rail, intro, reference table, roster + filterbar, card, stars,
   bands (areas, market, map, faq), footer, utilities, breakpoints.
   ========================================================================== */

/* -- Tokens --------------------------------------------------------------- */
:root {
  --cream: #FBF8F3;
  --plum: #4A2C5A;
  --plum-deep: #341E40;
  --mint: #DCEBE4;
  --mint-deep: #C7DED3;
  --mustard: #D9A531;
  --ink: #1F1B24;
  --muted: #6A6372;
  --line: rgba(31, 27, 36, .12);
  --tint: rgba(31, 27, 36, .05);
  --plum-line: rgba(74, 44, 90, .22);
  --white: #FFFFFF;

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --f-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --f-label: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: 20px;
  --rail: 300px;
  --nav-h: 130px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, dl, dd { margin: 0; }
p + p { margin-top: 1em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* -- Type ----------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--plum-deep);
}
h1 { font-size: clamp(2.75rem, 2.1rem + 2.2vw, 3.5rem); font-weight: 600; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.75rem + .9vw, 2.25rem); text-wrap: balance; }
h3 { font-size: clamp(1.375rem, 1.3rem + .3vw, 1.5rem); }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 4px;
}

.label {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}
.label--accent { color: var(--plum); }
.label--accent::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--mustard);
  vertical-align: middle;
  margin-right: 10px;
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-deep); color: var(--white); }
.btn--secondary { background: var(--mint); color: var(--plum); }
.btn--secondary:hover { background: var(--mint-deep); color: var(--plum-deep); }

/* -- Shell ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--plum-deep);
  color: var(--white);
  padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip:focus { transform: none; }

.section__head { margin-bottom: 2rem; }
.section__head .label { margin-bottom: .9rem; }
.section__head h2 { margin-bottom: 0; }
.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section__head--wide { max-width: 720px; margin-bottom: 2.5rem; }
.section__intro { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted); }
.section__meta { white-space: nowrap; padding-bottom: .5rem; }

/* -- Topline -------------------------------------------------------------- */
.topline { background: var(--plum-deep); color: rgba(255, 255, 255, .82); }
.topline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topline .label { color: inherit; font-size: .625rem; letter-spacing: .16em; }
.topline__place span[aria-hidden] { opacity: .5; margin: 0 .35em; }
.topline__zip { display: none; }

/* -- Navbar --------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.navbar__row {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--plum-deep);
  min-width: 0;
  flex: 1 1 auto;
}
.footer .brand { flex: none; }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -.005em;
}
.brand__name em { font-style: normal; font-weight: 500; display: block; }
.brand__tag {
  margin-top: 4px;
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 500;
}
.navbar__nav {
  order: 3;
  flex-basis: 100%;
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.navbar__nav::-webkit-scrollbar { display: none; }
.navbar__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.navbar__nav a:hover::after, .navbar__nav a.is-current::after { transform: scaleX(1); }
.navbar__cta { display: flex; gap: 8px; flex: none; }
.navbar__cta .btn { min-height: 38px; padding: 0 14px; font-size: .85rem; }
.navbar__cta .btn--secondary { display: none; }
.btn__full { display: none; }
.navbar .brand__mark { width: 36px; height: 36px; }
.navbar .brand__name { font-size: .95rem; }

/* -- Hero ----------------------------------------------------------------- */
.hero { padding: 3rem 0 3.5rem; }
.hero__grid { display: grid; gap: 2.5rem; }
.hero__text .label { margin-bottom: 1.25rem; }
.hero__title { margin-bottom: 1.25rem; max-width: 14ch; }
.hero__lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}
.hero__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .6rem 1.25rem;
  margin-bottom: 2rem;
}
.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--f-label);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum-deep);
  line-height: 1.4;
}
.hero__list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: inset 0 0 0 2px var(--plum);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__stats > div { display: flex; flex-direction: column-reverse; }
.hero__stats dd {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--plum-deep);
  letter-spacing: -.01em;
}
.hero__stats dt {
  margin-top: 8px;
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facade {
  position: relative;
  background: var(--plum);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-image:
    radial-gradient(circle at 78% 24%, rgba(217, 165, 49, .22), transparent 42%),
    linear-gradient(180deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.facade__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.facade__corner {
  position: absolute;
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(251, 248, 243, .78);
  white-space: nowrap;
}
.facade__corner--tl { top: 20px; left: 22px; }
.facade__corner--tr { top: 20px; right: 22px; }
.facade__corner--bl { bottom: 18px; left: 22px; }
.facade__corner--br { bottom: 18px; right: 22px; }

/* -- Layout and rail ------------------------------------------------------ */
.layout { display: grid; gap: 3rem; padding-bottom: 4rem; }
.layout__main { min-width: 0; }

.rail { display: grid; gap: 1.75rem; align-self: start; }
.rail__block { padding-top: 1.25rem; border-top: 2px solid var(--mustard); }
.rail__block > .label { color: var(--plum-deep); margin-bottom: .75rem; }
.rail__index li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: .9rem;
  color: var(--ink);
}
.rail__index li:last-child a { border-bottom: 0; }
.rail__index li a:hover .rail__name { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.rail__firm { font-size: .75rem; color: var(--muted); text-align: right; white-space: nowrap; }
.rail__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.rail__stat strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--plum-deep);
}
.rail__stat span { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.rail__period { margin-top: 1rem; font-size: .75rem; color: var(--muted); }

/* -- Intro ---------------------------------------------------------------- */
.intro { padding-top: .5rem; margin-bottom: 3.5rem; max-width: 720px; }
.intro__lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.intro p + p { margin-top: 1.1em; color: var(--muted); }

/* -- Quick reference table ------------------------------------------------ */
.reference { margin-bottom: 4.5rem; }
.reference__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--plum-line);
  border-top: 3px solid var(--mustard);
  border-radius: var(--radius);
  background: var(--white);
}
.reference__table { min-width: 680px; }
.reference__table th, .reference__table td {
  text-align: left;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
  vertical-align: middle;
}
.reference__table thead th {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tint);
  white-space: nowrap;
}
.reference__table tbody th { font-weight: 600; white-space: nowrap; }
.reference__table tbody th a { text-decoration: none; color: var(--plum-deep); }
.reference__table tbody th a:hover { text-decoration: underline; }
.reference__table tbody tr:last-child th, .reference__table tbody tr:last-child td { border-bottom: 0; }
.reference__table tbody tr:hover { background: rgba(220, 235, 228, .35); }
.reference__table td { color: var(--muted); white-space: nowrap; }
.reference__rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.reference__star { color: var(--mustard); }
.reference__src { display: inline-flex; align-items: center; gap: 5px; font-weight: 400; color: var(--muted); }
.reference__src .stars__glyph { width: 13px; height: 13px; fill: var(--plum); }

/* -- Roster and filter bar ------------------------------------------------ */
.roster__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.filterbar { display: none; }
.has-js .filterbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  margin: 0 calc(var(--gutter) * -1) 1.5rem;
  padding: .7rem var(--gutter);
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.filterbar__label { flex: none; color: var(--plum-deep); }
.filterbar__chips { display: flex; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.filterbar__chips::-webkit-scrollbar { display: none; }
.filterbar__chip {
  flex: none;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--plum-line);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--plum);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filterbar__chip:hover { background: var(--mint); border-color: var(--plum); }
.filterbar__chip.is-on { background: var(--plum); border-color: var(--plum); color: var(--white); }
.filterbar__status { flex-basis: 100%; font-size: .8rem; color: var(--muted); margin: 0; }
.filterbar__status:empty { display: none; }

/* -- Card ----------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--plum-line);
  border-top: 3px solid var(--mustard);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s var(--ease);
}
.card:hover { box-shadow: 0 14px 34px -18px rgba(52, 30, 64, .45); }
.card[hidden] { display: none; }
.card__portrait { aspect-ratio: 4 / 5; max-height: 360px; background: var(--mint); overflow: hidden; }
.card__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.card__portrait--blank { display: grid; place-items: center; background: linear-gradient(160deg, var(--mint), var(--mint-deep)); }
.card__portrait--blank span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 4.5rem;
  color: var(--plum);
  letter-spacing: .04em;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card__name { margin-bottom: .3rem; }
.card__title { font-size: .875rem; color: var(--muted); }
.card__firm {
  margin-top: .55rem;
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum);
  line-height: 1.5;
}
.card__firm span[aria-hidden] { opacity: .5; margin: 0 .2em; }
.card__rating { margin-top: .9rem; }
.card__years { margin-top: .5rem; font-size: .875rem; color: var(--ink); font-weight: 600; }
.chips, .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.chips + .tags { margin-top: .5rem; }
.chips li, .tags li {
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
  padding: .3rem .65rem;
  border-radius: 999px;
}
.chips li { color: var(--plum-deep); background: var(--mint); }
.tags li { color: var(--plum); background: var(--white); border: 1px solid var(--plum-line); }
.card__local {
  margin-top: 1.1rem;
  padding: .8rem .95rem;
  background: var(--cream);
  border-left: 3px solid var(--mustard);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  color: var(--ink);
}
.card__local .label { color: var(--plum); font-size: .6rem; margin-bottom: .25rem; }
.card__bio { margin-top: 1rem; font-size: .9375rem; line-height: 1.6; color: var(--muted); flex: 1; }
.card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.card__links .btn { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.card__link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

/* -- Stars ---------------------------------------------------------------- */
.stars { display: inline-flex; align-items: center; gap: .5rem; line-height: 1; }
.stars__row { color: var(--mustard); font-size: 1.05rem; letter-spacing: .06em; }
.stars__score { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.stars__source {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--plum);
  background: var(--mint);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.stars__source:hover, .stars__source:focus-visible { background: var(--plum); color: var(--white); }
.stars__glyph { width: 14px; height: 14px; fill: currentColor; }
.stars__source::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  z-index: 5;
}
.stars__source:hover::after, .stars__source:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* -- Bands ---------------------------------------------------------------- */
.band { padding: 4.5rem 0; }
.band--mint { background: var(--mint); }
.band--tint { background: var(--tint); }
.band + .band { border-top: 1px solid var(--line); }
.band--mint .label--accent { color: var(--plum-deep); }

.areas__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.area {
  position: relative;
  background: var(--white);
  border: 1px solid var(--plum-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 4.25rem;
}
.area__marker {
  position: absolute;
  left: 1.5rem;
  top: 1.55rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .06em;
}
.area__name { font-size: 1.25rem; margin-bottom: .4rem; }
.area p { font-size: .9375rem; color: var(--muted); }

.market__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.market__tile {
  background: var(--white);
  border: 1px solid var(--plum-line);
  border-top: 3px solid var(--mustard);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
}
.market__value {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--plum-deep);
  letter-spacing: -.01em;
}
.market__metric {
  display: block;
  margin-top: .75rem;
  font-family: var(--f-label);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum);
}
.market__note { display: block; margin-top: .35rem; font-size: .85rem; color: var(--muted); }
.market__source { margin-top: 1.5rem; font-size: .8125rem; color: var(--muted); max-width: 720px; }

.mapblock__frame {
  border: 1px solid var(--plum-line);
  border-top: 3px solid var(--mustard);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.mapblock__frame iframe { width: 100%; height: 440px; border: 0; }

.faq__grid { display: grid; gap: 2rem; }
.faq__list { display: grid; gap: .75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--plum-line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.faq__item[open] { border-color: var(--plum); }
.faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--plum-deep);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__toggle {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint);
}
.faq__toggle::before, .faq__toggle::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px;
  height: 2px;
  background: var(--plum);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease);
}
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 1.25rem 1.2rem; font-size: .95rem; color: var(--muted); }

/* -- Footer --------------------------------------------------------------- */
.footer { background: var(--plum-deep); color: rgba(251, 248, 243, .78); padding: 3.5rem 0 0; }
.footer__grid { display: grid; gap: 2.25rem; padding-bottom: 3rem; }
.footer .brand { color: var(--cream); }
.footer .brand__mark circle { fill: var(--cream); }
.footer .brand__mark path { stroke: var(--plum-deep); }
.footer .brand__mark path[stroke="#D9A531"] { stroke: var(--mustard); }
.footer .brand__mark rect { fill: var(--plum); }
.footer__blurb { margin-top: 1.1rem; font-size: .9rem; max-width: 36ch; }
.footer .label { color: var(--mustard); margin-bottom: .9rem; }
.footer__col li + li { margin-top: .4rem; }
.footer__col a { color: rgba(251, 248, 243, .82); text-decoration: none; font-size: .9rem; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: grid;
  gap: .75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid rgba(251, 248, 243, .14);
  font-size: .8125rem;
}
.footer__note { max-width: 640px; }
.footer__legal { color: rgba(251, 248, 243, .55); }
.footer__legal a { color: rgba(251, 248, 243, .82); }

/* -- Utilities ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -- Breakpoints ---------------------------------------------------------- */
@media (min-width: 560px) {
  :root { --nav-h: 118px; }
  .topline__zip { display: inline; }
  .navbar__cta .btn--secondary { display: inline-flex; }
  .btn__full { display: inline; }
  .btn__short { display: none; }
  .navbar .brand__mark { width: 40px; height: 40px; }
  .navbar .brand__name { font-size: 1.05rem; }
}

@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .has-js .filterbar { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .filterbar__chips { flex-wrap: wrap; overflow: visible; }
  .brand__name { white-space: nowrap; }
  .brand__name em { display: inline; }
  .roster__grid { grid-template-columns: repeat(2, 1fr); }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .market__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .hero { padding: 4rem 0; }
  .hero__stats { gap: 1.5rem 2.5rem; }
  .hero__stats dd { font-size: 2.25rem; }
  .rail { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .rail__index { column-count: 2; column-gap: 2rem; }
  .rail__index li { break-inside: avoid; }
}

@media (min-width: 900px) {
  .roster__grid { grid-template-columns: repeat(3, 1fr); }
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
  .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); align-items: center; gap: 3.5rem; }
  .facade { aspect-ratio: 5 / 4; }
  .band { padding: 6rem 0; }
}

@media (min-width: 1100px) {
  :root { --gutter: 40px; --nav-h: 76px; }
  .navbar__row { flex-wrap: nowrap; gap: 2rem; padding-top: 0; padding-bottom: 0; }
  .navbar__nav { order: 0; flex-basis: auto; flex: 1 1 auto; min-width: 0; justify-content: center; margin: 0; padding: 0; overflow: visible; gap: 0; }
  .navbar__nav a { height: var(--nav-h); padding: 0 11px; font-size: .6875rem; letter-spacing: .1em; }
  .navbar__nav a::after { left: 11px; right: 11px; bottom: -1px; }
  .navbar__cta .btn { min-height: 42px; padding: 0 18px; font-size: .9rem; }
  .brand { flex: none; }
  .navbar .brand__name { font-size: 1.1rem; white-space: nowrap; }
  .navbar__cta .btn--secondary { display: none; }
  .brand__name em { display: inline; }
  .hero__title { max-width: none; }
  .hero { padding: 5rem 0 5.5rem; }
  .hero__grid { gap: 4.5rem; }
  .layout { grid-template-columns: minmax(0, 1fr) var(--rail); gap: 4.5rem; padding-bottom: 6rem; }
  .rail {
    grid-template-columns: 1fr;
    gap: 2rem;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--plum-line) transparent;
    padding-right: 6px;
  }
  .rail__index { column-count: 1; }
  .roster__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .areas__grid { grid-template-columns: repeat(5, 1fr); }
  .area { padding: 4.25rem 1.5rem 1.5rem; }
  .area__marker { left: 1.5rem; top: 1.5rem; }
  .market__grid { gap: 1.25rem; }
  .band { padding: 7rem 0; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}

@media (min-width: 1280px) {
  .navbar__cta .btn--secondary { display: inline-flex; }
  .navbar__nav a { padding: 0 13px; }
  .navbar .brand__name { font-size: 1.2rem; }
}
