/* ============================================================
   SUBLIGHT — speed data theme
   White / achromatic oklch (chroma <= 0.009). Red = live/danger only.
   Skeleton: 2px border signature, stat blocks, sharp edges.
   ============================================================ */

:root {
  --bg: #fafafa;
  --bg-2: #f3f3f2;
  --card: #ffffff;
  --ink: #0e0f10;
  --text: #2b2c2e;
  --grey-1: #5b5d61;
  --grey-2: #999ca0;
  --line: #e3e3e1;
  --line-2: #cfcfcc;
  --red: #c8362c;
  --grad: var(--ink);
  --shadow-1: 0 2px 0 rgba(14, 15, 16, 0.06), 0 14px 30px rgba(14, 15, 16, 0.06);
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-pill: 999px;
  --wrap: 1260px;
  --f-ui: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

/* ---------- reset + hard fixes ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(14, 15, 16, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 16, 0.02) 1px, transparent 1px);
  background-size: 88px 88px;
}
body > main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
sup { font-size: 0.55em; }

::selection { background: var(--ink); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(14, 15, 16, 0.3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgba(14, 15, 16, 0.52); }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px #ffffff inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.skip { position: absolute; left: 16px; top: -48px; z-index: 220; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 0.85rem; transition: top 0.2s ease; }
.skip:focus { top: 12px; }

/* ---------- typography ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.05rem, 1.9vw, 1.3rem); letter-spacing: 0; text-transform: none; }
.lead { font-size: 1.06rem; color: var(--grey-1); line-height: 1.72; max-width: 56ch; }
.muted { color: var(--grey-2); }
.mono { font-family: var(--f-mono); }
.caps { text-transform: uppercase; letter-spacing: 0.16em; }
.num { font-family: var(--f-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.tiny { font-size: 0.72rem; line-height: 1.5; }
.k { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-1); }
.text-center { text-align: center; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-index { display: block; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--grey-2); margin-bottom: 10px; text-transform: uppercase; }
.sec-side { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); white-space: nowrap; }
.sec-side a:hover { color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; gap: 30px; } .split.rev > :first-child { order: 0; } }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 26px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ---------- reveal (below-fold only — never above the fold) ---------- */
[data-rv] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
[data-rv].rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; transition: none; } }

/* ---------- header: 2px signature ---------- */
.hdr { position: sticky; top: 0; z-index: 120; background: rgba(250, 250, 250, 0.94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.06em; font-size: 1.15rem; text-transform: uppercase; color: var(--ink); }
.brand svg { width: 22px; height: 22px; color: var(--ink); }
.hdr-nav { display: flex; gap: 26px; }
.hdr-nav > a { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.18s, border-color 0.18s; }
.hdr-nav > a:hover, .hdr-nav > a.on { color: var(--ink); border-bottom-color: var(--ink); }
.hdr-act { display: flex; align-items: center; gap: 12px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--card); padding: 8px 16px; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; transition: background 0.18s, color 0.18s; }
.cart-btn:hover { background: var(--ink); color: #fff; }
.cart-n { font-weight: 700; }
.menu-btn { display: none; border: 2px solid var(--ink); background: var(--card); min-height: 40px; padding: 0 16px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 1020px) { .hdr-nav { display: none; } .menu-btn { display: inline-flex; } }
.m-nav { display: none; border-top: 1px solid var(--line); background: var(--card); padding: 16px 24px 26px; }
.m-nav.open { display: block; }
.m-nav a { display: block; padding: 12px 0; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
.m-nav a:last-child { border-bottom: 0; }

@media (max-width: 540px) {
  .hdr-in { gap: 10px; }
  .brand { font-size: 0.98rem; letter-spacing: 0.03em; }
  .brand svg { width: 18px; height: 18px; }
  .cart-btn { padding: 7px 10px; }
  .hdr-act .btn-sm { padding: 8px 10px; min-height: 38px; }
  .menu-btn { padding: 0 12px; min-height: 38px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  min-height: 48px; padding: 12px 26px;
  transition: transform 0.15s, background 0.18s, color 0.18s;
}
.btn:hover { background: #2c2e32; border-color: #2c2e32; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-line { background: none; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 0; min-height: 0; font-family: var(--f-mono); font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.1em; }
.btn-line:hover { opacity: 0.7; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 0.66rem; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: var(--card);
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-1); padding: 6px 12px; white-space: nowrap;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- frames (controlled ratios only) ---------- */
.frame { position: relative; overflow: hidden; background: var(--card); border: 2px solid var(--ink); }
.frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ar-11 img { aspect-ratio: 1; }
.ar-32 img { aspect-ratio: 3 / 2; }
.ar-1610 img { aspect-ratio: 16 / 10; }
.frame-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ink); padding: 4px 10px;
}
.anno-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- hero: stat wall ---------- */
.hero { padding: 60px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); background: var(--card); margin-top: 34px; }
.hstat { padding: 18px 16px 16px; border-right: 2px solid var(--ink); }
.hstat:last-child { border-right: 0; }
.hstat .v { font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); line-height: 1; }
.hstat .u { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); margin-top: 6px; display: block; }
.hero-status { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero .lead { margin: 18px 0 28px; }
.hero-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.price-big { font-family: var(--f-mono); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.price-note { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--grey-2); text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ticker strip ---------- */
.marquee { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marq 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; padding: 12px 28px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.25); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- buy panel ---------- */
.buy-panel { background: var(--card); border: 2px solid var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 560px) { .buy-panel { padding: 20px; } }
.bp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.bp-title { font-size: 1.2rem; text-transform: uppercase; }
.bp-step { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--grey-2); text-transform: uppercase; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.opt-label .ol-k { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); }
.opt-label .ol-v { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.opt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .opt-cards { grid-template-columns: 1fr 1fr; } }
.opt-card { border: 1px solid var(--line-2); background: var(--card); padding: 10px; text-align: left; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.18s, transform 0.18s; position: relative; }
.opt-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.opt-card:hover { transform: translateY(-2px); }
.opt-card.sel { border-color: var(--ink); border-width: 2px; }
.opt-card .oc-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.opt-card .oc-meta { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); }
.opt-card .oc-check { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; background: var(--ink); color: #fff; display: none; place-items: center; font-size: 0.6rem; }
.opt-card.sel .oc-check { display: grid; }
.sw-row { display: flex; gap: 12px; }
.sw { width: 46px; height: 46px; border: 2px solid var(--line-2); padding: 3px; background: var(--card); transition: border-color 0.18s, transform 0.18s; }
.sw:hover { transform: translateY(-2px); }
.sw i { display: block; width: 100%; height: 100%; border: 1px solid rgba(14, 15, 16, 0.14); }
.sw.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.qty-pick { display: inline-flex; align-items: center; border: 2px solid var(--ink); }
.qty-pick button { border: 0; background: transparent; width: 44px; height: 44px; font-size: 1.1rem; color: var(--grey-1); transition: background 0.15s, color 0.15s; }
.qty-pick button:hover { background: var(--bg-2); color: var(--ink); }
.qty-pick .qty-val { min-width: 42px; text-align: center; font-family: var(--f-mono); font-weight: 700; }
.bp-foot { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.bp-total-row { display: flex; justify-content: space-between; align-items: baseline; }
.bp-total-row .k { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); }
.bp-total-row .t { font-family: var(--f-mono); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.bp-fine { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); text-align: center; }

/* ---------- stat blocks ---------- */
.stat-wall { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); background: var(--card); }
@media (max-width: 900px) { .stat-wall { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 26px 22px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
@media (max-width: 900px) { .stat:nth-child(2n) { border-right: 0; } .stat:nth-child(n+3) { border-bottom: 0; } .stat:nth-child(n+2):nth-child(2n) { border-right: 0; } .stat { border-bottom: 2px solid var(--ink); } .stat:nth-child(n+3) { border-bottom: 0; } }
.stat .v { font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ink); line-height: 1; }
.stat .l { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); margin-top: 8px; display: block; }

/* ---------- spec table ---------- */
.spec-table { border: 2px solid var(--ink); background: var(--card); }
.spec-row { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row .sk { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); padding-top: 3px; }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { border: 2px solid var(--ink); background: var(--card); padding: 22px; }
.step .n { font-family: var(--f-mono); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--grey-2); display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--grey-1); font-size: 0.9rem; }

/* ---------- cards / journal / reviews ---------- */
.card { border: 1px solid var(--line-2); background: var(--card); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--grey-1); font-size: 0.92rem; }
.j-card { border: 1px solid var(--line-2); background: var(--card); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.j-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.j-card .frame { border: 0; border-bottom: 1px solid var(--line-2); }
.j-card .frame img { aspect-ratio: 3 / 2; }
.j-card .j-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.j-card .j-tag { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-2); }
.j-card h3 { font-size: 1.05rem; text-transform: none; }
.j-card p { color: var(--grey-1); font-size: 0.9rem; flex: 1; }
.j-card .j-link { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.rev-card { border: 1px solid var(--line-2); background: var(--card); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stars { font-family: var(--f-mono); letter-spacing: 3px; color: var(--ink); font-size: 0.8rem; }
.rev-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.rev-meta { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); }
.rev-body { color: var(--grey-1); font-size: 0.92rem; line-height: 1.65; flex: 1; }

/* ---------- accordion ---------- */
.acc { border: 2px solid var(--ink); background: var(--card); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 17px 20px; font-weight: 700; font-size: 0.95rem; color: var(--ink); text-align: left; }
.acc-btn .pm { font-family: var(--f-mono); font-size: 1rem; color: var(--grey-1); transition: transform 0.2s; }
.acc-item.open .pm { transform: rotate(45deg); }
.acc-a { padding: 0 20px 20px; color: var(--grey-1); font-size: 0.93rem; line-height: 1.7; max-width: 68ch; }

/* ---------- drawer cart ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(14, 15, 16, 0.44); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 190; width: min(430px, 100%); background: var(--card); transform: translateX(102%); transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); display: flex; flex-direction: column; border-left: 2px solid var(--ink); }
.drawer-panel.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 2px solid var(--ink); }
.drawer-head h2 { font-size: 1rem; text-transform: uppercase; }
.drawer-close { display: inline-flex; align-items: center; justify-content: center; background: none; border: 2px solid var(--ink); width: 36px; height: 36px; font-size: 1.2rem; line-height: 1; color: var(--grey-1); transition: color 0.18s, background 0.18s;  }
.drawer-close:hover { background: var(--ink); color: #fff; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.drawer-empty { text-align: center; color: var(--grey-1); padding: 46px 10px; }
.drawer-empty .big { font-size: 2rem; margin-bottom: 8px; }
.cart-row { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line-2); padding: 12px; background: var(--card); }
.cart-row img { width: 62px; height: 62px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-2); }
.cart-info { flex: 1; min-width: 0; }
.cart-row-name { font-weight: 700; font-size: 0.88rem; color: var(--ink); line-height: 1.3; }
.cart-row-var { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); margin-top: 2px; }
.cart-row-price { font-family: var(--f-mono); font-weight: 700; font-size: 0.85rem; color: var(--ink); white-space: nowrap; }
.cart-qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); margin-top: 8px; }
.cart-qty button { border: 0; background: transparent; width: 26px; height: 26px; font-size: 0.9rem; color: var(--grey-1); transition: color 0.15s; }
.cart-qty button:hover { color: var(--ink); }
.cart-qty .q { min-width: 22px; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 0.8rem; }
.cart-x { border: 0; background: none; color: var(--grey-2); font-size: 0.8rem; align-self: flex-start; transition: color 0.15s; }
.cart-x:hover { color: var(--red); }
.drawer-foot { border-top: 2px solid var(--ink); padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total .t { font-family: var(--f-mono); font-weight: 700; font-size: 1.2rem; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 260; background: var(--ink); color: #fff; padding: 12px 20px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); max-width: min(90vw, 480px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-family: var(--f-ui); font-size: 0.95rem; padding: 12px 14px; transition: border-color 0.18s, box-shadow 0.18s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--grey-1); }
.check input { margin-top: 3px; accent-color: var(--ink); }

/* ---------- order / track ---------- */
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.order-code { font-family: var(--f-mono); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.os-line { position: relative; padding: 0 0 26px 30px; }
.os-line::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1px; background: var(--line-2); }
.os-line:last-child::before { display: none; }
.os-dot { position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border: 2px solid var(--line-2); background: var(--card); }
.os-line.done .os-dot { background: var(--ink); border-color: var(--ink); }
.os-line.now .os-dot { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 15, 16, 0.12); }
.os-line h4 { font-size: 0.95rem; color: var(--ink); }
.os-line .when { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); margin-top: 2px; }
.os-line p { color: var(--grey-1); font-size: 0.88rem; margin-top: 4px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(250, 250, 250, 0.97); display: grid; place-items: center; padding: 4vh 4vw; }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; height: auto; border: 2px solid var(--ink); }

/* ---------- footer ---------- */
.ftr { border-top: 2px solid var(--ink); background: var(--card); margin-top: auto; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; gap: 34px; padding: 52px 0 40px; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr-brand p { color: var(--grey-1); font-size: 0.9rem; line-height: 1.7; margin-top: 12px; max-width: 30ch; }
.ftr h4 { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 14px; font-weight: 700; }
.ftr-col a { display: block; padding: 5px 0; color: var(--grey-1); font-size: 0.9rem; transition: color 0.15s; }
.ftr-col a:hover { color: var(--ink); }
.ftr-base { border-top: 1px solid var(--line); padding: 16px 0 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); }

/* ---------- SUBLIGHT specifics: weight lab + poll table ---------- */
.wt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .wt-grid { grid-template-columns: 1fr; } }
.wt-card { border: 2px solid var(--ink); background: var(--card); padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: background 0.18s, color 0.18s; }
.wt-card .wv { font-family: var(--f-mono); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.wt-card .wl { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); }
.wt-card.sel { background: var(--ink); color: #fff; }
.wt-card.sel .wl { color: rgba(255, 255, 255, 0.7); }
.wt-out { border: 2px solid var(--ink); background: var(--card); padding: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.wt-out .big { font-family: var(--f-mono); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.poll-table { width: 100%; border: 2px solid var(--ink); background: var(--card); border-collapse: collapse; }
.poll-table th, .poll-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.poll-table th { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); background: var(--bg-2); }
.poll-table td.num { font-family: var(--f-mono); font-weight: 700; color: var(--ink); }
.poll-table tr:last-child td { border-bottom: 0; }

/* ---------- mobile dock (product pages) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-top: 2px solid var(--ink); }
.dock .dk-info { flex: 1; min-width: 0; }
.dock .dk-name { font-weight: 700; font-size: 0.85rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .dk-price { font-family: var(--f-mono); font-weight: 700; font-size: 0.95rem; }
.dock .btn { min-height: 44px; padding: 10px 18px; }
@media (max-width: 760px) { .dock { display: flex; } body.has-dock { padding-bottom: 76px; } }

/* gift preset selection */
.chip.sel { background: var(--ink); color: #fff; border-color: var(--ink); }

/* === Shared Cart / Footer Alignment / Checkout Payment UI === */
.cart-btn .cart-ico { flex-shrink: 0; }
@media (max-width: 440px) { .cart-btn .cart-lbl { display: none; } .hdr-act .btn-sm { padding: 8px 11px; font-size: 0.78rem; } }
.ftr-col h4 { line-height: 1.2; min-height: 1.2em; }
.ftr-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.pay-badge { display: inline-flex; align-items: center; line-height: 0; border-radius: 4px; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 14px; }
.pay-tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-md, 10px); background: var(--card); color: var(--ink); cursor: pointer; text-align: left; font-weight: 600; font-size: 0.9rem; transition: border-color 0.16s, background 0.16s; }
.pay-tab:hover { border-color: var(--ink); }
.pay-tab.is-active { border-color: var(--ink); background: var(--bg-2, rgba(0,0,0,0.03)); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-tab-l { display: inline-flex; align-items: center; gap: 8px; }
.pay-tab-brands { display: inline-flex; align-items: center; gap: 4px; }
.pay-panel { border: 1px solid var(--line); border-radius: var(--r-md, 10px); background: var(--bg, rgba(0,0,0,0.015)); padding: 14px; margin-bottom: 16px; }
.pay-note { font-size: 0.8rem; color: var(--grey-1); margin-top: 8px; line-height: 1.5; }
.pay-pp-box { display: flex; flex-direction: column; gap: 8px; }
.pay-pp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 0.9rem; }
.pay-badge-pill { font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--grey-1); }
@media (max-width: 560px) { .pay-tabs { grid-template-columns: 1fr; } }

/* === Mobile Header & Payment Tab Crispness === */
.hdr-act .btn-sm, .menu-btn, .cart-btn { white-space: nowrap; }
.pay-tab-l { white-space: nowrap; font-size: 0.86rem; }
@media (max-width: 440px) {
  .hdr-act .btn-sm { display: none; }
  .hdr-in { padding-left: 14px; padding-right: 12px; gap: 8px; }
  .brand { font-size: 0.95rem; gap: 7px; }
  .brand svg { width: 20px; height: 20px; }
  .cart-btn, .menu-btn { padding: 7px 11px; font-size: 0.8rem; }
}

/* === Viewport Overflow & Marquee Clip === */
html, body { overflow-x: clip; max-width: 100%; }
.marquee { overflow: hidden; max-width: 100%; }
@media (max-width: 560px) {
  .sec-head { flex-wrap: wrap; gap: 10px 18px; }
  .sec-side { white-space: normal; max-width: 100%; }
}

/* === Selection Price Factor Pills & Swatch Cards === */
.oc-price {
  margin-top: auto; align-self: flex-start;
  font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink);
}
.opt-card.sel .oc-price { background: var(--ink); color: #fff; border-color: var(--ink); }
.sw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 440px) { .sw-cards { grid-template-columns: 1fr; } }
.sw-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-md, 10px); background: var(--card);
  padding: 10px 12px; cursor: pointer; text-align: left;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.sw-card:hover { transform: translateY(-1px); border-color: var(--ink); }
.sw-card.sel { border-color: var(--ink); box-shadow: 0 0 0 1.2px var(--ink); }
.sw-card-l { display: inline-flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.sw-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(17, 18, 20, 0.22); flex-shrink: 0; }
.sw-card .oc-price { margin-top: 0; }
.sw-card.sel .oc-price { background: var(--ink); color: #fff; border-color: var(--ink); }

/* === Unslop Tabular Numerals === */
.price-big, .bp-total-row .t, .bp-total-row .num, .oc-price, .stat-num, .num, .t, table td { font-variant-numeric: tabular-nums; }

/* === SUBLIGHT Weight & Sensor Lab Interactive Telemetry === */
.sl-lab-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 20px; margin-top: 20px; align-items: stretch; }
@media (max-width: 860px) { .sl-lab-grid { grid-template-columns: 1fr; } }
.sl-panel { border: 2px solid var(--ink); background: var(--card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sl-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sl-panel-head h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.sl-bay-wrap { display: grid; place-items: center; padding: 12px 0; background: var(--bg-2); border: 1px solid var(--line); }
.sl-bay-svg { width: min(260px, 100%); height: auto; }
.sl-slot { fill: #fff; stroke: var(--ink); stroke-width: 1.6; transition: fill 0.18s ease; }
.sl-slot.active { fill: var(--ink); }
.sl-cog-dot { transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1); }
.sl-bars { display: flex; flex-direction: column; gap: 14px; }
.sl-bar-item { display: flex; flex-direction: column; gap: 6px; }
.sl-bar-meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.sl-bar-track { height: 10px; border: 1.5px solid var(--ink); background: var(--bg-2); overflow: hidden; }
.sl-bar-fill { height: 100%; background: var(--ink); transition: width 0.28s ease; }
.sl-dpi-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .sl-dpi-stages { grid-template-columns: repeat(2, 1fr); } }
.sl-dpi-btn {
  border: 2px solid var(--ink); background: var(--card); padding: 14px 10px;
  text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 4px;
  transition: background 0.16s, color 0.16s;
}
.sl-dpi-btn b { font-family: var(--f-mono); font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sl-dpi-btn span { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-1); }
.sl-dpi-btn.sel { background: var(--ink); color: #fff; }
.sl-dpi-btn.sel span { color: rgba(255, 255, 255, 0.72); }
.sl-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); background: var(--card); }
@media (max-width: 820px) { .sl-kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .sl-kpi-row { grid-template-columns: 1fr; } }
.sl-kpi { padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sl-kpi:last-child { border-right: 0; }
.sl-kpi .k { display: block; font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
.sl-kpi .v { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.sl-range { width: 100%; accent-color: var(--ink); cursor: pointer; }
.sl-angle-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 760px) { .sl-angle-strip { grid-template-columns: 1fr; } }
