/* Microstore — sim rig catalogue. Self-hosted fonts, no external requests. */
@font-face { font-family: 'SF Pro'; src: url(fonts/sfpro-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SF Pro'; src: url(fonts/sfpro-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'SF Pro'; src: url(fonts/sfpro-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'SF Pro Display'; src: url(fonts/sfpro-display-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0e1013;
  --bg-2: #15181d;
  --panel: #1a1e24;
  --panel-2: #222730;
  --line: #2b313b;
  --line-2: #3a414d;
  --ink: #eef1f5;
  --ink-2: #aab2bf;
  --ink-3: #737d8c;
  --blue: #1f7ae0;          /* from the kitsune's coat */
  --blue-ink: #6fb0ff;
  --blue-glow: rgba(31, 122, 224, .22);
  --red: #e0303a;           /* katana wrap */
  --shopee: #ee4d2d;
  --tokopedia: #03ac0e;
  --toco: #ffc700;
  --paper: #e9ebee;         /* light plate for line drawings */
  --r: 14px;
  --wrap: 1200px;
  --head: 'SF Pro Display', 'SF Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'SF Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Consolas, 'Roboto Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* small engineering label, used everywhere for codes and section numbers */
.label {
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.label::before { content: ''; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: none; }
.label.plain::before { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #2a87f0; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-shopee { background: var(--shopee); color: #fff; }
.btn-shopee:hover { background: #ff5a38; }
.btn-tokopedia { background: var(--tokopedia); color: #fff; }
.btn-tokopedia:hover { background: #12bd1e; }
.btn-toco { background: var(--toco); color: #15130a; }   /* dark text: white on yellow fails contrast */
.btn-toco:hover { background: #ffd43b; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(14, 16, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); }
.brand b { font: 700 17px/1 var(--head); letter-spacing: .02em; }
.brand small { display: block; font: 500 10px/1 var(--mono); letter-spacing: .16em; color: var(--ink-3); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav { display: none; } .site-head .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { /* blueprint grid */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--blue-ink); }
.hero .lede { color: var(--ink-2); font-size: 18px; max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; }
.hero-art::before {
  content: ''; position: absolute; inset: 8% 4% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blue-glow), transparent); filter: blur(10px);
}
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.dim { /* dimension callout on the hero render */
  position: absolute; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.dim i { display: block; height: 1px; background: var(--ink-3); }
.dim.d1 { left: 12%; bottom: 6%; } .dim.d1 i { width: 60px; }
.dim.d2 { right: 6%; top: 14%; } .dim.d2 i { width: 40px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .hero-art img { max-height: 380px; object-fit: contain; }
  .dim { display: none; }
}

/* spec ribbon */
.ribbon { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ribbon .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.ribbon .wrap > div { padding: 22px 20px; border-left: 1px solid var(--line); }
.ribbon .wrap > div:first-child { border-left: 0; padding-left: 0; }
.ribbon b { display: block; font: 700 22px/1.1 var(--head); }
.ribbon span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) {
  .ribbon .wrap { grid-template-columns: 1fr 1fr; }
  .ribbon .wrap > div { padding: 16px 0 16px 16px; }
  .ribbon .wrap > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ribbon .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
section.block { padding: 88px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.sec-head p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 640px) { section.block { padding: 56px 0; } }

/* filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink-2); font: 500 14px/1 var(--body); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .shot {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, #262c35, var(--panel) 75%);
}
.card .shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card .shot img.photo { object-fit: cover; }
.card:hover .shot img { transform: scale(1.04); }
.card .code { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 6px; background: rgba(14,16,19,.72); font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.card .badge {
  position: absolute; top: 10px; right: 12px; padding: 6px 10px; border-radius: 999px;
  background: var(--blue); color: #fff; font: 600 11px/1 var(--body); letter-spacing: .02em;
}
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card h3 { font-size: 20px; letter-spacing: -.01em; }
.card .tag { color: var(--ink-2); font-size: 14px; }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 600 15px/1.2 var(--body); }
.price.muted { color: var(--ink-3); font-weight: 500; font-size: 14px; }
.card .go { font-size: 14px; color: var(--blue-ink); font-weight: 600; white-space: nowrap; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); }
.swatch.silver { background: linear-gradient(135deg, #e7eaee, #9aa2ad); }
.swatch.hitam { background: linear-gradient(135deg, #3b3f46, #0b0c0e); }

/* ---------- compare table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 600 14px/1.3 var(--body); vertical-align: bottom; }
.compare th small { display: block; font: 600 10px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); margin-bottom: 6px; }
.compare th img { width: 140px; margin: 0 auto 8px; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--ink-2); width: 26%; }
.compare .yes { color: var(--blue-ink); font-weight: 700; }
.compare .no { color: var(--ink-3); }

/* ---------- dimensions ---------- */
.dims { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.plate { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.plate img { width: 100%; }
dl.spec { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
dl.spec dt, dl.spec dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
dl.spec dt { color: var(--ink-3); font-size: 14px; padding-right: 24px; }
dl.spec dd { font-weight: 500; text-align: right; }
@media (max-width: 860px) { .dims { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
/* 2 landscape shots on top, 6 portraits below cropped to 4:5 (--y keeps the rig in frame) */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: #e4e6e9; grid-column: span 2; aspect-ratio: 4 / 5; }
.gallery figure.wide { grid-column: span 3; aspect-ratio: 16 / 9; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 50%); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery figure { grid-column: span 1; }
  .gallery figure.wide { grid-column: span 2; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  display: block; font: 700 13px/1 var(--mono); color: var(--blue-ink); margin-bottom: 18px; letter-spacing: .1em;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 17px/1.35 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 64ch; }

/* ---------- cta band + footer ---------- */
.cta-band { padding: 72px 0; background: linear-gradient(120deg, #0f2a4d, #0e1013 70%); border-bottom: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band .wrap > div:first-child { min-width: 0; }
.cta-band p { color: var(--ink-2); margin-top: 10px; }
/* store row in the closing band */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1 1 520px; max-width: 760px; }
.stores a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.stores a:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.stores b { font: 700 18px/1.2 var(--head); display: flex; align-items: center; gap: 8px; }
.stores b i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.stores span { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
@media (max-width: 640px) { .stores { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 18ch; }
.site-foot { padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* ---------- product page ---------- */
.crumbs { padding: 20px 0 0; font-size: 13px; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding: 24px 0 72px; align-items: start; }
.viewer { position: sticky; top: 88px; }
.viewer .main {
  aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 55% at 50% 55%, #262c35, var(--panel) 75%);
}
.viewer .main img { width: 100%; height: 100%; object-fit: contain; }
.viewer .main img.photo { object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
  width: 88px; aspect-ratio: 4 / 3; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
}
.thumbs button[aria-current="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs img.photo { object-fit: cover; }
.info h1 { font-size: clamp(32px, 4vw, 46px); margin: 14px 0 10px; }
.info .tagline { color: var(--ink-2); font-size: 18px; }
.info .price-row { margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.info .price-row .price { font-size: 26px; font-family: var(--head); font-weight: 700; }
.info .price-row .price.muted { font-size: 16px; font-family: var(--body); }
.info .summary { color: var(--ink-2); }
.opt { margin: 24px 0 8px; }
.opt .label { margin-bottom: 12px; }
.opt-row { display: flex; gap: 8px; }
.opt-row button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14px/1 var(--body); cursor: pointer;
}
.opt-row button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.buy { display: grid; gap: 10px; margin: 28px 0 10px; }
.buy-note { font-size: 13px; color: var(--ink-3); }
.manual {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, background .15s ease;
}
.manual:hover { border-color: var(--blue); background: var(--bg-2); }
.manual svg { width: 28px; height: 28px; flex: none; color: var(--blue-ink); }
.manual span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.manual b { font-size: 15px; }
.manual small { font-size: 13px; color: var(--ink-3); }
.info h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: -.01em; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--blue-ink); border-bottom: 2px solid var(--blue-ink); transform: rotate(-45deg); }
ul.ticks.x li::before { width: 10px; height: 2px; top: 11px; border: 0; background: var(--ink-3); transform: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .viewer { position: static; }
  .thumbs button { width: 72px; }
}
/* sticky buy bar on phones */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar {
    display: flex; gap: 12px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(14,16,19,.94);
    border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .buybar .t { flex: 1; min-width: 0; }
  .buybar b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar span { font-size: 12px; color: var(--ink-3); }
  body.has-buybar { padding-bottom: 76px; }
}
.notfound { padding: 120px 0; text-align: center; }
.notfound p { color: var(--ink-2); margin: 12px 0 28px; }

/* ---------- v2: studio renders (light square tiles) ---------- */
:root { --studio: #dcdde0; }
.card .shot { background: var(--studio); }
.card .shot img { object-fit: cover; }
.card.soon { cursor: default; }
.card.soon:hover { transform: none; border-color: var(--line); }
.card.soon .shot { background: repeating-linear-gradient(135deg, var(--panel), var(--panel) 12px, var(--panel-2) 12px, var(--panel-2) 24px); }
.pending { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.viewer .main { aspect-ratio: 1 / 1; background: var(--studio); position: relative; }
.viewer .main img, .viewer .main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button { aspect-ratio: 1 / 1; width: 72px; position: relative; background: var(--studio); }
.thumbs img { object-fit: cover; }
.thumbs .vid svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.viewer-note { font-size: 13px; color: var(--ink-3); margin-top: 10px; min-height: 1em; }
.opt-row { flex-wrap: wrap; }
.render-note { margin-top: 28px; }
.hero-art .tile { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--studio); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero-art .tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: none; }
.hero-art .tile figcaption { position: absolute; left: 16px; bottom: 14px; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: #3a3f47; text-transform: uppercase; }
.compare th [data-thumb] img { width: 120px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--studio); margin: 0 auto 8px; }
@media (max-width: 900px) { .hero-art .tile { max-width: 420px; margin: 0 auto; } .thumbs button { width: 60px; } }
.hero-art .tile img { height: auto; max-height: none; }
/* thumbnails wrap onto rows instead of scrolling sideways (same as the quick view) */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; overflow: visible; padding-bottom: 0; }
.thumbs button { width: auto; }
@media (max-width: 900px) { .thumbs { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; } }
.pdp > * { min-width: 0; }

/* compare table: equal columns, aligned headers, label column pinned while scrolling */
table.compare { table-layout: fixed; min-width: 860px; }
.compare th:first-child, .compare td:first-child { width: 220px; }
.compare th { vertical-align: top; }
.compare td { vertical-align: middle; }
.compare th [data-thumb] { display: block; width: 104px; height: 104px; margin: 0 auto 10px; }
.compare th [data-thumb] img { width: 104px; height: 104px; margin: 0; }
.compare th small { margin-bottom: 4px; }
.compare th { white-space: nowrap; }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }
@media (max-width: 640px) {
  table.compare { min-width: 640px; font-size: 13px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare th:first-child, .compare td:first-child { width: 120px; box-shadow: 1px 0 0 var(--line); }
  .compare th [data-thumb], .compare th [data-thumb] img { width: 76px; height: 76px; }
}

/* ---------- hero photo (replaces the Ver.01 render tile) ----------
   Studio photo sits on the right, full hero height; text stays on the left over a dark fade. */
.hero { display: flex; align-items: center; min-height: clamp(560px, 46vw, 760px); background: #0c0d0f; }
.hero::before { display: none; }
.hero::after { /* keeps the headline readable where the photo reaches under it */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0c0d0f 0%, rgba(12,13,15,.88) 30%, rgba(12,13,15,0) 55%);
}
.hero .wrap { z-index: 2; grid-template-columns: minmax(0, 600px); }
.hero-photo { position: absolute; top: 0; bottom: 0; right: -6%; z-index: 0; }
.hero-photo img { display: block; height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
@media (min-width: 1921px) { /* ultrawide: pin photo + fade to the content column instead of the viewport edge */
  .hero::after { background: linear-gradient(90deg, #0c0d0f 0%, rgba(12,13,15,.88) calc(50% - 384px), rgba(12,13,15,0) calc(50% + 96px)); }
  .hero-photo { right: calc(50% - 1080px); }
  .hero-photo img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent 100%); }
}
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; }
  .hero::after { background: linear-gradient(180deg, #0c0d0f 0%, rgba(12,13,15,0) 100%); bottom: auto; height: 40%; }
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-photo { position: relative; right: auto; margin-top: -24px; }
  .hero-photo img { width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
}

/* ---------- gallery lightbox (assets/lightbox.js) ---------- */
.gallery a.gl { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery a.gl img { transition: transform .35s ease; }
.gallery a.gl:hover img { transform: scale(1.03); }
.gallery a.gl:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: -2px; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; display: none; background: #08090b; }
.lb.open { display: block; }
.lb-stage { position: absolute; inset: 0 0 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; user-select: none; }
.lb-img { max-width: calc(100% - 32px); max-height: calc(100% - 32px); object-fit: contain; cursor: zoom-in; -webkit-user-drag: none; user-select: none; transition: transform .22s ease; will-change: transform; }
.lb-img.nt { transition: none; }
.lb-stage.zoomed .lb-img { cursor: grab; }
.lb-stage.zoomed.dragging .lb-img { cursor: grabbing; }
.lb-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(20,22,26,.72); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; top: calc(50% - 32px); transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 16px; color: var(--ink-2); font-size: 13px; }
.lb-count { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.lb-zoom { display: inline-flex; gap: 8px; }
.lb-zoom .lb-btn { width: 36px; height: 36px; }
.lb-hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .lb-hint-mouse, .lb-zoom { display: none; }
  .lb-hint-touch { display: inline; }
}
@media (max-width: 640px) {
  .lb-prev, .lb-next { display: none; }
  .lb-hint { font-size: 12px; text-align: center; }
  .lb-hint-mouse { display: none; }
  .lb-bar { gap: 12px; }
}

/* Half Rig table under the full-rig comparison: two columns, so no forced scroll width */
.sec-head.sub { margin: 56px 0 24px; }
.sec-head.sub h3 { font-size: clamp(22px, 2.6vw, 28px); }
table.compare.half { min-width: 0; max-width: 760px; }
.compare.half th:first-child, .compare.half td:first-child { width: 38%; }
.compare.half th, .compare.half td { padding: 12px 10px; }
.compare.half th [data-thumb] { width: 84px; height: 84px; }

/* ---------- category split (home) + category pages ---------- */
.nav a[aria-current="page"] { color: var(--ink); }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.cat-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--studio); }
.cat-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform .8s ease; }
.cat-shot img.alt { opacity: 0; }
/* hover shows the second state: full rig dressed with seat + wheel, half rig folded */
.cat-card:hover .cat-shot img.alt, .cat-card:focus-visible .cat-shot img.alt { opacity: 1; }
.cat-card:hover .cat-shot img { transform: scale(1.03); }
@media (hover: none) { .cat-shot img.alt { animation: cat-swap 7s ease-in-out infinite; } }
@keyframes cat-swap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.cat-shot .code { position: absolute; top: 14px; left: 14px; padding: 5px 8px; border-radius: 6px; background: rgba(14,16,19,.72); font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.cat-shot .badge { position: absolute; top: 12px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 12px/1 var(--body); }
.cat-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.cat-body h3 { font-size: clamp(26px, 3vw, 34px); }
.cat-body p { color: var(--ink-2); max-width: 52ch; }
.cat-facts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-facts li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.cat-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-ink); font-weight: 600; }
.cat-go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.cat-card:hover .cat-go svg { transform: translateX(4px); }
/* the "other category" link at the bottom of a category page: photo left, text right */
.cat-card.row { flex-direction: row; }
.cat-card.row .cat-shot { flex: 0 0 34%; aspect-ratio: 4 / 3; }
.cat-card.row .cat-body { border-top: 0; border-left: 1px solid var(--line); justify-content: center; }
.cat-card.row .cat-go { margin-top: 6px; }
@media (max-width: 640px) {
  .cat-card.row { flex-direction: column; }
  .cat-card.row .cat-shot { aspect-ratio: 4 / 3; min-height: 0; }
  .cat-card.row .cat-body { border-left: 0; border-top: 1px solid var(--line); }
}

.cat-hero { padding: 0 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 70% 120% at 85% 0%, rgba(31,122,224,.16), transparent 60%); }
.cat-hero .crumbs { margin-bottom: 40px; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 16px 0 16px; }
.cat-hero .lede { color: var(--ink-2); font-size: 18px; max-width: 58ch; }
@media (max-width: 640px) { .cat-hero .crumbs { margin-bottom: 24px; } .cat-hero { padding-bottom: 40px; } }
