/* Plan 2026-12-05 "thred sienna hub design build": a hub and its pages in the approved design (Visuals\2026-12-05 thred
   sienna hub design 6.html). One card style, one section rhythm, full width inside the site's page edge. Loaded only by
   the pages in this design (hd_assets). The site's header is not touched here. */

.hd, .hd-hero, .hd-jump, .hd-drawer { --hd-gap: 14px; --hd-r: 16px; --hd-pad: 26px; --hd-dark: #18181a; --hd-dark-line: #2c2c30; --hd-dark-muted: #b9b7b0; }
html:has(.hd-jump) { scroll-padding-top: calc(var(--hd-top, var(--d-nav)) + 64px); }

/* -------------------------------------------------------------------------------- buttons */
.hd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.hd-btn:hover { background: #2a2a2d; border-color: #2a2a2d; color: var(--paper); }
.hd-btn:active { transform: translateY(1px); }
.hd-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.hd-btn--light:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.hd-btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.72); }
.hd-btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hd-btn--ghost { background: transparent; color: var(--ink); }
.hd-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hd-btn--s { min-height: 38px; padding: 8px 18px; font-size: 14px; }
.hd-btn--full { width: 100%; margin-top: 6px; }
.hd-mini { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); background: transparent;
  font: 700 13.5px/1.2 var(--font); text-decoration: none; white-space: normal; max-width: 100%; text-align: left; transition: background .15s, color .15s; }
.hd-mini:hover { background: var(--ink); color: var(--paper); }
.hd-sec--dark .hd-mini { border-color: #5a5a60; color: var(--paper); }
.hd-sec--dark .hd-mini:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hd a:focus-visible, .hd-hero a:focus-visible, .hd-jump a:focus-visible, .hd-drawer :focus-visible, .hd-fab:focus-visible, .nh-bar a:focus-visible,
.hd-mapbox [tabindex]:focus-visible, .hd-tip :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* -------------------------------------------------------------------------------- the photo header */
.hd-hero { position: relative; background: var(--paper-2); color: var(--ink); }
.hd-hero__in { position: relative; z-index: 1; padding: calc(var(--d-nav) + 64px) var(--d-edge) 56px; }
.hd-hero--photo { color: #fff; background: #2b2a27; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hd-hero--photo .hd-hero__in { width: 100%; padding-top: calc(var(--d-nav) + 180px); padding-bottom: 60px; }
.hd-hero__bg { position: absolute; inset: 0; overflow: hidden; }
/* round 2, R7: a picture smaller than the header sits at its own size beside the words (below them on a phone) */
.hd-hero__split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hd-hero__pic { margin: 0; }
.hd-hero__pic .bgi, .hd-hero__pic img { display: block; position: static; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--hd-r); }
.hd-hero__pic .hd-credit { position: static; display: block; margin: 10px 0 0; text-align: right; color: var(--ink-muted); background: transparent; padding: 0; }
@media (max-width: 759px) { .hd-hero__split { grid-template-columns: 1fr; gap: 24px; } }
.hd-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.06) 34%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.7) 100%); }
.hd-place { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: 0; opacity: .92; }
.hd-h1 { margin: 0 0 16px; max-width: 16ch; font-size: clamp(44px, 5.2vw, 92px); line-height: 1.0; letter-spacing: -.035em; font-weight: 800; color: inherit; text-wrap: balance; }
.hd-sub { margin: 0; font-size: clamp(18px, 1.35vw, 21px); opacity: .95; max-width: 60ch; }
.hd-heroacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.hd-hero:not(.hd-hero--photo) .hd-btn--line { color: var(--ink); border-color: var(--ink); }
.hd-hero:not(.hd-hero--photo) .hd-btn--line:hover { background: var(--ink); color: var(--paper); }
.hd-hero:not(.hd-hero--photo) .hd-btn--light { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hd-credit { margin: 24px 0 0; font-size: 11.5px; opacity: .78; }
.hd-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* -------------------------------------------------------------------------------- the jump bar */
.hd-jump { position: sticky; top: var(--hd-top, var(--d-nav)); z-index: 40; background: rgba(250,248,243,.97); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hd-jump__in { display: flex; align-items: center; gap: 16px; padding: 0 var(--d-edge); }
.hd-jump ul { display: flex; gap: 2px; list-style: none; margin: 0 0 0 -14px; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.hd-jump ul::-webkit-scrollbar { display: none; }
.hd-jump li a { position: relative; display: block; padding: 17px 14px; font-size: 15px; font-weight: 600; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
.hd-jump li a:hover { color: var(--ink); }
.hd-jump li a[aria-current] { color: var(--ink); }
.hd-jump li a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.hd-jump__cta { flex: none; }

/* -------------------------------------------------------------------------------- sections: one rhythm */
.hd-sec { padding: clamp(56px, 5.4vw, 88px) 0; }
.hd-in { padding: 0 var(--d-edge); }
.hd-sec--band { background: var(--paper-2); }
.hd-sec--dark { background: var(--ink); color: var(--paper); }
.hd-sec + .hd-sec:not(.hd-sec--band):not(.hd-sec--dark) { border-top: 1px solid transparent; }
.hd-sec:not(.hd-sec--band):not(.hd-sec--dark) + .hd-sec:not(.hd-sec--band):not(.hd-sec--dark) { border-top-color: var(--line); }
.hd-h2 { margin: 0 0 10px; font-size: clamp(30px, 2.75vw, 48px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; color: inherit; text-wrap: balance; }
.hd-lead { margin: 0 0 30px; max-width: 68ch; font-size: 17px; color: var(--ink-muted); }
.hd-sec--dark .hd-lead { color: var(--hd-dark-muted); }
.hd-h3 { margin: 40px 0 14px; font-size: 21px; letter-spacing: -.02em; font-weight: 800; color: inherit; }
.hd-lead + .hd-h3, .hd-h3:first-child { margin-top: 0; }
.hd-src { margin: 22px 0 0; max-width: 96ch; font-size: 13px; line-height: 1.55; color: var(--ink-muted); }
.hd-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hd-sec--dark .hd-src { color: #9a988f; }
.hd-strong { font-weight: 700; color: inherit; }
.hd-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }

/* -------------------------------------------------------------------------------- grids and the one card */
.hd-g { display: grid; gap: var(--hd-gap); }
.hd-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hd-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hd-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hd-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--hd-r);
  padding: var(--hd-pad) 28px 24px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
a.hd-card:hover { border-color: var(--ink); box-shadow: 0 14px 34px rgba(12,12,13,.08); transform: translateY(-2px); color: var(--ink); }
a.hd-card:hover .hd-more { text-decoration-thickness: 2.5px; }
.hd-sec--dark .hd-card { background: var(--hd-dark); border-color: var(--hd-dark-line); color: var(--paper); }
.hd-kind { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.hd-name { display: block; margin: 0; font-size: 23px; line-height: 1.16; letter-spacing: -.025em; font-weight: 800; color: inherit; }
.hd-name--s { font-size: 20px; }
.hd-by { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); overflow-wrap: anywhere; }
.hd-txt { overflow-wrap: anywhere; display: block; margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.hd-txt b { color: var(--ink); font-weight: 800; }
.hd-txt--ink { color: var(--ink); font-size: 17px; }
.hd-txt--ink + .hd-txt--ink { margin-top: 14px; }
.hd-txt--s { font-size: 13px; }
.hd-txt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hd-sec--dark .hd-txt { color: var(--hd-dark-muted); }
.hd-sec--dark .hd-txt b { color: var(--paper); }
.hd-big { display: block; margin: 14px 0 0; font-size: 42px; line-height: 1; letter-spacing: -.035em; font-weight: 800; font-variant-numeric: tabular-nums; }
.hd-big small { margin-left: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: #9a988f; }
.hd-big__nc { font-size: 27px; letter-spacing: -.02em; }
.hd-more { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hd-acts { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.hd-acts > a:not(.hd-mini):not(.hd-btn) { font-size: 15px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hd-acts > a:not(.hd-mini):not(.hd-btn):hover { text-decoration-thickness: 2.5px; }
.hd-card--pic { padding: 0; overflow: hidden; }
.hd-card__pic { display: block; aspect-ratio: 16 / 10; background: #d8d2c2; overflow: hidden; }
.hd-card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.hd-card--pic:hover .hd-card__pic img { transform: scale(1.03); }
.hd-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 24px; }
.hd-g--tight .hd-card { padding: 20px 24px; }
/* numbered steps */
.hd-steps { counter-reset: hdst; }
.hd-steps .hd-card { counter-increment: hdst; }
.hd-steps .hd-card::before { content: counter(hdst); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 0 16px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 800; font-size: 17px; }
/* a tax district: every neighborhood by name */
.hd-nbs { display: block; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--hd-dark-line); font-size: 14.5px; line-height: 1.6; color: var(--hd-dark-muted); }
.hd-nbs__n { color: var(--paper); font-weight: 700; margin-right: 2px; }
.hd-nbs__n::after { content: ":"; }
.hd-nbs a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.hd-nbs a:hover { color: var(--paper); border-bottom-color: var(--paper); }
.hd-nbs i { font-style: normal; }
.hd:not(:has(.hd-sec--dark)) .hd-nbs, .hd-sec:not(.hd-sec--dark) .hd-nbs { border-top-color: var(--line); color: var(--ink-muted); }
.hd-sec:not(.hd-sec--dark) .hd-nbs__n { color: var(--ink); }
.hd-sec:not(.hd-sec--dark) .hd-nbs a { border-bottom-color: var(--line); }
.hd-sec:not(.hd-sec--dark) .hd-nbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
/* About: the write-up beside the facts */
.hd-about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--hd-gap); align-items: stretch; }   /* the two cards the same height */
/* a short card beside a tall one (About, Who is behind this, a builder's About): the short card's words stay in view under
   the header and the jump bar while the tall one scrolls past (hub-design.js marks it .is-stick when it is shorter by more
   than a little and fits the screen); a phone stacks the cards and nothing sticks */
.hd-stick { display: block; }
@media (min-width: 760px) {
  .hd-card.is-stick > .hd-stick { position: sticky; top: calc(var(--hd-top, var(--d-nav)) + var(--hd-jump-h, 0px) + 22px); }
}
.hd-prose p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.hd-prose p:last-child { margin-bottom: 0; }
.hd-facts dl { margin: 0; }
.hd-facts dl > div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.hd-facts dl > div:first-child { border-top: 0; padding-top: 0; }
.hd-facts dt { font-size: 13.5px; font-weight: 700; color: var(--ink-muted); }
.hd-facts dd { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.hd-about + .hd-h3 { margin-top: 48px; }
/* the wide photo (not pinned) */
.hd-wide { position: relative; margin: 0 0 var(--hd-gap); border-radius: var(--hd-r); overflow: hidden; background: #d8d2c2; aspect-ratio: 21 / 8; }
.hd-wide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hd-wide .hd-credit { position: absolute; right: 12px; bottom: 10px; margin: 0; padding: 4px 9px; border-radius: 7px; background: rgba(12,12,13,.6); color: #fff; opacity: 1; }
/* the closing band */
.hd-close { padding: 56px 0; }
.hd-close__row { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.hd-close .hd-h2 { margin: 0; }
.hd-close .hd-lead { margin: 8px 0 0; }
.hd-close__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hd-near { margin: 28px 0 0; font-size: 15px; line-height: 2; color: var(--ink-muted); }
.hd-near b { margin-right: 14px; color: var(--ink); }
.hd-near a { margin-right: 16px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.hd-near a:hover { border-bottom-color: var(--ink); }
.hd-near span { display: none; }

/* -------------------------------------------------------------------------------- the map */
.hd-mapbox { position: relative; border: 1px solid var(--line); border-radius: var(--hd-r); overflow: hidden; background: #ebe8df; }
.hd-mapbox svg { display: block; width: 100%; height: auto; max-height: 760px; }
.hd-sec-shape { stroke: #faf8f3; stroke-width: 2; stroke-linejoin: round; transition: filter .15s, stroke .15s, stroke-width .15s; }
.hd-sec-shape[tabindex] { cursor: pointer; outline: none; }
.hd-sec-shape[tabindex]:hover, .hd-sec-shape[tabindex]:focus, .hd-sec-shape.is-on { stroke: var(--ink); stroke-width: 4.5; filter: brightness(1.08); }
.hd-sec-shape.is-mark { stroke: var(--ink); stroke-width: 3; }
.hd-k0 { fill: #c9c2ae; } .hd-k1 { fill: #a9b8a3; } .hd-k2 { fill: #d8cfb8; } .hd-k3 { fill: #b6aa91; } .hd-k4 { fill: #c7d0c1; } .hd-k5 { fill: #e0d6c1; } .hd-k6 { fill: #a99f88; } .hd-k7 { fill: #bfc6b4; } .hd-kx { fill: #dcd9d1; }
.hd-lbls text { font: 700 13px var(--font); fill: var(--ink); paint-order: stroke; stroke: rgba(250,248,243,.85); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; text-anchor: middle; }
.hd-pin { cursor: pointer; outline: none; }
.hd-pin > * { stroke: #fff; stroke-width: 2.5; transition: transform .15s; transform-box: fill-box; transform-origin: center; }
.hd-pin:hover > *, .hd-pin:focus > *, .hd-pin.is-on > * { transform: scale(1.35); }
.hd-pin--model > *, svg.hd-pin--model > * { fill: var(--ink); }
.hd-pin--school > *, svg.hd-pin--school > * { fill: #e3a400; }
.hd-pin--amenity > *, svg.hd-pin--amenity > * { fill: var(--accent); }
.hd-pin--entrance > *, svg.hd-pin--entrance > * { fill: #7a5c3e; }
.hd-tip { position: absolute; z-index: 5; width: 300px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(12,12,13,.22); }
.hd-tip[hidden] { display: none; }
.hd-tip .k { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.hd-tip .n { margin: 0 0 6px; font-size: 19px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.hd-tip .d { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-muted); }
.hd-tip .a { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hd-tip .a a:not(.hd-mini) { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hd-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-muted); }
.hd-legend li { display: flex; align-items: center; gap: 7px; }
.hd-legend svg { width: 16px; height: 16px; overflow: visible; }
.hd-legend svg > * { stroke: #fff; stroke-width: 2; }

/* -------------------------------------------------------------------------------- the slide-out form */
.hd-scrim { position: fixed; inset: 0; z-index: 1090; background: rgba(12,12,13,.5); opacity: 0; transition: opacity .2s; }
.hd-scrim.is-on { opacity: 1; }
.hd-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1091; width: 460px; max-width: 100%; overflow: auto; overscroll-behavior: contain; padding: 30px 30px 28px;
  background: #fff; color: var(--ink); box-shadow: -24px 0 60px rgba(12,12,13,.25); transform: translateX(100%); transition: transform .26s cubic-bezier(.2,.7,.2,1); }
.hd-drawer.is-on { transform: none; }
.hd-drawer h2 { margin: 0 0 6px; padding-right: 48px; font-size: 28px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.hd-why { margin: 0 0 20px; font-size: 15px; color: var(--ink-muted); }
.hd-x { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.hd-x:hover { border-color: var(--ink); }
.hd-about { }
p.hd-about { margin: 0 0 14px; padding: 10px 13px; border-radius: 10px; background: var(--paper-2); font-size: 14.5px; font-weight: 600; }
.hd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hd-f { margin: 0 0 12px; min-width: 0; }
.hd-f label, .hd-f legend { display: block; margin: 0 0 5px; padding: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
fieldset.hd-f { border: 0; padding: 0; }
.hd-f input, .hd-f textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--font); }
.hd-f textarea { resize: vertical; min-height: 84px; }
.hd-f input:focus, .hd-f textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #fff; }
.hd-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hd-chip { min-height: 38px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer; }
.hd-chip:hover { border-color: var(--ink); }
.hd-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hd-fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-muted); }
.hd-fine a { color: var(--ink); font-weight: 700; }
.hd-alert:empty { display: none; }
.hd-alert .alert { margin: 0 0 14px; }
.hd-drawer.is-sent .hd-form > :not(.hd-alert) { display: none; }
.hd-drawer [hidden] { display: none !important; }
.hd-fab { position: fixed; right: 26px; bottom: 26px; z-index: 1050; box-shadow: 0 12px 30px rgba(12,12,13,.3); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.hd-fab.is-on { opacity: 1; pointer-events: auto; transform: none; }
html.hd-lock .hd-fab, html.sm-open .hd-fab { opacity: 0; pointer-events: none; visibility: hidden; }
html.hd-lock, html.hd-lock body { overflow: hidden; }

/* -------------------------------------------------------------------------------- the find box (a help on the directories) */
.hd-find { margin: 0 0 18px; max-width: 520px; }
.hd-find label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.hd-find input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 400 16px/1.3 var(--font); }
.hd-find input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hd-find p { margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
[data-hd-item][hidden] { display: none !important; }
[data-hd-group][hidden] { display: none !important; }

/* -------------------------------------------------------------------------------- the hub's other pages */
.hd-g1 { grid-template-columns: minmax(0, 1fr); }
.hd-about--solo { grid-template-columns: minmax(0, 1fr); max-width: 1120px; }
.hd-narrow { max-width: 980px; }
.hd-count { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--ink-muted); vertical-align: middle; }
/* the tax page's sources: a row per neighborhood inside its district's card */
.hd-rowcard .hd-name { font-size: 21px; }
.hd-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin: 14px 0 0; padding: 0; list-style: none; }
.hd-rows li { display: flex; flex-direction: column; gap: 1px; padding: 10px 10px 10px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hd-top, var(--d-nav)) + 24px); }
.hd-rows__n { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.hd-rows__r { font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hd-rows__s { font-size: 13px; color: var(--ink-muted); overflow-wrap: anywhere; }
.hd-rows__s a { color: inherit; }
.hd-rows li:target { margin: 0 -10px; padding-left: 10px; background: #fff6d6; border-radius: 8px; box-shadow: inset 3px 0 0 var(--ink); }
/* the master-planned list: one card per community, grouped by metro */
.hd-mpgroup + .hd-mpgroup { margin-top: 44px; }
.hd-mpgroup .hd-h3 { margin-top: 0; scroll-margin-top: calc(var(--hd-top, var(--d-nav)) + 70px); }
.hd-mpgroup { scroll-margin-top: calc(var(--hd-top, var(--d-nav)) + 70px); }
.hd-mp .hd-name { text-decoration: none; }
.hd-mp .hd-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.hd-mp .hd-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hd-mp:hover { border-color: #bdb6a6; }
.hd-mp--hub { border-color: var(--ink); }
.hd-mp__has { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; }
.hd-mp__has a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hd-inlinks a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.hd-inlinks a:hover { text-decoration-color: var(--ink); }

/* -------------------------------------------------------------------------------- widths */
@media (max-width: 1400px) { .hd-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* three across from 1200 px: below it a card is too narrow for its link and its button on one row (two across) */
@media (max-width: 1199px) { .hd-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a card's link and its button sit on one row from 1025 px (the link's words wrap inside it before the row ever breaks) */
@media (min-width: 1025px) {
  .hd-acts { flex-wrap: nowrap; }
  .hd-acts > * { flex: none; }
  .hd-acts > a:not(.hd-mini):not(.hd-btn) { flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 1100px) {
  .hd-g3, .hd-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .hd-sec { padding: 52px 0; }
  .hd-hero--photo { min-height: 0; }
  .hd-hero--photo .hd-hero__in { padding-top: calc(var(--d-nav) + 110px); padding-bottom: 32px; }
  .hd-h1 { font-size: clamp(38px, 11vw, 52px); }
  .hd-heroacts { display: grid; grid-template-columns: 1fr 1fr; }
  .hd-heroacts .hd-btn:first-child { grid-column: 1 / -1; }
  .hd-heroacts .hd-btn:nth-child(2):last-child { grid-column: 1 / -1; }   /* a lone second button takes the row, never a narrow pill */
  .hd-heroacts .hd-btn { padding-left: 12px; padding-right: 12px; }
  .hd-g2, .hd-g3, .hd-g4, .hd-about { grid-template-columns: minmax(0, 1fr); }
  .hd-g { gap: 12px; }
  .hd-card { padding: 22px 20px 20px; }
  .hd-card__body { padding: 20px 20px 22px; }
  .hd-name { font-size: 21px; } .hd-name--s { font-size: 19px; }
  .hd-big { font-size: 38px; }
  .hd-facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .hd-jump__cta { display: none; }
  .hd-jump li a { padding: 15px 12px; font-size: 14.5px; }
  .hd-wide { aspect-ratio: 16 / 10; }
  .hd-close__acts { width: 100%; }
  .hd-close__acts .hd-btn { flex: 1 1 auto; }
  .hd-fab { display: none; }
  .hd-drawer { width: 100%; padding: 22px 20px 24px; }
  .hd-two { grid-template-columns: 1fr; gap: 0; }
  .hd-drawer .hd-btn--full { position: sticky; bottom: 0; box-shadow: 0 -10px 18px #fff; }
  .hd-tip { left: 10px !important; right: 10px; width: auto; }
  .hd-rows { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hd-drawer, .hd-scrim, .hd-fab, .hd-card, .hd-card__pic img, .hd-pin > * { transition: none; }
  a.hd-card:hover { transform: none; }
}

/* no lone last word under a heading or in a lead line (browsers without it wrap as before) */
.hd-h1, .hd-h2, .hd-h3 { text-wrap: balance; }
.hd-lead, .hd-sub, .hd-txt, .hd-src { text-wrap: pretty; }
