/* fonts */
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500-italic-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:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500-italic-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:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-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:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-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:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-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:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-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:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-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:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-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:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-serif-4-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:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-serif-4-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:"Cormorant Garamond Fallback";font-style:italic;font-weight:500;src:local("Times New Roman Italic"),local("Liberation Serif Italic"),local("Tinos Italic");size-adjust:88.22%;ascent-override:104.74%;descent-override:32.53%;line-gap-override:0%}
@font-face{font-family:"Cormorant Garamond Fallback";font-style:normal;font-weight:500;src:local("Times New Roman"),local("Liberation Serif"),local("Tinos");size-adjust:97.05%;ascent-override:95.21%;descent-override:29.57%;line-gap-override:0%}
@font-face{font-family:"Cormorant Garamond Fallback";font-style:normal;font-weight:600;src:local("Times New Roman Bold"),local("Liberation Serif Bold"),local("Tinos Bold");size-adjust:91.21%;ascent-override:101.3%;descent-override:31.46%;line-gap-override:0%}
@font-face{font-family:"Source Serif 4 Fallback";font-style:normal;font-weight:400;src:local("Times New Roman"),local("Liberation Serif"),local("Tinos");size-adjust:118.89%;ascent-override:87.14%;descent-override:28.18%;line-gap-override:0%}
@font-face{font-family:"Source Serif 4 Fallback";font-style:normal;font-weight:600;src:local("Times New Roman Bold"),local("Liberation Serif Bold"),local("Tinos Bold");size-adjust:111.74%;ascent-override:92.72%;descent-override:29.98%;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:#1a1714;--pl-fg:#edebe6;--pl-accent:#f2b25c;--pl-on-accent:#1a1714;--pl-font:"Urbanist",system-ui,sans-serif;--pl-display:"Urbanist",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 */
/* West Seattle Handyman and Design — letterhead: one sheet of paper, ink and a slate-green engraver's rule */
*,*::before,*::after{box-sizing:border-box}
:root{--paper:#fbf9f4;--ground:#ede9df;--band:#f1ede2;--ink:#1d1f24;--ink2:#4a4d54;--eng:#35503f;--rule:#c9c3b3}
html{scroll-behavior:smooth;scroll-padding-top:4rem}
body{margin:0;background:var(--ground);color:var(--ink);font:400 1.125rem/1.65 "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;padding-bottom:4.5rem}
a{color:var(--eng);text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
img{max-width:100%;height:auto;display:block}
.skip-link{position:absolute;left:-999px}.skip-link:focus{left:1rem;top:1rem;background:var(--paper);padding:.5rem 1rem;z-index:20}
.label,.sign .label{font:600 .9375rem/1.3 "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;font-variant:small-caps;letter-spacing:.08em;text-transform:lowercase;color:var(--eng);margin:0;display:block}
h2.label{margin-bottom:1rem}

.top{background:var(--paper);border-bottom:1px solid var(--rule)}
.top__in{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1.25rem;width:min(100% - 1.5rem,72rem);margin-inline:auto;padding-block:.5rem}
.top__name{font:600 1.15rem/1.15 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;letter-spacing:.03em;color:var(--ink);text-decoration:none;min-height:44px;display:flex;align-items:center;max-width:11rem}
.top__links{display:none}
.top__call{display:flex;flex:none;align-items:center;min-height:44px;padding:0 .9rem;border:1px solid var(--eng);font-weight:600;text-decoration:none;white-space:nowrap}

.sheet{width:min(100% - 1rem,60rem);margin:1.25rem auto 2rem;background:var(--paper);border:1px solid var(--rule)}
.letterhead{padding:1.5rem 1.25rem 0}
.letterhead__name{display:flex;align-items:center;gap:1rem}
.seal{width:72px;height:72px;flex:none;border-radius:50%}
.wordmark{margin:0;font:600 clamp(1.9rem,8.5vw,3.5rem)/1.05 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;letter-spacing:.04em;color:var(--eng)}
.rule{display:block;height:1px;background:var(--eng);margin:1.1rem 0 0;transform-origin:left}
.letterhead__body{display:grid;gap:1.75rem;padding:1.75rem 0 2.25rem}
h1{margin:0 0 1rem;font:600 clamp(2rem,8vw,3rem)/1.1 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;color:var(--ink)}
.lede{margin:0 0 1.5rem;max-width:34rem}
.actions{display:grid;gap:.75rem;margin:0 0 1rem}
.tbtn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:.5rem 1.25rem;border:1px solid var(--eng);color:var(--eng);font-weight:600;text-decoration:none;background:transparent;transition:background .2s,color .2s}
.tbtn:hover{background:var(--eng);color:var(--paper)}
.rated{margin:0;color:var(--ink2);font-size:1rem}
.block{font-style:normal;display:flex;flex-direction:column;gap:.15rem;border-top:1px solid var(--rule);padding-top:1rem;font-size:1rem}
.block .label{margin-top:.75rem}.block .label:first-child{margin-top:0}
.block a{min-height:44px;display:inline-flex;align-items:center;width:fit-content}

.part{padding:1.75rem 1.25rem;border-top:1px solid var(--rule)}
.pairs{margin:0;display:grid}
.pairs div{display:grid;gap:.15rem;padding:.9rem 0;border-bottom:1px solid var(--rule)}
.pairs div:last-child{border-bottom:0}
dt{font:600 1.45rem/1.2 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif}
dd{margin:0;color:var(--ink2);font-size:1rem}
.letter{max-width:38rem}
.letter p{margin:0 0 1.1rem}
.pull{font:italic 500 1.65rem/1.25 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;color:var(--eng)}
.sign{border-top:1px solid var(--eng);padding-top:.6rem;width:fit-content;min-width:12rem;margin-top:1.75rem!important}
.sign span:first-child{font:600 1.5rem/1.2 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;display:block}
.enclosures{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}
.enclosures figure{margin:0;border:1px solid var(--rule);padding:.4rem;background:#fff}
.enclosures img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.enclosures figcaption{font-size:.9375rem;line-height:1.3;padding-top:.4rem;color:var(--ink2)}
.part--band{background:var(--band)}
.quotes{display:grid;gap:1.5rem}
.quotes figure{margin:0;border-left:2px solid var(--eng);padding-left:1rem;margin-left:.25rem}
.quotes blockquote{margin:0}
.quotes p{margin:0 0 .5rem}
.quotes figcaption{font:600 .9375rem/1.3 "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;font-variant:small-caps;letter-spacing:.08em;color:var(--eng)}
.office{display:grid;gap:1.5rem}
.office address{font-style:normal;display:flex;flex-direction:column;gap:.1rem}
.office address a{min-height:44px;display:inline-flex;align-items:center;width:fit-content}
.hours{margin:0;max-width:22rem}
.hours div{display:flex;justify-content:space-between;gap:1rem;padding:.25rem 0;border-bottom:1px dotted var(--rule)}
.hours dt,.hours dd{font:400 1rem/1.5 "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;color:var(--ink)}
.slipnote{margin:0 0 1.25rem;max-width:34rem}
.slipnote a{display:inline-flex;align-items:center;min-height:44px}
.studio-form{max-width:34rem}
.studio-form__field{display:grid;gap:.2rem;margin-bottom:1rem}
.studio-form label{font:600 .9375rem/1.3 "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;font-variant:small-caps;letter-spacing:.08em;color:var(--eng)}
.studio-form input,.studio-form textarea{width:100%;font:inherit;min-height:2.9rem;padding:.4rem 0;background:transparent;border:0;border-bottom:1px solid var(--ink);border-radius:0;color:var(--ink)}
.studio-form textarea{min-height:7rem;background:repeating-linear-gradient(transparent 0 1.9rem,var(--rule) 1.9rem calc(1.9rem + 1px));line-height:2rem}
.studio-form input:focus,.studio-form textarea:focus{outline:2px solid var(--eng);outline-offset:2px}
.studio-form__submit{min-height:48px;padding:.5rem 1.5rem;border:1px solid var(--eng);background:transparent;color:var(--eng);font:600 1.0625rem "Source Serif 4","Source Serif 4 Fallback",Georgia,serif;cursor:pointer}
.studio-form__submit:hover{background:var(--eng);color:var(--paper)}
.studio-form__status{margin:.75rem 0 0;font-size:1rem}
.studio-form__status[data-state="error"]{color:#9b1c1c}

.foot{width:min(100% - 1.5rem,60rem);margin:0 auto;padding:1rem 0 2rem;text-align:left;font-size:1rem;color:var(--ink2)}
.foot p{margin:0 0 .25rem}
.foot__name{font:600 1.3rem/1.2 "Cormorant Garamond","Cormorant Garamond Fallback",Georgia,serif;letter-spacing:.04em;color:var(--eng)}
.foot a{display:inline-flex;align-items:center;min-height:44px}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:10;display:grid;grid-template-columns:1fr 1fr;background:var(--paper);border-top:1px solid var(--eng)}
.bar a{display:flex;align-items:center;justify-content:center;min-height:52px;font-weight:600;text-decoration:none;color:var(--eng);font-variant:small-caps;letter-spacing:.08em;font-size:1.125rem}
.bar a+a{border-left:1px solid var(--rule)}

@media (min-width:48rem){
  body{padding-bottom:0}
  .bar{display:none}
  .top__links a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}
  .top__links a:hover{text-decoration:underline}
  .top__name{max-width:none;font-size:1.3rem}
  .sheet{margin-top:2rem}
  .letterhead{padding:2.5rem 3rem 0}
  .part{padding:2.25rem 3rem}
  .letterhead__body{grid-template-columns:1.6fr 1fr;gap:3rem;padding-bottom:3rem}
  .block{border-top:0;border-left:1px solid var(--rule);padding:0 0 0 1.5rem}
  .actions{grid-template-columns:repeat(2,max-content)}
  .pairs{grid-template-columns:1fr 1fr;column-gap:3rem}
  .pairs div:nth-last-child(2){border-bottom:0}
  .quotes{grid-template-columns:1fr 1fr;gap:2rem 2.5rem}
  .office{grid-template-columns:1fr 1fr}
  .enclosures{gap:1.25rem}
  .enclosures figure{padding:.75rem}
}
@media (min-width:60rem){.top__links{display:flex;gap:.25rem 1.25rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
