/* ==========================================================================
   LCTF — STOCK BOARD
   Deep olive / bone / oxide red. Clash Display + Satoshi + Martian Mono.
   The shop as a working counter with a live board.
   ========================================================================== */

:root {
  /* neutral ramp anchored on #292929. The steps keep the same relative
     separation the olive ramp had, so panels still read as raised. */
  --bg:        #292929;
  --bg-2:      #2F2F2F;
  --bg-3:      #363636;
  --bg-4:      #404040;

  /* The ground is ~3x lighter than it was, so the muted greys had to come up
     with it or they drop under 4.5:1. */
  --bone:      #E6E4DE;
  --bone-2:    #BAB8B1;
  --bone-3:    #A29F97;

  --rule:      rgba(230, 228, 222, .14);
  --rule-2:    rgba(230, 228, 222, .26);

  /* sampled from the gold in the LCTF logo: #CEAB6B, hue 39, sat 48% */
  --accent:    #CEAB6B;
  --accent-hi: #E2C083;
  --accent-dim:rgba(206, 171, 107, .16);
  /* the gold is light, so anything sitting ON it needs dark ink, not white */
  --on-accent: #17140A;

  --ok:        #7CB68A;

  --display: 'Clash Display', 'Arial Black', system-ui, sans-serif;
  --body:    'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1240px;
  --nav-h: 68px;
  --gut: clamp(20px, 5vw, 56px);

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-mech: cubic-bezier(.65, 0, .35, 1);

  --shadow-1: 0 1px 0 rgba(255,255,255,.04), 0 18px 40px -24px rgba(0,0,0,.62);
  --shadow-2: 0 1px 0 rgba(255,255,255,.05), 0 40px 80px -40px rgba(0,0,0,.78);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; font-family: var(--mono); font-size: 12px;
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

section[id], main[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.container { width: min(100% - (var(--gut) * 2), var(--container)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   TYPE
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.024em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.15rem, 5.8vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4.1vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -.016em; }

p { margin: 0; }

.mono {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-3);
  font-weight: 500;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--accent); flex: none;
}

/* The hero eyebrow is not a section label, it is the company name. It gets
   read as a wordmark, so it carries the logo gold, real weight and a size
   that holds its own under the headline. Every other .eyebrow on the site
   stays a quiet label. */
.hero .eyebrow {
  font-size: clamp(.88rem, 1.5vw, 1.18rem);
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--accent-hi);
  gap: 13px;
}
.hero .eyebrow::before {
  width: 34px; height: 2px;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--bone-2);
  max-width: 58ch;
  line-height: 1.62;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              color .28s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost { border-color: var(--rule-2); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone-2); background: rgba(230,228,222,.06); }

.btn-solid { background: var(--bone); color: var(--bg); }
.btn-solid:hover { background: #fff; }

.btn i { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------------- */

.nav-wrap {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: rgba(41, 41, 41, .9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--rule);
}

.nav {
  width: min(100% - (var(--gut) * 2), var(--container));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}

.nav-brand { flex: none; display: flex; align-items: center; }
.nav-brand img { width: 52px; height: 52px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a {
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone-2);
  padding: 6px 0;
  position: relative;
  transition: color .24s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent);
  transition: right .34s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { right: 0; }
.nav-links a.is-current { color: var(--bone); }
.nav-links a.is-current::after { right: 0; }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px;
  background: var(--bone);
  transition: transform .38s var(--ease), opacity .2s linear;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { content: ''; left: 0; transform: translateY(-6px); }
.nav-toggle span::after  { content: ''; left: 0; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(-90deg); }
.nav-toggle[aria-expanded="true"] span::after { opacity: 0; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 89;
  background: rgba(41, 41, 41, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px var(--gut) 44px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .38s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -.02em;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(14px);
}
.mobile-menu.open a { animation: menuIn .5s var(--ease) forwards; }
.mobile-menu.open a:nth-child(1) { animation-delay: .04s; }
.mobile-menu.open a:nth-child(2) { animation-delay: .08s; }
.mobile-menu.open a:nth-child(3) { animation-delay: .12s; }
.mobile-menu.open a:nth-child(4) { animation-delay: .16s; }
.mobile-menu.open a:nth-child(5) { animation-delay: .2s; }
.mobile-menu.open a:nth-child(6) { animation-delay: .24s; }
.mobile-menu.open a:nth-child(7) { animation-delay: .28s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

.mobile-menu .mm-foot {
  margin-top: auto; padding-top: 26px;
  display: flex; flex-direction: column; gap: 10px;
  border: 0;
}
.mobile-menu .btn { font-size: .72rem; min-height: 52px; opacity: 1; transform: none; animation: none; border-bottom: 0; font-family: var(--mono); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: var(--nav-h);
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: 62% 45%;
  filter: saturate(.78) contrast(1.1) brightness(.86);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,22,22,.52) 0%, rgba(22,22,22,.32) 26%, rgba(35,35,35,.9) 82%, var(--bg) 100%),
    linear-gradient(97deg, rgba(22,22,22,.96) 2%, rgba(22,22,22,.84) 26%, rgba(22,22,22,.32) 58%, rgba(22,22,22,.52) 100%),
    radial-gradient(ellipse 66% 55% at 18% 42%, rgba(206,171,107,.13) 0%, rgba(206,171,107,0) 68%);
}

/* faint machined grid over the hero */
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 0%, transparent 78%);
  opacity: .7;
}

.hero-inner {
  width: min(100% - (var(--gut) * 2), var(--container));
  margin-inline: auto;
  min-height: calc(72svh - var(--nav-h));
  padding: clamp(40px, 7vh, 82px) 0 clamp(34px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 26px;
}

.hero-head { max-width: none; }

.hero h1 { margin-top: 18px; }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--bone-2);
  max-width: 46ch;
  line-height: 1.58;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 52px; padding: 0 26px; }

/* --- the flip slot ------------------------------------------------------- */

.flip-slot {
  display: inline-flex;
  max-width: 100%;
  align-items: baseline;
  perspective: 620px;
  position: relative;
  color: var(--accent-hi);
  padding-right: .06em;
}
.flip-slot::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -.1em;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  animation: slotRule 5.4s var(--ease-mech) infinite;
}
@keyframes slotRule {
  0%, 6%    { transform: scaleX(0); }
  16%, 88%  { transform: scaleX(1); }
  100%      { transform: scaleX(1); }
}

.flip-char {
  display: inline-block;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  white-space: pre;
}
.flip-char.is-out { animation: flipOut .2s var(--ease-mech) forwards; }
.flip-char.is-in  { animation: flipIn .3s var(--ease-mech) backwards; }
@keyframes flipOut {
  from { transform: rotateX(0deg);   opacity: 1; }
  to   { transform: rotateX(-92deg); opacity: .1; }
}
@keyframes flipIn {
  from { transform: rotateX(92deg);  opacity: .1; }
  to   { transform: rotateX(0deg);   opacity: 1; }
}

/* --------------------------------------------------------------------------
   THE BOARD
   -------------------------------------------------------------------------- */

.board-wrap { position: relative; padding-bottom: clamp(40px, 7vh, 80px); }

.board {
  width: min(100% - (var(--gut) * 2), var(--container));
  margin-inline: auto;
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(54,54,54,.88), rgba(47,47,47,.94));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--rule);
  background: rgba(20,20,20,.42);
}
.board-head .mono { color: var(--bone-3); font-size: .7rem; }
.board-live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-2); }
.board-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(124,182,138,.6);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(124,182,138,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(124,182,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,182,138,0); }
}

.board-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 260px) minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  min-height: 62px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background .26s var(--ease), padding-left .3s var(--ease);
}
.board-row:last-child { border-bottom: 0; }
.board-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: center;
  transition: transform .34s var(--ease);
}
.board-row:hover { background: rgba(206,171,107,.06); }
.board-row:hover::before { transform: scaleY(1); }

.board-row .b-idx { font-family: var(--mono); font-size: .71rem; color: var(--bone-3); font-variant-numeric: tabular-nums; }
.board-row .b-name {
  font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  letter-spacing: -.012em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.board-row .b-desc { font-size: .87rem; color: var(--bone-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .b-arrow { color: var(--bone-3); font-size: 1.15rem; transition: transform .3s var(--ease), color .3s var(--ease); text-align: right; }
.board-row:hover .b-arrow { transform: translateX(4px); color: var(--accent-hi); }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
  border: 1px solid var(--rule-2);
  color: var(--bone-2);
  white-space: nowrap;
}
.chip-ok  { color: var(--ok); border-color: rgba(124,182,138,.4); background: rgba(124,182,138,.09); }
.chip-req { color: var(--accent-hi); border-color: rgba(206,171,107,.45); background: rgba(206,171,107,.1); }
.chip-nfa { color: #7E9BB0; border-color: rgba(126,155,176,.42); background: rgba(126,155,176,.1); }

/* --------------------------------------------------------------------------
   TICKER
   -------------------------------------------------------------------------- */

.ticker {
  border-block: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
  padding: 11px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: crawl 42s linear infinite;
}
.ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bone-3);
  padding: 0 26px;
  display: inline-flex; align-items: center; gap: 26px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex: none;
}
@keyframes crawl { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   SECTION FRAME
   -------------------------------------------------------------------------- */

.sec { padding: clamp(64px, 10vh, 128px) 0; }
/* a page header already carries its own bottom air */
.page-head + .sec { padding-top: clamp(34px, 5vh, 58px); }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--rule); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(18px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(30px, 5vh, 56px);
}
.sec-head h2 { margin-top: 14px; }
.sec-head p { color: var(--bone-2); font-size: 1rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   SHOP GRID (landing)
   -------------------------------------------------------------------------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shop-cell {
  grid-column: span 2;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 34px;
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .34s var(--ease), background .3s var(--ease);
}
.shop-cell:nth-child(1) { grid-column: span 3; }
.shop-cell:nth-child(2) { grid-column: span 3; }
.shop-cell::after {
  content: '';
  position: absolute; inset: auto -30% -60% auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(206,171,107,.18) 0%, rgba(206,171,107,0) 70%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.shop-cell:hover { border-color: var(--rule-2); transform: translateY(-3px); background: var(--bg-3); }
.shop-cell:hover::after { opacity: 1; }

.shop-cell-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.shop-cell-idx { font-family: var(--mono); font-size: .71rem; color: var(--bone-3); }
.shop-cell i.ph { font-size: 1.5rem; color: var(--accent-hi); }
.shop-cell h3 { margin-bottom: 8px; }
.shop-cell p { font-size: .9rem; color: var(--bone-2); line-height: 1.55; max-width: 42ch; }
.shop-cell-go {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone);
  margin-top: 14px;
}
.shop-cell-go i { transition: transform .3s var(--ease); }
.shop-cell:hover .shop-cell-go i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   BUILDS RAIL
   -------------------------------------------------------------------------- */

.rail-progress { width: min(100% - (var(--gut) * 2), var(--container)); margin: 0 auto 16px; }
.rail-progress-track { height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.rail-progress-fill { height: 100%; width: 8%; background: var(--accent); transition: width .16s linear; }

.rail {
  --rail-inset: max(var(--gut), calc((100vw - var(--container)) / 2 + var(--gut)));
  display: flex; gap: 12px;
  padding: 4px var(--rail-inset) 22px;
  overflow-x: auto;
  /* no snap: it fights the continuous drift, yanking the rail back each frame */
  scroll-padding-left: var(--rail-inset);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }

.rail-card {
  flex: 0 0 auto;
  width: min(78vw, 460px);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  position: relative;
  transition: transform .38s var(--ease);
}
.rail-card.wide { width: min(88vw, 640px); }
.rail-card:hover { transform: translateY(-4px); }

.rail-card-frame {
  position: relative;
  height: 400px;
  border-radius: var(--r);
  overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--bg-3);
}
.rail-card-frame img,
.rail-card-frame video {
  width: 100%; height: 100%; object-fit: cover;
}
.rail-card-frame img { transition: transform .7s var(--ease); }
.rail-card:hover .rail-card-frame img { transform: scale(1.035); }

.video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(20,20,20,.3);
  border: 0; cursor: pointer;
  transition: opacity .3s var(--ease), background .3s var(--ease);
}
.video-play.hidden { opacity: 0; pointer-events: none; }
.video-play-icon {
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20,20,20,.66);
  border: 1px solid rgba(230,228,222,.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 1.5rem;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.video-play:hover .video-play-icon { transform: scale(1.06); background: var(--accent); color: var(--on-accent); }

/* --------------------------------------------------------------------------
   SERVICES LEDGER
   -------------------------------------------------------------------------- */

.ledger { border-top: 1px solid var(--rule); margin: 0; }
.ledger-item {
  display: grid;
  grid-template-columns: 58px minmax(0, .8fr) minmax(0, 1.3fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(20px, 3vh, 30px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background .3s var(--ease);
}
.ledger-item:hover { background: rgba(230,228,222,.03); }
.ledger-n { font-family: var(--mono); font-size: .71rem; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.ledger-item dt { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.4rem); letter-spacing: -.015em; }
.ledger-item dd { margin: 0; color: var(--bone-2); font-size: .96rem; line-height: 1.58; max-width: 56ch; }

/* --------------------------------------------------------------------------
   PRICE MATCH
   -------------------------------------------------------------------------- */

.pricematch {
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background:
    radial-gradient(ellipse 70% 130% at 88% 50%, rgba(206,171,107,.13) 0%, rgba(206,171,107,0) 68%),
    var(--bg-3);
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}
.pricematch h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 12px; }
.pricematch p { color: var(--bone-2); margin-top: 14px; font-size: 1rem; line-height: 1.6; }
.pm-steps { display: flex; flex-direction: column; gap: 2px; }
.pm-step {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.pm-step:last-child { border-bottom: 0; }
.pm-step .num { color: var(--accent-hi); font-size: .71rem; padding-top: 3px; }
.pm-step span:last-child { font-size: .94rem; color: var(--bone); line-height: 1.5; }

/* --------------------------------------------------------------------------
   LICENSES
   -------------------------------------------------------------------------- */

.lic-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
.lic-panel { border: 1px solid var(--rule-2); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.lic-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px;
  border-bottom: 1px solid var(--rule);
}
.lic-row:last-child { border-bottom: 0; }
.lic-name { font-family: var(--display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.014em; }
.lic-sub { color: var(--bone-3); font-size: .84rem; margin-top: 3px; }
.lic-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.lic-meta .mono { color: var(--bone-2); font-size: .7rem; }
.tick { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-family: var(--mono); font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   REVIEWS — screenshots pinned like shop paperwork
   -------------------------------------------------------------------------- */

.reviews-board {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(180deg, rgba(230,228,222,.03) 0 1px, transparent 1px 9px),
    var(--bg-3);
  padding: clamp(26px, 5vw, 56px) clamp(20px, 4vw, 48px) clamp(34px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.pinned { position: relative; }
.pinned-inner {
  position: relative;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 22px 44px -20px rgba(0,0,0,.86), 0 2px 0 rgba(0,0,0,.4);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pinned:nth-child(1) .pinned-inner { transform: rotate(-1.3deg); }
.pinned:nth-child(2) .pinned-inner { transform: rotate(1deg); }
.pinned:nth-child(1):hover .pinned-inner { transform: rotate(-.3deg) translateY(-5px); }
.pinned:nth-child(2):hover .pinned-inner { transform: rotate(.2deg) translateY(-5px); }
.pinned-inner img { width: 100%; height: auto; }

/* the scrolling frame for the long review */
.pinned.is-long .pinned-inner { max-height: 470px; overflow: hidden; }
.pinned.is-long .pinned-inner::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.pinned.is-long.is-open .pinned-inner { max-height: none; }
.pinned.is-long.is-open .pinned-inner::after { opacity: 0; }

.pin {
  position: absolute; top: -11px; left: 50%; z-index: 3;
  width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F0DCAE, var(--accent) 58%, #7A5C26 100%);
  box-shadow: 0 5px 10px rgba(0,0,0,.6);
  transform: translateX(-50%);
}
.pinned:nth-child(1) .pin { left: 22%; }
.pinned:nth-child(2) .pin { left: 74%; }

.pinned-cap {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.pinned-cap .mono { color: var(--bone-3); font-size: .69rem; }
.review-more {
  background: none; border: 0; cursor: pointer; padding: 4px 0;
  font-family: var(--mono); font-size: .69rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-hi);
  border-bottom: 1px solid rgba(206,171,107,.5);
  transition: color .24s var(--ease), border-color .24s var(--ease);
}
.review-more:hover { color: var(--bone); border-color: var(--bone); }

.reviews-note {
  margin-top: 20px;
  text-align: center;
  color: var(--bone-3);
  font-size: .84rem;
}
.reviews-note a {
  color: var(--bone-2); border-bottom: 1px solid var(--rule-2);
  display: inline-block; padding: 6px 0;
}
.reviews-note a:hover { color: var(--accent-hi); border-color: var(--accent-hi); }

/* --------------------------------------------------------------------------
   DISTRIBUTORS
   -------------------------------------------------------------------------- */

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
}
.vendor-cell {
  display: grid; place-items: center;
  min-height: 108px;
  padding: 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .3s var(--ease);
}
.vendor-cell:nth-child(5n) { border-right: 0; }
.vendor-cell:nth-child(n+6) { border-bottom: 0; }
.vendor-cell:hover { background: var(--bg-3); }
.vendor-logo {
  max-width: 130px; max-height: 42px; width: auto; height: auto;
  opacity: .5; filter: grayscale(1);
  transition: opacity .34s var(--ease), filter .34s var(--ease);
}
.vendor-cell:hover .vendor-logo { opacity: 1; filter: grayscale(0); }
.vendor-word {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--bone-3); text-align: center; line-height: 1.5;
  transition: color .34s var(--ease);
}
.vendor-cell:hover .vendor-word { color: var(--bone); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-links { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  transition: color .26s var(--ease), padding-left .3s var(--ease);
}
a.contact-link:hover { color: var(--accent-hi); padding-left: 6px; }
.contact-link i.ic { font-size: 1.2rem; color: var(--bone-3); flex: none; transition: color .26s var(--ease); }
a.contact-link:hover i.ic { color: var(--accent-hi); }

.contact-legal { margin-top: 24px; color: var(--bone-3); font-size: .78rem; line-height: 1.62; max-width: 52ch; }

.contact-form {
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background: var(--bg-2);
  padding: clamp(22px, 3.4vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-1);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3);
}
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: .98rem;
  background: var(--bg); color: var(--bone);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  min-height: 48px;
  transition: border-color .24s var(--ease), background .24s var(--ease);
  width: 100%;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: var(--bg-3);
}
.field input::placeholder, .field textarea::placeholder { color: var(--bone-3); }
.contact-form .btn { min-height: 52px; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding: clamp(40px, 6vh, 68px) 0 30px; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  padding-bottom: 30px; border-bottom: 1px solid var(--rule);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 130px; }
.footer-col .mono { color: var(--bone-3); font-size: .7rem; margin-bottom: 3px; }
.footer-col a {
  font-size: .9rem; color: var(--bone-2);
  padding: 6px 0; min-height: 34px; display: flex; align-items: center;
  transition: color .24s var(--ease);
}
.footer-col a:hover { color: var(--accent-hi); }
.footer-col > span:not(.mono) { font-size: .9rem; color: var(--bone-2); padding: 6px 0; }

.footer-bottom {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--bone-3); font-size: .8rem;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--rule-2); border-radius: var(--r-sm);
  font-size: 1.1rem; color: var(--bone-2);
  transition: color .26s var(--ease), border-color .26s var(--ease), background .26s var(--ease);
}
.footer-social a:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   SHOP PAGES
   -------------------------------------------------------------------------- */

.page-head {
  padding: calc(var(--nav-h) + clamp(38px, 7vh, 76px)) 0 clamp(28px, 5vh, 52px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 60% 100% at 82% 0%, rgba(206,171,107,.11) 0%, rgba(206,171,107,0) 70%),
    var(--bg-2);
}
.crumbs { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.crumbs a { padding: 8px 0; display: inline-flex; align-items: center; transition: color .24s var(--ease); }
.crumbs a:hover { color: var(--accent-hi); }
.crumbs i { font-size: .8rem; }

.page-head-main {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
}
.page-head h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.page-head-main p { color: var(--bone-2); font-size: 1rem; line-height: 1.6; }
.page-head-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.sample-note {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 22px; padding: 13px 16px;
  border: 1px solid rgba(206,171,107,.3);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sm);
  background: rgba(206,171,107,.06);
  color: var(--bone-2);
  font-size: .84rem; line-height: 1.55;
  max-width: 74ch;
}
.sample-note i { color: var(--accent); font-size: 1.05rem; flex: none; margin-top: 1px; }
.sample-note a {
  color: var(--bone);
  border-bottom: 1px solid var(--rule-2);
  display: inline-block; padding: 5px 0;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}
.sample-note a:hover { color: var(--accent-hi); border-color: var(--accent-hi); }

/* filter tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: clamp(22px, 4vh, 38px); }
.tab {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 0 16px; min-height: 42px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule-2); border-radius: var(--r-sm);
  background: transparent; color: var(--bone-2);
  cursor: pointer;
  transition: background .26s var(--ease), color .26s var(--ease), border-color .26s var(--ease);
}
.tab:hover { border-color: var(--bone-3); color: var(--bone); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab .tab-n { opacity: .6; font-variant-numeric: tabular-nums; }

/* listing cards */
.listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.listing-group[hidden] { display: none; }

.listing {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .34s var(--ease), background .3s var(--ease);
}
.listing:hover { border-color: var(--rule-2); background: var(--bg-3); transform: translateY(-3px); }

/* product shot, vendor supplied. Light plate against the dark card, hairline underneath. */
.listing-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: #E6E3DC;
}
.listing-shot img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.listing.has-shot .listing-top { padding-top: 16px; }

.listing-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 18px 20px 0;
}
.listing-brand { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.listing-idx { font-family: var(--mono); font-size: .7rem; color: var(--bone-3); font-variant-numeric: tabular-nums; }

.listing h3 { padding: 8px 20px 0; font-size: clamp(1.16rem, 1.9vw, 1.42rem); }

.listing-cal {
  margin: 12px 20px 0;
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em;
  color: var(--bone);
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  background: rgba(230,228,222,.05);
}

.listing-specs { list-style: none; margin: 16px 0 0; padding: 0 20px; display: flex; flex-direction: column; gap: 7px; }
.listing-specs li {
  display: grid; grid-template-columns: 14px 1fr; gap: 9px;
  font-size: .87rem; color: var(--bone-2); line-height: 1.5;
}
.listing-specs li::before {
  content: '';
  width: 10px; height: 1px;
  background: var(--bone-3);
  margin-top: .72em;
}

.listing-note { padding: 14px 20px 0; font-size: .84rem; color: var(--bone-3); font-style: italic; line-height: 1.52; }

.listing-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px 20px;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
  background: rgba(20,20,20,.34);
}
.listing-price { display: flex; align-items: baseline; gap: 8px; }
.listing-price .amt {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.listing-price .unit { font-family: var(--mono); font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; color: var(--bone-3); }
.listing-foot .btn { min-height: 42px; padding: 0 16px; font-size: .69rem; }

/* The owner's own words. Used once, on the custom build page, so it keeps its
   weight; a site of pull-quotes is a site of none. */
.pullquote {
  margin: 0 0 clamp(28px, 5vh, 52px);
  padding: clamp(22px, 4vw, 40px) 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  position: relative;
}
.pullquote blockquote {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 5vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  color: var(--accent);
  text-wrap: balance;
}
.pullquote::before {
  content: '';
  position: absolute; left: 0; top: -1px;
  width: 64px; height: 1px;
  background: var(--accent);
}

/* custom build steps */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.step {
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.step:hover { border-color: var(--rule-2); background: var(--bg-3); }
.step-n {
  font-family: var(--display); font-weight: 600;
  font-size: 3.1rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-2);
  letter-spacing: -.03em;
}
.step h3 { margin: 16px 0 10px; }
.step p { color: var(--bone-2); font-size: .93rem; line-height: 1.58; }

.custom-cta {
  margin-top: 14px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background:
    radial-gradient(ellipse 60% 130% at 12% 50%, rgba(206,171,107,.14) 0%, rgba(206,171,107,0) 66%),
    var(--bg-3);
  padding: clamp(26px, 4vw, 44px);
}
.custom-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.custom-cta p { color: var(--bone-2); margin-top: 14px; max-width: 60ch; line-height: 1.62; }
.custom-need {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.custom-need li {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  color: var(--bone);
  background: rgba(230,228,222,.05);
}
.custom-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.custom-actions .btn { min-height: 52px; }

/* --------------------------------------------------------------------------
   REVEAL
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }
[data-reveal][data-delay="4"] { transition-delay: .28s; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .vendor-grid { grid-template-columns: repeat(4, 1fr); }
  .vendor-cell:nth-child(5n) { border-right: 1px solid var(--rule); }
  .vendor-cell:nth-child(4n) { border-right: 0; }
  .vendor-cell:nth-child(n+6) { border-bottom: 1px solid var(--rule); }
  .vendor-cell:nth-child(n+9) { border-bottom: 0; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .lic-grid, .contact-grid, .pricematch, .page-head-main { grid-template-columns: 1fr; }
  .lic-meta { align-items: flex-start; }

  .shop-grid { grid-template-columns: 1fr; }
  .shop-cell, .shop-cell:nth-child(1), .shop-cell:nth-child(2) { grid-column: span 1; min-height: 0; gap: 22px; }

  .listings, .steps { grid-template-columns: 1fr; }
  .reviews-board { grid-template-columns: 1fr; gap: 40px; }
  .pinned:nth-child(1) .pin, .pinned:nth-child(2) .pin { left: 50%; }

  .board-row { grid-template-columns: 34px minmax(0, 1fr) auto 24px; gap: 12px; min-height: 58px; }
  .board-row .b-desc { display: none; }
}

@media (max-width: 720px) {
  :root { --nav-h: 66px; }

  /* a touch more air on the micro-labels at phone size */
  .mono, .eyebrow { font-size: .75rem; }
  .chip { font-size: .72rem; padding: 6px 10px; }
  .btn { font-size: .74rem; }

  .hero-inner { min-height: 0; padding: clamp(34px, 8vh, 60px) 0 30px; gap: 20px; }
  .hero-head { max-width: none; }
  .hero-sub { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }

  .hero-grid { background-size: 62px 62px; }

  .rail-card, .rail-card.wide { width: 82vw; }
  .rail-card-frame { height: 288px; }

  .ledger-item { grid-template-columns: 32px 1fr; gap: 12px 14px; }
  .ledger-item dd { grid-column: 2; margin-top: 6px; }

  .field-row { grid-template-columns: 1fr; }

  .vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .vendor-cell { min-height: 92px; }
  .vendor-cell:nth-child(4n), .vendor-cell:nth-child(5n) { border-right: 1px solid var(--rule); }
  .vendor-cell:nth-child(2n) { border-right: 0; }
  .vendor-cell:nth-child(n+9) { border-bottom: 1px solid var(--rule); }

  .board-head { padding: 11px 14px; }
  .board-head .mono { font-size: .7rem; letter-spacing: .01em; }

  /* Stack the name over its status so the phone keeps the stock information
     that the desktop row shows in its own column. */
  .board-row {
    padding: 14px;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    grid-template-areas:
      "idx  name  arrow"
      ".    chip  arrow";
    gap: 7px 11px;
    min-height: 0;
  }
  .board-row .b-idx   { grid-area: idx; align-self: start; padding-top: 3px; }
  .board-row .b-name  { grid-area: name; white-space: normal; font-size: 1.02rem; }
  .board-row .chip    { grid-area: chip; justify-self: start; }
  .board-row .b-arrow { grid-area: arrow; align-self: center; }
  .board-row .b-desc  { display: none; }

  .pinned.is-long .pinned-inner { max-height: 360px; }

  .listing-top, .listing h3, .listing-specs, .listing-note { padding-inline: 16px; }
  .listing-cal { margin-inline: 16px; }
  .listing-foot { padding: 16px; }

  .footer-top { flex-direction: column; }
  .footer-nav { gap: 24px; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .flip-slot::after { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   COMMERCE — cart button, product page, drawer, cart page
   -------------------------------------------------------------------------- */

/* the label is a <span> here because the <label> wraps the select, so that
   tapping the word focuses the control */
.field-label {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3);
}

/* --- nav cart ------------------------------------------------------------- */
.nav-cart {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--rule-2); border-radius: var(--r-sm);
  background: transparent; color: var(--bone); cursor: pointer;
  transition: border-color .28s var(--ease), background .28s var(--ease);
}
.nav-cart:hover { border-color: var(--accent); background: var(--accent-dim); }
.nav-cart i { font-size: 1.15rem; }
.cart-badge {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cart-badge[hidden] { display: none; }
.mobile-menu .cart-badge { position: static; margin-left: 8px; }

/* --- listing card: "From $700" -------------------------------------------- */
.listing-price .amt-from {
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3);
  margin-right: 2px;
}

/* --- product page --------------------------------------------------------- */
.page-head-tight { padding-bottom: 0; border-bottom: 0; }
.page-head-tight .page-head-main { margin-top: 22px; }
.sec-tight { padding-top: clamp(24px, 4vh, 40px); }

.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 52px); align-items: start; }

.pdp-main {
  aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: #E6E3DC;
}
.pdp-main img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pdp-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumbs[hidden] { display: none; }
.thumb {
  width: 74px; height: 74px; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: #E6E3DC;
  transition: border-color .22s var(--ease), opacity .22s var(--ease);
  opacity: .72;
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; border-color: var(--bone-3); }
.thumb.is-on { opacity: 1; border-color: var(--accent); }

.pdp-buy { display: flex; flex-direction: column; gap: 14px; }
.pdp-buy h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.08; margin: 0; }
.pdp-buy .listing-specs { margin: 0; }
.pdp-buy .listing-note { margin: 0; }

.pdp-options { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.pdp-options:empty { display: none; }
/* the surcharge is inside the option text, so it must not be clipped */
.pdp-options select { text-overflow: ellipsis; }
.field.missing select { border-color: var(--accent); background: var(--accent-dim); }

.pdp-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 18px; margin-top: 4px;
  border-top: 1px solid var(--rule);
}
.pdp-price { display: flex; flex-direction: column; gap: 3px; }
.pdp-price b {
  font-family: var(--display); font-weight: 600; font-size: 1.85rem;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1;
}
.pdp-price-sub {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bone-3); min-height: 1em;
}
.pdp-foot .btn { min-height: 52px; }
.pdp-foot .btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }

.pdp-fulfil, .pdp-ask {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .88rem; line-height: 1.55; color: var(--bone-2); margin: 0;
}
.pdp-fulfil {
  padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--bg-2);
}
.pdp-fulfil i { color: var(--accent); font-size: 1.05rem; flex: none; margin-top: 1px; }
.pdp-ask { font-size: .84rem; color: var(--bone-3); }
.pdp-ask a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

/* --- cart lines, shared by the drawer and the cart page ------------------- */
.cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cart-line {
  display: grid; grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.cart-line-shot {
  width: 74px; height: 74px; overflow: hidden; display: block;
  border: 1px solid var(--rule); border-radius: var(--r-sm); background: #E6E3DC;
}
.cart-line-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-line-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cart-line-name { font-weight: 700; line-height: 1.25; }
.cart-line-name:hover { color: var(--accent-hi); }
.cart-line-opts {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--bone-3);
}
.cart-line-opts b { color: var(--bone-2); font-weight: 600; }
.cart-line-price { font-size: .9rem; font-variant-numeric: tabular-nums; }
.cart-line-price span { color: var(--bone-3); font-size: .8rem; }
.cart-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--rule-2); border-radius: var(--r-sm); overflow: hidden;
}
.qty button {
  width: 32px; height: 34px; border: 0; background: transparent;
  color: var(--bone); cursor: pointer; font-size: 1rem; line-height: 1;
  transition: background .2s var(--ease);
}
.qty button:hover { background: var(--bg-4); }
.qty-n {
  min-width: 30px; text-align: center;
  font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums;
}
.cart-line-x {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--bone-3);
  transition: color .2s var(--ease);
}
.cart-line-x:hover { color: var(--accent-hi); }

.cart-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.cart-total span {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--bone-3);
}
.cart-total b {
  font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}

/* --- drawer --------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-scrim {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .26s var(--ease);
}
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--rule);
  transform: translateX(100%); transition: transform .26s var(--ease);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; border-bottom: 1px solid var(--rule);
}
.drawer-head h2 { font-size: 1.15rem; margin: 0; display: flex; align-items: baseline; gap: 10px; }
.drawer-head .mono { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.drawer-x {
  border: 0; background: transparent; color: var(--bone-2); cursor: pointer;
  font-size: 1.25rem; line-height: 1; padding: 4px;
}
.drawer-x:hover { color: var(--bone); }
.drawer .cart-lines { flex: 1; overflow-y: auto; padding: 0 22px; }
.drawer-empty { padding: 30px 22px; color: var(--bone-3); font-size: .92rem; }
.drawer-empty[hidden] { display: none; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.drawer-foot[hidden] { display: none; }
.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .drawer-scrim, .drawer-panel { transition: none; }
}

/* --- cart page ------------------------------------------------------------ */
.cart-page { max-width: 780px; }
.cart-empty { color: var(--bone-3); font-size: 1rem; }
.cart-empty[hidden] { display: none; }
.cart-empty a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.cart-lines-page .cart-line:first-child { border-top: 1px solid var(--rule); }
.cart-checkout { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.cart-checkout[hidden] { display: none; }
.cart-note {
  font-size: .88rem; line-height: 1.6; color: var(--bone-2); margin: 0;
  padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--bg-2);
}
.cart-note-nfa { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; }
.cart-note-nfa i { color: var(--accent); font-size: 1.05rem; flex: none; margin-top: 1px; }
.cart-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cart-actions .btn { min-height: 50px; }
.cart-actions[hidden] { display: none; }

/* --- checkout: who the order is from -------------------------------------
   No processor yet, so the last step is not a payment sheet, it is the shop
   finding out who to call back. Same panel treatment as the contact form so
   it reads as the one form on the site, not a bolt-on. */
.order-form,
.order-sent {
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background: var(--bg-2);
  padding: clamp(20px, 3.2vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-1);
}
.order-form[hidden], .order-sent[hidden] { display: none; }

.order-form-head { display: flex; flex-direction: column; gap: 7px; }
.order-form-head h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.order-form-head p { font-size: .9rem; line-height: 1.6; color: var(--bone-2); }

.field-opt {
  display: inline-block;
  font-size: .7rem; font-weight: 500; letter-spacing: .06em;
  color: var(--bone-3);
  border: 1px solid var(--rule-2); border-radius: 999px;
  padding: 1px 8px; margin-left: 9px;
}

.order-form .btn[type="submit"] { min-height: 54px; margin-top: 4px; }
.order-form-legal { font-size: .8rem; line-height: 1.6; color: var(--bone-3); }

.order-sent-head { display: flex; gap: 13px; align-items: flex-start; }
.order-sent-head i { color: var(--ok); font-size: 1.6rem; flex: none; margin-top: -2px; }
.order-sent-head h2 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
.order-sent-head p { font-size: .92rem; line-height: 1.6; color: var(--bone-2); margin-top: 6px; }

.order-sent-label { font-size: .84rem; line-height: 1.6; color: var(--bone-3); }
.order-sent-copy {
  margin: 0; max-height: 240px; overflow: auto;
  padding: 14px 16px;
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--bg);
  font-family: var(--mono); font-size: .76rem; line-height: 1.75;
  color: var(--bone-2);
  white-space: pre-wrap; word-break: break-word;
  -webkit-user-select: all; user-select: all;
}
.cart-actions .btn.is-done { border-color: var(--ok); color: var(--ok); }

@media (max-width: 560px) {
  .order-form .field-row { grid-template-columns: 1fr; }
  .order-sent .cart-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-main { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 60px minmax(0, 1fr); }
  .cart-line-shot { width: 60px; height: 60px; }
  .cart-line-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .pdp-foot { flex-direction: column; align-items: stretch; }
  .pdp-foot .btn { width: 100%; }
  .cart-actions .btn { width: 100%; }
}

/* a long product name must be allowed to drop to its own line rather than be
   squeezed into a column by the crumbs above it */
.crumbs { flex-wrap: wrap; row-gap: 0; }

@media (max-width: 960px) {
  /* .nav-cta is hidden at this width, but the cart has to stay reachable --
     a bag you cannot see is a bag you forget you filled */
  .nav-cta { display: flex; margin-left: auto; }
  .nav-cta > .btn { display: none; }
  .nav-toggle { margin-left: 10px; }
}

/* --- department chooser (suppressors: titanium / stainless) --------------- */
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.group-cell {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--bg-2); overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.group-cell:hover { border-color: var(--accent); transform: translateY(-3px); }
.group-cell-shot { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--rule); background: #E6E3DC; }
.group-cell-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.group-cell:hover .group-cell-shot img { transform: scale(1.03); }
.group-cell-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.group-cell-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0; line-height: 1.1; }
.group-cell-body p { margin: 0; color: var(--bone-2); font-size: .94rem; line-height: 1.55; }
.group-cell .shop-cell-go { margin-top: 6px; }
.group-back { margin-top: 26px; }

/* --- shop index: departments as tiles you tap -----------------------------
   Two up on a phone, three on a desktop. The name sits on the picture rather
   than in a block beneath it: six paragraphs is four screens of scrolling to
   answer a question that is really just "which one of these do I want". */
.dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.dept-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--bg-2);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.dept-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.dept-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.dept-tile:hover img { transform: scale(1.05); }

.dept-tile-cap {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 3px;
  padding: 46px 14px 13px;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,.55) 42%, rgba(20,20,20,.9) 100%);
}
.dept-tile-status {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-hi);
}
.dept-tile-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: -.02em; line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}

/* The company name is too long to sit beside the gold rule at phone widths.
   Dropping the rule gives it the full column, so it holds one line and its
   left edge lands flush with the headline underneath it. */
@media (max-width: 640px) {
  .hero .eyebrow::before { display: none; }
}

@media (max-width: 640px) {
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dept-tile-cap { padding: 38px 11px 11px; }
  .dept-tile-name { font-size: 1rem; }
  .dept-tile-status { font-size: .7rem; letter-spacing: .06em; }
}



/* Ammunition has no photograph in the owner's material and this site uses no
   stock imagery, so that cell states the department rather than illustrating
   it: name a caliber and we bring it in. */
.group-cell-shot.is-type {
  display: grid; place-items: center;
  padding: 22px 20px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(206,171,107,.1) 0%, rgba(206,171,107,0) 70%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
}
.cover-calibers {
  display: flex; flex-wrap: wrap; gap: 7px 12px;
  align-items: baseline; justify-content: center; text-align: center;
}
.cover-calibers span {
  font-family: var(--mono);
  font-size: clamp(.74rem, 1.5vw, .92rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  white-space: nowrap;
}
.cover-calibers em {
  flex-basis: 100%;
  font-style: normal;
  font-size: .82rem;
  color: var(--bone-3);
  margin-top: 6px;
}
.group-cell:hover .group-cell-shot.is-type { background:
  radial-gradient(ellipse 90% 70% at 50% 0%, rgba(206,171,107,.16) 0%, rgba(206,171,107,0) 70%),
  linear-gradient(160deg, var(--bg-3), var(--bg-2)); }

@media (max-width: 1000px) { .shop-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .shop-covers { grid-template-columns: 1fr; } }


@media (max-width: 760px) {
  .group-grid { grid-template-columns: 1fr; }
}
