/* fonts */
@font-face{font-family:"Unbounded";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/unbounded-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:"Unbounded";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/unbounded-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:"Unbounded";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/unbounded-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:"Unbounded";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/unbounded-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:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/figtree-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:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/figtree-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:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/figtree-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:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/figtree-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;}
/* 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; }
/* A phone number is one word to a reader: it never splits at its hyphen or space, and a flex row cannot squeeze its box below its text (Aqua Man, Boise, Victor's, Mars, 2026-10). */
:where(a[href^="tel:"]) { white-space: nowrap; flex-shrink: 0; }

/* plumbing */
:root{--pl-bg:#faf8f3;--pl-fg:#1b1f27;--pl-accent:#1f3a5f;--pl-on-accent:#ffffff;--pl-font:"Source Serif 4",system-ui,sans-serif;--pl-display:"Cormorant Garamond",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; }
/* SP4, W234 (SW2): the footer's illustration line sits inset like a centred page wrap, never flush at the screen edge. One class, so a reset such as `footer p` or `*` loses to it and a design's own `.foot .kit-art-credit` still wins. */
.kit-art-credit { box-sizing: border-box; margin: 0; padding: .75rem max(1.25rem, calc((100% - 72rem) / 2 + 1.25rem)) 1rem; font-size: .875rem; line-height: 1.5; }

/* design */
/* Jed's Plumbing — colour strips: logo ink, copper pipe and water blue as flat hard-edged bands */
:root{--ink:#151515;--copper:#a8470f;--blue:#1d5a9e;--paper:#f7f3ee;--w:#fff;--rail:0px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.55 Figtree,system-ui,sans-serif;padding-right:var(--rail)}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,.brand span,.btn,.strip,.top__call{font-family:Unbounded,system-ui,sans-serif}
.skip-link{position:absolute;left:8px;top:-60px;background:var(--w);color:var(--ink);padding:12px 16px;z-index:50}
.skip-link:focus{top:8px}
:focus-visible{outline:3px solid var(--copper);outline-offset:3px}

.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:16px;background:var(--w);padding:8px 16px;border-bottom:4px solid var(--ink)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:56px;font-weight:800;font-size:15px;min-width:0}
.brand__logo{width:56px;height:56px}
.brand span{line-height:1.1}
.top__nav{display:none;margin-left:auto;gap:8px}
.top__nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;text-decoration:none;font-weight:500}
.top__call{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;background:var(--copper);color:var(--w);text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}

.hero{background:var(--paper)}
.hero h1{margin:0;font-weight:800;letter-spacing:-.02em;line-height:1.08;font-size:clamp(28px,8.2vw,44px)}
.hero h1 span{display:block;padding:.35em 16px}
.hero__a{background:var(--ink);color:var(--w)}
.hero__b{background:var(--copper);color:var(--w)}
.hero__sub{margin:20px 16px 0;font-size:19px;font-weight:500}
.hero__cta{margin:16px 16px 20px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 24px;background:var(--ink);color:var(--w);text-decoration:none;font-weight:700;font-size:15px}
.strips{display:flex;flex-direction:column}
.strip{display:flex;align-items:center;min-height:56px;padding:0 16px;text-decoration:none;font-weight:700;font-size:15px}
.strip--blue{background:var(--blue);color:var(--w)}
.strip--copper{background:var(--copper);color:var(--w)}
.strip--paper{background:var(--w);color:var(--ink);border-top:2px solid var(--ink)}
.strip--ink{background:var(--ink);color:var(--w)}

.sec{padding:48px 16px}
.sec__h{margin:0 0 24px;font-weight:800;font-size:clamp(24px,6vw,36px);letter-spacing:-.02em;line-height:1.15}
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:0}
.tile{padding:18px 14px;min-height:140px;font-weight:500;font-size:16px;line-height:1.35;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}
.tile strong{font-family:Unbounded,system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1.25}
.t-ink{background:var(--ink);color:var(--w)}
.t-copper{background:var(--copper);color:var(--w)}
.t-blue{background:var(--blue);color:var(--w)}
.t-paper{background:var(--w);color:var(--ink);border:3px solid var(--ink)}

.sec--proof{padding:48px 0 0;background:var(--w)}
.sec--proof .sec__h{padding:0 16px}
.q{margin:0;padding:36px 16px}
.q blockquote{margin:0}
.q p{margin:0 0 14px;font-weight:500;font-size:22px;line-height:1.35}
.q figcaption{font-size:16px;font-weight:500;opacity:1}
.q--ink{background:var(--ink);color:var(--w)}
.q--blue{background:var(--blue);color:var(--w)}
.q--copper{background:var(--copper);color:var(--w)}

.about{display:grid;gap:24px;background:var(--paper)}
.about__art{background:var(--w);border:12px solid var(--blue);padding:16px;max-width:360px}
.about__art img{width:100%;height:auto}
.about__txt{max-width:62ch}
.about__txt p{margin:0 0 16px}
.about__say{font-weight:500;font-size:20px}

.sec--hours{background:var(--w);border-top:4px solid var(--ink)}
.hours{margin:0;max-width:460px}
.hours div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:2px solid var(--ink)}
.hours dt,.hours dd{margin:0;font-weight:500}

.sec--contact{background:var(--ink);color:var(--w)}
.contact__call a{font-family:Unbounded,system-ui,sans-serif;font-weight:800;font-size:clamp(26px,8vw,44px);text-decoration:none;display:inline-block;padding:6px 0;letter-spacing:-.02em}
.contact__note{margin:0 0 24px}
.studio-form{display:grid;gap:16px;max-width:560px}
.studio-form__field{display:grid;gap:6px}
.studio-form label{font-weight:500}
.studio-form input,.studio-form textarea{font:inherit;min-height:48px;padding:10px 12px;border:2px solid var(--w);background:var(--w);color:var(--ink);border-radius:0;width:100%}
.studio-form textarea{min-height:120px}
.studio-form__submit{min-height:56px;padding:0 24px;border:0;background:var(--copper);color:var(--w);font:700 15px Unbounded,system-ui,sans-serif;cursor:pointer}
.studio-form__status{margin:0;min-height:1.5em}
.studio-form__status[data-state="error"]{color:#ffd9c7;font-weight:500}

.foot{background:var(--blue);color:var(--w);padding:32px 16px 24px;overflow:hidden}
.foot__mark{margin:0;font:800 7.4vw/1 Unbounded,system-ui,sans-serif;letter-spacing:-.03em;white-space:nowrap}
.foot__line{margin:20px 0 0;display:flex;flex-wrap:wrap;gap:8px 24px;font-weight:500}
.foot__line a{display:inline-flex;align-items:center;min-height:44px}

@media (min-width:900px){
  :root{--rail:224px}
  body{padding-right:var(--rail)}
  .top{padding:8px 32px}
  .top__nav{display:flex}
  .top__call{margin-left:16px}
  .brand{font-size:17px}
  .hero{padding:56px 0 64px}
  .hero h1{font-size:clamp(40px,5.6vw,80px)}
  .hero h1 span{padding:.3em 32px}
  .hero{display:grid;grid-template-columns:1fr auto;align-items:center}
  .hero h1,.strips{grid-column:1/-1}
  .hero__sub{margin:32px 0 0 32px;font-size:21px}
  .hero__cta{margin:32px 32px 0 16px}
  .strips{position:fixed;top:0;right:0;bottom:0;width:224px;flex-direction:row;z-index:30}
  .strip{flex:1;min-height:0;padding:0;writing-mode:vertical-rl;justify-content:center;font-size:15px;width:56px}
  .strip--paper{border-top:0;border-left:2px solid var(--ink)}
  .sec{padding:80px 32px}
  .tiles{grid-template-columns:repeat(3,1fr)}
  .tile{min-height:190px;font-size:17px;padding:24px 20px}
  .q{padding:56px 32px}
  .q p{font-size:30px;max-width:30em}
  .sec--proof .sec__h{padding:0 32px}
  .about{grid-template-columns:360px 1fr;gap:56px;align-items:start}
  .sec--hours,.sec--contact{display:grid;grid-template-columns:1fr 1fr;gap:32px 56px;align-items:start}
  .sec--hours .sec__h,.sec--contact .sec__h{margin:0}
  .hours{max-width:none}
  .foot{padding:48px 32px 32px}
  .foot__mark{font-size:6.2vw}
}
@media (min-width:1200px){.tiles{grid-template-columns:repeat(5,1fr)}.tile{min-height:220px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
