/* A fallback sized like Plus Jakarta Sans (speed check, November 14, 2026). Until the web font arrives the header
   and top bar draw in Arial, whose widths differ from it (regular text about 6% narrower, bold text about 1%),
   so the nav, the top bar and the header button slid sideways when it loaded (desktop CLS up to 0.029).
   size-adjust per weight is measured from the header's own text in Chromium; the ascent and descent overrides
   keep the font's own line box. */
@font-face { font-family: "Plus Jakarta Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 300 500; size-adjust: 106%; ascent-override: 97.9%; descent-override: 20.9%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Arimo Bold"); font-weight: 600 800; size-adjust: 101%; ascent-override: 102.8%; descent-override: 22%; line-gap-override: 0%; }

/* Page review, October 30, 2026: small shared fixes on top of the Astro export's two stylesheets.
   Content pages and blog pages link it; building pages keep building.css. */

/* Guide sidebar "On this page": wide screens only (the export has no lg:block). */
.rv-toc { display: none; }
@media (min-width: 1024px) { .rv-toc { display: block; } }

/* Photos inside guide text: one calm 16:9 frame, never a full screen tall. */
main:not(.bldg) .article-body figure.image-frame { margin: 2rem 0; }
main:not(.bldg) .article-body figure.image-frame img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; margin: 0; border-radius: 0; }

/* Boxed notes and quotes: a tint, not a colored side rule. */
main:not(.bldg) .article-body blockquote { border-left: 0; }

/* No sideways scroll at 360px: grid columns may shrink, and long email links wrap. */
main:not(.bldg) .grid > * { min-width: 0; }
main:not(.bldg) a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Search cards on phones: a shorter photo so eleven cards don't run four screens. */
@media (max-width: 639px) {
  main:not(.bldg) .card-lux > .relative.h-\[190px\] { height: 128px; }
}

/* Phones: the breadcrumb keeps the current page on one line, cut short with an ellipsis when long
   (group B request, October 31, 2026; it used to be hidden). */
@media (max-width: 767px) {
  main:not(.bldg) nav[aria-label="Breadcrumb"] ol { flex-wrap: nowrap; min-width: 0; }
  main:not(.bldg) nav[aria-label="Breadcrumb"] li { flex-shrink: 0; }
  main:not(.bldg) nav[aria-label="Breadcrumb"] li:last-child { flex: 0 1 auto; min-width: 0; }
  main:not(.bldg) nav[aria-label="Breadcrumb"] li:last-child > [aria-current] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Contrast (carried from the Houston Apartment Locators accessibility pass, October 2026):
   slate 500 gray on these near black backgrounds measured 3.7 to 4.3 to 1, under the 4.5 to 1
   minimum for small text. Slate 400 reads at 7 to 1 or better on every dark surface here. */
.text-slate-500 { color: #94a3b8; }

/* Diagrams on phones (October 31, 2026). An inline diagram (an svg labelled "dg-...")
   keeps a width where its smallest label reads at 14px or more, and its frame scrolls
   sideways, with a line above it and a fade on the edge that has more to see. */
@property --dg-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
@media (max-width: 620px) {
  figure:has(> svg[aria-labelledby^="dg-"]) { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; max-width: 100%; --dg-fade: 2.5rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--dg-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--dg-fade)), transparent); }
  figure > svg[aria-labelledby^="dg-"] { min-width: var(--dg-min, 560px); }
  figure:has(> svg[aria-labelledby^="dg-"])::before { content: "Swipe sideways to see the whole diagram \2192"; content: "Swipe sideways to see the whole diagram \2192" / ""; position: sticky; left: 0; display: block; width: max-content; max-width: 100%; margin: 0 0 .5rem; font-size: .875rem; line-height: 1.3; font-weight: 600; opacity: .75; }
  figure:has(> svg[aria-labelledby^="dg-"]) > figcaption { position: sticky; left: 0; max-width: calc(100vw - 2.5rem); }
  @supports (animation-timeline: scroll()) {
    figure:has(> svg[aria-labelledby^="dg-"]) { animation: dg-edge linear both; animation-timeline: scroll(self inline); }
  }
}
@keyframes dg-edge { 0%, 85% { --dg-fade: 2.5rem; } 100% { --dg-fade: 0px; } }

/* ===================================================================================
   Design pass, October 31, 2026: the shell and type scale of the Austin family (Austin
   and Dallas high rise sites), in Houston's own colors (ink and champagne gold), fonts
   (Cinzel and Plus Jakarta Sans) and name. Markup for the licensing bar, header action,
   phone menu, phone bar and footer comes from tools/pages/shell.mjs. Rules for page
   content are scoped to main:not(.bldg): building pages keep building.css.
   =================================================================================== */
:root {
  --hh-ink: #090e15; --hh-deep: #06090e; --hh-surface: #121924; --hh-raise: #182232; --hh-line: #222d3d;
  --hh-gold: #c5a880; --hh-gold-hover: #d8c2a0; --hh-gold-light: #e5cfaa; --hh-muted: #94a3b8; --hh-sub: #cbd5e1;
  --hh-head: Cinzel, Georgia, serif; --hh-ui: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --hh-radius: 2px;
}
/* One page width across the family. */
.container-lux { max-width: 1240px; }
html, body { overflow-x: clip; }
::selection { background: rgb(197 168 128 / .35); color: #fff; }
:root { accent-color: var(--hh-gold); }
a { text-underline-offset: .18em; }

/* Licensing bar: brokerage, license and direct line, on every width. */
.hh-topbar { background: var(--hh-deep); border-bottom: 1px solid var(--hh-line); color: var(--hh-sub); font-family: var(--hh-ui); font-size: .8125rem; }
.hh-topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.hh-topbar-l, .hh-topbar-r { display: flex; align-items: center; gap: .75rem; }
.hh-trec { background: rgb(197 168 128 / .14); color: var(--hh-gold-light); padding: .1rem .5rem; font-size: .75rem; font-weight: 700; border-radius: var(--hh-radius); }
.hh-topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.hh-topbar a:hover { text-decoration: underline; }
.hh-topbar-r a.hh-wide { color: var(--hh-gold-light); font-weight: 600; }
.hh-wide { display: none; }
@media (min-width: 640px) { .hh-topbar-r .hh-wide { display: inline; } }
@media (min-width: 768px) { .hh-topbar-l .hh-wide { display: inline; } }

/* Header: quiet menu type, one flat gold action, where-you-are marked by aria-current. */
#site-header .nav-link { font-family: var(--hh-ui); font-size: .95rem !important; font-weight: 600 !important; color: var(--hh-sub) !important; }
#site-header .nav-link:hover { color: var(--hh-gold-light) !important; }
#site-header .nav-link[aria-current] { color: var(--hh-gold) !important; box-shadow: inset 0 -2px 0 currentColor; }
#site-header [aria-current="page"].block { color: var(--hh-gold) !important; font-weight: 700 !important; }
#mobile-menu a[aria-current="page"] { color: var(--hh-gold) !important; background: var(--hh-surface) !important; }
#site-header .rounded-card, #site-header .rounded-field, #mobile-menu .rounded-field { border-radius: var(--hh-radius) !important; }
#site-header .shadow-card { box-shadow: 0 12px 28px rgb(0 0 0 / .45) !important; }
#site-header .btn-primary, #mobile-menu .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.25rem;
  background: var(--hh-gold); color: #0b0f15; font-family: var(--hh-ui); font-size: .95rem; font-weight: 700; border-radius: var(--hh-radius); text-decoration: none;
}
#site-header .btn-primary:hover, #mobile-menu .btn-primary:hover { background: var(--hh-gold-hover); }
.hh-menu-actions { display: grid; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hh-line); }
.hh-menu-actions .btn-outline { min-height: 44px; }
.hh-menu-actions p { margin: .25rem 0 0; text-align: center; font-size: .8125rem; line-height: 1.6; color: var(--hh-muted); }

/* Buttons everywhere outside building pages: flat, nearly square, no glow, no lift. */
.btn-gold, .btn-gold-lg { background: var(--hh-gold) !important; border-radius: var(--hh-radius) !important; box-shadow: none !important; letter-spacing: 0 !important; font-weight: 700 !important; }
.btn-gold:hover, .btn-gold-lg:hover { background: var(--hh-gold-hover) !important; transform: none !important; filter: none !important; }
.btn-outline, .btn-outline-lg, .btn-chip { border-radius: var(--hh-radius) !important; letter-spacing: 0 !important; }
.btn-outline-lg { background: transparent !important; }

/* Page type: Cinzel headings at the family's scale and regular weight, no tracked capitals. */
main:not(.bldg) h1, main:not(.bldg) h2, main:not(.bldg) .section-title { font-weight: 400 !important; letter-spacing: 0 !important; }
main:not(.bldg) h1 { line-height: 1.08 !important; }
main:not(.bldg) h2, main:not(.bldg) .section-title { line-height: 1.2 !important; }
main:not(.bldg) h3.font-heading, main:not(.bldg) h3[class*="font-heading"] { font-weight: 600 !important; letter-spacing: 0 !important; }
main:not(.bldg) .uppercase { text-transform: none !important; }
main:not(.bldg) [class*="tracking-["], main:not(.bldg) .uppercase { letter-spacing: 0 !important; }
/* Surfaces: a tone step and a hairline, nearly square, no drop shadows, no lift on hover. */
main:not(.bldg) .card-lux, main:not(.bldg) .rounded-card { border-radius: var(--hh-radius) !important; box-shadow: none !important; }
main:not(.bldg) .card-lux-hover:hover { transform: none !important; }
main:not(.bldg) .rounded-field, main:not(.bldg) .rounded-badge, main:not(.bldg) .rounded-xl, main:not(.bldg) .rounded-2xl, main:not(.bldg) .rounded-lg { border-radius: var(--hh-radius) !important; }
main:not(.bldg) [class*="shadow-"] { box-shadow: none !important; }
main:not(.bldg) .group:hover .group-hover\:scale-105 { transform: none !important; }
/* More air between sections, as on the sister sites. */
main:not(.bldg) .section { padding-top: 6rem; padding-bottom: 6rem; }
@media (max-width: 767px) { main:not(.bldg) .section { padding-top: 3.5rem; padding-bottom: 3.5rem; } }

/* Phone sticky bar: call, or start the questionnaire. */
.hh-bar { z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: rgb(9 14 21 / .97); border-top: 1px solid var(--hh-line); font-family: var(--hh-ui); }
.hh-bar a { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: .5rem; font-size: .95rem; font-weight: 700; text-decoration: none; }
.hh-bar-call { color: #fff; }
.hh-bar a.bg-secondary-500 { background: var(--hh-gold); color: #0b0f15; white-space: nowrap; font-size: .875rem; }
@media (min-width: 1024px) { .hh-bar { display: none; } }
/* The page ends above the bar: room for the bar's own height (56px and its 1px rule) and the
   phone's home indicator area (group B request). */
@media (max-width: 1023px) {
  .hh-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Back to top (wide screens): small, square, clear of the footer's last line. */
.hh-top { right: 1.5rem; bottom: 1.5rem; width: 44px; height: 44px; border: 1px solid rgb(197 168 128 / .4); background: var(--hh-surface); color: var(--hh-gold); border-radius: var(--hh-radius); transition: opacity .2s; }
.hh-top:hover { border-color: var(--hh-gold); }

/* Footer: brand and contact, four link lists, then the licensing lines. */
.hh-footer { background: var(--hh-deep); border-top: 1px solid var(--hh-line); color: var(--hh-sub); font-family: var(--hh-ui); font-size: .9375rem; padding: 4rem 0 2rem; }
.hh-footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .hh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hh-footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; } }
.hh-footer a { color: var(--hh-sub); text-decoration: none; }
.hh-footer a:hover { color: var(--hh-gold-light); text-decoration: underline; }
#site-header .hh-logo { display: block; height: 44px; width: auto; }
.hh-footer-logo { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: #fff !important; font-family: var(--hh-head); font-size: 1.2rem; font-weight: 700; }
.hh-footer-logo:hover { text-decoration: none !important; }
.hh-footer-brand p { margin: 0 0 .9rem; max-width: 22rem; line-height: 1.6; }
.hh-footer-brand strong { color: #fff; }
.hh-footer-brand a[href^="mailto:"] { font-size: .875rem; overflow-wrap: anywhere; }
.hh-footer h3 { margin: 0 0 1rem; font-family: var(--hh-head); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: #fff; }
.hh-footer ul { list-style: none; margin: 0; padding: 0; }
.hh-footer li { margin: 0 0 .5rem; }
.hh-footer li a { display: inline-block; min-height: 24px; line-height: 1.45; }
@media (max-width: 639px) {
  .hh-footer nav ul { columns: 2; column-gap: 1.25rem; }
  .hh-footer nav li { break-inside: avoid; }
}
.hh-footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hh-line); font-size: .875rem; line-height: 1.6; color: var(--hh-muted); }
.hh-footer-legal p { margin: 0 0 .5rem; }
.hh-footer-legal a { color: var(--hh-gold-light); text-decoration: underline; }
.hh-footer-links { display: flex; flex-wrap: wrap; gap: .25rem 0; }
.hh-footer-links a { display: inline-block; min-height: 24px; line-height: 1.6; }
@media (min-width: 640px) { .hh-footer-links a:not(:last-child)::after { content: "·"; display: inline-block; margin: 0 .6rem; color: var(--hh-muted); text-decoration: none; } }
@media (max-width: 639px) { .hh-footer-links { flex-direction: column; align-items: flex-start; gap: .35rem; } }
.hh-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hh-line); font-size: .8125rem; color: var(--hh-muted); }
.hh-footer-base p { margin: 0; }
@media (min-width: 1024px) { .hh-footer-base { padding-right: 4.5rem; } }

/* Keyboard focus: a visible gold ring. Calmer motion when asked. */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--hh-gold) !important; outline-offset: 2px !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* Shared components of the export, in the family's treatment. */
.glass-panel { border-radius: var(--hh-radius) !important; box-shadow: none !important; border-color: var(--hh-line) !important; background: var(--hh-surface) !important; }
.field { border-radius: var(--hh-radius) !important; min-height: 44px; }
.field-label { text-transform: none !important; letter-spacing: 0 !important; font-size: .875rem !important; }
.pill-trust, .pill-special, .pill-eyebrow { border-radius: var(--hh-radius) !important; text-transform: none !important; letter-spacing: 0 !important; }
.gold-text { background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; }
/* Form submit buttons carried an inline gold gradient and glow; one flat gold, no lift. */
main:not(.bldg) button[type="submit"][style*="gradient"] { background: var(--hh-gold) !important; box-shadow: none !important; border-radius: var(--hh-radius) !important; letter-spacing: 0 !important; transform: none !important; filter: none !important; }
main:not(.bldg) button[type="submit"][style*="gradient"]:hover { background: var(--hh-gold-hover) !important; }
main:not(.bldg) span[style*="#d4af37"] { background: var(--hh-gold) !important; box-shadow: none !important; }
main:not(.bldg) .image-frame, main:not(.bldg) img.rounded-2xl, main:not(.bldg) img[class*="rounded"] { border-radius: var(--hh-radius) !important; box-shadow: none !important; }
main:not(.bldg) th { text-transform: none !important; letter-spacing: 0 !important; }
/* Form errors in words under the field, a red edge on the field, and range notes in the calculator. */
.field-error, .calc-note { margin: .35rem 0 0; font-size: .875rem; line-height: 1.4; }
.field-error { color: #fca5a5; font-weight: 600; }
.calc-note { color: var(--hh-gold-light); }
.field[aria-invalid="true"] { border-color: #f87171 !important; box-shadow: inset 0 0 0 1px #f87171 !important; }
main:not(.bldg) .table-wrap { border-radius: var(--hh-radius) !important; }

/* Tables in page text (guides, blog posts, topic pages; group C request, matching guide/guide.css):
   on phones, 14px cells and a fade on the right edge while the table can still scroll (none when
   it fits or once scrolled to the end). Header cells read at 14px on every width (they were 12px). */
@property --tbl-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
main:not(.bldg) .article-body thead th, main:not(.bldg) .table-lux th { font-size: .875rem !important; }
@media (max-width: 767px) {
  main:not(.bldg) .article-body table th, main:not(.bldg) .article-body table td { font-size: 14px; line-height: 1.45; padding: .55rem .65rem; vertical-align: top; }
  main:not(.bldg) .article-body table, main:not(.bldg) .table-wrap { overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--tbl-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--tbl-fade)), transparent); }
  @supports (animation-timeline: scroll()) {
    main:not(.bldg) .article-body table, main:not(.bldg) .table-wrap { animation: tbl-edge linear both; animation-timeline: scroll(self inline); }
  }
}
@keyframes tbl-edge { 0%, 90% { --tbl-fade: 3rem; } 100% { --tbl-fade: 0px; } }

/* Phones: the page hero and the section after it each carried their full padding, a tall empty
   band under the hero buttons (group C request; shared by every page with a photo hero). */
@media (max-width: 767px) {
  main:not(.bldg) [data-hero] > .container-lux { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  main:not(.bldg) [data-hero] + .section { padding-top: 2.5rem; }
}
/* Header menus: click to open "More", Escape closes any menu (nav-a11y.js) */
#site-header .group.is-open > div.invisible { visibility: visible; opacity: 1; }
#site-header .group.nav-esc > div.invisible { visibility: hidden !important; opacity: 0 !important; }
/* Saved list link in the header, shown once something is saved */
.hh-saved-nav { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; margin-left: 12px; border: 1px solid var(--hh-line); border-radius: 999px; color: #fff; font-family: var(--hh-ui); font-weight: 700; font-size: .875rem; text-decoration: none; }
.hh-saved-nav[hidden] { display: none; }
.hh-saved-nav:hover, .hh-saved-nav:focus-visible { border-color: var(--hh-gold); color: var(--hh-gold-light); }
@media (max-width: 639px) { .hh-saved-nav-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .hh-saved-nav { padding: 0 10px; margin-left: auto; margin-right: 6px; } }
.hh-bar { grid-template-columns: 1fr 1fr 2fr; }
