/* fonts */
@font-face{font-family:"IBM Plex Sans Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-condensed-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:"IBM Plex Sans Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-condensed-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:"IBM Plex Sans Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-condensed-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:"IBM Plex Sans Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-condensed-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:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-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:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-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:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-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:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-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:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-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:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-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:"IBM Plex Sans Condensed Fallback";font-style:normal;font-weight:600;src:local("Arial Bold"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:87.55%;ascent-override:117.07%;descent-override:31.41%;line-gap-override:0%}
@font-face{font-family:"IBM Plex Sans Condensed Fallback";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:88.8%;ascent-override:115.42%;descent-override:30.97%;line-gap-override:0%}
@font-face{font-family:"IBM Plex Sans Fallback";font-style:normal;font-weight:400;src:local("Arial"),local("Liberation Sans"),local("Arimo");size-adjust:101.17%;ascent-override:101.32%;descent-override:27.18%;line-gap-override:0%}
@font-face{font-family:"IBM Plex Sans Fallback";font-style:normal;font-weight:500;src:local("Arial"),local("Liberation Sans"),local("Arimo");size-adjust:101.17%;ascent-override:101.32%;descent-override:27.18%;line-gap-override:0%}
@font-face{font-family:"IBM Plex Mono Fallback";font-style:normal;font-weight:500;src:local("Courier New"),local("Liberation Mono"),local("Cousine");size-adjust:99.98%;ascent-override:102.52%;descent-override:27.5%;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:#F4F5F6;--pl-fg:#14181C;--pl-accent:#B3311B;--pl-on-accent:#FFFFFF;--pl-font:"IBM Plex Sans",system-ui,sans-serif;--pl-display:"IBM Plex Sans Condensed",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 */
/* Mars Appliance — service manual: cool paper, hairline spec table, rust-red signal, line-drawn plates */
:root{--bg:#F4F5F6;--fg:#14181C;--hair:rgba(20,24,28,.15);--sig:#B3311B;--mut:#4A525A;--disp:"IBM Plex Sans Condensed","IBM Plex Sans Condensed Fallback","Arial Narrow",sans-serif;--mono:"IBM Plex Mono","IBM Plex Mono Fallback",ui-monospace,monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font:400 17px/1.55 "IBM Plex Sans","IBM Plex Sans Fallback",system-ui,sans-serif;padding-bottom:72px;overflow-x:hidden}
a{color:inherit}
:focus-visible{outline:3px solid var(--sig);outline-offset:2px}
.skip-link{position:absolute;left:8px;top:-60px;background:#fff;padding:10px 14px;z-index:99}
.skip-link:focus{top:8px}
.top{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--hair)}
.top__in{display:flex;align-items:center;gap:16px;max-width:1200px;margin:0 auto;padding:6px 20px;min-height:56px}
.brand{font:700 22px/1 var(--disp);text-decoration:none;text-transform:uppercase;letter-spacing:.02em;display:inline-flex;align-items:center;min-height:44px}
.top nav{display:none;margin-left:auto;gap:4px}
.top nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;text-decoration:none;font-weight:500}
.top nav a:hover{color:var(--sig)}
.top__call{margin-left:auto;display:none;align-items:center;min-height:44px;padding:0 18px;background:var(--sig);color:#fff;font:500 15px var(--mono);text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;background:var(--sig);color:#fff;border:2px solid var(--sig);font:500 16px var(--mono);text-decoration:none;cursor:pointer}
.btn--ghost{background:transparent;color:var(--fg);border-color:var(--fg)}
.btn:hover{filter:brightness(1.1)}
.hero,.sec,.foot{max-width:1200px;margin:0 auto;padding:36px 20px}
.tag{font:500 13px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--sig);margin:0 0 12px;border-top:3px solid var(--sig);padding-top:10px;display:inline-block}
h1,h2,h3{font-family:var(--disp);font-weight:600;line-height:1.02;margin:0}
h1{font-size:clamp(40px,11vw,104px);text-transform:uppercase;letter-spacing:-.01em;max-width:14ch}
h2{font-size:clamp(28px,6vw,44px);text-transform:uppercase;padding-top:12px;border-top:1px solid var(--fg);margin-bottom:24px}
h3{font-size:22px}
.hero__sub{font-size:19px;margin:18px 0 24px;max-width:36ch}
.spec{display:grid;grid-template-columns:1fr 1fr;margin:0 0 24px;border:1px solid var(--fg)}
.spec div{padding:12px 14px;border-right:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.spec div:nth-child(2n){border-right:0}
.spec div:nth-child(n+3){border-bottom:0}
.spec dt{font:500 12px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--mut)}
.spec dd{margin:4px 0 0;font:500 17px/1.3 var(--mono)}
.spec dd a{text-decoration:none}
.spec__s{display:block;font:400 13px var(--mono);color:var(--mut)}
.hero__btns{display:flex;flex-direction:column;gap:10px;margin:0}
.plate{margin:0 0 24px;border:1px solid var(--hair);background:#fff;padding:12px;color:var(--fg)}
.plate__svg{display:block;width:100%;height:auto}
.rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--fg)}
.rows li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;min-height:64px;border-bottom:1px solid var(--hair);transition:background .2s}
.rows li:hover{background:rgba(179,49,27,.06)}
.rows a{font:500 14px var(--mono);color:var(--sig);display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
.score{display:flex;align-items:baseline;gap:12px;font:500 15px var(--mono);margin:0 0 20px}
.score__n{font:700 64px/1 var(--disp);color:var(--sig)}
.quotes{display:grid;gap:0;border-top:1px solid var(--fg)}
.quotes figure{margin:0;padding:18px 0;border-bottom:1px solid var(--hair)}
blockquote{margin:0;font-size:19px;line-height:1.45}
blockquote p{margin:0}
figcaption{font:500 13px var(--mono);color:var(--mut);margin-top:10px}
.hours{margin:0;border-top:1px solid var(--fg);max-width:520px}
.hours div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--hair);font-family:var(--mono);font-weight:500;font-size:16px}
.hours dt,.hours dd{margin:0}
.hours div:hover{background:rgba(179,49,27,.06)}
.contact{display:grid;gap:24px}
.contact__ph{margin:0 0 8px;font:700 clamp(32px,8vw,48px)/1.1 var(--disp)}
.contact__ph a{text-decoration:none}
.textlink{display:inline-flex;align-items:center;min-height:44px;color:var(--sig);font-weight:500}
.studio-form{display:grid;gap:14px;max-width:560px}
.studio-form__field{display:grid;gap:6px}
.studio-form label{font:500 13px var(--mono);text-transform:uppercase;letter-spacing:.06em}
.studio-form input,.studio-form textarea{font:400 17px "IBM Plex Sans","IBM Plex Sans Fallback",sans-serif;padding:12px;border:1px solid var(--fg);border-radius:0;background:#fff;color:var(--fg);min-height:48px;width:100%}
.studio-form textarea{min-height:120px}
.studio-form__submit{min-height:52px;background:var(--sig);color:#fff;border:0;font:500 16px var(--mono);cursor:pointer;padding:0 24px}
.studio-form__status{margin:0;font-weight:500}
.studio-form__status[data-state="error"]{color:var(--sig)}
.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid var(--hair);font:500 15px var(--mono)}
.foot p{margin:0}
.foot a{display:inline-flex;align-items:center;min-height:44px}
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;background:var(--bg);border-top:1px solid var(--fg)}
.sticky .btn{min-height:48px}
.kit-ready .ln path,.kit-ready .ln rect,.kit-ready .ln circle{stroke-dasharray:1;stroke-dashoffset:0;animation:draw 1.8s ease-out both}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.kit-ready .ln path,.kit-ready .ln rect,.kit-ready .ln circle{animation:none}}
@media (min-width:760px){
  body{padding-bottom:0}
  .sticky{display:none}
  .top nav{display:flex}
  .top__call{margin-left:0;display:inline-flex}
  .hero,.sec,.foot{padding:56px 32px}
  .hero{display:grid;grid-template-columns:repeat(12,1fr);column-gap:24px}
  .hero>*{grid-column:1/-1}
  .hero h1{max-width:16ch}
  
  .spec{grid-template-columns:repeat(4,1fr)}
  .spec div,.spec div:nth-child(2n){border-right:1px solid var(--hair);border-bottom:0}
  .spec div:last-child{border-right:0}
  .hero__btns{flex-direction:row}
  .quotes{grid-template-columns:1fr 1fr;column-gap:40px}
  .contact{grid-template-columns:5fr 7fr;gap:48px}
}
@media (min-width:760px){.hours{max-width:none;display:grid;grid-template-columns:1fr 1fr;column-gap:48px}.hours div:nth-child(-n+2){border-top:0}}
