/* TS Controls — site styles. Dark, precise, restrained: one signal color (brand cyan). */

@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); }

:root {
  --bg: #07080a;
  --bg-raise: #0b0d10;
  --surface: #101318;
  --surface-2: #151920;
  --line: rgba(242, 240, 235, 0.08);
  --line-2: rgba(242, 240, 235, 0.15);
  --text: #f2f0eb;
  --text-2: #b4bac3;
  --text-3: #858e9a;
  --accent: #14aad6;
  --accent-hi: #5fd3f3;
  --accent-ink: #031219;
  --accent-glow: rgba(20, 170, 214, 0.35);
  --amber: #f2a93b;
  --heat: #ff7a1a; /* weld current and heat, only where it means that */
  --ok: #3ddc97;

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

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 9.5vw, 144px);
  --radius: 14px;
  --radius-sm: 8px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  --z-stage: 0;
  --z-content: 1;
  --z-header: 40;
  --z-menu: 50;
  --z-skip: 100;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -64px; z-index: var(--z-skip); padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top var(--dur) var(--ease-out); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
  line-height: 0.96;
  font-weight: 620;
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.display-md { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.75rem); }
.h2 {
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
  line-height: 1.04;
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
.lede { font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); color: var(--text-2); max-width: 36em; line-height: 1.6; }
.sub { color: var(--text-2); max-width: 34em; }
.label, .eyebrow, .mono-tags {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--accent-hi); }
.tick { width: 28px; height: 1px; background: currentColor; display: inline-block; }
/* The eyebrow as the first line of an <h1>: looks like the eyebrow, keeps its own spacing. */
.h1-kicker { display: flex; width: fit-content; margin-bottom: 24px; text-wrap: wrap; }
.hero .h1-kicker { margin-bottom: 32px; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.9375rem/1 var(--font); letter-spacing: 0.005em; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 8px 32px -6px var(--accent-glow); }
.btn-ghost { background: rgba(242, 240, 235, 0.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(242, 240, 235, 0.35); background: rgba(242, 240, 235, 0.08); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 0.875rem; white-space: nowrap; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-lg { width: 28px; height: 28px; fill: none; stroke: var(--accent-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.link-arrow .i { transition: transform var(--dur) var(--ease-out); color: var(--accent-hi); }
.link-arrow:hover .i { transform: translate(3px, -3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); display: inline-block; flex: none; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.18); }

/* ---------- 3D stage ---------- */
.stage { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: var(--z-stage); display: block; }
main, .footer { position: relative; z-index: var(--z-content); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); transition: background-color var(--dur) ease, border-color var(--dur) ease, backdrop-filter var(--dur) ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 8, 10, 0.72); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.header-row { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; text-decoration: none; line-height: 1; }
.brand-ts { font-weight: 850; font-size: 1.625rem; letter-spacing: -0.04em; color: var(--accent); font-variation-settings: "wdth" 112; }
.brand-name { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.015em; }
.brand-tag { flex-basis: 100%; margin-top: 5px; font-family: var(--mono); font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.nav { display: flex; gap: 4px; margin-left: 8px; flex: none; }
.nav a { position: relative; white-space: nowrap; padding: 12px 12px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color var(--dur-fast) ease; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--text); }
.site-header.menu-open { background: rgba(7, 8, 10, 0.97); }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-2); text-decoration: none; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.cart-link:hover { color: var(--text); background: rgba(242, 240, 235, 0.06); }
.cart-link .i { width: 20px; height: 20px; }
.cart-link .cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 0.6875rem/18px var(--font); text-align: center; }
.cart-link[hidden] { display: none; }
.cart-count.is-zero { display: none !important; }
.is-store .section { padding-block: clamp(56px, 6.5vw, 104px); }
.is-store .section.tight-top { padding-top: clamp(24px, 3vw, 40px); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-2); text-decoration: none; min-height: 44px; }
.header-phone:hover { color: var(--text); }
.header-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.header-login:hover { color: var(--text); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 16px; height: 1.5px; margin: 0 auto; background: currentColor; position: relative; transition: transform var(--dur) var(--ease-out); }
.menu-icon::before { content: ""; position: absolute; top: 5px; left: 0; }
.menu-icon { transform: translateY(-2.5px); }
.menu-btn[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(-5px) rotate(-90deg); }
/* ---------- Mobile menu ---------- */
.menu-btn { transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.menu-btn[aria-expanded="true"] { border-color: rgba(242, 240, 235, 0.3); background: rgba(242, 240, 235, 0.06); }
.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; gap: 28px;
  padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-top: 1px solid var(--line);
  animation: mm-fade 220ms ease both;
}
.mobile-menu[hidden] { display: none; }
.mm-nav > ul > li { border-bottom: 1px solid var(--line); }
.mm-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
  font-size: clamp(1.625rem, 1.35rem + 1.4vw, 2.125rem); font-weight: 560; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 104; color: var(--text); text-decoration: none;
}
.mm-link .i { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--dur) var(--ease-out), color var(--dur-fast) ease; }
.mm-link:hover .i, .mm-link:focus-visible .i { color: var(--accent-hi); transform: translateX(3px); }
.mm-link[aria-current] { color: var(--accent-hi); }
.mm-link[aria-current] .i { color: var(--accent-hi); }
.mm-sub { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.mm-sub a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.mm-sub a:hover { border-color: rgba(95, 211, 243, 0.45); color: var(--text); }
.mm-sub a[aria-current] { border-color: var(--accent); color: var(--text); background: rgba(20, 170, 214, 0.1); }
/* Rows keep their height and the menu scrolls on short screens; tablets keep a readable measure. */
.mobile-menu > * { flex-shrink: 0; width: 100%; max-width: 640px; }
.mm-utils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mm-utils li + li { border-left: 1px solid var(--line); }
.mm-utils a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.mm-utils a:hover, .mm-utils a[aria-current] { color: var(--text); background: rgba(242, 240, 235, 0.04); }
.mm-utils .cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 0.6875rem/20px var(--font); text-align: center; }
.mm-cta { display: grid; gap: 10px; }
.mm-cta .btn { width: 100%; }
.mm-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.mm-foot > a { font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2); text-decoration: none; }
.mm-foot > a:hover { color: var(--text); }
.mm-foot .social { margin: 0; }
/* One orchestrated moment: the rows rise in, in order, as the menu opens. */
.mobile-menu:not([hidden]) .mm-item { animation: mm-rise 460ms var(--ease-out) both; animation-delay: calc(40ms + var(--i, 0) * 32ms); }
@keyframes mm-fade { from { opacity: 0; } }
@keyframes mm-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

@media (max-width: 1180px) { .header-phone { display: none; } .nav a { padding-inline: 10px; } .header-row { gap: 20px; } }
@media (max-width: 980px) {
  .nav, .header-actions .btn, .header-login { display: none; }
  .menu-btn { display: inline-block; }
}

/* ---------- Hero: scroll-driven weld film (js/weld-film.js) ---------- */
/* The stage pins for the whole section and the chapters scroll over it (negative margin); scroll
   position picks the film frame. Chapter 0 keeps the hero layout for the H1 and CTAs. */
.weld-film { position: relative; background: var(--bg); }
.weld-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
/* On wide screens the film slides right (its left edge fades into the page) so the cell sits clear of
   the copy column; phones keep it centred under a full scrim. */
.weld-media { position: absolute; inset: 0; }
@media (min-width: 1024px) {
  .weld-media { transform: translateX(16%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
  .weld-scrim { transform: translateX(-16%); }
}
.weld-media :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.weld-still { opacity: 0; }
.weld-still:first-child { opacity: 1; }
.weld-media video { opacity: 0; transition: opacity 400ms ease; }
.weld-stage.is-live .weld-media video { opacity: 1; }
.weld-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.94) 0%, rgba(7, 8, 10, 0.82) 32%, rgba(7, 8, 10, 0.3) 50%, rgba(7, 8, 10, 0) 64%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.55) 0%, rgba(7, 8, 10, 0) 18%, rgba(7, 8, 10, 0) 78%, rgba(7, 8, 10, 0.9) 100%);
}
.weld-chapters { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100lvh; }
/* Chapters are full-width bands over the stage: only their content takes pointer input, so the
   chapter rail underneath stays clickable. */
.weld-ch { position: relative; min-height: 115vh; display: flex; align-items: center; pointer-events: none; }
.weld-ch > .wrap { width: 100%; }
.weld-copy, .hero-copy, .hero-facts, .scroll-cue { pointer-events: auto; }
.weld-copy { max-width: 540px; display: grid; gap: 22px; justify-items: start; }
.weld-ch--schedule { min-height: 190vh; align-items: stretch; }
.weld-ch--schedule > .wrap { display: flex; align-items: flex-start; } /* full-height wrap: room for the copy to pin */
.weld-ch--schedule .weld-copy { position: sticky; top: calc(76px + 4vh); max-width: 580px; }
.weld-ch--close { min-height: 110vh; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: end; gap: 40px 32px; padding-top: 140px; padding-bottom: 48px; }
.hero-copy { max-width: min(700px, 52vw); display: grid; gap: 28px; align-self: center; }
.hero-copy .display { margin-top: -4px; }
.hero-facts { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-2); padding-top: 20px; max-width: 640px; }
.hero-facts div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.hero-facts dd { font-weight: 550; margin-top: 4px; }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); text-decoration: none; }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Chapter rail: where you are in the film, and a way to jump to a chapter. */
.weld-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 4px; }
.weld-rail button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.weld-rail button::before { content: ""; width: 2px; height: 22px; border-radius: 1px; background: var(--line-2); transform: scaleY(0.55); transition: background-color var(--dur) ease, transform var(--dur) var(--ease-out); }
.weld-rail button:hover::before { background: var(--text-3); }
.weld-rail button[aria-current]::before { background: var(--accent-hi); transform: none; }

/* Weld schedule instrument: electrode force and weld current over one spot, cursor on scroll. */
.scope { width: min(100%, 560px); margin-top: 4px; padding: 16px 18px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(8, 10, 13, 0.64); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.scope-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.scope-tag { padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 999px; letter-spacing: 0.06em; }
.scope-phases { display: grid; grid-template-columns: 200fr 200fr 140fr 60fr; margin-top: 12px; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.scope-phases span { padding-left: 6px; border-left: 1px solid var(--line-2); white-space: nowrap; transition: color var(--dur) ease; }
.scope-phases span.on { color: var(--text); }
.scope-plot { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; }
.scope-grid path { fill: none; stroke: rgba(242, 240, 235, 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scope-force, .scope-current { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scope-force { stroke: var(--accent-hi); }
.scope-current { stroke: var(--heat); }
.scope-cursor { stroke: rgba(242, 240, 235, 0.5); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.scope-dot--force { fill: var(--accent-hi); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.scope-dot--current { fill: var(--heat); filter: drop-shadow(0 0 6px rgba(255, 122, 26, 0.55)); }
.scope-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.scope-read dt { display: flex; align-items: center; gap: 6px; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.scope-read dd { margin: 4px 0 0; font-size: 0.875rem; color: var(--text); }
.swatch { display: inline-block; width: 10px; height: 2px; border-radius: 1px; }
.swatch--force { background: var(--accent-hi); }
.swatch--current { background: var(--heat); }

@media (max-width: 1023px) {
  /* Copy spans the full width here, so the whole frame is dimmed enough for body text. */
  .weld-scrim { background: linear-gradient(180deg, rgba(7, 8, 10, 0.72) 0%, rgba(7, 8, 10, 0.6) 40%, rgba(7, 8, 10, 0.66) 60%, rgba(7, 8, 10, 0.92) 80%, var(--bg) 100%); }
  .weld-copy .lede, .hero-copy .lede { text-shadow: 0 1px 14px rgba(7, 8, 10, 0.8); }
  .weld-media :is(img, video) { object-position: 57% 45%; } /* the weld point sits just right of centre in the film */
  .hero-inner { padding-top: 42vh; padding-bottom: 88px; }
  .hero-copy { align-self: end; max-width: 700px; }
  .hero-facts div { padding-right: 20px; margin-right: 20px; }
  .weld-ch { align-items: flex-end; padding-bottom: 14vh; }
  .weld-ch--schedule { align-items: stretch; padding-bottom: 0; }
  .weld-ch--schedule .weld-copy { top: calc(76px + 2vh); }
}
@media (max-width: 860px) { .weld-rail { display: none; } }
@media (max-width: 640px) {
  .hero-inner { padding-top: calc(76px + 24vh); padding-top: calc(76px + 24svh); gap: 32px; }
  .hero-copy { gap: 20px; }
  .hero .lede, .weld-copy .lede { font-size: 1rem; }
  .scroll-cue { display: none; }
  .weld-copy { gap: 16px; }
  .scope { padding: 12px 14px; }
  .scope-read dd { font-size: 0.8125rem; }
}
@media (max-width: 520px) {
  .hero-facts { gap: 12px 0; }
  .hero-facts div { flex: 1 1 40%; border-right: 0; margin-right: 0; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section.tight { padding-block: clamp(72px, 8vw, 120px); }
.solid { background: var(--bg); }
.solid.raise { background: var(--bg-raise); }
.solid + .solid { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.section-head.split > div { display: grid; gap: 18px; max-width: 860px; }
.section-head.split .sub { max-width: 420px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* Customers */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-grid li { position: relative; background: var(--bg); padding: 32px 28px 28px; display: grid; gap: 6px; align-content: start; min-height: 172px; transition: background-color var(--dur) ease; }
.logo-grid li::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.logo-grid li:hover { background: var(--surface); }
.logo-grid li:hover::before { transform: scaleX(1); }
.logo-grid img { height: 34px; width: auto; margin-bottom: 22px; opacity: 0.88; }
.logo-grid img.wide { height: 24px; margin-top: 5px; margin-bottom: 27px; }
.logo-grid img.big { height: 44px; margin-top: -5px; margin-bottom: 17px; }
.logo-grid img.tk { height: 26px; border-radius: 3px; margin-top: 4px; margin-bottom: 26px; }
.logo-grid strong { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.logo-grid span { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: 1fr; } .logo-grid li { min-height: 0; } }

/* Service cards with 3D tilt */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform 600ms var(--ease-out), border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(95, 211, 243, 0.12), transparent 40%);
  opacity: 0; transition: opacity var(--dur) ease;
}
.card:hover { border-color: rgba(95, 211, 243, 0.32); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(20, 170, 214, 0.08); }
.card:hover::after { opacity: 1; }
.card.tilting { transition: transform 80ms linear, border-color var(--dur) ease, box-shadow var(--dur) ease; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--surface-2); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 19, 24, 0) 45%, var(--surface) 100%); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); filter: saturate(0.85) contrast(1.05); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { display: grid; gap: 14px; padding: 8px 28px 24px; align-content: start; flex: 1; transform: translateZ(24px); }
.card-body p:not(.mono-tags) { color: var(--text-2); font-size: 0.9688rem; }
.card-body .link-arrow { margin-top: auto; }
.mono-tags { color: var(--accent-hi); font-size: 0.6875rem; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; max-width: 640px; } }

.stack { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); }

/* ---------- Industry 5.0 story ---------- */
.story { position: relative; height: 330vh; }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.story-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.78) 32%, rgba(7, 8, 10, 0) 58%),
              linear-gradient(180deg, var(--bg) 0%, rgba(7, 8, 10, 0) 16%, rgba(7, 8, 10, 0) 84%, var(--bg) 100%); }
.story-inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; gap: 48px; height: 100%; padding-top: 76px; }
.story-copy { display: grid; gap: 28px; justify-items: start; }
.story-title { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.steps { display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0 16px 18px; border-left: 1px solid var(--line-2); opacity: 0.38; transition: opacity var(--dur) ease, border-color var(--dur) ease; }
.steps li h3 { font-size: 1.125rem; }
.steps li p { color: var(--text-2); font-size: 0.9688rem; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 500ms var(--ease-out), opacity var(--dur) ease; }
.step-num { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); padding-top: 4px; }
.story-stage[data-step="1"] [data-step-item="1"],
.story-stage[data-step="2"] [data-step-item="2"],
.story-stage[data-step="3"] [data-step-item="3"] { opacity: 1; border-left-color: var(--accent); }
.story-stage[data-step="1"] [data-step-item="1"] p,
.story-stage[data-step="2"] [data-step-item="2"] p,
.story-stage[data-step="3"] [data-step-item="3"] p { max-height: 8em; opacity: 1; }
.story-stage[data-step="1"] [data-step-item="1"] .step-num,
.story-stage[data-step="2"] [data-step-item="2"] .step-num,
.story-stage[data-step="3"] [data-step-item="3"] .step-num { color: var(--accent-hi); }

.readout {
  justify-self: end; align-self: end; margin-bottom: 64px; width: 300px; padding: 16px 18px; border-radius: 12px;
  background: rgba(10, 12, 15, 0.6); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.readout-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.readout-head [data-track-mode] { color: var(--amber); transition: color var(--dur) ease; }
.readout-head [data-track-mode].adaptive { color: var(--accent-hi); }
.readout-row { display: flex; justify-content: space-between; padding: 12px 0 8px; }
.readout-row b { font-weight: 500; color: var(--text); font-size: 0.875rem; }
.meter { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--amber)); transform-origin: left; transform: scaleX(1); }
.legend { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.legend li { display: flex; align-items: center; gap: 10px; }
.sw { width: 20px; flex: none; }
.sw-amber { height: 6px; background: radial-gradient(circle, var(--amber) 2.4px, transparent 3px) 0 50% / 7px 6px repeat-x; }
.sw-cyan { height: 0; border-top: 2px dotted var(--accent-hi); }
.readout-head [data-track-mode] { white-space: nowrap; }

@media (max-width: 1023px) {
  .story-scrim { background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 8, 10, 0) 14%, rgba(7, 8, 10, 0) 38%, rgba(7, 8, 10, 0.9) 58%, var(--bg) 100%); }
  .story-inner { grid-template-columns: 1fr; align-items: end; padding-bottom: 40px; }
  .story-copy { gap: 20px; }
  .readout { display: none; }
  .steps li { padding-block: 10px; }
  .story-copy .btn { display: none; }
}

/* Rollout */
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.status-grid li { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 132px; justify-content: space-between; }
.status-grid strong { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.status.live .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.2); }
.status.on .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(20, 170, 214, 0.22); }
.status.exp .dot { background: transparent; border: 1.5px solid var(--amber); }
.status.tbd .dot { background: transparent; border: 1.5px dashed var(--text-3); }
@media (max-width: 900px) { .status-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .status-grid { grid-template-columns: 1fr; } .status-grid li { min-height: 0; } }

/* Method */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.method::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2) 60%); }
.method li { position: relative; display: grid; gap: 12px; align-content: start; }
.method .node { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-raise); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.75rem; color: var(--accent-hi); margin-bottom: 12px; transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.method li.in .node { border-color: rgba(95, 211, 243, 0.55); box-shadow: 0 0 24px -4px var(--accent-glow); }
.method p { color: var(--text-2); font-size: 0.9688rem; }
@media (max-width: 980px) {
  .method { grid-template-columns: 1fr; gap: 28px; }
  .method::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-2) 60%); }
  .method li { grid-template-columns: 44px 1fr; column-gap: 20px; }
  .method .node { grid-row: span 2; margin-bottom: 0; }
}

/* Why — bento */
.bento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.bento-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; border: 1px solid var(--line); background: var(--surface); }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.bento-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 10, 0) 30%, rgba(7, 8, 10, 0.92) 78%); }
.bento-photo figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 32px; display: grid; gap: 12px; }
.bento-photo blockquote { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; font-variation-settings: "wdth" 106; }
.bento-photo figcaption p:last-child { color: var(--text-2); }
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reasons li { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; transition: background-color var(--dur) ease; }
.reasons li:hover { background: var(--surface); }
.reasons .i-lg { margin-bottom: 8px; }
.reasons h3 { font-size: 1.0625rem; }
.reasons p { color: var(--text-2); font-size: 0.9375rem; }
@media (max-width: 1080px) { .bento { grid-template-columns: 1fr; } .bento-photo { min-height: 420px; } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

/* Offer + partner */
.offer-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.offer, .partner { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; justify-items: start; }
.offer { position: relative; background: radial-gradient(120% 140% at 0% 0%, rgba(20, 170, 214, 0.16), transparent 50%), var(--surface); border: 1px solid rgba(95, 211, 243, 0.25); overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 47px, rgba(242, 240, 235, 0.025) 47px 48px); pointer-events: none; }
.offer > * { position: relative; }
.offer p:not(.label) { color: var(--text-2); max-width: 36em; }
.offer .label { color: var(--accent-hi); }
.partner { background: var(--surface); border: 1px solid var(--line); }
.partner p:not(.label) { color: var(--text-2); }
@media (max-width: 900px) { .offer-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; min-height: 44px; font-size: 1.125rem; font-weight: 550; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.5px solid var(--accent-hi); border-bottom: 1.5px solid var(--accent-hi); transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--accent-hi); }
.faq details p { color: var(--text-2); padding: 0 48px 24px 0; max-width: 42em; }
.faq a { color: var(--accent-hi); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 8px; } .faq-layout .section-head { position: static; } }

/* Migration pages: legacy platform -> current platform, and the callout on the platform pages */
.migrate-map { border-top: 1px solid var(--line-2); }
.migrate-map li { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.migrate-map .from { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--text-3); }
.migrate-map .to { font-weight: 600; }
.migrate-map .i { color: var(--accent-hi); }
@media (max-width: 520px) { .migrate-map li { grid-template-columns: 1fr; gap: 6px; } .migrate-map .i { transform: rotate(90deg); } }
.migrate-link { margin-top: 28px; max-width: 560px; }
.migrate-link .muted { font-size: 0.875rem; }
.scope-list a { color: var(--accent-hi); }

/* Proof strip under the service heroes */
.proof { background: var(--bg); border-bottom: 1px solid var(--line); }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-block: 22px; }
.proof-logos { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.proof-logos img { height: 30px; width: auto; opacity: 0.78; transition: opacity var(--dur-fast) ease; }
.proof-logos img.wide { height: 20px; }
.proof-logos img.big { height: 36px; }
.proof-logos img.tk { height: 22px; border-radius: 3px; }
.proof-logos li:hover img { opacity: 1; }
@media (max-width: 640px) { .proof-row { gap: 14px 24px; } .proof-logos { gap: 16px 28px; } .proof-logos img { height: 24px; } .proof-logos img.big { height: 30px; } .proof-logos img.wide, .proof-logos img.tk { height: 18px; } }

/* Mobile call / RFQ bar (shown by main.js once the hero is scrolled past) */
.sticky-cta { display: none; }
@media (max-width: 980px) {
  .sticky-cta {
    position: fixed; inset: auto 0 0 0; z-index: 30;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 8, 10, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-2);
    transform: translateY(110%); visibility: hidden;
    transition: transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .sticky-cta.show { transform: none; visibility: visible; transition: transform var(--dur) var(--ease-out); }
  .sticky-cta .btn { --h: 48px; padding: 0 14px; }
}

/* Contact */
.contact { overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); }
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; filter: saturate(0.7); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(7, 8, 10, 0.7) 50%, rgba(7, 8, 10, 0.45)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.contact-inner { position: relative; display: grid; gap: 28px; justify-items: start; }
.contact-inner .display { max-width: 14ch; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; width: 100%; margin-top: 32px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-grid li { background: rgba(10, 12, 15, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 22px 24px; display: grid; gap: 6px; }
.contact-grid a, .contact-grid li > span:last-child { font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.contact-grid a:hover { color: var(--accent-hi); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 380px; }
.footer-brand p { color: var(--text-3); font-size: 0.9375rem; }
.footer nav { display: grid; gap: 2px; align-content: start; }
.footer nav .label { margin-bottom: 10px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; padding: 6px 0; }
.footer nav a:hover { color: var(--text); }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.social a:hover { color: var(--accent-hi); border-color: rgba(95, 211, 243, 0.4); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.muted { color: var(--text-3); }
.opt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.help { font-size: 0.8125rem; color: var(--text-3); }
.help a, .sub a { color: var(--accent-hi); }
.fine { font-size: 0.8125rem; color: var(--text-3); max-width: 42em; }
.h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.012em; }
.narrow { max-width: 760px; }
.section.tight-top { padding-top: clamp(24px, 3vw, 40px); }
.link-btn { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--text-3); font: inherit; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn.is-loading { position: relative; opacity: 0.8; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Sub-page hero ---------- */
.sub-hero { position: relative; overflow: hidden; background: var(--bg); padding: calc(76px + clamp(64px, 10vw, 140px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.sub-hero-media { position: absolute; inset: 0; }
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.75) contrast(1.05); transform: scale(1.04); animation: hero-drift 18s var(--ease-out) forwards; }
@keyframes hero-drift { to { transform: scale(1); } }
/* Video hero: the subject is framed centre in the clip, so the clip is slid right (its left edge fades
   out) to put the subject in the right third, clear of the copy; the scrim is lighter there. Phones keep
   a full scrim under the text. */
.sub-hero-media video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(0.9) contrast(1.05);
  transform: translateX(20%) scale(1.12); transform-origin: 50% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 36%); mask-image: linear-gradient(90deg, transparent 12%, #000 36%);
}
.has-video .sub-hero-media::after { background: linear-gradient(90deg, var(--bg) 4%, rgba(7, 8, 10, 0.8) 34%, rgba(7, 8, 10, 0.22) 68%, rgba(7, 8, 10, 0.12)), linear-gradient(180deg, rgba(7, 8, 10, 0.55), transparent 26%, transparent 74%, var(--bg)); }
@media (max-width: 900px) {
  .sub-hero-media video { transform: none; opacity: 0.7; -webkit-mask-image: none; mask-image: none; }
  .has-video .sub-hero-media::after { background: linear-gradient(180deg, rgba(7, 8, 10, 0.5), rgba(7, 8, 10, 0.74) 40%, var(--bg)); }
}
.sub-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, rgba(7, 8, 10, 0.82) 42%, rgba(7, 8, 10, 0.35) 100%), linear-gradient(180deg, rgba(7, 8, 10, 0.6), transparent 30%, transparent 70%, var(--bg)); }
.sub-hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(20, 170, 214, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 170, 214, 0.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 20%, transparent 70%); }
.sub-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.sub-hero-copy { display: grid; gap: 24px; max-width: 820px; }
.sub-hero .display-md { font-size: clamp(2.5rem, 1.3rem + 4vw, 5rem); }
@media (max-width: 900px) { .sub-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Content blocks ---------- */
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-2.align-center { align-items: center; }
.split-2 .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--bg); padding: 24px; }
.facts dt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin-top: 8px; font-weight: 550; line-height: 1.5; }
.facts dd .muted { font-weight: 400; font-size: 0.9375rem; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles li { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; overflow: hidden; }
.principles li::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent 70%); }
.principles .step-num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent-hi); }
.principles p { color: var(--text-2); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.scope-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.scope-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.scope-mark { width: 10px; height: 10px; margin-top: 8px; border: 1.5px solid var(--accent-hi); transform: rotate(45deg); }
.scope-list h3 { font-size: 1.0625rem; }
.scope-list p { color: var(--text-2); font-size: 0.9375rem; margin-top: 2px; }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.caps li { background: var(--bg-raise); padding: 32px 28px; display: grid; gap: 14px; align-content: start; min-height: 260px; transition: background-color var(--dur) ease; }
.caps li:hover { background: var(--surface); }
.cap-num { font-family: var(--mono); font-size: 2rem; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--accent-hi); line-height: 1; }
.caps p { color: var(--text-2); font-size: 0.9688rem; }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } .caps li { min-height: 0; } }
.platform-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform-link { position: relative; display: grid; gap: 8px; padding: 24px 56px 24px 24px; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out); }
.platform-link:hover { border-color: rgba(95, 211, 243, 0.4); transform: translateY(-2px); }
.platform-link strong { font-size: 1.125rem; font-weight: 600; }
.platform-link .i { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent-hi); }
@media (max-width: 900px) { .platform-links { grid-template-columns: 1fr; } }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85); }
.media-frame figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(7, 8, 10, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.quote-block { display: grid; gap: 20px; max-width: 980px; }
.quote-block blockquote { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "wdth" 106; }
.follow-list { display: grid; gap: 2px; }
.follow-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text-2); }
.follow-list a:hover { color: var(--text); }
.follow-list .i { color: var(--accent-hi); }

/* Customers page */
.customer-list { display: grid; border-top: 1px solid var(--line-2); }
.customer-list > li { display: grid; grid-template-columns: 64px 180px minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-2); transition: background-color var(--dur) ease; }
.customer-list > li:hover { background: linear-gradient(90deg, rgba(20, 170, 214, 0.05), transparent 60%); }
.cust-num { font-family: var(--mono); font-size: 0.8125rem; color: var(--text-3); }
.cust-logo { display: flex; align-items: center; height: 48px; }
.cust-logo img { height: 36px; width: auto; opacity: 0.9; }
.cust-logo img.wide { height: 24px; }
.cust-logo img.big { height: 44px; }
.cust-logo img.tk { height: 26px; border-radius: 3px; }
.cust-body { display: grid; gap: 6px; }
.cust-body h3 { font-size: 1.25rem; }
.cust-body > p:not(.mono-tags) { color: var(--text-2); max-width: 46em; }
.cust-body .mono-tags { color: var(--text-3); }
.cust-plus { display: grid; place-items: center; width: 48px; height: 48px; border: 1px dashed var(--accent-hi); border-radius: 50%; color: var(--accent-hi); font-size: 1.5rem; }
.cust-next .cust-body h3 { color: var(--accent-hi); }
.note-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: end; }
@media (max-width: 800px) {
  .customer-list > li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 16px; }
  .cust-logo { grid-column: 2; }
  .cust-body { grid-column: 2; }
  .note-row { grid-template-columns: 1fr; gap: 20px; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 1000px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 28px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; font-size: 0.875rem; font-weight: 550; color: var(--text-2); text-align: center; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }
.seg.seg-2 { grid-template-columns: repeat(2, 1fr); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field > label, .buy legend, .summary label { font-size: 0.875rem; font-weight: 550; color: var(--text); }
.field > label span[aria-hidden] { color: var(--accent-hi); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font: 400 1rem/1.4 var(--font); transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
textarea { resize: vertical; min-height: 132px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover { border-color: rgba(242, 240, 235, 0.28); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 170, 214, 0.25); }
[aria-invalid="true"] { border-color: #ff6b6b !important; }
.field-error, .form-error { color: #ff8a8a; font-size: 0.875rem; }
.dropzone { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--bg); cursor: pointer; color: var(--text-2); transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent-hi); background: rgba(20, 170, 214, 0.06); }
.dropzone.has-file { border-style: solid; border-color: rgba(61, 220, 151, 0.5); }
.dropzone:focus-within { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.dropzone strong { color: var(--text); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); }
.form-status.ok { border-color: rgba(61, 220, 151, 0.45); background: rgba(61, 220, 151, 0.08); }
.form-status.error { border-color: rgba(255, 107, 107, 0.45); background: rgba(255, 107, 107, 0.08); }
.form-status a { color: var(--accent-hi); }
.contact-aside { display: grid; gap: 12px; }
.aside-card { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; }
.aside-big { font-size: 1.25rem; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.aside-big:hover { color: var(--accent-hi); }

/* ---------- Store ---------- */
.is-store .site-header { background: rgba(7, 8, 10, 0.92); border-bottom-color: var(--line); }
.store-nav { position: sticky; top: 76px; z-index: 30; margin-top: 76px; background: rgba(11, 13, 16, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.store-nav-row { display: flex; align-items: center; gap: 24px; min-height: 56px; }
.store-home { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--text-2); white-space: nowrap; }
.store-home.is-active, .store-home:hover { color: var(--accent-hi); }
.store-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.store-links::-webkit-scrollbar { display: none; }
.store-links a { padding: 10px 12px; font-size: 0.875rem; color: var(--text-2); text-decoration: none; white-space: nowrap; border-radius: 8px; }
.store-links a:hover { color: var(--text); background: rgba(242, 240, 235, 0.05); }
.store-links a[aria-current] { color: var(--text); background: rgba(20, 170, 214, 0.14); }
.store-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 0.875rem; font-weight: 550; white-space: nowrap; }
.store-cart .cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.store-cart:hover { border-color: var(--accent-hi); }
@media (max-width: 720px) { .store-home { display: none; } .store-nav-row { gap: 12px; } }
.store-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.store-hero-media { position: absolute; inset: 0; }
.store-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.store-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 10, 0.88) 0%, rgba(7, 8, 10, 0.55) 45%, rgba(7, 8, 10, 0.1) 100%), linear-gradient(180deg, transparent 50%, var(--bg) 100%); }
.store-hero-inner { position: relative; display: grid; gap: 22px; padding-block: 96px 72px; max-width: calc(var(--wrap) + var(--gutter) * 2); }
.store-hero .display { max-width: 12ch; font-size: clamp(2.75rem, 1.2rem + 5vw, 5.5rem); }
@media (max-width: 720px) {
  /* Phones: film on top with the face clear, copy below it on the page background. */
  .store-hero { display: block; min-height: 0; }
  .store-hero-media { position: relative; height: min(58vh, 520px); }
  .store-hero-media video { object-position: 50% 22%; }
  .store-hero-media::after { background: linear-gradient(180deg, rgba(7, 8, 10, 0.2) 0%, transparent 30%, transparent 55%, var(--bg) 100%); }
  .store-hero-inner { margin-top: -96px; padding-block: 0 48px; gap: 18px; }
  .store-hero .display { max-width: none; font-size: clamp(2rem, 8.2vw, 2.75rem); }
}
.perks { background: var(--bg-raise); border-bottom: 1px solid var(--line); }
.perks-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks-row > div { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-left: 1px solid var(--line); }
.perks-row > div:first-child { border-left: 0; }
.perks-row p { display: grid; gap: 2px; font-size: 0.875rem; }
.perks-row span { color: var(--text-3); font-size: 0.8125rem; }
@media (max-width: 900px) { .perks-row { grid-template-columns: repeat(2, 1fr); } .perks-row > div:nth-child(3) { border-left: 0; } .perks-row > div { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .perks-row { grid-template-columns: 1fr; } .perks-row > div { border-left: 0; } }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; inset: auto 0 0 0; display: grid; gap: 6px; padding: 24px; background: linear-gradient(180deg, transparent, rgba(7, 8, 10, 0.85)); }
.tile em { font-style: normal; color: var(--accent-hi); }
.tile strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.p-card-link { display: block; text-decoration: none; }
.p-media { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #e8e6e1; }
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur) ease, transform 1s var(--ease-out); }
.p-hover { opacity: 0; }
.p-card-link:hover .p-hover { opacity: 1; }
.p-card-link:hover .p-media img:first-child { transform: scale(1.03); }
.p-badge { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(7, 8, 10, 0.82); color: var(--text); font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.p-360 { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: #16181c; font-family: var(--mono); font-size: 0.625rem; font-weight: 500; }
.p-360 .i { width: 12px; height: 12px; }
.p-body { padding-top: 14px; display: grid; gap: 4px; }
.p-mark { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.p-name { font-size: 1rem; font-weight: 550; letter-spacing: -0.01em; }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.price { font-variant-numeric: tabular-nums; }
.price .from { color: var(--text-3); font-size: 0.8125rem; }
.price .now { font-weight: 600; }
.price .was { margin-left: 4px; color: var(--text-3); font-size: 0.875rem; }
.swatches { display: inline-flex; align-items: center; gap: 4px; }
.swatches span { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.swatches em { font-style: normal; font-size: 0.75rem; color: var(--text-3); margin-left: 2px; }
.marks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.marks a { display: grid; gap: 14px; text-decoration: none; }
.marks img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 12px; background: #e8e6e1; transition: transform var(--dur) var(--ease-out); }
.marks a:hover img { transform: translateY(-4px); }
.marks span { display: grid; gap: 4px; }
.marks strong { font-weight: 600; }
.marks em { font-style: normal; font-size: 0.875rem; color: var(--text-3); }
@media (max-width: 1000px) { .marks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .marks { grid-template-columns: repeat(2, 1fr); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail .p-card { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } }
.collection-head { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.collection-head .wrap { display: grid; gap: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-hi); }
.filters { display: grid; gap: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 500 0.8125rem var(--font); cursor: pointer; transition: all var(--dur-fast) ease; }
.chip:hover { color: var(--text); border-color: rgba(242, 240, 235, 0.3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { position: relative; display: block; max-width: 520px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.search input { padding-left: 42px; }
.filter-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.count { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-3); }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--text-3); }
.sort select { min-height: 40px; width: auto; padding-block: 8px; font-size: 0.875rem; }
.empty { display: grid; justify-items: start; gap: 16px; padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.p-card[hidden] { display: none; }

/* Product page */
.pdp { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.pdp .crumbs { margin-bottom: 24px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .pdp-grid { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 148px; display: grid; gap: 12px; }
@media (max-width: 960px) { .gallery { position: static; } }
.stage-frame { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #e8e6e1; touch-action: pan-y; }
.stage-frame img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.stage-frame.is-spin { cursor: grab; }
.stage-frame.dragging { cursor: grabbing; }
.spin-ui { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: #16181c; font-family: var(--mono); font-size: 0.6875rem; pointer-events: none; }
.stage-frame:not(.is-spin) .spin-ui { display: none; }
.spin-ui .i { width: 14px; height: 14px; }
.spin-toggle { position: absolute; right: 12px; top: 12px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(22, 24, 28, 0.78); color: #fff; font: 500 0.75rem var(--font); cursor: pointer; }
.spin-toggle[hidden] { display: none; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { flex: none; display: grid; gap: 6px; width: 92px; padding: 0; border: 0; background: none; color: var(--text-3); font: 500 0.6875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; background: #e8e6e1; border: 2px solid transparent; transition: border-color var(--dur-fast) ease; }
.thumbs button[aria-selected="true"] { color: var(--text); }
.thumbs button[aria-selected="true"] img { border-color: var(--accent); }
.buy { display: grid; gap: 16px; align-content: start; }
.buy-title { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.05; font-weight: 620; letter-spacing: -0.03em; font-variation-settings: "wdth" 106; }
.buy-headline { color: var(--text-2); font-size: 1.125rem; }
.buy-price { font-size: 1.5rem; }
.buy-price .was { font-size: 1.125rem; }
.note-pill { justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(20, 170, 214, 0.14); color: var(--accent-hi); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.buy-form { display: grid; gap: 20px; padding: 24px 0; border-block: 1px solid var(--line); }
.opt-group { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.opt-group legend { margin-bottom: 12px; padding: 0; font-size: 0.9375rem; font-weight: 600; }
.swatch-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-pick label { position: relative; }
.swatch-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch-pick span:not(.sr-only) { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 2px var(--bg); transition: box-shadow var(--dur-fast) ease; }
.swatch-pick input:checked + span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.swatch-pick input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 5px; }
.size-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pick label { position: relative; }
.size-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-pick span { display: grid; place-items: center; min-width: 56px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 550; font-size: 0.9375rem; transition: all var(--dur-fast) ease; }
.size-pick input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.size-pick input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.size-pick .unavailable span { opacity: 0.35; text-decoration: line-through; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 50px; border: 0; background: none; color: var(--text); cursor: pointer; font-size: 1.125rem; display: grid; place-items: center; }
.qty button:hover { background: rgba(242, 240, 235, 0.06); }
.qty input { width: 44px; min-height: 0; height: 50px; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.qty output { width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-status { font-size: 0.875rem; color: var(--ok); min-height: 1.2em; }
.buy-meta { display: grid; gap: 8px; font-size: 0.875rem; color: var(--text-2); }
.buy-meta p { display: flex; align-items: center; gap: 10px; }
.buy-meta .i { color: var(--accent-hi); }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 550; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 1.25rem; color: var(--accent-hi); transition: transform var(--dur) var(--ease-out); }
.details details[open] summary::after { transform: rotate(45deg); }
.details details p { color: var(--text-2); padding-bottom: 16px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 14px; max-width: min(460px, calc(100vw - 40px)); padding: 12px 12px 12px 12px; border-radius: 14px; background: rgba(21, 25, 32, 0.96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform var(--dur) var(--ease-out), opacity var(--dur) ease; }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #e8e6e1; }
.toast div { display: grid; gap: 2px; font-size: 0.875rem; flex: 1; }
.toast span { color: var(--text-3); font-size: 0.8125rem; }

/* Cart + confirmation */
.cart-page .display-md { margin-bottom: 32px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-lines { border-top: 1px solid var(--line-2); }
.cart-line { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.cart-thumb img { width: 112px; height: 112px; border-radius: 10px; object-fit: cover; background: #e8e6e1; }
.cart-info { display: grid; gap: 4px; align-content: start; }
.cart-name { font-weight: 600; text-decoration: none; font-size: 1.0625rem; }
.cart-name:hover { color: var(--accent-hi); }
.cart-controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.cart-controls .qty button { height: 40px; width: 40px; }
.cart-total { display: grid; justify-items: end; gap: 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-total .was { font-weight: 400; font-size: 0.8125rem; color: var(--text-3); }
@media (max-width: 560px) { .cart-line { grid-template-columns: 84px minmax(0, 1fr); } .cart-thumb img { width: 84px; height: 84px; } .cart-total { grid-column: 2; justify-items: start; } }
.summary { position: sticky; top: 148px; display: grid; gap: 20px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); }
.summary dl { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--text-2); }
.summary dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.summary form { display: grid; gap: 12px; }
.cart-empty { display: grid; gap: 12px; justify-items: start; padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.order-id { margin: 24px 0 8px; font-family: var(--mono); font-size: 0.875rem; letter-spacing: 0.06em; color: var(--accent-hi); overflow-wrap: anywhere; }
.order-lines { display: grid; gap: 8px; padding: 16px 0; border-block: 1px solid var(--line); }
.order-lines li, .order-total { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.order-total { padding: 16px 0 32px; font-weight: 600; font-size: 1.125rem; }
[data-success-page] .display-md { margin: 12px 0 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* Hero copy is on screen at load, so it never waits for the scroll observer: it is visible from the
   first frame (the headline is the LCP element) and only rises into place, by CSS. */
.js :is(.hero, .sub-hero, .store-hero) .reveal { opacity: 1; transform: none; transition: none; }
:is(.hero, .sub-hero, .store-hero) .reveal { animation: rise-in var(--dur-slow) var(--ease-out) both; }
:is(.hero-copy, .sub-hero-copy, .store-hero-copy) > .reveal:nth-child(2) { animation-delay: 70ms; }
:is(.hero-copy, .sub-hero-copy, .store-hero-copy) > .reveal:nth-child(3) { animation-delay: 140ms; }
:is(.hero-copy, .sub-hero-copy, .store-hero-copy) > .reveal:nth-child(n + 4) { animation-delay: 210ms; }
@keyframes rise-in { from { transform: translate3d(0, 18px, 0); } }

/* ---------- No WebGL fallback ---------- */
.no-webgl .stage { display: none; }
.no-webgl .story-stage { background: url(/media/adaptive-cell.webp) 70% 50% / cover no-repeat, var(--bg); }
.no-webgl .readout { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card { transform: none !important; }
}
