/*
Theme Name: The Shutter Market
Theme URI: https://theshuttermarkets.co.uk/
Author: The Shutter Market
Author URI: https://theshuttermarkets.co.uk/
Description: Custom mobile-first theme for The Shutter Market — made to measure plantation shutters in Gloucester and Gloucestershire. Sage Meadow design (v1.1): pale green-cream ground, sage green, terracotta accents, DM Serif Display + Nunito Sans, arched photo frames, pill buttons. Built from the approved 2026 redesign prototype: hero survey form, five shutter ranges, brochure colours, Areas We Cover, town pages, reviews and a working free-survey form that emails Luke@theshuttermarkets.co.uk.
Version: 1.1.21
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary — The Shutter Market Ltd. All photos are the company's own fits; do not reuse elsewhere.
Text Domain: shutter-market
Tags: custom, mobile-first, shutters, gloucester
*/

/* ------------------------------------------------------------------ */
/* Styles below are the approved prototype's CSS, verbatim (base +    */
/* the "SAGE MEADOW — Layout 07 restyle (v1.1)" override block), so   */
/* the live site matches the prototype exactly. The only rules        */
/* removed are the .prototype-bar review-banner rules, which the      */
/* theme never renders. WordPress-only additions are at the end.      */
/* ------------------------------------------------------------------ */

:root{
  --bg:#faf8f2;             /* Coastal Light pale gallery */
  --bg2:#f1ecdd;            /* warm soft tint */
  --card:#ffffff;
  --ink:#22312b;            /* deep ink green */
  --muted:#5d6d63;
  --line:#e4ddcb;
  --green:#2f6f61;          /* sea green */
  --green-deep:#22312b;
  --green-soft:#26594f;
  --sage:#a8b5a0;           /* painted sage */
  --sage-dark:#2f6f61;
  --sage-pale:#f1ecdd;      /* soft section tint */
  --slate:#647680;          /* company slate grey */
  --star:#e09f2e;
  --clay:#b85c33;           /* warm terracotta accent */
  --clay-deep:#9c4a26;
  --amber:#d99a3d;
  --oak:#b98a5e;            /* natural oak finish */
  --oak-light:#d9b48c;
  --blue:#4a6f8a;           /* softer painted slate blue */
  --painted-blue:#7fa0b8;
  --painted-sage:#a8c3ab;
  --painted-stone:#d8cfc0;
  --painted-cream:#f7f1e3;
  --cream:#f1ecdd;          /* warm soft section tint */
  --radius:14px;
  --shadow:0 18px 45px rgba(34,49,43,.12);
  --header-h:88px;          /* sticky header height (one-line logo) */
  color-scheme:light dark;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#141a17;--bg2:#1d2621;--card:#22302a;--ink:#f0ede2;--muted:#b9c2b4;--line:#3a453c;
    --green:#3d8b76;--green-deep:#101613;--green-soft:#4a9c85;--sage:#93a78d;--sage-dark:#8fc1b2;--sage-pale:#243129;--slate:#a7bcc7;
    --cream:#262019;--painted-blue:#8fb0c6;--painted-sage:#8fb098;
    --shadow:0 18px 45px rgba(0,0,0,.4);
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-bottom:130px}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:"Nunito Sans",system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
::selection{background:var(--sage);color:#fff}
h1,h2,h3{font-family:"DM Serif Display",Georgia,serif;font-weight:600;line-height:1.12;margin:0 0 .6rem;color:var(--ink)}
h1{font-size:clamp(2.7rem,6vw,4.3rem)}
h1 em{font-style:italic;font-weight:500;color:var(--green)}
h2{font-size:clamp(2.1rem,4vw,3rem)}
h3{font-size:1.5rem}
p{margin:0 0 1rem}
a{color:var(--sage-dark);text-underline-offset:3px;font-weight:600}
img{max-width:100%;display:block}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:54px;padding:.95rem 1.7rem;border-radius:999px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;border:1px solid transparent;cursor:pointer;font-size:.82rem;transition:background .25s ease,color .25s ease,border-color .25s ease}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-soft);color:#fff}
.btn-ghost{background:transparent;color:var(--green);border-color:var(--green)}
@media (prefers-color-scheme: dark){.btn-ghost{color:var(--ink);border-color:var(--ink)}}
.btn-ghost:hover{border-color:var(--sage-dark);color:var(--sage-dark)}
.btn-sage{background:var(--sage);color:#0b2a20}
.btn-sage:hover{background:#fff;color:var(--green)}
.btn-slate{background:var(--slate);color:#fff}
.btn-clay{background:var(--clay);color:#fff}
.btn-clay:hover{background:var(--clay-deep);color:#fff}
.btn-amber{background:var(--amber);color:#2a1c05}
.btn-amber:hover{background:#fff;color:var(--green)}
.btn-slate:hover{background:var(--green);color:#fff}
.small{font-size:.95rem;color:var(--muted)}
.stars{color:var(--star);letter-spacing:.14em;font-size:.9rem}
header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:1.2rem;padding:1rem 0}
.logo{font-family:"DM Serif Display",serif;font-weight:600;font-size:1.55rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);text-decoration:none;line-height:1}
header .logo{font-size:2rem;font-weight:700;line-height:1.05;white-space:nowrap}
@media (prefers-color-scheme: dark){.logo{color:var(--ink)}}
.logo span{display:block;font-family:"Nunito Sans",sans-serif;font-size:.62rem;letter-spacing:.5em;text-transform:uppercase;color:var(--sage-dark);font-weight:700;margin-top:.35rem}
.navlinks{display:none;gap:.2rem;margin-left:auto}
.navlinks a{color:var(--ink);text-decoration:none;font-weight:700;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;padding:.6rem .75rem;min-height:44px;display:inline-flex;align-items:center;border-bottom:3px solid transparent}
.navlinks a:hover{color:var(--sage-dark)}
.navlinks a.active{color:var(--sage-dark);border-bottom-color:var(--sage)}
.nav-cta{margin-left:auto;display:flex;gap:.6rem;align-items:center}
.nav-cta .btn{min-height:48px;padding:.7rem 1.2rem}
.phone-link{font-weight:700;letter-spacing:.04em;color:var(--green);text-decoration:none;padding:.6rem .5rem;min-height:44px;display:none;align-items:center;font-size:.98rem}
@media (prefers-color-scheme: dark){.phone-link{color:var(--ink)}}
.phone-link:hover{color:var(--sage-dark)}
.menu-btn{margin-left:.25rem;width:48px;height:48px;border-radius:var(--radius);border:1px solid var(--line);background:transparent;font-size:1.25rem;cursor:pointer;color:var(--ink)}
.mobile-menu{display:none;border-top:1px solid var(--line);padding:.6rem 0 1rem}
.mobile-menu.open{display:block}
.mobile-menu a{display:flex;align-items:center;min-height:48px;padding:.4rem .4rem;color:var(--ink);text-decoration:none;font-weight:700;font-size:.84rem;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid var(--line)}
.mobile-menu a.active{color:var(--sage-dark)}
@media(min-width:960px){.navlinks{display:flex}.nav-cta{margin-left:.4rem}.phone-link{display:inline-flex}.menu-btn{display:none}}
section, .hero, .strip{scroll-margin-top:calc(var(--header-h) + 14px)}
.hero{padding:3.4rem 0 4rem;background:var(--bg)}
.hero-grid{display:grid;gap:2.4rem;grid-template-areas:"copy" "media" "signpost" "form"}
.hero-grid>.form-signpost{grid-area:signpost;margin:0 auto;width:100%;max-width:46rem}
.hero-copy{grid-area:copy;text-align:center;max-width:46rem;margin:0 auto;width:100%}
.hero-copy h1{font-size:clamp(2.4rem,5.2vw,3.6rem)}
.hero-media{grid-area:media}
.eyebrow{display:inline-flex;gap:.6rem;align-items:center;font-weight:700;letter-spacing:.24em;text-transform:uppercase;font-size:.74rem;margin-bottom:1.1rem;color:var(--clay)}
.hero p.lead{font-size:1.18rem;color:var(--muted);max-width:34rem;line-height:1.65;margin:0 auto 1rem}
.promo-badge{position:absolute;top:14px;right:14px;z-index:3;width:128px;height:128px;border-radius:50%;background:var(--clay);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:.6rem;border:3px solid #fff;box-shadow:0 12px 26px rgba(0,0,0,.22)}
.promo-badge strong{font-size:1.7rem;font-weight:800;line-height:1.05;letter-spacing:.01em}
.promo-badge span{font-size:.64rem;font-weight:700;line-height:1.3;letter-spacing:.02em;margin-top:.3rem;hyphens:none}
@media(max-width:640px){.promo-badge{width:100px;height:100px;top:10px;right:10px;padding:.5rem}.promo-badge strong{font-size:1.3rem}.promo-badge span{font-size:.55rem;letter-spacing:.01em}}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.7rem 0 1rem}
.samples-line{color:var(--muted);font-size:1rem;margin:1.1rem 0 .9rem}
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;justify-items:center;text-align:left}
.ticks li{display:flex;gap:.55rem;align-items:baseline;font-weight:600}
.ticks li::before{content:"✓";color:var(--green);font-weight:800}
.hero-frame{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:0 30px 60px -30px rgba(34,49,43,.35)}
.hero-frame::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.35);border-radius:var(--radius);pointer-events:none}
.hero-media img.main{position:relative;aspect-ratio:16/8.5;object-fit:cover;object-position:50% 35%;width:100%}
.caption{color:var(--muted);font-weight:500;font-style:italic;font-family:"DM Serif Display",serif;font-size:1.2rem;line-height:1.4;margin:0;padding:0;text-align:left}
.strip{background:transparent;color:var(--ink);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.strip-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.6rem 1rem;padding:2.1rem 0;text-align:center}
@media(min-width:800px){.strip-grid{grid-template-columns:repeat(4,1fr)}}
.strip-grid strong{display:block;font-size:1.8rem;font-weight:600;font-family:"DM Serif Display",serif;color:var(--ink);margin-bottom:.25rem}
.strip-grid span{font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.finish-badge{position:absolute;left:10px;bottom:118px;z-index:3;background:#fff;color:#7a4f26;border:1px solid var(--oak-light);padding:.45rem .8rem;border-radius:999px;font-weight:800;font-size:.8rem;letter-spacing:.03em;box-shadow:0 8px 24px rgba(0,0,0,.14);display:inline-flex;gap:.45rem;align-items:center}
@media(max-width:640px){.finish-badge{bottom:86px;left:4px;font-size:.74rem;padding:.38rem .65rem}}
.finish-badge i{width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,var(--oak-light),var(--oak));display:inline-block;flex:none}
section{padding:4.4rem 0}
.alt{background:var(--bg2)}
.section-head{max-width:44rem;margin:0 auto 2rem;text-align:center}
.section-head p{color:var(--muted);font-size:1.08rem;line-height:1.65}
.section-kicker{font-size:.76rem;font-weight:800;letter-spacing:.3em;text-transform:uppercase;color:var(--clay);margin:0 0 .9rem}
.cards{display:grid;gap:1.6rem}
@media(min-width:760px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1020px){.cards.three{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}
.card p{color:var(--muted);margin:0;font-size:1.02rem;line-height:1.65}
.tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.6rem;justify-content:center}
.tab{min-height:48px;padding:.65rem 1.35rem;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font-weight:700;cursor:pointer;font-size:.92rem}
.tab:hover{border-color:var(--green);color:var(--green)}
.tab[aria-selected="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.range-panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;display:grid;gap:1.6rem;box-shadow:var(--shadow)}
@media(min-width:820px){.range-panel{grid-template-columns:.9fr 1.1fr;padding:2rem}}
.range-panel img{border-radius:var(--radius);aspect-ratio:4/3;object-fit:cover;width:100%;height:100%}
.range-panel img.range-img-contain{aspect-ratio:3/4;object-fit:contain;height:auto;max-height:540px;width:88%;justify-self:center;background:var(--bg2)}
.range-panel ul{margin:.6rem 0 0;padding-left:1.2rem;color:var(--muted);line-height:1.75}
.range-stage{display:flex;align-items:center;gap:.9rem}
.range-stage .range-panel{flex:1 1 auto;min-width:0}
.range-arrow{flex:0 0 auto;width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:var(--green);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 22px -12px rgba(34,49,43,.45);transition:background .25s ease}
.range-arrow:hover{background:var(--green-soft)}
@media(max-width:819px){.range-stage{position:relative}.range-arrow{position:absolute;z-index:6;top:20%}#rangePrev{left:.5rem}#rangeNext{right:.5rem}}
.price-note{border-top:1px solid var(--line);padding-top:1rem}
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem 1rem}
@media(min-width:820px){.gallery{grid-template-columns:repeat(4,1fr);gap:1.6rem 1.2rem}}
.gallery figure{margin:0;display:flex;flex-direction:column;position:relative;overflow:hidden;border-radius:var(--radius)}
.gallery figure.wide{grid-column:span 2}
.gallery img{border-radius:var(--radius);aspect-ratio:1;object-fit:cover;width:100%}
.gallery figure.wide img{aspect-ratio:2/1}
.gallery figcaption{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);background:rgba(255,255,255,.92);color:#22312b;padding:3px 9px;border-radius:999px;font-weight:600;font-size:.72rem;line-height:1.3;z-index:2}
.top-pair{display:grid;gap:1.2rem;margin-top:2.4rem}
@media(min-width:760px){.top-pair{grid-template-columns:1fr 1fr}}
.top-pair figure{margin:0;display:flex;flex-direction:column;position:relative;overflow:hidden;border-radius:var(--radius)}
.top-pair img{aspect-ratio:4/3;object-fit:cover;width:100%}
.top-pair img.top-focus{object-position:50% 38%}
.top-pair figcaption{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);background:rgba(255,255,255,.92);color:#22312b;padding:3px 9px;border-radius:999px;font-weight:600;font-size:.72rem;line-height:1.3;z-index:2}
.ba-shot{position:relative}
.ba-pair{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-content:start}
@media(min-width:820px){.ba-pair{gap:1.2rem}}
.gallery .ba-shot img{object-fit:contain;background:var(--card)}
.ba-tag{position:absolute;top:.6rem;left:.6rem;background:rgba(26,71,52,.88);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:.32rem .7rem;border-radius:999px}
.colour-feature{margin:1.2rem 0 0}
.colour-feature img{border-radius:var(--radius);aspect-ratio:16/8;object-fit:cover;object-position:center 42%;width:100%}
.colour-feature figcaption{font-size:1.05rem;font-family:"DM Serif Display",serif;font-style:italic;color:var(--muted);padding:.55rem .1rem .15rem;font-weight:500;line-height:1.35}
@media(max-width:640px){.colour-feature img{aspect-ratio:4/3;object-position:center 45%}}
.steps{position:relative;display:grid;gap:1.7rem}
@media(min-width:900px){
  .steps{grid-template-columns:repeat(4,1fr);gap:1.8rem}
}
.step{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem 1.4rem;box-shadow:0 8px 22px rgba(34,49,43,.07)}
.step-num{font-family:"DM Serif Display",serif;font-weight:600;font-size:2.6rem;line-height:1;color:var(--clay);margin-bottom:.6rem;flex:none}
.step h3{font-size:1.45rem;margin-bottom:.35rem}
.step p{color:var(--muted);margin:0;font-size:1.02rem;line-height:1.55}
@media(max-width:899px){
  .step{display:flex;gap:1.05rem;align-items:flex-start;padding:1.25rem 1.2rem}
  .step-num{margin-bottom:0}
}
.form-signpost{display:flex;align-items:center;justify-content:center;gap:.6rem;background:var(--clay);color:#fff;font-weight:800;letter-spacing:.03em;text-decoration:none;border-radius:999px;padding:.85rem 1.1rem;margin:1.4rem 0 0;font-size:1rem;box-shadow:var(--shadow);text-align:center}
.form-signpost:hover{background:var(--clay-deep);color:#fff}
.form-signpost .arr{font-size:1.35rem;line-height:1;animation:signpost-bob 1.6s ease-in-out infinite}
@keyframes signpost-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
@media (prefers-reduced-motion: reduce){.form-signpost .arr{animation:none}}
#quickForm{scroll-margin-top:calc(var(--header-h) + 14px)}
.photo-band{position:relative}
.photo-band img{width:100%;height:340px;object-fit:cover}
@media(min-width:820px){.photo-band img{height:420px}}
.photo-band .band-caption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(26,71,52,.82));color:#fff;padding:3.2rem 0 1.4rem}
.photo-band .band-caption p{font-family:"DM Serif Display",serif;font-style:italic;font-size:clamp(1.5rem,3.4vw,2.2rem);margin:0;line-height:1.25}
.about-grid{display:grid;gap:2.4rem}
@media(min-width:900px){.about-grid{grid-template-columns:.9fr 1.1fr;align-items:center;gap:3.6rem}}
.about-grid img{border-radius:var(--radius);width:100%;aspect-ratio:4/4.1;object-fit:cover;object-position:top;box-shadow:var(--shadow)}
.about-grid img.range-teaser-photo{aspect-ratio:4/3;object-position:center}
.checklist{list-style:none;padding:0;margin:1.1rem 0;display:grid;gap:.6rem}
.checklist li{padding-left:1.6rem;position:relative;font-weight:600}
.checklist li::before{content:"✓";position:absolute;left:0;color:var(--sage-dark);font-weight:800}
.on-green{background:var(--green-deep);color:#f3efe4}
.on-green h2,.on-green h3{color:#fff}
.on-green .section-kicker{color:#e0a458}
.on-green .section-head p{color:#c8cfc6}
.review{background:#fff;color:#22312b;border-radius:var(--radius);padding:1.5rem;display:flex;flex-direction:column;gap:.6rem;box-shadow:0 10px 28px rgba(34,49,43,.10);border:1px solid #fff}
@media (prefers-color-scheme: dark){.review{background:var(--card);color:var(--ink);border-color:var(--line)}}
.review p{color:#43564b;flex:1;font-size:1.04rem;line-height:1.6;margin:0}
@media (prefers-color-scheme: dark){.review p{color:var(--muted)}}
.review footer{font-weight:800;font-size:.86rem;letter-spacing:.08em;text-transform:uppercase;color:#22312b}
@media (prefers-color-scheme: dark){.review footer{color:var(--ink)}}
.review footer span{display:block;font-weight:600;letter-spacing:.04em;text-transform:none;color:#647680;font-size:.88rem;margin-top:.15rem}
.on-green .review{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#f3efe4;box-shadow:none}
.on-green .review p{color:#e3e6da}
.on-green .review footer{color:#c8cfc6}
.on-green .review footer span{color:#9fb0a2}
.on-green a.more-link{color:#e0a458;font-weight:800}
.on-green details{border-bottom-color:rgba(255,255,255,.16)}
.on-green summary{color:#f3efe4}
.on-green details p{color:#c8cfc6}
.on-green .chip{background:#fff;color:#22312b}
details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:700;padding:1.1rem .2rem;min-height:52px;display:flex;align-items:center;font-size:1.04rem;color:var(--ink)}
details p{padding:0 .2rem 1.2rem;color:var(--muted);margin:0;line-height:1.65}
.chips{display:flex;flex-wrap:wrap;gap:.55rem}
.chip{background:var(--card);border:1px solid var(--line);padding:.55rem 1.1rem;border-radius:999px;font-weight:600;font-size:.95rem;min-height:44px;display:inline-flex;align-items:center}
.contact-grid{display:grid;gap:2.2rem}
@media(min-width:960px){.contact-grid{grid-template-columns:1.1fr .9fr;align-items:start;gap:3.2rem}}
form{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow)}
label{font-weight:700;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;display:block;margin:0 0 .45rem}
.field{margin-bottom:1.2rem}
input,select,textarea{width:100%;min-height:52px;border:1px solid var(--line);border-radius:var(--radius);padding:.8rem .95rem;font:inherit;background:var(--bg);color:var(--ink);scroll-margin-top:calc(var(--header-h) + 20px);scroll-margin-bottom:130px}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--sage-dark);box-shadow:0 0 0 2px var(--sage)}
.form-row{display:grid;gap:1.2rem}
@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr}}
.form-note{font-size:.9rem;color:var(--muted)}
.success{display:none;background:var(--bg2);border:1px solid var(--sage);border-radius:var(--radius);padding:1.2rem;margin-top:1.2rem}
.success.show{display:block}
.next-box{background:var(--green);color:#eef6f0;border-radius:var(--radius);padding:2rem}
.next-box h3{color:#fff}
.next-box ol{padding-left:1.3rem;display:grid;gap:.6rem;line-height:1.6;margin:.6rem 0 0}
.next-box a{color:#fff}
.continue-row{display:flex;flex-wrap:wrap;gap:.6rem 1.8rem;margin-top:2rem;padding-top:1.3rem;border-top:1px solid var(--line)}
.continue-row a{font-weight:700;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;padding:.55rem .2rem;min-height:44px;display:inline-flex;align-items:center;color:var(--muted)}
.continue-row a:hover{color:var(--sage-dark)}
.on-green .continue-row{border-top-color:rgba(255,255,255,.16)}
.on-green .continue-row a{color:#c8cfc6}
.on-green .continue-row a:hover{color:#fff}
footer.site{background:var(--green-deep);color:#dcebe0;padding:3rem 0 6.5rem}
@media(min-width:900px){footer.site{padding-bottom:3rem}}
footer.site h3{color:#fff}
footer.site a{color:#e7f0e9}
footer.site .small{color:#a9c3b0}
footer.site .logo{color:#fff}
footer.site .logo span{color:var(--sage)}
.footer-grid{display:grid;gap:2rem}
@media(min-width:820px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr}}
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:.6rem;padding:.65rem .8rem calc(.65rem + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(12px);border-top:2px solid var(--green)}
.sticky-cta .btn{flex:1;min-height:54px}
.sticky-cta{transition:transform .25s ease}
.sticky-cta.cta-hidden{transform:translateY(110%)}
@media(min-width:900px){.sticky-cta{display:none}}
.card.clay{border-top-color:var(--clay)}
.card.blue{border-top-color:var(--blue)}
.card.amber{border-top-color:var(--amber)}
.warm{background:var(--cream)}
.colour-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem 1rem}
@media(min-width:820px){.colour-grid{grid-template-columns:repeat(4,1fr);gap:1.6rem 1.2rem}}
.colour-grid figure{margin:0;display:flex;flex-direction:column}
.colour-grid img{border-radius:var(--radius);aspect-ratio:3/3.6;object-fit:cover;width:100%}
@media(max-width:640px){.colour-grid img{aspect-ratio:3/3.2}}
.colour-grid figcaption{font-weight:700;font-size:.98rem;padding:.55rem .1rem .15rem;line-height:1.35}
.colour-grid figcaption span{display:block;font-weight:500;color:var(--muted);font-size:.9rem}
.swatches{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-top:1.6rem}
.swatch{width:40px;height:40px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.22)}
.swatches p{margin:0 0 0 .5rem;color:var(--muted);font-size:.98rem}
[hidden]{display:none!important}
.brochure-colours{margin-top:2.2rem;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.brochure-colours h3{font-size:1.65rem}
.range-counts{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.range-counts span{border:1px solid var(--line);background:var(--bg2);border-radius:999px;padding:.45rem .95rem;font-weight:700;font-size:.86rem}
.b-group{font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.76rem;color:var(--sage-dark);margin:1.5rem 0 0}
.b-swatch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem;margin-top:.9rem}
@media(min-width:820px){.b-swatch-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1080px){.b-swatch-grid{grid-template-columns:repeat(4,1fr)}}
.b-swatch{display:flex;gap:.75rem;align-items:flex-start;border:1px solid var(--line);border-radius:var(--radius);padding:.75rem;background:var(--bg)}
.b-swatch>div{min-width:0}
.b-swatch i{width:42px;height:42px;border-radius:50%;flex:none;border:1px solid rgba(29,61,47,.18);box-shadow:inset 0 0 0 2px #fff}
.b-swatch strong{display:block;font-size:.94rem;line-height:1.3}
.b-swatch strong span{color:var(--muted);font-weight:700;font-size:.78rem;letter-spacing:.05em}
.b-swatch small{display:block;color:var(--muted);font-size:.8rem;line-height:1.45;margin-top:.15rem}
.custom-colour{margin-top:1.8rem;background:var(--green);color:#eef6f0;border-radius:var(--radius);padding:1.6rem}
.custom-colour h3{color:#fff;font-size:1.6rem}
.custom-colour p{color:#dcebe0;margin:0;max-width:44rem}
.custom-colour .btn{margin-top:1.1rem;background:#fff;color:var(--green)}
.custom-colour .btn:hover{background:var(--sage-pale);color:var(--green-deep)}
.area-card h2{font-size:1.55rem;margin-bottom:.4rem}
.area-card p{color:var(--muted);margin:0 0 1.1rem;font-size:1.02rem;line-height:1.6}
.area-card .btn{min-height:48px;padding:.7rem 1.2rem}
.about-hero{padding:3rem 0 4.4rem}
.about-layout{display:grid;gap:2.4rem}
@media(min-width:900px){.about-layout{grid-template-columns:.92fr 1.08fr;gap:3.4rem;align-items:start}}
.team-photo{border-radius:var(--radius);width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;box-shadow:var(--shadow)}
.about-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.4rem}
@media(min-width:640px){.about-stats{grid-template-columns:repeat(4,1fr)}}
.about-stats div{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--sage);border-radius:var(--radius);padding:1.1rem}
.about-stats strong{display:block;font-family:"DM Serif Display",serif;font-size:1.55rem;color:var(--green);line-height:1.1}
@media (prefers-color-scheme: dark){.about-stats strong{color:var(--ink)}}
.cta-band{display:grid}
@media(min-width:860px){.cta-band{grid-template-columns:1.15fr .85fr}}
.cta-band img{width:100%;height:100%;min-height:260px;object-fit:cover}
.cta-panel{background:#e9efe4;color:var(--ink);padding:2.6rem clamp(1.4rem,4vw,3rem);display:flex;flex-direction:column;justify-content:center;gap:.4rem;border-top:4px solid var(--oak)}
.cta-panel h2{color:var(--green);margin-bottom:.4rem}
@media (prefers-color-scheme: dark){.cta-panel{background:var(--card)}.cta-panel h2{color:var(--ink)}}
.cta-panel p{color:var(--muted);margin-bottom:1.2rem}
.cta-panel .btn{align-self:flex-start}

.form-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.1rem}
.form-pills span{background:#fff;border:1.5px solid var(--sage-dark);color:var(--green);border-radius:999px;padding:.42rem .95rem;font-weight:700;font-size:.86rem}
@media (prefers-color-scheme: dark){.form-pills span{background:var(--card);color:var(--ink)}}
.book-photo{border-radius:var(--radius);width:100%;aspect-ratio:16/10;object-fit:cover;box-shadow:var(--shadow);margin-top:1.2rem}
.back-top{position:fixed;right:1rem;bottom:5.6rem;z-index:55;width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:var(--green);color:#fff;box-shadow:var(--shadow);font-size:1.2rem;cursor:pointer;display:none;place-items:center}
.back-top.show{display:grid}
@media(min-width:900px){.back-top{bottom:1.2rem}}
.quick-form{grid-area:form;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:0 18px 40px -22px rgba(34,49,43,.25);margin:0 auto;width:100%;max-width:780px}
.quick-form h2{font-size:1.55rem;margin-bottom:.3rem}
.quick-form p{color:var(--muted);font-size:.98rem;margin-bottom:1rem;line-height:1.55}
.quick-form .field{margin-bottom:.9rem}
.quick-form input,.quick-form select{min-height:50px}
.q-success{display:none;background:var(--bg2);border:1px solid var(--sage);border-radius:var(--radius);padding:1rem;margin-top:1rem;font-size:.96rem}
.q-success.show{display:block}
@media(max-width:819px){.gallery figure.townhouse{grid-column:span 1}.gallery figure.townhouse img{aspect-ratio:1}}
@media(max-width:640px){.hero{padding-top:.7rem}.form-signpost{margin-top:.7rem;padding:.62rem .9rem;font-size:.95rem}.quick-form{padding-top:.95rem}}
/* ================= SAGE MEADOW — Layout 07 restyle (v1.1) =================
   Sage green led on a pale green-cream ground, terracotta accents, deep-sage
   badge, arched photo frames, pill buttons, rounded cards, DM Serif headings.
   Same content, order and wording as the approved Coastal Light build. */
:root{
  --bg:#f3f6ea;             /* pale green-cream ground */
  --bg2:#e9efdb;            /* soft sage tint */
  --panel:#fcfdf5;
  --card:#ffffff;
  --ink:#2e3d29;            /* deep meadow green */
  --muted:#68755f;
  --line:#dce4c9;
  --green:#5d7c50;          /* sage */
  --green-deep:#47603c;     /* deep sage */
  --green-soft:#47603c;
  --sage:#7d9b6a;           /* mid sage */
  --sage-dark:#47603c;
  --sage-pale:#e9efdb;
  --slate:#68755f;
  --star:#b07d3c;           /* gold */
  --clay:#c75b28;           /* terracotta */
  --clay-deep:#a84a1f;
  --amber:#b07d3c;
  --oak:#b07d3c;
  --oak-light:#c49a68;
  --blue:#5d7c50;
  --cream:#f2ecda;          /* warm cream tint */
  --radius:24px;
  --shadow:0 24px 48px -28px rgba(80,105,60,.35);
  color-scheme:light;
}
body{font-family:"Nunito Sans",system-ui,sans-serif}
h1,h2,h3{font-family:"DM Serif Display",Georgia,serif;font-weight:400}
h1 em{color:var(--sage-dark)}
.logo{font-family:"DM Serif Display",Georgia,serif;font-weight:400;letter-spacing:.1em}
header .logo{font-weight:400}
.logo span{font-family:"Nunito Sans",sans-serif;color:var(--sage-dark)}
::selection{background:var(--green);color:#fff}
header{background:color-mix(in srgb,var(--panel) 96%,transparent)}
.phone-link{font-weight:800;letter-spacing:.02em;color:var(--sage-dark);background:#fff;border:2px solid var(--green);border-radius:999px;padding:.4rem 1.05rem}
.phone-link:hover{color:var(--sage-dark);background:var(--sage-pale)}
.menu-btn{border-radius:16px}
.navlinks a.active{border-bottom-color:var(--green)}
.eyebrow{color:var(--muted);letter-spacing:.03em;text-transform:none;font-size:.98rem}
.section-kicker{color:var(--sage-dark)}
.hero{background:#ebf1dc}
.hero-frame{border-radius:170px 170px 26px 26px;box-shadow:0 30px 60px -30px rgba(71,96,60,.35)}
.hero-frame::after{border-radius:170px 170px 26px 26px}
.promo-badge{background:var(--green-deep);width:124px;height:124px}
@media(min-width:641px){.promo-badge{top:48px;right:32px}}
.promo-badge strong{font-family:"DM Serif Display",Georgia,serif;font-weight:400;font-size:1.6rem}
.ticks{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.ticks li{position:relative;display:block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.55rem 1.1rem .55rem 2.35rem;font-weight:700}
.ticks li::before{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--sage-dark)}
form,.quick-form{border:none;border-radius:28px;box-shadow:0 24px 48px -28px rgba(80,105,60,.35)}
input,select,textarea{border:1.5px solid var(--line);border-radius:14px;background:var(--panel)}
input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 2px var(--sage)}
.success,.q-success{background:#e9efdb;border-color:var(--green);border-radius:18px}
.alt{background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.card{border:none;border-radius:24px;padding:1.7rem;box-shadow:0 16px 34px -24px rgba(80,105,60,.3)}
/* Finishing touches — alternating magazine rows (Brochure page) */
.feature-rows{display:grid;gap:3.6rem}
.feature-row{display:grid;gap:1.5rem;align-items:center}
.feature-row .feature-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:150px 150px 26px 26px;box-shadow:var(--shadow)}
.feature-row h3{font-size:1.75rem;margin-bottom:.55rem}
.feature-row p{color:var(--muted);margin:0;font-size:1.05rem;line-height:1.7}
@media(min-width:820px){
  .feature-row{grid-template-columns:1fr 1fr;gap:3.4rem}
  .feature-row.flip .feature-photo{order:2}
}
@media(max-width:819px){
  .feature-row .feature-photo{order:-1}
  .feature-row .feature-photo img{border-radius:110px 110px 22px 22px}
  .feature-rows{gap:3rem}
}
.card.clay{background:#e8efdb}
.card.blue{background:#f2ecda}
.checklist li{padding-left:2.4rem}
.checklist li::before{width:25px;height:25px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:.8rem;top:.05rem}
.about-grid img{border-radius:170px 170px 26px 26px}
.team-photo{border-radius:170px 170px 26px 26px}
.colour-grid img{border-radius:120px 120px 20px 20px}
.gallery figure,.top-pair figure{border-radius:26px}
.gallery img,.top-pair img{border-radius:26px}
.book-photo{border-radius:26px}
.range-panel{border:none;border-radius:28px}
.range-panel img{border-radius:22px}
.tab[aria-selected="true"]{background:var(--green-deep);border-color:var(--green-deep);color:#fff}
.step{border:none;border-radius:24px;box-shadow:0 16px 34px -26px rgba(80,105,60,.35)}
.step-num{background:var(--green);color:#fff;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;font-family:"DM Serif Display",Georgia,serif;font-size:1.3rem}
.on-green{background:#e9efdb;color:var(--ink)}
.on-green h2,.on-green h3{color:var(--ink)}
.on-green .section-kicker{color:var(--sage-dark)}
.on-green .section-head p{color:var(--muted)}
.on-green .review{background:#fff;border:none;color:var(--ink);box-shadow:0 16px 34px -24px rgba(80,105,60,.3)}
.on-green .review p{color:var(--muted)}
.on-green .review footer{color:var(--ink)}
.on-green .review footer span{color:var(--muted)}
.on-green a.more-link{color:var(--sage-dark)}
.on-green details{border-bottom-color:var(--line)}
.on-green summary{color:var(--ink)}
.on-green details p{color:var(--muted)}
.on-green .chip{background:#fff;color:var(--ink)}
.on-green .continue-row{border-top-color:var(--line)}
.on-green .continue-row a{color:var(--muted)}
.on-green .continue-row a:hover{color:var(--sage-dark)}
.review{border:none;border-radius:24px;box-shadow:0 16px 34px -24px rgba(80,105,60,.3)}
.review p{color:var(--muted)}
.review footer{color:var(--ink)}
.review footer span{color:var(--muted)}
.next-box{background:var(--green-deep);border-radius:28px}
.custom-colour{background:var(--green);border-radius:28px}
.form-pills span{background:#e8efdb;border:none;color:var(--sage-dark)}
footer.site{background:var(--green-deep);color:#e6efdb}
footer.site .small{color:#c3d4ae}
footer.site a{color:#eef4e2}
footer.site .logo span{color:#b9d2a4}
.sticky-cta{background:color-mix(in srgb,var(--panel) 97%,transparent);border-top:1px solid var(--line);box-shadow:0 -12px 26px -20px rgba(70,90,55,.55)}
.sticky-cta .btn-ghost{background:#fff}
.back-top{background:var(--green)}
.about-stats div{border:none;border-radius:20px;box-shadow:0 16px 34px -26px rgba(80,105,60,.3)}
.about-stats strong{color:var(--sage-dark)}
.brochure-colours{border:none;border-radius:28px}
.b-swatch{border-radius:18px;background:var(--panel)}
.ba-tag{background:rgba(71,96,60,.9)}
.cta-panel{background:#e9efdb;border-top:4px solid var(--clay)}
.btn-ghost{color:var(--sage-dark);border-color:var(--green)}
.btn-ghost:hover{background:var(--green);border-color:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-deep)}
@media(max-width:640px){
  .hero-frame{border-radius:110px 110px 22px 22px}
  .hero-frame::after{border-radius:110px 110px 22px 22px}
  .about-grid img,.team-photo{border-radius:110px 110px 22px 22px}
  .colour-grid img{border-radius:80px 80px 18px 18px}
}
/* Our Promise — arched photo strip, one-line point cards, gentle scroll-in */
#trusted-h em{font-style:italic;color:var(--sage-dark)}
.promise-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;max-width:56rem;margin:0 auto 2.4rem}
.promise-photos figure{margin:0}
.promise-photos img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:130px 130px 22px 22px;box-shadow:var(--shadow)}
@media(min-width:760px){.promise-photos figure:nth-child(2){margin-top:1.8rem}}
.promise-card h3{margin-bottom:.45rem}
@media(max-width:640px){
  .promise-photos{gap:.7rem;margin-bottom:2rem}
  .promise-photos img{border-radius:64px 64px 16px 16px}
}
@media(hover:hover){
  .promise-card{transition:transform .35s ease,box-shadow .35s ease}
  .promise-card:hover{transform:translateY(-5px);box-shadow:0 28px 46px -24px rgba(80,105,60,.42)}
}
/* Scroll-in reveal — the hidden state is only applied once JS adds
   .reveal-ready to <html>, so content is never hidden without JS. */
.reveal-ready .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal-ready .reveal.in{opacity:1;transform:none}
.reveal-ready .promise-photos .reveal:nth-child(2){transition-delay:.12s}
.reveal-ready .promise-photos .reveal:nth-child(3){transition-delay:.24s}
.reveal-ready .promise-cards .reveal:nth-child(2){transition-delay:.06s}
.reveal-ready .promise-cards .reveal:nth-child(3){transition-delay:.12s}
.reveal-ready .promise-cards .reveal:nth-child(4){transition-delay:.18s}
.reveal-ready .promise-cards .reveal:nth-child(5){transition-delay:.24s}
.reveal-ready .promise-cards .reveal:nth-child(6){transition-delay:.3s}
.reveal-ready .about-cell .reveal{transition-delay:.12s}
.reveal-ready .top-pair .reveal:nth-child(2){transition-delay:.12s}
.reveal-ready .colour-grid .reveal:nth-child(2){transition-delay:.12s}
.reveal-ready .colour-grid .reveal:nth-child(3){transition-delay:.24s}
.reveal-ready .colour-grid .reveal:nth-child(4){transition-delay:.36s}
.reveal-ready .steps .reveal:nth-child(2){transition-delay:.08s}
.reveal-ready .steps .reveal:nth-child(3){transition-delay:.16s}
.reveal-ready .steps .reveal:nth-child(4){transition-delay:.24s}
.reveal-ready #reviews .cards .reveal:nth-child(2){transition-delay:.08s}
.reveal-ready #reviews .cards .reveal:nth-child(3){transition-delay:.16s}
.reveal-ready #reviews .cards .reveal:nth-child(4){transition-delay:.24s}
@media (prefers-reduced-motion: reduce){
  .reveal-ready .reveal{opacity:1;transform:none;transition:none}
  .promise-card{transition:none}
}

/* ------------------------------------------------------------------ */
/* WordPress-only additions (not in the prototype)                     */
/* ------------------------------------------------------------------ */
html,body{overflow-x:clip} /* safety net: no stray element may ever create sideways scrolling on phones. clip (not hidden) so it does not create a scroll container and the sticky header keeps working */
a{overflow-wrap:break-word} /* long unbroken strings (e.g. the enquiry@ email address) must wrap instead of overflowing their container on narrow phones */
header>.wrap{max-width:1360px} /* header is wider than the 1200px page wrap so the menu fits on one row */
header ul,header li{list-style:none;margin:0;padding:0} /* wp_nav_menu <li> items must never show bullets */
footer.site ul,footer.site li{list-style:none;margin:0;padding:0} /* footer menu <li> items must never show bullets either */
.nav{flex-wrap:nowrap;gap:.8rem;padding:.85rem 0}
.navlinks ul,.navlinks li,.mobile-menu ul,.mobile-menu li{list-style:none;margin:0;padding:0}
.navlinks a{font-size:.74rem;padding:.6rem .55rem;white-space:nowrap}
.nav-cta{flex:none}
.nav-cta .btn{padding:.7rem 1rem;white-space:nowrap}
.phone-link{white-space:nowrap}
.menu-btn{flex:none}
.mobile-menu.open{padding-bottom:2rem}
body.menu-open .sticky-cta,body.menu-open .back-top{display:none!important} /* fixed bars hidden while the mobile menu is open so they never cover its links */
@media(max-width:380px){.nav{gap:.5rem}}
/* WP menu is wider than the prototype's: keep the hamburger until 1180px
   so the full menu fits on one row, as in v1.0.x. These rules come after
   the prototype's 960px breakpoint, so they win in the 960–1179px range. */
@media(min-width:960px) and (max-width:1179px){.navlinks{display:none}.nav-cta{margin-left:auto}.phone-link{display:none}.menu-btn{display:block}}
@media(min-width:1180px){.navlinks{display:flex}.nav-cta{margin-left:.4rem}.menu-btn{display:none}}
@media(min-width:1180px) and (max-width:1279px){header .logo{font-size:1.5rem;font-weight:700}.navlinks a{font-size:.72rem;padding:.6rem .45rem}}
@media(min-width:1280px){.phone-link{display:inline-flex}}
@media(max-width:640px){header .wrap{padding:0 32px}header .logo{flex:1 1 auto;min-width:0;font-size:clamp(1.08rem,4.87vw,1.22rem);letter-spacing:.04em}.nav{padding:1rem 0}} /* v1.1.16: taller mobile header, as in the prototype — the nav's vertical padding rises to 1rem, so with the 48px menu button the header bar stands about 80px tall on phones (roughly a third taller than the v1.1.15 bar), and the logo is a touch bigger again (about 19px on a typical phone) so it stands out in the taller bar. The symmetrical 32px side insets from v1.1.15 are unchanged — the logo stays clear of the left edge, the menu button's right inset still matches it, and the logo still sits on one line clear of the button */
.contact-grid>*{min-width:0} /* grid items must be allowed to shrink below their min-content width: below 960px the grid is a single implicit auto column, and the longest unbreakable word (the enquiry@ email in .next-box) otherwise forces the whole column wider than a phone viewport, so every line in both columns runs off the right edge */
.contact-grid p{overflow-wrap:break-word}
.next-box a[href^="mailto:"]{overflow-wrap:anywhere} /* anywhere (not break-word) also shrinks the link's min-content contribution, so the grid column can size to the viewport and the address then breaks cleanly inside the box instead of running past its edge */
.back-links{overflow-wrap:break-word}
.sm-honeypot{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important} /* visually hidden without left:-9999px — the old off-screen offset extended the page's scrollable area leftwards and caused horizontal scrolling on phones */
footer.site .footer-grid a{display:block;padding:.15rem 0}
footer.site nav a{display:block;padding:.3rem 0}

/* ------------------------------------------------------------------ */
/* 1.0.6 — mobile footer fixes (carried into 1.1.0)                   */
/* ------------------------------------------------------------------ */
/* Floating back-to-top button hidden on phones/tablets: the sticky
   Call/Book bar is there instead, and the button sat on top of footer
   text (and was cut in half behind the sticky bar at the very bottom).
   The footer already has a "Back to top ↑" text link, so nothing is
   lost. Footer gets extra bottom clearance so the copyright clears
   the sticky bar. */
@media(max-width:900px){
	.back-top{display:none!important}
	footer.site{padding-bottom:9rem}
}
/* Sticky Call/Book buttons: smaller type + tighter padding so
   "BOOK FREE SURVEY" fits on one line at phone widths instead of
   wrapping onto three lines at 320px. */
@media(max-width:640px){
	.sticky-cta .btn{font-size:.68rem;letter-spacing:.05em;padding:.6rem .4rem;white-space:nowrap}
}
@media(max-width:380px){
	.sticky-cta .btn{font-size:.64rem}
}
/* Header at ≤380px — placed last so it wins over the ≤640px rules
   above it. The header logo's size is deliberately NOT set here:
   it comes from the ≤640px clamp rule above (v1.1.16, matching
   the prototype), which works out smaller than the fixed size
   this block used to set, so the logo cannot overflow into the
   hamburger at the narrowest widths. The header's side padding
   is not narrowed here any more either: since v1.1.15 it comes
   from the same ≤640px rule (32px at every phone width, exactly
   as in the prototype, which has no narrower-width exception),
   so the logo and the menu button keep their matching insets
   even on the narrowest phones. */
@media(max-width:380px){
	.logo span{font-size:.5rem;letter-spacing:.28em}
	.nav{gap:.4rem}
}
