/* fonts */
@font-face{font-family:"Outfit";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Outfit";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Outfit";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Outfit";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-hyperlegible-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-hyperlegible-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-hyperlegible-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-hyperlegible-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Atkinson Hyperlegible Fallback";font-style:normal;font-weight:400;src:local("Arial"),local("Liberation Sans"),local("Arimo");size-adjust:99.96%;ascent-override:95.04%;descent-override:29.01%;line-gap-override:0%}
@font-face{font-family:"Atkinson Hyperlegible Fallback";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:100.72%;ascent-override:94.32%;descent-override:28.79%;line-gap-override:0%}
/* kit */
/* Studio kit — the states motion.js animates between, hidden only under html.kit-anim (assemble
   sets it). A root motion.js has not marked .kit-ready by 3 s (JS off, blocked, broken) shows every
   [data-reveal] and split word; design CSS that waits for .is-in is not covered (reveal-audit finds it). */

[data-reveal] { --kit-delay: 0ms; }
.kit-anim [data-reveal]:not(.is-in) { opacity: 0; }
.kit-anim [data-reveal="up"]:not(.is-in), .kit-anim [data-reveal=""]:not(.is-in) { transform: translate3d(0, 28px, 0); }
.kit-anim [data-reveal="scale"]:not(.is-in) { transform: scale(.94); }
.kit-anim [data-reveal="clip"]:not(.is-in) { opacity: 1; clip-path: inset(100% 0 0 0); }
[data-reveal].is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--kit-delay), transform .9s cubic-bezier(.2,.7,.2,1) var(--kit-delay), clip-path 1.1s cubic-bezier(.7,0,.2,1) var(--kit-delay);
}

.kit-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.kit-wi { display: inline-block; }
.kit-anim [data-split]:not(.is-in) .kit-wi { transform: translate3d(0, 105%, 0); }
[data-split].is-in .kit-wi { transform: none; transition: transform .9s cubic-bezier(.2,.75,.2,1) calc(var(--kit-i, 0) * 45ms); }

/* The 3 s fallback lives in CSS because the CSP blocks any inline script. motion.js starting within
   3 s adds .kit-ready and cancels it unseen; a later start hides again what is not yet scrolled to. */
.kit-anim:not(.kit-ready) [data-reveal]:not(.is-in), .kit-anim:not(.kit-ready) [data-split]:not(.is-in) .kit-wi { animation: kit-shown 0s 3s forwards; }
@keyframes kit-shown { to { opacity: 1; transform: none; clip-path: none; } }

[data-marquee] { display: flex; overflow: hidden; gap: var(--kit-gap, 2rem); }
[data-marquee] > * { flex: none; display: flex; gap: var(--kit-gap, 2rem); }
/* Until motion.js moves it (JS off, blocked) the row scrolls instead of clipping, so every item can be read. */
[data-marquee]:not(.is-moving) { overflow-x: auto; scrollbar-width: none; }
[data-marquee]:not(.is-moving)::-webkit-scrollbar { display: none; }
[data-marquee].is-moving > * { animation: kit-marquee var(--kit-speed, 30s) linear infinite; }
[data-marquee].is-moving:hover > * { animation-play-state: paused; }
@keyframes kit-marquee { to { transform: translate3d(calc(-100% - var(--kit-gap, 2rem)), 0, 0); } }

[data-tilt], [data-magnetic] { transition: transform .35s cubic-bezier(.2,.7,.2,1); will-change: transform; }

/* The host isolates, so the canvas (z -1) paints over the host's background and under its
   content. Overlay effects (grain, liquid) raise their own canvas inline. */
[data-fx] { position: relative; isolation: isolate; }
.kit-fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; z-index: -1; }
.fx-on > .kit-fx-canvas { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .kit-anim [data-reveal]:not(.is-in), .kit-anim [data-split]:not(.is-in) .kit-wi { opacity: 1; transform: none; clip-path: none; }
  [data-marquee] { flex-wrap: wrap; }
  [data-marquee] > * { animation: none !important; flex-wrap: wrap; }
}

/* Defaults that keep the touch and desktop audits clean unless a design says otherwise. :where()
   gives them no specificity, so any rule a designer writes wins. min-height and min-width have no
   effect on an inline text link, which is exactly what render-audit exempts (a11y/touch measures
   a[class], buttons, summaries, selects that are not display:inline). An image is capped at 80% of
   the screen's height, the desktop audit's image-tall line, and crops rather than squashes. */
:where(a[class], button, summary, [role="button"], select) { min-height: 44px; min-width: 44px; }
:where(img) { max-height: 80vh; object-fit: cover; }

/* plumbing */
:root{--pl-bg:#F7F5F0;--pl-fg:#161A19;--pl-accent:#B5261C;--pl-on-accent:#FFFFFF;--pl-font:"Atkinson Hyperlegible",system-ui,sans-serif;--pl-display:"Outfit",Georgia,serif}
/* Studio plumbing pages (buy.html, thanks.html) and the form trap. Palette and type come
   from the site's design through four custom properties assemble.mjs writes at the top. */
*, *::before, *::after { box-sizing: border-box; }
body.studio-page { margin: 0; background: var(--pl-bg); color: var(--pl-fg); font: 400 1.0625rem/1.6 var(--pl-font); }
.studio-page main { max-width: 40rem; margin: 0 auto; padding: clamp(2.5rem, 8vw, 6rem) max(1.25rem, env(safe-area-inset-right, 0px)) 3rem max(1.25rem, env(safe-area-inset-left, 0px)); }
.studio-page h1 { font: 400 clamp(2rem, 1.4rem + 3vw, 3.2rem)/1.05 var(--pl-display); letter-spacing: -.01em; margin: 0 0 1.25rem; text-wrap: balance; }
.studio-page p { margin: 0 0 1.1rem; }
.studio-page a { color: inherit; text-underline-offset: .2em; }
.studio-page .buy__terms { font-size: .95rem; opacity: .85; }
.studio-page .btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--pl-fg); color: var(--pl-bg); font-weight: 650; text-decoration: none; }
.studio-page .btn--quiet { background: transparent; color: inherit; border: 1px solid currentColor; }
.studio-page .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.studio-page .studio-page__head { max-width: 40rem; margin: 0 auto; padding: 1.25rem max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; }
.studio-page .studio-page__head a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
.studio-page footer { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem 2rem; font-size: .9rem; opacity: .75; }
.studio-page :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 2147483001; padding: .5rem 1rem; background: #fff; color: #000; }
img, video { max-width: 100%; height: auto; }
.form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* design */
/* YP Septic Excavations — wordmark: the name set wall to wall in the red of its own sign, standing on the trench photo like letters on a fascia */
:root{--bg:#F7F5F0;--fg:#161A19;--ink:#B5261C;--deep:#161A19;--paper:#F7F5F0;--pad:20px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font-family:"Atkinson Hyperlegible","Atkinson Hyperlegible Fallback",system-ui,sans-serif;font-size:18px;line-height:1.55;padding-bottom:64px}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.skip-link{position:absolute;left:8px;top:-60px;background:var(--fg);color:#fff;padding:12px 16px;z-index:100}
.skip-link:focus{top:8px}
h1,h2,h3,.brand,.pill,.btn,.tab,.rows__n,.score__n,.contact__phone,.foot__name,.callbar{font-family:Outfit,system-ui,sans-serif}
.wrap{max-width:1280px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* header */
.top{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid #d9d5cb}
.top__in{max-width:1280px;margin:0 auto;padding:8px var(--pad);min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:none;font-weight:700;text-decoration:none;letter-spacing:-.02em;font-size:20px}
nav{display:none;gap:8px}
nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;text-decoration:none;font-weight:600}
nav a:hover{color:var(--ink)}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700;font-size:22px;white-space:nowrap;margin-left:auto}

/* hero */
.hero{max-width:1280px;margin:0 auto;padding:28px var(--pad) 0}
h1{margin:0;font-weight:700;font-size:15vw;line-height:.86;letter-spacing:-.03em;color:var(--ink);padding-bottom:.08em;height:2.66em}
.hero__line{margin:20px 0 0;font-size:20px;font-weight:700}
.hero__phone{margin:16px 0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700;font-size:22px;white-space:nowrap;border:0;cursor:pointer}
.btn--wide{width:100%}
.hero__photo{margin:0;position:relative}
.hero__photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tab{display:none}

/* statement */
.say{max-width:1280px;margin:0 auto;padding:56px var(--pad) 48px}
.say p{margin:0;max-width:20em;font-family:Outfit,system-ui,sans-serif;font-weight:600;font-size:30px;line-height:1.15;letter-spacing:-.01em}

/* bands */
.band{background:var(--deep);color:var(--paper);padding:56px 0 64px}
h2{margin:0 0 28px;font-weight:600;font-size:36px;line-height:1.05;letter-spacing:-.02em}
h3{margin:28px 0 10px;font-weight:600;font-size:22px}
.rows{list-style:none;margin:0;padding:0;border-top:1px solid #4a5250}
.rows li{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:72px;padding:14px 44px 14px 0;border-bottom:1px solid #4a5250;position:relative;transition:background .2s,padding .2s}
.rows li::after{content:"";position:absolute;right:6px;top:50%;width:12px;height:12px;border-top:3px solid currentColor;border-right:3px solid currentColor;transform:translateY(-50%) rotate(45deg)}
.rows__n{font-weight:600;font-size:24px;line-height:1.15}
.rows__d{font-size:17px;opacity:.88}
.rows li:hover{background:var(--ink);padding-left:14px;color:#fff}

/* reviews */
.reviews{padding-top:64px;padding-bottom:72px}
.score{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:-12px 0 36px;font-size:19px;font-weight:700}
.score__n{font-size:56px;font-weight:700;color:var(--ink);line-height:1}
.quotes{display:grid;gap:40px}
.quotes figure{margin:0;border-left:6px solid var(--ink);padding-left:20px}
.quotes blockquote{margin:0}
.quotes p{margin:0;font-size:23px;line-height:1.35}
.quotes p::before{content:"\201C"}
.quotes p::after{content:"\201D"}
.quotes figcaption{margin-top:12px;font-weight:700;font-size:17px;text-transform:uppercase;letter-spacing:.04em}

/* contact */
.contact__in{display:grid;gap:40px}
.contact__phone{margin:0 0 16px}
.contact__phone a{display:block;font-weight:700;font-size:9.2vw;line-height:1;letter-spacing:-.03em;text-decoration:none;white-space:nowrap}
.contact__addr{margin:0}
.contact__addr a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.hours{list-style:none;margin:0;padding:0;max-width:340px}
.hours li{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid #4a5250}
.studio-form{display:grid;gap:16px}
.studio-form__field{display:grid;gap:6px}
.studio-form label{font-weight:700}
.studio-form input,.studio-form textarea{font:inherit;font-size:18px;min-height:48px;padding:10px 12px;background:var(--paper);color:var(--fg);border:2px solid var(--paper);border-radius:0;width:100%}
.studio-form textarea{min-height:140px}
.studio-form__submit{font:inherit;font-family:Outfit,system-ui,sans-serif;font-weight:700;font-size:20px;min-height:52px;padding:0 28px;background:var(--ink);color:#fff;border:2px solid #fff;cursor:pointer}
.studio-form__status{margin:0;min-height:1.5em}
.studio-form__status[data-state="error"]{color:#ffd9d4;font-weight:700}

/* footer */
.foot{background:var(--deep);color:var(--paper);padding:0 0 40px;border-top:1px solid #4a5250}
.foot .wrap{padding-top:36px}
.foot__name{margin:0;font-weight:700;font-size:11.5vw;line-height:.9;letter-spacing:-.03em}
.foot__meta{margin:16px 0 0}
.foot__meta a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}

.callbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;justify-content:center;min-height:56px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700;font-size:22px}

@media (min-width:720px){
  :root{--pad:32px}
  body{padding-bottom:0}
  .callbar{display:none}
  .brand{display:block}
  nav{display:flex}
  .pill{margin-left:0}
  .hero{padding-top:40px}
  h1{font-size:10.4vw;height:1.8em}
  .hero__line,.hero__phone{display:none}
  .hero__photo img{aspect-ratio:16/7}
  .tab{display:flex;align-items:stretch;position:absolute;left:0;bottom:0;background:var(--ink);color:#fff}
  .tab__l{display:flex;align-items:center;padding:0 24px;font-weight:600;font-size:20px;min-height:56px}
  .tab__call{display:flex;align-items:center;padding:0 24px;background:var(--fg);color:#fff;text-decoration:none;font-weight:700;font-size:22px;min-height:56px;white-space:nowrap}
  .say p{font-size:40px}
  h2{font-size:48px}
  .rows li{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;min-height:80px}
  .rows__n{font-size:30px}
  .rows__d{max-width:26em;text-align:right;padding-right:8px}
  .quotes{grid-template-columns:repeat(3,1fr);gap:32px}
  .contact__in{grid-template-columns:1.1fr 1fr;gap:64px}
  .contact__phone a{font-size:5.6vw}
  .foot__name{font-size:7vw}
}
@media (min-width:1300px){h1{font-size:150px}.contact__phone a{font-size:76px}.foot__name{font-size:96px}}
