/* ══════════════════════════════════════════════════════════════════════════
   RECONSTITUTION SOLUTIONS — design system v2 "Sterile Lab"
   A PureLux Bio brand. Visual language ported from the pureluxbio.com
   peptide-lab experience: clinical sterile SILVER as the base metal,
   PureLux metallic GOLD as the accent thread. Photoreal product imagery,
   instrument-panel chrome, serif display + mono labels.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Sterile silver base */
  --bg:          #f7f9fb;
  --bg-deep:     #eef1f4;
  --panel:       #ffffff;
  --steel:       #d7dde3;
  --steel-hard:  #c3cbd3;
  --ink:         #14171c;
  --ink-soft:    #3c454f;
  --muted:       #6b7683;
  --faint:       #97a1ac;

  /* Metallic silver (brand foil) */
  --silver-1: #6d7680;
  --silver-2: #b9c1c9;
  --silver-3: #f2f5f7;

  /* PureLux metallic gold (accent only) */
  --gold-1: #8b6f2f;
  --gold-2: #c3a24b;
  --gold-3: #e6cf8a;
  --gold-ink: #7a5f24;

  --serif: 'Didot', 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --shadow-soft: 0 18px 50px rgba(20, 30, 42, 0.08);
  --shadow-lift: 0 26px 70px rgba(20, 30, 42, 0.14);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(55% 40% at 20% 0%, rgba(205, 216, 226, 0.5), transparent 60%),
    radial-gradient(50% 38% at 85% 12%, rgba(216, 224, 232, 0.45), transparent 62%),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ── Metallic foils ─────────────────────────────────────────────────────── */
.foil {
  /* narrow specular band inside a mid-dark field so the sweep never
     washes the whole word out against the light background */
  background: linear-gradient(100deg, #4e5761 0%, #838d97 40%, #c2cad1 50%, #838d97 60%, #4e5761 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--silver-1);
}
.foil-gold {
  background: linear-gradient(100deg, var(--gold-1) 0%, var(--gold-2) 38%, var(--gold-3) 50%, var(--gold-2) 62%, var(--gold-1) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-1);
}
.foil-live, .foil-shimmer {
  background-size: 170% 100%;
  animation: foilSweep 8s ease-in-out infinite;
}
@keyframes foilSweep {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* ── Typography helpers ─────────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.08;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.lede { font-size: 17px; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--faint); line-height: 1.7; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.lbl {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}
.link-gold {
  color: var(--gold-ink); font-weight: 600;
  border-bottom: 1px solid rgba(139, 111, 47, 0.35);
  transition: border-color .2s ease, color .2s ease;
}
.link-gold:hover { color: var(--gold-1); border-color: var(--gold-2); }

.gold-rule {
  height: 2px; width: 56px; border-radius: 2px; margin: 18px 0;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3), var(--gold-1));
}
.gold-rule.center, .center .gold-rule { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
  color: #241c0e;
  background: linear-gradient(180deg, #d9b95c 0%, #c3a24b 45%, #a5843a 100%);
  border-color: rgba(158, 122, 48, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.6), 0 8px 22px -8px rgba(122, 90, 30, 0.5);
}
.btn--gold:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,250,230,.6), 0 12px 28px -8px rgba(122,90,30,.55); }
.btn--ghost {
  color: var(--ink-soft); background: rgba(255,255,255,0.7);
  border-color: var(--steel-hard);
}
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-ink); }
.btn--block { width: 100%; }

/* ── Header (injected by components.js) ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 251, 253, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel);
}
.header-row { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand .mark { font-family: var(--serif); font-size: 19px; letter-spacing: 0.02em; }
.brand .sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-ink);
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 8px 12px; border-radius: 999px; transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-deep); }
.nav a.active { color: var(--gold-ink); background: rgba(195, 162, 75, 0.12); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--steel);
  background: var(--panel); color: var(--ink-soft); transition: border-color .18s ease;
}
.icon-btn:hover { border-color: var(--gold-2); color: var(--gold-ink); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px;
  border-radius: 999px; padding: 0 4px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-1));
  color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.menu-btn { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--steel); background: var(--panel); }
.mobile-menu.open { display: block; }
.mobile-menu .wrap { display: flex; flex-direction: column; padding: 10px 22px 16px; }
.mobile-menu a { padding: 11px 0; border-bottom: 1px solid var(--bg-deep); font-size: 14px; color: var(--ink-soft); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.border-y { border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.bg-cream { background: linear-gradient(180deg, #f3f5f8 0%, #eef1f5 100%); }
.bg-paper { background: var(--panel); }

.grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ── Cards / panels ─────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.card-pad { padding: 30px 26px; }
.lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--steel-hard); }

/* Instrument stage — corner ticks like the pureluxbio lab */
.stage { position: relative; }
.stage::before, .stage::after,
.stage .tick-b::before, .stage .tick-b::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--steel-hard); z-index: 2;
}
.stage::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.stage::after { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.stage .tick-b::before { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.stage .tick-b::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 84px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); }
.hero-figure {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(160deg, #fdfefe 0%, #eef2f5 100%);
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}
.hero-figure img { margin: 0 auto; border-radius: 10px; }
.aurora {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 38% at 30% 25%, rgba(198, 210, 222, 0.55), transparent 62%),
    radial-gradient(40% 34% at 76% 18%, rgba(230, 207, 138, 0.16), transparent 60%),
    radial-gradient(52% 44% at 60% 90%, rgba(205, 216, 226, 0.5), transparent 65%);
}
.scroll-cue {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint);
  display: inline-flex; align-items: center; gap: 8px;
  animation: cueBob 1.9s ease-in-out infinite;
}
@keyframes cueBob { 0%,100% { transform: translateY(0); opacity: .85; } 50% { transform: translateY(5px); opacity: .5; } }

/* Spec readout (instrument panel) */
.readout {
  border: 1px solid var(--steel); border-radius: 14px; background: var(--panel);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.readout .cell { padding: 15px 18px; border-top: 1px solid var(--bg-deep); }
.readout .cell:first-child { border-top: 0; }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; }
.readout-grid .cell:nth-child(2) { border-top: 0; }
.readout-grid .cell:nth-child(odd) { border-right: 1px solid var(--bg-deep); }
.readout .num { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }

/* Badges / attributes */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--bg-deep);
  border: 1px solid var(--steel); border-radius: 999px; padding: 6px 12px;
}
.badge.gold { color: var(--gold-ink); background: rgba(195,162,75,0.1); border-color: rgba(195,162,75,0.35); }
.attrs { list-style: none; display: grid; gap: 10px; }
.attrs li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-soft); font-size: 15px; }
.attrs li::before { content: '◆'; font-size: 8px; color: var(--gold-2); transform: translateY(-2px); }

/* Price */
.price { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.price .per { font-family: var(--sans); font-size: 12px; color: var(--muted); }

/* Features / education */
.feature { padding: 30px 26px; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #f6f8fa, #e8edf1); border: 1px solid var(--steel);
  color: var(--gold-ink); margin-bottom: 16px;
}
.edu { background: var(--panel); border: 1px solid var(--steel); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-soft); }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.edu-step { position: relative; padding: 22px 20px 20px; border: 1px solid var(--bg-deep); border-radius: 14px; background: linear-gradient(180deg, #fdfdfe, #f5f7f9); }
.edu-step .n {
  font-family: var(--serif); font-size: 30px;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Entry cover (the fly-into-the-lab moment) ──────────────────────────── */
.cover {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef2f6 100%);
  transition: opacity .7s cubic-bezier(.6,0,.2,1);
  will-change: opacity;
}
.cover.gone { opacity: 0; pointer-events: none; }
.cover-grid {
  position: absolute; inset: -30%;
  background:
    radial-gradient(50% 42% at 30% 20%, rgba(203, 214, 226, 0.5), transparent 62%),
    radial-gradient(46% 40% at 78% 30%, rgba(214, 222, 231, 0.5), transparent 62%),
    radial-gradient(60% 55% at 50% 100%, rgba(206, 217, 228, 0.42), transparent 66%),
    linear-gradient(180deg, #fbfcfe 0%, #f0f3f7 100%);
  transform-origin: 50% 50%;
  transition: transform .25s cubic-bezier(.2,0,0,1), opacity .25s ease-out;
  will-change: transform, opacity;
}
.cover-center {
  position: relative; z-index: 1; padding: 0 20px;
  transform-origin: 50% 46%;
  transition: transform .25s cubic-bezier(.2,0,0,1), filter .25s ease-out;
  will-change: transform, filter;
}
.cover-canvas { width: min(46vw, 330px); height: min(46vw, 330px); margin: 0 auto 10px; }
.cover-brand {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 6vw, 64px); letter-spacing: 0.03em; line-height: 1.05;
}
.cover-rule { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 16px 0 14px; }
.cover-rule .line { height: 1px; width: 82px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.cover-rule .line:last-child { background: linear-gradient(90deg, var(--gold-2), transparent); }
.cover-rule .dia { color: var(--gold-2); font-size: 10px; }
.cover-project {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--ink-soft);
}
.cover-tag { margin-top: 10px; font-size: 14px; color: var(--muted); }
.cover-foot {
  position: absolute; bottom: 36px; left: 0; right: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: opacity .3s ease;
}
.cover-progress { width: 130px; height: 2px; border-radius: 2px; background: var(--steel); overflow: hidden; }
.cover-progress i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
  transform: scaleX(0); transform-origin: left center;
}
.cover-enter {
  border: 0; background: none;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 9px;
  animation: cueBob 1.9s ease-in-out infinite;
}
.cover-bypass {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-ink);
  border-bottom: 1px solid rgba(139,111,47,.3); padding-bottom: 2px;
}

/* ── Instrument strip (sparkline canvases) ──────────────────────────────── */
.instrument { border: 1px solid var(--steel); border-radius: 14px; background: var(--panel); overflow: hidden; }
.instrument-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--bg-deep);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.instrument-head .tag { color: var(--gold-ink); }
.instrument canvas { display: block; width: 100%; height: 92px; }
.instrument-axis {
  display: flex; justify-content: space-between; padding: 7px 16px 10px;
  font-family: var(--mono); font-size: 9.5px; color: var(--faint);
}

/* ── RUO band ───────────────────────────────────────────────────────────── */
.ruo-band {
  border-left: 3px solid var(--gold-2);
  background: linear-gradient(90deg, rgba(195,162,75,0.08), transparent 65%);
  padding: 18px 22px; border-radius: 0 12px 12px 0;
}
.ruo-band strong { letter-spacing: 0.06em; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--steel);
  background: linear-gradient(180deg, #f2f4f7, #e9edf1);
  padding: 56px 0 34px; color: var(--muted); font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.footer-grid a { display: block; padding: 4px 0; color: var(--muted); }
.footer-grid a:hover { color: var(--gold-ink); }
.footer-ruo { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--steel); font-size: 12px; color: var(--faint); }

/* ── Cart drawer ────────────────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 26, 34, 0.35);
  backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(420px, 100vw); background: var(--panel);
  border-left: 1px solid var(--steel); box-shadow: -24px 0 60px rgba(20,30,42,.18);
  transform: translateX(102%); transition: transform .3s cubic-bezier(.2,0,0,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--steel);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--steel); padding: 18px 20px; }
.drawer-line { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--bg-deep); }
.drawer-line img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--bg-deep); border-radius: 10px; background: #fff; }
.qty-pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--steel); border-radius: 999px; padding: 3px 10px; }
.qty-pill button { border: 0; background: none; color: var(--muted); font-size: 15px; }
.qty-pill button:hover { color: var(--ink); }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--steel-hard); border-radius: 10px; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(195,162,75,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.errors { color: #a33b2e; font-size: 13px; }

/* Layout helpers used by cart / checkout pages */
.cart-layout, .checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.crumb { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.coa-link { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-ink); font-weight: 600; }
.faq details { border: 1px solid var(--steel); border-radius: 12px; background: var(--panel); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--ink); }

/* ── Motion hooks (motion.js) ───────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 80;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,0,0,1); }
.reveal.in { opacity: 1; transform: none; }
.float { animation: floatY 5.5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.tilt { transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .cover-enter, .scroll-cue, .foil-live, .foil-shimmer { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding: 54px 0 60px; }
  .readout-grid { grid-template-columns: 1fr; }
  .readout-grid .cell:nth-child(odd) { border-right: 0; }
  .readout-grid .cell:nth-child(2) { border-top: 1px solid var(--bg-deep); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Legacy vocabulary layer — classes/vars used by inner pages + shared JS
   (main.js / components.js) so every page renders in the new language.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --line: var(--steel);
  --gold-dark: var(--gold-ink);
  --white: #ffffff;
  --cream: var(--bg-deep);
  --ink-2: var(--ink-soft);
  --ink-3: var(--muted);
}

/* main.js reveal observer adds .is-visible (not .in) */
.reveal.is-visible { opacity: 1; transform: none; }

/* motion.js: header scrolled state + mouse parallax vars */
.site-header.scrolled { box-shadow: 0 10px 30px rgba(20, 30, 42, 0.07); }
.tilt { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .25s ease-out; }

/* components.js: overlay/badge use .show */
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.cart-badge { opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }
.cart-badge.show { opacity: 1; transform: scale(1); }

/* layout helpers */
.wrap-narrow { max-width: 780px; margin-inline: auto; }
.items-center { align-items: center; }
.hidden { display: none !important; }
.stack { display: grid; gap: var(--gap, 12px); }

/* stat band */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--steel); border-radius: 14px; background: var(--panel);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.statband .cell { padding: 22px 18px; text-align: center; border-left: 1px solid var(--bg-deep); }
.statband .cell:first-child { border-left: 0; }
.statband .num { font-family: var(--serif); font-size: 30px; color: var(--ink); }
.statband .lab, .lab {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); margin-top: 4px;
}

/* imagery */
.zoomwrap { overflow: hidden; border-radius: 12px; background: #fff; }
.zoomwrap img { transition: transform .5s cubic-bezier(.2,0,0,1); }
.card:hover .zoomwrap img, .zoomwrap:hover img { transform: scale(1.045); }
.gallery-main { border: 1px solid var(--steel); border-radius: var(--radius); background: #fff; padding: 20px; }
.star { color: var(--gold-2); font-size: 12px; }

/* product page */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-opt {
  border: 1px solid var(--steel-hard); border-radius: 12px; background: #fff;
  padding: 13px 10px; text-align: center; font-weight: 600; font-size: 14px;
  color: var(--ink-soft); transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.size-opt:hover { border-color: var(--gold-2); }
.size-opt.is-active {
  border-color: var(--gold-2); color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(195, 162, 75, 0.16);
  background: linear-gradient(180deg, #fffdf7, #fbf6ea);
}
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--steel); border-radius: 999px; padding: 4px 8px; background: #fff; }
.stepper button { border: 0; background: none; width: 26px; height: 26px; color: var(--muted); font-size: 16px; }
.stepper button:hover { color: var(--ink); }

/* cart / checkout */
.line-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bg-deep); }
.line-item img { width: 62px; height: 62px; object-fit: contain; border: 1px solid var(--bg-deep); border-radius: 10px; background: #fff; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-soft); font-size: 14.5px; }
.sum-total {
  display: flex; justify-content: space-between; padding: 13px 0 0; margin-top: 9px;
  border-top: 1px solid var(--steel); font-family: var(--serif); font-size: 21px;
}
.summary-sticky { position: sticky; top: 90px; }
.pay-option {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--steel-hard); border-radius: 12px; background: #fff;
  padding: 15px 16px; margin-bottom: 10px; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pay-option:hover { border-color: var(--gold-2); }
.pay-option.is-active { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(195,162,75,.14); background: linear-gradient(180deg,#fffdf7,#fbf6ea); }

/* content pages */
.notice {
  border: 1px solid rgba(195, 162, 75, 0.4); border-left: 3px solid var(--gold-2);
  background: linear-gradient(90deg, rgba(195,162,75,0.08), transparent 70%);
  border-radius: 0 12px 12px 0; padding: 16px 20px;
}
.prose { max-width: 70ch; color: var(--ink-soft); }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--ink); margin: 1.6em 0 0.5em; }
.prose p, .prose li { margin: 0.6em 0; }
.prose ul { padding-left: 1.2em; }

/* footer sub-pieces */
.footer-mark { font-family: var(--serif); font-size: 21px; }
.footer-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-ink); margin-top: 3px;
}
.footer-base { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--steel); }
.footer-base .ruo { font-size: 12.5px; color: var(--faint); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--faint); }
.footer-grid ul { list-style: none; }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .statband .cell:nth-child(odd) { border-left: 0; }
  .statband .cell:nth-child(n+3) { border-top: 1px solid var(--bg-deep); }
}

/* Small-size foil marks: no bright specular stop, stays legible at 12–21px */
.brand .mark, .footer-mark {
  background: linear-gradient(100deg, #49525c 0%, #7d8791 42%, #aab3bc 50%, #7d8791 58%, #49525c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.instrument-head .unit { text-transform: none; }
.attrs .star { display: none; } /* legacy markup: CSS ::before supplies the marker */

/* Checkout-era vocabulary: .field is the INPUT itself; fieldsets are panels */
input.field, select.field, textarea.field {
  display: block; width: 100%; padding: 12px 14px; margin: 6px 0 14px;
  font: inherit; color: var(--ink);
  border: 1px solid var(--steel-hard); border-radius: 10px; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input.field:focus, select.field:focus, textarea.field:focus {
  outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(195,162,75,.18);
}
fieldset {
  border: 1px solid var(--steel); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-soft);
  padding: 22px 24px 12px; margin-bottom: 24px;
}
legend {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink);
  padding: 0 10px; margin-left: -4px;
}
label.lbl { display: block; margin-bottom: 2px; }
