/* ============================================================
   Horizon redesign — design system
   Ported from the approved comp. Beaver Builder supplies the
   structure and the hz-* class hooks; all design lives here.
   ============================================================ */
:root{
  /* "Sun & Sky" — client-approved from the alt-palette review page
     (prototype/alt-palette-review/alt-palette-review.html, palette=vivid).
     Replaces the warm-sand/coral palette site-wide, 2026-11-04. */
  --hz-navy:#00658B; --hz-navy-alt:#005371;
  --hz-blue:#00A9D6; --hz-blue-text:#006B92;
  --hz-gold:#FFBC32; --hz-gold-tint:#FFF4CC; --hz-gold-text:#875A00;
  --hz-ink:#263D48; --hz-slate:#4A5F67;
  --hz-mist:#E8F6FB; --hz-paper:#FFFFFF; --hz-line:#D3E7EE;
  --hz-display:"Montserrat",-apple-system,"Segoe UI",sans-serif;
  --hz-body:"Source Sans 3",-apple-system,"Segoe UI",sans-serif;
  --hz-shadow-lift:0 3px 8px rgba(0,101,139,.05),0 14px 30px rgba(0,101,139,.12);
}

/* ---------- let full-width rows escape Astra's container ----------
   Astra wraps singular content in .ast-container with a max-width, which stops a
   Beaver Builder full-width row from going edge to edge. */
.single-plan-detail .site-content .ast-container,
.single-community-detail .site-content .ast-container{
  max-width:100%; padding-left:0; padding-right:0;
}
.single-plan-detail .content-area,
.single-community-detail .content-area{ margin-left:0; margin-right:0; }

/* ---------- typography ---------- */
.single-plan-detail,.single-community-detail{ font-family:var(--hz-body); color:var(--hz-ink); }
.single-plan-detail h1,.single-plan-detail h2,.single-plan-detail h3,.single-plan-detail h4,
.single-community-detail h1,.single-community-detail h2,.single-community-detail h3{
  font-family:var(--hz-display); letter-spacing:-.01em; text-wrap:balance;
}
.hz-plan-hero h1,.hz-plan-hero .fl-heading-text{
  font-size:clamp(2.2rem,4.4vw,3.5rem); font-weight:700; color:#fff; line-height:1.12;
}
.hz-plan-content h2,.hz-plan-content h2 .fl-heading-text,
.hz-plan-form h2,.hz-plan-form h2 .fl-heading-text{
  font-size:clamp(1.6rem,2.8vw,2.2rem); font-weight:700; color:var(--hz-navy);
}
.hz-plan-content h3 .fl-heading-text{ font-size:1.15rem; font-weight:600; color:var(--hz-navy); }

/* ---------- eyebrow (the logo's gold arc, echoed) ---------- */
.hz-eyebrow .fl-heading-text{
  font-family:var(--hz-display); font-size:.75rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--hz-gold-tint);
  display:inline-flex; align-items:center; gap:.6rem;
}
.hz-eyebrow .fl-heading-text::before{
  content:""; width:34px; height:8px; flex:none;
  border-top:2px solid var(--hz-gold); border-radius:50%/100% 100% 0 0;
}

/* ---------- hero ---------- */
.hz-plan-hero{ color:#fff; }
.hz-plan-hero .fl-rich-text,.hz-plan-hero .fl-rich-text p{ color:#DCE6F1; font-size:1.05rem; max-width:52ch; }
.hz-plan-hero .fl-photo-img{
  border-radius:5px; background:#fff; padding:12px;
  box-shadow:0 26px 64px rgba(0,0,0,.34); width:100%; height:auto;
}
.hz-avail-label{
  font-family:var(--hz-display); font-size:.7rem; font-weight:700; letter-spacing:.13em;
  text-transform:uppercase; color:#A9C0D6; margin:1.4rem 0 .5rem;
}

/* ---------- community chips ---------- */
.hz-chips > div{ display:flex; flex-wrap:wrap; gap:6px; }
.hz-chips span a,.hz-chips span{
  font-family:var(--hz-display); font-size:.78rem; font-weight:600; text-decoration:none;
  display:inline-block; padding:.3rem .7rem; border-radius:3px;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.32); color:#fff;
  transition:background .15s,border-color .15s;
}
.hz-chips span a:hover{ background:rgba(255,255,255,.3); border-color:#fff; color:#fff; }
.hz-chips-dark span a,.hz-chips-dark span{
  background:var(--hz-mist); border-color:var(--hz-line); color:var(--hz-navy);
}
.hz-chips-dark span a:hover{ background:#E6EDF3; border-color:var(--hz-navy); }

/* ---------- spec bar ----------
   UABB info-box markup: .uabb-infobox-title-prefix holds the connected number,
   .uabb-infobox-title holds the static label. */
.hz-specbar{ border-bottom:1px solid var(--hz-line); }
.hz-specbar .uabb-infobox{ padding:20px 8px; }
.hz-specbar .uabb-infobox-title-wrap{
  display:flex; flex-direction:column; align-items:center; gap:.25rem; text-align:center;
}
.hz-specbar .uabb-infobox-title-prefix{
  font-family:var(--hz-display); font-size:1.5rem; font-weight:700; line-height:1;
  color:var(--hz-navy); font-variant-numeric:tabular-nums; margin:0;
}
.hz-specbar .uabb-infobox-title{
  font-family:var(--hz-display); font-size:.68rem; font-weight:600; line-height:1.25;
  letter-spacing:.12em; text-transform:uppercase; color:var(--hz-slate); margin:0;
}
.hz-specbar .uabb-icon i,.hz-specbar .uabb-imgicon-wrap i{ color:var(--hz-gold); }

/* ---------- floor plan sheets ---------- */
.hz-sheets{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:18px; margin-top:1.2rem;
}
/* Three sheets should sit on one row rather than leaving the third stranded under the
   first two — the columns simply get narrower. A quantity query: :has() on the third
   child is true for three sheets or more, and three is the cap, so a fourth wraps.
   Held back below 600px, where three tracks in the content column would be about 100px
   each and the plan unreadable; there auto-fill gives one or two.
   Without :has() support this rule never matches and the grid behaves as it did. */
@media(min-width:600px){
  .hz-sheets:has(.hz-sheet:nth-child(3)){ grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
}
.hz-sheet{ margin:0; border:1px solid var(--hz-line); border-radius:4px; background:#fff; overflow:hidden; }
.hz-sheet img{ display:block; width:100%; height:auto; }

/* The sheet opens full size in the lightbox. Unlike .hz-thumb this must not crop —
   a floor plan read at a square aspect ratio is useless — so no aspect-ratio and no
   object-fit here: the scrim and magnifier are the whole hover treatment. */
.hz-sheet-link{
  position:relative; display:block; line-height:0; cursor:zoom-in;
  transition:box-shadow .18s ease;
}
.hz-sheet-link::before{                  /* scrim */
  content:""; position:absolute; inset:0; z-index:1; opacity:0;
  background:rgba(13,31,53,.32); transition:opacity .18s ease;
}
.hz-sheet-link::after{                   /* magnifier, matching the gallery thumbs */
  content:""; position:absolute; inset:0; z-index:2; opacity:0;
  transform:scale(.82); transition:opacity .18s ease, transform .18s ease;
  background-repeat:no-repeat; background-position:center; background-size:34px 34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.4 15.4L20 20'/%3E%3Cpath d='M10.5 7.8v5.4M7.8 10.5h5.4'/%3E%3C/svg%3E");
}
.hz-sheet-link:hover::before,.hz-sheet-link:focus-visible::before{ opacity:1; }
.hz-sheet-link:hover::after,.hz-sheet-link:focus-visible::after{ opacity:1; transform:scale(1); }
.hz-sheet-link:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:-3px; }
.hz-sheet figcaption{
  font-family:var(--hz-display); font-size:.72rem; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--hz-slate); padding:.7rem .85rem;
  border-top:1px solid var(--hz-line);
}

/* ---------- at a glance ---------- */
/* the panel owns the box; .hz-kv is just the rows inside it */
.hz-panel{
  background:#fff; border:1px solid var(--hz-line); border-radius:4px;
  padding:20px 22px; margin-bottom:18px;
}
.hz-panel-mist{ background:var(--hz-mist); }
.hz-panel-title{
  font-family:var(--hz-display); font-size:.78rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--hz-slate); margin:0 0 .9rem;
}
.hz-panel .hz-empty{ margin:0; font-size:.92rem; }

/* brochure / download links */
.hz-dl{ display:flex; flex-direction:column; gap:8px; }
.hz-dl a{
  display:flex; align-items:center; gap:.6rem; font-family:var(--hz-display);
  font-size:.88rem; font-weight:600; color:var(--hz-navy); background:#fff;
  border:1px solid var(--hz-line); border-radius:3px; padding:.7rem .85rem;
  text-decoration:none; transition:.15s;
}
.hz-dl a:hover{ border-color:var(--hz-navy); background:var(--hz-mist); color:var(--hz-navy); }
.hz-dl svg{ flex:none; color:var(--hz-gold); }
/* The rows that leave the site: the label keeps the row's weight and the note sits under
   it, quiet enough not to compete but present enough that the two behaviours read as a
   choice. The label and note stack, so the row grows rather than the text wrapping oddly. */
/* `gap` on the row applies to both axes, so the .6rem meant for the icon was also
   pushing the note 10.8px below the label. The column gap stays; the row gap does not. */
.hz-dl a{ flex-wrap:wrap; row-gap:2px; }
.hz-dl-away > span:not(.hz-dl-note){ flex:1 1 auto; }
.hz-dl-note{
  /* line the note up under the label: the icon's 16px plus the row's .6rem gap */
  flex:1 1 100%; margin-left:calc(16px + .6rem); font-family:var(--hz-body); font-weight:400;
  font-size:.76rem; letter-spacing:.01em; color:var(--hz-slate); line-height:1.3;
}
.hz-dl-away svg{ color:var(--hz-blue-text); }

.hz-kv{ margin:0; }
.hz-kv > div{ display:flex; justify-content:space-between; gap:14px; padding:.6rem 0; border-bottom:1px solid var(--hz-line); }
.hz-kv > div:last-child{ border-bottom:0; }
.hz-kv dt{ color:var(--hz-slate); font-size:.93rem; margin:0; }
.hz-kv dd{ margin:0; font-family:var(--hz-display); font-weight:600; color:var(--hz-navy);
           font-variant-numeric:tabular-nums; font-size:.93rem; text-align:right; }

/* ---------- Gravity Forms: type ----------
   Every form on the site reads the same. Field SPACING is not here: UABB writes padding and
   margins into per-node CSS that outranks these selectors, so it lives in the module settings
   (build/themer/set-form-layout.php), where the client can adjust it. */
/* Three classes on purpose. Two stylesheets load after this one and both tie or beat a plain
   `.gform_wrapper .gfield_label` (0,2,0): Gravity Forms' framework sets label type through
   `--gf-local-font-weight` at the same specificity and wins on order, and UABB's per-node CSS
   bolds `label.gfield_label` (0,2,1). UABB's rule doesn't match `legend.gfield_label`, which is
   what a complex field (Name, Address) uses — that is why Name came out lighter than Email. */
.gform_wrapper .gfield .gfield_label,
.gform_wrapper .gform_fields legend.gfield_label,
.gform_wrapper .gform_fields label.gfield_label{
  font-family:var(--hz-display); font-weight:600; color:var(--hz-navy); font-size:.92rem;
  line-height:1.3; padding:0;
}
.gform_wrapper .gfield .gfield_required{ color:var(--hz-slate); font-weight:600; }
.gform_wrapper .gfield .gfield_required .gfield_required_text{ font-style:normal; }
/* the "First" / "Last" sublabels stay quiet, and the same size on every form */
.gform_wrapper .gfield .ginput_complex label,
.gform_wrapper .gfield .gform-field-label--type-sub{
  font-family:var(--hz-body); font-weight:400; font-size:.78rem; color:var(--hz-slate);
}

/* A complex field (Name) splits itself with its own 12px gap plus 6px of padding inside each
   half, so its inputs came out narrower than a pair of Gravity Forms half-width fields, which
   the grid separates by 16px. Match the grid instead, so the columns line up down the form. */
.gform_wrapper .gfield .ginput_complex{
  gap:16px;
  /* the negative margin paired with that padding, which would otherwise push the row 6px
     past the field and widen both halves */
  margin-left:0; margin-right:0;
}
.gform_wrapper .gfield .ginput_complex > span{ padding-left:0; padding-right:0; }
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=number],
.gform_wrapper select,
.gform_wrapper textarea{
  font-family:var(--hz-body) !important; font-size:15px !important; line-height:1.4 !important;
  color:var(--hz-ink);
}
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus{
  border-color:var(--hz-navy) !important; box-shadow:0 0 0 3px rgba(31,69,112,.14); outline:none;
}
.gform_wrapper .gfield_description,
.gform_wrapper .gform_fileupload_rules,
.gform_wrapper .ginput_complex label{ font-size:.78rem; color:var(--hz-slate); }

/* ---------- form band ----------
   The submit button's colour is NOT set here. Gravity Forms renders it as
   <button class="gform_button">, UABB's form module copies Astra's global button colours into
   its own per-node CSS, and per-node CSS beats any class selector — so the colour lives in
   Customizer → Global → Buttons (build/themer/set-astra-buttons.php). Type and shape only: */
.gform_wrapper .gform_button,
.gform_wrapper .gform_footer input[type=submit]{
  font-family:var(--hz-display); font-weight:600; letter-spacing:.02em;
  border-radius:3px; padding:.8rem 1.6rem; cursor:pointer;
}
.gform_wrapper .gform_button:focus-visible,
.gform_wrapper .gform_footer input[type=submit]:focus-visible{
  outline:3px solid var(--hz-navy); outline-offset:2px;
}

@media (max-width:768px){
  .hz-specbar .uabb-infobox{ padding:14px 4px; }
  .hz-specbar .uabb-infobox-title-prefix{ font-size:1.2rem; }
  .hz-specbar .uabb-infobox-title{ font-size:.6rem; letter-spacing:.08em; }
}

/* ============================================================
   Community detail
   ============================================================ */
.hz-comm-hero{ position:relative; overflow:hidden; }
/* the hero photo is a module, not a row background: BB caches layout CSS once per
   layout, so a row background cannot vary per post. BB's own wrappers must stay
   unpositioned or the absolute photo anchors to the content box instead of the row. */
/* BB generates .fl-node-xxx.fl-row .fl-row-content-wrap{position:relative}, which
   outranks a two-class selector — match its specificity or the photo anchors to the
   content box and never reaches the row edges. */
.hz-comm-hero.fl-row .fl-row-content-wrap,
.hz-comm-hero.fl-row .fl-row-content,
.hz-comm-hero.fl-row .fl-col-group,
.hz-comm-hero.fl-row .fl-col,
.hz-comm-hero.fl-row .fl-col-content{ position:static !important; }
.hz-comm-hero .hz-hero-bg{ position:absolute; inset:0; margin:0; z-index:0; }
/* BB wraps the image in .fl-photo-content, an inline-block that stays at its natural
   size — the wrappers have to stretch or the img fills them instead of the row. */
.hz-comm-hero .hz-hero-bg .fl-module-content,
.hz-comm-hero .hz-hero-bg .fl-photo,
.hz-comm-hero .hz-hero-bg .fl-photo-content{
  display:block; width:100%; height:100%; margin:0; line-height:0;
}
.hz-comm-hero .hz-hero-bg img{ width:100%; height:100%; object-fit:cover; display:block; }
/* the overlay hangs off the photo wrapper, not the row: BB already uses .fl-row:after
   as a clearfix and wins the tie */
/* Sun & Sky: same light-mist overlay as the homepage hero (set-sun-sky-remaining.php /
   the "carry over the slider colour" pass), recoloured here instead of in BB settings
   since this gradient lives in CSS, not a row setting. Text below flips white -> navy
   to match. */
.hz-comm-hero .hz-hero-bg::after{
  content:""; position:absolute; inset:0; display:block; pointer-events:none;
  /* z-index is load-bearing: without it the <img> paints over the overlay */
  z-index:2;
  background:linear-gradient(180deg,
    rgba(242,251,255,.42) 0%,
    rgba(242,251,255,.66) 45%,
    rgba(242,251,255,.88) 100%);
}
.hz-comm-hero .fl-module:not(.hz-hero-bg){ position:relative; z-index:2; }

.hz-comm-hero h1,.hz-comm-hero h1 .fl-heading-text{
  font-size:clamp(2.2rem,4.4vw,3.4rem); font-weight:700; color:#00658B; margin:.3rem 0 0; text-shadow:none;
}
.hz-comm-addr{
  font-family:var(--hz-display); font-size:1rem; font-weight:600;
  color:#354F5B; margin:.55rem 0 0;
}
.hz-pill{
  display:inline-block; font-family:var(--hz-display); font-size:.68rem; font-weight:700;
  letter-spacing:.11em; text-transform:uppercase; padding:.36rem .8rem; border-radius:2px;
  background:var(--hz-gold); color:#231404;
}

/* ---------- stat row ---------- */
.hz-statrow{ display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }
.hz-statrow > div{ text-align:center; padding:20px 8px; }
.hz-statrow b{
  display:block; font-family:var(--hz-display); font-size:1.4rem; font-weight:700;
  color:var(--hz-navy); line-height:1.1; font-variant-numeric:tabular-nums;
}
.hz-statrow span{
  display:block; font-family:var(--hz-display); font-size:.66rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--hz-slate); margin-top:.35rem;
}
.hz-specbar-comm{ border-bottom:1px solid var(--hz-line); }

/* ---------- cards ---------- */
.hz-grid{ display:grid; gap:clamp(16px,2vw,26px); }
.hz-grid-plans{ grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); }
.hz-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--hz-line);
  border-radius:4px; overflow:hidden; text-decoration:none; color:inherit;
  transition:box-shadow .18s,transform .18s,border-color .18s;
}
.hz-card:hover{ box-shadow:var(--hz-shadow-lift); transform:translateY(-3px); border-color:#C3D2E0; }
/* the plans filter hides cards with the `hidden` attribute, and the browser's own
   [hidden]{display:none} loses to the display:flex above — every display rule in this file that
   a script toggles needs its own [hidden] pair */
.hz-card[hidden]{ display:none; }
/* the whole card is an <a>; Astra underlines link text, so kill it on every child */
.hz-card,.hz-card *,.hz-card:hover,.hz-card:hover *{ text-decoration:none !important; }
.hz-card-img{ display:block; aspect-ratio:16/9; background:#fff; overflow:hidden; }
.hz-card-img img{ width:100%; height:100%; object-fit:contain; padding:6px; }
.hz-card-body{ display:flex; flex-direction:column; flex:1; padding:16px 18px 18px; }
.hz-card-body h3{
  font-family:var(--hz-display); font-size:1.08rem; font-weight:600;
  color:var(--hz-navy); margin:0 0 .5rem;
}
.hz-card:hover .hz-card-body h3{ color:var(--hz-blue-text); }
.hz-specs{
  display:flex; flex-wrap:wrap; gap:.35rem .85rem; padding-top:.8rem;
  border-top:1px solid var(--hz-line); font-family:var(--hz-display); font-size:.8rem;
  font-weight:600; color:var(--hz-navy); font-variant-numeric:tabular-nums;
}
.hz-specs i{ font-style:normal; font-weight:500; color:var(--hz-slate); }
.hz-card-foot{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  margin-top:.85rem; padding-top:.8rem; border-top:1px solid var(--hz-line);
}
.hz-card-note{ font-family:var(--hz-display); font-size:.78rem; font-weight:600; color:var(--hz-slate); }
.hz-card-go{
  font-family:var(--hz-display); font-size:.76rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--hz-blue-text); white-space:nowrap;
}
.hz-empty{ color:var(--hz-slate); font-style:italic; }

.hz-comm-content h2 .fl-heading-text,.hz-comm-plans h2 .fl-heading-text{
  font-size:clamp(1.6rem,2.8vw,2.2rem); font-weight:700; color:var(--hz-navy);
}
.hz-comm-content h3 .fl-heading-text{ font-size:1.05rem; font-weight:600; color:var(--hz-navy); }


/* ---------- community cards ---------- */
.hz-grid-comm{ grid-template-columns:1fr; }
@media(min-width:640px){ .hz-grid-comm{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .hz-grid-comm{ grid-template-columns:repeat(3,1fr); } }

.hz-card-img{ position:relative; }
.hz-card-img .hz-pill{ position:absolute; top:12px; left:12px; z-index:2; }
.hz-pill-soon{ background:var(--hz-navy); color:#fff; }
.hz-pill-final{ background:#A8410F; color:#fff; }

/* community photos crop; plan elevations are line art and must not be cropped */
.hz-card-img-photo{ aspect-ratio:4/3; background:var(--hz-mist); }
.hz-card-img-photo img{ width:100%; height:100%; object-fit:cover; padding:0;
  transition:transform .4s ease; }
.hz-card:hover .hz-card-img-photo img{ transform:scale(1.04); }

.hz-card-city{
  display:block; font-family:var(--hz-display); font-size:.7rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--hz-slate); margin-bottom:.3rem;
}
.hz-card-desc{ display:block; font-size:.94rem; color:var(--hz-slate); margin:0 0 .9rem; flex:1; }
.hz-price{
  font-family:var(--hz-display); font-weight:700; color:var(--hz-navy);
  font-size:1.02rem; font-variant-numeric:tabular-nums;
}
.hz-price small{
  display:block; font-size:.63rem; letter-spacing:.11em; text-transform:uppercase;
  color:var(--hz-slate); font-weight:600;
}
.hz-price-muted{ color:var(--hz-slate); font-size:.95rem; }

/* ---------- filter bar ---------- */
.hz-filters{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding-bottom:16px; border-bottom:1px solid var(--hz-line); margin-bottom:18px;
}
.hz-ftabs{ display:flex; gap:6px; flex-wrap:wrap; }
.hz-ftab{
  font-family:var(--hz-display); font-size:.8rem; font-weight:600; background:#fff;
  border:1px solid var(--hz-line); color:var(--hz-navy); padding:.42rem .85rem;
  border-radius:99px; cursor:pointer; transition:.15s; white-space:nowrap;
}
.hz-ftab:hover{ border-color:var(--hz-navy); }
.hz-ftab[aria-pressed="true"]{ background:var(--hz-navy); border-color:var(--hz-navy); color:#fff; }
.hz-ftab b{ font-weight:600; opacity:.6; margin-left:.3rem; font-variant-numeric:tabular-nums; }
.hz-fsort{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.hz-fsort label{
  font-family:var(--hz-display); font-size:.7rem; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--hz-slate);
}
.hz-fsort select{
  font-family:var(--hz-display); font-size:.82rem; font-weight:600; color:var(--hz-navy);
  border:1px solid var(--hz-line); border-radius:3px; padding:.4rem .6rem; background:#fff; cursor:pointer;
}
.hz-fcount{ font-size:.88rem; color:var(--hz-slate); margin:0 0 18px; }
.hz-fcount b{ color:var(--hz-navy); font-family:var(--hz-display); font-variant-numeric:tabular-nums; }
@media(max-width:700px){ .hz-fsort{ margin-left:0; width:100%; } }

/* ---------- homepage communities section ---------- */
.hz-home-communities .fl-row-content{ padding-block:clamp(40px,5vw,72px); }
.hz-home-communities h2,.hz-home-communities h2 .fl-heading-text{
  font-size:clamp(1.7rem,3vw,2.35rem); font-weight:700; color:var(--hz-navy);
  max-width:20ch; margin:.2rem 0 0;
}
.hz-home-communities .fl-rich-text,.hz-home-communities .fl-rich-text p{
  color:var(--hz-slate); max-width:62ch; margin:.65rem 0 1.6rem;
}

/* ============================================================
   Site-wide visual language
   Pages not rebuilt yet (Why Horizon, Gallery, Contact, and the
   legacy homepage rows) inherit the palette and type from here.
   Nothing here uses !important for colour. BB/UABB write per-node CSS at
   .fl-node-xxx specificity, so whatever is set in a module's own settings
   always wins — that is what keeps the design editable in the BB UI.
   ============================================================ */
body,.site,.entry-content{ font-family:var(--hz-body); }

/* Typography only — no !important. BB/UABB write per-node rules at
   `.fl-node-xxx .uabb-heading` (0,2,0), so anything set in the module's own
   settings beats this and the editor stays in control. */
h1,h2,h3,h4,h5,h6,
.fl-heading .fl-heading-text,
.uabb-heading,.uabb-heading-text{ font-family:var(--hz-display); }

/* Buttons: shape and type only — NEVER colour.
   Colour lives in each button module's settings so it is editable in the BB UI
   without touching this file. BB writes `.fl-node-xxx a.fl-button` (0,2,1); these
   selectors are deliberately (0,1,1) so a module setting always wins. */
a.fl-button,a.uabb-button{
  font-family:var(--hz-display); font-weight:600; letter-spacing:.02em;
}

/* retire the old cyan for links and accents on light grounds */
.entry-content a:not(.fl-button):not(.uabb-button):not(.hz-card):not(.hz-ftab){ color:var(--hz-blue-text); }

/* ---------- Astra header chrome ----------
   The above-header bar colour is set in the Customizer
   (Appearance > Customize > Header > Above Header), NOT here, so it stays
   editable without touching CSS.
   The social icons below are widget-instance settings; overridden here only
   because there is no Customizer control for them. */
/* social icon colours live in the widget's own settings (navy, gold on hover) */

/* ============================================================
   Index pages — Communities, House Plans
   ============================================================ */
/* Structure and type only. The COLOURS live below, split light vs dark, so that the
   dark variants don't need !important to beat a navy `color` declared here — which is
   what stops an editor changing them from the module settings. */
.hz-phead h1,.hz-phead h1 .fl-heading-text{
  font-size:clamp(2rem,3.6vw,2.9rem); font-weight:700; margin:.2rem 0 0;
}
.hz-phead .fl-rich-text,.hz-phead .fl-rich-text p,
.hz-phead .fl-module-html{ max-width:62ch; margin:.7rem 0 0; }

/* light ground (the default only when the header carries no dark background) */
.hz-phead:not(.hz-phead-dark){ border-bottom:1px solid var(--hz-line); }
.hz-phead:not(.hz-phead-dark) h1,
.hz-phead:not(.hz-phead-dark) h1 .fl-heading-text{ color:var(--hz-navy); }
.hz-phead:not(.hz-phead-dark) .fl-rich-text,
.hz-phead:not(.hz-phead-dark) .fl-rich-text p,
.hz-phead:not(.hz-phead-dark) .fl-module-html{ color:var(--hz-slate); }
/* the eyebrow sits on a light ground here, so it needs the darker gold */
.hz-eyebrow-dark .fl-heading-text{ color:var(--hz-gold-text); }

/* ---------- dark page header ----------
   A page header with no photograph behind it defaults to the navy the plan and community
   heroes use, rather than mist. `hz-phead-dark` carries the reversed text for both cases:
   plain navy, and the photo variant, which adds the image and gradient on top. No
   !important anywhere, so the row's own colour settings still win in the BB UI. */
.hz-phead-dark{ background:var(--hz-navy); border-bottom:0; }
.hz-phead-dark h1,.hz-phead-dark h1 .fl-heading-text{ color:#fff; }
.hz-phead-dark .hz-eyebrow .fl-heading-text{ color:var(--hz-gold-tint); }
.hz-phead-dark .fl-rich-text,.hz-phead-dark .fl-rich-text p,
.hz-phead-dark .fl-module-html{ color:#DCE6F1; }

.hz-index-grid .fl-row-content{ padding-block:clamp(34px,4vw,56px); }

/* ---------- Available Homes: alternating copy / photograph blocks ----------
   The copy column is always first in the markup, so the reading order stays
   heading-then-text for a screen reader and when the columns stack on a phone.
   Alternate blocks are flipped with `order`, which is presentation only. */
/* BB leaves .fl-col-group as display:block with floated columns, so flex-direction on
   its own does nothing — the flip needs the group made flex first. Desktop only: the
   columns stack on a phone and the copy must come first there. */
@media(min-width:783px){
  .hz-avail-block .fl-col-group{ display:flex; align-items:center; }
  .hz-avail-block .fl-col{ min-width:0; }
  .hz-avail-flip .fl-col-group{ flex-direction:row-reverse; }
}
.hz-avail-block h2,.hz-avail-block h2 .fl-heading-text{
  font-family:var(--hz-display); font-size:clamp(1.5rem,2.6vw,2.05rem); font-weight:700;
  color:var(--hz-navy); margin:0;
}
.hz-avail-block .fl-rich-text,.hz-avail-block .fl-rich-text p{ color:var(--hz-slate); max-width:56ch; }
.hz-avail-block .hz-avail-photo img{
  display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover;
  border-radius:5px; box-shadow:var(--hz-shadow-lift);
}
/* The availability PDF is the primary action, so the community page is a plain link
   rather than a second button — two buttons of equal weight made neither one read as
   the thing to click. */
.hz-avail-more{ margin:1rem 0 0; font-family:var(--hz-display); font-size:.9rem; font-weight:600; }
.hz-avail-more a{ color:var(--hz-blue-text); text-decoration:none; border-bottom:1px solid currentColor; }
.hz-avail-more a:hover,.hz-avail-more a:focus-visible{ color:var(--hz-navy); }
@media(max-width:782px){
  .hz-avail-block .hz-avail-photo{ margin-top:1.2rem; }
}

/* Plan category archive (/plan-categories/<community>/). Reuses the index page header;
   the only addition is the link through to the community page, which sits below the
   intro line as a button rather than inline, so it reads as the next step. */
.hz-term-links{ margin:1.1rem 0 0; }
.hz-term-head .hz-btn-out{ display:inline-block; }
/* On the navy ground the outline button has to reverse. !important only because
   .hz-btn-out declares its navy colour that way; the border and hover are plain. */
.hz-phead-dark .hz-btn-out{ color:#fff !important; border-color:rgba(255,255,255,.42); }
.hz-phead-dark .hz-btn-out:hover,
.hz-phead-dark .hz-btn-out:focus-visible{ border-color:#fff; background:rgba(255,255,255,.08); }
.hz-phead-dark .hz-btn-out:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; }

/* ---------- community cards ---------- */
.hz-grid-comm{ grid-template-columns:1fr; }
@media(min-width:640px){ .hz-grid-comm{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .hz-grid-comm{ grid-template-columns:repeat(3,1fr); } }

.hz-card-img{ position:relative; }
.hz-card-img .hz-pill{ position:absolute; top:12px; left:12px; z-index:2; }
.hz-pill-soon{ background:var(--hz-navy); color:#fff; }
.hz-pill-final{ background:#A8410F; color:#fff; }

/* community photos crop; plan elevations are line art and must not be cropped */
.hz-card-img-photo{ aspect-ratio:4/3; background:var(--hz-mist); }
.hz-card-img-photo img{ width:100%; height:100%; object-fit:cover; padding:0;
  transition:transform .4s ease; }
.hz-card:hover .hz-card-img-photo img{ transform:scale(1.04); }

.hz-card-city{
  display:block; font-family:var(--hz-display); font-size:.7rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--hz-slate); margin-bottom:.3rem;
}
.hz-card-desc{ display:block; font-size:.94rem; color:var(--hz-slate); margin:0 0 .9rem; flex:1; }
.hz-price{
  font-family:var(--hz-display); font-weight:700; color:var(--hz-navy);
  font-size:1.02rem; font-variant-numeric:tabular-nums;
}
.hz-price small{
  display:block; font-size:.63rem; letter-spacing:.11em; text-transform:uppercase;
  color:var(--hz-slate); font-weight:600;
}
.hz-price-muted{ color:var(--hz-slate); font-size:.95rem; }

/* ---------- filter bar ---------- */
.hz-filters{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding-bottom:16px; border-bottom:1px solid var(--hz-line); margin-bottom:18px;
}
.hz-ftabs{ display:flex; gap:6px; flex-wrap:wrap; }
.hz-ftab{
  font-family:var(--hz-display); font-size:.8rem; font-weight:600; background:#fff;
  border:1px solid var(--hz-line); color:var(--hz-navy); padding:.42rem .85rem;
  border-radius:99px; cursor:pointer; transition:.15s; white-space:nowrap;
}
.hz-ftab:hover{ border-color:var(--hz-navy); }
.hz-ftab[aria-pressed="true"]{ background:var(--hz-navy); border-color:var(--hz-navy); color:#fff; }
.hz-ftab b{ font-weight:600; opacity:.6; margin-left:.3rem; font-variant-numeric:tabular-nums; }
.hz-fsort{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.hz-fsort label{
  font-family:var(--hz-display); font-size:.7rem; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--hz-slate);
}
.hz-fsort select{
  font-family:var(--hz-display); font-size:.82rem; font-weight:600; color:var(--hz-navy);
  border:1px solid var(--hz-line); border-radius:3px; padding:.4rem .6rem; background:#fff; cursor:pointer;
}
.hz-fcount{ font-size:.88rem; color:var(--hz-slate); margin:0 0 18px; }
.hz-fcount b{ color:var(--hz-navy); font-family:var(--hz-display); font-variant-numeric:tabular-nums; }
@media(max-width:700px){ .hz-fsort{ margin-left:0; width:100%; } }

/* ---------- homepage communities section ---------- */
.hz-home-communities .fl-row-content{ padding-block:clamp(40px,5vw,72px); }
.hz-home-communities h2,.hz-home-communities h2 .fl-heading-text{
  font-size:clamp(1.7rem,3vw,2.35rem); font-weight:700; color:var(--hz-navy);
  max-width:20ch; margin:.2rem 0 0;
}
.hz-home-communities .fl-rich-text,.hz-home-communities .fl-rich-text p{
  color:var(--hz-slate); max-width:62ch; margin:.65rem 0 1.6rem;
}

/* ============================================================
   Site-wide visual language
   Pages not rebuilt yet (Why Horizon, Gallery, Contact, and the
   legacy homepage rows) inherit the palette and type from here.
   Nothing here uses !important for colour. BB/UABB write per-node CSS at
   .fl-node-xxx specificity, so whatever is set in a module's own settings
   always wins — that is what keeps the design editable in the BB UI.
   ============================================================ */
body,.site,.entry-content{ font-family:var(--hz-body); }

/* Typography only — no !important. BB/UABB write per-node rules at
   `.fl-node-xxx .uabb-heading` (0,2,0), so anything set in the module's own
   settings beats this and the editor stays in control. */
h1,h2,h3,h4,h5,h6,
.fl-heading .fl-heading-text,
.uabb-heading,.uabb-heading-text{ font-family:var(--hz-display); }

/* Buttons: shape and type only — NEVER colour.
   Colour lives in each button module's settings so it is editable in the BB UI
   without touching this file. BB writes `.fl-node-xxx a.fl-button` (0,2,1); these
   selectors are deliberately (0,1,1) so a module setting always wins. */
a.fl-button,a.uabb-button{
  font-family:var(--hz-display); font-weight:600; letter-spacing:.02em;
}

/* retire the old cyan for links and accents on light grounds */
.entry-content a:not(.fl-button):not(.uabb-button):not(.hz-card):not(.hz-ftab){ color:var(--hz-blue-text); }

/* ---------- Astra header chrome ----------
   The above-header bar and social icons are Customizer settings, not Beaver
   Builder. Overridden here so the whole page reads as one palette; the proper
   long-term fix is to change these in Appearance > Customize.
   Sun & Sky uses a brighter teal (#00789A) for this bar, distinct from --hz-navy
   — matches the client-approved reference, prototype/alt-palette-review/alt-palette-review.html. */
.ast-above-header-wrap,
.ast-above-header-wrap .ast-above-header{ background-color:#00789A !important; }
.ast-above-header .ast-builder-social-element{ color:#fff !important; }
.ast-above-header .ast-builder-social-element svg{ fill:#fff !important; }
/* social icon colours live in the widget's own settings (navy, gold on hover) */

/* ============================================================
   Gallery — thumbnails and lightbox
   ============================================================ */
.hz-gallery-title{
  font-family:var(--hz-display); font-size:1.05rem; font-weight:600;
  color:var(--hz-navy); margin:2.2rem 0 .9rem;
}
.hz-gallery{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(124px,1fr)); gap:10px;
}

/* The plan gallery sits in its own full-width row below the two-column content, so
   the row above already ends with its own padding — the title's usual top margin
   would stack on top of that and leave the photos floating. */
.hz-fullwidth-gallery .hz-gallery-title{ margin-top:0; }

/* The thumbnail never scales its own bitmap: the compositor scales the already
   rasterised image and softens it. The hover is a scrim plus an icon instead, both
   of which stay crisp, with the lift on the tile rather than the photo. */
.hz-thumb{
  position:relative; display:block; aspect-ratio:1; overflow:hidden;
  border-radius:4px; background:var(--hz-mist); line-height:0; cursor:zoom-in;
  box-shadow:0 1px 2px rgba(22,48,79,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.hz-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hz-thumb::before{                       /* scrim */
  content:""; position:absolute; inset:0; z-index:1; opacity:0;
  background:linear-gradient(180deg,rgba(13,31,53,.10),rgba(13,31,53,.55));
  transition:opacity .18s ease;
}
.hz-thumb::after{                        /* magnifier, drawn as SVG so it stays sharp */
  content:""; position:absolute; inset:0; z-index:2; opacity:0;
  transform:scale(.82); transition:opacity .18s ease, transform .18s ease;
  background-repeat:no-repeat; background-position:center; background-size:26px 26px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.4 15.4L20 20'/%3E%3Cpath d='M10.5 7.8v5.4M7.8 10.5h5.4'/%3E%3C/svg%3E");
}
.hz-thumb:hover,.hz-thumb:focus-visible{
  transform:translateY(-2px); box-shadow:0 6px 18px rgba(22,48,79,.18);
}
.hz-thumb:hover::before,.hz-thumb:focus-visible::before{ opacity:1; }
.hz-thumb:hover::after,.hz-thumb:focus-visible::after{ opacity:1; transform:scale(1); }
.hz-thumb:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; }

/* ---------- lightbox ---------- */
body.hz-lb-open{ overflow:hidden; }

/* ---------- virtual tour modal ----------
   Shares the lightbox's scroll lock and backdrop so the two read as one component.
   The stage is sized by aspect ratio rather than a fixed height, and capped so the
   bar and the frame together always fit the viewport. */
.hz-tour{
  position:fixed; inset:0; z-index:99999; display:flex; align-items:center;
  justify-content:center; padding:clamp(12px,3vw,40px);
  background:rgba(8,17,29,.92);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.hz-tour[hidden]{ display:none; }
.hz-tour-stage{
  width:min(1240px,100%); max-height:100%; display:flex; flex-direction:column;
  background:#0d1f35; border-radius:6px; overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.hz-tour-bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:.7rem .8rem .7rem 1.1rem; flex:0 0 auto;
}
.hz-tour-title{
  font-family:var(--hz-display); font-size:.95rem; font-weight:600; color:#fff; margin:0;
}
.hz-tour-actions{ display:flex; align-items:center; gap:.7rem; flex:0 0 auto; }
/* the escape hatch: a PDF viewer that renders nothing inside a frame still leaves the
   visitor a way out, and it is also how you download or print */
.hz-tour-open{
  font-family:var(--hz-display); font-size:.82rem; font-weight:600; color:#DCE6F1;
  text-decoration:none; border-bottom:1px solid rgba(255,255,255,.4); padding-bottom:1px;
}
.hz-tour-open:hover,.hz-tour-open:focus-visible{ color:#fff; border-bottom-color:#fff; }
.hz-tour-open:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; }
.hz-tour-close{
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px;
  padding:0; border-radius:50%; cursor:pointer; color:#fff; flex:0 0 auto;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.22);
  transition:background .15s ease, border-color .15s ease;
}
.hz-tour-close svg{ width:19px; height:19px; display:block; }
.hz-tour-close:hover{ background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.55); }
.hz-tour-close:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; }
/* aspect-ratio with a max-height: a tall phone must not push the bar off screen */
.hz-tour-frame{ flex:1 1 auto; min-height:0; aspect-ratio:16/9; max-height:calc(100dvh - 140px); background:#000; }
/* a brochure is a portrait document, not a 16/9 scene: give it the height instead */
.hz-tour-doc .hz-tour-frame{ aspect-ratio:auto; height:calc(100dvh - 140px); background:#3a3a3a; }
.hz-tour-doc .hz-tour-stage{ width:min(1000px,100%); }
.hz-tour-frame iframe{ display:block; width:100%; height:100%; border:0; }

/* ---------- the panel that links to them ---------- */
.hz-panel-links{ display:flex; flex-direction:column; align-items:flex-start; gap:.7rem; }
.hz-tour-link{
  display:inline-flex; align-items:center; gap:.5rem; text-decoration:none;
  font-family:var(--hz-display); font-weight:600; font-size:.88rem;
  color:#231404; background:var(--hz-gold); border-radius:3px; padding:.62rem 1.05rem;
  transition:background .15s ease;
}
.hz-tour-link:hover,.hz-tour-link:focus-visible{ background:var(--hz-gold-tint); color:#231404; }
.hz-tour-link:focus-visible{ outline:3px solid var(--hz-navy); outline-offset:2px; }
.hz-tour-link svg{ flex:0 0 auto; }
.hz-plan-dl{ display:inline-block; }
.hz-lb{
  position:fixed; inset:0; z-index:99999; display:flex; align-items:center;
  justify-content:center; gap:clamp(6px,2vw,22px);
  padding:clamp(14px,3vw,44px);
  background:rgba(8,17,29,.90);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.hz-lb[hidden]{ display:none !important; }
.hz-lb-stage{
  margin:0; display:flex; flex-direction:column; align-items:center;
  gap:16px; min-width:0; max-width:100%;
}
.hz-lb-imgwrap{ display:flex; min-height:0; }
.hz-lb-stage img{
  max-width:min(1120px,86vw); max-height:76dvh; width:auto; height:auto;
  border-radius:5px; background:#0d1f35;
  box-shadow:0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  opacity:0; transform:scale(.985); transition:opacity .22s ease, transform .22s ease;
}
.hz-lb-stage img.is-in{ opacity:1; transform:none; }
/* Floor plan sheets: portrait, and read rather than looked at, so trade the breathing
   room around the photo cap for height. Set in JS per set, not per image, so every
   sheet in one plan is displayed at the same scale. */
.hz-lb.hz-lb-tall .hz-lb-stage{ gap:10px; }
.hz-lb.hz-lb-tall .hz-lb-stage img{ max-height:84dvh; }
.hz-lb-stage figcaption{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:center;
  font-family:var(--hz-display); font-size:.84rem; color:#DCE6F1; text-align:center;
}
.hz-lb-cap[hidden]{ display:none; }
.hz-lb-count{
  font-size:.72rem; font-weight:600; letter-spacing:.1em; color:#9DB2C8;
  font-variant-numeric:tabular-nums; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14); border-radius:99px; padding:.22rem .6rem;
}

/* buttons: flex centring plus a sized SVG — no glyph baseline to fight */
.hz-lb-close,.hz-lb-nav{
  display:inline-flex; align-items:center; justify-content:center; flex:none;
  padding:0; border-radius:50%; cursor:pointer; color:#fff;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.22);
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.hz-lb-close svg,.hz-lb-nav svg{ width:20px; height:20px; display:block; }
.hz-lb-nav{ width:48px; height:48px; }
.hz-lb-nav svg{ width:22px; height:22px; }
.hz-lb-close{ position:absolute; top:clamp(14px,2vw,26px); right:clamp(14px,2vw,26px);
  width:42px; height:42px; z-index:3; }
.hz-lb-close:hover,.hz-lb-nav:hover{
  background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.55);
}
.hz-lb-nav:hover{ transform:scale(1.06); }
.hz-lb-close:active,.hz-lb-nav:active{ transform:scale(.96); }
.hz-lb-close:focus-visible,.hz-lb-nav:focus-visible{
  outline:3px solid var(--hz-gold); outline-offset:3px;
}
.hz-lb-nav[hidden]{ visibility:hidden; display:inline-flex; }

@media (max-width:600px){
  .hz-lb{ gap:4px; padding:12px; }
  .hz-lb-nav{ width:40px; height:40px; }
  .hz-lb-nav svg{ width:19px; height:19px; }
  .hz-lb-stage img{ max-width:94vw; max-height:70dvh; }
  .hz-lb.hz-lb-tall .hz-lb-stage img{ max-height:80dvh; }
}
@media (prefers-reduced-motion:reduce){
  .hz-sheet-link::before,.hz-sheet-link::after,
  .hz-thumb,.hz-thumb::before,.hz-thumb::after,
  .hz-lb-stage img,.hz-lb-close,.hz-lb-nav{ transition:none; }
  .hz-thumb:hover,.hz-thumb:focus-visible{ transform:none; }
  .hz-lb-stage img{ opacity:1; transform:none; }
}

/* ============================================================
   Homepage hero — slideshow ground, "Building It Better Since 2003"
   ============================================================ */

/* The copy cap is load-bearing, not taste. The row's scrim is a left-weighted gradient
   that stays dense to 55% of the frame and then falls away so the photography reads
   bright; the measured 5.55:1 worst case for white type holds only while the copy stays
   inside that dense zone. 600px keeps it there from 1280 to 2560 wide. Widening this
   walks the right-hand ends of the longest lines out onto bare photo, where the worst
   slide measures 3.3:1. Figures: build/themer/archive/hero-scrim-contrast.txt. */
.hz-home-hero .uabb-heading-wrapper{ max-width:600px; }

/* Selector shapes here are deliberate. The module carries its own typography in its node
   settings — a hand-built hero predating the convention that design lives in this file —
   and BB emits that as `.fl-node-<id> .uabb-heading-wrapper .uabb-heading` (0,3,0) and
   `.fl-node-<id> .uabb-text-editor.uabb-text-editor p` (0,3,1). These rules match that
   weight and win on order, because horizon-redesign.css is enqueued after the BB cache.
   Shortening any of them to `.hz-home-hero h1` silently loses to the module again.

   Sized so "Building It Better" holds one line inside the 600px copy cap and the date
   drops to a second; the module's own 72px broke it three ways, splitting the phrase as
   "Building / It Better". */
.hz-home-hero .uabb-heading-wrapper .uabb-heading,
.hz-home-hero .uabb-heading-wrapper .uabb-heading .uabb-heading-text{
  font-size:clamp(2.1rem,3.6vw,2.85rem); font-weight:700; line-height:1.1;
  letter-spacing:-.015em; text-wrap:balance;
  /* Sun & Sky flips the hero scrim from a dark navy-black fade to a light mist one
     (set on the row's own bg_overlay_gradient settings), so the heading colour moves
     off white onto navy too — set on the module itself (settings->color), not here;
     UABB's own text-shadow is tuned for white-on-dark and reads muddy on navy-on-light,
     so it's switched off. */
  text-shadow:none !important;
}

/* Two-tier subheading: the old H1 became the lead, and the service-area paragraph it used
   to sit above is still underneath it. BB's own per-node rule for this module is
   `.fl-node-xxx .uabb-text-editor.uabb-text-editor p` — a doubled class that outweighs
   a plain `.uabb-subheading p` override on specificity alone, load order notwithstanding —
   so the shadow kill needs !important here, not just a later rule. */
.hz-home-hero .uabb-subheading{ margin-top:1rem; }
.hz-home-hero .uabb-subheading p{ margin:0; text-shadow:none !important; }
.hz-home-hero .uabb-subheading p + p{ margin-top:.6rem; }
.hz-home-hero .uabb-subheading p.hz-hero-lead{
  font-family:var(--hz-display); font-size:clamp(1.05rem,1.7vw,1.3rem);
  font-weight:600; line-height:1.3;
}
.hz-home-hero .uabb-subheading p:not(.hz-hero-lead){
  font-size:1rem; line-height:1.55; color:#354F5B;
}

/* BB cross-fades the slideshow by stacking images; without this the first frame can flash
   at full brightness before the overlay paints on a cold cache. */
.hz-home-hero .fl-bg-slideshow{ z-index:0; }

@media (max-width:992px){
  /* The copy spans the frame here, and the flat scrim that replaces the gradient at these
     widths is set on the row itself (bg_overlay_*_medium / _responsive in set-home-hero.php)
     so BB writes the media query — nothing to override from here. */
  .hz-home-hero .uabb-heading-wrapper{ max-width:none; }
}

/* ============================================================
   Homepage bands — Why Horizon, House Plans, Gallery, Contact
   ============================================================ */
.hz-home-why .fl-row-content,
.hz-home-plans .fl-row-content,
.hz-home-gallery .fl-row-content,
.hz-home-contact .fl-row-content{ padding-block:clamp(44px,5.5vw,76px); }

.hz-home-why h2 .fl-heading-text,
.hz-home-plans h2 .fl-heading-text,
.hz-home-gallery h2 .fl-heading-text,
.hz-home-contact h2 .fl-heading-text{
  font-size:clamp(1.7rem,3vw,2.35rem); font-weight:700; max-width:20ch; margin:.2rem 0 0;
}
/* The Gallery band used to be the page's navy anchor and carried light-on-dark type.
   It is a mist band now — see set-home-brightness.php — so it takes the same treatment
   as its three siblings and the footer is the only dark block left on the homepage. */
.hz-home-why h2 .fl-heading-text,
.hz-home-plans h2 .fl-heading-text,
.hz-home-gallery h2 .fl-heading-text,
.hz-home-contact h2 .fl-heading-text{ color:var(--hz-navy); }

.hz-home-why .fl-rich-text p,
.hz-home-plans .fl-rich-text p,
.hz-home-gallery .fl-rich-text p,
.hz-home-contact .fl-rich-text p{ color:var(--hz-slate); max-width:58ch; margin:.7rem 0 0; }

/* ---------- Why Horizon ---------- */
.hz-ticks{ list-style:none; margin:1.4rem 0 1.6rem; padding:0; display:flex; flex-direction:column; gap:.7rem; }
.hz-ticks li{
  position:relative; padding-left:1.85rem; font-size:.98rem; color:#2C3948; max-width:52ch;
}
.hz-ticks li::before{                       /* SVG tick, crisp at any size */
  content:""; position:absolute; left:0; top:.12em; width:1.2rem; height:1.2rem;
  background-repeat:no-repeat; background-position:center; background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23D9922B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
}
.hz-why-photo img{ width:100%; height:auto; border-radius:5px; box-shadow:var(--hz-shadow-lift); }

/* ---------- House Plans ---------- */
.hz-home-plans .hz-grid-plans{ margin-top:1.6rem; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.hz-home-plans .fl-button-wrap{ margin-top:1.6rem; }

/* ---------- Gallery strip ---------- */
.hz-strip{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px; margin-top:1.6rem;
}
.hz-strip img{
  width:100%; aspect-ratio:1; object-fit:cover; border-radius:4px; display:block;
  /* dark hairline, not the white one this had while the band was navy — a white ring is
     invisible on mist, which read as the thumbnails having lost their edge */
  box-shadow:0 0 0 1px rgba(22,48,79,.12);
}
.hz-home-gallery .fl-button-wrap{ margin-top:1.6rem; }

/* ---------- Contact ---------- */
.hz-home-contact .gform_wrapper{ margin-top:1.4rem; }
.hz-home-contact .hz-kv dd a{ color:var(--hz-navy); text-decoration:none; }
.hz-home-contact .hz-kv dd a:hover{ color:var(--hz-blue-text); }

@media (max-width:860px){
  .hz-why-photo{ margin-top:1.4rem; }
}

/* ============================================================
   Locations (community-region) — spec §6b
   ============================================================ */

/* ---------- grids that fit their row ----------
   Columns come from Settings → Horizon Locations (or a shortcode's columns="").
   horizon_grid_open() writes --hz-cols; tablets cap at 2, phones at 1. */
.hz-grid-fit{ grid-template-columns:1fr; }
@media(min-width:640px){ .hz-grid-fit{ grid-template-columns:repeat(var(--hz-cols-md,2),minmax(0,1fr)); } }
@media(min-width:1000px){ .hz-grid-fit{ grid-template-columns:repeat(var(--hz-cols,3),minmax(0,1fr)); } }
/* a lone card spans the row, so it turns sideways rather than becoming one huge photo */
@media(min-width:768px){
  .hz-grid-fit[data-cols="1"] > .hz-card{ flex-direction:row; }
  .hz-grid-fit[data-cols="1"] > .hz-card .hz-card-img{ flex:0 0 46%; aspect-ratio:auto; min-height:300px; }
  .hz-grid-fit[data-cols="1"] > .hz-card .hz-card-body{ padding:26px 30px; justify-content:center; }
}

/* ---------- location tiles ---------- */
.hz-reg-list{ display:flex; flex-direction:column; gap:.15rem; margin:0 0 .2rem;
  font-family:var(--hz-display); font-size:.84rem; font-weight:600; color:var(--hz-navy); }
.hz-reg-list span::before{ content:""; display:inline-block; width:6px; height:6px; border-radius:50%;
  background:var(--hz-gold); margin-right:.5rem; vertical-align:.12em; }
.hz-price-muted{ color:var(--hz-slate); }
.hz-price small{ display:block; font-size:.64rem; letter-spacing:.11em; text-transform:uppercase;
  color:var(--hz-slate); font-weight:600; }

/* ---------- Communities page: one group per location ---------- */
.hz-rgroup + .hz-rgroup{ margin-top:clamp(40px,5vw,64px); padding-top:clamp(32px,4vw,48px); border-top:1px solid var(--hz-line); }
.hz-rgroup-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.hz-rgroup-head h2{ font-family:var(--hz-display); font-size:clamp(1.6rem,2.8vw,2.2rem); font-weight:700; color:var(--hz-navy); margin:0; }
.hz-rgroup-eyebrow{ font-family:var(--hz-display); font-size:.75rem; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--hz-gold-text); margin:0 0 .35rem; }
.hz-btn-out{ font-family:var(--hz-display); font-weight:600; font-size:.88rem; color:var(--hz-navy) !important;
  border:2px solid var(--hz-line); border-radius:3px; padding:.7rem 1.3rem; text-decoration:none !important; transition:border-color .15s; }
.hz-btn-out:hover{ border-color:var(--hz-navy); }

/* ---------- location page (Themer archive layout) ---------- */
.tax-community-region .site-content .ast-container{ max-width:100%; padding-left:0; padding-right:0; }
.tax-community-region .content-area{ margin-left:0; margin-right:0; }
.tax-community-region{ font-family:var(--hz-body); color:var(--hz-ink); }
.tax-community-region h1,.tax-community-region h2,.tax-community-region h3,.tax-community-region h4{
  font-family:var(--hz-display); letter-spacing:-.01em; text-wrap:balance; }
.hz-region-h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); font-weight:700; color:var(--hz-navy); margin:0 0 .8rem; }
.hz-region-sub{ color:var(--hz-slate); margin:0 0 1.4rem; max-width:62ch; }

/* mist, not navy: the text over this row is navy now (Sun & Sky), so the no-photo
   fallback has to stay light or it reads navy-on-navy if a location has no featured image */
.hz-rhero{ position:relative; min-height:clamp(320px,44vh,460px); display:flex; align-items:flex-end;
  overflow:hidden; background:var(--hz-mist); }
.hz-rhero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
/* Sun & Sky: same light-mist overlay as the homepage hero, carried over here —
   recoloured only, opacity curve unchanged from the approved dark version. Text
   below flips white -> navy to match. */
.hz-rhero::after{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,rgba(242,251,255,.2),rgba(242,251,255,.85)); }
.hz-rhero-in{ position:relative; z-index:2; width:100%; max-width:1200px; margin:0 auto;
  padding:clamp(26px,4vw,46px) clamp(16px,4vw,40px); }
.hz-rhero h1{ color:#00658B; font-size:clamp(2.1rem,4.6vw,3.3rem); font-weight:700; margin:.9rem 0 0; text-shadow:none; }
.hz-rhero-loc{ font-family:var(--hz-display); font-size:.95rem; font-weight:600; color:#354F5B; margin:.5rem 0 0; }
/* was rgba(0,101,139,.72) — a straight recolour of the old rgba(255,255,255,.72), which
   read fine as translucent white on a dark photo but washes out as translucent navy on
   the light mist overlay Sun & Sky uses now. Solid colour instead of fighting opacity. */
.hz-crumb{ font-family:var(--hz-display); font-size:.74rem; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; margin:0 0 1rem; color:#354F5B; }
.hz-crumb a{ color:#00658B !important; text-decoration:none !important; }
.hz-crumb a:hover{ text-decoration:underline !important; }
.hz-prose p{ color:#2C3948; max-width:66ch; }
.hz-dots{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.55rem; }
.hz-dots li{ position:relative; padding-left:1.5rem; font-size:.95rem; color:#2C3948; }
.hz-dots li::before{ content:""; position:absolute; left:0; top:.62em; width:8px; height:8px; border-radius:50%; background:var(--hz-gold); }
.hz-region-side .hz-panel + .hz-panel{ margin-top:18px; }

/* ---------- maps ---------- */
.hz-map-canvas{ height:clamp(360px,48vw,560px); border:1px solid var(--hz-line); border-radius:4px; background:var(--hz-mist); }
.hz-map:not(.hz-map-ready) .hz-map-canvas,.hz-map-failed .hz-map-canvas{ display:none; }
.hz-map-ready:not(.hz-map-failed) .hz-map-list{ display:none; }
.hz-map-list{ margin:0; padding-left:1.2rem; }
/* no key or no pins yet: hide the row holding the map, heading and all (not in the builder) */
body:not(.fl-builder-edit) .fl-row:has(.hz-map-empty){ display:none; }
.hz-map-note-admin{ border:1px dashed var(--hz-gold); background:#FFF8EC; color:#5C3D0E; border-radius:4px;
  padding:.8rem 1rem; font-size:.9rem; }

.hz-map-layer{ position:absolute; left:0; top:0; }
/* appearance:none strips the native button chrome — without it, some browsers paint
   their own UA hover/active background behind the SVG regardless of background:none,
   since that resets the fill but not the control's native appearance. */
.hz-mpin{ position:absolute; width:30px; height:40px; padding:0; margin:0; border:0; background:none; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  z-index:3; transform-origin:50% 100%; transition:transform .15s; }
.hz-mpin:hover,.hz-mpin:active,.hz-mpin:focus{ background:none; }
.hz-mpin svg{ display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 2px 3px rgba(13,31,53,.35)); }
.hz-mpin-body{ fill:var(--hz-navy); stroke:#fff; stroke-width:2; }
.hz-mpin-arc{ fill:none; stroke:var(--hz-gold-tint); stroke-width:2.4; stroke-linecap:round; }
.hz-mpin:hover,.hz-mpin[aria-expanded="true"]{ transform:scale(1.14); z-index:4; }
.hz-mpin[aria-expanded="true"] .hz-mpin-body{ fill:var(--hz-gold); }
.hz-mpin[aria-expanded="true"] .hz-mpin-arc{ stroke:var(--hz-navy); }
.hz-mpin:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; border-radius:50%; }

.hz-mpop{ position:absolute; z-index:6; width:258px; background:#fff; border-radius:5px; text-align:left;
  font-family:var(--hz-body); box-shadow:0 14px 38px rgba(13,31,53,.28),0 2px 6px rgba(13,31,53,.12); --tip:50%; }
.hz-mpop[hidden]{ display:none; }
.hz-mpop-img{ position:relative; aspect-ratio:16/10; overflow:hidden; border-radius:5px 5px 0 0; background:var(--hz-mist); }
.hz-mpop-img img{ display:block; width:100%; height:100%; object-fit:cover; }
.hz-mpop-img .hz-pill{ position:absolute; top:10px; left:10px; z-index:2; }
.hz-mpop-body{ padding:13px 15px 15px; }
.hz-mpop-city{ font-family:var(--hz-display); font-size:.66rem; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--hz-slate); margin:0 0 .2rem; }
.hz-mpop-name{ font-family:var(--hz-display); font-size:1.08rem !important; font-weight:700; color:var(--hz-navy);
  margin:0 0 .35rem !important; line-height:1.2; letter-spacing:0; }
.hz-mpop-meta{ display:flex; flex-wrap:wrap; gap:.1rem .7rem; font-family:var(--hz-display); font-size:.74rem;
  font-weight:600; color:var(--hz-navy); margin:0 0 .85rem; font-variant-numeric:tabular-nums; }
.hz-mpop-meta i{ font-style:normal; color:var(--hz-slate); font-weight:500; }
.hz-mpop-go{ display:flex; justify-content:center; width:100%; padding:.62rem 1rem; border-radius:3px;
  background:var(--hz-gold); color:#231404 !important; font-family:var(--hz-display); font-weight:600;
  font-size:.82rem; text-decoration:none !important; transition:background .15s; }
.hz-mpop-go:hover{ background:var(--hz-gold-tint); }
.hz-mpop-x{ position:absolute; top:8px; right:8px; z-index:2; width:28px; height:28px; padding:0; border:0;
  border-radius:50%; background:rgba(13,31,53,.72); color:#fff; display:grid; place-items:center; cursor:pointer; }
.hz-mpop-x:hover{ background:var(--hz-navy); }
.hz-mpop-tip{ position:absolute; left:var(--tip); bottom:-7px; width:14px; height:14px; background:#fff;
  transform:translateX(-50%) rotate(45deg); box-shadow:3px 3px 6px rgba(13,31,53,.1); }
.hz-mpop[data-side="below"] .hz-mpop-tip{ bottom:auto; top:-7px; box-shadow:-2px -2px 5px rgba(13,31,53,.08); }
@media(max-width:480px){ .hz-mpop{ width:232px; } }

/* ---------- location photo tiles (homepage) ----------
   Sun & Sky swaps the dark-navy scrim for a light icy-blue card with a bright teal
   panel under the text (reference: .horizon-vivid .hz-rtile*, prototype/alt-palette-review/alt-palette-review.html).
   Never scale the <img> on hover — it goes soft (see gotchas). */
.hz-grid-rtiles{ gap:clamp(12px,1.4vw,18px); }
.hz-rtile{ position:relative; isolation:isolate; display:flex; align-items:flex-end;
  min-height:clamp(300px,34vw,460px); border-radius:4px; overflow:hidden; background:var(--hz-mist);
  color:#fff; text-decoration:none !important; }
.hz-rtile *{ text-decoration:none !important; }
.hz-rtile-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.hz-rtile::before{ content:""; position:absolute; inset:0; z-index:-1; background:transparent; }
.hz-rtile::after{ content:""; position:absolute; inset:0; z-index:-1; background:rgba(0,169,214,.08);
  opacity:0; transition:opacity .25s; }
.hz-rtile:hover::after,.hz-rtile:focus-visible::after{ opacity:1; }
.hz-rtile:focus-visible{ outline:3px solid var(--hz-gold); outline-offset:3px; }
/* the text sits on a solid teal panel rather than a dark fade, so it stays >= AA over
   any photo (AA: gold-tint county label passes against #00789A) */
.hz-rtile-body{ display:flex; flex-direction:column; gap:.35rem; width:100%;
  padding:90px clamp(20px,2.4vw,30px) clamp(20px,2.4vw,30px);
  background:linear-gradient(180deg,rgba(0,120,154,0) 0,#00789A 90px,#00789A 100%); }
.hz-rtile-county{ font-family:var(--hz-display); font-size:.7rem; font-weight:600; letter-spacing:.16em;
  text-transform:uppercase; color:var(--hz-gold-tint); }
.hz-rtile-name{ font-family:var(--hz-display); font-size:clamp(1.7rem,2.6vw,2.3rem) !important; font-weight:700;
  line-height:1.05; color:#fff !important; margin:0 !important; letter-spacing:-.01em; }
.hz-rtile-meta{ font-size:.95rem; color:#fff; }
.hz-rtile-go{ display:inline-flex; align-items:center; gap:.45rem; margin-top:.7rem; padding-top:.8rem;
  border-top:1px solid rgba(255,255,255,.4); font-family:var(--hz-display); font-size:.76rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#fff; }
.hz-rtile-go svg{ transition:transform .2s; color:#FFD16B; }
.hz-rtile:hover .hz-rtile-go svg{ transform:translateX(4px); }
/* one location: a wide banner rather than a giant square */
.hz-grid-rtiles[data-cols="1"] .hz-rtile{ min-height:clamp(300px,32vw,420px); }
.hz-grid-rtiles[data-cols="1"] .hz-rtile-body{ max-width:640px; }
@media(max-width:639px){
  .hz-rtile{ min-height:280px; }
}
@media(prefers-reduced-motion:reduce){ .hz-rtile::after,.hz-rtile-go svg{ transition:none; } }

/* ============================================================
   Footer — Astra footer builder, styled to the comp
   Sun & Sky's primary footer row goes from dark navy to light mist
   (hb-footer-bg-obj-responsive, set via set-sun-sky-remaining.php), so every
   text colour tuned for white-on-dark here flips to navy/slate-on-light.
   The below-footer bar stays a bright, dark-enough teal (#00789A) that white
   text still works there unchanged.
   ============================================================ */
.site-footer .ast-builder-grid-row{ align-items:flex-start; }
/* column headings: the comp's small caps label */
.site-footer .widget-title,.site-footer .hz-foot-title{
  font-family:var(--hz-display); font-size:.76rem !important; font-weight:700; letter-spacing:.13em;
  text-transform:uppercase; color:#00658B !important; margin:0 0 1rem;
}
.site-footer .widget{ margin-bottom:0; }
/* the logo sits in a white plate, as in the comp, rather than filling the column */
.site-footer .widget_media_image img{ max-width:210px; height:auto; background:#fff; border-radius:3px; padding:10px 12px; }
.site-footer .textwidget,.site-footer .widget_nav_menu a,.site-footer .hz-foot-list a{
  font-size:.93rem; color:#354F5B;
}
.site-footer .widget_nav_menu a:hover,.site-footer .hz-foot-list a:hover{ color:#00658B; }
.hz-foot-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.55rem; }
.hz-foot-list a{ text-decoration:none; }

/* social: the comp has no cyan — a quiet circle that warms to gold on hover */
.site-footer .astra-widget-social-profiles-inner .ast-widget-icon{
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; transition:background .15s;
}

/* bottom bar: copyright left, Equal Housing right, on one line */
.site-below-footer-wrap.ast-footer-row-stack .site-footer-section,
.site-below-footer-wrap[data-section="section-below-footer-builder"] .site-footer-section{
  display:flex; flex-direction:row; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; width:100%;
}
.site-below-footer-wrap .ast-builder-layout-element{ margin:0; }
/* the row is already flex; its children each claim the full width, which wraps them */
.site-below-footer-wrap .site-footer-section > .ast-builder-layout-element{ flex:0 1 auto; width:auto; }
.site-below-footer-wrap .ast-footer-copyright{ text-align:left; font-size:.82rem; color:#fff; }
.site-below-footer-wrap .widget_text{ margin-left:auto; }
/* the badge is a pale PNG that vanishes on navy: force it white and give it a label */
.site-below-footer-wrap .widget_text img{
  width:38px !important; height:auto !important; filter:brightness(0) invert(1); opacity:1; vertical-align:middle;
}
.site-below-footer-wrap .widget_text .textwidget::after{
  content:"Equal Housing Opportunity"; font-family:var(--hz-display); font-size:.72rem; letter-spacing:.06em;
  color:#fff; margin-left:.6rem; vertical-align:middle;
}
.site-below-footer-wrap .widget_text .textwidget{ display:flex; align-items:center; }
@media(max-width:768px){
  /* stacked and centred, like the other footer columns */
  .site-below-footer-wrap.ast-footer-row-stack .site-footer-section,
  .site-below-footer-wrap[data-section="section-below-footer-builder"] .site-footer-section{
    flex-direction:column; justify-content:center; align-items:center; gap:10px;
  }
  .site-below-footer-wrap .ast-footer-copyright{ text-align:center; width:100%; }
  .site-below-footer-wrap .widget_text{ margin:0; }
  .site-below-footer-wrap .widget_text .textwidget{ justify-content:center; }
  .site-footer .ast-header-html .hz-foot-title,.site-footer .hz-foot-list{ text-align:center; }
  .site-footer .hz-foot-list{ align-items:center; }
}

/* ---------- page header with a photo (Communities) ----------
   Same treatment as the community and location heroes: photo behind, navy gradient over it,
   text reversed. Every BB wrapper between row and image must be unpositioned or the absolute
   image anchors to the content box instead of the row. */
.hz-phead-photo{ position:relative; overflow:hidden; background:var(--hz-navy); border-bottom:0; }
.hz-phead-photo.fl-row .fl-row-content-wrap,
.hz-phead-photo.fl-row .fl-row-content,
.hz-phead-photo.fl-row .fl-col-group,
.hz-phead-photo.fl-row .fl-col,
.hz-phead-photo.fl-row .fl-col-content{ position:static !important; }
.hz-phead-photo .fl-module:has(.hz-phead-bg){ margin:0 !important; }
/* anchored above centre: the band is far wider than the photographs, and centring it cuts the
   roofline off every house shot, leaving a wall of windows */
.hz-phead-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 38%; z-index:0; }
/* The overlay hangs on the inner wrapper: BB owns .fl-row::after as a clearfix and wins.
   A scrim behind the (left-aligned) text keeps it AA, while the right side stays light enough
   to read the photograph. Verified by sampling the rendered pixels, not by eye. */
/* Sun & Sky: same light-mist overlay as the homepage hero, carried over here —
   recoloured only, opacity curve unchanged from the approved dark version. */
.hz-phead-photo > .fl-row-content-wrap::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg,rgba(242,251,255,.92) 0%,rgba(242,251,255,.88) 40%,rgba(242,251,255,.50) 62%,rgba(242,251,255,.15) 82%,rgba(242,251,255,.08) 100%),
    linear-gradient(180deg,rgba(242,251,255,.12),rgba(242,251,255,.26));
}
/* narrower screens: the text spans the width, so it needs the scrim under it. Weighted to
   the bottom, with the text pushed down, so the top of the photograph still shows. */
@media(max-width:1024px){
  .hz-phead-photo > .fl-row-content-wrap::before{
    background:linear-gradient(180deg,rgba(242,251,255,.08) 0%,rgba(242,251,255,.20) 16%,rgba(242,251,255,.88) 36%,rgba(242,251,255,.94) 100%);
  }
  .hz-phead-photo.fl-row .fl-row-content-wrap{ padding-top:150px !important; }
}
/* the wrappers stay static so the image can fill the row, so each text module is lifted
   above the image (z-index 0) and the gradient (1) individually */
.hz-phead-photo .fl-module{ position:relative; z-index:2; }
.hz-phead-photo .fl-module:has(.hz-phead-bg){ position:static; z-index:auto; }
/* colours come from .hz-phead-dark, which the photo header also carries — the !important
   that used to live here was only needed to beat the light default above.
   But .hz-phead-dark alone is ALSO used on solid-navy headers with no photo
   (build-index-pages.php's no-photo branch, build-plan-category-template.php), where
   the background stays dark and white text is still correct — so the light-overlay
   flip below is scoped to .hz-phead-photo.hz-phead-dark specifically, not the bare
   class, and wins on specificity (two classes beat one) regardless of source order. */
.hz-phead-photo.hz-phead-dark h1,
.hz-phead-photo.hz-phead-dark h1 .fl-heading-text{ color:#00658B; text-shadow:none; }
.hz-phead-photo.hz-phead-dark .hz-eyebrow .fl-heading-text{ color:#875A00; }
.hz-phead-photo.hz-phead-dark .fl-rich-text,
.hz-phead-photo.hz-phead-dark .fl-rich-text p,
.hz-phead-photo.hz-phead-dark .fl-module-html{ color:#354F5B; }
.hz-phead-photo.hz-phead-dark .hz-btn-out{ color:#00658B !important; border-color:rgba(0,101,139,.42); }
.hz-phead-photo.hz-phead-dark .hz-btn-out:hover,
.hz-phead-photo.hz-phead-dark .hz-btn-out:focus-visible{ border-color:#00658B; background:rgba(0,101,139,.08); }

/* ============================================================
   Legacy content pages — Why Horizon and Gallery, and their
   children: hand-built layouts brought into the redesign's visual
   language (spec §9 left them out of the rebuild). Styling only:
   their rows and content are untouched.
   ============================================================ */
.hz-content-page{ font-family:var(--hz-body); color:var(--hz-ink); }

/* ---------- the photo hero these pages open with ----------
   Only a row that actually has a background photo (BB marks those .fl-row-bg-photo): the
   gallery pages open with a plain panel instead, and must not get a scrim. */
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child{ position:relative; overflow:hidden; }
/* Sun & Sky: same light-mist overlay as the homepage hero, carried over here —
   recoloured only, opacity curve unchanged from the approved dark version. */
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child > .fl-row-content-wrap::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg,rgba(242,251,255,.92) 0%,rgba(242,251,255,.88) 40%,rgba(242,251,255,.50) 62%,rgba(242,251,255,.15) 82%,rgba(242,251,255,.08) 100%),
    linear-gradient(180deg,rgba(242,251,255,.12),rgba(242,251,255,.26));
}
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child > .fl-row-content-wrap{ position:relative; }
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-row-content{ position:relative; z-index:2; }
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-module{ text-align:left; }
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-heading,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child h1,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child h2{
  font-family:var(--hz-display) !important; font-weight:700 !important; color:#00658B !important;
  text-transform:none !important; letter-spacing:-.01em !important; line-height:1.1 !important;
  font-size:clamp(2.1rem,4.6vw,3.3rem) !important; text-shadow:none !important;
}
/* UABB puts the text in a child span and the alignment on the wrapper, so the old
   uppercase/centring lives there, not on the heading element */
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-heading-text,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-heading-text{
  font-family:var(--hz-display) !important; font-weight:700 !important; color:#00658B !important;
  text-transform:none !important; letter-spacing:-.01em !important;
}
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-heading,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-heading-wrapper,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-module-content,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-module-content,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-col-content,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-rich-text{ text-align:left !important; }
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .uabb-subheading,
.hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child .fl-rich-text p{
  color:#354F5B !important; font-size:1.05rem; max-width:52ch;
}
@media(max-width:1024px){
  .hz-content-page .fl-builder-content > .fl-row.fl-row-bg-photo:first-child > .fl-row-content-wrap::before{
    background:linear-gradient(180deg,rgba(242,251,255,.08) 0%,rgba(242,251,255,.20) 16%,rgba(242,251,255,.88) 36%,rgba(242,251,255,.94) 100%);
  }
}

/* ---------- typography through the rest of the page ---------- */
.hz-content-page h1,.hz-content-page h2,.hz-content-page h3,.hz-content-page h4,
.hz-content-page .uabb-heading,.hz-content-page .fl-heading-text{
  font-family:var(--hz-display); color:var(--hz-navy); letter-spacing:-.01em; text-wrap:balance;
}
.hz-content-page .fl-row:not(:first-child) .uabb-heading,
.hz-content-page .fl-row:not(:first-child) .uabb-heading-text,
.hz-content-page .fl-row:not(:first-child) h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); font-weight:700; }
.hz-content-page .fl-row:not(:first-child) .uabb-heading-text{ font-family:var(--hz-display); color:var(--hz-navy); }
.hz-content-page .fl-row:not(:first-child) h3,.hz-content-page .fl-row:not(:first-child) h4{ font-size:1.15rem; font-weight:600; }
.hz-content-page .fl-rich-text,.hz-content-page .fl-rich-text p,.hz-content-page .uabb-infobox-text{
  font-family:var(--hz-body); font-size:1rem; line-height:1.7; color:#2C3948;
}
.hz-content-page .fl-rich-text p{ max-width:68ch; }
/* A measure cap constrains the paragraph's BOX, and a constrained box still sits hard
   left. Text the author centred then centres inside that box, which lands it well left
   of everything else on the page — on /why-horizon/warranty/ the copy sat 206px left of
   the badge below it. Where the paragraph is centred, centre its box too. */
.hz-content-page .fl-rich-text p[style*="text-align: center"],
.hz-content-page .fl-rich-text p[style*="text-align:center"],
.hz-content-page .fl-rich-text p.has-text-align-center,
.hz-prose p[style*="text-align: center"],
.hz-prose p[style*="text-align:center"],
.hz-prose p.has-text-align-center{ margin-inline:auto; }
.hz-content-page a{ color:var(--hz-blue-text); }          /* retires the old cyan */
.hz-content-page a:hover{ color:var(--hz-navy); }
.hz-content-page .fl-photo-img{ border-radius:4px; }

/* ---------- the lender cards on Financing (UABB info boxes) ---------- */
.hz-content-page .uabb-info-box{
  background:#fff; border:1px solid var(--hz-line); border-radius:4px; height:100%;
  transition:box-shadow .18s,transform .18s,border-color .18s;
}
.hz-content-page .uabb-info-box:hover{ box-shadow:var(--hz-shadow-lift); transform:translateY(-3px); border-color:#C3D2E0; }
.hz-content-page .uabb-infobox-title-prefix{
  display:block; font-family:var(--hz-display); font-size:.7rem; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--hz-slate); margin-bottom:.3rem;
}
.hz-content-page .uabb-infobox-title{ font-family:var(--hz-display); font-size:1.15rem; font-weight:700; color:var(--hz-navy); }
.hz-content-page .uabb-info-box-photo img{ border-radius:3px; }

/* ---------- testimonials ---------- */
.hz-content-page .uabb-testimonial,.hz-content-page .uabb-testimonial-inner-wrap{ background:var(--hz-mist) !important; }
.hz-content-page .uabb-testimonial-text,.hz-content-page .uabb-testimonial-content{ text-align:left !important; }
.hz-content-page .uabb-testimonial-icon,.hz-content-page .uabb-testimonial-quote{ background:var(--hz-gold) !important; color:#231404 !important; }
.hz-content-page .uabb-testimonial-content,.hz-content-page .uabb-blockquote{
  font-size:1.05rem; line-height:1.7; color:#2C3948;
}
.hz-content-page .uabb-testimonial-name,.hz-content-page .uabb-author-name{
  font-family:var(--hz-display); font-weight:700; color:var(--hz-navy);
}

/* ---------- buttons ---------- */
.hz-content-page .fl-button,.hz-content-page .uabb-button{
  font-family:var(--hz-display) !important; font-weight:600 !important; border-radius:3px !important;
  background:var(--hz-gold) !important; border-color:var(--hz-gold) !important; color:#231404 !important;
}
.hz-content-page .fl-button:hover,.hz-content-page .uabb-button:hover{
  background:var(--hz-gold-tint) !important; border-color:var(--hz-gold-tint) !important; color:#231404 !important;
}

/* ---------- Gallery section ---------- */
/* photo tiles: the gallery index (UABB info banner) and Virtual Tours (interactive banner 2)
   both put a white label straight on the photo. Same treatment as the homepage location
   tiles: rounded, a scrim rising from the bottom, and the label sitting on it. */
.hz-gallery-page .uabb-ultb3-box,
.hz-gallery-page .uabb-ib2-outter{
  position:relative; border-radius:4px; overflow:hidden; background:var(--hz-navy);
  transition:box-shadow .18s,transform .18s;
}
.hz-gallery-page .uabb-ultb3-box:hover,
.hz-gallery-page .uabb-ib2-outter:hover{ box-shadow:var(--hz-shadow-lift); transform:translateY(-3px); }
.hz-gallery-page .uabb-ultb3-box::after,
.hz-gallery-page .uabb-ib2-outter::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  /* !important: UABB's own ::after on these banners would otherwise clear it */
  background:linear-gradient(180deg,rgba(13,31,53,0) 38%,rgba(13,31,53,.60) 64%,rgba(13,31,53,.94) 100%) !important;
  opacity:1 !important;
}
.hz-gallery-page .uabb-ultb3-box-overlay{ background:transparent !important; }
.hz-gallery-page .uabb-ultb3-desc{ color:#DCE6F1 !important; font-size:.92rem; }
/* the label: bottom-left, in the site's display face */
.hz-gallery-page .uabb-ultb3-title,
.hz-gallery-page .uabb-new-ib-title{
  font-family:var(--hz-display) !important; font-weight:700 !important; color:#fff !important;
  font-size:1.35rem !important; text-align:left !important; margin:0 !important; line-height:1.15;
}
/* UABB centres the label in its own wrapper (.uabb-new-ib-desc / .uabb-ultb3-info);
   move that wrapper to the bottom, where the scrim is, instead of over the picture */
.hz-gallery-page .uabb-ib2-outter .uabb-new-ib-desc,
.hz-gallery-page .uabb-ultb3-box .uabb-ultb3-info{
  position:absolute !important; left:0; right:0; bottom:0; top:auto !important;
  transform:none !important; height:auto !important; z-index:2;
  padding:16px 20px !important; text-align:left !important; display:block !important;
  min-height:0 !important;
}
.hz-gallery-page .uabb-ib2-outter .uabb-new-ib-desc > *{ margin:0 !important; }
/* These banners ship a description div that is unused on every tile here (it holds only
   whitespace, so :empty doesn't match) and it pads the label away from the bottom.
   If a tile is ever given a description, drop this rule. */
.hz-gallery-page .uabb-new-ib-content,
.hz-gallery-page .uabb-ultb3-desc{ display:none !important; }
.hz-gallery-page .uabb-new-ib-desc{ color:#DCE6F1 !important; font-size:.92rem; }
.hz-gallery-page .uabb-new-ib-img img,.hz-gallery-page .uabb-ultb3-box img{ display:block; width:100%; }

/* Interactive Banner style 10 draws a 1px white frame inset 30px on hover. The label box
   on these tiles is exactly 60px tall, so its top and bottom edges land on the same line
   — one rule a few pixels under the heading, which reads as a strike through the title.
   The tiles already have their scrim and lift above; the frame is all that has to go. */
.hz-gallery-page .uabb-ib-effect-style10 .uabb-new-ib-desc::before,
.hz-gallery-page .uabb-ib-effect-style10 .uabb-new-ib-desc::after{ display:none !important; }
/* keyboard parity: UABB puts the focus on the overlay link, not the tile */
.hz-gallery-page .uabb-ib2-outter:focus-within{
  box-shadow:var(--hz-shadow-lift); transform:translateY(-3px);
  outline:3px solid var(--hz-gold); outline-offset:3px;
}
/* the tile opens a viewer now, not a new page */
.hz-gallery-page .uabb-new-ib-link{ cursor:zoom-in; }

/* ---------- section header for hand-built child pages ----------
   The rebuilt pages open with a photo header (.hz-phead-photo). These pages are hand-built, so
   the header is prepended to the content instead (horizon-content-pages.php) and carries its own
   layout — no BB wrappers to work around, so the scrim can sit on the element itself. */
.hz-sechead{
  position:relative; overflow:hidden; background:var(--hz-navy);
  /* the content area is stretched full width on these pages, so the band is edge to edge */
  padding:88px max(24px,calc((100% - 1200px) / 2));
  /* The rebuilt headers (.hz-phead-photo) carry an intro paragraph as well as the eyebrow
     and title, which is the whole of the height difference: they measure 378-452 across
     breakpoints while this one came out at 279-300. Match the band by holding a floor and
     centring the content in the extra space, rather than inventing copy to fill it. */
  display:flex; align-items:center; min-height:400px;
}
.hz-sechead-inner{ flex:1 1 auto; }
.hz-sechead-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
/* Sun & Sky: same light-mist overlay as the homepage hero, carried over here —
   recoloured only, opacity curve unchanged from the approved dark version. */
.hz-sechead::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg,rgba(242,251,255,.92) 0%,rgba(242,251,255,.88) 40%,rgba(242,251,255,.50) 62%,rgba(242,251,255,.15) 82%,rgba(242,251,255,.08) 100%),
    linear-gradient(180deg,rgba(242,251,255,.12),rgba(242,251,255,.26));
}
.hz-sechead-inner{ position:relative; z-index:2; max-width:1200px; margin:0 auto; }
.hz-sechead-eyebrow{
  font-family:var(--hz-sans); font-size:.78rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:#875A00; margin:0 0 10px;
}
/* the section's own heading colour (.hz-content-page h1) would otherwise win on specificity */
.hz-content-page .hz-sechead .hz-sechead-title,
.hz-sechead-title{
  font-family:var(--hz-display); font-weight:700; color:#00658B; margin:0;
  font-size:clamp(2.1rem,4.4vw,3.2rem); line-height:1.08;
}
@media(max-width:1024px){
  /* the narrow treatment pushes the text down under a bottom-weighted scrim, the same as
     the rebuilt headers do, so the content sits low rather than centred here */
  .hz-sechead{ padding:150px 24px 56px; align-items:flex-end; }
  .hz-sechead::before{
    background:linear-gradient(180deg,rgba(242,251,255,.08) 0%,rgba(242,251,255,.20) 16%,rgba(242,251,255,.88) 36%,rgba(242,251,255,.94) 100%);
  }
}
/* the in-content title the header now carries: Exterior and Interior each have exactly one
   heading module, and it repeats the page title. Remove the module if the duplicate should
   go for good — this only hides it. */
.hz-gallery-page.hz-section-child .fl-module-uabb-heading{ display:none; }
/* the grid then sits directly under the header */
.hz-gallery-page.hz-section-child .fl-builder-content > .fl-row:first-child > .fl-row-content-wrap{ padding-top:40px; }

/* ---------- Contact (#48) ----------
   Restyle, not a rebuild (spec §9): three hand-built rows — photo hero, form + copy, and a
   contact band. The hero, typography, links and buttons come from .hz-content-page above; this
   is what the Contact page needs on top. */

/* the form column, as a card */
.hz-contact-page .fl-builder-content > .fl-row:nth-child(2) > .fl-row-content-wrap{
  padding-top:clamp(48px,6vw,76px); padding-bottom:clamp(48px,6vw,76px);
}
.hz-contact-page .fl-builder-content > .fl-row:nth-child(2) .fl-col:first-child > .fl-col-content{
  background:#fff; border:1px solid var(--hz-line); border-radius:4px;
  padding:clamp(22px,2.6vw,32px); box-shadow:0 1px 2px rgba(13,31,53,.04);
}
.hz-contact-page .fl-builder-content > .fl-row:nth-child(2) .fl-col + .fl-col > .fl-col-content{
  padding-left:clamp(0px,3vw,40px);
}


/* the contact band: the old flat grey becomes the site's mist, and the panel a card */
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color > .fl-row-content-wrap{
  background-color:var(--hz-mist);
  padding-top:clamp(40px,5vw,64px); padding-bottom:clamp(40px,5vw,64px);
}
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col-group{
  background:#fff; border:1px solid var(--hz-line); border-radius:4px; overflow:hidden;
}
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col > .fl-col-content{
  /* each column was left on its own slightly different off-white (#f8f8f8, #fffcfc) */
  padding:clamp(20px,2.4vw,30px); background:#fff;
}
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col + .fl-col{
  border-left:1px solid var(--hz-line);
}
/* the portrait fills its column instead of floating in a white box */
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col:first-child > .fl-col-content{ padding:0; }
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-module-photo,
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-photo,
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-photo-content{ height:100%; margin:0 !important; }
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-photo-img{
  width:100%; height:100%; object-fit:cover; border-radius:0; display:block;
}
/* card-sized headings: the shared rule sizes every non-hero heading as a section title */
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .uabb-heading,
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .uabb-heading-text{
  font-size:1.3rem !important; line-height:1.2;
}
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-rich-text,
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-rich-text p{ font-size:.96rem; }
/* the columns are narrow enough to break a phone number in half */
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color a[href^="tel:"]{ white-space:nowrap; }
.hz-contact-page a[href^="mailto:"]{ word-break:break-word; }
.hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-separator{ border-color:var(--hz-gold) !important; }

@media(max-width:768px){
  .hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-photo-img{ height:auto; max-height:320px; }
  /* stacked: the card needs a gutter of its own, the divider moves to the top edge, and BB's
     60px column inset leaves too little room for an email address */
  .hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color > .fl-row-content-wrap{
    padding-left:20px; padding-right:20px;
  }
  .hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col{
    padding-left:0 !important; padding-right:0 !important; width:100% !important;
  }
  .hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color .fl-col + .fl-col{
    border-left:0; border-top:1px solid var(--hz-line);
  }
  /* the office address fits on one line at this size instead of breaking after "…co" */
  .hz-contact-page .fl-builder-content > .fl-row.fl-row-bg-color a[href^="mailto:"]{ font-size:.86rem; }
}

/* ===== Available Homes (spec §6c, added 2026-10-08) ===== */
.hz-ah-wrap{ display:grid; grid-template-columns:1fr 440px; gap:clamp(20px,3vw,40px); align-items:start; }
.hz-ah-list{ min-width:0; }
.hz-ah-group{ margin-bottom:2.4rem; }
.hz-ah-group:last-child{ margin-bottom:0; }
.hz-ah-group-title{
  font-family:var(--hz-display); font-size:clamp(1.3rem,2.2vw,1.7rem); font-weight:700;
  color:var(--hz-navy); margin:0 0 1rem;
}
.hz-grid-homes{ grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
/* highlighted by horizon-homes-map.js as the matching pin becomes active, by hover or scroll */
.hz-ah-card.is-active{ box-shadow:var(--hz-shadow-lift); border-color:var(--hz-gold-tint); }
/* fills the browser window, with the same 24px breathing room top and bottom */
.hz-ah-map{ position:sticky; top:24px; height:calc(100vh - 48px); }
.hz-ah-map .hz-map-canvas{ height:100%; }

/* the homes map's pin visibly grows on hover/active — smithfamilyhomes.com/homes does this;
   the community map (horizon-map.js) deliberately doesn't, so this is scoped to .hz-ah-map
   rather than added to the shared .hz-mpin rule */
.hz-ah-map .hz-mpin{ transition:transform .15s ease; transform-origin:50% 100%; }
.hz-ah-map .hz-mpin[aria-expanded="true"]{ transform:scale(1.35); z-index:1; }

@media (max-width:768px){
  .hz-ah-wrap{ grid-template-columns:1fr; }
  /* desktop-only per spec — scroll-sync has no mobile equivalent, the card list is the whole page */
  .hz-ah-map{ display:none; }
}
