/* Apollo Perimeters: one small stylesheet, system fonts, mobile first. */
:root{--navy:#14295e;--navy-2:#0d1d45;--wood:#8a5a35;--wood-2:#6e4527;--copper:#a05a24;--sand:#f6f1ea;--line:#e3dcd2;--ink:#1b1f29;--muted:#5a6070;--ok:#1f7a4d;--err:#b3261e;--radius:12px;--shadow:0 2px 10px rgba(20,41,94,.08)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;padding-bottom:76px}
img{max-width:100%;height:auto}
a{color:var(--navy)}
h1,h2,h3{line-height:1.2;color:var(--navy-2);margin:0 0 .5em}
h1{font-size:clamp(1.8rem,6vw,2.8rem);letter-spacing:-.01em}
h2{font-size:clamp(1.35rem,4.2vw,1.9rem)}
h3{font-size:1.15rem}
p{margin:0 0 1em}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 18px}
.narrow{max-width:760px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:99}
.ph{background:#fff3b0;color:#5c4400;border:1px dashed #c9a400;border-radius:4px;padding:0 .25em;font-weight:600;font-size:1em;white-space:nowrap}
/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-row{display:flex;align-items:center;gap:10px;min-height:64px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--navy);margin-right:auto}
.brand-icon{width:58px;height:auto}
.wordmark{display:flex;flex-direction:column;line-height:1}
.wm-1{font-weight:900;font-size:1.32rem;letter-spacing:.04em;color:var(--navy)}
.wm-2{font-weight:700;font-size:1rem;letter-spacing:.36em;color:var(--navy);margin-top:3px}
.wm-3{font-size:1rem;color:var(--wood-2);margin-top:3px;letter-spacing:.02em}
.nav-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:10px;border-radius:8px;font-weight:600;color:var(--navy)}
.nav-menu summary::-webkit-details-marker{display:none}
.burger,.burger::before,.burger::after{display:block;width:20px;height:2px;background:var(--navy);position:relative;content:""}
.burger::before{position:absolute;top:-6px}.burger::after{position:absolute;top:6px}
.menu-word{font-size:1rem}
.nav{position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);display:flex;flex-direction:column;padding:8px 18px 16px}
.nav a{padding:12px 4px;text-decoration:none;font-weight:600;border-bottom:1px solid var(--sand)}
.site-header .header-cta{display:none}
.nav-desktop{display:none}
.nav-wood [data-nav=wood],.nav-chain [data-nav=chain],.nav-repair [data-nav=repair],.nav-areas [data-nav=areas],.nav-cost [data-nav=cost],.nav-about [data-nav=about],.nav-questions [data-nav=questions]{color:var(--wood)}
/* Nov 27, 2026 (live mobile check): keep in-page hash targets below the sticky header.
   .header-row min-height is 64px on mobile and 78px from 1000px up, plus the 1px .site-header border, plus an 8px gap. */
[id]{scroll-margin-top:73px}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-height:48px;padding:12px 20px;border-radius:10px;font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;font-family:inherit;line-height:1.2}
.btn-primary{background:var(--copper);color:#fff}
.btn-primary:hover{background:#ad6630}
.btn-navy{background:var(--navy);color:#fff}
.btn-ghost{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-link{background:none;border:none;color:var(--navy);text-decoration:underline;padding:8px 0;min-height:0;font-weight:600}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn-block{width:100%}
/* mobile bar */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1.4fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -2px 10px rgba(0,0,0,.06)}
.page-estimator .mobile-bar{display:none}
.page-estimator{padding-bottom:0}
/* hero */
.hero{background:linear-gradient(180deg,var(--sand),#fff);padding:28px 0 34px}
.hero-grid{display:grid;gap:22px}
.eyebrow{display:inline-block;font-size:1rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--wood-2);margin-bottom:8px}
.hero p.lead{font-size:1.1rem;color:var(--muted)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 10px}
.hero-ctas .btn{flex:1 1 220px}
.trust{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:8px}
.trust li{display:flex;gap:8px;align-items:flex-start;font-weight:600}
.trust li::before{content:"";flex:0 0 18px;height:18px;margin-top:3px;border-radius:50%;background:var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat}
.hero-logo{display:none}
/* sections */
.section{padding:40px 0}
.section.alt{background:var(--sand)}
.cards{display:grid;gap:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.card h3 a{text-decoration:none}
.card .more{font-weight:700}
.steps{counter-reset:s;list-style:none;padding:0;display:grid;gap:12px}
.steps li{counter-increment:s;position:relative;padding:14px 14px 14px 58px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.steps li::before{content:counter(s);position:absolute;left:14px;top:12px;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:grid;place-items:center}
.photo-ph{display:grid;place-items:center;text-align:center;aspect-ratio:4/3;background:repeating-linear-gradient(45deg,#efe8de,#efe8de 12px,#f6f1ea 12px,#f6f1ea 24px);border:2px dashed #cbbda9;border-radius:var(--radius);color:#7a6a55;font-weight:700;padding:12px;font-size:1rem}
.photo-grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}
.cta-band{background:var(--navy);color:#fff;padding:34px 0;text-align:center}
.cta-band h2{color:#fff}
.cta-band .btn{margin:6px}
.note{background:#eef2fb;border-left:4px solid var(--navy);padding:12px 14px;border-radius:8px;font-size:1rem}
.faq details{border:1px solid var(--line);border-radius:10px;padding:0 14px;margin-bottom:10px;background:#fff}
.faq summary{cursor:pointer;font-weight:700;padding:14px 0}
.breadcrumbs{font-size:1rem;color:var(--muted);padding-top:14px}
.breadcrumbs a{color:var(--muted)}
.page-head{padding:22px 0 8px}
.prose ul{padding-left:1.2em}
.prose li{margin-bottom:.35em}
/* footer */
.site-footer{background:var(--navy-2);color:#d8deeb;padding:34px 0 18px;margin-top:0}
.site-footer a{color:#fff}
.site-footer h2{color:#fff;font-size:1rem;margin-bottom:8px}
.footer-grid{display:grid;gap:24px}
.footer-logo{display:block;height:auto}
/* footer logo: settings.brand.footerLogo "full" (default) = full logo, no plate, on a light --sand band (rule at the end); "icon" = rocket and fence on navy */
.footer-logo--full{width:120px}
.footer-logo--icon{width:114px}
.footer-links{display:flex;flex-direction:column;gap:6px}
.footer-links a{text-decoration:none}
.footer-small{border-top:1px solid rgba(255,255,255,.15);margin-top:24px;padding-top:14px;font-size:1rem}
.footer-line{font-weight:700;color:#fff}
/* ===== estimator ===== */
.est-shell{min-height:calc(100vh - 64px);background:var(--sand);padding:14px 0 40px}
.est-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px 18px 22px;max-width:620px;margin:0 auto}
.est-top{display:flex;align-items:center;gap:10px;margin-bottom:14px;min-height:40px}
.est-back{background:none;border:none;font:inherit;font-weight:700;color:var(--navy);padding:8px 6px;cursor:pointer}
.est-back[hidden]{display:block;visibility:hidden}
.progress{flex:1;height:8px;background:#ece5da;border-radius:99px;overflow:hidden}
.progress span{display:block;height:100%;width:0;background:var(--copper);transition:width .25s}
.est-step-count{font-size:1rem;color:var(--muted);white-space:nowrap}
.est-q{font-size:1.45rem;margin-bottom:6px}
.est-help{color:var(--muted);margin-bottom:16px;font-size:1rem}
.choices{display:grid;gap:10px;margin:8px 0 6px}
.choice{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:2px solid var(--line);border-radius:12px;padding:14px 16px;min-height:58px;font:inherit;font-weight:700;color:var(--ink);cursor:pointer}
.choice small{display:block;font-weight:400;color:var(--muted);font-size:1rem;margin-top:2px}
.choice:hover{border-color:#c9b9a3}
.choice[aria-pressed=true],.choice.selected{border-color:var(--copper);background:#fff7f0}
.choice .dot{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid #b9ab98}
.choice[aria-pressed=true] .dot{border-color:var(--copper);background:radial-gradient(circle,var(--copper) 0 5px,#fff 6px)}
.choice.check .dot{border-radius:6px}
.choice.check[aria-pressed=true] .dot{background:var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2.2' fill='none'/%3E%3C/svg%3E") center/14px no-repeat}
.field{margin-bottom:14px}
.field label{display:block;font-weight:700;margin-bottom:5px}
.field .opt{font-weight:400;color:var(--muted)}
.field input[type=text],.field input[type=tel],.field input[type=email],.field input[type=number],.field textarea,.field select{width:100%;font:inherit;font-size:1.05rem;padding:13px 14px;border:2px solid #d7cdbf;border-radius:10px;background:#fff;color:var(--ink)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--navy)}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{outline:3px solid #14295e;outline-offset:2px} /* N8 (Nov 14, 2026): keyboard ring on fields too */
.field.invalid input,.field.invalid textarea{border-color:var(--err)}
.field .err{color:var(--err);font-size:1rem;margin-top:4px;display:none}
.field.invalid .err{display:block}
.row2{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.feet-input{display:flex;align-items:center;gap:10px}
.feet-input input{max-width:180px;font-size:1.6rem!important;font-weight:800;text-align:center}
.feet-input span{font-weight:700;color:var(--muted)}
.counter{display:flex;align-items:center;justify-content:space-between;border:2px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:10px}
.counter b{font-size:1rem}
.counter .ctrl{display:flex;align-items:center;gap:12px}
.counter button{width:42px;height:42px;border-radius:50%;border:2px solid var(--navy);background:#fff;color:var(--navy);font-size:1.3rem;font-weight:800;cursor:pointer}
.counter output{min-width:1.5em;text-align:center;font-weight:800;font-size:1.2rem}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:1rem;color:var(--muted);margin:6px 0 14px}
.consent input{width:22px;height:22px;margin-top:2px;flex:0 0 22px}
.turnstile-stub{border:1px dashed #b9ab98;border-radius:8px;padding:10px 12px;font-size:1rem;color:var(--muted);margin-bottom:14px;display:flex;gap:8px;align-items:center}
.est-actions{margin-top:18px;display:grid;gap:10px}
.form-error{background:#fdecea;color:var(--err);border-radius:8px;padding:10px 12px;margin-top:10px;font-weight:600}
.result-head{font-size:clamp(1.7rem,7vw,2.3rem);margin-bottom:4px}
.result-sub{font-weight:600;color:var(--navy);margin-bottom:14px}
.result-box{background:#f7f4ef;border-radius:12px;padding:14px 16px;margin:14px 0}
.result-box h3{font-size:1rem;margin-bottom:6px}
.result-box ul{margin:0;padding-left:1.2em}
.result-notes p{background:#eef2fb;border-radius:10px;padding:10px 12px;font-size:1rem}
.small-print{font-size:1rem;color:var(--muted);text-align:center;margin-top:8px}
/* CLS: until estimator.js renders the first step, reserve a screen of height so the footer note starts below the fold and does not jump. The estimate card's first step is taller than a phone screen. */
.est-card[data-mode="estimate"]:not(:has(> :not(noscript))){min-height:100vh}
/* The booking card renders at about 494-531px tall; a fixed minimum keeps the footer note still when it fills in. */
.est-card[data-mode="book"]{min-height:540px}
.est-foot{max-width:620px;margin:16px auto 0;text-align:center;font-size:1rem;color:var(--muted)}
.slots-day{margin-bottom:12px}
.slots-day h3{font-size:1rem;color:var(--muted);margin:0 0 6px}
.slot-list{display:grid;grid-template-columns:1fr;gap:8px}
.slot-list .choice{min-height:50px;padding:10px 14px;font-size:1rem}
.confirm-icon{width:64px;height:64px;border-radius:50%;background:var(--ok);display:grid;place-items:center;margin:4px 0 14px}
.photo-pick{border:2px dashed #cbbda9;border-radius:12px;padding:14px;text-align:center;color:var(--muted)}
.photo-pick input{margin-top:8px;max-width:100%}
.est-dev-badge{display:inline-block;font-size:1rem;background:#fff3b0;border:1px dashed #c9a400;border-radius:4px;padding:1px 6px;color:#5c4400;margin-top:8px}
/* larger screens */
@media (min-width:760px){
  body{padding-bottom:0}
  .mobile-bar{display:none}
  .cards.three{grid-template-columns:repeat(3,1fr)}
  .cards.two{grid-template-columns:repeat(2,1fr)}
  .cards.four{grid-template-columns:repeat(4,1fr)}
  .photo-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr}
  .slot-list{grid-template-columns:1fr 1fr}
  .est-card{padding:28px 32px 30px}
}
@media (min-width:1000px){
  .nav-menu{display:none}
  .nav-desktop{display:flex;gap:2px}
  .nav-desktop a{padding:8px 9px;font-size:1rem;font-weight:600;text-decoration:none}
  .site-header .header-cta{display:inline-flex}
  .header-row{min-height:78px}
  [id]{scroll-margin-top:87px}
  .brand-icon{width:76px}
  .wm-1{font-size:1.55rem}.wm-2{font-size:1rem}.wm-3{font-size:1rem}
  .hero{padding:52px 0 60px}
  .hero-grid{grid-template-columns:1.25fr 1fr;align-items:center}
  .hero-logo{display:block;text-align:center}
  .hero-logo img{width:100%;max-width:400px}
  .est-shell{min-height:calc(100vh - 78px);padding-top:34px}
}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.page-estimator .site-footer{display:none}
.result-head .range{white-space:nowrap;display:inline-block}
@media (max-width:380px){.wm-3{display:none}.brand-icon{width:48px}}
/* CTA pair, financing, towns, reviews */
.cta-pair{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.cta-pair .btn{flex:1 1 220px}
.cta-band .cta-pair{justify-content:center;max-width:560px;margin:16px auto 0}
.btn-inactive{background:#eceae6;color:#7a7f8a;border:2px dashed #b9b4ab;cursor:not-allowed;font-weight:700}
.fin-row{margin:10px 0}
.town-list{columns:2;column-gap:24px;padding-left:1.1em;margin:10px 0 18px}
.town-list li{margin-bottom:6px;break-inside:avoid}
@media (min-width:760px){.town-list{columns:3}}
.reviews{overflow:hidden}
.rv-viewport{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:4px 0 12px}
.rv-track{display:flex;gap:14px;padding:0 18px;width:max-content}
.rv-card{scroll-snap-align:start;margin:0;width:300px;flex:0 0 300px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}
.rv-top{display:flex;justify-content:space-between;align-items:center}
.rv-src{font-size:1rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--navy)}
.rv-stars{color:#e0a100;letter-spacing:1px}
.rv-card blockquote{margin:0;font-size:1rem;flex:1}
.rv-card figcaption{font-size:1rem;color:var(--muted)}
.rv-links{font-size:1rem}
@media (prefers-reduced-motion:no-preference){
  .rv-viewport:has(.rv-animate){overflow:hidden}
  .rv-animate{animation:rv-scroll 60s linear infinite}
  .rv-viewport:hover .rv-animate,.rv-viewport:focus-within .rv-animate{animation-play-state:paused}
  @keyframes rv-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
}
.lead-first{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin:10px 0 18px}
.lead-first p{margin:0 0 6px;font-weight:700;color:var(--navy-2)}
.fin-line{font-weight:600;color:var(--navy-2);margin:6px 0}
.fin-note{font-size:1rem;color:var(--muted)}
/* ===== v2 look (inspired by modern installer sites: photo hero, pill buttons, centered sections, dark footer) ===== */
:root{--accent:#a05a24;--accent-2:#874a1c;--grey:#f4f4f5;--ink-2:#2a2d31;--footer:#0f1220}
body{color:var(--ink-2)}
.btn{border-radius:999px;letter-spacing:.01em}
.btn-primary{background:var(--accent)}
.btn-primary:hover{background:var(--accent-2)}
.btn-ghost{border-color:currentColor}
h2{font-weight:500;letter-spacing:-.01em}
/* utility bar + header */
.topbar{background:#111;color:#e9e9ea;font-size:1rem}
.topbar-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:34px}
.topbar-area{display:flex;align-items:center;gap:8px;font-weight:600}
.topbar .dot,.pill .dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block;flex:0 0 8px}
.topbar-call{color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
.topbar .ph{font-size:1rem}
.nav-desktop a{text-transform:none;font-size:1rem!important;letter-spacing:.04em;color:var(--ink-2)}
@media (max-width:420px){.topbar-area{font-size:1rem}.topbar-call{font-size:1rem}}
/* photo hero */
.hero2{position:relative;color:#fff;text-align:center;padding:56px 0 40px;background:
  linear-gradient(180deg,rgba(9,14,30,.55),rgba(9,14,30,.78)),
  repeating-linear-gradient(90deg,#8a5a35 0 34px,#7a4e2d 34px 38px,#94643c 38px 72px,#6e4527 72px 76px);overflow:hidden}
.hero2 .photo-tag{position:absolute;right:10px;bottom:8px;font-size:1rem;font-weight:700;letter-spacing:.04em;background:#fff3b0;color:#5c4400;border:1px dashed #c9a400;border-radius:4px;padding:2px 6px}
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);border-radius:999px;padding:6px 14px;font-size:1rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.hero2 h1{color:#fff;font-size:clamp(2rem,7.5vw,3.4rem);font-weight:700;margin:16px auto 10px;max-width:16ch;letter-spacing:-.02em}
.hero2 .sub{color:#e8e9ee;font-size:1.06rem;max-width:36rem;margin:0 auto 18px}
.hero2 .cta-pair{max-width:520px;margin:0 auto}
.hero2 .btn-ghost{color:#fff;background:transparent;border-color:#fff}
.quick-start{background:#fff;color:var(--ink-2);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:620px;margin:22px auto 0;padding:16px;text-align:left}
.quick-start p{margin:0 0 10px;font-weight:700;color:var(--navy-2)}
.qs-row{display:grid;grid-template-columns:1fr;gap:8px}
.qs-row a{display:flex;align-items:center;justify-content:space-between;border:2px solid var(--line);border-radius:12px;padding:12px 14px;font-weight:700;text-decoration:none;color:var(--ink-2)}
.qs-row a:hover{border-color:var(--accent)}
.arrow{width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;display:inline-grid;place-items:center;font-size:1rem;flex:0 0 30px}
.badges{list-style:none;padding:0;margin:18px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;font-size:1rem;font-weight:600;color:#f1f1f4}
.badges li::before{content:"✓ ";color:var(--accent);font-weight:900}
.badges{align-items:center} /* N5 (Nov 14, 2026): the third item holds a 44px link; center all three so the row lines up */
/* centered sections */
.sec{padding:52px 0}
.sec.grey{background:var(--grey)}
.sec-head{text-align:center;max-width:640px;margin:0 auto 26px}
.sec-head h2{font-size:clamp(1.6rem,5vw,2.4rem);margin-bottom:6px}
.sec-head p{color:#4b5060;margin:0}
/* fence cards with floating caption */
.fcards{display:grid;gap:16px}
.fcard{position:relative;border-radius:14px;overflow:hidden;min-height:300px;display:flex;align-items:flex-end;padding:14px;text-decoration:none;color:inherit;background:repeating-linear-gradient(45deg,#e7e1d8,#e7e1d8 12px,#efeae3 12px,#efeae3 24px)}
.fcard .ph-label{position:absolute;top:12px;left:12px;font-size:1rem;font-weight:800;color:#7a6a55;letter-spacing:.04em}
.fcard .cap{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 6px 18px rgba(0,0,0,.12);width:100%}
.fcard .cap-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fcard h3{margin:0;font-weight:600;font-size:1.2rem}
.fcard p{margin:6px 0 0;font-size:1rem;color:#555a66}
/* steps with big numerals */
.steps2{display:grid;gap:14px;counter-reset:n}
.step2{position:relative;background:#fff;border:1px solid #ececef;border-radius:14px;padding:22px 18px 18px;overflow:hidden}
.step2::after{counter-increment:n;content:"0" counter(n);position:absolute;right:12px;top:-6px;font-size:5rem;font-weight:800;color:rgba(196,119,59,.10);line-height:1}
.step2 svg{width:28px;height:28px;stroke:var(--accent);fill:none;stroke-width:1.8}
.step2 h3{margin:14px 0 6px;font-size:1.05rem;font-weight:700}
.step2 p{margin:0;font-size:1rem;color:#555a66}
/* gallery scroller */
.gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 18px 8px}
.gallery .photo-ph{flex:0 0 78%;max-width:420px;scroll-snap-align:start}
.center{text-align:center}
/* about band */
.about-band{background:var(--navy);color:#fff;margin:40px 0 0}
.about-grid{display:grid;gap:20px;padding:0 0 36px}
.about-photo{margin-top:-28px;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.about-photo .photo-ph{border-radius:0;border:0}
.about-band .eyebrow-s{font-size:1rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#cfd6ea}
.about-band h2{color:#fff;margin:6px 0 10px}
.about-band p{color:#dfe4f2}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.facts div{border-left:1px solid rgba(255,255,255,.25);padding-left:10px}
.facts div:first-child{border-left:0;padding-left:0}
.facts b{display:block;font-size:1rem;color:#fff}
.facts span{font-size:1rem;color:#cfd6ea}
.btn-white{background:#fff;color:var(--navy-2)}
/* faq */
.faq2{max-width:720px;margin:0 auto}
.faq2 details{border-bottom:1px solid #e6e6ea;padding:2px 0}
.faq2 summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:16px 0;font-weight:600;font-size:1.02rem}
.faq2 summary::-webkit-details-marker{display:none}
.faq2 summary::after{content:"+";color:var(--accent);font-size:1.4rem;line-height:1}
.faq2 details[open] summary::after{content:"−"}
.faq2 p{color:#555a66;margin:0 0 16px}
/* closing band (all pages except estimator) */
.ready-band{background:var(--accent);color:#fff;text-align:center;padding:42px 0}
.ready-band h2{color:#fff;font-size:clamp(1.6rem,5vw,2.3rem);margin-bottom:6px}
.ready-band p{color:#fff4ea}
.ready-band .cta-pair{max-width:520px;margin:16px auto 0}
.ready-band .btn-primary{background:#fff;color:var(--accent-2)}
.ready-band .btn-ghost{color:#fff;border-color:#fff;background:transparent}
.page-estimator .ready-band,.page-estimator .topbar{display:none}
/* dark footer */
.site-footer{background:var(--footer)}
.site-footer h2{font-size:1rem;text-transform:uppercase;letter-spacing:.08em;position:relative;padding-bottom:8px;margin-top:6px}
.site-footer h2::after{content:"";position:absolute;left:0;bottom:0;width:26px;height:2px;background:var(--accent)}
.f-row{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.f-ico{width:28px;height:28px;border-radius:7px;background:rgba(255,255,255,.08);display:grid;place-items:center;flex:0 0 28px}
.f-ico svg{width:15px;height:15px;fill:#fff;color:#fff}
.footer-social{display:flex;align-items:center;gap:4px;margin:0 0 8px}
.footer-social a{justify-content:center}
/* inner pages: dark rounded title banner to match the hero */
.prose > .page-head,.wrap.narrow > .page-head{background:linear-gradient(180deg,rgba(9,14,30,.86),rgba(9,14,30,.94)),repeating-linear-gradient(90deg,#8a5a35 0 34px,#6e4527 34px 38px);color:#fff;border-radius:16px;padding:26px 20px;margin:10px 0 18px}
.prose > .page-head h1,.wrap.narrow > .page-head h1{color:#fff;margin:0}
@media (min-width:760px){
  .fcards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
  .steps2{grid-template-columns:repeat(3,1fr)}
  .qs-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
  .gallery .photo-ph{flex-basis:32%}
  .about-grid{grid-template-columns:.9fr 1.1fr;align-items:center}
  .hero2{padding:90px 0 70px}
}
.center .cta-pair{max-width:520px;margin-left:auto;margin-right:auto}
@media (max-width:520px){.hide-sm{display:none}}

/* ---------- map estimator ---------- */
.est-sub-q{font-size:1.05rem;margin:16px 0 6px}
.ac-slot gmp-place-autocomplete{width:100%}
.fm-wrap{position:relative;margin:10px -4px 8px;border-radius:14px;overflow:hidden;background:#24331b}
.fm-slot,.fm-host{width:100%}
.fm-host{aspect-ratio:7/5;touch-action:none;position:relative}
.fm-svg,.fm-gmap{display:block;width:100%;height:100%;cursor:crosshair;user-select:none}
.fm-gmap{min-height:300px}
/* Nov 14, 2026: phones held upright. The box used to be 7:5 (221px tall at 375px) while the Google map inside kept its 300px
   minimum, so the lot was fitted to a taller map than shown and its bottom was cut off. Now the box and the map share one
   height. Landscape phones and desktop keep the 7:5 box. scroll-margin-top keeps the map below the sticky header when it is
   scrolled into view (--est-header-h is set by the estimator from the header height). */
@media (max-width:600px) and (orientation:portrait){.fm-host{aspect-ratio:auto;height:clamp(300px,60vh,420px);height:clamp(300px,60svh,420px)}.fm-gmap{min-height:0}}
.fm-wrap,.fm-guide,.fm-move-line{scroll-margin-top:calc(var(--est-header-h,0px) + 8px)}
.fm-line{fill:none;stroke:#f2b233;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 .4px rgba(0,0,0,.8))}
.fm-line.is-active{stroke-dasharray:2.5 1.2}
.fm-pt{fill:#fff;stroke:#14212b;stroke-width:.35}
.fm-pt.is-edit{fill:#f2b233;cursor:grab}
.fm-gate circle{stroke:#14212b;stroke-width:.5}
.fm-gate-walk circle{fill:#fff}.fm-gate-drive circle{fill:#f2b233}
.fm-gate text{font:700 3.8px system-ui,sans-serif;fill:#14212b;pointer-events:none}
.fm-host[data-mode="gates"] .fm-svg{cursor:pointer}
.fm-feet{position:absolute;left:10px;bottom:44px;background:rgba(15,42,61,.92);color:#fff;border-radius:999px;padding:6px 14px;font-size:1rem;pointer-events:none}
.fm-feet b{font-size:1.15rem;color:#f2b233}
.fm-demo{margin:0;padding:6px 12px;background:#14212b;color:#d7dde2;font-size:1rem}
.fm-fail{color:#fff;padding:24px;text-align:center}
.fm-tools{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}
.btn-tool{font:inherit;font-size:1rem;font-weight:600;border:1px solid #c8d1d9;background:#fff;color:#0f2a3d;border-radius:999px;padding:7px 14px;cursor:pointer}
.btn-tool[aria-pressed="true"]{background:#0f2a3d;color:#fff;border-color:#0f2a3d}
.seg{display:flex;gap:0;border:1px solid #c8d1d9;border-radius:999px;overflow:hidden;margin:6px 0 4px}
.seg-btn{flex:1;font:inherit;font-weight:700;border:0;background:#fff;color:#0f2a3d;padding:10px;cursor:pointer}
.seg-btn[aria-pressed="true"]{background:#0f2a3d;color:#fff}
.fm-miss{color:#a33;font-weight:600;margin:0 0 8px}
.typed-feet{margin:4px 0 6px}.typed-feet summary{cursor:pointer;font-weight:600;color:#0f2a3d}
.choices.compact .choice{padding:10px 12px}

/* ---------- mobile-first gate (Oct 9): 44px tap targets, 16px text, no sideways scroll ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:1rem;overflow-x:clip}
img,svg,video,iframe{max-width:100%}
input,select,textarea,button{font-size:1rem}
.btn,.btn-tool,.seg-btn,.choice,summary,button{min-height:44px}
.btn-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px}
.site-header a,.site-footer a,.topbar a,nav a,.breadcrumbs a,.town-list a,li>a:only-child,.footer-links a,.cta-pair a{min-height:44px;min-width:44px;display:inline-flex;align-items:center}
.breadcrumbs{font-size:1rem}
.site-footer li{margin:0}
.consent{min-height:44px;align-items:center}
.consent input{width:22px;height:22px}
.fm-main{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 8px}
.btn-big{font:inherit;font-size:1.05rem;font-weight:800;min-height:56px;border-radius:14px;border:2px solid #0f2a3d;background:#fff;color:#0f2a3d;cursor:pointer;touch-action:manipulation}
.btn-finish{background:#0f2a3d;color:#fff}
.btn-tool{min-height:44px;font-size:1rem;padding:8px 16px}
.seg-mode{margin-top:4px}
.seg-btn{min-height:48px;font-size:1rem;touch-action:manipulation}
.fm-mapbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;margin:6px 0}
.fm-zoom{position:static;display:contents;z-index:auto}
.fm-zoom button,.fm-mapbar .fm-fs{min-width:44px;width:100%;height:44px;padding:0 4px;border-radius:10px;border:2px solid var(--navy,#002554);background:#fff;color:#0f2a3d;font-size:.85rem;font-weight:800;box-shadow:none;cursor:pointer;touch-action:manipulation;white-space:normal;line-height:1.15}
.fm-host[data-interaction="move"] .fm-svg{cursor:grab}
.fm-demo{font-size:1rem}
.est-step-count{font-size:1rem}
.counter .ctrl button{min-width:48px;min-height:48px}
p>a:only-child,.center>a:only-child{min-height:44px;display:inline-flex;align-items:center}
.needs-answer{outline:3px solid #c0392b;outline-offset:4px;border-radius:12px}
/* zoom buttons sit under the map in a row, never over the yard */
.fm-feet{bottom:10px}
.fm-demo{margin:-2px 0 8px;border-radius:0 0 12px 12px}
@media (max-width:419px){.topbar-area{display:none}.topbar-row{justify-content:center}}
figure.photo-ph{position:relative;margin:0;padding:0;overflow:hidden;display:block}
figure.photo-ph img{display:block;width:100%;height:100%;object-fit:cover}
figure.photo-ph figcaption{position:absolute;inset:auto 0 0 0;padding:10px 12px;background:rgba(246,241,234,.92);color:#5e4f3c;font-weight:700;text-align:center;font-size:1rem}
:focus-visible{outline:3px solid #14295e;outline-offset:3px}
/* headings get tabindex=-1 + focus() on each step for screen readers: no outline box from that programmatic focus; keyboard focus still shows */
[tabindex="-1"]:focus:not(:focus-visible){outline:none}
/* Chrome counts focus() before any pointer input as focus-visible, so the step heading (only ever focused by script) opts out too */
[tabindex="-1"][data-prog-focus]:focus{outline:none}
.site-footer :focus-visible,.topbar :focus-visible,.hero :focus-visible{outline-color:#fff}
/* desktop header: the full nav starts at 1100px (C9, Nov 14, 2026; was 1360px); the Menu button covers below that */
@media (min-width:1000px) and (max-width:1099px){.nav-menu{display:block}.nav-desktop{display:none!important}}
@media (min-width:1360px){.site-header .header-row{max-width:1320px}}
.nav-desktop a,.header-cta,.wm-3{white-space:nowrap}
.nav-desktop a{letter-spacing:.01em;padding:8px 6px} /* Oct 28, 2026: room for one more material link in the desktop nav */
@media (min-width:1000px){.site-header .brand{flex:none}.header-row{gap:16px}}
.nav-desktop{min-width:0}
.nav-desktop a{flex:none}
/* ---------- Big tappable prep cards (mobile-first) ---------- */
.pcards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 8px}
.pcard{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;padding:16px 10px;background:#fff;border:2px solid var(--line);border-radius:16px;font:inherit;font-size:1rem;font-weight:700;color:var(--ink);text-align:center;cursor:pointer;transition:border-color .12s,background .12s,transform .08s}
.pcard:active{transform:scale(.98)}
.pcard[aria-pressed="true"]{border-color:var(--navy);background:#eef2fb;box-shadow:0 0 0 2px var(--navy) inset}
.pcard small{display:block;font-weight:500;color:var(--muted);font-size:1rem;margin-top:2px;line-height:1.25}
.pc-ico{width:40px;height:40px;fill:none;stroke:var(--copper,#a05a24);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pcard[aria-pressed="true"] .pc-ico{stroke:var(--navy)}
.pc-rank{position:absolute;top:8px;right:8px;min-width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:1rem;font-weight:800;color:#fff;background:transparent}
.pcard[aria-pressed="true"] .pc-rank{background:var(--navy)}
.prep-line{display:inline-block;background:#fff3e6;color:#6b3d14;border-radius:999px;padding:6px 14px;font-size:1rem;font-weight:600;margin:0 0 10px}
.prep-skip{text-align:center;margin:10px 0 0}
.prep-skip .btn-link{font-size:1rem}
.prep-invite{margin-top:18px;padding:18px 16px;border:2px solid var(--line);border-radius:16px;background:#fbf8f3}
.prep-invite h2{font-size:1.2rem;margin:0 0 6px}
.finish-range{margin:14px 0;padding:16px;border-radius:14px;background:#eef2fb}
.slots-h{font-size:1rem;color:var(--muted);margin:0 0 6px}
@media (min-width:700px){.pcards{grid-template-columns:repeat(3,1fr)}}
.est-top[hidden]{display:none}
.est-card[data-mode="book"]:not(:has(> :not(noscript))){min-height:1250px}
/* ---------- Picker image cards (estimator material/style, booking prep) ---------- */
.img-choices{grid-template-columns:1fr 1fr}
.img-choice{flex-direction:column;align-items:stretch;padding:0;overflow:hidden;gap:0}
.img-choice .ic-text{display:flex;align-items:flex-start;gap:10px;padding:10px 12px 12px}
.ic-img{position:relative;display:block;aspect-ratio:3/2;background:#eef2f6;overflow:hidden}
.ic-img img{display:block;width:100%;height:100%;object-fit:cover}
.ex-tag{position:absolute;left:6px;bottom:6px;background:rgba(0,37,84,.88);color:#fff;font-size:1rem;font-weight:600;line-height:1.1;padding:3px 7px;border-radius:4px;letter-spacing:.01em}
.pcard.has-img{padding:0 0 12px;overflow:hidden;justify-content:flex-start}
.pcard.has-img .ic-img{width:100%;margin-bottom:6px}
@media (min-width:700px){.img-choices{grid-template-columns:repeat(3,1fr)}}

/* ===== Navy + cobalt scheme (Oct 10, 2026) =====
   Navy #002554 (logo) for header, nav, footer. Cobalt #0047AB for primary buttons, white text (8.6:1, AA/AAA).
   Warm off-white background. Wood brown only as a thin accent (top strip, header rule). One cobalt primary per screen:
   the header CTA is white on navy, because cobalt next to navy doesn't stand out (about 1.9:1). */
:root{--navy:#002554;--navy-2:#001b3f;--cobalt:#0047ab;--cobalt-2:#00388a;--accent:#0047ab;--accent-2:#00388a;--copper:#0047ab;--footer:#002554;--wood:#8a5a35;--wood-2:#6e4527;--sand:#faf8f4;--bg:#fbfaf7}
body{background:var(--bg)}
h1,h2,h3{color:var(--navy)}
.btn-primary{background:var(--cobalt);color:#fff}
.btn-primary:hover{background:var(--cobalt-2)}
.topbar{background:var(--navy-2);border-top:4px solid var(--wood)}
.topbar .dot,.pill .dot{background:#c9925f}
.site-header{background:var(--navy);border-bottom:3px solid var(--wood)}
/* header icon sits straight on the navy header (transparent PNG); no tile or plate behind any logo (Nov 1, 2026) */
.wm-1,.wm-2,.brand{color:#fff}
.wm-3{color:#e8d3bd}
.nav-menu summary{color:#fff}
.burger,.burger::before,.burger::after{background:#fff}
.nav{background:var(--navy);border-bottom:3px solid var(--wood)}
.nav a{color:#fff;border-bottom-color:rgba(255,255,255,.12)}
.nav-desktop a{color:#fff}
.nav-wood [data-nav=wood],.nav-chain [data-nav=chain],.nav-vinyl [data-nav=vinyl],.nav-repair [data-nav=repair],.nav-areas [data-nav=areas],.nav-cost [data-nav=cost],.nav-about [data-nav=about],.nav-questions [data-nav=questions]{color:#fff;text-decoration:underline;text-decoration-color:#c9925f;text-decoration-thickness:3px;text-underline-offset:6px}
.site-header .header-cta{background:#fff;color:var(--navy);border-color:#fff}
.site-header .header-cta:hover{background:#e9eef7}
.site-footer{background:var(--navy);color:#e6ebf3}
.site-footer a{color:#fff}
.site-footer h2::after{background:#c9925f}
.progress span{background:var(--cobalt)}
.choice[aria-pressed=true],.choice.selected{border-color:var(--cobalt);background:#eef3fb}
.choice[aria-pressed=true] .dot{border-color:var(--cobalt);background:radial-gradient(circle,var(--cobalt) 0 5px,#fff 6px)}
.choice.check[aria-pressed=true] .dot{background-color:var(--cobalt)}
.pc-ico{stroke:var(--cobalt)}
.ready-band{background:var(--cobalt)}
.ready-band .btn-primary{background:#fff;color:var(--navy)}
.arrow{background:var(--cobalt)}
.badges li::before,.faq2 summary::after{color:var(--cobalt)}
.step2 svg{stroke:var(--cobalt)}
/* Hero and page heads: no big wood areas. Light hero so the cobalt primary stands out (cobalt on navy doesn't). */
.hero2{color:var(--navy);background:linear-gradient(180deg,#fff,#f2efe8)}
.hero2 h1{color:var(--navy)}
.hero2 .sub,.hero2 p{color:#3d4656}
.hero2 .pill{border-color:rgba(0,37,84,.25);background:#fff;color:var(--navy)}
.hero2 .pill .dot{background:var(--wood)}
.hero2 .btn:not(.btn-primary){color:var(--navy);border-color:var(--navy);background:#fff}
.prose > .page-head,.wrap.narrow > .page-head{background:var(--navy)}
/* Sticky phone bar: navy, so the screen's one cobalt primary stays the page CTA. */
.mobile-bar .btn-primary{background:var(--navy)}
.mobile-bar .btn-primary:hover{background:var(--navy-2)}
.consent.sms-consent{align-items:flex-start}.consent.sms-consent input{margin-top:.15em}
/* N2 (Nov 14, 2026): 44px tap areas for the text-updates box and its Terms link; negative margins keep the layout as it was */
.consent .tap44{flex:0 0 44px;width:44px;height:44px;margin:calc(.15em - 11px) -11px -11px;display:inline-flex;align-items:center;justify-content:center}
.consent.sms-consent .tap44 input{margin:0}
.sms-terms-link{display:inline-block;padding:11px 4px;margin:-11px -4px}
/* v2 review: install sales block, HOA concrete link, gate reconcile note */
.install-block{font-size:1.05rem;line-height:1.55;color:var(--ink,#1d2433);background:#f3f6fb;border-left:4px solid var(--cobalt);padding:14px 16px;border-radius:8px;margin:8px 0 6px}
.hoa-link{margin:6px 0 4px}.hoa-link .btn-link{min-height:44px;text-align:left}
.concrete-opt{margin-top:4px}
.gate-note{background:#fff7e6;border-radius:8px;padding:10px 12px;margin:10px 0;font-size:1rem}
.gate-note[hidden]{display:none}
/* /repair/: big, finger-friendly photo picker (camera or library on phones) */
#repair input[type="file"]{display:block;width:100%;min-height:56px;padding:14px 12px;font-size:16px;border:2px dashed var(--cobalt,#0047AB);border-radius:10px;background:#f3f6fb;box-sizing:border-box}
#repair input[type="file"]::file-selector-button{min-height:44px;padding:0 16px;margin-right:12px;border:0;border-radius:8px;background:var(--cobalt,#0047AB);color:#fff;font-size:16px}
/* ---- Drawing tool v2 (redesign, Oct 12 2026): big full-screen toggle, big footage, bigger points, drag to adjust ---- */
.fm-hit{fill:transparent;stroke:none;cursor:grab}
.fm-pt{stroke-width:.45}
.fm-pt.is-drag{fill:#f2b233;r:2.4}
.fm-fs{position:static;min-height:44px;height:44px;padding:0 8px;border-radius:10px;border:2px solid var(--navy,#002554);background:#fff;color:#0f2a3d;font-size:.95rem;font-weight:800;cursor:pointer;touch-action:manipulation}
.fm-feet{left:auto;right:10px;bottom:10px;padding:8px 16px;font-size:1.05rem;font-weight:700}
.fm-feet b{font-size:1.9rem;line-height:1;vertical-align:-2px}
.fm-gsum{font-size:1rem;font-weight:600}
.btn-finish:disabled{opacity:.45;cursor:not-allowed}
.fm-stage.is-full{position:fixed;inset:0;z-index:1000;background:#0f2a3d;display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));overflow:hidden}
.fm-stage.is-full .seg-mode{margin:0 0 6px}
.fm-stage.is-full .fm-wrap{flex:1 1 auto;min-height:0;margin:0;display:flex;flex-direction:column}
.fm-stage.is-full .fm-slot,.fm-stage.is-full .fm-host{flex:1 1 auto;height:100%;min-height:0;aspect-ratio:auto}
.fm-stage.is-full .fm-demo{display:none}
.fm-stage.is-full .fm-main{margin:8px 0 0}
.fm-stage.is-full .fm-tools{margin:6px 0 0}
.fm-stage.is-full .fm-tools .btn-tool{color:#fff;border-color:#fff}
.fm-stage.is-full .seg-btn{background:#fff}
html.fm-locked,html.fm-locked body{overflow:hidden;overscroll-behavior:none}
@media (orientation:landscape) and (max-height:500px){.fm-stage.is-full .fm-tools{display:none}.fm-stage.is-full .fm-main .btn-big{min-height:48px;padding:6px}}
/* ---- Redesign v1 (Oct 12 2026): hero photo, stat strip, photo cards, 3 steps, flag treatment ---- */
.hero-photo{position:relative;margin:22px auto 0;max-width:860px;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(15,42,61,.18);aspect-ratio:3/2;background:#e7e1d8}
.hero-photo img,.fcard-img img,.flag-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hero-photo .ex-tag,.fcard .ex-tag{position:absolute;left:10px;bottom:10px}
.ex-tag{display:inline-block;background:rgba(255,255,255,.92);color:#3d4656;font-size:.95rem;font-weight:700;border-radius:6px;padding:2px 8px}
.ex-note{margin:12px 0 0;text-align:center;color:#555a66;font-size:1rem}
.stat-strip{background:var(--navy,#0f2a3d);color:#fff}
.stat-strip ul{list-style:none;margin:0 auto;padding:14px 16px;display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;text-align:center}
.stat-strip li{display:flex;align-items:center;justify-content:center;gap:8px;font-size:1.05rem;min-height:44px}
.stat-strip li::before{content:"";width:10px;height:10px;border-radius:50%;background:#f2b233;flex:0 0 auto}
@media (min-width:760px){.stat-strip ul{grid-template-columns:repeat(4,1fr)}}
.fcard{min-height:0;display:flex;flex-direction:column;align-items:stretch;padding:0;background:#fff;border:1px solid #e3ddd3;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.fcard-img{display:block;aspect-ratio:3/2;background:#e7e1d8;overflow:hidden}
.fcard .cap{box-shadow:none;border-radius:0;flex:1 1 auto;padding:14px 16px 16px}
.fcard-repair .btn{margin-top:12px}
.steps3{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:s}
.steps3 li{position:relative;background:#fff;border-radius:14px;padding:18px 18px 18px 74px;box-shadow:0 2px 10px rgba(0,0,0,.06);min-height:88px}
.steps3 .num{position:absolute;left:18px;top:18px;width:42px;height:42px;border-radius:50%;background:var(--navy,#0f2a3d);color:#fff;font-weight:800;font-size:1.3rem;display:grid;place-items:center}
.steps3 h3{margin:0 0 4px;font-size:1.15rem}
.steps3 p{margin:0;color:#3d4656}
@media (min-width:760px){.steps3{grid-template-columns:repeat(3,1fr)}}
.flag-photo{margin:0;aspect-ratio:3/2}
.about-line{font-size:1.1rem;margin:8px 0 16px}
.flag-band{height:6px;background:linear-gradient(90deg,#1c2d5a 0 33.3%,#fff 33.3% 66.6%,#b22234 66.6%)}
.f-tag{font-weight:800;font-size:1.1rem;margin-bottom:4px}
.ex-tag,.hero-photo .ex-tag{font-size:1rem}
.copy-pending{color:#6b5a32;font-weight:700;text-align:center;margin:12px 0 0}
.fm-fsrow{display:none}
.fm-stage.is-full .fm-mapbar{flex:0 0 auto;margin:8px 0 0}
.fm-stage.is-full .fm-move-line{display:none !important}
.fm-stage.is-full .fm-credit-line,.fm-stage.is-full #f-feet,.fm-stage.is-full .fm-links,.fm-stage.is-full .fm-gate-count,.fm-stage.is-full .fm-gate-note{display:none}
.fm-stage.is-full .fm-wrap{position:relative;overflow:hidden}
.fm-stage.is-full .fm-mapbar{position:relative;z-index:2;background:#0f2a3d;flex:0 0 auto}
.fm-gate-count{margin:8px 0 2px}
.fm-gate-count .btn-link{font:inherit;font-size:1rem;font-weight:700;text-align:left;white-space:normal;min-height:44px;padding:6px 0;cursor:pointer;background:none;border:0;color:var(--navy,#002554);text-decoration:underline;text-underline-offset:3px}
.fm-gate-note{margin:0 0 8px}
.fm-stage.is-full .seg-btn{background:#fff;color:var(--navy)}
.fm-stage.is-full .seg-btn[aria-pressed="true"]{background:#f2b233;color:#14212b}
.fm-stage.is-full .fm-tools .btn-tool{background:#fff;color:var(--navy);border-color:#fff}
.fm-stage.is-full .btn-finish:disabled{background:#fff;opacity:.6}
/* Full screen sits on navy: Add Fence is also navy in the normal theme, so its fill and outline disappear. White face and border keep the button visible; pressed keeps the yellow fill and dark inner ring. */
.fm-stage.is-full .btn-edit{background:#fff;color:#0f2a3d;border-color:#fff}
.fm-stage.is-full .btn-edit.btn-add{background:#fff;color:#0f2a3d;border:2px solid #fff;box-shadow:none}
.fm-stage.is-full .btn-edit.btn-add[aria-pressed="true"]{background:#f2b233;color:#14212b;border-color:#14212b;box-shadow:inset 0 0 0 3px #14212b}

.est-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.est-call{margin-left:auto;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;background:#fff;border:2px solid var(--navy);color:var(--navy);font-weight:800;text-decoration:none;white-space:nowrap}
.est-resume{background:#fff7e0;border:1px solid #e9c36a;border-radius:10px;padding:10px 12px;margin-bottom:10px;font-size:1rem}
.est-resume .linkish{background:none;border:0;color:var(--navy);font-weight:800;text-decoration:underline;min-height:44px;padding:0 6px;font-size:1rem}
.choice-hint{text-align:center;color:#555a66;margin:14px 0 6px}
.est-next{margin-top:6px}
.est-next:disabled{opacity:.45}
.hero2 .badges{color:var(--navy,#0f2a3d)}
/* Nov 21, 2026 (owner, via Lana): the details link sits in the third item, so it wrapped between the check items on phones.
   It now sits centered under all four items at every width: the list keeps room below (8px gap + the 44px link).
   Nov 22, 2026: only the details link is positioned under the list, so a fourth-item link stays in the row. */
.hero2 .badges{position:relative;padding-bottom:52px}
.hero2 .badges li:nth-child(3)>a{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap}
.hero2 .badges a.badge-fin{color:inherit;font-weight:inherit;text-decoration:underline;text-underline-offset:3px}


/* ---------- fence map v2 drawing layer (fence-map.js) ---------- */
.fm-host{position:relative;overflow:hidden}
.fd-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;touch-action:none;z-index:2}
/* Real map: the drawing layer stays off except on handles, so pinch and pan reach the map. The demo yard keeps the current pointer capture. */
.fm-host:not([data-kind="google"]) .fd-svg[data-mode=draw],
.fm-host:not([data-kind="google"]) .fd-svg[data-mode=gates],
.fm-host:not([data-kind="google"]) .fd-svg[data-mode=lot]{pointer-events:all;cursor:crosshair}
.fd-svg[data-mode=edit] .fd-hit,.fd-svg[data-mode=draw] .fd-hit{pointer-events:all}
.fd-svg[data-mode=edit] .fd-hit{cursor:grab}
.fd-svg[data-mode=draw] .fd-hit{cursor:pointer}
.fd-svg[data-mode=gates] .fd-gate{pointer-events:all;cursor:pointer}
.fd-hit{fill:transparent}
.fd-nb{fill:none;stroke:#ffe14d;stroke-opacity:.45;stroke-width:1}
.fd-lot{fill:#ff7a00;fill-opacity:.12;stroke:#ffe14d;stroke-width:2.5;stroke-dasharray:7 5}
.fd-line{fill:none;stroke:#f2b233;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.fd-pt{fill:#fff;stroke:#14212b;stroke-width:2.5}
.fd-pt.is-last,.fd-pt.is-drag{fill:#f2b233;r:11}
.fd-lab-bg{fill:rgba(20,33,43,.88)}
.fd-lab{fill:#fff;font:700 14px system-ui,sans-serif}
.fd-gate rect{stroke:#14212b;stroke-width:2.5}
.fd-gate-walk rect{fill:#fff}.fd-gate-drive rect{fill:#f2b233}
.fd-gate text{fill:#14212b;font:800 13px system-ui,sans-serif}
.fm-credit{position:absolute;left:0;right:0;bottom:0;margin:0;padding:3px 8px;font-size:11px;line-height:1.3;color:#fff;background:rgba(0,0,0,.55);z-index:3;pointer-events:none}
/* ---- quote flow v2 (Oct 14, 2026) ---- */
.page-estimator,.est-shell{overflow-x:hidden;overflow-x:clip} /* Oct 28, 2026: clip (not hidden) so .est-sticky and the Your Ballpark bar stick to the screen bottom; hidden made these a scroll box */
.est-card,.est-body{max-width:100%;min-width:0}
.est-body img,.est-body svg{max-width:100%}
.est-top{justify-content:space-between}
.est-back{font-size:1.6rem;line-height:1;min-width:48px;min-height:48px}
.est-dots{display:flex;gap:8px;align-items:center;flex:1;justify-content:center}
.est-dots .dot{width:10px;height:10px;border-radius:50%;background:#d8cfc2}
.est-dots .dot.is-done{background:var(--accent,#c4733a)}
.est-dots .dot.is-on{background:var(--accent,#c4733a);transform:scale(1.35)}
.est-call{font-weight:700;white-space:nowrap;padding:8px 4px}
.est-sticky{position:sticky;bottom:0;z-index:5;background:linear-gradient(rgba(255,255,255,0),#fff 22%);padding:14px 0 10px;margin-top:14px}
.btn-main{min-height:56px;font-size:1.15rem}
.btn-main:disabled{opacity:.55}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
.chip{flex:1 1 auto;min-height:48px;padding:10px 14px;border:2px solid var(--line);border-radius:999px;background:#fff;font:inherit;font-weight:700;color:inherit;cursor:pointer}
.chip[aria-pressed=true]{border-color:var(--accent,#c4733a);background:#fff7f0}
.est-or{text-align:center;color:var(--muted);margin:10px 0 0}
.ac-slot{margin-bottom:6px}
.ac-slot gmp-place-autocomplete{width:100%}
.seg-preset{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.seg-preset .seg-btn{min-height:52px;white-space:normal;font-weight:700}
.fm-total{font-size:1.15rem;margin:6px 0 10px}
.fm-total b{font-size:2rem;color:var(--accent,#c4733a)}
.fm-gsum{display:block;font-size:1rem;color:var(--muted)}
.fm-tip{background:#fff3d6;border-radius:10px;padding:8px 12px;margin:6px 0}
#est .fm-wrap[data-editor] ~ .fm-tip{padding:5px 10px;margin:4px 0;font-size:15px;line-height:1.25}
.fm-links{margin:4px 0 8px;display:flex;flex-wrap:wrap;gap:4px 20px}
.fm-credit-line{font-size:1rem;color:var(--muted);margin:6px 0}
.fm-tools .btn-tool[aria-pressed=true]{border-color:var(--accent,#c4733a);background:#fff7f0;color:var(--navy-2)}
.call-line{text-align:center;font-weight:700;margin:10px 0 0}
.fancier{font-weight:700}
.est-body[data-step=style] .img-choices{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:520px){.est-body[data-step=style] .img-choices{grid-template-columns:repeat(3,1fr)}}
.fm-credit{font-size:1rem}
/* Booking screen, compact (gate review, Oct 14, 2026): one row per day, smaller chips, optional questions collapsed */
.est-body[data-step="book"] .est-sub-q{margin:12px 0 4px}
.est-body[data-step="book"] .chips{gap:6px;margin:2px 0 6px}
.est-body[data-step="book"] .chip{min-height:44px;padding:6px 12px;flex:0 1 auto}
.est-body[data-step="book"] .slots-day{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center;margin-bottom:6px}
.est-body[data-step="book"] .slots-day h3{margin:2px 0 0;font-size:1rem;grid-column:1/-1}
.est-body[data-step="book"] .slot-list{display:contents}
.est-body[data-step="book"] .slot-list .choice{min-height:44px;min-width:0;width:100%;padding:6px 8px;gap:6px;box-sizing:border-box}
.est-body[data-step="book"] .choices .choice{padding:10px 12px}
.est-more{border:2px solid var(--line);border-radius:12px;padding:0 12px;margin:10px 0}
.est-more>summary{min-height:48px;display:flex;align-items:center;font-weight:700;color:var(--navy);cursor:pointer}
.est-more[open]{padding-bottom:10px}
/* Map loading / retry and the prefetch holder (the map is built off-view while screen 1 is filled in) */
.fm-prefetch{position:fixed;left:0;top:0;opacity:0;pointer-events:none;z-index:-1;overflow:hidden}
.fm-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;color:#fff;background:#24331b;font-weight:600;text-align:center;padding:24px}
.fm-fail .btn-tool{margin-top:12px}
/* Nov 14, 2026: estimator fallbacks. Map failure note above the fence length box (light page, not over the map), and the spam check note. */
.fm-fail.is-inline{color:inherit;padding:12px 0;text-align:left}
.feet-help{margin:6px 0 0}
.ts-help{margin:10px 0;padding:12px;border:1px solid var(--err);border-radius:8px}.ts-help p{margin:0 0 8px}
/* Nov 14, 2026: the price lookup note in the bottom bar (empty and taking no room until a lookup fails or times out). */
.est-pfail-msg{margin:0}.est-pfail-msg:not(:empty){margin:0 0 8px;padding:10px 12px;border:1px solid var(--err);border-radius:8px;background:#fff;color:var(--navy-2)}
.est-pfail-btns{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}.est-pfail-btns[hidden]{display:none}
.est-pfail-call{display:inline-flex;align-items:center;text-decoration:none}
/* Nov 14, 2026: a busy button (aria-busy) shows a small spinner after its text. */
[aria-busy="true"]::after{content:"";display:inline-block;width:.9em;height:.9em;margin-left:.45em;vertical-align:-.12em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ap-spin .8s linear infinite}
@keyframes ap-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){[aria-busy="true"]::after{animation:none;border-right-color:currentColor;opacity:.6}}
.fd-fade{opacity:0;transition:opacity .25s ease-out}
.fd-fade.fd-in{opacity:1}
@media (prefers-reduced-motion:reduce){.fd-fade{transition:none}}
/* Live price + material chart (Oct 28, 2026) */
.cmp-rows{grid-template-columns:1fr}
.cmp-row{align-items:center;gap:12px;padding:10px 12px}
.cmp-thumb{flex:0 0 96px;width:96px}
.cmp-thumb .ic-img{aspect-ratio:1/1;border-radius:8px}
.cmp-thumb .ex-tag{position:static;display:block;background:none;color:var(--muted);padding:2px 0 0;font-weight:600;line-height:1.15;text-align:center}
.cmp-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.cmp-name{display:flex;align-items:center;gap:10px}
.cmp-range{font-size:1.1rem;font-weight:800;color:var(--navy-2)}
.cmp-row .cmp-h{font-weight:400;color:var(--muted);font-size:1rem;margin:0}
.cmp-tag,.est-live-tag{display:inline-block;align-self:flex-start;background:#fff3cd;color:#5c4400;border:1px dashed #a37800;border-radius:6px;padding:2px 8px;font-size:1rem;font-weight:700;line-height:1.25}
.cmp-tag[hidden],.est-live-tag[hidden],.est-live[hidden]{display:none}
.est-live-tag-big{margin:2px 0 10px}
.cmp-value{background:#f3f6fb;border-radius:12px;padding:8px 14px 10px;margin:14px 0 4px}
.cmp-value .est-sub-q{margin-top:6px}
.cmp-points{margin:0;padding-left:1.2em}
.cmp-points li{margin:4px 0}
.est-live{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;background:#eef3fb;border:1px solid #c9d6ee;border-radius:12px;padding:8px 12px;margin-bottom:8px;color:var(--navy-2)}
.est-live-k{font-weight:600}
.est-live b{font-size:1.15rem;transition:opacity .15s}
.est-live.is-busy b{opacity:.6}
.chip:disabled{opacity:.45;background:#f2f2f2;cursor:not-allowed}
.est-adjust{border-top:1px solid var(--line);margin-top:14px;padding-top:2px}
.est-mini-q{font-size:1rem;margin:12px 0 4px}
.steppers{display:grid;gap:8px;margin:4px 0 8px}
.stepper{display:flex;align-items:center;gap:10px}
.stp-label{flex:1;font-weight:700}
.stp-btn{width:48px;height:48px;border-radius:50%;border:2px solid var(--navy);background:#fff;color:var(--navy);font-size:1.3rem;font-weight:800;cursor:pointer;touch-action:manipulation}
.stp-btn:disabled{opacity:.4;cursor:not-allowed}
.stp-n{min-width:28px;text-align:center;font-size:1.15rem}
/* Optional how-soon chips on the range screen (Oct 29, 2026) */
.est-intent{margin-top:18px}
.est-intent .est-opt{font-weight:400;color:var(--muted);font-size:1rem}
.est-intent .chips + .chips{margin-top:8px}
.est-trust{font-weight:700;color:var(--navy-2);margin:4px 0 0;text-align:center}
.est-privacy{margin:4px 0 14px;text-align:center}
/* Paying Over Time (Nov 22, 2026): after the price, not crowding the range */
.est-pay-over{margin:18px 0 8px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f3f6fb}
.est-pay-over .est-sub-q{margin:0 0 8px}
.est-pay-over .est-opt{font-weight:400;color:var(--muted);font-size:1rem}
.est-pay-over .est-prequal{margin:0 0 10px}
.est-pay-over .fin-prequal-btn{min-height:48px}
.est-pay-over .chips{margin:0 0 10px}
.est-pay-over .fin-note{margin:0}

/* Oct 29, 2026: the sticky Your Ballpark bar + main button cover about 170px at the screen bottom. Anything scrolled into
   view (keyboard, focus, scrollIntoView) stops above them, and the chart ends with room so its last row clears the bar. */
html:has(.page-estimator){scroll-padding-bottom:190px}
/* Quick Details is taller now (Wood Style and How Tall live here): room to scroll Posts above the sticky ballpark and See My Price bar. */
.est-body[data-step="details"]{padding-bottom:200px}
.est-body .choice,.est-body .chip,.est-body .stp-btn,.est-body .field{scroll-margin-bottom:190px}
.est-body .cmp-value{margin-bottom:12px}

/* What to Expect at Your Final Measure (Oct 29, 2026): under Book My Final Measure, outside the sticky bar */
.est-body .est-final-measure{margin-top:16px}
/* Financing mention (Nov 22, 2026): booking block for people who asked for financing info */
.est-fin-book{background:#f3f6fb;border-radius:12px;padding:12px 14px;margin:14px 0}
.est-fin-book .fin-prequal-btn{min-height:48px}
.fin-row .fin-prequal-btn{min-height:48px}
.fin-row .fin-note{margin:8px 0 0}
/* Oct 29, 2026: the 'Example Photo' label sits inside the page photo (it was positioned against the screen, so on short phones it hung below the photo over the next heading) */
.page-photo{position:relative}
.page-photo img{display:block}
/* Get Prequalified (Nov 22, 2026): site button, config-driven link */
.fin-row .fin-prequal-btn,.est-pay-over .fin-prequal-btn{display:inline-flex}

/* Nov 1, 2026: no white plate behind any logo. The footer brand block is a light --sand band so the navy wordmark of the
   transparent full logo reads on it; text in --ink, links in --navy (hover --cobalt), navy focus ring. Contrast >= 4.5:1. */
.footer-brand--band{background:var(--sand);color:var(--ink);border-radius:var(--radius);padding:14px 16px 6px;align-self:start}
.footer-brand--band .f-tag{color:var(--ink);margin:10px 0 8px}
.footer-brand--band a{color:var(--navy);font-weight:700}
.footer-brand--band a:hover{color:var(--cobalt)}
.footer-brand--band :focus-visible{outline-color:var(--navy)}
.footer-brand--band .f-ico{background:var(--navy)}
/* Nov 1, 2026: Veteran Owned Business badge (v4 artwork, PNG/WebP at 1x/2x/3x). Footer: 150px wide beside the logo on the sand band.
   About: 200px wide beside the intro text (stacked and centered on phones). */
.vet-badge{display:block;height:auto;max-width:none}
.f-marks{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.vet-badge--footer{width:150px}
/* room for the 120px logo + 150px badge side by side in the first footer column on wide screens */
@media (min-width:900px){.footer-grid{grid-template-columns:minmax(330px,1.3fr) 1fr 1fr 1fr}}
.about-intro{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 0 16px}
.about-intro p{margin:0}
.about-intro > div p + p{margin-top:1em}
.vet-badge--about{width:200px}
@media (min-width:640px){.about-intro{flex-direction:row;align-items:center;gap:28px}.about-intro picture{flex:0 0 200px}}
.page-photo img{max-width:100%;height:auto}
/* Nov 1, 2026: home About band shows the Veteran Owned Business saluting-soldier badge (397x257 source, opaque white background)
   instead of the flag photo. Shown at 198px wide so the 397px file is a true 2x (never upscaled); white card, no cropping. */
.about-photo--badge{justify-self:center;width:max-content;max-width:100%;background:#fff;padding:12px 14px;margin-top:-28px}
.vet-salute{display:block;width:198px;max-width:100%;height:auto}
.about-band .about-title{text-align:center;font-weight:700}
/* Nov 1, 2026: About page seal (third-party mark, shown as supplied on its white background; scaled whole, never cropped) */
/* Nov 1, 2026: the footer tagline line only is centered (logo, badge, phone row and link columns keep their layout) */
.site-footer .f-tag{text-align:center}
/* Nov 1, 2026: Wood Privacy page style grid. Four equal cards (3:2 media, label under), 2 columns on phones, 4 on wider screens. */
.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:1.2em 0}
@media (min-width:700px){.style-grid{grid-template-columns:repeat(4,1fr)}}
.style-card{margin:0;background:#fff;border:1px solid #e3dccf;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.style-media{aspect-ratio:3/2;overflow:hidden;background:#f3efe7}
.style-media img{display:block;width:100%;height:100%;object-fit:cover}
.style-card figcaption{padding:8px 8px 9px;text-align:center;font-weight:700;color:var(--navy,#002554);font-size:1rem;line-height:1.2}

/* Nov 8, 2026: header shows the full standard logo (black wordmark) on a small sand plate, like .footer-brand--band; text wordmark removed (name is the logo alt). 52px (+4px padding = 60px) fits the 64px mobile row, 64px (72px) the 78px desktop row. */
.brand picture{display:flex;background:var(--sand);border-radius:var(--radius);padding:4px}
.brand-icon{width:52px;height:auto}
@media (min-width:1000px){.brand-icon{width:64px}}
/* Nov 14, 2026 (estimator retest finding 3): landscape phones. On a short landscape screen the sticky site header plus the
   estimator's sticky Your Ballpark bar and main button covered about half of the price screen. There they now scroll with the
   page, and the room kept for them at the bottom is dropped. Estimator only (#est); portrait and taller screens are unchanged. */
@media (orientation:landscape) and (max-height:500px){
  body:has(#est) .site-header{position:static}
  #est .est-sticky{position:static;background:none;padding-top:8px}
  html:has(#est){scroll-padding-bottom:16px}
  #est .est-body .choice,#est .est-body .chip,#est .est-body .stp-btn,#est .est-body .field{scroll-margin-bottom:16px}
}
/* Nov 14, 2026: map editor for phones. A short numbered guide above the map; white 44 px corner circles
   (56 px touch area); filled bright blue plus handles with a white outline on each side (44 px touch area); a selected corner
   fills yellow. The editor bar sits below the map with full text labels, at least 48 px tall; Add Fence is the main action
   (navy) and turns filled yellow with a dark ring when on (aria-pressed="true"), and the map gets a yellow outline. */
.fm-guide{margin:6px 0 2px;scroll-margin-top:calc(var(--est-header-h,0px) + 4px)}
.fm-guide-h{font-size:1rem;line-height:1.2;margin:0 0 1px;color:var(--navy,#002554)}
.fm-steps{margin:0;padding-left:1.25em;font-size:15px;line-height:1.22}
.fm-steps li{margin:0}
@media (max-width:600px) and (orientation:portrait){#est .fm-host{height:clamp(240px,calc(100svh - 540px),420px)}} /* 375 x 812: guide, map, zoom row, a message and every editor button fit between the header and Next */
.fm-wrap[data-adding]{box-shadow:0 0 0 4px #f2b233}
.fm-say{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fm-edit{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:6px 0;scroll-margin-bottom:104px} /* one dense grid; scroll-margin keeps the last row above the sticky Next */
/* zoom buttons sit in the row under the map, also while the editor shows, never over the yard */
.fm-wrap[data-editor]{margin-bottom:6px}
.btn-edit{font:inherit;font-size:1rem;font-weight:800;line-height:1.12;min-height:48px;padding:3px 4px;border-radius:12px;border:2px solid #0f2a3d;background:#fff;color:#0f2a3d;cursor:pointer;touch-action:manipulation}
.btn-edit.btn-add{background:#0f2a3d;color:#fff}
.btn-edit.btn-add[aria-pressed="true"]{background:#f2b233;color:#14212b;border-color:#14212b;box-shadow:inset 0 0 0 3px #14212b}
.btn-edit[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.btn-edit.btn-done{background:#fff;border-width:3px}
.fd-svg[data-mode=edit] .fd-plus-hit{pointer-events:all}
.fd-plus-hit{fill:transparent;cursor:pointer}
.fd-plus-dot{fill:#1e90ff;stroke:#fff;stroke-width:3;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7));pointer-events:none}
.fd-plus-mark{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;pointer-events:none}
.fd-pt,.fd-pt.is-last,.fd-pt.is-drag{r:20;fill:rgba(255,255,255,.15);stroke:#fff;stroke-width:4;filter:drop-shadow(0 0 1.5px rgba(0,0,0,.95));pointer-events:none}
.fd-pt.is-last{fill:rgba(255,255,255,.45)}
.fd-pt.is-sel,.fd-pt.is-drag{fill:#f2b233;stroke:#fff;stroke-width:5}
@media (max-width:600px){.est-card:has(.fm-edit){padding-left:10px;padding-right:10px}} /* the editor screen on a phone: a little more width for the guide, map and buttons */
/* Nov 14, 2026 fix pass: feet total and gate count in the sticky bar above Next (never covered); the end Add Fence builds
   from is filled green with a pulsing ring (unlike the yellow selected corner and the blue plus signs); corners closer than
   44 px draw smaller so each one is easy to tell apart. */
#est .est-sticky:has(.fm-total-bar){background:#fff;padding-top:6px;box-shadow:0 -6px 10px -8px rgba(0,0,0,.35)}
.fm-total.fm-total-bar{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;margin:0 0 6px;font-size:1rem;line-height:1.3}
.fm-total.fm-total-bar b{font-size:1.45rem;line-height:1}
.fm-total.fm-total-bar .fm-gsum{display:inline;font-size:1rem;font-weight:700;color:var(--navy-2,#0f2a3d)}
.fd-pt.is-small{r:13;stroke-width:3}
.fd-pt.is-end{fill:#16a34a;stroke:#fff;stroke-width:5}
.fd-end-ring{fill:none;stroke:#22c55e;stroke-width:4;pointer-events:none;filter:drop-shadow(0 0 1.5px rgba(0,0,0,.9));animation:fd-pulse 1.4s ease-in-out infinite}
@keyframes fd-pulse{0%,100%{stroke-opacity:1}50%{stroke-opacity:.35}}
@media (prefers-reduced-motion:reduce){.fd-end-ring{animation:none}}
/* Below about 810 px tall the guide and the map cannot both show; the screen opens on the map, which then takes the room up to the editor bar */
@media (max-width:600px) and (orientation:portrait) and (max-height:809px){#est .fm-host{height:clamp(240px,calc(100svh - 392px),420px)}}
/* Nov 15, 2026 retest: on those short screens guide line 1 also sits right above the map, so it shows when the step opens on the map */
.fm-move-line{display:none}
@media (max-width:600px) and (orientation:portrait) and (max-height:809px){#est .fm-move-line{display:block;margin:4px 0 6px;font-size:1rem;line-height:1.3;font-weight:600;color:var(--navy,#002554);scroll-margin-top:calc(var(--est-header-h,0px) + 4px)}}
.fd-pt.is-end.is-sel{fill:#f2b233} /* Add Fence on: the highlighted end tapped again is selected for Remove Corner */
