/* fonts */
@font-face{font-family:"Cinzel";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cinzel-500-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:"Cinzel";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cinzel-500-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:"Cinzel";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cinzel-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:"Cinzel";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cinzel-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:"Karla";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/karla-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:"Karla";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/karla-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:"Karla";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/karla-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:"Karla";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/karla-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:"Cinzel Fallback";font-style:normal;font-weight:500;src:local("Times New Roman"),local("Liberation Serif"),local("Tinos");size-adjust:140.39%;ascent-override:69.52%;descent-override:26.5%;line-gap-override:0%}
@font-face{font-family:"Cinzel Fallback";font-style:normal;font-weight:600;src:local("Times New Roman Bold"),local("Liberation Serif Bold"),local("Tinos Bold");size-adjust:131.95%;ascent-override:73.97%;descent-override:28.19%;line-gap-override:0%}
@font-face{font-family:"Karla Fallback";font-style:normal;font-weight:400;src:local("Arial"),local("Liberation Sans"),local("Arimo");size-adjust:103.53%;ascent-override:88.57%;descent-override:24.34%;line-gap-override:0%}
@font-face{font-family:"Karla Fallback";font-style:normal;font-weight:600;src:local("Arial Bold"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:95.76%;ascent-override:95.76%;descent-override:26.32%;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 — big sky: haze-blue field, drawn trench horizon, dusk bands */
:root{--sky:#d3e0e8;--ink:#2c2a1c;--dusk:#2c2a1c;--dtext:#d3e0e8;--sand:#c9b48a;--soil:#6b5a3c;--acc:#a8410b;--cin:'Cinzel','Cinzel Fallback',serif;--kar:'Karla','Karla Fallback',sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sky);color:var(--ink);font-family:var(--kar);font-size:17px;line-height:1.6;padding-bottom:64px}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--cin);text-transform:uppercase;letter-spacing:.08em;margin:0;font-weight:500;line-height:1.2}
.skip-link{position:absolute;left:8px;top:-60px;background:var(--ink);color:var(--sky);padding:12px 16px;z-index:50}
.skip-link:focus{top:8px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--acc);outline-offset:3px}
.dusk a:focus-visible,.dusk input:focus-visible,.dusk textarea:focus-visible,.dusk button:focus-visible{outline-color:#f0c9a8}

.top{position:sticky;top:0;z-index:20;background:var(--sky);border-bottom:1px solid rgba(44,42,28,.25)}
.top__in{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1280px;margin:0 auto;padding:6px 20px;min-height:56px}
.brand{font-family:var(--cin);font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;font-size:18px;display:inline-flex;align-items:center;min-height:44px}
.top nav{display:none}
.top__call{font-weight:600;text-decoration:none;white-space:nowrap;background:var(--acc);color:#fff;padding:0 16px;min-height:44px;display:inline-flex;align-items:center}
@media(min-width:820px){.top nav{display:flex;gap:6px}.top nav a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 12px;font-weight:600}.top nav a:hover{text-decoration:underline}.top__in{padding:6px 40px}body{padding-bottom:0}.stickycall{display:none!important}}

.hero__in{max-width:1280px;margin:0 auto;padding:40px 20px 28px}
.label{font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:14px;margin:0 0 18px}
h1{font-weight:600;font-size:clamp(30px,8vw,80px);overflow-wrap:break-word}
.horizon{display:flex;flex-direction:column;gap:16px;margin-top:26px}
.horizon__rule{display:block;height:1px;background:var(--ink);width:100%}
.btn{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;background:var(--acc);color:#fff;font-weight:600;font-size:18px;text-decoration:none;white-space:nowrap}
.btn:hover{background:#8a3508}
.hero__row{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.hero__sub{margin:0;font-size:18px;max-width:46ch}
.hero__rate{margin:0;font-weight:600}
@media(min-width:820px){
 .hero__in{padding:64px 40px 40px}
 .horizon{flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:0;margin-top:30px}
 .horizon__rule{flex:1}
 .horizon .btn{margin-left:24px}
 .hero__row{flex-direction:row;justify-content:space-between;align-items:baseline;gap:40px;margin-top:20px}
}
.land{height:clamp(120px,22vw,260px);background:linear-gradient(#cdbb94 0 14%,var(--sand) 14% 52%,#8a7650 52% 76%,var(--soil) 76%);position:relative;overflow:hidden}
.land__trench{position:absolute;left:6%;right:6%;top:30%;bottom:-8%;display:flex;gap:3.2%;align-items:flex-start;justify-content:center}
.land__trench i{flex:1;max-width:19%;height:78%;background:repeating-linear-gradient(90deg,#17150e 0 9px,#2c2a1c 9px 14px);border-radius:60% 60% 0 0/80% 80% 0 0;box-shadow:inset 0 6px 0 rgba(255,255,255,.07)}
.land::after{content:"";position:absolute;left:6%;right:6%;bottom:0;height:7%;background:#1f8f93}

.sky{background:var(--sky)}
.narrow{max-width:760px;margin:0 auto;padding:56px 20px}
.narrow.wide{max-width:1000px}
.about .narrow{padding:48px 20px 24px}
.lede{font-size:clamp(20px,2.4vw,24px);line-height:1.5;max-width:60ch;margin:0 0 20px}
h2{font-size:clamp(26px,4vw,34px);margin-bottom:28px}
.dusk{background:var(--dusk);color:var(--dtext)}
.dusk .narrow{padding:64px 20px}
.dusk h2{color:var(--dtext)}
.rows{list-style:none;margin:0;padding:0;border-top:1px solid rgba(211,224,232,.35)}
.rows li{padding:22px 0;border-bottom:1px solid rgba(211,224,232,.35);display:grid;gap:4px}
.rows h3{font-size:clamp(18px,2.4vw,22px);text-decoration:underline transparent;text-underline-offset:6px;transition:text-decoration-color .2s}
.rows li:hover h3{text-decoration-color:var(--dtext)}
.rows p{margin:0;max-width:60ch}
@media(min-width:820px){.rows li{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:baseline}}

.work .narrow{padding-bottom:20px}
.cap{margin:-12px 0 0;font-size:17px}
.band{margin:0;padding:0 0 56px}
.band img{width:100%;aspect-ratio:21/9;object-fit:cover}
@media(max-width:700px){.band img{aspect-ratio:4/3}}
.score{font-weight:600;margin:-12px 0 28px}
.quotes{display:grid;gap:0}
.quotes figure{margin:0;padding:30px 0;border-top:1px solid rgba(44,42,28,.3)}
.quotes blockquote{margin:0;font-size:clamp(20px,2.4vw,24px);line-height:1.5;max-width:56ch}
.quotes blockquote p{margin:0}
.quotes blockquote p::before{content:"\201C"}
.quotes blockquote p::after{content:"\201D"}
.quotes figcaption{margin-top:14px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;font-size:14px}
@media(min-width:900px){.quotes{grid-template-columns:1fr 1fr;column-gap:56px}}

.bigphone{margin:0 0 40px}
.bigphone a{font-weight:600;font-size:clamp(34px,10vw,56px);text-decoration:none;white-space:nowrap;display:inline-block;min-height:44px}
.contact__cols{display:grid;gap:44px}
@media(min-width:900px){.contact__cols{grid-template-columns:1fr 1fr;gap:72px}}
.contact h3{font-size:18px;margin-bottom:16px}
.hours{list-style:none;margin:0 0 20px;padding:0;max-width:300px}
.hours li{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid rgba(211,224,232,.25)}
.hours span{font-weight:600}
.addr{margin:0 0 8px}
.link{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.studio-form{display:grid;gap:16px}
.studio-form__field{display:grid;gap:6px}
.studio-form label{font-weight:600}
.studio-form input,.studio-form textarea{font:inherit;font-size:17px;padding:12px;min-height:48px;background:#e9f0f4;color:var(--ink);border:1px solid #e9f0f4;border-radius:0;width:100%}
.studio-form textarea{min-height:130px}
.studio-form__submit{font:inherit;font-weight:600;font-size:18px;min-height:52px;background:var(--acc);color:#fff;border:2px solid #d3e0e8;padding:0 28px;cursor:pointer;justify-self:start}
.studio-form__submit:hover{background:#8a3508}
.studio-form__status{margin:0;min-height:1.4em}
.studio-form__status[data-state="error"]{color:#ffd2b8}

.foot{background:var(--sky);padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;font-size:16px}
.foot p{margin:0}
.foot a{display:inline-block;min-height:44px;line-height:44px}
.seal{width:96px;height:96px;color:var(--ink)}
.seal text{font-family:var(--cin);font-weight:500;fill:currentColor;text-transform:uppercase}
.stickycall{position:fixed;left:0;right:0;bottom:0;z-index:30;min-height:56px;display:flex;align-items:center;justify-content:center;background:var(--acc);color:#fff;font-weight:600;font-size:18px;text-decoration:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.work__head{max-width:1600px;margin:0 auto;padding:56px 20px 20px}
@media(min-width:820px){.work__head{padding:56px 40px 20px}}
.work__head{text-align:center}.work__head .cap{margin-top:-12px}
