/* ==========================================================================
   JK-NEON — page-level composition
   ========================================================================== */

/* ==========================================================================
   Shared components
   ========================================================================== */

/* --- chamfered outline chips (category / option pills) --- */
.chip {
  --cut: 7px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0;
  background: var(--line);
  font-family: var(--f-display); font-weight: 600;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute);
}
.chip > span {
  display: block; margin: 1px; padding: 7px 13px;
  background: var(--panel); clip-path: inherit;
}
.chip--teal { background: var(--line-teal); color: var(--teal); }
.chip--pink { background: var(--line-pink); color: var(--pink); }
/* Chip carries its own clip-path, so a glow must be a drop-shadow, not a
   box-shadow (a clip-path clips box-shadow to nothing). */
.chip { transition: filter .14s ease; }
.chip:hover { filter: drop-shadow(0 0 5px rgba(147,160,172,.3)); }
.chip--teal:hover { filter: drop-shadow(0 0 6px rgba(32,189,184,.4)); }
.chip--pink:hover { filter: drop-shadow(0 0 6px rgba(251,68,120,.4)); }

/* --- quantity stepper --- */
.qty {
  --cut: 9px;
  display: inline-flex; align-items: stretch;
  background: var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  position: relative;
}
.qty::before {
  content: ""; position: absolute; inset: 1px; background: var(--panel-2);
  clip-path: inherit;
}
.qty button {
  position: relative; z-index: 1;
  width: 40px; display: grid; place-items: center;
  color: var(--teal); transition: color .14s linear, transform .12s ease;
}
.qty button:hover { color: var(--cream); transform: scale(1.1); }
.qty button:active { transform: scale(.92); }
.qty button svg { width: 17px; height: 17px; stroke-width: 2.2; }
.qty__n {
  position: relative; z-index: 1;
  min-width: 34px; padding: 10px 0;
  display: grid; place-items: center;
  font-size: 16px; color: var(--cream);
}
.qty--pink button { color: var(--pink); }
.qty--sm button { width: 30px; }
.qty--sm button svg { width: 14px; height: 14px; }
.qty--sm .qty__n { min-width: 26px; padding: 6px 0; font-size: 14px; }

/* --- add button --- */
.add {
  --cut: 13px;
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px;
  background: var(--pink); color: var(--ink);
  font-family: var(--f-display); font-weight: 700;
  font-size: 14px; letter-spacing: .13em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .14s linear, filter .14s linear;
}
/* .add carries its own clip-path (above), so the glow is a drop-shadow —
   a box-shadow here would be clipped away entirely. The sweep pseudo is
   auto-clipped to the same shape since it is painted inside .add. */
.add::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.26) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .5s ease;
  pointer-events: none;
}
.add:hover { background: #ff5f8c; filter: drop-shadow(0 0 9px rgba(251,68,120,.45)); }
.add:hover::before { transform: translateX(130%); }
.add.is-added { background: var(--teal); }
.add.is-added:hover { filter: drop-shadow(0 0 9px rgba(32,189,184,.45)); }
.add svg { width: 17px; height: 17px; }
/* Honest disabled state (money-path rule: ADD stays off until a full
   variation resolves). Same grey-out language as .btn:disabled in base.css. */
.add:disabled { background: var(--line); color: var(--mute-2); cursor: not-allowed; filter: none; }
.add:disabled:hover { background: var(--line); filter: none; }
.add:disabled::before, .add:disabled:hover::before { transform: translateX(-130%); }
/* Sold-out overrides the grey disabled look above with the pink "off" read
   (JK-3). The sweep pseudo stays parked via the .add:disabled::before rule
   above — .add--soldout always carries :disabled too, so it inherits that. */
.add--soldout:disabled, .add--soldout:disabled:hover { background: var(--line-pink); color: var(--pink); cursor: not-allowed; filter: none; }

/* --- section rule: title + hairline + count --- */
.srule { display: flex; align-items: center; gap: 20px; }
.srule__line { flex: 1 1 auto; height: 1px; background: var(--line); }
.srule__n {
  font-family: var(--f-display); font-weight: 600;
  font-size: 12px; letter-spacing: .2em; color: var(--mute-2);
}

/* --- page masthead --- */
.mast { padding: 34px 0 26px; }
.mast__row { display: flex; align-items: flex-end; gap: 22px; }
.mast h1 { font-size: 58px; line-height: .86; letter-spacing: -.005em; }
.mast p { margin-top: 10px; color: var(--mute); font-size: 16px; }
.mast__icon { width: 60px; height: 60px; color: var(--teal); flex: none; }
.mast__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }

/* --- chamfered <select> shell (reused on the index hero) --- */
.sel {
  --cut: 10px;
  position: relative;
  background: var(--teal-deep);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.sel::before { content: ""; position: absolute; inset: 1px; background: var(--ink); clip-path: inherit; }
.sel__face {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 16px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--teal);
  pointer-events: none;
}
.sel__face > svg:first-child { width: 19px; height: 19px; }
.sel__val { flex: 1 1 auto; }
.sel__face .sel__caret { width: 22px; height: 22px; stroke-width: 2.2; }
.sel select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
  -webkit-appearance: none; appearance: none;
}
.sel select option { background: var(--panel); color: var(--cream); }
.sel:hover { background: var(--teal-dim); }

.f-label {
  display: block; margin-bottom: 9px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
}

/* --- SPECIMEN PLATE: dark chamfered frame for a light studio product photo.
   Sam decision 3: never recolor/filter the image; frame it dark so the light
   catalog shot reads as a parts "specimen plate". Image sits contained,
   as-is, over a dark bed. --- */
.plate { position: relative; background: var(--panel-3); overflow: hidden; display: grid; place-items: center; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s ease, filter .3s ease; }
.plate:hover img { transform: scale(1.05); filter: brightness(1.08); }
.plate .g-pixels { position: absolute; right: 12px; top: 12px; z-index: 2; }
.plate .plate__tag {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-family: var(--f-display); font-weight: 600;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2);
}

/* --- loading / error states --- */
.loading, .empty {
  padding: 60px 0; text-align: center; color: var(--mute-2);
  font-family: var(--f-display); letter-spacing: .18em; text-transform: uppercase; font-size: 14px;
}
.errbox { --cut: 16px; margin: 30px 0; }
.errbox__in { padding: 26px 28px; }
.errbox h3 { color: var(--pink); font-size: 20px; letter-spacing: .04em; }
.errbox p { margin-top: 10px; color: var(--mute); font-size: 15px; line-height: 1.5; }

/* ==========================================================================
   INDEX — hero
   Sam decision 4: two-line headline HIGH PERFORMANCE / ZERO COMPROMISE.
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  align-items: stretch;
  min-height: 524px;
  border-bottom: 1px solid #12161d;
  background: var(--ink);
}
.hero__l {
  display: flex; gap: 30px;
  padding: 52px 44px 48px calc(max(0px, (100vw - var(--shell)) / 2) + 28px);
}
.hero__plate { flex: none; padding-top: 8px; }
.hero__body { flex: 1 1 auto; min-width: 0; max-width: 560px; padding-top: 4px; container-type: inline-size; }

/* The headline scales with its column (cqi = 1% of .hero__body width), so
   PERFORMANCE never runs past the column edge. 74px is the cap. */
.hero h1 { font-size: min(74px, 13.4cqi); line-height: .92; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero h1 .a { color: var(--cream); display: block; }   /* line 1 HIGH PERFORMANCE — cream */
/* line 2 ZERO COMPROMISE — teal accent, with a slow breathing glow (ambient,
   text-shadow only, killed under prefers-reduced-motion). */
.hero h1 .b { color: var(--teal); display: block; animation: glow-pulse-text 4s ease-in-out infinite; }
.hero__sub { margin-top: 20px; font-size: 18px; line-height: 1.5; color: #cfc9bc; }

.hero__form { margin-top: 34px; max-width: 470px; }
.hero__note {
  display: flex; align-items: center; gap: 13px;
  margin-top: 22px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream);
}
.hero__note .b { color: var(--pink); display: flex; }
.hero__note .b svg { width: 17px; height: 21px; }

/* Right column = the hero SPECIMEN PLATE holding a real product photo. */
.hero__r { position: relative; overflow: hidden; background: var(--panel-3); display: grid; place-items: center; }
.hero__r img { width: 100%; height: 100%; object-fit: contain; padding: 40px; transition: transform .3s ease, filter .3s ease; }
.hero__r:hover img { transform: scale(1.05); filter: brightness(1.08); }
/* Faint ambient glow on the corner brackets (opacity + drop-shadow only). */
.hero__r .g-brackets { --gb: var(--teal-deep); inset: 20px; animation: glow-pulse-border 5s ease-in-out infinite; }
.hero__r .hero__vtag {
  position: absolute; right: 24px; top: 24px; z-index: 3;
}

.hero__cta { margin-top: 15px; position: relative; }
.hero__cta .g-chevs { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); color: rgba(10,13,19,.9); }

/* ==========================================================================
   INDEX — status bar
   ========================================================================== */

.status { --cut: 22px; margin: 26px 0 0; }
.status__in {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  align-items: center;
  padding: 20px 30px;
  position: relative;
}
.status__cell {
  display: flex; align-items: center; gap: 16px;
  padding: 2px 26px;
  border-left: 1px solid #1e2833;
}
.status__cell:first-child { border-left: 0; padding-left: 4px; }
.status__cell > svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.status__k {
  font-family: var(--f-display); font-weight: 600;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal);
}
.status__v {
  font-family: var(--f-display); font-weight: 700;
  font-size: 21px; line-height: 1.15; margin-top: 3px; color: var(--cream);
}
.status__v.t { color: var(--teal); letter-spacing: .03em; text-transform: uppercase; }
.status__s { font-size: 14px; color: var(--mute); margin-top: 1px; }
.status__link {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 15px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal);
  padding-right: 6px;
  transition: color .14s linear;
}
.status__link:hover { color: var(--cream); }
.status__link svg { width: 22px; height: 22px; stroke-width: 2.2; transition: transform .16s ease; }
.status__link:hover svg { transform: translateX(3px); }
.status .g-slashes { position: absolute; right: 22px; bottom: 8px; opacity: .95; }

/* ==========================================================================
   INDEX — featured cards
   ========================================================================== */

.feats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 24px 0 8px;
}
/* --- .feat hover: lift + accent chamfer outline + cursor-follow glow ---
   .feat is a .panel (its markup carries "panel cut-all"), and a panel's own
   `background` is the 1px hairline showing through the inset ::before fill —
   so switching that background to an accent color on hover lights the
   chamfer outline itself. .feat also carries clip-path from cut-all, so the
   edge glow must be a drop-shadow, never a box-shadow. */
.feat {
  --cut: 15px;
  overflow: hidden;
  transition: transform .22s ease, filter .22s ease, background .18s linear;
}
.feat:hover { transform: translateY(-4px); background: var(--teal); filter: drop-shadow(0 0 14px rgba(32,189,184,.28)); }
.feat--pink:hover { background: var(--pink); filter: drop-shadow(0 0 14px rgba(251,68,120,.28)); }
/* Pointer glow overlay, positioned by --mx/--my (set by interactions.js on
   pointermove; absent JS defaults to a centered glow). Painted last among
   the panel's position:relative children, so it sits on top of the card. */
.feat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(32,189,184,.16), transparent 65%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feat--pink::after { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(251,68,120,.16), transparent 65%); }
.feat:hover::after { opacity: 1; }
.feat__in { display: grid; grid-template-columns: 53fr 47fr; min-height: 234px; }
.feat__txt { padding: 24px 8px 24px 24px; display: flex; flex-direction: column; }
.feat__kicker { display: flex; align-items: center; gap: 9px; }
.feat__kicker .k {
  font-family: var(--f-display); font-weight: 600;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal);
}
.feat__kicker.pink .k { color: var(--pink); }
.feat__kicker svg { width: 15px; height: 15px; }
.feat h3 { margin-top: 13px; font-size: 23px; letter-spacing: .01em; color: var(--cream); line-height: 1.02; }
.feat p { margin-top: 11px; font-size: 14px; line-height: 1.4; color: var(--mute); }
.feat__price { margin-top: auto; padding-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: 24px; }
.feat--teal .feat__price { color: var(--teal); }
.feat--pink .feat__price { color: var(--pink); }

/* featured art = a small specimen plate over a dark bed */
.feat__art { position: relative; background: var(--panel-3); overflow: hidden; }
.feat__art img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; transition: transform .3s ease, filter .3s ease; }
.feat:hover .feat__art img { transform: scale(1.05); filter: brightness(1.08); }
.feat__art .g-a { position: absolute; right: 11px; top: 11px; z-index: 2; }
.feat__art .g-b { position: absolute; left: 11px; bottom: 11px; z-index: 2; transform: scale(-1); }
.feat__art .sbadge { left: 11px; top: 11px; }

/* Sold-out hook (JK-3). No visual rule of its own — the card art already
   dims via the .sbadge badge sitting on it. The class exists so the proof
   spec has a stable selector to assert against. */
.feat--soldout { }

/* ==========================================================================
   SHOP — masthead + running order tab (shared)
   ========================================================================== */

.menu-top { display: flex; align-items: flex-end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #161a20; }
.menu-top .mast { padding: 30px 0 0; flex: 1 1 auto; }

.ordertab { --cut: 16px; flex: none; min-width: 300px; transition: transform .16s ease, filter .16s ease; }
/* ordertab is clipped via its "panel cut-tl-br" markup -> drop-shadow. */
.ordertab:hover { transform: translateY(-3px); filter: drop-shadow(0 0 10px rgba(32,189,184,.3)); }
.ordertab__in { display: flex; align-items: center; gap: 16px; padding: 16px 22px; }
.ordertab svg { width: 28px; height: 28px; color: var(--teal); flex: none; }
.ordertab__k { font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.ordertab__n { font-size: 16px; color: var(--cream); margin-top: 2px; }
.ordertab__p { margin-left: auto; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--cream); }

.menu-grid {
  display: grid;
  grid-template-columns: 302px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-top: 26px;
}

/* --- sidebar category rail --- */
.side { position: sticky; top: 138px; }
.cats { --cut: 16px; }
.cats__h { padding: 18px 22px 12px; }
.cats a {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 13px 22px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream);
  transition: background .14s linear, color .14s linear, filter .14s linear;
}
.cats a svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.cats a b { margin-left: auto; font-weight: 500; color: var(--mute-2); font-family: var(--f-body); font-size: 16px; letter-spacing: 0; }
/* Left accent bar on hover (drop-shadow, not box-shadow — .cats itself is
   chamfered via cut-tr, and a clip-path clips its descendants' box-shadow
   too when it nears the boundary). */
.cats a::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.cats a:hover { background: #101720; filter: drop-shadow(0 0 6px rgba(32,189,184,.3)); }
.cats a:hover::before { transform: scaleY(1); }
.cats a.is-on {
  --cut: 11px;
  background: var(--pink); color: var(--ink); font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.cats a.is-on svg, .cats a.is-on b { color: var(--ink); }
.cats__pad { height: 12px; }

/* sidebar spec callout plate (machinist vertical text, replaces the promo) */
.railplate { margin-top: 22px; display: flex; justify-content: center; padding: 18px 0 6px; }

/* --- shop sections --- */
.msec + .msec { margin-top: 40px; }
.msec__head { display: flex; align-items: center; gap: 18px; }
.msec__head h2 { font-size: 25px; letter-spacing: .04em; color: var(--teal); }
.msec__head > svg { width: 24px; height: 24px; color: var(--teal); flex: none; }
.msec__blurb { margin: 7px 0 18px; font-size: 15px; color: var(--mute); }

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

/* --- catalog card (mcard) with a SPECIMEN-PLATE image --- */
/* Hover: lift + lit chamfer outline (background is the panel hairline
   source, see the .feat comment above) + cursor-follow glow. mcard's own
   clip-path (cut-all) means the edge glow is a drop-shadow, not a
   box-shadow. */
.mcard {
  --cut: 15px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .22s ease, filter .22s ease, background .18s linear;
}
.mcard:hover { transform: translateY(-4px); background: var(--teal); filter: drop-shadow(0 0 14px rgba(32,189,184,.28)); }
.mcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(32,189,184,.16), transparent 65%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.mcard:hover::after { opacity: 1; }
.mcard__art {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--panel-3); display: block;
}
.mcard__art img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s ease, filter .3s ease; }
.mcard:hover .mcard__art img { transform: scale(1.05); filter: brightness(1.08); }
.mcard__art .g-pixels--sm { position: absolute; right: 12px; top: 12px; z-index: 2; }
/* parts badge (section name) — replaces the reference kanji badge */
.pbadge {
  --cut: 7px;
  position: absolute; left: 13px; top: 13px; z-index: 2;
  padding: 5px 10px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  background: rgba(8,11,17,.78);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.pbadge--pink { color: var(--pink); border-color: var(--pink); }

/* sold-out badge (JK-3) — same chamfered-chip anatomy as .pbadge above, but
   always pink, for a product whose is_in_stock is false. .pbadge keeps the
   top-left corner, so .sbadge takes the opposite corner per context below. */
.sbadge {
  --cut: 7px;
  position: absolute; z-index: 2;
  padding: 5px 10px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink);
  border: 1px solid var(--pink);
  background: rgba(8,11,17,.86);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  filter: drop-shadow(0 0 6px rgba(251,68,120,.45));
}
.mcard__art .sbadge { left: 13px; bottom: 13px; }

/* Sold-out hook (JK-3). No visual rule of its own — the card art already
   carries the .sbadge badge and the ADD button carries .add--soldout. The
   class exists so the proof spec has a stable selector to assert against. */
.mcard--soldout { }

.mcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.mcard h3 { font-size: 19px; color: var(--teal); letter-spacing: .02em; line-height: 1.08; }
.mcard h3 a { color: inherit; }
.mcard h3 a:hover { color: var(--cream); }
.mcard__cat { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-2); }
.mcard__price { margin-top: auto; padding-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: 21px; color: var(--pink); }
.mcard__act { display: flex; align-items: stretch; gap: 12px; margin-top: 14px; }
.mcard__act .btn--details {
  --cut: 13px; position: relative; isolation: isolate;
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; background: var(--line-teal); color: var(--teal);
  font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  transition: background .14s linear, color .14s linear, filter .14s linear;
}
/* Own clip-path above -> drop-shadow, not box-shadow, for the glow. */
.mcard__act .btn--details::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.2) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .5s ease;
  pointer-events: none;
}
.mcard__act .btn--details:hover { background: var(--teal-deep); color: var(--cream); filter: drop-shadow(0 0 7px rgba(32,189,184,.4)); }
.mcard__act .btn--details:hover::before { transform: translateX(130%); }

/* ==========================================================================
   PRODUCT — two-column specimen sheet (new page, in-vibe)
   ========================================================================== */

.pdp { padding-top: 26px; }
.pdp__crumb { display: flex; align-items: center; gap: 12px; padding: 8px 0 20px; font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.pdp__crumb a { color: var(--teal); }
.pdp__crumb a:hover { color: var(--cream); }
.pdp__crumb svg { width: 14px; height: 14px; color: var(--mute-2); }

.pdp__grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 26px; align-items: start; }

/* left: gallery */
.pgal { --cut: 20px; }
.pgal__main { position: relative; aspect-ratio: 1 / 1; }
.pgal__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pthumb {
  --cut: 10px; width: 82px; height: 82px; background: var(--panel-3); cursor: pointer; overflow: hidden;
  transition: transform .14s ease, filter .14s ease;
}
/* pthumb is clipped via its "panel cut-tl-br" markup -> drop-shadow. */
.pthumb:hover { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(32,189,184,.35)); }
.pthumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .2s ease, filter .2s ease; }
.pthumb:hover img { transform: scale(1.05); filter: brightness(1.08); }
.pthumb.is-on { background: var(--teal); }

/* right: details */
.pinfo { min-width: 0; }
.pinfo__cat { font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.pinfo h1 { margin-top: 12px; font-size: 40px; line-height: .98; letter-spacing: -.005em; color: var(--cream); }
.pinfo__price { margin-top: 16px; font-family: var(--f-display); font-weight: 700; font-size: 30px; color: var(--pink); }
.pinfo__lead { margin-top: 16px; font-size: 15.5px; line-height: 1.55; color: var(--mute); max-width: 52ch; }

/* spec table — teal ruled */
.specsheet { --cut: 16px; margin-top: 24px; }
.specsheet__hd { display: flex; align-items: center; gap: 14px; padding: 16px 20px 4px; }
.specsheet__hd h2 { font-size: 16px; letter-spacing: .14em; color: var(--teal); }
.specsheet__hd .srule__line { background: var(--line-teal); }
.spectable { padding: 6px 20px 16px; }
.specrow {
  position: relative;
  display: flex; align-items: baseline; gap: 18px; padding: 11px 0;
  border-bottom: 1px solid var(--line-teal);
  transition: background .14s linear;
}
.specrow:last-child { border-bottom: 0; }
/* Left teal tick + subtle bg tint on hover. The tick sits in the
   .spectable side padding, well clear of the .specsheet panel's own
   chamfer corners. */
.specrow::before {
  content: "";
  position: absolute;
  left: -14px; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .16s ease;
}
.specrow:hover { background: rgba(32,189,184,.05); }
.specrow:hover::before { transform: scaleY(1); }
.specrow .k { flex: 1 1 auto; font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.specrow .v { flex: none; font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: .01em; color: var(--cream); text-align: right; }
.specrow--raw { display: block; }
.specrow--raw .r { font-size: 14.5px; line-height: 1.5; color: var(--cream); }
.speclist { margin-top: 10px; }
.speclist__hd { padding: 14px 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); border-bottom: 1px solid var(--line-teal); }
.specnote { margin: 0; padding: 10px 0; font-size: 14.5px; line-height: 1.5; color: var(--cream); }
.specnotes { padding: 2px 0 12px; border-bottom: 1px solid var(--line-teal); }
.specnotes:last-child { border-bottom: 0; padding-bottom: 0; }
.specnotes p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--cream); }
.specempty { padding: 6px 20px 18px; color: var(--mute-2); font-size: 14px; }

/* option pills (Size / Style / Material) — non-functional */
.pills { margin-top: 24px; }
.pillgroup + .pillgroup { margin-top: 16px; }
.pillgroup__k { font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 10px; }
.pillgroup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  --cut: 8px;
  padding: 9px 15px;
  background: var(--line);
  font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  position: relative; isolation: isolate;
  transition: transform .14s ease, filter .14s ease;
}
/* Own clip-path -> drop-shadow, not box-shadow. */
.pill:hover { transform: translateY(-1px); filter: drop-shadow(0 0 5px rgba(236,227,209,.25)); }
.pill::before { content: ""; position: absolute; inset: 1px; background: var(--panel-2); clip-path: inherit; z-index: -1; }

/* buy row */
.pbuy { display: flex; align-items: stretch; gap: 14px; margin-top: 26px; }
.pbuy .qty { --cut: 12px; }
.pbuy .add { --cut: 16px; padding: 16px 26px; font-size: 15px; letter-spacing: .12em; }
/* Sold out (JK-3): the qty stepper has no reason to exist once nothing can
   be added. .qty is display:inline-flex elsewhere in this file, so a plain
   hidden attribute would not hide it — this display:none override does. */
.pbuy--soldout .qty { display: none; }
.pbuy__note { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-2); }
.pbuy__note svg { width: 15px; height: 15px; color: var(--teal); }

/* ==========================================================================
   ORDER — the real server cart (WooCommerce Store API, via js/cart.js)
   ========================================================================== */

.steps { position: relative; padding: 22px 0 20px; border-bottom: 1px solid #161a20; }
.steps__in { display: flex; align-items: center; gap: 0; padding-right: 66px; }
.step { display: flex; align-items: center; gap: 14px; flex: none; }
.step__hex {
  width: 30px; height: 34px; flex: none;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--line); color: var(--mute-2);
}
.step.on .step__hex { background: var(--teal); color: var(--ink); }
.step.now .step__hex { background: var(--pink); color: var(--ink); }
.step__t { font-family: var(--f-display); font-weight: 700; font-size: 14.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--mute-2); }
.step.on .step__t { color: var(--teal); }
.step.now .step__t { color: var(--pink); }
.step__bar { flex: 1 1 auto; height: 2px; background: var(--line); margin: 0 22px; min-width: 40px; }
.step__bar.on { background: var(--teal); }
.step__bar.dash { height: 0; border-top: 2px dashed var(--line); background: none; }
.steps .g-checker { position: absolute; right: 0; top: 8px; --gc: var(--pink); opacity: .9; transform: scaleX(-1); }

.ordergrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
  padding-top: 22px;
}

.ocol { --cut: 18px; position: relative; }
.ocol__in { padding: 24px 22px; }
.ocol h2 { font-size: 24px; letter-spacing: .03em; color: var(--pink); }
.ocol h2.teal { color: var(--teal); }
.ocol__sub { margin-top: 7px; font-size: 15px; color: var(--mute); }
.ocol .g-pixels--sm { position: absolute; right: 16px; top: 16px; --px: #2c3138; }

.ocol--items { background: var(--line-pink); }
.ocol--sum { background: var(--line-teal); }

.sum__hd { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.sum__hd .n { font-size: 15px; color: var(--mute); }
.sum__hd a { margin-left: auto; font-size: 15px; color: var(--teal); }
.sum__hd a:hover { color: var(--cream); }

.sline { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.sline img { --cut: 8px; width: 62px; height: 62px; object-fit: contain; background: var(--panel-3); padding: 5px; flex: none;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.sline__b { flex: 1 1 auto; min-width: 0; }
.sline__t { display: flex; align-items: baseline; gap: 10px; }
.sline__t .n { font-size: 15px; color: var(--cream); font-weight: 500; font-family: var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.sline__t .p { margin-left: auto; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--mute); white-space: nowrap; }
.sline__x { width: 22px; height: 22px; color: var(--mute-2); flex: none; transition: color .14s linear, transform .14s ease; }
.sline__x:hover { color: var(--pink); transform: scale(1.15); }
.sline__x svg { width: 100%; height: 100%; stroke-width: 2; }
.sline__o { margin-top: 4px; font-size: 12.5px; color: var(--mute-2); line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; font-family: var(--f-display); }
.sline__f { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.sline__f .tot { margin-left: auto; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--cream); }

.stot { margin-top: 18px; }
.stot .r { display: flex; align-items: baseline; padding: 6px 0; font-size: 16px; color: var(--cream); }
.stot .r span:last-child { margin-left: auto; font-family: var(--f-display); font-weight: 600; }
.stot .r.big { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.stot .r.big span:first-child { font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .05em; }
.stot .r.big span:last-child { font-family: var(--f-display); font-weight: 700; font-size: 27px; color: var(--pink); }

/* checkout hand-off note */
.snote { --cut: 12px; margin-top: 18px; background: var(--line-pink); }
.snote__in { display: flex; gap: 14px; padding: 15px 18px; }
.snote svg { width: 20px; height: 22px; color: var(--pink); flex: none; }
.snote .a { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.snote p { margin-top: 5px; font-size: 13.5px; line-height: 1.42; color: var(--mute); }

/* .checkout is a .btn.btn--pink, so it gets the fill-sweep and hover glow
   from base.css for free — a real, confident CTA into the WP checkout. */
.checkout { margin-top: 18px; font-size: 15px; letter-spacing: .09em; gap: 16px; }
.back { display: flex; align-items: center; gap: 12px; margin-top: 18px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); }
.back:hover { color: var(--cream); }
.back svg { width: 20px; height: 20px; }

.cartempty { --cut: 20px; }
.cartempty__in { padding: 60px 30px; text-align: center; }
.cartempty__in .g-pixels { margin: 0 auto 20px; }
.cartempty__in h2 { color: var(--teal); font-size: 24px; letter-spacing: .04em; }
.cartempty__in p { margin-top: 12px; color: var(--mute); font-size: 15px; }
.cartempty__in .btn { margin-top: 24px; display: inline-flex; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero__l { padding: 40px 22px 40px 22px; }
  .hero__r { min-height: 340px; }
  .hero h1 { font-size: min(54px, 13.4cqi); }
  .status__in { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .status__cell:nth-child(3) { border-left: 0; padding-left: 4px; }
  .status__link { justify-content: flex-start; }
  .feats { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .railplate { display: none; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .pdp__grid { grid-template-columns: 1fr; }
  .ordergrid { grid-template-columns: 1fr; }
  .steps__in { overflow-x: auto; padding-bottom: 8px; }
  .steps .g-checker { display: none; }
  .step__bar { min-width: 24px; margin: 0 12px; }
  .menu-top { flex-direction: column; align-items: stretch; gap: 16px; }
  .ordertab { min-width: 0; }
}

@media (max-width: 720px) {
  .mgrid { grid-template-columns: 1fr; }
  .mast h1 { font-size: 42px; }
  .hero h1 { font-size: min(42px, 13.4cqi); }
  .hero__plate { display: none; }
  .status__in { grid-template-columns: 1fr; padding: 18px 20px; }
  .status__cell { border-left: 0; padding-left: 4px; }
  .feat__in { grid-template-columns: 1fr; }
  .feat__art { min-height: 200px; }
  .pinfo h1 { font-size: 30px; }
}

/* ==========================================================================
   Reduced motion — mandatory override.
   This block is placed here, last in the load order (base.css loads before
   pages.css on every page), so it wins the cascade over every unconditional
   rule in both files at equal selector specificity, regardless of which
   file first declared the animation or hover transform.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  /* Ambient — stop outright. */
  body::before,
  .v-plate,
  .live-dot,
  .hero h1 .b,
  .hero__r .g-brackets {
    animation: none;
  }

  /* Scroll reveal — always visible, no motion, no transition. */
  .reveal-armed { opacity: 1; transform: none; }
  .reveal-armed.is-revealed { transition: none; }

  /* Hover — keep the feedback, cut the amplitude to the contract's cap
     (translateY ~-2px max, scale ~1.02 max). */
  .mcard:hover,
  .feat:hover,
  .ordertab:hover {
    transform: translateY(-2px);
  }
  .pthumb:hover { transform: translateY(-1px); }
  .pill:hover,
  .qty button:hover,
  .qty button:active,
  .sline__x:hover {
    transform: none;
  }
  .logo:hover .logo__mark--img { transform: scale(1.02); }
  .mcard:hover .mcard__art img,
  .feat:hover .feat__art img,
  .plate:hover img,
  .hero__r:hover img,
  .pthumb:hover img {
    transform: scale(1.02);
    filter: none;
  }
}
