/*
Theme Name: Alientech Tools by MMT
Description: MMT Performance's Alientech tool shop — dark "pedestal" bands and light "datasheet" bands, Alientech yellow from MMT's own dealer lockup. WooCommerce, no page builder.
Author: MMT Performance
Version: 1.0.0
Requires PHP: 8.1
Text Domain: alientech-tools
*/

/* ================================================================ fonts */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ============================================================== tokens */
/* Layer 1 — primitives. Sampled from MMT's "Authorised Dealer of Alientech"
   lockup: yellow on charcoal, MMT's stripe blue. */
:root {
    --p-yellow: #fce400;
    --p-yellow-hi: #fff04d;
    --p-gold: #6e5a00;
    --p-char-950: #0e0e10;
    --p-char-900: #18181b;
    --p-char-850: #1f1f23;
    --p-char-800: #26262b;
    --p-char-700: #3c3c3c;
    --p-paper: #f6f5f0;
    --p-paper-2: #ecebe3;
    --p-white: #ffffff;
    --p-ink: #1a1a1c;
    --p-ink-2: #45454b;
    --p-fog: #b4b4ba;
    --p-blue: #3c78c0;
    --p-blue-ink: #2b5e9e;
    --p-yellow-wash: #fffbd6;

    --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --wrap: 1240px;
    --bar-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Layer 2 — semantic, light by default. Bands re-scope them. */
    --bg: var(--p-paper);
    --surface: var(--p-white);
    --fg: var(--p-ink);
    --muted: var(--p-ink-2);
    --line: rgba(26, 26, 28, .13);
    --line-strong: rgba(26, 26, 28, .45);
    --accent-ink: var(--p-gold);
    --tick: var(--p-ink);
    --focus: var(--p-blue-ink);
    --grid: rgba(26, 26, 28, .045);

    /* Layer 3 — components. */
    --btn-brand-bg: var(--p-yellow);
    --btn-brand-fg: var(--p-char-950);
    --btn-ink-bg: var(--p-char-900);
    --btn-ink-fg: var(--p-white);
    --card-bg: var(--surface);
    --card-line: var(--line);
    --chip-on: var(--p-char-900);
}

.band--light {
    --bg: var(--p-paper);
    --surface: var(--p-white);
    --fg: var(--p-ink);
    --muted: var(--p-ink-2);
    --line: rgba(26, 26, 28, .13);
    --line-strong: rgba(26, 26, 28, .45);
    --accent-ink: var(--p-gold);
    --tick: var(--p-ink);
    --focus: var(--p-blue-ink);
}
.band--dark {
    --bg: var(--p-char-900);
    --surface: var(--p-char-850);
    --fg: #f4f4f0;
    --muted: var(--p-fog);
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .4);
    --accent-ink: var(--p-yellow);
    --tick: var(--p-yellow);
    --focus: var(--p-yellow);
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
    margin: 0;
    background: var(--p-paper);
    color: var(--p-ink);
    font-family: var(--f-sans);
    font-size: 17px;
    line-height: 1.6;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .8rem; color: var(--fg); text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--p-yellow); color: var(--p-char-950); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: 16px; }
.ico { flex: none; vertical-align: middle; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.band { background: var(--bg); color: var(--fg); padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.band--dark { background: linear-gradient(180deg, #16161a, #1c1c20); }

.h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.04; font-weight: 820; font-stretch: 116%; letter-spacing: -.012em; }
.h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.08; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 760; font-stretch: 108%; display: flex; align-items: center; gap: .55rem; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 46rem; }

.kick { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-family: var(--f-mono); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.kick__bar { width: 30px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--p-yellow) 0 6px, var(--p-char-900) 6px 12px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.sec__head { max-width: 50rem; margin-bottom: 2.4rem; }
.sec__head .btn { margin-top: .4rem; }

/* ============================================================= buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .75rem 1.2rem; border-radius: 10px; border: 2px solid transparent;
    font: 700 1rem/1.15 var(--f-sans); font-stretch: 104%; text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--brand { background: var(--btn-brand-bg); color: var(--btn-brand-fg); }
.btn--brand:hover { background: var(--p-yellow-hi); box-shadow: 0 10px 26px rgba(252, 228, 0, .25); }
.btn--ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { border-color: var(--p-yellow); color: var(--p-yellow); }
.btn--line { border-color: var(--line-strong); color: var(--fg); }
.btn--line:hover { border-color: var(--fg); }
.btn--lg { min-height: 54px; padding: .9rem 1.5rem; font-size: 1.06rem; }

/* ========================================================== util + bar */
.util { background: var(--p-char-950); color: #c9c9cf; font-size: .82rem; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.util__dealer, .util__hours, .util__wa { display: inline-flex; align-items: center; gap: .4rem; }
.util__dealer .ico, .util__hours .ico, .util__wa .ico { color: var(--p-yellow); }
.util__right { display: inline-flex; gap: 1.2rem; align-items: center; }
.util__wa { text-decoration: none; font-weight: 600; color: #fff; }
.util__wa:hover { color: var(--p-yellow); }

.bar { position: sticky; top: 0; z-index: 50; background: rgba(24, 24, 27, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; transition: box-shadow .25s; }
.bar.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.bar__in { display: flex; align-items: center; gap: 1.2rem; height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; flex: none; }
/* .woocommerce-page img { height: auto } outranks a bare class: keep the mark's height on shop pages too. */
.brand img.brand__mmt { height: 34px; width: auto; max-width: none; }
.brand__txt { display: grid; line-height: 1.05; padding-left: .8rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.brand__txt b { font-weight: 850; font-stretch: 122%; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; }
.brand__txt small { font-size: .72rem; color: #b9b9c0; margin-top: .2rem; }
.nav { display: none; margin-left: auto; gap: .15rem; }
.nav a { position: relative; padding: .55rem .7rem; color: #e4e4e8; text-decoration: none; font-weight: 600; font-size: .94rem; border-radius: var(--r-sm); white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--p-yellow); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--p-yellow); border-radius: 2px; }
.bar__act { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav + .bar__act { margin-left: 0; }
.bar__tel, .basket, .burger { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: 10px; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; font: 600 .92rem var(--f-sans); }
.bar__tel span { display: none; }
.bar__tel:hover, .basket:hover, .burger:hover { background: rgba(255, 255, 255, .08); }
.basket { position: relative; }
.basket__n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--p-yellow); color: var(--p-char-950); font: 700 .7rem/18px var(--f-mono); text-align: center; transform: scale(0); transition: transform .25s var(--ease); }
.basket__n.on { transform: scale(1); }

.drawer { position: fixed; inset: calc(var(--bar-h) + 36px) 0 0 0; z-index: 49; background: var(--p-char-950); color: #fff; padding: 1.5rem 16px 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 2rem; }
.drawer__nav { display: grid; }
.drawer__nav a { padding: .95rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none; font-weight: 750; font-stretch: 110%; font-size: 1.2rem; }
.drawer__act { display: grid; gap: .7rem; }
body.lock { overflow: hidden; }

@media (min-width: 1100px) {
    .nav { display: flex; }
    .burger { display: none; }
    .drawer { display: none !important; }
}
@media (min-width: 1320px) { .bar__tel span { display: inline; } }
@media (max-width: 480px) {
    /* the phone is in the drawer; the bar keeps the basket and the menu */
    .bar__tel { display: none; }
    .bar__in { gap: .6rem; }
    .brand { gap: .6rem; }
    .brand__txt { padding-left: .6rem; }
}
@media (max-width: 760px) {
    .util__more, .util__hours { display: none; }
    .brand img.brand__mmt { height: 28px; }
    .brand__txt b { font-size: .9rem; }
}

/* ================================================================ hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; background:
    radial-gradient(55% 45% at 72% 78%, rgba(252, 228, 0, .11), transparent 62%),
    radial-gradient(40% 40% at 10% 0%, rgba(60, 120, 192, .12), transparent 60%),
    linear-gradient(180deg, #141417, #1c1c20); }
.hero__k { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem; padding: .4rem .85rem; border: 1px solid rgba(252, 228, 0, .35); background: rgba(252, 228, 0, .06); border-radius: 999px; color: var(--p-yellow); font: 600 .76rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.hero__h { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .98; font-weight: 860; font-stretch: 120%; letter-spacing: -.02em; color: #fff; margin-bottom: 1.3rem; }
.hero__lead { color: #c9c9cf; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34rem; }
.hero__act { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.8rem; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #d6d6db; font-size: .93rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts .ico { color: var(--p-yellow); }

/* ---- hero3d: the hero's two forms.
   Static (default): headline beside a render of the tool, the three stage
   texts as a strip underneath. Nothing here needs JavaScript.
   Live (html.h3d, set pre-paint when WebGL exists and motion is allowed): a
   tall section with a sticky stage; hero3d.js drives the scene and the
   captions from the scroll position. Component tokens first. */
.hero3d {
    --h3d-length: 340vh;
    --h3d-tag-bg: rgba(20, 20, 23, .88);
    --h3d-tag-line: rgba(252, 228, 0, .45);
    --h3d-mmt: #7fb2f0;
    --h3d-mmt-line: rgba(77, 143, 224, .6);
    --h3d-quiet: #9a9aa2;
    --h3d-card-line: rgba(255, 255, 255, .1);
    --h3d-card-bg: rgba(255, 255, 255, .03);
}
.hero3d__pin { position: relative; width: min(var(--wrap), 100% - 32px); margin-inline: auto; display: grid; gap: 2rem; align-items: center; }
.hero3d__copy { display: contents; }
.hero3d__cap--intro { order: 1; }
.hero3d__stage { order: 2; position: relative; min-width: 0; }
.hero3d__more { order: 3; display: grid; gap: 1rem; }
.hero3d__poster { display: block; width: 100%; height: auto; }
.hero3d__canvas, .tag3d, .hero3d__rail, .hero3d__hint, .hero3d__act { display: none; }
.hero3d__more .hero3d__cap { padding: 1.2rem 1.3rem; border: 1px solid var(--h3d-card-line); border-radius: var(--r-lg); background: var(--h3d-card-bg); }
.hero3d__n { margin: 0 0 .6rem; font: 600 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-yellow); }
.hero3d__t { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.15; font-weight: 800; font-stretch: 112%; color: #fff; }
.hero3d__p { margin: 0; color: #c9c9cf; font-size: .95rem; }
@media (min-width: 760px) { .hero3d__more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) {
    .hero3d__pin { grid-template-columns: 1.05fr .95fr; }
    .hero3d__cap--intro { grid-column: 1; grid-row: 1; }
    .hero3d__stage { grid-column: 2; grid-row: 1; }
    .hero3d__more { grid-column: 1 / -1; grid-row: 2; }
}

html.h3d .hero3d { padding-block: 0; height: var(--h3d-length); overflow: clip; }
html.h3d .hero3d__pin { position: sticky; top: var(--bar-h); display: block; width: auto; height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); overflow: hidden; }
html.h3d .hero3d__stage { position: absolute; inset: 0; }
html.h3d .hero3d__canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s var(--ease); }
html.h3d-ready .hero3d__canvas { opacity: 1; }
html.h3d .hero3d__poster { position: absolute; top: 50%; right: 3%; width: min(54%, 860px); transform: translateY(-50%); transition: opacity .6s; }
html.h3d-ready .hero3d__poster { opacity: 0; }
/* the copy side is kept dark so the type never competes with the floor */
html.h3d .hero3d__pin::before { content: ""; position: absolute; z-index: 1; inset: 0 42% 0 0; background: linear-gradient(90deg, rgba(20, 20, 23, .92), rgba(20, 20, 23, .6) 62%, transparent); pointer-events: none; }
html.h3d .hero3d__copy { position: relative; z-index: 2; display: grid; align-items: center; height: 100%; width: min(var(--wrap), 100% - 32px); margin-inline: auto; pointer-events: none; }
html.h3d .hero3d__more { display: contents; }
html.h3d .hero3d__cap { grid-area: 1 / 1; max-width: 35rem; pointer-events: auto; will-change: opacity, transform; }
html.h3d .hero3d__more .hero3d__cap { opacity: 0; visibility: hidden; padding: 0; border: 0; background: none; }
html.h3d .hero3d__n { margin-bottom: 1.1rem; font-size: .8rem; }
html.h3d .hero3d__t { margin-bottom: 1rem; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 860; font-stretch: 118%; letter-spacing: -.02em; }
html.h3d .hero3d__p { max-width: 31rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
html.h3d .hero3d__act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

html.h3d .tag3d { position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .75rem; border-radius: 999px; background: var(--h3d-tag-bg); border: 1px solid var(--h3d-tag-line); color: #fff; font: 600 .74rem var(--f-mono); letter-spacing: .04em; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.tag3d .ico { color: var(--p-yellow); }
html.h3d .tag3d--mmt { border-color: var(--h3d-mmt-line); }
.tag3d--mmt .ico { color: var(--h3d-mmt); }

html.h3d .hero3d__rail { position: absolute; z-index: 3; top: 50%; right: max(16px, calc((100% - var(--wrap)) / 2)); transform: translateY(-50%); display: flex; flex-direction: column; gap: .2rem; }
.hero3d__rail button { all: unset; box-sizing: border-box; min-height: 28px; display: flex; align-items: center; justify-content: flex-end; gap: .6rem; cursor: pointer; color: var(--h3d-quiet); font: 600 .68rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.hero3d__rail button::after { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s var(--ease); }
.hero3d__rail button span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.hero3d__rail button:hover span, .hero3d__rail button:focus-visible span, .hero3d__rail button[aria-current="step"] span { opacity: 1; transform: none; }
.hero3d__rail button[aria-current="step"] { color: var(--p-yellow); }
.hero3d__rail button[aria-current="step"]::after { width: 44px; }
.hero3d__rail button:focus-visible { outline: 2px solid var(--p-yellow); outline-offset: 4px; border-radius: 4px; }

html.h3d .hero3d__hint { position: absolute; z-index: 3; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: block; color: var(--h3d-quiet); font: 600 .66rem var(--f-mono); letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.hero3d__hint::after { content: ""; display: block; width: 1px; height: 26px; margin: .45rem auto 0; background: linear-gradient(var(--p-yellow), transparent); transform-origin: top; animation: h3d-hint 1.8s var(--ease) infinite; }
@keyframes h3d-hint { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 759px) {
    .hero3d { --h3d-length: 300vh; }
    html.h3d .hero3d__copy { align-items: end; padding-bottom: 4.2rem; }
    html.h3d .hero3d__pin::before { display: none; }
    html.h3d .hero3d__pin::after { content: ""; position: absolute; z-index: 1; inset: 34% 0 0; background: linear-gradient(180deg, transparent, rgba(20, 20, 23, .93) 42%); pointer-events: none; }
    html.h3d .hero3d__poster { top: 3%; right: 50%; width: 98%; transform: translateX(50%); }
    html.h3d .hero .hero__h { font-size: clamp(1.9rem, 8.6vw, 2.5rem); margin-bottom: .8rem; }
    html.h3d .hero .hero__k { margin-bottom: .9rem; font-size: .68rem; }
    .hero__k-more { display: none; }
    html.h3d .hero .hero__lead { font-size: .98rem; }
    html.h3d .hero .hero__act { margin: 1.1rem 0 0; }
    html.h3d .hero .hero__facts { display: none; }
    html.h3d .hero3d__t { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
    html.h3d .hero3d__rail { top: auto; right: 50%; bottom: .8rem; transform: translateX(50%); flex-direction: row; gap: .1rem; }
    .hero3d__rail button { min-width: 34px; justify-content: center; }
    .hero3d__rail button span { display: none; }
    .hero3d__rail button::after { width: 10px; height: 10px; border-radius: 50%; }
    .hero3d__rail button[aria-current="step"]::after { width: 26px; border-radius: 6px; }
    html.h3d .hero3d__hint { display: none; }
    html.h3d .tag3d { padding: .32rem .6rem; font-size: .66rem; }
}

/* intro pieces wait for the motion layer (removed by the head script after 2.5 s if it never starts) */
html.motion .hero [data-intro], html.motion .hero__h { opacity: 0; }

/* ============================================================ strip */
.strip { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.5rem; }
.strip__lockup { width: 190px; height: auto; }
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; flex: 1; }
.strip__list li { display: grid; padding-left: 1rem; border-left: 3px solid var(--p-yellow); }
.strip__list b { font-weight: 750; font-stretch: 106%; }
.strip__list span { color: var(--muted); font-size: .9rem; }

/* ================================================== datasheet surfaces */
.sheetband { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }

/* ============================================================== picker */
.picker { display: grid; gap: 2rem; align-items: start; }
.picker__form { display: grid; gap: 1.7rem; }
.pstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.pstep__q { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; font-weight: 760; font-stretch: 108%; font-size: 1.12rem; padding: 0; }
.pstep__n { font: 600 .78rem var(--f-mono); background: var(--p-char-900); color: var(--p-yellow); padding: .2rem .45rem; border-radius: 5px; }
.opts { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__in { position: relative; display: grid; gap: .2rem; align-content: start; height: 100%; padding: 1rem 1rem .95rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.opt__in:hover { border-color: var(--line-strong); }
.opt__ico { color: var(--muted); margin-bottom: .35rem; transition: color .2s; }
.opt__t { font-weight: 720; font-stretch: 104%; line-height: 1.2; }
.opt__s { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.opt__flag { justify-self: start; margin-top: .45rem; padding: .16rem .45rem; border-radius: 4px; background: var(--p-blue); color: #fff; font: 600 .68rem var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.opt input:checked + .opt__in { border-color: var(--p-char-900); box-shadow: inset 0 0 0 1.5px var(--p-char-900), 0 10px 24px rgba(0, 0, 0, .07); }
.opt input:checked + .opt__in::before { content: ""; position: absolute; inset: -1.5px -1.5px auto -1.5px; height: 6px; background: var(--p-yellow); border-radius: var(--r-md) var(--r-md) 0 0; }
.opt input:checked + .opt__in .opt__ico { color: var(--p-ink); }
.opt input:focus-visible + .opt__in { outline: 3px solid var(--focus); outline-offset: 3px; }
html.js .picker__go { display: none; }
.picker__go { justify-self: start; }

.kitcard { position: relative; padding: 1.7rem; border-radius: var(--r-lg); background: linear-gradient(180deg, #1d1d21, #151518); color: #f4f4f0; border-top: 6px solid var(--p-yellow); box-shadow: 0 24px 48px rgba(0, 0, 0, .2); --tick: var(--p-yellow); --focus: var(--p-yellow); }
.kitcard__k { margin: 0 0 .5rem; font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #9e9ea6; }
.kitcard__k span { display: block; margin-top: .2rem; color: #d5d5da; letter-spacing: .03em; text-transform: none; }
.kitcard__name { color: #fff; font-size: 1.4rem; line-height: 1.2; font-weight: 800; font-stretch: 110%; margin: .2rem 0 .5rem; }
.kitcard__price { margin: 0 0 1rem; font: 600 clamp(2.3rem, 4.4vw, 3.1rem)/1 var(--f-mono); letter-spacing: -.03em; color: var(--p-yellow); }
.kitcard__price--ask { font-size: 1.6rem; letter-spacing: 0; }
.kitcard__note { color: #c9c9cf; }
.kitcard__box { margin-bottom: 1rem; }
.kitcard__mmt { display: flex; gap: .55rem; align-items: flex-start; padding: .2rem 0 .2rem .8rem; border-left: 3px solid var(--p-blue); color: #dfe6f1; font-size: .93rem; }
.kitcard__mmt .ico { color: #8fb6e6; margin-top: .25rem; }
.kitcard__act { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.kitcard .btn--line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.kitcard .btn--line:hover { border-color: #fff; }
.kitcard__near { margin-top: 1.1rem; padding: 1rem; border: 1px dashed rgba(255, 255, 255, .28); border-radius: var(--r-md); }
.kitcard__nearname { font-weight: 750; color: #fff; margin-bottom: .2rem; }
.kitcard__nearprice { font: 600 1.3rem var(--f-mono); color: var(--p-yellow); }
.kitcard--not-sold { border-top-color: #6b6b72; }
@media (min-width: 1000px) {
    .picker { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
    .picker__result { position: sticky; top: calc(var(--bar-h) + 24px); }
}

.ticks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks .ico { color: var(--tick); margin-top: .3rem; }

/* ===================================================== reasons / parts */
.reasons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.reason, .part, .tcard, .rcard, .ccard { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-lg); }
.band--dark .reason { --card-bg: var(--surface); }
.reason { padding: 1.5rem; }
.reason p { color: var(--muted); margin: 0; }
.reason__ico, .rcard__ico, .ccard__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--p-char-900); color: var(--p-yellow); margin-bottom: 1rem; }
.reason__t { font-size: 1.12rem; font-weight: 760; font-stretch: 106%; }
.parts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.part { padding: 1.5rem; }
.part h3 { font-size: 1.2rem; font-stretch: 108%; }
.part p { color: var(--muted); margin: 0; }
.part__n { display: inline-block; margin-bottom: .9rem; padding: .2rem .5rem; border-radius: 5px; background: var(--p-yellow); color: var(--p-char-950); font: 600 .8rem var(--f-mono); }

/* ================================================================ flow */
.flowband { overflow: hidden; background: radial-gradient(50% 60% at 50% 100%, rgba(252, 228, 0, .07), transparent 70%), linear-gradient(180deg, #16161a, #1c1c20); }
.flow { position: relative; }
.flow__line { display: none; }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; position: relative; }
.flow__step { position: relative; display: grid; grid-template-columns: 68px 1fr; column-gap: 1rem; align-items: start; }
.flow__node { grid-row: span 3; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--p-char-800); border: 2px solid rgba(252, 228, 0, .55); color: var(--p-yellow); position: relative; z-index: 1; box-shadow: 0 0 0 8px rgba(24, 24, 27, 1); }
.flow__n { font: 600 .75rem var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.flow__t { font-size: 1.2rem; font-weight: 780; font-stretch: 108%; color: #fff; margin: .1rem 0 .3rem; }
.flow__p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 900px) {
    .flow__line { display: block; position: absolute; left: 12.5%; right: 12.5%; top: 14px; width: 75%; height: 40px; overflow: visible; }
    .flow__line path { fill: none; stroke: var(--p-yellow); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .55; }
    .flow__list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .flow__step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .flow__node { grid-row: auto; margin-bottom: 1rem; }
}

/* ============================================================ compare */
.compare { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1040px) { .compare { grid-template-columns: .9fr 1.3fr; gap: 3rem; } }
.sheet { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 36px rgba(0, 0, 0, .05); }
.sheet table { width: 100%; border-collapse: collapse; min-width: 520px; }
.sheet th, .sheet td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; font-size: .96rem; }
.sheet thead th { background: var(--p-char-900); color: #fff; font-weight: 760; font-stretch: 110%; font-size: 1.05rem; }
.sheet thead th.is-rec { color: var(--p-yellow); }
.sheet .flag { display: inline-block; margin-left: .4rem; vertical-align: middle; }
.flag { padding: .16rem .45rem; border-radius: 4px; background: var(--p-blue); color: #fff; font: 600 .66rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.sheet tbody th { font-weight: 680; width: 30%; }
.sheet tbody tr + tr > * { border-top: 1px solid var(--line); }
.sheet tbody td { color: var(--muted); }
.sheet tbody td.is-rec { background: var(--p-yellow-wash); color: var(--fg); font-weight: 600; }
.sheet--hours table { min-width: 0; }
.sheet caption { text-align: left; padding: 1rem 1.1rem .4rem; font-weight: 760; display: flex; align-items: center; gap: .5rem; }

/* =============================================================== range */
/* Seven categories, never an orphan: the first card is two columns wide wherever there is more than one. */
.range { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); } .range > :first-child { grid-column: span 2; } }
@media (min-width: 760px) { .range { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .range { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rcard { position: relative; display: block; padding: 1.5rem; text-decoration: none; color: var(--fg); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); transform-style: preserve-3d; }
.rcard:hover { border-color: var(--p-char-900); box-shadow: 0 18px 36px rgba(0, 0, 0, .09); }
.rcard__ico { background: var(--p-yellow); color: var(--p-char-950); }
.rcard__t { font-size: 1.15rem; font-weight: 780; font-stretch: 108%; padding-right: 2rem; }
.rcard__p { color: var(--muted); margin: 0; font-size: .95rem; }
.rcard__go { position: absolute; top: 1.5rem; right: 1.4rem; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.rcard:hover .rcard__go { transform: translateX(4px); color: var(--fg); }

/* ========================================================= dealer band */
.dealerband { overflow: hidden; }
.dealerband::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 220px; background: repeating-linear-gradient(-45deg, rgba(252, 228, 0, .14) 0 14px, transparent 14px 28px); transform: skewX(-12deg); pointer-events: none; }
.dealerband__in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.dealerband__in > div { max-width: 46rem; }

/* ================================================================= FAQ */
.faqwrap { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .faqwrap:not(.faqwrap--full) { grid-template-columns: .8fr 1.2fr; gap: 3rem; } }
.faqwrap--full { max-width: 52rem; }
.faq__i { border-top: 1px solid var(--line); }
.faq__i:last-child { border-bottom: 1px solid var(--line); }
.faq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 720; font-stretch: 104%; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary .ico { transition: transform .25s var(--ease); color: var(--muted); }
.faq__i[open] summary .ico { transform: rotate(180deg); }
.faq__i p { color: var(--muted); margin: 0; padding-bottom: 1.2rem; max-width: 46rem; }

/* ================================================================= CTA */
.cta { background: radial-gradient(45% 80% at 85% 100%, rgba(252, 228, 0, .12), transparent 70%), linear-gradient(180deg, #16161a, #1b1b1f); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta__copy { max-width: 44rem; }
.cta__copy .lead { margin: 0; }
.cta__act { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ========================================================== page heads */
.phead { padding-block: clamp(2.4rem, 6vw, 4.6rem); background: radial-gradient(50% 90% at 90% 0%, rgba(252, 228, 0, .08), transparent 70%), linear-gradient(180deg, #141417, #1c1c20); }
.phead .h1 { color: #fff; max-width: 52rem; }
.phead .lead { margin: 0; }
/* the render beside the title: desktop only, it is decoration and is not fetched on a phone */
.phead__art { display: none; }
@media (min-width: 900px) {
    .phead--art { overflow: hidden; }
    .phead--art .phead__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center; }
    .phead__art { display: block; width: 128%; max-width: none; height: auto; margin-block: -3.2rem; justify-self: start; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
}

.twocol { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .twocol { grid-template-columns: 1fr 1fr; } }
.tcard { position: relative; padding: 1.8rem; }
.tcard p { color: var(--muted); }
.tcard--rec { border: 2px solid var(--p-char-900); box-shadow: 0 18px 36px rgba(0, 0, 0, .07); }
.tcard > .flag { position: absolute; top: -11px; left: 1.6rem; }

.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .ladder { grid-template-columns: repeat(4, 1fr); } }
.ladder li { display: grid; gap: .3rem; align-content: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ladder__n { font: 600 .8rem var(--f-mono); color: var(--p-yellow); }
.ladder b { color: #fff; font-size: 1.12rem; font-stretch: 106%; }
.ladder span:last-child { color: var(--muted); font-size: .95rem; }

.contact { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact__cards { display: grid; gap: 1rem; }
.ccard { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: center; padding: 1.3rem; text-decoration: none; color: var(--fg); transition: border-color .2s, box-shadow .2s; }
.ccard:hover { border-color: var(--p-char-900); box-shadow: 0 14px 30px rgba(0, 0, 0, .07); }
.ccard__ico { grid-row: span 2; margin: 0; }
.ccard b { font-size: 1.12rem; font-stretch: 106%; overflow-wrap: anywhere; }
.ccard span:last-child { color: var(--muted); font-size: .93rem; }
.ccard--rec { border: 2px solid var(--p-char-900); }
.ccard--rec .ccard__ico { background: var(--p-yellow); color: var(--p-char-950); }
.contact__side { display: grid; gap: 1.2rem; justify-items: start; }
.contact__addr { display: flex; gap: .6rem; margin: 0; }

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.4rem; font-stretch: 108%; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--p-blue-ink); text-underline-offset: 3px; }
.prose strong { color: var(--fg); }

/* ================================================================ shop */
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { text-underline-offset: 3px; }
.crumbs__sep { margin: 0 .45rem; opacity: .6; }
.cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.cats a { padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .9rem; }
.cats a:hover { border-color: var(--fg); }
.cats a[aria-current="page"] { background: var(--p-char-900); border-color: var(--p-char-900); color: #fff; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1.2rem; margin: 0 0 2rem !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 1rem !important; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .25s var(--ease); }
.woocommerce ul.products li.product:hover { border-color: var(--p-char-900); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
.woocommerce ul.products li.product a img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--p-char-900); margin-bottom: 1rem !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.02rem !important; font-weight: 720; font-stretch: 104%; line-height: 1.3; padding: 0 0 .5rem !important; color: var(--fg); }
.woocommerce ul.products li.product .price { color: var(--fg) !important; font: 600 1.15rem var(--f-mono) !important; margin-bottom: 1rem !important; }
.woocommerce ul.products li.product .button { margin-top: auto !important; display: flex; justify-content: center; text-align: center; }
.price-ask { font: 600 .82rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.1rem; border-radius: 10px;
    background: var(--p-char-900); color: #fff; font: 700 .95rem var(--f-sans); font-stretch: 104%; border: 0;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #000; color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .single_add_to_cart_button { background: var(--p-yellow) !important; color: var(--p-char-950) !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--p-yellow-hi) !important; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border-radius: 8px; border: 1px solid var(--line-strong); padding: 0 .6rem; font: inherit; background: var(--surface); }

.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; font-weight: 820; font-stretch: 112%; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--fg) !important; font: 600 clamp(1.8rem, 3vw, 2.4rem) var(--f-mono) !important; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); background: var(--p-char-900); }
.woocommerce div.product form.cart .qty { min-height: 46px; width: 4.5em; border-radius: 8px; border: 1px solid var(--line-strong); font: inherit; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 8px 8px 0 0 !important; background: var(--p-paper-2) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--surface) !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 0 var(--r-md) var(--r-md) var(--r-md); padding: 1.5rem; }
.pkit__label { font: 600 .78rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pkit__box { margin: 1rem 0; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.pkit__h { margin: 0 0 .6rem; font-weight: 760; }
.pkit__mmt { display: flex; gap: .6rem; align-items: flex-start; padding: .2rem 0 .2rem .8rem; border-left: 3px solid var(--p-blue); color: var(--fg); }
.pkit__mmt .ico { color: var(--p-blue-ink); margin-top: .25rem; }
.pkit__ask { margin: 1.2rem 0; padding: 1.2rem; border-left: 5px solid var(--p-yellow); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pkit__ask p { width: 100%; margin: 0 0 .3rem; font-weight: 700; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--p-char-900) !important; background: var(--surface) !important; border-radius: var(--r-md); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--p-blue-ink) !important; }
.shopwrap .wc-block-components-button:not(.is-link) { border-radius: 10px; font-weight: 700; }
.shopwrap .wc-block-cart__submit-button, .shopwrap .wc-block-components-checkout-place-order-button { background: var(--p-yellow) !important; color: var(--p-char-950) !important; }

/* ============================================================== footer */
.foot { padding-block: 3.5rem 2rem; background: var(--p-char-950); }
.foot__top { display: grid; gap: 2rem; }
@media (min-width: 960px) { .foot__top { grid-template-columns: 1.4fr .9fr 1fr 1.3fr; gap: 2.5rem; } }
.foot__lockup { width: 230px; height: auto; margin-bottom: 1rem; }
.foot__brand p { color: var(--muted); font-size: .93rem; max-width: 26rem; }
.foot__h { font: 600 .76rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-yellow); margin-bottom: .8rem; }
.foot__col { display: grid; align-content: start; gap: .1rem; }
.foot__col a, .foot__col > span { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 0; color: #d0d0d5; text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--p-yellow); }
.foot__hours { margin: .7rem 0 0; display: grid; gap: .2rem; font-size: .86rem; color: var(--muted); }
.foot__hours div { display: flex; justify-content: space-between; gap: 1rem; }
.foot__hours dt, .foot__hours dd { margin: 0; }
.foot__legal { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; font-size: .82rem; color: #a2a2aa; }
.foot__legal p { margin: 0; }
.foot__legal nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot__legal a { color: #d0d0d5; }

/* ============================================================== motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
