/* =====================================================================
   BIZFLOW SERVICE-SITE TEMPLATE — SHARED STYLESHEET (frozen)
   This file is IDENTICAL across every client built from the template.
   It references role tokens (var(--accent), var(--surface-dark), ...) only;
   it defines none. All per-client values live in theme.css, which every
   page links BEFORE this file. Do not hardcode brand colors here.
   See CONFIG.md for the token role reference.
   ===================================================================== */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px;scroll-padding-bottom:88px}
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--surface);
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}

/* Headings */
h1,h2,h3,.eyebrow,.stat__num,.btn{font-family:var(--display)}
h2{
  font-weight:var(--display-weight,600);
  font-size:clamp(1.7rem,3.6vw,2.7rem);
  line-height:1.04;
  text-transform:uppercase;
  letter-spacing:.01em;
}
h3{font-weight:var(--display-weight,600);text-transform:uppercase;letter-spacing:.02em;line-height:1.1}
h1,h2,h3{overflow-wrap:break-word}

.eyebrow{
  display:inline-block;
  font-weight:var(--display-weight,600);
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--accent-text,var(--accent));
  margin-bottom:1rem;
}
.eyebrow--light{color:var(--accent-on-dark)}
.hero--photo .eyebrow--light{color:#fff}

.rule{width:64px;height:5px;background:var(--accent);border:0;margin:1.1rem 0 1.6rem}
.rule--center{margin-inline:auto}

.lead{font-weight:var(--lead-weight,400);font-size:clamp(1.05rem,1.6vw,1.22rem);color:var(--ink-warm);max-width:60ch}
.muted{color:var(--muted)}
/* Body emphasis: real bold (per-client via --strong-weight; falls back to the UA-default 700). */
strong,b{font-weight:var(--strong-weight,700)}

/* ============================================================
   BUTTONS — every CTA is the full phone number, tap-to-call
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-weight:var(--display-weight,600);font-size:1.05rem;letter-spacing:.04em;
  text-transform:uppercase;
  padding:.95rem 1.7rem;
  background:var(--accent);color:#fff;
  border:2px solid var(--accent);
  border-radius:2px;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(var(--accent-deep-rgb),.28);
  white-space:nowrap;max-width:100%;
}
.btn:hover{background:var(--accent-deep);border-color:var(--accent-deep);transform:translateY(-2px);box-shadow:0 10px 26px rgba(var(--accent-deep-rgb),.36)}
.btn:active{transform:translateY(0)}
.btn svg{width:1.05em;height:1.05em;fill:currentColor;flex:0 0 auto}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);box-shadow:none}
.btn--ghost:hover{background:#fff;color:var(--surface-dark);border-color:#fff}
.btn--invert{background:#fff;color:var(--accent);border-color:#fff}
.btn--invert:hover{background:var(--accent-deep);color:#fff;border-color:#fff}
.btn--lg{font-size:1.18rem;padding:1.1rem 2rem}

.textlink{
  font-family:var(--display);font-weight:500;text-transform:uppercase;
  letter-spacing:.08em;font-size:.82rem;color:var(--accent-text,var(--accent));
  border-bottom:2px solid transparent;padding-bottom:2px;transition:border-color .15s;
}
.textlink:hover{border-color:var(--accent)}
.learn{
  font-family:var(--display);font-weight:500;text-transform:uppercase;
  letter-spacing:.07em;font-size:.78rem;color:var(--accent-text,var(--accent));
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:60;
  background:var(--surface-dark);
  border-bottom:3px solid var(--accent);
  transition:box-shadow .2s ease;
}
.site-header.scrolled{box-shadow:0 8px 26px rgba(0,0,0,.35)}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  height:84px;
}
/* Current-page indicator — header: reuse the red hover underline, locked on */
.nav__list a[aria-current="page"]{color:#fff}
.nav__list a[aria-current="page"]::after{width:100%}
/* active service sub-page: highlight it inside the dropdown + flag the Services parent */
.dropdown a[aria-current="page"]{background:var(--surface-soft);border-left-color:var(--accent);color:var(--ink)}
.has-drop:has(a[aria-current="page"]) .drop-toggle{color:#fff}
/* footer links: brand red is too dark on the near-black footer, so mark the current one
   in the light red + an underline so "current" isn't conveyed by color alone */
.footer-links a[aria-current="page"]{color:var(--accent-on-dark);text-decoration:underline;text-underline-offset:3px}
/* Skip link — first Tab stop; lets keyboard/screen-reader users jump past the nav to the content */
.skip-link{
  position:absolute;top:-120px;left:8px;z-index:200;
  background:var(--accent);color:#fff;
  font-family:var(--display);font-weight:600;font-size:.92rem;
  text-transform:uppercase;letter-spacing:.04em;
  padding:.75rem 1.15rem;border-radius:0 0 4px 4px;
}
.skip-link:focus{top:0}
/* Brand wordmark image (replaces the live script text in header + footer) */
.brand__logo{display:block;height:42px;width:auto}
.footer-brand .brand__logo{height:38px;margin-bottom:.15rem}
@media (max-width:520px){ .site-header .brand__logo{height:38px} }
@media (max-width:360px){ .site-header .brand__logo{height:34px} }
/* Wordmark — image logo (.brand__logo) above the live descriptor */
.brand{display:flex;flex-direction:column;line-height:1;color:#fff}
.brand__sub{
  font-family:var(--display);font-weight:400;font-size:.62rem;
  letter-spacing:.34em;text-transform:uppercase;color:#b9b9b9;margin-top:.28rem;
}

.nav{display:flex;align-items:center;gap:2rem}
.nav__list{display:flex;align-items:center;gap:1.7rem;list-style:none}
.nav__list a{
  font-family:var(--display);font-weight:500;font-size:.92rem;
  letter-spacing:.06em;text-transform:uppercase;color:#eaeaea;
  position:relative;padding:.5rem 0;transition:color .15s;
}
.nav__list a:hover{color:#fff}
.nav__list a::after{
  content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--accent);transition:width .2s ease;
}
.nav__list a:hover::after{width:100%}
.nav__call{display:none} /* overlay-only Call button; revealed at the mobile breakpoint */
/* Optional header social row (.nav__social in #nav after .nav__list) — quiet glyphs
   on desktop so they never compete with the header CTA; restyled in the overlay. */
.nav__social{display:flex;align-items:center;gap:.35rem}
.nav__social a{display:inline-flex;align-items:center;justify-content:center;padding:.45rem;color:#cfcfcf;transition:color .15s}
.nav__social a:hover{color:#fff}
.nav__social svg{width:19px;height:19px;fill:currentColor}

/* Services dropdown */
.has-drop{position:relative}
.drop-toggle{display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;background:none;border:0;padding:.5rem 0;color:#eaeaea;font-family:var(--display);font-weight:500;font-size:.92rem;letter-spacing:.06em;text-transform:uppercase;transition:color .15s}
.drop-toggle:hover{color:#fff}
.drop-toggle svg{width:.7em;height:.7em;fill:currentColor;transition:transform .2s}
.dropdown{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%) translateY(8px);
  background:#fff;min-width:280px;border-top:3px solid var(--accent);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  opacity:0;visibility:hidden;transition:opacity .18s ease, transform .18s ease;
  padding:.4rem 0;
}
.dropdown::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.has-drop:hover .dropdown,.has-drop:focus-within .dropdown,.has-drop.open .dropdown{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.has-drop:hover .drop-toggle svg,.has-drop.open .drop-toggle svg{transform:rotate(180deg)}
.dropdown a{
  display:block;color:var(--ink);font-size:.86rem;letter-spacing:.04em;
  padding:.7rem 1.3rem;border-left:3px solid transparent;
}
.dropdown a::after{display:none}
.dropdown a:hover{background:var(--surface-soft);border-left-color:var(--accent);color:var(--ink)}

.header-cta{display:flex;align-items:center;gap:1rem}
.header-phone{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:var(--display);font-weight:600;font-size:1.05rem;letter-spacing:.03em;
  background:var(--accent);color:#fff;padding:.62rem 1.1rem;border-radius:2px;
  transition:background .15s, transform .15s;
}
.header-phone:hover{background:var(--accent-deep);transform:translateY(-1px)}
.header-phone svg{width:1em;height:1em;fill:#fff}
/* Form-first header CTA: a primary Quote button + a subtler icon-only phone link */
.header-quote{padding:.62rem 1.15rem;font-size:1rem;border-radius:2px}
.header-phone--icon{background:transparent;border:1px solid rgba(255,255,255,.4);padding:.5rem .62rem}
.header-phone--icon:hover{background:rgba(255,255,255,.12);transform:none}
.header-phone--icon span{display:none}

.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.burger span{width:26px;height:2.5px;background:#fff;transition:.25s;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity}
.burger.open span:nth-child(1){transform:translate3d(0,7.5px,0) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translate3d(0,-7.5px,0) rotate(-45deg)}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;color:#fff;overflow:hidden;
  background:
    radial-gradient(120% 90% at 72% 8%, rgba(var(--accent-rgb),.20), transparent 46%),
    linear-gradient(165deg,var(--hero-1) 0%, var(--hero-2) 48%, var(--hero-3) 100%);
  /* Drop the strongest yard/shop photo in as a background-image here:
     background-image: linear-gradient(...) , url('hero-yard.jpg'); background-size:cover; */
}
.hero::before{content:"";position:absolute;inset:0;background:var(--grain);opacity:.05;mix-blend-mode:overlay;pointer-events:none}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),transparent 40%);pointer-events:none}
.hero-inner{position:relative;z-index:2;padding-block:clamp(4rem,11vw,8rem)}
.hero h1{
  font-weight:var(--display-weight,600);font-size:clamp(2.4rem,6.4vw,4.7rem);line-height:1.0;
  text-transform:uppercase;letter-spacing:.005em;max-width:16ch;margin-bottom:1.4rem;
}
.hero h1 .accent{color:#fff;position:relative}
.hero-sub{font-weight:var(--lead-weight,400);font-size:clamp(1.05rem,1.7vw,1.28rem);color:#dcdcdc;max-width:54ch;margin-bottom:2.2rem;line-height:1.65}
.hero-actions{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap}
.hero-hours{font-family:var(--body);font-style:italic;color:#b6b6b6;font-size:.96rem;margin-top:1.6rem}
.hero--photo .hero-hours{color:#ccc}

/* ---- Split hero variant (config hero.variant:'split') — copy left, one static image right.
   Additive + scoped to .hero--split; the default full-bleed .hero is unchanged.
   Keeps the .hero dark gradient + the existing on-dark text colors (all AA). ---- */
.hero--split::before,.hero--split::after{content:none}   /* clean image: drop grain + bottom-darken overlays */
.hero--split .hero-inner{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);   /* ~55/45, favors the copy */
  gap:clamp(2rem,5vw,4.5rem);align-items:stretch;                      /* media column matches the copy height */
}
.hero-copy,.hero-media{min-width:0}
/* Mobile/base: contained image at its own ratio (stacked below the copy). */
.hero-media .photo{min-height:0;aspect-ratio:4/3}
.hero-media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:2px}
/* Desktop: image fills the stretched column so it matches the copy height (no fixed ratio). */
@media (min-width:861px){
  .hero--split .hero-media .photo{height:100%;aspect-ratio:auto;min-height:0}
  .hero--split .hero-media img{height:100%;aspect-ratio:auto}
  /* Fold tuning (desktop only): the split hero balances copy against a photo, so it
     doesn't need the full-bleed hero's tall padding. Pull the headline + CTA into the
     fold on ~768–800px laptop viewports. Compact split pages keep their own padding/size
     (those rules come later + same specificity, so they still win). Mobile is untouched. */
  .hero--split .hero-inner{padding-block:clamp(3rem,5vw,3.5rem);grid-template-rows:minmax(400px,auto)}   /* padding: was up to 8rem. Row floor: minmax keeps the stretched photo column from getting too short on light-copy pages (e.g. service pages); inert on full-copy home heroes where the copy already exceeds 400px, and padding-independent unlike a min-height on this border-box element. */
  .hero--split h1{font-size:clamp(2.4rem,6.4vw,4.2rem);margin-bottom:.9rem}  /* cap was 4.7rem; mb was 1.4rem */
  .hero--split .hero-sub{margin-bottom:1.4rem}                      /* was 2.2rem */
}
.hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1.7rem;margin-top:1.9rem;list-style:none}
.hero-trust__item{
  display:inline-flex;align-items:center;gap:.5rem;min-width:0;
  font-family:var(--display);font-weight:500;text-transform:uppercase;letter-spacing:.04em;
  font-size:.82rem;color:#eaeaea;
}
.hero-trust__stars{color:var(--accent-on-dark);letter-spacing:.12em}
.hero-trust__rating{font-weight:var(--display-weight,600);color:#fff}
@media (max-width:860px){
  /* stack: copy first (DOM order), image below; image-first is an opt-in toggle */
  .hero--split .hero-inner{grid-template-columns:1fr;gap:2rem}
  .hero--split.hero--media-first .hero-media{order:-1}
}

/* Stats strip */
.stats{background:var(--surface-dark-alt);border-top:1px solid var(--line-dark);position:relative}
.stats::before{content:"";position:absolute;inset:0;background:var(--grain);opacity:.04;pointer-events:none}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);position:relative;z-index:2}
.stat{padding:2.1rem var(--pad);text-align:center;border-left:1px solid var(--line-dark)}
.stat:first-child{border-left:0}
.stat__num{display:block;font-weight:700;font-size:clamp(2rem,4vw,2.9rem);color:#fff;line-height:1}
.stat__num .u{color:var(--accent-on-dark)} /* light red: brand red is too dark on the charcoal stats bg */
.stat__label{display:block;font-family:var(--display);font-weight:300;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;color:#a9a9a9;margin-top:.6rem}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section{padding-block:var(--sec-y)}
.section--bone{background:var(--surface-soft)}
.section--dark{background:var(--surface-dark);color:#fff;position:relative}
.section--dark::before{content:"";position:absolute;inset:0;background:var(--grain);opacity:.045;pointer-events:none}
.section--dark .wrap{position:relative;z-index:2}
.section-head{max-width:62ch;margin-bottom:2.8rem}
.section-head--center{margin-inline:auto;text-align:center}

/* What We Do — 4 cards */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.card{
  background:#fff;border:1px solid var(--line);
  display:flex;flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:0 16px 38px rgba(20,20,20,.13);border-color:var(--line-warm)}
.card__body{padding:1.5rem 1.4rem 1.6rem;display:flex;flex-direction:column;flex:1}
.card__body h3{font-size:1.18rem;margin-bottom:.7rem}
.card__body p{font-size:.98rem;color:var(--prose);flex:1;margin-bottom:1.1rem}
.card__bar{height:4px;background:var(--accent);width:42px;margin-bottom:1.1rem;transition:width .25s ease}
.card:hover .card__bar{width:72px}

/* Heritage split */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.split--flip .split__media{order:-1}
.heritage h2{margin-bottom:.4rem}
.heritage p{margin-bottom:1.4rem;font-size:1.08rem}

/* Why Operators Choose — red accent bars on dark */
.reasons{display:grid;gap:1.15rem;max-width:none}
.reason{
  background:var(--surface-dark-2);border-left:5px solid var(--accent);
  padding:1.25rem 1.5rem;font-size:1.06rem;color:#e9e9e9;
}
.reason strong{color:#fff;font-weight:600;font-family:var(--display);text-transform:uppercase;letter-spacing:.01em;font-size:1.04em;display:block;margin-bottom:.25rem}
.reasons-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem}

/* Talk to Us band */
.cta-band{background:var(--surface-soft);text-align:center}
.cta-band .inner{max-width:60ch;margin:0 auto}
.cta-band h2{margin-bottom:.9rem}
.cta-band p{font-size:1.1rem;margin-bottom:1.8rem;color:var(--prose)}
.cta-note{font-family:var(--body);font-style:italic;color:var(--muted);margin-top:1.3rem}

/* Reviews */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem;margin-top:1rem}
.review{background:#fff;border:1px solid var(--line);padding:1.7rem 1.6rem;position:relative}
.review::before{content:"\201C";font-family:var(--display);font-weight:700;color:var(--accent);font-size:3.2rem;line-height:.6;position:absolute;top:1.1rem;left:1.2rem;opacity:.2}
.review p{font-style:italic;font-size:1.02rem;color:var(--ink-warm);margin:1rem 0 1.1rem;position:relative}
.review cite{font-family:var(--display);font-style:normal;font-weight:500;text-transform:uppercase;letter-spacing:.05em;font-size:.82rem;color:var(--muted)}
/* Single centered testimonial used as near-CTA proof (reuses the .review card) */
.review--solo{max-width:58ch;margin-inline:auto;margin-top:2.2rem;text-align:left}

/* ---- Social-proof trust strip: a slim band placed in its OWN section directly
   under the hero (never inside it). Holds a star rating + review count + one short
   named quote + a Google-reviews link. The quote is optional, so the same component
   also serves a slim rating-only variant. Colors are theme tokens (AA on light). */
.trust-strip{background:var(--surface-soft);border-bottom:1px solid var(--line)}
.trust-strip__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem 2rem;padding-block:1.05rem}
/* rating + count are independent, individually-optional items — each a direct child
   of __inner, so a client shows only the parts its hero doesn't already carry. */
.trust-strip__rating,.trust-strip__count{display:inline-flex;align-items:baseline;gap:.45rem;font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:.95rem;white-space:nowrap}
.trust-strip__rating{color:var(--ink)}
.trust-strip__stars{color:var(--accent);letter-spacing:.1em;font-size:1.02rem}
.trust-strip__count{color:var(--muted);font-weight:500}
.trust-strip__quote{margin:0;font-style:italic;font-size:1rem;color:var(--ink-warm);max-width:46ch}
.trust-strip__quote cite{font-style:normal;font-weight:500;color:var(--muted);white-space:nowrap}
.trust-strip__link{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:.85rem;color:var(--accent-text,var(--accent));white-space:nowrap}
.trust-strip__link:hover{color:var(--accent-deep)}
@media (max-width:640px){
  .trust-strip__inner{flex-direction:column;gap:.5rem;padding-block:.9rem;text-align:center}
  .trust-strip__quote{max-width:none}
}

/* Service area */
.area-split{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:center}
.area-list{font-size:1.08rem;line-height:1.85}
.area-call{font-style:italic;color:var(--ink);border-left:4px solid var(--accent);padding-left:1.1rem;margin-top:1.5rem;font-size:1.05rem}
/* Service-area maps (SVG) — center in their column/section; width/height attrs reserve the 820x600 ratio */
.area-map{display:block;width:100%;max-width:820px;height:auto;margin:1.4rem auto 0}

/* Repeat CTA — full red, hazard stripe */
.cta-red{
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg,var(--accent),var(--accent-deep));
  color:#fff;text-align:center;position:relative;
}
.hazard{height:11px;background:repeating-linear-gradient(45deg,var(--surface-dark) 0 16px,var(--accent) 16px 30px)}
.cta-red .inner{padding-block:clamp(3.2rem,7vw,5rem);max-width:64ch;margin:0 auto}
.cta-red h2{font-size:clamp(1.9rem,4.4vw,3rem);margin-bottom:1rem;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.18)}
.cta-red p{font-size:1.14rem;margin-bottom:2rem;color:#fff}
.cta-red .cta-note{color:var(--accent-pale)}

/* Our Word */
.ourword{text-align:center}
.ourword .inner{max-width:62ch;margin:0 auto}
.ourword p{font-size:clamp(1.08rem,1.7vw,1.28rem);line-height:1.7;color:var(--prose-strong);margin-bottom:1.9rem}

/* Inventory strip */
.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}
/* aspect-ratio governs height here; clear the global .photo min-height:160px so the
   4/3 ratio can't transfer a 213px (160*4/3) minimum width onto the cell and overflow
   the track on narrow screens. No effect on desktop (cells are already wider than 213). */
.strip .photo{aspect-ratio:4/3;min-width:0;min-height:0}

/* ============================================================
   PHOTO PLACEHOLDERS — drop Saturday-shoot photos in here.
   No stock imagery, no emojis. Styled to read as intentional.
   ============================================================ */
.photo{
  position:relative;background:var(--surface-dark-3);color:#cfcfcf;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:1.3rem;min-height:160px;min-width:0;
  border:1px solid var(--surface-dark-4);
}
.photo::before{content:"";position:absolute;inset:0;background:var(--grain);opacity:.06}
.photo::after{
  content:"";position:absolute;inset:12px;
  border:1px solid rgba(255,255,255,.16);pointer-events:none;
}
.photo .corner{position:absolute;width:16px;height:16px;border:2px solid var(--accent)}
.photo .corner.tl{top:12px;left:12px;border-right:0;border-bottom:0}
.photo .corner.tr{top:12px;right:12px;border-left:0;border-bottom:0}
.photo .corner.bl{bottom:12px;left:12px;border-right:0;border-top:0}
.photo .corner.br{bottom:12px;right:12px;border-left:0;border-top:0}
.photo__tag{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.2em;font-size:.7rem;color:var(--accent-on-dark);position:relative;z-index:2} /* accent-on-dark: the accent is too dark on the photo-placeholder bg */
.photo__desc{font-family:var(--display);font-weight:300;font-size:.86rem;letter-spacing:.02em;color:#e6e6e6;max-width:30ch;margin-top:.55rem;position:relative;z-index:2;line-height:1.4}
.photo__alt{font-family:var(--body);font-style:italic;font-size:.74rem;color:#8f8f8f;margin-top:.7rem;position:relative;z-index:2}
.photo--hero-portrait{min-height:420px}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--surface-dark);color:#cfcfcf;padding-block:clamp(2.8rem,6vw,4rem) 1.6rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2.5rem;align-items:start}
.footer-brand .brand__sub{font-size:.58rem}
.footer-col h2{font-family:var(--display);font-weight:500;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;color:#fff;margin-bottom:1rem}
.footer-col p,.footer-col li{font-size:.95rem;line-height:1.7;color:#bdbdbd}
.footer-col ul{list-style:none}
.footer-col a:hover{color:#fff}
.footer-phone{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--display);font-weight:600;font-size:1.2rem;color:#fff;margin-top:.4rem}
.footer-phone svg{width:.95em;height:.95em;fill:var(--accent)}
.footer-links{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem}
.footer-bottom{border-top:1px solid var(--line-dark);margin-top:2.6rem;padding-top:1.4rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;font-size:.82rem;color:#8c8c8c}

/* ============================================================
   REVEAL ANIMATIONS (safe: content shows even without JS)
   ============================================================ */
body.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease, transform .6s ease}
body.js .reveal.in{opacity:1;transform:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Overflow hardening: grid/flex children default to min-width:auto, which
   refuses to shrink below their content and causes horizontal overflow on
   narrow screens. Let them shrink so tracks stay within the viewport. */
.split>*,.area-split>*,.visit-grid>*,.reasons-grid>*,.footer-grid>*,
.stats-grid>*,.cards>*,.cards--3>*,.steps>*,.reviews-grid>*,.strip>*{min-width:0}

@media (max-width:1000px){
  .cards{grid-template-columns:1fr 1fr}
}
/* Tablet zone just above the nav breakpoint: the inline desktop nav returns
   next to the wordmark + full phone pill and is tight at ~861-900px. Tighten
   spacing here only — overlay (<=860) and true desktop (>=1001) are untouched. */
@media (min-width:861px) and (max-width:1000px){
  .nav__list{gap:1.1rem}
  .header-inner{gap:.8rem}
  .nav__social{display:none} /* no room in the squeeze; social stays in the footer here */
}
@media (max-width:860px){
  /* Mobile nav becomes a full-screen overlay menu (replaces the old slide-down) */
  .nav{
    position:fixed;inset:0;z-index:70;
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface-dark);border:0;max-height:none;
    overflow-y:auto;-webkit-overflow-scrolling:touch;
    padding:72px var(--pad) calc(1.6rem + env(safe-area-inset-bottom,0px));
    opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px);
    transition:opacity .26s ease, transform .26s ease, visibility 0s linear .26s;
  }
  body.nav-overlay-open .nav{
    opacity:1;visibility:visible;pointer-events:auto;transform:none;
    transition:opacity .26s ease, transform .26s ease, visibility 0s;
  }
  /* The scroll-lock (overflow:hidden) drops the header's sticky behaviour, which
     would push the burger/X off-screen when opened after scrolling. Pin the
     header to the viewport while the overlay is open so the X stays reachable. */
  body.nav-overlay-open .site-header{position:fixed;top:0;left:0;right:0}
  .nav__list{flex-direction:column;align-items:stretch;gap:10px;width:100%}
  .nav__list>li{border:0}
  .nav__list a{
    display:flex;align-items:center;justify-content:center;text-align:center;
    width:100%;min-height:52px;padding:.7rem 1rem;
    font-size:1.04rem;letter-spacing:.04em;color:#eaeaea;
    background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:6px;
    -webkit-tap-highlight-color:transparent;transition:none;
  }
  .nav__list a::after{display:none}
  .nav__list a:hover,.nav__list a:active{color:#fff;background:rgba(255,255,255,.1);border-color:var(--accent)}
  /* Services is a real tab: same boxed button as the other nav rows, taps to
     expand/collapse the service list below it (JS toggles .has-drop.open). */
  .has-drop{position:static}
  .drop-toggle{
    display:flex;align-items:center;justify-content:center;text-align:center;gap:.5rem;
    width:100%;min-height:52px;padding:.7rem 1rem;
    font-family:var(--display);font-weight:500;font-size:1.04rem;letter-spacing:.04em;text-transform:uppercase;
    color:#eaeaea;background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.14);border-radius:6px;
    opacity:1;cursor:pointer;pointer-events:auto;
  }
  .drop-toggle:hover,.drop-toggle:active{color:#fff;background:rgba(255,255,255,.1);border-color:var(--accent)}
  .drop-toggle svg{display:inline-block;width:.7em;height:.7em;transition:transform .26s ease}
  /* Rotation is driven ONLY by .open on touch: the desktop rule also rotates on
     :hover, and touch leaves a sticky :hover that would keep the arrow flipped
     after closing — cancel it so the arrow returns to rest, animating both ways. */
  .has-drop:hover .drop-toggle svg{transform:none}
  .has-drop.open .drop-toggle svg{transform:rotate(180deg)}
  /* Collapsed by default; tapping the tab adds .open and the list slides down
     (JS sets max-height to the exact content height), mirroring the desktop
     dropdown's fade/slide. */
  .dropdown{
    position:static;transform:none;
    background:transparent;box-shadow:none;border:0;min-width:0;
    padding:0;margin-top:0;
    display:flex;flex-direction:column;gap:10px;
    max-height:0;overflow:hidden;opacity:0;visibility:hidden;
    transition:max-height .26s ease, opacity .22s ease, margin-top .26s ease, visibility 0s linear .26s;
  }
  /* Neutralize the desktop hover/focus auto-reveal on touch (it would shift the
     panel off-screen and expose the hidden links); only .open reveals on mobile. */
  .has-drop:hover .dropdown,.has-drop:focus-within .dropdown{
    opacity:0;visibility:hidden;transform:none;margin-top:0;max-height:0;
  }
  .has-drop.open .dropdown{
    opacity:1;visibility:visible;transform:none;margin-top:10px;
    transition:max-height .26s ease, opacity .22s ease, margin-top .26s ease, visibility 0s;
  }
  .dropdown::before{display:none}
  /* Off-white service buttons — same shape as the other rows, bone fill + dark text. */
  .dropdown a{
    display:flex;align-items:center;justify-content:center;text-align:center;
    width:100%;white-space:normal;min-height:52px;padding:.7rem 1rem;
    color:var(--ink);background:var(--surface-soft);
    border:1px solid transparent;border-radius:6px;
    font-size:1.04rem;letter-spacing:.02em;
  }
  .dropdown a:hover,.dropdown a:active{background:#fff;color:var(--ink);border-color:var(--accent)}
  /* Full-width Call button inside the overlay — replaces the hidden floating button */
  .nav__call{display:inline-flex;width:100%;justify-content:center;min-height:54px;margin-top:auto}
  /* Social row: takes over the overlay's bottom slot, pinned just above the CTA;
     the sibling rule hands .nav__call a fixed gap instead of margin-top:auto. */
  .nav__social{margin-top:auto;justify-content:center;gap:14px;padding-top:1.4rem}
  .nav__social a{width:52px;height:52px;padding:0;border-radius:50%;color:#eaeaea;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14)}
  .nav__social a:hover,.nav__social a:active{color:#fff;background:rgba(255,255,255,.1);border-color:var(--accent)}
  .nav__social svg{width:22px;height:22px}
  .nav__social~.nav__call{margin-top:14px}
  .burger{display:flex;position:relative;z-index:75;padding:14px 12px}
  .header-phone span{display:none}
  .header-phone{padding:.6rem .7rem}
  .header-quote{display:none} /* mobile: quoting handled by the sticky bar + overlay menu */
  .split,.area-split{grid-template-columns:1fr}
  .split--flip .split__media{order:0}
  .reasons-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat:nth-child(3){border-left:0}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
}
@media (max-width:520px){
  .cards{grid-template-columns:1fr}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{justify-content:center}
}
/* Tiny-screen relief — kept below the reference width (390px) so the
   ~390–430px layout and desktop are untouched; only ~320–380px improves. */
@media (max-width:380px){
  .btn--lg{font-size:1.05rem;padding:.95rem 1.3rem}
  .call-number{font-size:2rem}
}
@media (max-width:360px){
  .header-inner{gap:.6rem}
  .header-cta{gap:.6rem}
}
/* ============================================================
   CONTACT PAGE ADDITIONS
   ============================================================ */
.hero--compact .hero-inner{padding-block:clamp(2.6rem,6vw,4.2rem)}
.hero--compact h1{font-size:clamp(2.1rem,5vw,3.4rem);max-width:18ch}

/* Call block — the page centerpiece */
.call-block{max-width:60ch;margin:0 auto;text-align:center}
.call-block h2{margin-bottom:.8rem}
.call-number{
  display:inline-block;font-family:var(--display);font-weight:700;
  font-size:clamp(2.4rem,6vw,3.9rem);line-height:1;letter-spacing:.01em;
  color:var(--accent);margin:.2rem 0 1.3rem;
  transition:color .15s ease, transform .15s ease;
}
.call-number:hover{color:var(--accent-deep);transform:translateY(-2px)}
.call-block p{font-size:1.1rem;color:var(--prose);margin-bottom:1.8rem}

/* Visit — address text + photo + map */
.visit-intro{max-width:64ch;font-size:1.05rem;color:var(--ink-warm);margin-bottom:2.1rem}
.visit-intro .addr{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--ink);font-size:1.2rem;display:block;margin-bottom:.7rem}
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;align-items:stretch}
.visit-grid .photo{min-height:330px}
.map-frame{position:relative;min-height:330px;border:1px solid var(--line);overflow:hidden;background:var(--surface-dark-2)}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Hours */
.hours-card{max-width:780px;margin:0 auto;background:#fff;border:1px solid var(--line);border-left:5px solid var(--accent)}
.hours-row{display:grid;grid-template-columns:220px 1fr;gap:.4rem 1.5rem;padding:1.3rem 1.7rem;border-top:1px solid var(--line)}
.hours-row:first-child{border-top:0}
.hours-row dt{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--surface-dark);font-size:.95rem}
.hours-row dd{margin:0;color:var(--prose);font-size:1.04rem;line-height:1.6}

@media (max-width:860px){
  .visit-grid{grid-template-columns:1fr}
  .visit-grid .photo,.map-frame{min-height:260px}
  .hours-row{grid-template-columns:1fr;gap:.2rem;padding:1.1rem 1.3rem}
}

@media (max-width:860px){
  /* Current page in the mobile overlay menu — red left bar (the mobile analog of the desktop underline) */
  .nav__list a[aria-current="page"],
  .has-drop:has(a[aria-current="page"]) .drop-toggle{
    box-shadow:inset 4px 0 0 var(--accent);
    background:rgba(var(--accent-rgb),.12);
    color:#fff;
  }
  .dropdown a[aria-current="page"]{
    box-shadow:inset 4px 0 0 var(--accent);
  }
}

/* ============================================================
   FORM  (message-first clients — Netlify Forms)
   Token-based and client-agnostic. Phone-only sites have no .form
   markup, so this has no effect there (frozen/shared styles.css).
   ============================================================ */
.form{max-width:680px}
.form-card{
  background:var(--surface);border:1px solid var(--line);
  border-top:5px solid var(--accent);padding:clamp(1.5rem,3.5vw,2.4rem);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem}
.field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.15rem}
.field--full{grid-column:1 / -1}
.field label{
  font-family:var(--display);font-weight:600;text-transform:uppercase;
  letter-spacing:.04em;font-size:.82rem;color:var(--ink);
}
.field label .req{color:var(--accent-text,var(--accent))}
.field input,.field select,.field textarea{
  font-family:var(--body);font-size:1rem;line-height:1.5;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);border-radius:2px;
  padding:.72rem .85rem;width:100%;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.20);
}
.field textarea{min-height:140px;resize:vertical}
.field select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 18px) 1.25em,calc(100% - 13px) 1.25em;background-size:5px 5px;background-repeat:no-repeat;padding-right:2.4rem}
.form-note{font-family:var(--body);font-style:italic;color:var(--muted);font-size:.96rem;margin:.2rem 0 1.2rem}
.form-actions{margin-top:.4rem}
/* Honeypot — visually hidden, off the accessibility tree for humans */
.form-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
@media (max-width:560px){ .form-row{grid-template-columns:1fr} }

/* Tick list — content bullet lists (signs, benefits). The global reset
   zeroes list padding/markers, so content <ul>s use this accent-square bullet. */
.ticklist{display:grid;gap:.7rem;max-width:72ch;margin:1.2rem 0}
.ticklist--2{grid-template-columns:1fr 1fr;gap:.7rem 2.4rem;max-width:none}
.ticklist li{list-style:none;position:relative;padding-left:1.7rem;line-height:1.55;color:var(--prose)}
.ticklist li::before{content:"";position:absolute;left:0;top:.45em;width:.62rem;height:.62rem;background:var(--accent);transform:rotate(45deg)}
@media (max-width:640px){ .ticklist--2{grid-template-columns:1fr} }

/* ============================================================
   SERVICE PAGE ADDITIONS  (shared by all four service pages)
   ============================================================ */

/* Inline content link (cross-links inside prose) */
.ilink{color:var(--accent-text,var(--accent));border-bottom:1px solid rgba(var(--accent-rgb),.45);transition:border-color .15s ease}
.ilink:hover{border-color:var(--accent)}

/* Pull-quote (e.g. the "Cadillac" line) */
.pullquote{
  max-width:46ch;margin:2.4rem auto 0;text-align:center;
  font-family:var(--body);font-style:italic;font-size:clamp(1.2rem,2.4vw,1.7rem);
  line-height:1.4;color:var(--ink);
}
.pullquote::before{content:"";display:block;width:54px;height:4px;background:var(--accent);margin:0 auto 1.3rem}

/* 3-up card grid modifier (brands list, related services) */
.cards--3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

/* Steps — "how it works" */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem}
.step{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);padding:1.7rem 1.5rem}
.step__n{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;
  background:var(--surface-dark);color:#fff;font-family:var(--display);font-weight:600;font-size:1.25rem;margin-bottom:1rem;
}
.step h3{font-size:1.12rem;margin-bottom:.55rem}
.step p{font-size:.98rem;color:var(--prose)}

/* FAQ accordion — native <details>, no JS */
.faq{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  list-style:none;cursor:pointer;padding:1.3rem 2.6rem 1.3rem 0;position:relative;
  font-family:var(--display);font-weight:500;font-size:1.08rem;letter-spacing:.01em;color:var(--ink);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;right:.3rem;top:50%;transform:translateY(-50%);
  font-family:var(--display);font-weight:400;font-size:1.8rem;line-height:1;color:var(--accent);
}
.faq details[open] summary::after{content:"\2013"}
.faq details > div{padding:0 0 1.5rem;color:var(--prose);font-size:1.03rem;line-height:1.7;max-width:72ch}
/* Answer eases in alongside the JS height slide (see script.js FAQ accordion).
   Gated on .js so it only runs when the height animation is also active. */
.js .faq details[open] > div{animation:faqReveal .38s ease both}
@keyframes faqReveal{from{opacity:0;transform:translateY(-.4rem)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.js .faq details[open] > div{animation:none}}

/* ============================================================
   FLOATING CALL BUTTON  (sitewide, fixed bottom-right)
   Persistent tap-to-call for conversions; easy thumb reach on mobile.
   ============================================================ */
.call-fab{
  position:fixed;right:18px;bottom:18px;z-index:80;
  display:inline-flex;align-items:center;justify-content:center;
  width:62px;height:62px;border-radius:50%;
  background:var(--accent);color:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.32);
  /* rests off-screen below the fold; JS adds .is-visible once the hero CTA scrolls away */
  transform:translateY(calc(100% + 24px));
  transition:transform .25s ease, background .15s ease;
}
.call-fab.is-visible{transform:translateY(0)}
.call-fab:hover{background:var(--accent-deep);transform:translateY(-2px)}
.call-fab:active{transform:translateY(0)}
.call-fab svg{width:27px;height:27px;fill:currentColor}
.call-fab .label{display:none} /* desktop: compact icon-only circle */

/* Mobile (the site's 860px breakpoint): full-width tap-to-call bar instead of the corner circle.
   Content sits in ~54px; padding-bottom = the safe-area inset so it clears the iPhone home indicator. */
@media (max-width:860px){
  .call-fab{
    left:0;right:0;bottom:0;width:100%;
    height:auto;min-height:calc(54px + env(safe-area-inset-bottom));border-radius:0;
    gap:.55rem;padding-bottom:env(safe-area-inset-bottom);
    font-family:var(--display);font-weight:600;font-size:1.1rem;letter-spacing:.03em;text-transform:uppercase;
    box-shadow:0 -6px 20px rgba(0,0,0,.28);
  }
  /* a full-width bar shouldn't lift/translate on tap the way the circle does */
  .call-fab:hover{transform:none;background:var(--accent-deep)}
  .call-fab:active{transform:none}
  .call-fab svg{width:22px;height:22px}
  .call-fab .label{display:inline}
  /* keep the bar from ever covering the last bit of content */
  body{padding-bottom:calc(54px + env(safe-area-inset-bottom))}
}
/* While the mobile overlay menu is open, the floating button steps aside
   (its place is taken by the full-width Call button inside the overlay). */
body.nav-overlay-open .call-fab{display:none;pointer-events:none}

/* ---- Message-first sticky: a Quote-primary action bar (Quote + Message + Call).
   Reuses .call-fab's fixed position + slide-in animation; only restyles the box
   from a single circle into a row of action buttons. Unused by phone-only sites. */
.call-fab--actions{
  width:auto;height:auto;border-radius:0;background:none;box-shadow:none;
  display:flex;gap:.5rem;align-items:stretch;
}
.call-fab--actions:hover{transform:translateY(0)} /* no whole-bar lift on hover */
.cta-act{
  flex:1 1 0;   /* fill the bar proportionally instead of sizing to label width */
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  font-family:var(--display);font-weight:600;font-size:.92rem;letter-spacing:.03em;text-transform:uppercase;
  padding:.72rem 1.05rem;border-radius:2px;white-space:nowrap;color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.26);
  transition:background .15s ease, transform .15s ease, color .15s ease;
}
.cta-act svg{width:1.05em;height:1.05em;fill:currentColor;flex:0 0 auto}
.cta-act--quote{background:var(--accent);color:#fff;flex:1.6 1 0}   /* primary: ~1.6× the secondaries on desktop */
.cta-act--quote:hover{background:var(--accent-deep);transform:translateY(-2px)}
.cta-act--msg,.cta-act--call{background:#fff;color:var(--ink)}
.cta-act--msg:hover,.cta-act--call:hover{background:var(--surface-soft);transform:translateY(-2px)}

/* Desktop floating cluster: a defined bar width so the three buttons fill it in a
   ~1.6:1:1 ratio (Quote clearly widest) instead of each sizing to its own label.
   Mobile keeps its full-width bar (left:0/right:0), so the width is desktop-only. */
@media (min-width:861px){
  .call-fab--actions{width:470px}
}

@media (max-width:860px){
  /* full-width bottom bar split into segments; Quote widest */
  .call-fab--actions{gap:0;padding:0 0 env(safe-area-inset-bottom);box-shadow:0 -6px 20px rgba(0,0,0,.28)}
  .cta-act{flex:1 1 0;flex-direction:column;gap:.15rem;border-radius:0;box-shadow:none;min-height:54px;font-size:.74rem;letter-spacing:.02em;padding:.4rem .3rem}
  .cta-act--quote{flex:2 1 0}   /* Quote ~half the full-width bar on mobile */
  .cta-act--call{border-left:1px solid var(--line)}
  .cta-act svg{width:21px;height:21px}
}

/* ============================================================
   QUOTE MODAL  (message-first clients — opens the quote form in place)
   The form inside is REAL static HTML (CSS-hidden) so Netlify detects it;
   script.js toggles .is-open. Unused by phone-only sites (no #quoteModal).
   ============================================================ */
/* Reserve the scrollbar gutter on modal pages so locking background scroll
   (overflow:hidden on open) can't widen the viewport and shift the page +
   stickies. Scoped via :has() so phone-only sites (no modal) are unaffected. */
html:has(#quoteModal){scrollbar-gutter:stable}
.modal{
  position:fixed;inset:0;z-index:120;
  display:flex;align-items:center;justify-content:center;   /* dead-center on both axes */
  padding:clamp(1rem,6vh,4rem) var(--pad);
  background:rgba(0,0,0,.55);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s ease, visibility 0s linear .22s;  /* fade out, then hide */
}
.modal.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .22s ease}
.modal__dialog{
  position:relative;width:100%;max-width:540px;max-height:90vh;overflow-y:auto;
  background:var(--surface);border-top:5px solid var(--accent);
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  padding:clamp(1.5rem,4vw,2.4rem);
  opacity:0;transform:translateY(8px) scale(.96);
  transition:opacity .24s ease, transform .24s ease;        /* fade + subtle scale/slide in */
}
.modal.is-open .modal__dialog{opacity:1;transform:none}
/* Reduced-motion: open/close instantly (no fade/scale, no visibility delay). */
@media (prefers-reduced-motion: reduce){
  .modal, .modal__dialog{transition:none}
}
.modal__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.4rem}
.modal__head h2{font-size:clamp(1.5rem,3.5vw,2rem)}
.modal__close{
  flex:0 0 auto;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;
  background:none;border:0;cursor:pointer;font-size:2rem;line-height:1;color:var(--muted);border-radius:2px;
}
.modal__close:hover{color:var(--ink);background:var(--surface-soft)}
.modal__intro{color:var(--prose);margin-bottom:1.4rem}
.modal .form{max-width:none}

/* Inline social icons (Facebook "f", Instagram) for footer/text links */
.fb-ico,.ig-ico{width:.95em;height:.95em;fill:currentColor;vertical-align:-.14em;margin-right:.35em}

/* Honour reduced-motion: the overlay opens/closes instantly. */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
