/* Design pass phase 1 (11/17): "more elements, real icons, better pictures" (design-pass/DESIGN-BRIEF.md sections 1 to 3, BUILD-SPEC-P1.md).
   Loaded after bigbrand.css. Two-tone icon family (inline <use> of the per-page sprite), eyebrows, seals, process circles, check marks,
   one curved edge per page, photo-slot shapes and the service-area map. No new hex values: tints are color-mix of the tokens. No animation. */

:root{--tint:color-mix(in srgb,var(--color-primary) 14%,#fff);--tint-hi:color-mix(in srgb,var(--color-primary) 24%,#fff)}

/* ---- Icons: colours come from the host (--ic-body / --ic-accent), brief 1.1 rule 9 ---- */
.ico{display:block;flex:none;width:1em;height:1em;--navy-deep:var(--ic-body,#1b1e34);--lime:var(--ic-accent,#4795d1)}
.ico--24{width:24px;height:24px}.ico--28{width:28px;height:28px}.ico--32{width:32px;height:32px}.ico--40{width:40px;height:40px}
.ico--48{width:48px;height:48px}.ico--56{width:56px;height:56px}.ico--88{width:88px;height:88px}
/* HVAC palette has no lime: default = navy body + HVAC blue accent; on a navy ground the body is white; the soft variant is for list checks */
:root{--ic-body:#1b1e34;--ic-accent:#4795d1}
.home-estimate,.cta,.footer,.seal__disc,.step__ic{--ic-body:#fff;--ic-accent:#4795d1}
.checks{--ic-body:#2e74b0;--ic-accent:#fff}
.ico-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* ---- Eyebrows (2.2): Title Case as written, no text-transform; a 28x3 rule 8 px under the words ---- */
.eyebrow{margin:0 0 10px;font-size:.875rem;font-weight:700;line-height:1.2;letter-spacing:.04em;text-transform:none;color:var(--color-mid-blue)}
.eyebrow::after{content:"";display:block;width:28px;height:3px;margin-top:8px;border-radius:2px;background:var(--color-primary)}
@media(max-width:560px){.eyebrow{font-size:.8125rem}}
.eyebrow.eyebrow{color:var(--color-mid-blue)} /* two classes: beats the .head p / .cta p colour rules; colour only */

/* heading row: an icon chip beside a heading (2.6) */
.h2row{display:flex;align-items:center;gap:16px;min-width:0}
.h2row>div{min-width:0}
.h2row>.ico{flex:none}
.h2row h2{margin:0}
@media(max-width:560px){.h2row{gap:12px}.h2row>.ico--56{width:48px;height:48px}}
.card-ic{display:block;margin:0 0 14px;line-height:0}

/* ---- Service tiles (2.1): 120 px halo, 88 px icon; 80 / 56 at 390 ---- */
.bb-tile__ic{width:120px;height:120px;background:var(--tint);margin-bottom:20px}
.bb-tile__ic .ico{width:88px;height:88px}
@media(hover:hover){.bb-tile:hover .bb-tile__ic{background:var(--tint-hi)}}
@media(max-width:560px){.bb-tile__ic{width:80px;height:80px;margin-bottom:10px}.bb-tile__ic .ico{width:56px;height:56px}}

/* ---- Trust: interior thin strip (40 px icons) and the home seals (2.4) ---- */
.bb-trust .ico--40{width:40px;height:40px}
@media(max-width:900px){.bb-trust .ico--40{width:32px;height:32px}}
.bb-trust--seals .bb-trust__row{align-items:start;padding-block:34px 30px}
.seal{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.bb-trust .seal{flex-direction:column;align-items:center;gap:14px;font-size:.9375rem;line-height:1.25;text-wrap:balance}
.seal__disc{position:relative;display:grid;place-items:center;flex:none;width:96px;height:96px;border-radius:50%;background:var(--color-navy);font-style:normal}
.seal__disc::before{content:"";position:absolute;inset:5px;border:3px dashed #4795d1;border-radius:50%}
.seal__disc .ico{position:relative;width:48px;height:48px}
@media(max-width:560px){.seal__disc{width:88px;height:88px}.seal__disc .ico{width:40px;height:40px}.bb-trust .seal{font-size:.875rem;gap:10px}}
.seal--solo{flex-direction:column;font-weight:700;font-size:.9375rem;line-height:1.25;color:var(--color-navy);max-width:150px}
.head--seal{grid-template-columns:1fr 1fr auto}
.head--seal .seal{align-self:center}
@media(max-width:820px){.head--seal{grid-template-columns:1fr}.head--seal .seal{flex-direction:row;text-align:left;max-width:none;justify-self:start;gap:14px}}

/* ---- Home hero (3.1 H1): arch photo with the tint circle behind its lower left ---- */
.bb-hero{overflow:hidden}
.bb-hero__grid{grid-template-columns:minmax(0,1fr) min(49.6%,560px)}
.bb-hero__photo{overflow:visible;border-radius:0;background:none;aspect-ratio:560/640}
.bb-hero__photo::before{content:"";position:absolute;z-index:0;left:-70px;bottom:-60px;width:520px;height:520px;border-radius:50%;background:var(--tint)}
.bb-hero__photo .hero__bg{z-index:1;border-radius:50% 50% 20px 20px/43.75% 43.75% 20px 20px;overflow:hidden;background:var(--bb-pale)}
.bb-hero__photo .hero__img{object-position:50% 55%}
@media(max-width:900px){
  .bb-hero__grid{grid-template-columns:1fr}
  .bb-hero__photo{aspect-ratio:358/340;width:100%;max-width:560px;margin-inline:auto}
  .bb-hero__photo::before{width:240px;height:240px;left:-40px;bottom:-30px}
  .bb-hero__photo .hero__bg{border-radius:120px 120px 20px 20px}
}

/* ---- Estimate band (2.8): one concave arc on its bottom edge; the next section's colour rises into the navy ---- */
.home-estimate{position:relative;padding-bottom:calc(clamp(56px,7vw,88px) + 64px)}
.home-estimate::after{content:"";position:absolute;left:0;right:0;bottom:0;height:64px;background:var(--color-pale-blue);border-radius:50% 50% 0 0/100% 100% 0 0;pointer-events:none}
@media(max-width:560px){.home-estimate{padding-bottom:calc(clamp(56px,7vw,88px) + 28px)}.home-estimate::after{height:28px}}
.home-estimate__intro .h2row{margin:0}
.home-estimate .h2row .ico{width:56px;height:56px}

/* interior pages: the same arc on the TOP edge of the closing navy band only (never on the home, which has its own) */
.cta{position:relative;padding-top:calc(clamp(44px,6vw,72px) + 36px)}
.cta::before{content:"";position:absolute;left:0;right:0;top:0;height:64px;background:var(--cta-above,#fff);border-radius:0 0 50% 50%/0 0 100% 100%;pointer-events:none}
.sec--paper+.cta{--cta-above:var(--color-paper)}
.answer+.cta{--cta-above:var(--color-pale-blue)}
.home-estimate~.cta{padding-top:clamp(44px,6vw,72px)}
.home-estimate~.cta::before{display:none}
@media(max-width:560px){.cta{padding-top:calc(clamp(44px,6vw,72px) + 20px)}.cta::before{height:28px}}
.cta .h2row{gap:16px}
.cta .h2row .ico{width:56px;height:56px}
@media(max-width:560px){.cta .h2row .ico{width:48px;height:48px}}

/* ---- Process circles with the dashed connector (2.5) ---- */
.steps--process{border-top:0;column-gap:48px;counter-reset:step}
.steps--process li,.steps--process li+li{position:relative;padding:0;border:0;counter-increment:step}
.step__ic{position:relative;z-index:1;display:grid;place-items:center;width:72px;height:72px;margin-bottom:20px;border-radius:50%;background:var(--color-navy)}
.step__ic .ico{width:40px;height:40px}
.steps--process .step__ic b{position:absolute;top:-6px;right:-10px;display:grid;place-items:center;width:28px;height:28px;margin:0;border-radius:50%;background:var(--accent);color:#fff;font-size:0;line-height:1}
.steps--process .step__ic b::before{content:counter(step);font-size:16px;font-weight:900}
.steps--process li:not(:last-child)::after{content:"";position:absolute;z-index:0;top:35px;left:84px;width:calc(100% - 48px);border-top:2px dashed var(--color-primary)}
.steps--process h3{margin-top:0}
@media(max-width:820px){
  .steps--process{row-gap:0}
  .steps--process li,.steps--process li+li{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:18px;padding:0 0 30px}
  .steps--process li:last-child{padding-bottom:0}
  .step__ic{grid-row:1/3;width:64px;height:64px;margin:0}
  .step__ic .ico{width:32px;height:32px}
  .steps--process h3{align-self:end;margin:4px 0 6px}
  .steps--process p{grid-column:2;align-self:start}
  .steps--process li:not(:last-child)::after{top:72px;bottom:6px;left:31px;width:0;border-top:0;border-left:2px dashed var(--color-primary)}
}

/* ---- Cards and lists ---- */
.checks li{gap:12px}
.checks .ico{width:24px;height:24px;margin-top:1px}
.bb-card .checks .ico{width:24px;height:24px;margin-top:1px}
.bb-card .card-ic .ico{width:48px;height:48px}
@media(max-width:560px){
  .bb-card{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:14px;align-items:center}
  .bb-card .card-ic{margin:0}.bb-card .card-ic .ico{width:40px;height:40px}
  .bb-card h3{margin:0}
  .bb-card .checks{grid-column:1/-1;margin-top:14px}
}
.svc .card-ic .ico,.steps .card-ic .ico{width:48px;height:48px}
.svc .tile__b>.card-ic .ico{width:56px;height:56px}
.tile .card-ic .ico{width:48px;height:48px}
.rev-card__ic{margin-bottom:14px;line-height:0}
.rev-card__ic .ico{width:56px;height:56px}
@media(max-width:560px){.rev-card__ic .ico{width:48px;height:48px}}
.bb-head>.h2row{flex:1 1 auto}
.bb-head .h2row h2{max-width:22ch}
.bb-head>div:not(.h2row){min-width:0}

/* ---- Office card, contact rows and the map (2.10, 2.11) ---- */
.bb-office__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:clamp(28px,5vw,64px);align-items:center;padding-block:clamp(40px,5vw,64px)}
.bb-office__card h2{margin:0 0 14px}
.bb-office__card .card-ic .ico{width:56px;height:56px}
.bb-office .ci{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.bb-office .ci:last-child{margin-bottom:0}
.bb-office address.ci span{display:block}
.bb-office .ci .ico{width:28px;height:28px}
.bb-office .bb-office__tel{font-size:clamp(1.375rem,1rem + 1.2vw,2rem)}
@media(max-width:900px){.bb-office__grid{grid-template-columns:1fr}}
.sa-map{margin:0;line-height:0;border-radius:20px;border:1px solid #e7eaef;background:#ffffff;overflow:hidden}
.sa-map__svg{display:block;width:100%;height:auto}
.sa-map__svg--m{display:none}
@media(max-width:560px){.sa-map__svg--d{display:none}.sa-map__svg--m{display:block}}
.sa-map path{stroke:color-mix(in srgb,var(--color-mid-blue) 70%,transparent);stroke-width:1.5;stroke-linejoin:round}
.sa-ct,.sa-ma{fill:var(--color-paper)}
.sa-ri{fill:color-mix(in srgb,var(--color-primary) 26%,#fff)}
.sa-dots circle{fill:var(--color-mid-blue);stroke:#fff;stroke-width:1.5}
.sa-ring{fill:var(--tint)}
.sa-name{font:700 13px/1 var(--font-stack);fill:var(--color-navy)}
.sa-init{font:500 11px/1 var(--font-stack);fill:var(--color-muted);text-anchor:middle}
.sa-map .ico{--ic-body:#1b1e34;--ic-accent:#4795d1}

/* footer contact rows: white tile, blue glyph, 10 px gap */
.footer .footer__brand .footer__ci{display:flex;align-items:center;gap:10px;margin:8px 0}
.footer .footer__brand .footer__ci .ico{width:24px;height:24px}

/* ---- Photo shapes (3). Shapes live on the <img> so the box detection in scripts/build.mjs and scripts/photo-audit.mjs is unchanged ---- */
.band img.shp-b{aspect-ratio:1128/420;border-radius:20px}
.band img.shp-f{aspect-ratio:1128/380;border-radius:0 80px 0 80px}
.band img.shp-card{aspect-ratio:820/400;max-width:820px;margin-inline:auto;display:block;border-radius:20px}
@media(max-width:820px){
  .band img.shp-b,.band img.shp-f,.band img.shp-card{aspect-ratio:358/240}
  .band img.shp-f{border-radius:0 48px 0 48px}
}
/* split card C with an optional tint circle (480 px; 240 at 390) behind a corner, never behind text */
.wrap.split>img.shp-c{width:100%;max-width:none;margin:0;aspect-ratio:4/3;border-radius:20px;position:relative;z-index:1}
.wrap.split>div{position:relative;z-index:1}
.wrap.split:has(>.shp-c){position:relative}
.wrap.split:has(>.shp-c--l){grid-template-columns:minmax(0,1fr) minmax(0,688px)}
.wrap.split:has(>.shp-c--ul){grid-template-columns:minmax(0,1fr) minmax(0,560px)}
.wrap.split:has(>.shp-c--s){grid-template-columns:minmax(0,525px) minmax(0,1fr)}
.wrap.split:has(>.shp-c--l)::before,.wrap.split:has(>.shp-c--ul)::before{content:"";position:absolute;z-index:0;width:480px;height:480px;border-radius:50%;background:var(--tint)}
.wrap.split:has(>.shp-c--l)::before{right:-120px;top:-90px}
.wrap.split:has(>.shp-c--ul)::before{right:calc(560px - 150px);top:-90px}
@media(max-width:820px){
  .wrap.split:has(>.shp-c--l),.wrap.split:has(>.shp-c--ul),.wrap.split:has(>.shp-c--s){grid-template-columns:1fr}
  .wrap.split:has(>.shp-c--l)::before,.wrap.split:has(>.shp-c--ul)::before{width:240px;height:240px;top:auto;bottom:-40px}
  .wrap.split:has(>.shp-c--l)::before{right:-60px}
  .wrap.split:has(>.shp-c--ul)::before{right:auto;left:-60px}
}
/* card thumbnails G with an icon badge on a white circle overlapping the photo's lower left (heat pumps: Ducted or Ductless) */
.svc .tile:has(.tile__ph){border-radius:16px}
.tile__ph{position:relative}
.tile__ph:has(.tile__badge){overflow:visible}
.tile__ph img{border-radius:0}
.tile__badge{position:absolute;left:18px;bottom:-30px;z-index:2;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#fff;border:1px solid var(--color-border)}
.tile__badge .ico{width:48px;height:48px}
.tile:has(.tile__badge) .tile__b{padding-top:44px}

/* phase 2 slot components (duo H3, portrait H4, guide thumbs H7): present, unused while their SLOTS flag is false (scripts/decor.mjs) */
.shp-duo{position:relative}
.shp-duo img{border-radius:20px}
.shp-duo__dot{position:absolute;right:-20px;bottom:-30px;width:160px;height:160px;border:6px solid #fff;border-radius:50%;overflow:hidden}
.shp-portrait img{aspect-ratio:3/4;border-radius:20px;object-fit:cover;width:100%}
.bb-guide__ph{position:relative;margin:-24px -24px 0;aspect-ratio:3/2}
.bb-guide__ph img{width:100%;height:100%;object-fit:cover;border-radius:16px 16px 0 0}
.nowrap{white-space:nowrap}
