/* v8.3 hero videos, round 2 (home, gazebos hub, garden rooms hub).
   One text block ([data-hero-overlay]) for every width:
   - below 900px: the video sits on top (38svh, landscape clip) and the text sits below it on Crown green;
   - 900px and up: the text sits bottom-left over the video, which fills the right ~78% (subject in the right two-thirds).
   The hero is sized (hero-video.js) so the first product tiles peek above the fold at 390x844 and 1280x800.
   Content that used to live in or under the hero is in .hrel, directly after the products section. */

.hero.hv2{--hvm:240px;display:block;min-height:0;padding:0;background:#123627;color:#fff;overflow:hidden}
.hero.hv2>img,.hero.hv2>video.hv{position:absolute;left:0;top:0;width:100%;height:var(--hvm);object-fit:cover}
.hero.hv2>video.hv{opacity:1;transition:opacity .6s}
.hero.hv2>.ov{position:absolute;left:0;right:0;top:0;height:var(--hvm);background:linear-gradient(0deg,rgba(18,54,39,.55) 0%,rgba(18,54,39,0) 30%)}
.hero.hv2 .vctl{position:absolute;z-index:3;top:calc(var(--hvm) - 56px);right:12px;min-height:44px;min-width:44px;padding:10px 16px;background:rgba(0,0,0,.72);color:#fff;border:0;border-radius:22px;font:500 14px/24px Montserrat,Arial,sans-serif;cursor:pointer}
.hero.hv2 .vctl[hidden]{display:none}
.hero.hv2 .vctl:focus-visible{outline:3px solid #fff;outline-offset:2px}
.hero.hv2 .hvx{position:relative;z-index:2;margin-top:var(--hvm);padding:14px 20px 16px}
.hero.hv2 .hvh{margin:0;color:#fff;font:400 32px/1.1 Optima,Georgia,serif;text-wrap:balance}
.hero.hv2 .hvs{margin:6px 0 0;max-width:none;font:400 14px/20px Montserrat,Arial,sans-serif;color:rgba(255,255,255,.9)}
.hero.hv2 .hvc{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:14px}
.hero.hv2 .hvc2{gap:10px}
.hero.hv2 .hvc2 .hvp{flex:1 1 0;padding:0 10px}
.hero.hv2 .hvp{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;background:#F7F5F2;color:#123627;border:2px solid #F7F5F2;border-radius:2px;font:600 15px/1.2 Montserrat,Arial,sans-serif;letter-spacing:.02em;text-decoration:none;box-sizing:border-box}
.hero.hv2 .hvp:hover{background:#fff;border-color:#fff}
.hero.hv2 .hvo{background:transparent;color:#fff;border-color:rgba(247,245,242,.85)}
.hero.hv2 .hvo:hover{background:rgba(255,255,255,.12);border-color:#fff}
.hero.hv2 .hvl{display:inline-flex;align-items:center;min-height:48px;color:#fff;font:600 15px/1.2 Montserrat,Arial,sans-serif;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.7)}
.hero.hv2 .hvl:hover{text-decoration-color:#fff}
.hero.hv2 .hvp:focus-visible,.hero.hv2 .hvl:focus-visible,.hero.hv2 .hvcue:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hero.hv2 .hv-d{display:none}
.hero.hv2 .hvcue{display:none}
@media (prefers-reduced-motion:reduce){.hero.hv2>video.hv{transition:none}.hero.hv2 .hvcue{display:none!important}}
/* home: override the v8.2 photo-on-top rules in pa.css */
html body[data-pa-page=home] .hero.hv2>img{position:absolute;height:var(--hvm);aspect-ratio:auto;object-position:50% 50%}
html body[data-pa-page=home] .hero.hv2 .ov{display:block}
@media (max-width:899px){html body[data-pa-page=home] .hero.hv2 .vctl{top:calc(var(--hvm) - 56px);right:12px;font-size:14px}
html body[data-pa-page=home] .hero.hv2 .hvh{font-size:32px;margin:0}}
/* garden rooms hub: a shorter video band so the first collection card reaches screen one */
@media (max-width:899px){.psec .lead.psx{display:none}} /* phones: the Signature band right below names the collections */
.psec .sigband{padding-top:8px;margin-bottom:12px;font-size:14px;line-height:1.45}

/* products straight after the hero: a compact heading so the tiles reach screen one */
.sec.psec{padding-top:16px}
.psec .center{text-align:left}
.psec .center .kick{font-size:14px}
.psec .center h2{margin-top:4px!important;font-size:24px;line-height:1.2}
.psec .center .lead{margin:6px 0 0;font-size:14px;line-height:1.5;max-width:760px}
.psec .center+*{margin-top:16px!important}

/* the relocated hero content */
.hrel{background:#F7F5F2;padding:26px 0 28px;border-top:1px solid #e6dfd1;border-bottom:1px solid #e6dfd1}
.hrel .wrap>*{max-width:760px}
.hrel .kick{color:#7d6230}
.hrel p{margin:8px 0 0;font-size:16px;line-height:1.6;color:#2f3833}
.hrel .ctas{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:16px}
.hrel .ctas .tl{color:#123627;display:inline-flex;align-items:center;min-height:44px}
.hrel .paproof{margin-top:14px;color:#2f3833;display:flex;flex-wrap:wrap;gap:6px 12px;font-size:14px}
.hrel .paproof .s{color:#7d6230}
.hrel .hsec{margin-top:12px;font-size:15px;color:#2f3833}
.hrel .hsec a{color:#123627;text-decoration-color:rgba(18,54,39,.5);display:inline-block;padding:12px 0}

@media (min-width:900px){
 .hero.hv2{display:flex;align-items:flex-end;height:calc(100svh - 305px);min-height:460px}
 .hero.hv2>img,.hero.hv2>video.hv,html body[data-pa-page=home] .hero.hv2>img{left:0;width:100%;height:100%;object-position:70% 50%}
 .hero.hv2>.ov{inset:0;height:auto;background:linear-gradient(to top right,rgba(11,26,19,.88) 0%,rgba(11,26,19,.55) 28%,rgba(11,26,19,.22) 48%,transparent 68%),linear-gradient(0deg,rgba(11,26,19,.55) 0%,rgba(11,26,19,.15) 28%,transparent 52%)}
 .hero.hv2::before{content:"";position:absolute;left:0;right:0;top:0;height:90px;z-index:1;background:linear-gradient(180deg,rgba(11,26,19,.35),rgba(11,26,19,0));pointer-events:none}
 .hero.hv2 .hvx{margin:0;box-sizing:content-box;width:calc(100% - 128px);max-width:480px;padding:0 64px 64px}
 .hero.hv2 .hvh,html body[data-pa-page=home] .hero.hv2 .hvh{margin:0;font-size:clamp(36px,4.1vw,52px);line-height:1.05;text-shadow:0 1px 18px rgba(0,0,0,.25)}
 .hero.hv2 .hvs{margin-top:12px;font-size:18px;line-height:28px;text-shadow:0 1px 10px rgba(0,0,0,.3)}
 .hero.hv2 .hvc{gap:12px 24px;margin-top:24px}
 .hero.hv2 .hvc2 .hvp{flex:0 0 auto;padding:0 24px}
 /* one button system: cream primary + text link */
 .hero.hv2 .hvc2 .hvo{background:none;border:0;padding:0;min-height:48px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.7)}
 .hero.hv2 .hvc2 .hvo:hover{background:none;text-decoration-color:#fff}
 .hero.hv2 .hv-d{display:inline}
 .hero.hv2 .hvl.hv-d{display:inline-flex}
 .hero.hv2 .hv-m{display:none}
 .hero.hv2 .vctl,html body[data-pa-page=home] .hero.hv2 .vctl{top:auto;right:24px;bottom:24px;background:rgba(0,0,0,.6)}
 .hero.hv2 .hvcue{position:absolute;z-index:2;left:61%;bottom:16px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:64px;min-height:44px;color:#fff;text-decoration:none;font:600 14px/1 Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none;animation:hvcue 2s ease-in-out infinite alternate}
 .hero.hv2 .hvcue svg{width:22px;height:22px;margin-top:2px}
 .sec.psec{padding-top:28px}
 .psec .center{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;align-items:end}
 .psec .center .kick{grid-column:1}
 .psec .center h2{grid-column:1;font-size:30px}
 .psec .center .lead{grid-column:2;grid-row:1/span 2;margin:0;font-size:15px}
 .psec .center+*{margin-top:18px!important}
 .hrel{padding:32px 0 34px}
}
@keyframes hvcue{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.hero.hv2 .hvcue{animation:none;display:none!important}}
.pac.pacx{outline:3px solid #b4893a;outline-offset:4px}

/* v8.4: mobile pause/play is a round icon (36px visual, 44px hit area) */
@media (max-width:899px){
 .hero.hv2 .vctl,html body[data-pa-page=home] .hero.hv2 .vctl{top:calc(var(--hvm) - 48px);right:12px;width:44px;height:44px;min-width:44px;padding:0;background:none;border-radius:50%;overflow:hidden;text-indent:200%;white-space:nowrap;color:transparent}
 .hero.hv2 .vctl::before{content:"";position:absolute;left:4px;top:4px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.6);box-shadow:0 0 0 1px rgba(255,255,255,.35)}
 .hero.hv2 .vctl::after{content:"";position:absolute;left:17px;top:15px;width:3px;height:14px;border-left:3px solid #fff;border-right:3px solid #fff;width:4px;text-indent:0}
 .hero.hv2 .vctl[aria-label^="Play"]::after{left:18px;top:14px;width:0;height:0;border-style:solid;border-width:8px 0 8px 12px;border-color:transparent transparent transparent #fff;border-right:0}
}

/* ---------- v8.4: compact product tiles on phones ---------- */
.grchips{display:none}
@media (max-width:699px){
 /* garden rooms hub: chip row (sticky) + compact horizontal cards */
 .grchips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;position:sticky;top:var(--hdrvis,0px);z-index:20;margin:14px -20px 0!important;padding:8px 20px;background:#fff;box-shadow:0 6px 10px -10px rgba(0,0,0,.35)}
 .grchips::-webkit-scrollbar{display:none}
 .grchips a{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:1px solid #d9cfba;border-radius:22px;color:#123627;font-size:14px;font-weight:600;text-decoration:none;background:#F7F5F2;white-space:nowrap}
 .grchips a b{font-weight:500;color:#5f5a4f;font-size:14px}
 #gc-signature,#gc-heritage,#gc-contemporary{scroll-margin-top:calc(var(--hdrvis,0px) + 76px)}
 #collections .grid.sigg,#collections .grid.pair{grid-template-columns:1fr;gap:10px}
 #collections .card{display:grid;grid-template-columns:118px 1fr;align-items:stretch}
 #collections .card>img{width:118px;height:100%;min-height:118px;aspect-ratio:auto;object-fit:cover}
 #collections .card .tx{padding:10px 12px}
 #collections .card .tx>p,#collections .card .kv{display:none}
 #collections .card h3{font-size:18px;margin:0}
 #collections .card .fp{margin-top:2px;font-size:14px}
 #collections .card .fp small{display:block}
 #collections .card .lnk.foot{display:inline-flex;align-items:center;min-height:40px;margin-top:2px;font-size:14px}
}

@media (max-width:899px){.hero.hv2 .hv-mhide{display:none!important}}
@media (min-width:900px) and (max-height:720px){.hero.hv2 .hvcue{display:none!important}}

/* v8.3 r3: mobile reach chips (gazebos + garden rooms) */
.gzchips,.grchips{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:14px 0 4px;padding:2px 0 8px;scroll-snap-type:x proximity}
.gzchips::-webkit-scrollbar,.grchips::-webkit-scrollbar{display:none}
.gzchips a,.grchips a{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid #d6cdb9;border-radius:999px;background:#fff;color:#123627;font:600 14px/1.2 Montserrat,Arial,sans-serif;text-decoration:none;white-space:nowrap}
.gzchips a b,.grchips a b{font-weight:600;color:#5f5a4f;font-size:14px}
.gzchips a:hover,.grchips a:hover,.gzchips a:focus-visible,.grchips a:focus-visible{border-color:#123627;outline:none}
@media (max-width:899px){
 .gzchips,.grchips{margin:12px 0 8px;padding:0 0 4px} /* non-sticky: sticky chips landed under the chip bar in framing */
 .psec .grid.g4 .card.rc > .tx > p,.psec .grid.g4 .card.rc .rcl .more{display:none}
 .psec .grid.g4 .card.rc > img{aspect-ratio:4/3;max-height:120px;height:120px;object-fit:cover;width:100%}
 .psec .grid.g4{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px!important}
 .psec .grid.g4 .card.rc .tx{padding:10px 12px 12px}
 .psec .grid.g4 .card.rc h3{font-size:16px;margin:4px 0}
 .psec .grid.g4 .card.rc .fp{font-size:14px}
}
@media (min-width:900px){
 .gzchips,.grchips{flex-wrap:wrap;overflow:visible;margin-top:18px}
}
@media (min-width:700px){.grchips{display:none!important}}
/* v8.4: desktop shows every range/collection at once, so the jump chips are phone-only */
@media (min-width:900px){.gzchips{display:none!important} .sec.psec{padding-top:20px} .psec .sigband{margin-top:12px!important}}

/* chip targets: clear sticky chip row on mobile (~52px) + a little air */
@media (max-width:899px){
 #rc-classic,#rc-glazed,#rc-insulated,#rc-shelters,
 #gc-signature,#gc-heritage,#gc-contemporary{scroll-margin-top:64px}
}
@media (min-width:900px){
 #rc-classic,#rc-glazed,#rc-insulated,#rc-shelters,
 #gc-signature,#gc-heritage,#gc-contemporary{scroll-margin-top:24px}
}

/* ---------- v8.4.1 gazebos hub, phones: a clean product grid (Matthew: "Looks poor").
   Photo (4:3, 12px radius) with the name and From price BELOW it on cream; the whole tile is one link
   (the existing "Show the N models" link, stretched; its text stays for screen readers). No on-photo text, no chips. ---------- */
@media (max-width:699px){
 #ranges{background:#F7F5F2}
 #ranges .gzchips{display:none!important}
 #ranges .grid.g4{grid-template-columns:1fr 1fr;gap:20px 14px;margin-top:18px!important}
 #ranges .grid.g4 .card.rc{position:relative;display:block;background:none;border:0;box-shadow:none;border-radius:0;overflow:visible;padding:0}
 #ranges .grid.g4 .card.rc::before{content:none}
 #ranges .grid.g4 .card.rc>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#e9e4d8}
 #ranges .grid.g4 .card.rc .tx{display:block;padding:10px 2px 0;background:none}
 #ranges .grid.g4 .card.rc .tag2,#ranges .grid.g4 .card.rc .tx>p,#ranges .grid.g4 .card.rc .rcl .more{display:none}
 #ranges .grid.g4 .card.rc h3{margin:0;color:#123627;font:400 18px/1.25 Optima,Georgia,serif}
 #ranges .grid.g4 .card.rc h3::after{content:"\00a0›";color:#7d6230}
 #ranges .grid.g4 .card.rc .fp{margin:3px 0 0;color:#4f5f55;font-size:14px;line-height:1.4}
 #ranges .grid.g4 .card.rc .fp b{color:#4f5f55;font-weight:600}
 #ranges .grid.g4 .card.rc .fpn{display:block}
 #ranges .grid.g4 .card.rc .fpd{display:none}
 #ranges .grid.g4 .card.rc .rcl{display:block;margin:0;padding:0;min-height:0;border:0}
 #ranges .grid.g4 .card.rc .rcl .pick{position:absolute;inset:0;z-index:2;overflow:hidden;text-indent:-200vw;white-space:nowrap;font-size:14px;text-decoration:none;border-radius:12px;margin:0;padding:0;min-height:44px}
 #ranges .grid.g4 .card.rc .rcl .pick::after{content:none}
 #ranges .grid.g4 .card.rc .rcl .pick:focus-visible{outline:3px solid #123627;outline-offset:4px}
 #ranges .grid.g4 .card.rc:active>img{opacity:.88}
}

/* v8.4.1 gazebos hub finder: condensed mobile filters (Option 1: Range scroller + Filters pill -> bottom sheet). Desktop unchanged. */
#models .gzfbar,#models .gzsheet,#models .gzscrim{display:none}
@media (max-width:699px){
 #models .secthead{margin-bottom:10px}
 #models .secthead p{display:none}
 #models .secthead [data-count]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 #models .filters{display:block;background:none;border:0;box-shadow:none;padding:0;margin:0}
 #models .filters .fg .fl{display:none}
 #models .filters .fg[aria-label="Filter by range"]{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 -20px;padding:4px 20px;scroll-padding:0 20px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 14px,#000 calc(100% - 28px),transparent)}
 #models .filters .fg[aria-label="Filter by range"]::-webkit-scrollbar{display:none}
 #models .filters .fg .chip{position:relative;flex:none;min-height:36px!important;height:36px;padding:0 14px;border-radius:18px;font-size:14px;line-height:1;white-space:nowrap;color:#2f3a33;background:#fff;border:1px solid #d9d2c3}
 #models .filters .fg .chip::before{content:"";position:absolute;left:-4px;right:-4px;top:-4px;bottom:-4px}
 #models .filters .fg .chip[aria-pressed=true]{background:#123627;border-color:#123627;color:#fff}
 #models .gzfbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:0;min-height:44px}
 #models .gzfbtn{position:relative;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:18px;border:1px solid #d9d2c3;background:#fff;color:#123627;font:500 14px/1 Montserrat,Arial,sans-serif;cursor:pointer}
 #models .gzfbtn::before{content:"";position:absolute;inset:-4px}
 #models .gzfbtn[aria-expanded=true],#models .gzfbtn:has(.gzfb:not([hidden])){border-color:#123627}
 #models .gzfb{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#123627;color:#fff;font-size:14px;font-weight:600}
 #models .gzfb[hidden]{display:none}
 #models .gzfcnt{font-size:14px;color:#4f5f55;text-align:right}
 #models .gzscrim{display:block;position:fixed;inset:0;z-index:300;background:rgba(10,24,17,.42);opacity:0;transition:opacity .2s}
 #models .gzscrim.on{opacity:1}
 #models .gzsheet{display:block;position:fixed;left:0;right:0;bottom:0;z-index:301;background:#F7F5F2;border-radius:16px 16px 0 0;padding:8px 20px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.25);transform:translateY(100%);transition:transform .25s ease;max-height:85vh;overflow:auto;outline:none}
 #models .gzsheet.on{transform:none}
 #models .gzsheet[hidden],#models .gzscrim[hidden]{display:none}
 #models .gzsheet::before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:#cfc8b8;margin:0 auto 10px}
 #models .gzshh{display:flex;align-items:center;justify-content:space-between}
 #models .gzshh h3{margin:0;font:400 20px/1.2 Optima,Georgia,serif;color:#123627}
 #models .gzclr{min-height:44px;padding:0 4px;background:none;border:0;color:#123627;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
 #models .gzshb .fg{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
 #models .gzshb .fg .fl{display:block;flex-basis:100%;margin:0 0 2px;font-size:14px;letter-spacing:0;text-transform:none;font-weight:600;color:#4f5f55}
 #models .gzshb .fg .chip{min-height:44px;height:44px;border-radius:22px;padding:0 16px}
 #models .gzshb .fg .chip::before{content:none}
 #models .gzdone{display:flex;width:100%;justify-content:center;margin-top:20px;min-height:48px}
 html.gz-sheet-open{overflow:hidden}
 @media (prefers-reduced-motion:reduce){#models .gzsheet,#models .gzscrim{transition:none}}
}

/* v8.7.3 home hero (approved by Matthew): the headline, one gold "Book a visit" and a small "Explore ↓" cue to the tiles below.
   Gold #C9A86B with green #123627 text is 5.9:1; the cream cue on the green band / dark wash is 12:1. Both 48px tall. */
.hero.hv2 .hvc3{gap:6px 22px;align-items:center}
.hero.hv2 .hvc3 .hvbk{flex:0 0 auto;min-height:48px;padding:0 26px;background:#C9A86B;border-color:#C9A86B;color:#123627;font:600 14px/1 Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none}
.hero.hv2 .hvc3 .hvbk:hover{background:#d6b87e;border-color:#d6b87e;color:#0b2a1d}
.hero.hv2 .hvex{display:inline-flex;align-items:center;min-height:48px;padding:0 4px;color:#F7F5F2;font:500 14px/1 Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none;text-decoration:underline;text-decoration-color:rgba(201,168,107,.8);text-decoration-thickness:1px;text-underline-offset:6px}
.hero.hv2 .hvex:hover{color:#fff;text-decoration-color:#C9A86B}
.hero.hv2 .hvex:focus-visible,.hero.hv2 .hvc3 .hvbk:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hero.hv2 .hvex .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#collections:focus{outline:none}
