/* ============================================================
   BORNER — blueprint UI release
   Single stylesheet, ported 1:1 from the design handoff v3.
   - Reset + tokens
   - Premium blueprint design system (hero, sections, series,
     pcard, platform, values, ctaband, foot, cat-hero, cat-strip,
     catalog, filter, mp-hero, mp-gallery, motion, ab-*)
   - Public site only. Admin styles live in css/admin.css and
     are loaded on demand by js/admin.js.
   ============================================================ */

:root {
  /* paper / cool neutrals */
  --paper:   #FFFFFF;
  --paper-2: #F3F5F7;
  --paper-3: #E9ECEF;
  --ink:     #14161A;
  --ink-2:   #2A2E35;
  --ink-3:   #565C65;
  --muted:   #878D96;
  --muted-2: #A8AEB6;
  --line:    #E3E6EA;
  --line-2:  #D2D7DC;
  --line-soft: #EEF0F2;
  --blueprint: #B4BAC2;

  /* charcoal (dark sections) */
  --char:    #131519;
  --char-2:  #1A1D22;
  --char-3:  #23272D;
  --char-line: rgba(255,255,255,.09);
  --char-ink:  #ECEEF1;
  --char-mut:  #8C929B;

  /* brand red */
  --red:    #E2231A;
  --red-2:  #BE150D;
  --red-soft: #FCE9E8;

  /* series accents */
  --s-basic:    #EE8C00;
  --s-classic:  #147F43;
  --s-tactical: #D51023;
  --s-elite:    #6B56A0;
  --s-sport:    #3B66AE;

  /* type */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* geometry */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --container: 1240px;
  --header-h:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }
.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px){ .container { padding: 0 18px; } }

/* ---------- reusable: technical mono kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
  font-weight: 500;
}
.kicker::before {
  content: ''; width: 22px; height: 1px; background: var(--red);
  transition: width .3s ease;
}
.kicker--idx::before {
  content: attr(data-idx);
  width: auto; height: auto; background: none;
  color: var(--red); font-weight: 600;
}
.kicker--light { color: var(--char-mut); }

/* ---------- reusable: blueprint frame + crosshair corners ---------- */
.bp {
  position: relative;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 34px 100%,
    var(--paper-2);
}
.bp-corners > i {
  position: absolute; width: 13px; height: 13px;
  border: 1.5px solid var(--blueprint); z-index: 2; pointer-events: none;
}
.bp-corners > i:nth-child(1){ top: 10px;  left: 10px;  border-right: 0; border-bottom: 0; }
.bp-corners > i:nth-child(2){ top: 10px;  right: 10px; border-left: 0;  border-bottom: 0; }
.bp-corners > i:nth-child(3){ bottom: 10px;left: 10px;  border-right: 0; border-top: 0; }
.bp-corners > i:nth-child(4){ bottom: 10px;right: 10px; border-left: 0;  border-top: 0; }

/* ---------- reusable: hex spec icon ---------- */
.hexicon {
  width: 48px; height: 52px;
  display: grid; place-items: center;
  color: var(--ink); position: relative;
}
.hexicon::before {
  content: ''; position: absolute; inset: 0;
  background: var(--paper-2);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hexicon svg { position: relative; width: 22px; height: 22px; }
.hexicon--line::after {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

/* ---------- buttons ---------- */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 50px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: 6px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .05s ease;
}
.b-btn svg { width: 16px; height: 16px; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.b-btn:hover svg { transform: translateX(4px); }
.b-btn:active { transform: translateY(1px); }
.b-btn--red { background: var(--red); border-color: var(--red); }
.b-btn--red:hover { background: var(--red-2); border-color: var(--red-2); }
.b-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.b-btn--ghost:hover { border-color: var(--ink); }
.b-btn--ondark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.b-btn--ondark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.b-btn--block { width: 100%; }
.b-btn--sm { height: 38px; padding: 0 16px; font-size: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  animation: bFadeDown .5s cubic-bezier(.2,.7,.2,1) both;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; text-decoration: none; }
.brand__lock { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand__wordmark { height: 17px; width: auto; display: block; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .46em;
  color: var(--muted); padding-left: 2px;
}
.brand__lock--light .brand__wordmark { filter: brightness(0) invert(1); }
.brand__lock--light .brand__sub { color: var(--char-mut); }

.top-nav { display: flex; gap: 4px; align-items: center; }
.top-nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 14px;
  border-radius: 6px;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-3);
  text-transform: uppercase;
  transition: color .15s ease, background .15s ease;
}
.top-nav__link:hover { background: var(--paper-2); color: var(--ink); }
.top-nav__link::after {
  content: ''; position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.top-nav__link:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 8px;
  align-items: center; justify-content: center;
  color: var(--ink); flex: none;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 720px){
  .nav-burger { display: inline-flex; }
  .top-nav {
    position: fixed;
    top: var(--header-h, 64px); right: 12px; left: 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 14px 40px rgba(20,22,26,.10);
    display: none; z-index: 80;
  }
  .top-nav.is-open { display: flex; }
  .top-nav__link {
    height: 44px; padding: 0 14px;
    justify-content: flex-start;
    font-size: 13px; letter-spacing: .06em;
  }
  .top-nav__link::after { display: none; }
}
@media (min-width: 721px){
  .site-header__inner { height: var(--header-h); }
}

/* ============================================================
   HERO (dark, blueprint) — home
   ============================================================ */
.hx {
  position: relative;
  background: var(--char); color: var(--char-ink);
  overflow: hidden; isolation: isolate;
}
/* When an admin uploads a full-banner photo, it replaces the dark
   background entirely. NO overlay — image shows as-is per the user's
   spec. The blueprint grid + glow are also suppressed so they don't
   compete with the photo. */
.hx--bg {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hx--bg .hx__grid,
.hx--bg .hx__glow { display: none; }
.hx__grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 40px 100%;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 70% 0%, #000 35%, transparent 78%);
  animation: bGridDrift 9s linear infinite;
}
.hx__glow {
  position: absolute; z-index: 0;
  top: -20%; right: -10%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(226,35,26,.20), transparent 70%);
  pointer-events: none;
  animation: bGlowPulse 6.5s ease-in-out infinite;
}
.hx__inner {
  position: relative; z-index: 1;
  padding: 16px 0 18px;
  display: flex; flex-direction: column; gap: 24px;
}
.hx__head { display: flex; flex-direction: column; gap: 18px; }
.hx__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 11vw, 56px);
  line-height: .96; letter-spacing: -.02em;
  margin: 0; color: #fff;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hx__title span { display: block; }
.hx__title .red { color: var(--red); }
.hx__title .out {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255,255,255,.55);
}
.hx__sub {
  font-size: 15px; line-height: 1.55;
  color: var(--char-mut); max-width: 46ch; margin: 0;
}
.hx__cta { display: flex; flex-direction: column; gap: 12px; }
.hx__cta .b-btn { width: 100%; }

/* hero product blueprint panel */
.hx__panel {
  position: relative;
  border: 1px solid var(--char-line);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 30px 100%;
  border-radius: 10px;
  padding: 18px;
  min-height: 280px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hx__panel-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--char-mut);
}
.hx__panel-tag { color: var(--s-elite); }
.hx__panel-stage {
  flex: 1; display: grid; place-items: center;
  position: relative; padding: 24px 0;
  min-height: 200px;
}
.hx__panel-stage img:not(.hx__panel-ghost) {
  max-width: 78%; max-height: 80%;
  width: auto; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.5));
}
.hx__panel-ghost { width: 200px; max-width: 72%; filter: brightness(0) invert(1); opacity: .25; }
.hx__panel-stage::before,
.hx__panel-stage::after {
  content: ''; position: absolute;
  background: rgba(255,255,255,.16);
}
.hx__panel-stage::before { left: 0; right: 0; top: 50%; height: 1px; }
.hx__panel-stage::after  { top: 0; bottom: 0; left: 50%; width: 1px; }
.hx__panel-name {
  position: relative;
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: .02em; color: #fff;
  text-align: center; margin-top: auto;
  transition: letter-spacing .4s ease;
}
.hx__panel:hover .hx__panel-name { letter-spacing: .04em; }
.hx__panel-specs {
  display: flex; justify-content: center; gap: 18px;
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--char-mut);
}
.hx__panel-specs b { color: var(--char-ink); font-weight: 600; }

/* slide stack (one slide visible at a time, crossfade) */
.hx__panel-stack { position: relative; flex: 1; min-height: 240px; }
.hx__slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .65s ease;
  text-decoration: none; color: inherit;
  padding: 0;
}
.hx__slide.is-active { opacity: 1; pointer-events: auto; }
.hx__panel-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 6px; z-index: 4;
}
.hx__panel-dot {
  width: 6px; height: 6px; padding: 0;
  background: rgba(255,255,255,.22);
  border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hx__panel-dot:hover { background: rgba(255,255,255,.5); }
.hx__panel-dot.is-active { background: var(--red); transform: scale(1.35); }

@media (min-width: 721px){
  .hx__inner { padding: 64px 0; }
  .hx__cta { flex-direction: row; }
  .hx__cta .b-btn { width: auto; }
}
@media (min-width: 940px){
  .hx__inner {
    /* single-column hero now — no right panel. */
    padding: 28px 0 30px;
  }
  .hx__title { font-size: clamp(56px, 6vw, 82px); }
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.sec { padding: 48px 0; }
.sec--tight { padding: 36px 0; }
.sec__head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 26px;
}
.sec__title {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(26px, 6vw, 34px);
  letter-spacing: -.01em; color: var(--ink); margin: 0;
  text-transform: uppercase;
}
.sec__lead { font-size: 14px; color: var(--ink-3); max-width: 56ch; margin: 0; }
.sec__head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
@media (min-width: 721px){
  .sec { padding: 72px 0; }
  .sec__title { font-size: clamp(30px, 3.2vw, 40px); }
}

/* ============================================================
   SERIES SELECTOR
   ============================================================ */
.series {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.series::-webkit-scrollbar { display: none; }
.series__tab {
  flex: none;
  min-width: 150px;
  text-align: left;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 16px 14px;
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  overflow: hidden;
}
.series__tab::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--muted));
}
.series__tab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.series__tab.is-active { background: var(--char); border-color: var(--char); }
.series__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 16px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
}
.series__tab.is-active .series__name { color: #fff; }
.series__tab.is-active[data-on="dark"] .series__name { color: var(--accent); }
.series__tag {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px; line-height: 1.5;
}
.series__count {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent); margin-top: 10px; font-weight: 600;
}
@media (min-width: 940px){
  .series { margin: 0; padding: 0; overflow: visible; flex-wrap: nowrap; }
  .series__tab { flex: 1 1 0; min-width: 0; }
}

/* ============================================================
   PRODUCT CARD (blueprint frame, priceless)
   ============================================================ */
.pcard {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pcard:hover {
  border-color: var(--line-2);
  box-shadow: 0 14px 40px rgba(20,22,26,.10);
  transform: translateY(-3px);
}
.pcard__stage {
  position: relative;
  /* Square stage — matches the source-photo aspect (admins upload
     1:1 photos with the gun centered). When the stage was 16:10,
     wide products like rifles got squashed because object-fit:contain
     scaled them to fit the box's HEIGHT (since their bounding box
     is squarish). 1:1 means the photo's own bounding box and the
     stage share the same ratio, so the gun fills the stage edge
     to edge with consistent breathing room. */
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 14px 14px;
}
.pcard__stage img:not(.pcard__ghost) {
  /* Centered + scaled by the larger side (object-fit: contain).
     We absolutely position so the chip + id tags above don't shift
     the photo, and use inset:14px to keep a small frame of blueprint
     visible around the photo. width/height: 100% + object-fit:contain
     means the image is always shown whole, never cropped, never
     distorted. */
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}
.pcard__stage .pcard__ghost {
  position: absolute;
  inset: 0;
  margin: auto;
}
.pcard:hover .pcard__stage img:not(.pcard__ghost) { transform: scale(1.05); }
.pcard__ghost {
  width: 60%; max-width: 172px; opacity: .12;
  transition: transform .25s ease, opacity .2s ease;
}
.pcard:hover .pcard__ghost { transform: scale(1.04); opacity: .2; }
.pcard__series {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, var(--muted));
  display: inline-flex; align-items: center; gap: 6px;
}
.pcard__series::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent, var(--muted)); border-radius: 1px;
  transition: transform .25s ease;
}
.pcard:hover .pcard__series::before { transform: scale(1.5); }
.pcard__id {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--muted-2);
}
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; letter-spacing: .01em; color: var(--ink);
  line-height: 1.05;
}
.pcard__type {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.pcard__foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.pcard__detail {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .04em; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.pcard__go {
  width: 34px; height: 34px; border-radius: 6px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pcard__go svg { width: 15px; height: 15px; transition: transform .2s ease; }
.pcard:hover .pcard__go { background: var(--red); border-color: var(--red); color: #fff; }
.pcard:hover .pcard__go svg { transform: translateX(2px); }

/* card grids — mobile-first */
.catalog__grid, .home-showcase__grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 540px){ .catalog__grid, .home-showcase__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 960px){ .catalog__grid, .home-showcase__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Every grid on the home page renders 5 cards per row at wide
   widths (matches the 5 series tabs). Mark with .home-grid. */
@media (min-width: 1080px){
  .home-grid.catalog__grid,
  .catalog__grid.home-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px;
  }
}

/* ============================================================
   PLATFORM ("complete the system")
   ============================================================ */
.platform { background: var(--char); color: var(--char-ink); }
.platform .sec__title { color: #fff; }
.platform .sec__lead { color: var(--char-mut); }
.platform__grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--char-line); border-radius: 12px; overflow: hidden;
}
.platform__cell {
  padding: 26px 22px;
  border-bottom: 1px solid var(--char-line);
  display: flex; flex-direction: column; gap: 12px;
}
.platform__cell:last-child { border-bottom: 0; }
.platform__cell .hexicon::before { background: var(--char-2); }
.platform__cell .hexicon { color: #fff; }
.platform__cell .hexicon--line::after { box-shadow: inset 0 0 0 1.5px var(--char-line); }
.platform__name {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.platform__desc { font-size: 13px; color: var(--char-mut); line-height: 1.55; }
@media (min-width: 640px){
  .platform__grid { grid-template-columns: 1fr 1fr; }
  .platform__cell:nth-child(1),.platform__cell:nth-child(2){ border-bottom: 1px solid var(--char-line); }
  .platform__cell { border-right: 1px solid var(--char-line); }
  .platform__cell:nth-child(2n){ border-right: 0; }
}
@media (min-width: 940px){
  .platform__grid { grid-template-columns: repeat(4,1fr); }
  .platform__cell { border-bottom: 0; border-right: 1px solid var(--char-line); }
  .platform__cell:last-child { border-right: 0; }
}

/* ============================================================
   VALUES / brand band
   ============================================================ */
.values__wrap {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.values__hero {
  position: relative; min-height: 240px;
  background:
    linear-gradient(135deg, rgba(20,22,26,.04), rgba(20,22,26,.10)),
    repeating-linear-gradient(115deg, var(--paper-3) 0 2px, var(--paper-2) 2px 9px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
}
.values__hero .kicker { margin-bottom: 14px; }
.values__stack {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--ink);
}
.values__stack span { display: block; }
.values__stack .red { color: var(--red); }
.values__hero p { font-size: 13px; color: var(--ink-3); margin: 16px 0 0; max-width: 36ch; }
.values__list { display: grid; grid-template-columns: 1fr 1fr; }
.values__item {
  padding: 24px 20px; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.values__item:nth-child(2n){ border-right: 0; }
.values__name {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
}
.values__hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (min-width: 940px){
  .values__wrap { grid-template-columns: 1.1fr 1fr; }
  .values__hero { min-height: 360px; }
  .values__stack { font-size: 44px; }
  .values__list { border-left: 1px solid var(--line); }
  .values__item:nth-child(1),.values__item:nth-child(2){ border-top: 0; }
}

/* ============================================================
   FINAL CTA band
   ============================================================ */
.ctaband {
  position: relative; overflow: hidden;
  background: var(--char); color: #fff;
  border-radius: 16px; padding: 40px 26px;
  display: flex; flex-direction: column; gap: 22px;
}
.ctaband__grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 36px 100%;
  -webkit-mask-image: radial-gradient(100% 120% at 0% 0%, #000, transparent 70%);
          mask-image: radial-gradient(100% 120% at 0% 0%, #000, transparent 70%);
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 7vw, 38px); line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0;
}
.ctaband__title .red { color: var(--red); }
@media (min-width: 721px){
  .ctaband { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 48px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--char); color: var(--char-mut); padding: 44px 0 32px; }
.foot__top { display: flex; flex-direction: column; gap: 28px; }
.foot__brand { display: flex; flex-direction: column; gap: 14px; max-width: 32ch; }
.foot__tagline { font-size: 13px; color: var(--char-mut); line-height: 1.6; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot__col h4 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--char-ink); margin: 0 0 14px; font-weight: 600;
}
.foot__col a {
  display: block; font-size: 13px; color: var(--char-mut);
  padding: 5px 0; cursor: pointer; transition: color .15s ease;
}
.foot__col a:hover { color: #fff; }
.foot__bar {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--char-line);
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--char-mut);
}
@media (min-width: 721px){
  .foot__top { flex-direction: row; justify-content: space-between; gap: 60px; }
  .foot__cols { grid-template-columns: repeat(3,auto); gap: 56px; }
  .foot__bar { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   ABOUT — «О бренде»
   ============================================================ */
.ab-hero {
  position: relative; overflow: hidden;
  background: var(--char); color: var(--char-ink);
  isolation: isolate;
}
.ab-hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 40px 100%;
  -webkit-mask-image: radial-gradient(120% 110% at 80% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 110% at 80% 0%, #000 30%, transparent 80%);
  animation: bGridDrift 9s linear infinite;
}
.ab-hero__glow {
  position: absolute; z-index: 0; top: -25%; right: -8%;
  width: 60%; height: 100%;
  background: radial-gradient(closest-side, rgba(226,35,26,.18), transparent 70%);
  animation: bGlowPulse 6.5s ease-in-out infinite;
  pointer-events: none;
}
.ab-hero__inner {
  position: relative; z-index: 1;
  padding: 48px 0 52px;
  display: flex; flex-direction: column; gap: 22px;
}
.ab-hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 10vw, 72px); line-height: .98; letter-spacing: -.02em;
  margin: 0; color: #fff;
}
.ab-hero__title span { display: block; }
.ab-hero__title .red { color: var(--red); }
.ab-hero__sub { font-size: 16px; line-height: 1.6; color: var(--char-mut); max-width: 52ch; margin: 0; }
@media (min-width: 860px){ .ab-hero__inner { padding: 96px 0 88px; } .ab-hero__sub { font-size: 18px; } }

/* manifesto */
.ab-manifesto { display: grid; grid-template-columns: 1fr; gap: 28px; }
.ab-manifesto__aside { display: flex; flex-direction: column; gap: 22px; }
.ab-manifesto__mark {
  border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px; background: var(--paper-2);
  display: none;
}
.ab-manifesto__mark img { width: 100%; max-width: 180px; opacity: .5; }
.ab-manifesto__body { display: flex; flex-direction: column; gap: 18px; }
.ab-manifesto__body p { font-size: 15px; line-height: 1.65; color: var(--ink-3); margin: 0; max-width: 60ch; }
.ab-lead {
  font-family: var(--font-display); font-weight: 700; text-transform: none;
  font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25;
  color: var(--ink); letter-spacing: -.01em;
  border-left: 3px solid var(--red); padding-left: 20px;
}
@media (min-width: 860px){
  .ab-manifesto { grid-template-columns: 300px 1fr; gap: 56px; }
  .ab-manifesto__mark { display: block; }
}

/* mission band */
.ab-mission { position: relative; overflow: hidden; background: var(--char); color: #fff; }
.ab-mission__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 36px 100%;
  -webkit-mask-image: radial-gradient(100% 130% at 100% 50%, #000, transparent 75%);
          mask-image: radial-gradient(100% 130% at 100% 50%, #000, transparent 75%);
}
.ab-mission__inner { position: relative; padding: 52px 0; display: flex; flex-direction: column; gap: 22px; }
.ab-mission__text {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -.015em;
  margin: 0; max-width: 22ch; color: #fff;
}
.ab-mission__text .red { color: var(--red); }
@media (min-width: 860px){ .ab-mission__inner { padding: 84px 0; } }

/* ritual */
.ab-ritual {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.ab-step {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .18s ease;
}
.ab-step:last-child { border-bottom: 0; }
.ab-step:hover { background: var(--paper-2); }
.ab-step__no {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--red); width: 28px; flex: none;
}
.ab-step .hexicon { flex: none; }
.ab-step__label { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .005em; }
@media (min-width: 720px){
  .ab-ritual { grid-template-columns: 1fr 1fr; }
  .ab-step:nth-child(odd){ border-right: 1px solid var(--line); }
  .ab-step:nth-child(5),.ab-step:nth-child(6){ border-bottom: 0; }
}
@media (min-width: 1040px){
  .ab-ritual { grid-template-columns: repeat(3, 1fr); }
  .ab-step { border-right: 1px solid var(--line); }
  .ab-step:nth-child(3n){ border-right: 0; }
  .ab-step:nth-child(4),.ab-step:nth-child(5),.ab-step:nth-child(6){ border-bottom: 0; }
}

/* beliefs */
.ab-beliefs { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ab-belief {
  position: relative; padding: 30px 26px 28px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ab-belief:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(20,22,26,.09); }
.ab-belief__idx { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.ab-belief__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.005em; color: var(--ink); margin: 0; }
.ab-belief__body { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }
@media (min-width: 860px){ .ab-beliefs { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* scenario */
.ab-scenario { background: var(--paper-2); }
.ab-scenario__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper);
}
.ab-scenario__cell {
  padding: 24px 20px; display: flex; flex-direction: column; gap: 10px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ab-scenario__cell:nth-child(2n){ border-right: 0; }
.ab-scenario__cell:nth-last-child(-n+2){ border-bottom: 0; }
.ab-scenario__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: .02em; }
.ab-scenario__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 860px){
  .ab-scenario__grid { grid-template-columns: repeat(3, 1fr); }
  .ab-scenario__cell:nth-child(2n){ border-right: 1px solid var(--line); }
  .ab-scenario__cell:nth-child(3n){ border-right: 0; }
  .ab-scenario__cell:nth-last-child(-n+3){ border-bottom: 0; }
}

/* closer */
.ab-closer { position: relative; overflow: hidden; background: var(--char); color: #fff; border-radius: 16px; padding: 40px 26px; }
.ab-closer__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 36px 100%;
  -webkit-mask-image: radial-gradient(110% 120% at 0% 100%, #000, transparent 72%);
          mask-image: radial-gradient(110% 120% at 0% 100%, #000, transparent 72%);
}
.ab-closer__body { position: relative; display: flex; flex-direction: column; gap: 16px; }
.ab-closer__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 6vw, 48px); line-height: 1; letter-spacing: -.015em; margin: 6px 0 0; }
.ab-closer__title .red { color: var(--red); }
.ab-closer__sub { font-size: 15px; line-height: 1.6; color: var(--char-mut); max-width: 54ch; margin: 0; }
.ab-closer__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
@media (min-width: 640px){ .ab-closer__cta { flex-direction: row; } }
@media (min-width: 860px){ .ab-closer { padding: 60px 56px; } }

/* ============================================================
   CATALOG
   ============================================================ */
.cat-hero { position: relative; overflow: hidden; background: var(--char); color: var(--char-ink); isolation: isolate; }
.cat-hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--char-line) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, var(--char-line) 1px, transparent 1px) 0 0 / 40px 100%;
  -webkit-mask-image: radial-gradient(120% 120% at 78% 0%, #000 32%, transparent 80%);
          mask-image: radial-gradient(120% 120% at 78% 0%, #000 32%, transparent 80%);
  animation: bGridDrift 9s linear infinite;
}
.cat-hero__glow {
  position: absolute; z-index: 0; top: -30%; right: -6%; width: 55%; height: 100%;
  background: radial-gradient(closest-side, rgba(226,35,26,.16), transparent 70%);
  animation: bGlowPulse 6.5s ease-in-out infinite; pointer-events: none;
}
.cat-hero__inner { position: relative; z-index: 1; padding: 40px 0 44px; display: flex; flex-direction: column; gap: 16px; }
.cat-hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 8vw, 60px); line-height: .98; letter-spacing: -.02em; margin: 0; color: #fff;
}
.cat-hero__title .red { color: var(--red); }
.cat-hero__sub { font-size: 15px; line-height: 1.6; color: var(--char-mut); max-width: 54ch; margin: 0; }
@media (min-width: 860px){ .cat-hero__inner { padding: 72px 0 64px; } .cat-hero__sub { font-size: 17px; } }

.catalog { padding-top: 28px; padding-bottom: 64px; }

/* category strip + scroll arrows */
.cat-strip-wrap {
  display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 22px;
  position: relative;
}
.cat-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip__nav {
  display: none;
  width: 38px; height: 42px;
  border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink);
  border-radius: 8px;
  align-items: center; justify-content: center;
  cursor: pointer; flex: none;
  transition: border-color .15s ease, background .15s ease;
}
.cat-strip__nav:hover { border-color: var(--ink); background: var(--paper-2); }
.cat-strip__nav svg { width: 16px; height: 16px; }
.cat-strip-wrap.has-overflow .cat-strip__nav { display: inline-flex; }
.cat-strip-wrap.at-start .cat-strip__nav--prev { opacity: .35; pointer-events: none; }
.cat-strip-wrap.at-end   .cat-strip__nav--next { opacity: .35; pointer-events: none; }
.cat-strip__tab {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cat-strip__name { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.cat-strip__count { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.cat-strip__tab:hover { border-color: var(--line-2); }
.cat-strip__tab.is-active { background: var(--ink); border-color: var(--ink); }
.cat-strip__tab.is-active .cat-strip__name { color: #fff; }
.cat-strip__tab.is-active .cat-strip__count { color: var(--red); }

.cat-search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
.cat-search:focus-within { border-color: var(--ink); }
.cat-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.cat-search input { flex: 1; border: none; outline: none; background: none; font-family: var(--font); font-size: 14px; color: var(--ink); }
.cat-search input::placeholder { color: var(--muted-2); }

.cat-filters-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper);
  font-weight: 600; font-size: 13px; color: var(--ink); cursor: pointer; margin-bottom: 18px;
}
.cat-filters-toggle:hover { border-color: var(--ink); }

.catalog__layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.catalog__filters { display: none; flex-direction: column; gap: 22px; }
.catalog__filters.is-open { display: flex; }
.filter-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filter-head__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.filter-head__reset { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; cursor: pointer; font-size: 12px; color: var(--muted); }
.filter-head__reset:hover { color: var(--red); }
.filter-head__reset svg { width: 13px; height: 13px; }
.filter-block { display: flex; flex-direction: column; gap: 12px; }
.filter-block__title { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.filter-block__list { display: flex; flex-direction: column; gap: 2px; }
.filter-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 6px; cursor: pointer; transition: background .12s ease, opacity .15s ease; }
.filter-row:hover { background: var(--paper-2); }
.filter-row.is-disabled { opacity: .35; pointer-events: none; }
.filter-row input { width: 16px; height: 16px; accent-color: var(--red); flex: none; }
.filter-swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.filter-row__name { flex: 1; font-size: 14px; color: var(--ink-2); }
.filter-row__count { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

.catalog__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.catalog__count { font-size: 14px; color: var(--ink-3); }
.catalog__count b { font-family: var(--font-display); color: var(--ink); }
.catalog__sort { display: flex; align-items: center; gap: 10px; }
.catalog__sort label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.catalog__sort .select {
  height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--paper); font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 12px; }

@media (min-width: 720px){
  .cat-strip-wrap { flex-direction: row; align-items: center; gap: 10px; }
  .cat-strip { flex: 1; min-width: 0; }
  .cat-search { width: 280px; flex: none; }
}
@media (min-width: 960px){
  .cat-filters-toggle { display: none; }
  .catalog__layout { grid-template-columns: 240px 1fr; gap: 40px; }
  .catalog__filters {
    display: flex !important;
    position: sticky;
    top: 88px;
    align-self: start;
    /* The filter set is tall — give it its own internal scroll so
       the user can browse filters without scrolling the whole page.
       Scrollbar is shown only when content overflows. */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
  }
  .catalog__filters::-webkit-scrollbar { width: 6px; }
  .catalog__filters::-webkit-scrollbar-track { background: transparent; }
  .catalog__filters::-webkit-scrollbar-thumb {
    background: var(--line-2); border-radius: 999px;
  }
  .catalog__filters::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
}

/* ============================================================
   MODEL PAGE (light hero #F3F5F7)
   ============================================================ */
.mp { display: block; }
.mp-hero {
  position: relative; overflow: hidden;
  background: var(--paper-2); color: var(--ink-2);
  isolation: isolate;
}
.mp-hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 100%;
  -webkit-mask-image: radial-gradient(120% 110% at 85% 10%, #000 35%, transparent 82%);
          mask-image: radial-gradient(120% 110% at 85% 10%, #000 35%, transparent 82%);
}
.mp-hero__inner { position: relative; z-index: 1; padding: 24px 0 68px; }
.mp-hero__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mp-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; text-decoration: none;
  transition: color .15s ease;
}
.mp-back:hover { color: var(--ink); }
.mp-hero__code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.mp-hero__cols { display: flex; flex-direction: column; gap: 28px; }
.mp-hero__left { display: flex; flex-direction: column; gap: 18px; }
.mp-hero__left .kicker { color: var(--muted); }
.mp-hero__left .kicker::before { background: var(--red); }
.mp-hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 9vw, 68px); line-height: .96; letter-spacing: -.02em;
  margin: 0; color: var(--ink);
}
.mp-hero__sub { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 52ch; margin: 0; }
.mp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chip {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper);
}
.mp-hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.mp-hero__cta .b-btn--ondark {
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.mp-hero__cta .b-btn--ondark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mp-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line);
}
.mp-hero__meta-item { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.mp-hero__meta-item b { color: var(--ink); font-weight: 600; margin-left: 4px; }
@media (min-width: 640px){ .mp-hero__cta { flex-direction: row; } }
/* Gallery wrap = photo (left) + vertical thumb rail (right) */
.mp-gallery-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

/* blueprint frame — SQUARE 1:1 */
.mp-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: grid; place-items: center;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--paper);
  width: 100%;
}

@media (min-width: 900px){
  .mp-hero__inner { padding: 28px 0 80px; }
  /* Top-align the right column so the gallery sits flush with the
     eyebrow on the left. The gallery keeps its 1:1 (square) aspect
     — it no longer balloons to match a taller or shorter text
     column. */
  .mp-hero__cols {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: start;
  }
  .mp-hero__right { display: block; }
  /* Wrap is positioned: gallery flows normally as a square, the thumb
     rail is absolutely positioned on the right edge so its height
     locks to the gallery's natural side length. Arrow buttons at top
     and bottom of the rail scroll the thumbs without a visible
     scrollbar. */
  .mp-gallery-wrap {
    display: block;
    position: relative;
    padding-right: 100px;            /* 84px rail + 16px gap */
  }
  .mp-gallery {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }
}
.mp-gallery .bp-corners > i { border-color: var(--blueprint); }
.mp-gallery__cross::before, .mp-gallery__cross::after { content: ''; position: absolute; background: var(--line-2); z-index: 0; }
.mp-gallery__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.mp-gallery__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.mp-gallery__ghost { position: relative; width: 56%; max-width: 220px; opacity: .14; }
/* Photo container: centred, scales by larger side, never cropped
   (same logic as the catalog card previews). The 18px inset leaves
   a small frame of blueprint visible around the photo. */
.mp-gallery__photo {
  position: absolute;
  inset: 18px;
  display: grid; place-items: center;
  z-index: 1;
}
.mp-gallery__photo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  object-position: center;
}

/* click-half navigation on the main photo */
.mp-gallery__hit {
  position: absolute; top: 0; bottom: 0; width: 36%;
  z-index: 3; cursor: pointer;
  background: transparent; transition: background .15s ease;
}
.mp-gallery__hit--prev { left: 0; }
.mp-gallery__hit--next { right: 0; }
.mp-gallery__hit:hover { background: rgba(20,22,26,.03); }
.mp-gallery__hit svg {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; opacity: 0; transition: opacity .15s ease;
  color: var(--ink);
}
.mp-gallery__hit--prev svg { left: 12px; }
.mp-gallery__hit--next svg { right: 12px; }
.mp-gallery:hover .mp-gallery__hit svg { opacity: .45; }
.mp-gallery__hit:hover svg { opacity: 1; }

/* Mobile fallback — horizontal scroller below the photo */
.mp-thumb-rail { display: contents; }
.mp-thumbs {
  display: flex; gap: 8px;
  overflow: auto;
  scrollbar-width: none;
}
.mp-thumbs::-webkit-scrollbar { display: none; }
.mp-thumb-nav { display: none; }
.mp-thumb {
  flex: none; width: 64px; height: 64px;
  padding: 6px;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 8px; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.mp-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.mp-thumb:hover { border-color: var(--ink); }
.mp-thumb.is-active { border-color: var(--red); }

@media (min-width: 900px){
  /* Desktop: thumb rail = column locked to the right edge of the
     gallery. Up/down arrow buttons replace the scrollbar. */
  .mp-thumb-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 84px;
  }
  .mp-thumbs {
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0;
    overflow: hidden;        /* no scrollbar — arrows do the scrolling */
    scroll-behavior: smooth;
  }
  .mp-thumb { width: 84px; height: 84px; }
  .mp-thumb-nav {
    display: flex; align-items: center; justify-content: center;
    flex: none;
    width: 84px; height: 28px;
    border: 1px solid var(--line);
    background: var(--paper); color: var(--ink);
    border-radius: 6px; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, opacity .15s ease;
  }
  .mp-thumb-nav svg { width: 14px; height: 14px; }
  .mp-thumb-nav:hover { border-color: var(--ink); background: var(--paper-2); }
  .mp-thumb-nav.is-disabled { opacity: .25; pointer-events: none; }
}

/* spec strip */
.mp-strip-wrap { margin-top: 40px; position: relative; z-index: 2; margin-bottom: 8px; }
.spec-strip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20,22,26,.12);
  display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden;
}
@media (min-width: 640px){ .spec-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px){ .spec-strip { grid-template-columns: repeat(6, 1fr); } }
.spec-cell {
  padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}
.spec-cell:last-child { border-right: 0; }
.spec-cell__label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.spec-cell__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--red);
}
.spec-cell__icon svg { width: 22px; height: 22px; }
.spec-cell__value {
  font-family: var(--font); font-weight: 600;
  font-size: 14px; color: var(--ink);
  margin-top: 2px;
}

/* model body */
.model-body {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 48px 0 24px;
}
.model-body__main { display: flex; flex-direction: column; gap: 14px; }
.model-body__sidebar { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 860px){
  .model-body { grid-template-columns: 1.5fr 1fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  font-weight: 500; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::after {
  content: ''; width: 22px; height: 1px;
  background: var(--red);
}
.eyebrow--ink { color: var(--ink); }
.eyebrow--plain::after { display: none; }
.eyebrow--block { display: flex; width: 100%; }
.eyebrow--block::after { flex: 1; }

.lead { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0; max-width: 64ch; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

.model-section { padding: 28px 0; }
.model-section .eyebrow { margin-bottom: 16px; }

.specs { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.specs__value { color: var(--ink); font-weight: 500; margin: 0; text-align: right; }

.model-features { display: flex; flex-wrap: wrap; gap: 8px; }
.model-features__chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px;
  background: var(--paper-2); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 6px;
}

/* docs */
.docs-grid-v2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px){ .docs-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
.doc-card-v2 {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.doc-card-v2__icon { width: 36px; height: 36px; color: var(--red); display: grid; place-items: center; background: var(--paper); border-radius: 6px; border: 1px solid var(--line); }
.doc-card-v2__icon svg { width: 18px; height: 18px; }
.doc-card-v2__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.doc-card-v2__hint { font-size: 12px; color: var(--muted); }
.doc-card-v2__btn { margin-top: auto; align-self: flex-start; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 18px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--ink);
  cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.faq-item__q::after {
  content: '+'; font-family: var(--font-mono); font-size: 22px;
  color: var(--red); font-weight: 500; line-height: 1;
  flex: none;
}
.faq-item.is-open .faq-item__q::after { content: '−'; }
.faq-item__a {
  max-height: 0; overflow: hidden;
  font-size: 14.5px; line-height: 1.65; color: var(--ink-3);
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.is-open .faq-item__a { padding-bottom: 18px; max-height: 480px; }

.related__head { margin-bottom: 18px; }
.model-foot { padding: 24px 0 64px; display: flex; justify-content: flex-start; }

/* ============================================================
   STORES + CERTS + secondary
   ============================================================ */
.stores { padding: 40px 0 64px; }
.stores__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.stores__head h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 7vw, 56px); margin: 0; color: var(--ink); }
.stores__lead { color: var(--ink-3); margin: 4px 0 0; }
.stores__region { padding-top: 24px; }
.stores__region-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.stores__list { display: flex; flex-direction: column; }
.store-row {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.store-row__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.store-row__addr { font-size: 13.5px; color: var(--ink-3); }
.store-row__hours { font-size: 12.5px; }
.store-row__phone { color: var(--red); font-family: var(--font-mono); font-size: 14px; }
@media (min-width: 720px){
  .store-row { grid-template-columns: 1.4fr auto auto; align-items: center; gap: 24px; }
}

/* ============================================================
   SEARCH (home compact)
   ============================================================ */
.search { position: relative; max-width: 720px; margin: 0 auto; }
.search__field {
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s ease;
}
.search--open .search__field, .search__field:focus-within { border-color: var(--ink); }
.search__icon { width: 18px; height: 18px; color: var(--muted); }
.search__input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.search__input::placeholder { color: var(--muted-2); }
.search__clear { width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; display: none; }
.search--has-value .search__clear { display: inline-flex; align-items: center; justify-content: center; }
.search__suggest {
  display: none;
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden; z-index: 30;
  max-height: 60vh; overflow-y: auto;
}
.search--open .search__suggest { display: block; }
.suggest-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background .12s ease;
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover, .suggest-item.is-active { background: var(--paper-2); }
.suggest-item__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.suggest-item__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.suggest-item mark { background: rgba(226,35,26,.12); color: var(--ink); padding: 0; border-radius: 2px; }
.suggest-empty { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }

.search-history { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.search-history__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.search-history__chip { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-3); cursor: pointer; }
.search-history__chip:hover { border-color: var(--ink); color: var(--ink); }
.search-history__clear { padding: 6px 10px; background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.search-history__clear:hover { color: var(--red); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,15,18,.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; }
.lightbox__img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2); background: transparent;
  color: #fff; border-radius: 6px;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff;
  border-radius: 6px;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: var(--char-mut); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
}

/* loader spinner (used by data-loading placeholders) */
.loader-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* certificates page */
.certs { padding: 40px 0 64px; }
.certs__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.certs__head h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 7vw, 56px); margin: 0; color: var(--ink); }
.certs__lead { color: var(--ink-3); margin: 4px 0 0; }
.certs__group { padding-top: 22px; }
.certs__group-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.certs__list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px){ .certs__list { grid-template-columns: 1fr 1fr; } }
.cert-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cert-row:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,22,26,.06); }
.cert-row__icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--red); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; flex: none; }
.cert-row__icon svg { width: 18px; height: 18px; }
.cert-row__title { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.cert-row__hint { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }

/* ============================================================
   MOTION — load + scroll reveals, ambient
   ============================================================ */
@keyframes bFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bScaleIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes bFadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes bGlowPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes bGridDrift { from { background-position: 0 0, 0 0; } to { background-position: 0 40px, 40px 0; } }

.route-fade { animation: bFadeIn .45s ease both; }

.reveal { opacity: 0; }
.reveal.in { animation: bFadeUp .7s cubic-bezier(.2,.7,.2,1) both; }

.reveal-grid > * { opacity: 0; }
.reveal-grid.in > * { animation: bScaleIn .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal-grid.in > *:nth-child(1){ animation-delay: .04s; }
.reveal-grid.in > *:nth-child(2){ animation-delay: .10s; }
.reveal-grid.in > *:nth-child(3){ animation-delay: .16s; }
.reveal-grid.in > *:nth-child(4){ animation-delay: .22s; }
.reveal-grid.in > *:nth-child(5){ animation-delay: .28s; }
.reveal-grid.in > *:nth-child(6){ animation-delay: .34s; }
.reveal-grid.in > *:nth-child(7){ animation-delay: .40s; }
.reveal-grid.in > *:nth-child(8){ animation-delay: .46s; }

.series-grid > * { animation: bScaleIn .5s cubic-bezier(.2,.7,.2,1) both; }
.series-grid > *:nth-child(2){ animation-delay: .06s; }
.series-grid > *:nth-child(3){ animation-delay: .12s; }
.series-grid > *:nth-child(4){ animation-delay: .18s; }
.series-grid > *:nth-child(5){ animation-delay: .24s; }
.series-grid > *:nth-child(6){ animation-delay: .30s; }

.hx .rise { opacity: 0; animation: bFadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hx__head .rise:nth-child(1){ animation-delay: .10s; }
.hx__head .rise:nth-child(2){ animation-delay: .20s; }
.hx__head .rise:nth-child(3){ animation-delay: .32s; }
.hx__head .rise:nth-child(4){ animation-delay: .44s; }
.rise--panel { animation-delay: .30s; animation-duration: .9s; }

.cat-hero .rise, .ab-hero .rise { opacity: 0; animation: bFadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.cat-hero .rise:nth-child(1), .ab-hero .rise:nth-child(1) { animation-delay: .06s; }
.cat-hero .rise:nth-child(2), .ab-hero .rise:nth-child(2) { animation-delay: .18s; }
.cat-hero .rise:nth-child(3), .ab-hero .rise:nth-child(3) { animation-delay: .30s; }

/* mobile fit-and-finish */
@media (max-width: 560px){
  .pcard__name { font-size: 20px; }
  .pcard__ghost { width: 56%; }
  .sec__head-row { flex-direction: column; align-items: flex-start; }
  .sec__head-row .b-btn { width: 100%; }
  .hx__title { font-size: clamp(38px, 12.5vw, 56px); }
  .ctaband { padding: 32px 22px; }
  .ctaband .b-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .route-fade, .site-header, .reveal, .reveal.in, .reveal-grid > *, .reveal-grid.in > *,
  .series-grid > *, .hx .rise, .hx__grid, .hx__glow, .hx__panel::after,
  .cat-hero__grid, .cat-hero__glow, .ab-hero__grid, .ab-hero__glow {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}
