/* ===========================================================
   BASE — shared structure for all 13 test variants.
   Every colour, font and radius comes from the theme file.
   =========================================================== */

*{box-sizing:border-box;margin:0;padding:0}

body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
h1,h2,h3,.eyebrow,.stat-num{font-family:var(--font-display)}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

/* ---------- test label badge ---------- */
.testflag{
  position:fixed; left:0; top:50%; transform:translateY(-50%) rotate(-90deg);
  transform-origin:left center; z-index:70;
  background:#111; color:#fff; font-size:.7rem; font-weight:800; letter-spacing:.14em;
  padding:7px 16px; border-radius:0 0 8px 8px; font-family:var(--font-body);
}
.testflag a{ color:#8fd9ff; margin-left:10px; font-weight:600; }

/* ---------- progress ---------- */
.progress-rail{ position:fixed; top:0; left:0; height:3px; width:100%; z-index:60; }
.progress-fill{ height:100%; width:0%; background:var(--acc); }

/* ---------- dots ---------- */
.dots{ position:fixed; right:24px; top:50%; transform:translateY(-50%); z-index:55; display:flex; flex-direction:column; gap:13px; }
.dots button{
  width:10px; height:10px; border-radius:50%; border:1px solid var(--dot-line);
  background:transparent; cursor:pointer; padding:0; position:relative;
  transition:background .25s var(--ease), transform .25s var(--ease);
}
.dots button:hover{ transform:scale(1.4); }
.dots button[aria-current="true"]{ background:var(--acc); border-color:var(--acc); transform:scale(1.35); }
.dots button::after{
  content:attr(data-label); position:absolute; right:20px; top:50%; transform:translateY(-50%);
  font-size:.7rem; white-space:nowrap; color:var(--ink-dim); opacity:0; transition:opacity .2s; font-family:var(--font-body);
}
.dots button:hover::after{ opacity:1; }

/* ---------- nav ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 5vw; background:var(--nav-bg); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--nav-line);
}
/* logo native is 400x100 — 62px tall renders at 248px wide, still a downscale */
.nav-logo{ height:62px; border-radius:6px; }
.nav-right{ display:flex; align-items:center; gap:16px; }
.nav-phone{ font-size:.9rem; color:var(--ink-dim); font-weight:600; }
.nav-cta{
  font-weight:700; font-size:.92rem; color:var(--cta-ink); background:var(--cta-bg);
  padding:12px 24px; border-radius:var(--r-btn);
  transition:transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:var(--shadow-cta); }

/* ---------- motion controls ---------- */
.motion-toggle{
  position:fixed; bottom:22px; right:22px; z-index:56;
  background:var(--surface); border:1px solid var(--line); color:var(--ink);
  font-size:.84rem; padding:10px 15px; border-radius:999px; box-shadow:var(--shadow-sm);
  cursor:pointer; display:flex; align-items:center; gap:8px;
}
.motion-toggle .dot{ width:9px;height:9px;border-radius:50%;background:var(--acc); }
.motion-toggle[data-on="false"] .dot{ background:var(--ink-dim); }
.motion-banner{
  position:fixed; top:80px; left:50%; transform:translateX(-50%); z-index:57;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-md);
  padding:13px 19px; border-radius:13px; font-size:.88rem; display:flex; gap:13px; align-items:center; max-width:92vw;
}
.motion-banner button{
  background:var(--cta-bg); color:var(--cta-ink); border:none; padding:8px 15px;
  border-radius:8px; font-weight:700; font-size:.83rem; cursor:pointer;
}
.motion-banner.hidden{ display:none; }

/* ---------- panels ---------- */
.panel{ position:relative; height:175vh; }
.panel.short{ height:145vh; }
.panel.tall{ height:210vh; }
.pin{
  position:sticky; top:0; height:100svh; width:100%;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; background:var(--sec-bg, var(--bg));
}
/* alternating section grounds keep screens from looking identical */
.panel:nth-of-type(even) .pin{ background:var(--sec-alt, var(--bg)); }

.bg-aura{
  position:absolute; inset:-18%; will-change:transform;
  background:
    radial-gradient(ellipse 55% 48% at 14% 20%, var(--g1), transparent 62%),
    radial-gradient(ellipse 50% 55% at 86% 78%, var(--g2), transparent 58%);
}
.bg-grid{
  position:absolute; inset:0; opacity:var(--grid-op);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size:74px 74px;
  mask-image:radial-gradient(ellipse 75% 65% at 50% 50%, #000, transparent 78%);
}
.inner{ position:relative; z-index:2; width:100%; max-width:1580px; margin:0 auto; padding:0 5.5vw; }

/* ---------- decor: bubbles (suds themes only) ---------- */
.bubbles{ position:absolute; inset:0; overflow:hidden; pointer-events:none; display:none; }
body[data-decor="bubbles"] .bubbles{ display:block; }
.bubbles i{
  position:absolute; bottom:-14%; border-radius:50%;
  background:radial-gradient(circle at 32% 30%, rgba(255,255,255,.9), var(--bubble) 62%);
  border:1px solid var(--bubble-line);
  animation:floatUp linear infinite;
}
@keyframes floatUp{
  0%{ transform:translateY(0) translateX(0) scale(.8); opacity:0; }
  12%{ opacity:.75; }
  85%{ opacity:.5; }
  100%{ transform:translateY(-118vh) translateX(var(--drift,20px)) scale(1.1); opacity:0; }
}
body.motion-off .bubbles i{ animation:none; opacity:.3; }

/* ---------- type ---------- */
.eyebrow{
  font-size:.84rem; letter-spacing:.19em; text-transform:uppercase;
  color:var(--acc); font-weight:700; margin-bottom:17px;
  display:flex; align-items:center; gap:12px;
}
.eyebrow::before{ content:''; width:32px; height:2px; background:var(--acc); display:block; }
.center .eyebrow{ justify-content:center; }

h2.head{
  font-size:clamp(2.4rem,5.4vw,4.4rem); font-weight:var(--w-head);
  line-height:1.05; letter-spacing:var(--ls-head);
  color:var(--ink-head);
}
h2.head.mid{ font-size:clamp(2rem,4.2vw,3.2rem); }
.lede{ margin-top:21px; font-size:clamp(1.08rem,1.6vw,1.36rem); font-weight:500;
  color:var(--ink-body); line-height:1.6; max-width:580px; }
.center{ text-align:center; }
.center .lede{ margin-left:auto; margin-right:auto; }

/* ===========================================================
   EMPHASIS SYSTEM
   .fact = tier 1, hard numbers/phone — constant in every mode
   .em   = tier 2, benefit words — style set by body[data-emph]
   .lit is added by JS once the line has landed, so the
   marker/swoop draws itself in instead of appearing pre-drawn.
   =========================================================== */
.fact{ font-weight:800; color:var(--acc-text); font-size:1.1em; letter-spacing:-.012em; }
a.fact{ text-decoration:none; border-bottom:2px solid var(--acc-soft); }
a.fact:hover{ border-bottom-color:var(--acc-text); }

.em{ font-weight:600; color:var(--ink); }

/* mode: bold + colour — display face at 800 so it reads clearly heavier
   than the 500-weight body text around it */
body[data-emph="bold"] .em{
  font-family:var(--font-display);
  font-weight:800; color:var(--acc-text);
  letter-spacing:-.012em;
}
body[data-emph="bold"] .fact{ font-family:var(--font-display); }

/* mode: highlighter marker */
body[data-emph="marker"] .em{
  background-image:linear-gradient(transparent 56%, var(--mark) 56%, var(--mark) 94%, transparent 94%);
  background-repeat:no-repeat; background-size:0% 100%;
  transition:background-size .75s var(--ease);
  padding:0 .1em; margin:0 -.1em; border-radius:2px;
}
body[data-emph="marker"] .lit .em{ background-size:100% 100%; }

/* mode: underline swoop */
body[data-emph="swoop"] .em{
  background-image:linear-gradient(var(--acc), var(--acc));
  background-repeat:no-repeat; background-position:0 92%;
  background-size:0% 3px;
  transition:background-size .7s var(--ease);
  padding-bottom:2px;
}
body[data-emph="swoop"] .lit .em{ background-size:100% 3px; }

/* never leave emphasis half-drawn when motion is off or JS fails */
body.motion-off[data-emph="marker"] .em,
body.js-anim-failed[data-emph="marker"] .em{ background-size:100% 100% !important; }
body.motion-off[data-emph="swoop"] .em,
body.js-anim-failed[data-emph="swoop"] .em{ background-size:100% 3px !important; }

/* ---------- proposal marker (deployed demo only) ---------- */
.proposal-note{
  position:fixed; bottom:16px; left:16px; z-index:59;
  background:var(--surface); border:1px solid var(--line);
  color:var(--ink-dim); font-size:.72rem; font-weight:600; letter-spacing:.02em;
  padding:8px 14px; border-radius:999px; box-shadow:var(--shadow-sm);
  pointer-events:none;
}
@media (max-width:640px){
  .proposal-note{ bottom:10px; left:10px; font-size:.64rem; padding:6px 11px; }
}

/* ---------- emphasis style switcher (test page only) ---------- */
.emph-switch{
  position:fixed; bottom:22px; left:22px; z-index:58;
  background:var(--surface); border:1px solid var(--line); border-radius:999px;
  box-shadow:var(--shadow-md); padding:6px; display:flex; gap:4px; align-items:center;
}
.emph-switch b{ font-size:.7rem; color:var(--ink-dim); padding:0 9px; font-weight:700; letter-spacing:.06em; }
.emph-switch button{
  border:none; background:transparent; color:var(--ink-dim); cursor:pointer;
  font-size:.79rem; font-weight:700; padding:8px 14px; border-radius:999px;
  transition:all .2s var(--ease);
}
.emph-switch button:hover{ color:var(--ink); }
.emph-switch button[aria-pressed="true"]{ background:var(--cta-bg); color:var(--cta-ink); }

/* ---------- split ---------- */
.split{ display:grid; grid-template-columns:1.1fr .9fr; gap:6vw; align-items:center; }
.split.reverse .col-text{ order:2; }
.split.reverse .col-photo{ order:1; }
.col-photo{ display:flex; justify-content:center; }

.photo-frame{
  position:relative; width:100%; max-width:470px; aspect-ratio:3/4;
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-photo); border:1px solid var(--line);
}
.photo-frame.wide{ aspect-ratio:4/5; }
.photo-frame img{ position:absolute; top:-5%; left:-5%; width:110%; height:110%; object-fit:cover; will-change:transform; }
.photo-badge{
  position:absolute; left:16px; bottom:16px; z-index:3;
  background:var(--badge-bg); backdrop-filter:blur(10px); color:var(--badge-ink);
  border:1px solid var(--badge-line); border-radius:12px; padding:11px 15px;
  display:flex; align-items:center; gap:10px;
}
.photo-badge .pulse{
  width:9px;height:9px;border-radius:50%;background:var(--acc); flex-shrink:0;
  box-shadow:0 0 0 0 var(--acc); animation:pulse 2.4s infinite;
}
body.motion-off .photo-badge .pulse{ animation:none; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 var(--pulse-c); }
  70%{ box-shadow:0 0 0 13px transparent; }
  100%{ box-shadow:0 0 0 0 transparent; }
}
.photo-badge span{ font-size:.85rem; font-weight:600; }

/* ---------- before / after slider ---------- */
.ba-wrap{
  position:relative; width:100%; max-width:470px; aspect-ratio:3/4;
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-photo);
  border:1px solid var(--line); cursor:ew-resize; user-select:none; touch-action:none;
}
.ba-wrap:focus-visible{ outline:3px solid var(--acc); outline-offset:3px; }
/* Images must not swallow the drag: native image-drag fires pointercancel
   and kills the gesture, so they are inert and non-draggable. */
.ba-wrap img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  pointer-events:none; user-select:none; -webkit-user-drag:none;
}
/* clip-path instead of a JS-synced width — nothing to keep in sync on resize */
.ba-before{ position:absolute; inset:0; clip-path:inset(0 50% 0 0); }
.ba-before img{ filter:grayscale(.55) brightness(.62) contrast(.85) saturate(.6); }
.ba-handle{
  position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff;
  box-shadow:0 0 12px rgba(0,0,0,.45); z-index:4; pointer-events:none;
  transform:translateX(-1.5px);
}
.ba-handle::after{
  content:'‹ ›'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  background:#fff; color:#111; width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.05rem; font-weight:700;
  box-shadow:0 3px 12px rgba(0,0,0,.3); letter-spacing:1px;
}
.ba-tag{
  position:absolute; top:14px; z-index:5; font-size:.7rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; padding:6px 12px; border-radius:999px; background:rgba(0,0,0,.6); color:#fff;
}
.ba-tag.l{ left:14px; } .ba-tag.r{ right:14px; background:var(--acc); color:var(--cta-ink); }
.ba-note{ margin-top:12px; font-size:.75rem; color:var(--ink-dim); text-align:center; max-width:470px; }

/* ---------- stats ---------- */
.stats{ display:flex; gap:42px; margin-top:34px; flex-wrap:wrap; }
.stat-num{ font-size:clamp(2.1rem,4vw,3.1rem); font-weight:var(--w-head); color:var(--acc); line-height:1; }
.stat-label{ font-size:.88rem; color:var(--ink-dim); margin-top:7px; letter-spacing:.03em; }

/* ---------- trust badges (municipal themes) ---------- */
.trust{ display:none; gap:14px; margin-top:30px; flex-wrap:wrap; }
body[data-badges="on"] .trust{ display:flex; }
.center .trust{ justify-content:center; }
.trust b{
  display:flex; align-items:center; gap:9px; font-size:.86rem; font-weight:700;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-btn);
  padding:11px 17px; box-shadow:var(--shadow-sm);
}
.trust b::before{ content:'✓'; color:var(--acc); font-size:1rem; }

/* ---------- grids & cards ---------- */
.grid{ display:grid; gap:20px; margin-top:44px; }
.g2{ grid-template-columns:repeat(2,1fr); }
.g3{ grid-template-columns:repeat(3,1fr); }
.g4{ grid-template-columns:repeat(4,1fr); }
.g5{ grid-template-columns:repeat(5,1fr); }

.card{
  position:relative; overflow:hidden;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:28px 25px; display:flex; flex-direction:column; gap:14px; box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before{
  content:''; position:absolute; inset:0; opacity:0; pointer-events:none;
  background:radial-gradient(320px circle at var(--mx,50%) var(--my,50%), var(--spot), transparent 62%);
  transition:opacity .3s;
}
.card:hover{ transform:translateY(-7px); border-color:var(--acc); box-shadow:var(--shadow-md); }
.card:hover::before{ opacity:1; }
.card .ico{
  width:58px; height:58px; border-radius:var(--r-ico); overflow:hidden; flex-shrink:0;
  background:var(--ico-bg); display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; color:var(--acc); transition:transform .35s var(--ease);
}
.card:hover .ico{ transform:scale(1.09) rotate(-4deg); }
.card .ico img{ width:100%; height:100%; object-fit:cover; }
.card h3{ font-size:1.14rem; font-weight:600; }
.card p{ font-size:.92rem; color:var(--ink-dim); line-height:1.5; }

#serviceGrid{ margin-top:28px; gap:15px; }
#serviceGrid .card{ padding:19px 17px; gap:11px; }
#serviceGrid .card .ico{ width:44px; height:44px; }
#serviceGrid .card h3{ font-size:.98rem; }

.card.numbered{ min-height:320px; justify-content:space-between; padding:36px 28px; }
.card.numbered .n{ font-size:3.4rem; font-weight:var(--w-head); color:var(--acc); opacity:.9; line-height:1; }
.card.numbered p.big{ font-size:1.4rem; font-weight:600; color:var(--ink); line-height:1.26; }

.tile{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:32px 16px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:16px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover{ transform:translateY(-6px) scale(1.03); border-color:var(--acc); box-shadow:var(--shadow-md); }
.tile img{ width:70px; height:70px; border-radius:var(--r-ico); object-fit:cover; }
.tile span{ font-size:1.05rem; font-weight:600; }

/* ---------- filters ---------- */
.filters{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
.chip{
  background:var(--surface); border:1px solid var(--line); color:var(--ink-dim);
  padding:11px 21px; border-radius:var(--r-btn); font-size:.92rem; font-weight:600; cursor:pointer;
  transition:color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover{ border-color:var(--acc); color:var(--ink); }
.chip[aria-pressed="true"]{ background:var(--cta-bg); border-color:var(--cta-bg); color:var(--cta-ink); }
.card[hidden]{ display:none; }

/* ---------- steps ---------- */
.steps{ display:flex; flex-direction:column; margin-top:30px; }
.step{ display:flex; gap:20px; align-items:flex-start; padding:19px 0; border-bottom:1px solid var(--line); transition:padding-left .3s var(--ease); }
.step:hover{ padding-left:12px; }
.step:last-child{ border-bottom:none; }
.step .num{
  width:50px; height:50px; border-radius:var(--r-num); flex-shrink:0;
  background:var(--cta-bg); color:var(--cta-ink); font-weight:700; font-size:1.2rem;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display);
}
.step h3{ font-size:1.26rem; font-weight:600; }
.step p{ font-size:.94rem; color:var(--ink-dim); margin-top:4px; }

/* ---------- quotes ----------
   Left-aligned (centred long text is measurably harder to read),
   display face at pull-quote size so the words lead the card. */
.quote{
  position:relative; overflow:hidden; text-align:left;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:38px 32px 30px; display:flex; flex-direction:column; gap:18px;
  min-height:360px; justify-content:flex-start;
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.quote::before{
  content:'\201C';
  position:absolute; top:-26px; right:14px;
  font-family:Georgia,serif; font-size:9rem; line-height:1;
  color:var(--acc); opacity:.13; pointer-events:none;
}
.quote:hover{ transform:translateY(-6px); border-color:var(--acc); box-shadow:var(--shadow-md); }

.quote .stars{ color:var(--star); font-size:1.35rem; letter-spacing:4px; line-height:1; }

.quote p{
  font-family:var(--font-display);
  font-size:clamp(1.14rem,1.35vw,1.32rem);
  font-weight:500; line-height:1.48; letter-spacing:-.01em;
  color:var(--ink);
}
.quote .who{
  margin-top:auto; padding-top:16px; border-top:1px solid var(--line);
  font-size:1rem; font-weight:700; color:var(--ink); text-align:left;
  display:flex; align-items:center; gap:11px;
}
.quote .who::before{
  content:attr(data-initial);
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  background:var(--cta-bg); color:var(--cta-ink);
  display:flex; align-items:center; justify-content:center;
  font-size:.95rem; font-weight:700; font-family:var(--font-display);
}
.quote .who em{ display:block; font-style:normal; font-size:.8rem; font-weight:500; color:var(--ink-body); margin-top:2px; }

/* ---------- faq ---------- */
.faq{ max-width:900px; margin:42px auto 0; text-align:left; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:transparent; border:none; color:var(--ink); cursor:pointer;
  text-align:left; padding:23px 0; font-size:1.2rem; font-weight:600;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-family:var(--font-display); transition:color .25s;
}
.faq-q:hover{ color:var(--acc); }
.faq-q .sign{
  flex-shrink:0; width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; color:var(--acc);
  transition:transform .35s var(--ease), background .3s;
}
.faq-item[data-open="true"] .sign{ transform:rotate(45deg); background:var(--ico-bg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .45s var(--ease); }
.faq-a p{ padding:0 0 23px; color:var(--ink-dim); font-size:1rem; line-height:1.62; max-width:760px; }

/* ---------- areas ---------- */
.areas{ display:flex; flex-wrap:wrap; gap:11px; justify-content:center; margin-top:40px; }
.area{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-btn);
  padding:14px 25px; font-size:1.08rem; font-weight:500; color:var(--ink-dim);
  /* named properties, not `all` — `all` animates padding/font-size on
     viewport change, which makes the pills wobble on phone rotation */
  transition:color .28s var(--ease), background .28s var(--ease),
             border-color .28s var(--ease), transform .28s var(--ease);
}
.area:hover{ color:var(--cta-ink); background:var(--cta-bg); border-color:var(--cta-bg); transform:translateY(-3px); }

/* ---------- buttons ---------- */
.actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.center .actions{ justify-content:center; }
.btn{ padding:16px 29px; border-radius:var(--r-btn); font-weight:700; font-size:1rem; display:inline-block;
  transition:transform .22s var(--ease), box-shadow .22s var(--ease); }
.btn-fill{ background:var(--cta-bg); color:var(--cta-ink); }
.btn-fill:hover{ transform:translateY(-3px); box-shadow:var(--shadow-cta); }
.btn-ghost{ border:2px solid var(--line-strong); color:var(--ink); }
.btn-ghost:hover{ transform:translateY(-3px); border-color:var(--acc); }

/* ---------- contact ---------- */
.contact-lines{ margin-top:30px; font-size:.96rem; color:var(--ink-dim); line-height:1.85; }
.contact-lines strong{ color:var(--ink); }
.footer-logo{ height:64px; border-radius:6px; margin-bottom:18px; }

/* ---------- entrance states ---------- */
.split-char{ display:inline-block; opacity:0; transform:translateY(.42em); }
.split-word{ display:inline-block; }
.mask-wipe{ clip-path:inset(0 100% 0 0); }
.wipe-diag{ clip-path:polygon(0 0, 0 0, 0 100%, 0 100%); }
.scale-punch{ opacity:0; transform:scale(.74); }
.blur-focus{ opacity:0; filter:blur(16px); }
.rise-rotate{ opacity:0; transform:translateY(46px) rotate(-2.5deg); }
.reveal{ opacity:0; }
.reveal[data-dir="left"]{ transform:translateX(-54px); }
.reveal[data-dir="right"]{ transform:translateX(54px); }
.reveal[data-dir="up"]{ transform:translateY(46px); }
.reveal[data-dir="scale"]{ transform:scale(.9); }

body.js-anim-failed .split-char, body.js-anim-failed .mask-wipe, body.js-anim-failed .wipe-diag,
body.js-anim-failed .scale-punch, body.js-anim-failed .blur-focus, body.js-anim-failed .rise-rotate,
body.js-anim-failed .reveal,
body.motion-off .split-char, body.motion-off .mask-wipe, body.motion-off .wipe-diag,
body.motion-off .scale-punch, body.motion-off .blur-focus, body.motion-off .rise-rotate,
body.motion-off .reveal{
  opacity:1 !important; transform:none !important; filter:none !important; clip-path:none !important;
}

/* ---------- responsive ---------- */
@media (max-width:1100px){ .g5{ grid-template-columns:repeat(3,1fr); } .g4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px){
  .dots{ display:none; }
  .split{ grid-template-columns:1fr; text-align:center; }
  .split .col-text{ order:1 !important; text-align:center; }
  .split .col-photo{ order:2 !important; }
  .split .lede{ margin-left:auto; margin-right:auto; }
  .split .eyebrow{ justify-content:center; }
  .actions, .stats, .trust{ justify-content:center; }
  .g3,.g2{ grid-template-columns:repeat(2,1fr); }
  .step:hover{ padding-left:0; }
}
@media (max-width:640px){
  .testflag{ font-size:.6rem; padding:5px 11px; }
  .nav-phone{ display:none; }
  .nav-cta{ font-size:.82rem; padding:10px 17px; }
  .panel{ height:190vh; } .panel.short{ height:162vh; } .panel.tall{ height:225vh; }
  .g5,.g4,.g3,.g2{ grid-template-columns:repeat(2,1fr); }
  .grid{ gap:10px; margin-top:24px; }
  h2.head{ font-size:clamp(1.9rem,8.5vw,2.4rem); }
  h2.head.mid{ font-size:clamp(1.6rem,7vw,2rem); }
  .lede{ font-size:.96rem; margin-top:15px; }
  .eyebrow{ font-size:.72rem; margin-bottom:12px; }
  .photo-frame, .ba-wrap{ max-width:225px; }
  .stats{ gap:18px 24px; margin-top:22px; }
  .stat-num{ font-size:1.65rem; } .stat-label{ font-size:.74rem; margin-top:3px; }
  .trust{ gap:8px; margin-top:20px; } .trust b{ font-size:.73rem; padding:8px 12px; }
  .card{ padding:17px 13px; gap:9px; }
  .card h3{ font-size:.9rem; } .card p{ font-size:.8rem; }
  .card .ico{ width:40px; height:40px; font-size:1.15rem; }
  .card.numbered{ min-height:0; padding:19px 15px; gap:9px; }
  .card.numbered .n{ font-size:1.9rem; }
  .card.numbered p.big{ font-size:.98rem; }
  .card.numbered p:not(.big){ display:none; }
  #serviceGrid{ grid-template-columns:repeat(3,1fr); gap:7px; margin-top:18px; }
  #serviceGrid .card{ padding:10px 6px; gap:6px; align-items:center; text-align:center; }
  #serviceGrid .card .ico{ width:29px; height:29px; }
  #serviceGrid .card h3{ font-size:.68rem; line-height:1.22; }
  .tile{ padding:17px 9px; gap:10px; }
  .tile img{ width:44px; height:44px; }
  .tile span{ font-size:.83rem; }
  .quote{ min-height:0; padding:18px 15px; gap:11px; }
  .quote p{ font-size:.87rem; line-height:1.38; }
  .quote::before{ font-size:5rem; top:-14px; right:8px; }
  .quote .stars{ font-size:1rem; letter-spacing:2px; }
  .quote .who{ font-size:.82rem; padding-top:11px; gap:8px; }
  .quote .who::before{ width:28px; height:28px; font-size:.72rem; }
  .quote .who em{ font-size:.68rem; }
  .nav-logo{ height:44px; }
  .footer-logo{ height:48px; margin-bottom:13px; }
  .emph-switch{ bottom:auto; top:84px; left:50%; transform:translateX(-50%); padding:4px; }
  .emph-switch b{ display:none; }
  .emph-switch button{ font-size:.7rem; padding:7px 11px; }
  .steps{ margin-top:18px; } .step{ padding:12px 0; gap:13px; }
  .step .num{ width:38px; height:38px; font-size:.95rem; }
  .step h3{ font-size:1rem; } .step p{ font-size:.84rem; }
  .area{ padding:8px 13px; font-size:.78rem; } .areas{ gap:6px; margin-top:19px; }
  .filters{ gap:7px; margin-top:20px; } .chip{ padding:9px 15px; font-size:.83rem; }
  .faq-q{ font-size:.98rem; padding:16px 0; } .faq-a p{ font-size:.88rem; padding-bottom:16px; }
  .actions{ margin-top:22px; gap:10px; } .btn{ padding:13px 21px; font-size:.9rem; }
  .contact-lines{ margin-top:20px; font-size:.85rem; line-height:1.68; }
  .footer-logo{ height:29px; margin-bottom:11px; }
}
