/*
Theme Name: Warehouse Boys
Theme URI: https://warehouseboys.co.za/
Author: Raytech
Author URI: https://wa.me/27674013198?text=Hi%20Raytech%2C%20I%20saw%20the%20Warehouse%20Boys%20website.
Description: "The Cut Floor": custom WooCommerce theme for Warehouse Boys, Silverton, Pretoria. Steel-cut address signs, backlit signs, gates and gas cages, with a laser-cut page load, a 3D hero that cuts a sign and hangs it on the wall, the Sign Studio (design your own address sign, live price, see it on your wall at night), Upload a design with an island check, a 3D Gate Builder and Gas Cage picker, a pattern library, a production-line order tracker, an installations map and WhatsApp quotes everywhere. Elementor and Elementor Pro compatible.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warehouseboys
Update URI: false
WC requires at least: 7.0
WC tested up to: 10.2
*/

/* =========================================================================
   0. Tokens
   Palette = the Warehouse Boys logo only: black, white, and their two reds.
   --red      #BF1E2E  the site's own button red (white text 6.0:1, on white 6.0:1)
   --hot      #FF3131  the logo/favicon red. Used as LIGHT only: the laser, the
                       glow of a kerf, sparks. Never small text on white (3.6:1).
   Greys are neutral steel, tinted nothing.
   ========================================================================= */
@font-face { font-family: "Anton"; src: url("assets/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chivo"; src: url("assets/fonts/chivo-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("assets/fonts/jbmono-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
	--red: #BF1E2E;
	--red-700: #9E1724;
	--red-800: #7C111B;
	--hot: #FF3131;
	--hot-soft: #FF8C8C;
	--brand: var(--red);
	--brand-600: var(--red);
	--brand-700: var(--red-700);
	--brand-800: var(--red-800);
	--brand-200: #F2B9BF;
	--brand-100: #F7DADD;
	--brand-50: #FBEFF0;
	--brand-text: var(--red);

	--ink: #0B0B0C;
	--ink-2: #4A4C52;   /* muted text on paper: 8.3:1 */
	--ink-3: #6C6F76;   /* small meta on paper: 4.9:1 */
	--coal: #121214;    /* dark sections */
	--coal-2: #1A1B1E;  /* raised plate on coal */
	--coal-3: #26282C;
	--fog: #A9ACB3;     /* muted text on coal: 8.4:1 */
	--fog-2: #8A8E96;   /* meta on coal 5.4:1, on coal-2 5.0:1 */
	--line: #E2E2DF;
	--line-2: #CFCFCB;
	--line-d: rgba(255, 255, 255, .11);
	--line-d2: rgba(255, 255, 255, .2);
	--paper: #F4F4F2;
	--paper-2: #EBEBE8;
	--paper-3: #E0E0DC;
	--white: #fff;
	--steel-1: #3A3D42;
	--steel-2: #5A5E64;

	--font: "Chivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--mono: "JB Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-md: 1.0625rem;
	--fs-lg: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
	--fs-h4: 1.25rem;
	--fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	--fs-h2: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem);
	--fs-h1: clamp(3rem, 1.6rem + 6vw, 7.6rem);

	--r-sm: 2px;
	--r: 3px;
	--r-lg: 4px;
	--r-pill: 3px;
	--wrap: 1360px;
	--gut: clamp(16px, 4vw, 48px);
	--sec: clamp(72px, 9vw, 140px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-cut: cubic-bezier(.7, 0, .2, 1);
	--shadow-1: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .05);
	--shadow-2: 0 10px 30px -12px rgba(0, 0, 0, .25);
	--shadow-3: 0 30px 80px -20px rgba(0, 0, 0, .5);
	--header-h: 72px;
	--glow: 0 0 6px rgba(255, 49, 49, .9), 0 0 18px rgba(255, 49, 49, .55), 0 0 42px rgba(255, 49, 49, .25);
	/* Laser-cut corner: plates and buttons lose a 45 degree tab like a cut part. */
	--tab: 10px;
	--plate: polygon(0 0, calc(100% - var(--tab)) 0, 100% var(--tab), 100% 100%, var(--tab) 100%, 0 calc(100% - var(--tab)));
}

/* =========================================================================
   1. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
	margin: 0;
	font: 400 var(--fs-md)/1.6 var(--font);
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "tnum" 0;
}
body.is-dark-page { background: var(--coal); color: #fff; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.05; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.hp { position: absolute; left: -9999px; }
.i { width: 22px; height: 22px; flex: none; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.num { font-variant-numeric: tabular-nums; }

/* Display type: Anton, upper case, tight. Second half in fog (two-tone headline). */
.disp, .shead__t, .phead h1 {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .005em;
	line-height: .94;
}
.disp em, .shead__t em, .phead h1 em { font-style: normal; color: var(--ink-3); }
.dark .disp em, .dark .shead__t em, .is-dark-page .phead h1 em { color: var(--fog-2); }
.disp .hot, .shead__t .hot { color: var(--red); }
.dark .disp .hot, .dark .shead__t .hot { color: var(--hot); text-shadow: 0 0 18px rgba(255, 49, 49, .35); }

/* Sections */
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.dark { background: var(--coal); color: #fff; }
.dark a:hover { color: var(--hot-soft); }
.paper { background: var(--paper); color: var(--ink); }
.paper-2 { background: var(--paper-2); color: var(--ink); }
.lead { font-size: var(--fs-lg); line-height: 1.55; max-width: 60ch; color: var(--ink-2); }
.dark .lead { color: var(--fog); }

/* Section head: a cut line draws across the top with a hot dot (the kerf). */
.shead { margin-bottom: clamp(32px, 4vw, 56px); position: relative; padding-top: 22px; }
.shead::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
	background: currentColor; opacity: .18;
}
.shead::after {
	content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%;
	background: linear-gradient(90deg, transparent, var(--red) 70%, #fff 99%);
	transform-origin: left; transform: scaleX(0);
}
.dark .shead::after { background: linear-gradient(90deg, transparent, var(--hot) 75%, #fff 99%); box-shadow: 0 0 12px rgba(255, 49, 49, .6); }
.shead.is-in::after { animation: kerf 1.1s var(--ease-cut) forwards; }
@keyframes kerf {
	0% { transform: scaleX(0); opacity: 1; }
	70% { transform: scaleX(1); opacity: 1; }
	100% { transform: scaleX(1); opacity: 0; }
}
.shead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shead__t { font-size: var(--fs-h2); margin: 0; max-width: 16ch; }
.shead__lead { margin: 18px 0 0; max-width: 56ch; font-size: var(--fs-lg); color: var(--ink-2); }
.dark .shead__lead { color: var(--fog); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Links */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.kicker { font: 600 var(--fs-xs)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.dark .kicker { color: var(--fog-2); }
.kicker a { text-decoration: none; }

/* =========================================================================
   2. Buttons: cut plates (45 degree tab top right + bottom left)
   ========================================================================= */
.btn, .button, button.button, a.button, input.button, .wp-element-button {
	--b: var(--ink);
	position: relative; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 26px;
	border: 0; border-radius: 0;
	clip-path: var(--plate);
	background: var(--b); color: #fff;
	font: 700 .9375rem/1.1 var(--font); letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn::after {
	/* the laser pass: a hot line sweeps the plate on hover */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%);
	transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform .6s var(--ease); }
.btn:hover, .button:hover { color: #fff; }
.btn .i { width: 20px; height: 20px; }
.btn--brand, .button.alt, .single_add_to_cart_button,.checkout-button, #place_order { --b: var(--red); }
.btn--brand:hover, .button.alt:hover { --b: var(--red-700); }
.btn:hover { --b: #26282C; }
.btn--brand:hover { --b: var(--red-700); }
.btn--white { --b: #fff; color: var(--ink); }
.btn--white:hover { --b: #E8E8E6; color: var(--ink); }
.btn--line { --b: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; clip-path: none; overflow: hidden; }
.btn--line:hover { --b: var(--ink); color: #fff; }
.dark .btn--line { color: #fff; }
.dark .btn--line:hover { --b: #fff; color: var(--ink); }
.btn--wa { --b: #fff; color: var(--ink); }
.btn--wa .i { color: #128C4A; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn.is-busy { pointer-events: none; opacity: .7; }
.btn.is-disabled, .btn[aria-disabled="true"] { --b: #C9CACD; color: #3D3F44; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =========================================================================
   3. Forms
   ========================================================================= */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .lbl { font-weight: 600; font-size: var(--fs-sm); }
.field small { color: var(--ink-3); font-size: var(--fs-xs); }
.dark .field small { color: var(--fog-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], input[type="password"], select, textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1.5px solid var(--line-2); border-radius: 0; background: #fff; color: var(--ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(191, 30, 46, .18); }
.dark input[type="text"], .dark input[type="email"], .dark input[type="tel"], .dark input[type="number"], .dark input[type="search"], .dark select, .dark textarea {
	background: var(--coal-2); border-color: var(--coal-3); color: #fff;
}
.dark input:focus, .dark select:focus, .dark textarea:focus { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255, 49, 49, .22); }
.dark ::placeholder { color: var(--fog-2); }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.form__msg { padding: 12px 14px; margin: 0 0 14px; font-weight: 600; }
.form__msg.ok { background: #E7F4EC; color: #0E5A2E; }
.form__msg.err { background: var(--brand-50); color: var(--red-700); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }

/* Choice chips: radio buttons as plates (Studio, builders). */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
	display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
	border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: var(--fs-sm);
	transition: border-color .15s, background-color .15s, color .15s;
}
.opt small { font-weight: 400; color: var(--ink-3); font-family: var(--mono); font-size: .75rem; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt input:checked + span small { color: #C9CBD0; }
.opt input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.opt:hover span { border-color: var(--ink); }
.dark .opt span { background: var(--coal-2); border-color: var(--coal-3); color: #fff; }
.dark .opt small { color: var(--fog-2); }
.dark .opt:hover span { border-color: var(--fog); }
.dark .opt input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.dark .opt input:checked + span small { color: var(--ink-3); }

/* Forked from the JOOLA theme and restyled by the parts that follow. */
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn .i { width: 22px; height: 22px; }
.status { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; font-size: .8rem; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.status[data-state="open"] .status__dot { opacity: 1; }
.status--bar { color: var(--ink-2); }
.sbox { position: relative; display: flex; align-items: center; flex: 1; max-width: 560px; }
.sbox input[type="search"] {
	width: 100%; height: 44px; padding: 0 48px 0 20px;
	border: 1px solid transparent; border-radius: var(--r-pill); background: var(--paper-2);
	font-size: .95rem; color: var(--ink); transition: border-color .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
.sbox input[type="search"]::placeholder { color: var(--ink-2); opacity: 1; }
.sbox input[type="search"]:focus { outline: 0; border-color: var(--line-2); background: #fff; }
.sbox input[type="search"]::-webkit-search-cancel-button { display: none; }
.sbox button[type="submit"] { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.sbox button[type="submit"]:hover { background: var(--paper-3); }
.sbox button .i { width: 19px; height: 19px; }
.sbox__results {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80;
	max-height: min(70vh, 520px); overflow: auto; overscroll-behavior: contain;
	background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); padding: 6px;
}
.sbox__results .grp { padding: 10px 10px 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.sbox__results a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.sbox__results a.t-only { grid-template-columns: 1fr auto; }
.sbox__results a:hover, .sbox__results a[aria-selected="true"] { background: var(--paper-2); color: var(--ink); }
.sbox__results img, .sbox__results .ph { width: 44px; height: 44px; object-fit: contain; border-radius: var(--r-sm); background: var(--paper-2); mix-blend-mode: multiply; }
.sbox__results .t { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.sbox__results .s { display: block; font-size: .8rem; color: var(--ink-2); }
.sbox__results .p { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.sbox__results .empty { padding: 14px; margin: 0; color: var(--ink-2); font-size: .9rem; }
.sbox__results .sbox__all { display: block; margin-top: 4px; padding: 12px; text-align: center; font-weight: 600; color: var(--brand-text); border-top: 1px solid var(--line); border-radius: 0; }
.cart-btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.cart-btn:hover { background: var(--paper-2); color: var(--ink); }
.cart-btn__i { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.cart-btn__i .i { width: 23px; height: 23px; }
.cart-btn__t small { display: block; font-size: .75rem; color: var(--ink-2); }
.cart-btn__t .wb-cart-total { display: block; font-weight: 600; font-size: .95rem; line-height: 1.15; white-space: nowrap; }
.count { position: absolute; top: 1px; right: -1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand-text); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.count[data-n="0"], .count:empty { display: none; }
.count.bump { animation: wb-bump .45s var(--ease-out); }
dialog { padding: 0; border: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(36, 26, 31, 0); transition: background-color .3s var(--ease); }
dialog.is-open::backdrop { background: rgba(36, 26, 31, .55); }
.drawer { position: fixed; top: 0; bottom: 0; margin: 0; width: min(440px, 100vw); height: 100dvh; background: #fff; display: flex; flex-direction: column; transition: transform .38s var(--ease-out); }
.drawer[open] { display: flex; }
.drawer--left { left: 0; right: auto; transform: translateX(-100%); }
.drawer--right { right: 0; left: auto; transform: translateX(100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.01em; }
.drawer__head h2 .wb-cart-n { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-left: .3em; }
.dbrand img.dbrand__img { height: 44px; width: auto; }
.drawer__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 18px 20px 28px; }
.drawer__contact { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.drawer__mail { display: inline-flex; align-items: center; gap: .5em; justify-content: center; padding: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.status--menu { color: var(--brand-text); margin-bottom: 12px; }
.socials { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--ink); color: #fff; }
.socials .i { width: 18px; height: 18px; }
.socials--ink a { border-color: var(--line-2); color: var(--ink); }
.socials--ink a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.modal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: var(--r-lg); background: #fff; overflow: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.modal.is-open { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: #fff; box-shadow: var(--shadow-1); }

.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px -12px rgba(36, 26, 31, .5); transition: transform .3s var(--ease-out), background-color .2s; }
.fab-wa:hover { background: #3D3036; color: #fff; }
.fab-wa .i { width: 26px; height: 26px; }
.fab-wa span { position: absolute; right: calc(100% + 10px); padding: 6px 10px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: .8rem; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease-out); }
.fab-wa:hover span, .fab-wa:focus-visible span { opacity: 1; transform: none; }
.has-stickybuy .fab-wa { transform: translateY(-74px); }
.phead { background: var(--paper-2); color: var(--ink); padding-block: clamp(44px, 6vw, 88px); }
.phead__in { position: relative; }
.phead h1 { margin: 0; max-width: 20ch; font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4rem); letter-spacing: -.035em; }
.phead__lead { max-width: 58ch; margin: 1rem 0 0; font-size: var(--fs-lg); color: var(--ink-2); }
.phead--flow { padding-block: 32px 28px; }
.phead--flow h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
/* Contact */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(32px, 4vw, 56px); padding: 0; list-style: none; }
.ways a { display: grid; gap: 2px; height: 100%; padding: 22px; border-radius: var(--r-lg); background: var(--paper-2); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.ways a:hover { background: var(--paper-3); color: var(--ink); }
.ways .i { display: none; }
.ways small { font-size: .88rem; color: var(--ink-2); }
.ways b { font-size: 1.05rem; font-weight: 600; word-break: break-word; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact__form h2, .visit h2 { font-size: 1.6rem; margin-bottom: 6px; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: var(--r-lg); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; margin: auto; width: max-content; height: 48px; display: inline-flex; align-items: center; gap: .5em; padding: 0 1.4em; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; font-weight: 600; }
.map__load .i { width: 1.2em; }
.visit { padding: 24px 0 0; }
.visit__addr { display: flex; gap: 12px; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.visit__addr .i { width: 22px; color: var(--ink-3); margin-top: 2px; }
.visit > p:not(.visit__addr) { color: var(--ink-2); font-size: .94rem; }
.visit .btn { margin-bottom: 20px; }
.visit__hours { margin: 4px 0 20px; }
.visit__hours h3 { font-size: 1.05rem; margin-bottom: 8px; }
.visit__hours .status { color: var(--brand-text); }

/* Forms */
.form { display: grid; gap: 16px; margin-top: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page select, .variations select {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.3; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select, .variations select, .woocommerce-page select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241A1F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus, .woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .variations select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper-3); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .92rem; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.check--consent { font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.check--consent a { color: var(--brand-text); font-weight: 600; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; padding: 12px 16px; border-radius: var(--r); font-weight: 500; font-size: .92rem; }
.form__msg.ok { background: var(--paper-2); color: var(--ink); }
.form__msg.err { background: var(--brand-50); color: var(--brand-800); }

.hours { width: 100%; font-size: .9rem; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 650; }
.hours .is-today th, .hours .is-today td { color: var(--ink); font-weight: 700; }

/* Policies & prose */
.section--page { padding-block: clamp(40px, 5vw, 72px); }
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.policy__toc { position: sticky; top: calc(var(--header-h) + 20px); }
.policy__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; border-left: 1px solid var(--line); }
.policy__toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s; }
.policy__toc a:hover, .policy__toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.policy__toc[hidden] + .policy__body { grid-column: 1 / -1; }
.prose { max-width: 74ch; font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--brand-text); }
.prose .numbered { list-style: none; padding: 0; }
.prose .numbered li { padding-left: 0; }
.prose .numbered b { color: var(--ink); margin-right: .35em; }
.policy__help { margin-top: 3rem; padding: 22px 24px; background: var(--paper-2); border-radius: var(--r-lg); }
.policy__help p { margin: 0; color: var(--ink); }
.policy__help p + p { margin-top: 4px; }
.page-builder { width: 100%; }

.nf { padding-block: clamp(64px, 10vw, 140px); }
.nf__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: center; max-width: 1000px; }

.nf__wheel .cw { animation: wb-roll 8s linear infinite; }
.nf h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.nf__lead { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.nf .sbox { margin: 24px 0; max-width: 520px; }
.nf__a { display: flex; flex-wrap: wrap; gap: 10px; }

.plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pitem__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin-bottom: 14px; }
.pitem__t { font-size: 1.2rem; }
.pitem__t a { text-decoration: none; }
.empty { max-width: 560px; }
@keyframes wb-bump { 30% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* =========================================================================
   Shell: wordmark, header, dropdown, lights, drawers, search, footer, loader
   ========================================================================= */

/* Wordmark (Anton): WAREHOUSE white or ink, BOYS red. */
.wm { display: inline-flex; font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.wm__a { color: currentColor; }
.wm__b { color: var(--red); }
.dark .wm__b, .hdr .wm__b, .drawer .wm__b { color: var(--hot); }
.brand, .dbrand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; font-size: 1.7rem; }
.brand:hover, .dbrand:hover { color: #fff; }
.brand img.brand__img, .dbrand img.dbrand__img { height: 40px; width: auto; }

/* Header: one black bar; hides on the way down, back on the way up. */
.hdr {
	position: sticky; top: 0; z-index: 60;
	background: rgba(11, 11, 12, .94); color: #fff;
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line-d);
	transition: transform .35s var(--ease), background-color .3s;
}
.admin-bar .hdr { top: 32px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr .icon-btn { color: #fff; border-radius: 0; }
.hdr .icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hdr__cta { margin-left: 8px; }
.cart-btn { position: relative; padding: 0; }
.cart-btn .count { top: 4px; right: 2px; background: var(--hot); color: var(--ink); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav__list, .nav__menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #D9DADD; text-decoration: none; font-weight: 600; font-size: .9375rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--hot); box-shadow: 0 0 10px rgba(255, 49, 49, .8); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-cut); }
.nav a:hover, .nav .current-menu-item > a, .nav .is-current > a { color: #fff; }
.nav a:hover::after, .nav .current-menu-item > a::after, .nav .is-current > a::after { transform: scaleX(1); }
.catbar__item { position: relative; display: flex; align-items: center; }
.catbar__tg { display: grid; place-items: center; width: 28px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: #D9DADD; }
.catbar__tg .i { width: 16px; transition: transform .25s var(--ease); }
.catbar__item.is-open .catbar__tg .i, .catbar__item:hover .catbar__tg .i { transform: rotate(180deg); }
.nav__sub-toggle { display: none; }
.sub-menu { display: none; }

/* Shop dropdown: four range plates. */
.dd {
	position: fixed; left: 0; right: 0; top: var(--header-h);
	background: var(--coal); border-bottom: 1px solid var(--line-d);
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity .2s var(--ease), transform .3s var(--ease-out), visibility .2s;
}
.catbar__item:hover > .dd, .catbar__item.is-open > .dd, .catbar__item:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; padding-block: 22px; align-items: stretch; }
.dd__range { display: grid; grid-template-rows: auto 1fr; background: var(--coal-2); color: #fff; text-decoration: none; clip-path: var(--plate); transition: background-color .2s; }
.dd__range img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #E9E8E4; }
.dd__range span { display: grid; gap: 2px; padding: 12px 14px 14px; }
.dd__range b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.dd__range small { color: var(--fog); font-size: .85rem; line-height: 1.35; }
.dd__range em { font-style: normal; color: var(--fog-2); font-size: .75rem; }
.dd__range:hover { background: var(--coal-3); color: #fff; }
.dd__range:hover b { color: var(--hot-soft); }
.dd__all { align-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 10px 6px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dd__all .i { width: 18px; }
.nav .dd a::after { display: none; }
.nav .dd__range { display: grid; align-items: stretch; padding: 0; min-height: 0; color: #fff; }
.nav .dd__all { padding: 0; min-height: 0; }
.nav .dd__all { padding: 10px 6px; }

/* Lights switch (night mode). */
.lights { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: #D9DADD; font-weight: 600; font-size: .85rem; }
.lights__track { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #2B2D31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background-color .3s; }
.lights__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #F4F1EA; box-shadow: 0 0 10px rgba(255, 226, 176, .9); transition: transform .35s var(--ease-out), background-color .3s, box-shadow .3s; }
.lights__t { display: grid; }
.lights__on, .lights__off { grid-area: 1 / 1; transition: opacity .25s; }
.lights__off { opacity: 0; }
.lights[aria-pressed="true"] .lights__track { background: #000; }
.lights[aria-pressed="true"] .lights__knob { transform: translateX(20px); background: var(--hot); box-shadow: 0 0 6px var(--hot), 0 0 16px rgba(255, 49, 49, .7); }
.lights[aria-pressed="true"] .lights__on { opacity: 0; }
.lights[aria-pressed="true"] .lights__off { opacity: 1; }
.lights:hover { color: #fff; }
.lights--sm { color: #fff; }

/* Night: the page goes dark, backlit things switch on. */
html[data-night="1"] body { background: #0A0A0B; }
html[data-night="1"] .paper, html[data-night="1"] .paper-2 { background: #101012; color: #fff; }
html[data-night="1"] .paper .lead, html[data-night="1"] .paper-2 .lead, html[data-night="1"] .paper .shead__lead { color: var(--fog); }
html[data-night="1"] .paper .disp em, html[data-night="1"] .paper .shead__t em, html[data-night="1"] .paper-2 .shead__t em { color: var(--fog-2); }
html[data-night="1"] .paper .btn--line, html[data-night="1"] .paper-2 .btn--line { color: #fff; }
html.is-switching body, html.is-switching .paper, html.is-switching .paper-2 { transition: background-color .7s var(--ease), color .5s; }

/* Drawers + dialogs on coal */
dialog::backdrop { background: rgba(0, 0, 0, 0); }
dialog.is-open::backdrop { background: rgba(0, 0, 0, .66); }
.drawer { background: var(--coal); color: #fff; }
.drawer__head { border-bottom-color: var(--line-d); }
.drawer .icon-btn { color: #fff; border-radius: 0; }
.drawer .icon-btn:hover { background: rgba(255, 255, 255, .08); }
.drawer__contact { border-top-color: var(--line-d); }
.mmenu__h { margin: 22px 0 6px; font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); }
.mmenu__h:first-child { margin-top: 4px; }
.mmenu__ranges, .mmenu__tools, .mmenu__pages { margin: 0; padding: 0; list-style: none; }
.mmenu__ranges a { display: block; padding: 8px 0; font-family: var(--display); font-size: 1.9rem; line-height: 1.05; text-transform: uppercase; color: #fff; text-decoration: none; }
.mmenu__ranges a:hover { color: var(--hot-soft); }
.mmenu__tools a, .mmenu__pages a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line-d); color: #fff; text-decoration: none; font-weight: 600; }
/* Cart drawer stays light: the mini-cart is a WooCommerce surface. */
#d-cart { background: #fff; color: var(--ink); }
#d-cart .drawer__head { border-bottom-color: var(--line); }
#d-cart .icon-btn { color: var(--ink); }
#d-cart .icon-btn:hover { background: var(--paper-2); }

.socials a { width: 44px; height: 44px; border-radius: 0; clip-path: var(--plate); --tab: 7px; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--hot); color: var(--ink); }
.paper .socials a, .contact .socials a { background: var(--ink); color: #fff; }

.modal { border-radius: 0; }
.modal__close { border-radius: 0; }
.modal--search { width: min(720px, calc(100vw - 24px)); margin: 12vh auto auto; padding: 28px; overflow: visible; background: var(--coal); color: #fff; }
.modal--search .modal__close { background: transparent; color: #fff; box-shadow: none; }
.modal__hint { margin: 12px 0 0; color: var(--fog); font-size: .9rem; }
.sbox { max-width: none; }
.sbox--dialog input[type="search"] { min-height: 58px; padding: 0 56px 0 18px; border: 1.5px solid var(--coal-3); border-radius: 0; background: var(--coal-2); color: #fff; font-size: 1.15rem; }
.sbox--dialog input[type="search"]:focus { border-color: var(--hot); background: var(--coal-2); }
.sbox--dialog input[type="search"]::placeholder { color: var(--fog-2); }
.sbox--dialog button[type="submit"] { color: #fff; top: 11px; right: 10px; }
.sbox--dialog button[type="submit"]:hover { background: rgba(255, 255, 255, .08); }
.sbox__results { border-radius: 0; }
.sbox__results .sbox__all { color: var(--red); }

/* WhatsApp button */
.fab-wa { border-radius: 0; clip-path: var(--plate); --tab: 12px; width: 58px; height: 58px; background: var(--red); box-shadow: none; }
.fab-wa:hover { background: var(--red-700); }
.is-checkout-flow .fab { display: none; }

/* Footer */
.ftr { position: relative; padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 48px); }
.ftr__lead { color: var(--fog); max-width: 36ch; margin-bottom: 20px; }
.ftr h2 { margin: 0 0 14px; font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); }
.ftr__h2b { margin-top: 26px !important; }
.flist { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.flist a { display: inline-block; padding: 5px 0; color: #E6E7E9; text-decoration: none; font-size: .95rem; }
.flist a:hover { color: var(--hot-soft); }
.clist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.clist a { display: flex; gap: 12px; align-items: flex-start; color: #E6E7E9; text-decoration: none; font-size: .95rem; line-height: 1.45; }
.clist a:hover { color: #fff; }
.clist .i { width: 20px; height: 20px; color: var(--hot); margin-top: 1px; }
.ftr__mark { position: relative; margin-top: clamp(48px, 7vw, 90px); padding-inline: var(--gut); font-size: clamp(3.4rem, 16.6vw, 17rem); color: #1D1E21; line-height: .82; text-align: center; overflow: hidden; }
.ftr__mark .wm { display: flex; justify-content: center; }
.ftr__mark .wm__b { color: #2A1214; }
/* A laser line passes over the giant wordmark once, like the last cut of the day. */
.ftr__mark::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: var(--glow); opacity: 0; }
.ftr__mark.is-in::after { animation: wm-pass 2.4s var(--ease-cut) .2s both; }
@keyframes wm-pass { 0% { transform: translateX(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
.ftr__base { border-top: 1px solid var(--line-d); margin-top: -1px; }
.ftr__base-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 18px 26px; font-size: .85rem; color: var(--fog); }
.ftr__base p { margin: 0; }
.ftr .credit a { color: #fff; font-weight: 600; }

/* =========================================================================
   Loader: the laser cuts the wordmark, the sheet splits (inc/transitions.php)
   ========================================================================= */
div.pt { display: none; }
html.pt div.pt { display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none; }
html.pt:not(.pt-done) { overflow: hidden; }
.pt__half { position: absolute; left: 0; right: 0; height: 50.2%; background: #121314; overflow: hidden; transition: transform .9s var(--ease-cut); }
.pt__half--t { top: 0; }
.pt__half--b { bottom: 0; }
.pt__grain { position: absolute; inset: -10%; background:
	repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
	radial-gradient(120% 90% at 30% 20%, #2A2C30 0, #141517 55%, #0C0C0D 100%); }
.pt__half--b .pt__grain { top: -110%; }
.pt__seam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, #fff 20%, var(--hot) 50%, #fff 80%, transparent); box-shadow: var(--glow); opacity: 0; transform: scaleX(0); transition: opacity .3s, transform .5s var(--ease-cut); }
.pt__cut { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .35s var(--ease); }
.pt__wm { width: min(84vw, 1100px); height: auto; overflow: visible; }
.pt__fill { opacity: 0; transition: opacity .5s var(--ease); }
.pt__fill--a { fill: #fff; }
.pt__fill--b { fill: var(--hot); }
.pt__glow { display: none; }
.pt__kerf, .pt__k { fill: none; stroke: #fff; stroke-width: 2.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 3px var(--hot)) drop-shadow(0 0 10px rgba(255, 49, 49, .7)); }
.pt__k.is-cool { stroke: #8A1E24; filter: none; transition: stroke 1.2s var(--ease); }
.pt__head { fill: #fff; filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 22px var(--hot)); }
.pt__sparks { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt__ro { position: absolute; left: var(--gut); right: var(--gut); bottom: 28px; display: flex; gap: 18px; justify-content: space-between; margin: 0; font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8B8F97; }
.pt__ro [data-pt-p] { color: #fff; }
html.pt-filled .pt__fill { opacity: 1; }
html.pt-filled .pt__k { opacity: 0; transition: opacity .5s; }
html.pt-filled .pt__head { opacity: 0; }
html.pt-filled .pt__seam { opacity: 1; transform: scaleX(1); }
/* arrive: the halves are closed on a seam, then open */
html.pt-arrive .pt__cut { display: none; }
html.pt-arrive .pt__seam { opacity: 1; transform: scaleX(1); }
html.pt-out .pt__cut { opacity: 0; }
html.pt-out .pt__half--t { transform: translateY(-101%); }
html.pt-out .pt__half--b { transform: translateY(101%); }
html.pt-out .pt__seam { opacity: 0; transition: opacity .25s; }
html.pt-done div.pt { display: none; }
/* leave: the halves close on the seam */
html.pt-leave div.pt { display: block; }
html.pt-leave .pt__cut { display: none; }
html.pt-leave:not(.pt-go) .pt__half--t { transform: translateY(-101%); transition: none; }
html.pt-leave:not(.pt-go) .pt__half--b { transform: translateY(101%); transition: none; }
html.pt-leave.pt-go .pt__half { transform: none; transition: transform .52s var(--ease-cut); }
html.pt-leave.pt-go .pt__seam { opacity: 1; transform: scaleX(1); transition-delay: .4s; }

/* Global effects */
.fx-sparks { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 300; pointer-events: none; }
.gobo { position: absolute; left: 50%; top: 0; width: min(1400px, 100%); height: auto; aspect-ratio: 10 / 9; transform: translateX(-50%); opacity: .5; filter: blur(14px); mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.paper .gobo, .paper-2 .gobo { opacity: .13; filter: blur(22px) invert(1); }
html[data-night="1"] .gobo { opacity: 0; }
[data-gobo] { overflow: hidden; isolation: isolate; }
[data-gobo] > .wrap, [data-gobo] > div { position: relative; z-index: 1; }
.wipe { position: relative; }
.wipe__line { position: absolute; left: -2%; right: -2%; height: 2px; background: #fff; box-shadow: var(--glow); z-index: 3; pointer-events: none; }

/* =========================================================================
   Home sections
   ========================================================================= */

/* Type your number */
.teaser { overflow: hidden; }
.teaser__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px clamp(28px, 5vw, 72px); align-items: center; margin-top: 30px; }
.teaser__fields { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 0 14px; }
.teaser__form .btns { grid-column: 1; }
.teaser__from { margin: 0; color: var(--fog); font-size: .8rem; }
.teaser__plate { grid-column: 2; grid-row: 1 / span 2; position: relative; padding: clamp(18px, 3vw, 40px); background: radial-gradient(120% 120% at 30% 10%, #E9E6DF 0, #D4D0C7 60%, #BDB8AE 100%); }
.teaser__plate svg { width: 100%; height: auto; filter: drop-shadow(14px 18px 14px rgba(0, 0, 0, .35)); }
.tp__plate { fill: #18191B; }
.tp__num, .tp__street { font-family: var(--display); fill: #D4D0C7; stroke: #fff; stroke-width: 2px; paint-order: stroke; }
.tp__num { font-size: 190px; letter-spacing: 2px; }
.tp__street { font-family: var(--font); font-weight: 700; font-size: 46px; letter-spacing: 8px; stroke-width: 1px; }
.tp__bolt { fill: #3D4045; }
.tp__ro { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 0; color: #3A3B3F; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
/* The trace: letters draw as a glowing kerf, then settle as cut-outs. */
.teaser__plate.is-cut .tp__num, .teaser__plate.is-cut .tp__street { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: tp-cut 1.6s var(--ease-cut) forwards; }
.teaser__plate.is-cut .tp__street { animation-delay: .5s; }
@keyframes tp-cut {
	0% { stroke-dashoffset: 1400; stroke: #fff; fill: #18191B; filter: drop-shadow(0 0 6px #FF3131); }
	75% { stroke-dashoffset: 0; stroke: #FF6B6B; fill: #18191B; filter: drop-shadow(0 0 6px #FF3131); }
	100% { stroke-dashoffset: 0; stroke: #B9B4AA; fill: #D4D0C7; filter: none; }
}

/* Ranges: panels in a sideways rail */
.ranges__track { position: relative; }
.ranges__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30vw); gap: 18px; margin: 0; padding: 0 var(--gut) 8px max(var(--gut), calc((100vw - var(--wrap)) / 2)); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ranges__list::-webkit-scrollbar { display: none; }
.rpanel { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: #fff; }
.rpanel__img { position: relative; display: block; overflow: hidden; background: #E6E5E1; aspect-ratio: 1 / 1; }
.rpanel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .6s var(--ease); }
.rpanel__on { position: absolute; inset: 0; opacity: 0; }
html[data-night="1"] .rpanel--lit .rpanel__on { opacity: 1; }
.rpanel:hover .rpanel__img img { transform: scale(1.04); }
.rpanel__body { padding: 20px 22px 24px; display: grid; align-content: start; gap: 4px; }
.rpanel__t { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.rpanel__t a { text-decoration: none; }
.rpanel__body > p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rpanel__meta { display: flex; gap: 14px; margin-top: 8px !important; font-size: .78rem !important; color: var(--ink-3) !important; }
.rpanel__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px !important; }
html[data-night="1"] .rpanel { background: #17181A; color: #fff; }
html[data-night="1"] .rpanel__body > p, html[data-night="1"] .rpanel__meta { color: var(--fog) !important; }
.rail__ctl { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.rail__ctl .icon-btn { border-radius: 0; box-shadow: inset 0 0 0 1.5px currentColor; }
.rail__ctl .icon-btn:disabled { opacity: .35; }
.rail__bar { flex: 1; height: 2px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.dark .rail__bar, html[data-night="1"] .paper .rail__bar { background: rgba(255, 255, 255, .14); }
.rail__bar i { display: block; height: 100%; background: var(--red); transition: transform .2s; }
.rail.is-static .rail__ctl, [data-rail].is-static .rail__ctl { display: none; }
.ranges__pop { margin-top: clamp(56px, 7vw, 96px); }
.ranges__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
.ranges__night { font-family: var(--font); font-size: .9rem; text-transform: none; color: var(--ink-3); }
html[data-night="1"] .ranges__night { color: var(--fog); }
.products--rail { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }

/* Facts: stamped into steel */
.facts { background: var(--red); color: #fff; overflow: hidden; }
.facts__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.facts__t { font-size: var(--fs-h2); margin: 0 0 20px; }
.facts .disp em { color: #FFD3D6; }
.facts .lead { color: #FFE9EA; }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.stamp { position: relative; display: grid; gap: 6px; padding: 20px 16px 18px; background: var(--red-800); clip-path: var(--plate); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .25); }
.stamp b { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem); line-height: .9; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 -1px 0 rgba(255, 255, 255, .15); }
.stamp b small { font-size: .45em; margin-left: 2px; }
.stamp > span { font-size: .85rem; color: #FFE1E3; line-height: 1.3; }
.stamp.is-hit { animation: stamp-hit .28s var(--ease-out); }
@keyframes stamp-hit { 0% { transform: translate(0, 0); } 30% { transform: translate(1px, 2px); } 60% { transform: translate(-1px, -1px); } 100% { transform: none; } }
.facts__award { margin: 0; display: grid; gap: 14px; }
.facts__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--red-800); }
.facts__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.facts__award figcaption { display: flex; gap: 14px; align-items: center; font-size: .9rem; color: #FFE9EA; }
.facts__award figcaption img { width: 72px; flex: none; }
.facts__award figcaption b { color: #fff; }

/* Upload band + the island demo */
.upband__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.islands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.island { margin: 0; }
.island svg { width: 100%; height: auto; background: #D9D5CC; }
.is-plate { fill: #1A1B1D; }
.is-cut { fill: #D9D5CC; }
.is-loose { fill: #1A1B1D; stroke: var(--hot); stroke-width: 3; }
.island:not(.island--ok) .is-loose { animation: drop 2.6s var(--ease) infinite; }
@keyframes drop { 0%, 35% { transform: none; opacity: 1; } 70% { transform: translateY(120px); opacity: 0; } 100% { transform: translateY(120px); opacity: 0; } }
.is-bridge { fill: #1A1B1D; }
.island--ok .is-cut { fill: #D9D5CC; }
.island figcaption { display: grid; margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.island figcaption b { color: var(--ink); }
html[data-night="1"] .island figcaption { color: var(--fog); }
html[data-night="1"] .island figcaption b { color: #fff; }

/* Installations map */
.smap__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.smap__list { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--fog); font-size: .9rem; }
.smap__fig { margin: 0; }
.smap__svg { width: 100%; height: auto; overflow: visible; }
.smap__land { fill: #1C1D20; stroke: #3A3D42; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.smap__hole { fill: var(--coal); stroke: #3A3D42; stroke-width: 1; vector-effect: non-scaling-stroke; }
.smap__lines path { fill: none; stroke: var(--hot); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; }
.smap__pts circle { fill: #fff; filter: drop-shadow(0 0 4px var(--hot)) drop-shadow(0 0 10px rgba(255, 49, 49, .7)); opacity: 0; transform-box: fill-box; transform-origin: center; }
.smap__home circle { fill: var(--hot); filter: drop-shadow(0 0 8px var(--hot)); }
.smap__home text { fill: #fff; font: 600 18px var(--mono); letter-spacing: .04em; }
.smap__fig.is-in .smap__lines path { animation: map-line 1.4s var(--ease-cut) forwards; animation-delay: calc(var(--i) * 90ms); }
.smap__fig.is-in .smap__pts circle { animation: map-pt .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + .9s); }
@keyframes map-line { to { stroke-dashoffset: 0; } }
@keyframes map-pt { 0% { opacity: 0; transform: scale(2.4); } 100% { opacity: 1; transform: none; } }

/* Reels */
.reels__lead { margin-top: -20px; margin-bottom: 30px; }
.reels__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 15vw); gap: 14px; margin: 0; padding: 0 var(--gut) 8px max(var(--gut), calc((100vw - var(--wrap)) / 2)); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reels__list::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; aspect-ratio: 9 / 16; background: var(--ink); position: relative; overflow: hidden; }
.reel.is-playing { grid-column: span 2; aspect-ratio: auto; min-height: 580px; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.reel__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .3s; }
.reel__plate { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; font-size: 2.1rem; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 30% 20%, #2A2C30, #0E0E10); }
.reel__plate .wm { flex-direction: column; text-align: center; }
.reel__btn { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--red); clip-path: var(--plate); transition: transform .3s var(--ease-out), background-color .2s; }
.reel__btn .i { width: 26px; height: 26px; margin-left: 3px; }
.reel__t { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font-size: .85rem; text-align: left; line-height: 1.35; }
.reel__play:hover img { transform: scale(1.04); }
.reel__play:hover .reel__btn { transform: scale(1.08); background: var(--hot); }

/* Production line */
.trackband__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.trackband__t { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin: 0 0 14px; }
.trackband p { color: var(--fog); max-width: 46ch; }
.line { --n: 7; --at: -1; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.line::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: #2C2E32; }
.line::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 100%; background: var(--hot); box-shadow: 0 0 10px var(--hot); transform-origin: left center; transform: scaleX(max(0, calc((var(--at) + .5) / var(--n)))); transition: transform 1.4s var(--ease-cut); }
.line__st { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0 4px; text-align: center; }
.line__dot { position: relative; z-index: 1; width: 24px; height: 24px; background: var(--coal); box-shadow: inset 0 0 0 2px #3A3D42; transform: rotate(45deg); transition: background-color .3s, box-shadow .3s; }
.line__t { font-weight: 700; font-size: .85rem; line-height: 1.2; }
.line__d { color: var(--fog); font-size: .8rem; line-height: 1.35; }
.line--mini .line__dot { width: 18px; height: 18px; margin-top: 3px; }
.line--mini.is-in .line__dot { animation: st-on .5s var(--ease) forwards; animation-delay: calc(var(--i) * .18s); }
@keyframes st-on { to { background: var(--hot); box-shadow: 0 0 12px var(--hot); } }
.line__st.is-done .line__dot { background: #fff; box-shadow: none; }
.line__st.is-now .line__dot { background: var(--hot); box-shadow: 0 0 0 6px rgba(255, 49, 49, .25), 0 0 18px var(--hot); animation: st-pulse 1.6s var(--ease) infinite; }
.line__st.is-pending { opacity: .5; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 49, 49, 0), 0 0 22px var(--hot); } }
.line__plate { display: none; }
.line.is-live .line__plate { display: block; position: absolute; top: -26px; left: calc((var(--at) + .5) / var(--n) * 100%); width: 34px; height: 22px; margin-left: -17px; background: #26282C; box-shadow: inset 0 0 0 1px #4A4D53; clip-path: var(--plate); --tab: 5px; transition: left 1.4s var(--ease-cut); }

/* Contact band (the red field) */
.cta { background: var(--red); color: #fff; padding-block: clamp(56px, 7vw, 100px); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta__t { margin: 0; font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); max-width: 16ch; }
.cta .disp em { color: #FFD3D6; }
.cta .btn--line { color: #fff; }
.cta .btn--line:hover { --b: #fff; color: var(--red); }
.cta__mail { color: #fff; font-weight: 600; text-underline-offset: .25em; }
.cta__mail:hover { color: #fff; }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h1 { font-size: var(--fs-h1); margin-bottom: 24px; }
.about__copy > p:not(.lead) { color: var(--fog); max-width: 62ch; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 32px 0; padding: 0; list-style: none; }
.points li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.points b { font-size: 1.05rem; }
.points span { color: var(--fog); font-size: .95rem; }
.about__fig { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about__fig > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about__fig figcaption { display: flex; gap: 12px; align-items: center; margin-top: 12px; color: var(--fog); font-size: .9rem; }
.about__fig figcaption img { width: 64px; }

/* Reel cover without a TikTok thumbnail: stacked wordmark above the play button. */
.reel .reel__plate { align-content: start; padding: 26% 14px 0; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.1rem); }
.reel .reel__plate .wm { display: flex; flex-direction: column; align-items: center; line-height: .95; }
.reel .reel__plate + .reel__btn { top: auto; bottom: 18%; margin-top: 0; }

/* =========================================================================
   Sign Studio
   ========================================================================= */
.studio { padding-block: clamp(36px, 5vw, 72px) var(--sec); }
.studio__head { margin-bottom: clamp(24px, 3vw, 40px); }
.studio__head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.6rem); margin-bottom: 18px; max-width: 18ch; }
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.studio__view { position: sticky; top: calc(var(--header-h) + 16px); }
.studio__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 2px; background: var(--coal-2); padding: 3px; }
.seg__b { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: var(--fog); font-weight: 600; font-size: .875rem; cursor: pointer; }
.seg__b .i { width: 16px; height: 16px; }
.seg__b.is-on, .seg__b:hover { background: #fff; color: var(--ink); }
.seg__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.seg__file:focus-within { outline: 2px solid var(--hot); outline-offset: 2px; }

.studio__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #CFCAC0; user-select: none; touch-action: none; }
.studio__wall { position: absolute; inset: 0; background-size: cover; background-position: center; transition: filter .8s var(--ease); }
.studio__stage[data-wall="plaster"] .studio__wall { background-color: #D8D4CC; background-image: radial-gradient(90% 70% at 40% 15%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(0, 0, 0, .18), transparent 70%), repeating-radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px); }
.studio__stage[data-wall="brick"] .studio__wall { background-color: #8A4B35; background-image: radial-gradient(90% 70% at 40% 15%, rgba(255, 220, 190, .28), transparent 60%), linear-gradient(rgba(214, 200, 180, .9) 0 0), repeating-linear-gradient(0deg, transparent 0 44px, #CBBBA5 44px 48px); background-size: auto, 0 0, auto; }
.studio__stage[data-wall="brick"] .studio__wall::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, transparent 0 96px, #CBBBA5 96px 100px); -webkit-mask: repeating-linear-gradient(0deg, #000 0 48px, transparent 48px 96px); mask: repeating-linear-gradient(0deg, #000 0 48px, transparent 48px 96px); }
.studio__stage[data-wall="brick"] .studio__wall::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, transparent 0 46px, #CBBBA5 46px 50px, transparent 50px 96px); -webkit-mask: repeating-linear-gradient(0deg, transparent 0 48px, #000 48px 96px); mask: repeating-linear-gradient(0deg, transparent 0 48px, #000 48px 96px); }
.studio__stage[data-wall="charcoal"] .studio__wall { background-color: #3A3B3E; background-image: radial-gradient(90% 70% at 40% 15%, rgba(255, 255, 255, .16), transparent 60%), repeating-radial-gradient(circle at 60% 30%, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
html[data-night="1"] .studio__wall { filter: brightness(.16) saturate(.6); }
html[data-night="1"] .studio__stage.is-photo .studio__wall { filter: brightness(.28) saturate(.7); }
/* At night a plate sign gets a downlight; backlit signs light themselves. */
.studio__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(40% 55% at 50% 35%, rgba(255, 236, 205, .32), transparent 70%); transition: opacity .8s; }
html[data-night="1"] .studio:not(.is-backlit) .studio__stage::after { opacity: 1; }
.studio__sign { position: absolute; z-index: 2; outline: none; } /* placed instantly: the laser re-cut animates each change */
.is-photo .studio__sign { cursor: grab; transition: none; }
.is-photo .studio__sign:active { cursor: grabbing; }
.studio__svg { width: 100%; height: 100%; overflow: visible; }
.sg-shadow { opacity: .55; transition: opacity .6s; }
.sg-plate { }
.sg-grain { fill: #fff; }
.sg-edge { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sg-bolt { fill: #4A4D52; }
.sg-glow { opacity: 0; transition: opacity .8s var(--ease); }
.sg-lit path { fill: #EDEBE6; transition: fill .6s, filter .6s; }
html[data-night="1"] .sg-shadow { opacity: .15; }
html[data-night="1"] .studio.is-backlit .sg-shadow { opacity: 0; }
html[data-night="1"] .studio.is-backlit .sg-glow { opacity: .95; }
html[data-night="1"] .studio.is-backlit .sg-lit path { fill: var(--light); filter: drop-shadow(0 0 3px var(--light)); }
.studio.is-backlit .sg-shadow { opacity: .35; }
html[data-night="1"] .studio.is-multi .sg-glow, html[data-night="1"] .studio.is-multi .sg-lit { animation: rgb 6s linear infinite; }
@keyframes rgb { to { filter: hue-rotate(360deg); } }
.sg-trace .tr { fill: none; stroke: #fff; stroke-width: 2.5px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px #FF3131) drop-shadow(0 0 6px rgba(255, 49, 49, .8)); }
.sg-trace .tr.is-cool { stroke: #9A2329; filter: none; transition: stroke .8s; }
.sg-trace.is-done { opacity: 0; transition: opacity .8s; }
.sg-head { fill: #fff; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 12px #FF3131); }
.studio__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.studio__loading { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.studio__loading span { width: 40px; height: 2px; background: var(--hot); box-shadow: var(--glow); animation: ld 1s ease-in-out infinite alternate; }
@keyframes ld { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.studio__photo-hint { position: absolute; left: 12px; bottom: 12px; z-index: 4; margin: 0; padding: 8px 12px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .85rem; }
.studio__photo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.field--inline { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .9rem; font-weight: 600; }
.field--inline input[type="range"] { width: 200px; accent-color: var(--hot); }
.ro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 12px 0 0; background: var(--line-d); }
.ro div { padding: 12px 14px; background: var(--coal); }
.ro dt { font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); }
.ro dd { margin: 6px 0 0; font: 600 .95rem/1.2 var(--mono); color: #fff; }
.studio__credit { margin: 12px 0 0; font-size: .75rem; color: var(--fog-2); }

.studio__panel { display: grid; gap: 4px; }
.sfs { padding: 18px 0; border-top: 1px solid var(--line-d); }
.sfs legend { float: left; width: 100%; margin-bottom: 12px; font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog); }
.sfs legend + * { clear: both; }
.sfs.is-off .motifs { opacity: .35; }
.opts--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts--sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opts .opt span { justify-content: space-between; height: 100%; }
.opt--font span { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; text-align: center; }
.ff { font-size: 1.4rem; line-height: 1; font-weight: 400; }
.ff--block { font-family: var(--display); }
.ff--line { font-family: var(--font); font-weight: 300; letter-spacing: .06em; }
.ff--round { font-family: var(--font); font-weight: 700; letter-spacing: .02em; }
.ff--script { font-family: "Segoe Script", "Brush Script MT", cursive; font-style: italic; }
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.design { position: relative; }
.design input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.design span { display: grid; gap: 4px; padding: 6px 6px 8px; background: var(--coal-2); border: 1.5px solid var(--coal-3); text-align: center; transition: border-color .15s; }
.design img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #E6E5E1; }
.design b { font-size: .8rem; }
.design small { font: 500 .72rem/1 var(--mono); color: var(--fog); }
.design input:checked + span { border-color: var(--hot); box-shadow: 0 0 0 1px var(--hot), 0 0 18px rgba(255, 49, 49, .3); }
.design input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.motifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.motif { position: relative; }
.motif input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.motif span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 8px; background: var(--coal-2); border: 1.5px solid var(--coal-3); }
.motif svg { width: 34px; height: 34px; fill: #fff; color: #fff; }
.motif small { font-size: .72rem; color: var(--fog); }
.motif input:checked + span { border-color: var(--hot); background: #241315; }
.motif input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.motif input:disabled + span { cursor: not-allowed; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.swatches.is-multi { opacity: .35; pointer-events: none; }
.sw { position: relative; }
.sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw span { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px 6px 8px; background: var(--coal-2); border: 1.5px solid var(--coal-3); font-size: .8rem; }
.sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.sw input:checked + span { border-color: #fff; }
.sw input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.field__note { margin: 10px 0 0; color: var(--fog); font-size: .875rem; }
.studio__buy { position: sticky; bottom: 0; z-index: 3; padding: 18px 0 12px; border-top: 1px solid var(--line-d); background: var(--coal); box-shadow: 0 -24px 24px -8px var(--coal); }
.studio__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; }
.studio__price-n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: #fff; }
.studio__price small { color: var(--fog); font-size: .82rem; }
.studio__msg { min-height: 0; margin: 0 0 8px; color: var(--hot-soft); font-size: .9rem; }
.studio__msg:empty { display: none; }
.studio__more { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.studio__more .link-arrow { border: 0; border-bottom: 1px solid currentColor; background: none; padding: 0 0 2px; color: #fff; font-size: .9rem; cursor: pointer; }

/* =========================================================================
   Track your order
   ========================================================================= */
.track__head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); margin-bottom: 18px; max-width: 16ch; }
.track__form { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) auto; gap: 0 14px; align-items: end; max-width: 860px; margin: 32px 0 20px; }
.track__form .btn { margin-bottom: 16px; }
.track__out { max-width: 860px; margin-bottom: 40px; padding: 18px 20px; background: var(--coal-2); }
.track__out p { margin: 0 0 6px; color: var(--fog); }
.track__h { color: #fff !important; font-size: 1.1rem; }
.track__items { margin: 8px 0 0; padding-left: 18px; color: var(--fog); }
.track .line { margin-top: 70px; }
.track__help { margin-top: 48px; color: var(--fog); }
.track__help a { color: #fff; }

/* =========================================================================
   Page heads, contact, policies, 404 on the new tokens
   ========================================================================= */
.phead { background: var(--coal); color: #fff; padding-block: clamp(40px, 6vw, 84px); }
.phead h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); letter-spacing: .005em; max-width: 18ch; }
.phead__lead { color: var(--fog); }
.phead .crumbs, .phead .woocommerce-breadcrumb { margin-bottom: 14px; color: var(--fog); font-size: .85rem; }
.phead .crumbs a { color: #fff; }
.phead .catrail { margin-top: 28px; }
.phead__guide { margin: 22px 0 0; }
.contact { padding-block: clamp(40px, 5vw, 72px) var(--sec); }
.ways a { border-radius: 0; clip-path: var(--plate); background: var(--paper-2); }
.map, .map__load { border-radius: 0; }
.prose a { color: var(--red); }
.policy__help { border-radius: 0; }
.nf__in { grid-template-columns: minmax(0, 1fr); }
.nf__wheel { width: auto; font-size: clamp(3rem, 12vw, 9rem); color: var(--line-2); }
.nf__wheel .wm__b { color: var(--brand-200); }
.icon-btn { border-radius: 0; }

/* Product cards: laser outline on hover, the backlit photo at night, sizes */
.card { position: relative; }
.card__media { position: relative; }
.card__img { position: relative; display: block; }
.card__lit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s var(--ease); }
html[data-night="1"] .card--lit .card__lit { opacity: 1; }
.card__kerf { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.card__kerf rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--red); stroke-width: 2px; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; }
.card:hover .card__kerf rect, .card:focus-within .card__kerf rect { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-cut); filter: drop-shadow(0 0 4px rgba(255, 49, 49, .6)); }
.card__sizes { margin: 2px 0 8px; font-size: .75rem; color: var(--ink-3); }
html[data-night="1"] .card { color: #fff; }
html[data-night="1"] .card__sizes { color: var(--fog); }
.ptool { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 20px 0 6px; padding: 16px 18px; background: var(--ink); color: #fff; text-decoration: none; clip-path: var(--plate); }
.ptool .i { color: var(--hot); }
.ptool b { display: block; font-size: 1rem; }
.ptool small { color: var(--fog); font-size: .85rem; }
.ptool:hover { color: #fff; background: #222327; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1200px) {
	.nav__menu a { padding: 0 9px; }
	.lights__t { display: none; }
	.ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
	.nav { display: none; }
	.hdr__cta { display: none; }
	.studio__grid { grid-template-columns: minmax(0, 1fr); }
	.studio__view { position: relative; top: 0; }
	.products--rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ranges__list { grid-auto-columns: minmax(280px, 42vw); }
	.reels__list { grid-auto-columns: minmax(180px, 26vw); }
}
@media (min-width: 1081px) {
	.menu-btn { display: none; }
}
@media (max-width: 900px) {
	.teaser__form, .upband__grid, .smap__grid, .facts__grid, .trackband__grid, .about__grid { grid-template-columns: minmax(0, 1fr); }
	.teaser__plate { grid-column: 1; grid-row: auto; }
	.teaser__form .btns { grid-column: 1; }
	.stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts__award { max-width: 420px; }
	.about__fig { position: relative; top: 0; max-width: 440px; }
	.line:not(.line--mini) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.line:not(.line--mini)::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.line:not(.line--mini)::after { left: 11px; top: 0; width: 2px; height: 100%; transform-origin: center top; transform: scaleY(max(0, calc((var(--at) + .5) / var(--n)))); transition: transform 1.4s var(--ease-cut); }
	.line:not(.line--mini) .line__st { grid-template-columns: 24px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
	.line:not(.line--mini) .line__dot { grid-row: span 2; }
	.line.is-live .line__plate { display: none; }
	.track__form { grid-template-columns: minmax(0, 1fr); }
	.ro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.hdr__in { min-height: 60px; gap: 8px; }
	.brand { font-size: 1.3rem; }
	.lights { padding: 0 6px; }
	.products--rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ranges__list { grid-auto-columns: 82vw; }
	.reels__list { grid-auto-columns: 62vw; }
	.reel.is-playing { grid-column: auto; min-height: 0; aspect-ratio: 9 / 16; }
	.teaser__fields { grid-template-columns: minmax(0, 1fr); }
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftr__contact { grid-column: 1 / -1; }
	.opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.studio__stage { aspect-ratio: 4 / 3; }
	.seg { width: 100%; }
	.seg__b { flex: 1; justify-content: center; padding: 0 8px; }
	.line--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
	.line--mini::before { display: none; }
	.stamps { gap: 8px; }
	.stamp { padding: 16px 12px; }
	.cta__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
	.hdr .lights { display: none; }
	.products--rail { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) {
	.flist a, .mmenu__tools a, .mmenu__pages a { padding-block: 12px; }
	.socials a { width: 48px; height: 48px; }
}

/* Reduced motion: finished states, no sweeps, no pulses. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .rv { opacity: 1; transform: none; }
	.smap__lines path { stroke-dashoffset: 0; }
	.smap__pts circle { opacity: 1; }
	.btn::after { display: none; }
	.island:not(.island--ok) .is-loose { animation: none; }
}

/* Decorative wordmark outlines (footer, 404) */
.wmsvg { display: block; width: 100%; height: auto; overflow: visible; }
.wmsvg--giant .wmsvg__a { fill: #1D1E21; }
.wmsvg--giant .wmsvg__b { fill: #2A1214; }
.wmsvg--404 { max-width: 760px; }
.wmsvg--404 .wmsvg__a { fill: var(--line-2); }
.wmsvg--404 .wmsvg__b { fill: var(--brand-200); }

/* Shop, cart, checkout and other light pages: light page heads (WooCommerce bits are ink on light). */
body:not(.is-dark-page) .phead { background: var(--paper-2); color: var(--ink); }
body:not(.is-dark-page) .phead__lead { color: var(--ink-2); }
body:not(.is-dark-page) .phead .crumbs, body:not(.is-dark-page) .phead .woocommerce-breadcrumb { color: var(--ink-2); }
body:not(.is-dark-page) .phead .crumbs a { color: var(--ink); }
body:not(.is-dark-page) .phead h1 em { color: var(--ink-3); }
.crumbs a, .woocommerce-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }

/* =========================================================================
   5. Forge: 3D hero, Gate Builder, Gas Cage picker, pattern library
   (assets/js/stage.js, assets/js/3d/*.js, assets/js/patterns.js)
   ========================================================================= */

/* ---------- 5.1 Hero: the cut ---------- */
.hero { position: relative; height: 280vh; background: var(--coal); color: #fff; --hp: 0; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; background: #0d0e10; }
.hero__stage .stage3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still {
	position: absolute; right: 0; top: 0; width: min(62%, 980px); height: 100%;
	object-fit: cover; object-position: 60% 50%;
	opacity: .9; transition: opacity .8s var(--ease);
}
.hero__stage.is-live .hero__still { opacity: 0; pointer-events: none; }
.hero__pin::after {
	/* shade under the copy so white text reads on any frame */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13, 14, 16, .92) 0%, rgba(13, 14, 16, .7) 30%, rgba(13, 14, 16, 0) 62%),
		linear-gradient(0deg, rgba(13, 14, 16, .85) 0%, rgba(13, 14, 16, 0) 38%);
	opacity: clamp(.25, calc(1 - (var(--hp) - .1) * 3), 1);
}
.hero.is-hung .hero__pin::after { opacity: 1; transition: opacity .6s var(--ease); }
.hero__copy {
	position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 120px); z-index: 2;
	opacity: clamp(0, calc(1 - (var(--hp) - .1) * 7), 1);
	transform: translateY(calc(clamp(0, (var(--hp) - .1) * 7, 1) * -24px));
}
.hero.is-hung .hero__copy { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.hero__t { font-size: var(--fs-h1); margin: 0 0 22px; max-width: 9.5ch; }
.hero__t em { display: block; color: var(--fog); }
.hero.is-hung .hero__t em { color: #fff; }
.hero__lead { font-size: var(--fs-lg); color: var(--fog); max-width: 46ch; margin: 0 0 28px; }
.hero__cue {
	position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
	display: flex; align-items: center; gap: 10px;
	font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog);
	opacity: clamp(0, calc(1 - var(--hp) * 12), 1);
}
.hero__cue::before { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--hot), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Laser read-out: the machine's own display */
.hero__ro {
	position: absolute; z-index: 2; right: var(--gut); top: calc(var(--header-h, 72px) + 20px);
	display: grid; grid-template-columns: repeat(5, auto); gap: 0; margin: 0;
	background: rgba(18, 18, 20, .78); border: 1px solid var(--line-d);
	font-size: .75rem; line-height: 1.2;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__ro div { padding: 10px 14px; border-left: 1px solid var(--line-d); min-width: 64px; }
.hero__ro div:first-child { border-left: 0; }
.hero__ro dt { color: var(--fog-2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.hero__ro dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__ro div:first-child dd::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--hot); box-shadow: 0 0 8px var(--hot); vertical-align: 1px; }
.hero.is-cut .hero__ro div:first-child dd::before { background: var(--fog-2); box-shadow: none; }

@media (max-width: 1023px) {
	.hero__ro { grid-template-columns: repeat(3, auto); }
	.hero__ro div:nth-child(n+4) { display: none; }
}
@media (max-width: 767px) {
	.hero { height: 210vh; }
	.hero__still { width: 100%; height: 58%; object-position: 50% 40%; }
	.hero__pin::after { background: linear-gradient(0deg, rgba(13, 14, 16, .96) 0%, rgba(13, 14, 16, .8) 42%, rgba(13, 14, 16, 0) 70%); }
	.hero__copy { bottom: 54px; }
	.hero__t { font-size: clamp(2.6rem, 12vw, 3.6rem); max-width: none; }
	.hero__lead { font-size: 1rem; margin-bottom: 20px; }
	.hero__ro { left: var(--gut); right: auto; top: calc(var(--header-h, 64px) + 12px); }
	.hero__ro div { padding: 8px 10px; min-width: 0; }
	.hero .btns .btn { flex: 1 1 auto; }
}

/* Static hero: no WebGL, 3D switched off, or less motion. A normal full-screen hero. */
.has-static-hero .hero { height: auto; }
.has-static-hero .hero__pin { position: relative; height: auto; min-height: 100svh; display: grid; align-items: end; }
.has-static-hero .hero__copy, .has-static-hero .hero__pin::after { opacity: 1; transform: none; }
.has-static-hero .hero__cue, .has-static-hero .hero__ro { display: none; }
.has-static-hero .hero__copy { position: relative; bottom: auto; padding-block: calc(var(--header-h, 72px) + 40px) 72px; }
@media (max-width: 767px) {
	.has-static-hero .hero__still { height: 52%; }
	.has-static-hero .hero__copy { padding-top: 54vh; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__cue::before { animation: none; }
}

/* ---------- 5.2 Builders (Gate Builder, Gas Cage picker) ---------- */
.build__intro { margin-top: -18px; margin-bottom: clamp(28px, 4vw, 48px); }
.build__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.build__stage {
	position: relative; aspect-ratio: 16 / 11; background: #e4e2dd; overflow: hidden;
	clip-path: var(--plate);
}
@media (min-width: 1024px) {
	.build__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
	.build__stage { position: sticky; top: calc(var(--header-h, 72px) + 20px); }
}
.build--gate .build__stage { aspect-ratio: 16 / 10; }
.build__stage .stage3d { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.build__stage .stage3d.is-drag { cursor: grabbing; }
.build__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.build__stage.is-live .build__still { opacity: 0; pointer-events: none; }
.build__hint {
	position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 10px;
	background: rgba(18, 18, 20, .78); color: #fff; font-size: .75rem; letter-spacing: .06em;
	opacity: 0; transition: opacity .4s var(--ease);
}
.build__stage.is-live .build__hint { opacity: 1; }
.build__stage.is-loading::after {
	content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 40%;
	background: linear-gradient(90deg, transparent, var(--hot), #fff); box-shadow: 0 0 10px var(--hot);
	animation: buildscan 1.2s var(--ease) infinite;
}
@keyframes buildscan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.build__form { display: grid; gap: 22px; min-width: 0; }
.build__set legend { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; }
.build__set legend small { font-weight: 400; color: var(--fog); text-transform: none; letter-spacing: 0; }
.opts--size { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--size .opt span { justify-content: space-between; }
.opts--pat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .opts--pat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .opts--pat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt--pat span { padding: 6px 12px 6px 6px; gap: 10px; }
.opt--pat canvas { width: 34px; height: 34px; flex: none; }
.build__toggle { justify-self: start; }
.build__toggle[aria-pressed="true"] { --b: #fff; color: var(--ink); }

.build__sum { border-top: 1px solid var(--line-d2); padding-top: 18px; }
.build__name { margin: 0 0 4px; font-weight: 700; font-size: var(--fs-lg); }
.build__dims { margin: 0 0 10px; color: var(--fog); font-size: .875rem; }
.build__price { margin: 0; font: 400 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); letter-spacing: .01em; }
.build__vat { margin: 10px 0 0; color: var(--fog); font-size: var(--fs-xs); }
.build__act .btn { flex: 1 1 200px; }
.build__msg { margin: 0; font-weight: 600; color: #fff; }
.build__link { justify-self: start; }
.build__empty { font-size: var(--fs-lg); color: var(--fog); }
@media (max-width: 479px) {
	.opts--size { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 5.3 Home: builders band ---------- */
.hbuild__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .hbuild__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.hbuild__card {
	display: grid; text-decoration: none; color: #fff; background: var(--coal-2);
	clip-path: var(--plate); transition: background-color .25s var(--ease);
}
.hbuild__card:hover { color: #fff; background: var(--coal-3); }
.hbuild__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e4e2dd; }
.hbuild__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease-out); }
.hbuild__card:hover .hbuild__img img { transform: scale(1.09); }
.hbuild__body { display: grid; gap: 10px; padding: 24px clamp(20px, 3vw, 32px) 28px; justify-items: start; }
.hbuild__t { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.hbuild__x { color: var(--fog); max-width: 46ch; }
.hbuild__pats {
	list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px;
}
.hbuild__pats a { display: grid; gap: 8px; text-decoration: none; color: var(--fog); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; min-height: 44px; }
.hbuild__pats a:hover { color: #fff; }
.hbuild__pats canvas { width: 100%; aspect-ratio: 1; transition: transform .3s var(--ease); }
.hbuild__pats a:hover canvas { transform: translateY(-3px); }

/* ---------- 5.4 Pattern library ---------- */
.pats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px) 28px; }
@media (min-width: 768px) { .pats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .pats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pat { display: grid; gap: 18px; align-content: start; scroll-margin-top: calc(var(--header-h, 72px) + 24px); }
.pat__plate { clip-path: var(--plate); background: #141517; }
.pat__plate canvas { width: 100%; aspect-ratio: 4 / 3; }
.pat__t { font: 400 clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem)/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.pat__x { color: var(--fog); margin: 0 0 16px; max-width: 46ch; }
.pat:target .pat__plate { outline: 2px solid var(--hot); outline-offset: 4px; }
.pats__own { margin: clamp(40px, 5vw, 64px) 0 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: var(--fs-lg); color: var(--fog); }

@media (prefers-reduced-motion: reduce) {
	.build__stage.is-loading::after { animation: none; }
	.hbuild__img img, .hbuild__pats canvas { transition: none; }
}

/* =========================================================================
   6. Upload a design (template-parts/sections/upload-main.php, assets/js/upload.js)
   ========================================================================= */
.upl { padding-block: clamp(48px, 7vw, 112px) var(--sec); }
.upl__intro { display: grid; gap: 20px 56px; margin-bottom: clamp(32px, 4vw, 56px); }
.upl__t { font-size: var(--fs-h1); margin: 0; max-width: 11ch; }
.upl__lead .lead { margin-bottom: 18px; }
.upl__how { margin: 0; padding-left: 1.2em; color: var(--fog); display: grid; gap: 6px; max-width: 58ch; }
.upl__how li::marker { color: var(--hot); font-family: var(--mono); font-weight: 700; }
@media (min-width: 1000px) {
	.upl__intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
}

/* Tool: stage left, settings right */
.upl__tool { display: grid; gap: 24px; }
@media (min-width: 1000px) { .upl__tool { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; } }
.upl__main { min-width: 0; }

/* Drop zone */
.upl__drop { position: relative; }
.upl__droplabel {
	display: flex; align-items: center; gap: 18px; cursor: pointer;
	min-height: 168px; padding: 24px clamp(18px, 3vw, 36px);
	background: var(--coal-2); color: #fff;
	box-shadow: inset 0 0 0 1.5px var(--line-d2);
	transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.upl__droplabel:hover, .upl__drop.is-over .upl__droplabel { background: #202125; box-shadow: inset 0 0 0 2px var(--hot), 0 0 0 4px rgba(255, 49, 49, .14); }
.upl__file:focus-visible + .upl__droplabel { outline: 2px solid var(--hot); outline-offset: 3px; }
.upl__dropicon { width: 48px; height: 48px; flex: none; color: var(--hot); }
.upl__drop.is-over .upl__dropicon { transform: translateY(-4px); transition: transform .2s var(--ease); }
.upl__droptext { display: grid; gap: 6px; min-width: 0; }
.upl__dropt { font-size: var(--fs-lg); font-weight: 700; }
.upl__droptext small { color: var(--fog); font-size: var(--fs-sm); line-height: 1.45; }
.upl__loaded { display: none; font-size: var(--fs-sm); color: var(--fog); min-width: 0; overflow-wrap: anywhere; }
.upl__loaded b { color: #fff; }
.upl__loaded u { color: #fff; text-decoration-color: var(--hot); text-underline-offset: .25em; margin-left: 6px; white-space: nowrap; }
.upl.is-loaded .upl__droplabel { min-height: 64px; padding-block: 12px; }
.upl.is-loaded .upl__dropicon { width: 28px; height: 28px; }
.upl.is-loaded .upl__droptext { display: none; }
.upl.is-loaded .upl__loaded { display: block; }
.upl__alt { margin: 12px 0 0; color: var(--fog); font-size: var(--fs-sm); }
.upl__sample { background: none; border: 0; padding: 10px 0; min-height: 44px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: .25em; }
.upl__sample:hover { color: var(--hot-soft); }
.upl.is-loaded .upl__alt { display: none; }

/* Stage */
.upl__stage { position: relative; display: none; margin-top: 16px; padding: 0; background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--line-d); }
.upl.has-result .upl__stage, .upl__stage:has(.upl__note:not([hidden])) { display: block; }
.upl__canvas { margin-inline: auto; max-width: 100%; }
.upl__skip { position: absolute; right: 12px; bottom: 12px; display: none; }
.upl.is-cutting .upl__skip { display: inline-flex; }
.upl__note { margin: 0; padding: 20px; color: #fff; background: var(--coal-2); }
.upl.has-result .upl__note { border-top: 1px solid var(--line-d); }

/* Readouts */
.upl__results { display: none; margin-top: 16px; }
.upl.has-result .upl__results { display: block; }
.upl__ro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line-d); box-shadow: 0 0 0 1px var(--line-d); }
@media (min-width: 700px) { .upl__ro { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .upl__ro { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.upl__ro div { background: var(--coal); padding: 12px 14px; min-width: 0; }
.upl__ro dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fog-2); }
.upl__ro dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.upl__warn { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.upl__warn li { position: relative; padding: 10px 14px 10px 30px; background: var(--coal-2); color: #fff; font-size: var(--fs-sm); line-height: 1.5; }
.upl__warn li::before { content: ""; position: absolute; left: 13px; top: 1.05em; width: 7px; height: 7px; background: var(--fog); }
.upl__warn li.is-hot::before { background: var(--hot); box-shadow: 0 0 8px rgba(255, 49, 49, .8); }
.upl__warn li.is-warn::before { background: #fff; }
.upl__warn li.is-ok::before { background: #7ED6A1; }
.upl__similar { margin: 16px 0 0; display: grid; gap: 4px; font-size: var(--fs-sm); }
.upl__similar a { color: #fff; text-decoration: none; }
.upl__similar a span { border-bottom: 1px solid var(--line-d2); }
.upl__similar a:hover span { border-color: var(--hot); }
.upl__similar small { color: var(--fog-2); font-size: var(--fs-xs); }

/* Settings */
.upl__ctrl { display: grid; gap: 22px; padding: clamp(18px, 2.4vw, 26px); background: var(--coal-2); box-shadow: inset 0 0 0 1px var(--line-d); min-width: 0; }
@media (min-width: 1000px) { .upl__ctrl { position: sticky; top: calc(var(--header-h) + 20px); } }
.upl__set legend, .upl__set .lbl { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-weight: 700; font-size: var(--fs-sm); }
.upl__set output { color: var(--fog); font-weight: 500; }
.opts--stack { display: grid; }
.opts--stack .opt span { justify-content: space-between; }
.upl .opt span { min-height: 48px; }
.upl__hint { display: block; margin-top: 6px; color: var(--fog-2); font-size: var(--fs-xs); line-height: 1.45; }
.upl__range { width: 100%; height: 44px; margin: 0; background: none; accent-color: var(--hot); cursor: pointer; }
.upl__range:disabled { opacity: .45; cursor: not-allowed; }
.upl__size { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.upl__size .field { margin: 0; }
.upl__h { margin: 0 0 14px; display: grid; font-size: var(--fs-xs); color: var(--fog-2); text-align: right; }
.upl__h b { color: #fff; font-size: 1rem; }
.upl .check { min-height: 44px; align-items: center; }
.upl__demo { margin: 0; display: grid; gap: 8px; }
.upl__demo svg { width: 100%; max-width: 260px; height: auto; }
.upl__demo figcaption { color: var(--fog); font-size: var(--fs-xs); line-height: 1.5; }
.upl__acts { display: grid; gap: 10px; }
.upl__acts .btn { width: 100%; overflow: hidden; } /* .btn--line drops the clip-path, so its hover sweep needs clipping */

/* Quote form */
.upl__quote { display: grid; gap: 24px 56px; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-d2); }
@media (min-width: 1000px) { .upl__quote { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.upl__qt { font-size: var(--fs-h2); margin: 0 0 14px; }
.upl__qhead p { color: var(--fog); max-width: 44ch; }
.upl .qform { min-width: 0; }
.upl .qform .field label, .upl .qform .lbl { color: #fff; }
.upl .qform .field small { color: var(--fog-2); }
.upl .qform .check a { color: #fff; text-decoration-color: var(--hot); }
.upl__files { width: 100%; min-height: 50px; padding: 10px; background: var(--coal-2); border: 1.5px solid var(--coal-3); color: var(--fog); font-size: var(--fs-sm); }
.upl__files::file-selector-button { margin-right: 12px; min-height: 36px; padding: 6px 14px; border: 0; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.upl .form__msg.ok { background: #E7F4EC; color: #0E5A2E; }
.upl .form__msg.err { background: var(--brand-50); color: var(--red-700); }

@media (max-width: 520px) {
	.upl__droplabel { flex-direction: column; align-items: flex-start; min-height: 150px; }
	.upl.is-loaded .upl__droplabel { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
	.upl__droplabel, .upl__drop.is-over .upl__dropicon { transition: none; transform: none; }
}
