/* ==========================================================================
 * Landrum Electronics LLC — 2026 Top-Honors Architectural Hardware System
 * Self-hosted Latin variable fonts + 3 live switchable Visual Editions:
 *   01 hybrid     (Hadrian x Impulse Labs: Dark Steel Stage + Warm Limestone Catalog)
 *   02 obsidian   (Anduril x Serve Robotics: Full Matte Obsidian & Titanium Foundry)
 *   03 editorial  (Daylight x Teenage Engineering: Warm Alabaster Museum-Mat Studio)
 * ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-wipe: cubic-bezier(0.625, 0.05, 0, 1);
  --radius: 4px;
  --radius-lg: 8px;

  /* Shared Accents & Status */
  --copper: #D95322;
  --copper-hover: #EE6330;
  --copper-glow: rgba(217, 83, 34, 0.22);
  --brass: #C99738;
  --brass-bright: #E1B354;
  --led-green: #4ADE80;
  --led-cyan: #61E5C0;
}

::view-transition,
::view-transition-group(*),
::view-transition-image-pair(*),
::view-transition-old(*),
::view-transition-new(*) {
  pointer-events: none;
}

/* EDITION 01: Foundry Hybrid (Default — Dark Anodized Stage + Warm Limestone Catalog) */
html[data-edition="hybrid"] {
  --chrome-bg: rgba(11, 14, 19, 0.94);
  --chrome-top: #07090D;
  --chrome-rule: #222934;
  --chrome-ink: #F3EFE7;
  --chrome-muted: #9EA6B2;

  --stage-bg: #0B0E13;
  --stage-surface: #11161F;
  --stage-card: #151C26;
  --stage-card-hover: #1A2330;
  --stage-rule: #242D3A;
  --stage-ink: #F5F2EB;
  --stage-muted: #A9B1BD;
  --stage-grid-line: rgba(245, 242, 235, 0.055);
  --stage-glow: rgba(217, 83, 34, 0.14);
  --stage-mat: radial-gradient(circle at 50% 44%, rgba(58, 72, 92, 0.42) 0%, rgba(17, 22, 31, 0.96) 72%);

  --bg-canvas: #EFECE4;
  --bg-recessed: #E3DFD4;
  --surface: #FAF8F3;
  --surface-alt: #F2EFE7;
  --ink: #141619;
  --ink-muted: #494D54;
  --ink-subtle: #666B73;
  --rule: #D0CAC0;
  --rule-strong: #B4ACA0;
  --card-media-bg: #171B22;
  --price-ink: #A83A14;
  --shadow-card: 0 12px 30px -16px rgba(15, 20, 28, 0.22);
}

/* EDITION 02: Obsidian Dark Foundry (Full Matte Obsidian & Titanium Telemetry) */
html[data-edition="obsidian"] {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #2A3547 #090C10;
  --chrome-bg: rgba(8, 10, 14, 0.95);
  --chrome-top: #040608;
  --chrome-rule: #1E2530;
  --chrome-ink: #F3F5F8;
  --chrome-muted: #93A0B0;

  --stage-bg: #080A0E;
  --stage-surface: #0F131A;
  --stage-card: #141A23;
  --stage-card-hover: #19212D;
  --stage-rule: #222B38;
  --stage-ink: #F3F5F8;
  --stage-muted: #9BA7B7;
  --stage-grid-line: rgba(97, 229, 192, 0.05);
  --stage-glow: rgba(97, 229, 192, 0.12);
  --stage-mat: radial-gradient(circle at 50% 44%, rgba(36, 52, 66, 0.48) 0%, rgba(15, 19, 26, 0.98) 74%);

  --bg-canvas: #090C10;
  --bg-recessed: #10151D;
  --surface: #131922;
  --surface-alt: #18202B;
  --ink: #F1F4F8;
  --ink-muted: #A9B4C2;
  --ink-subtle: #7B8798;
  --rule: #232C3A;
  --rule-strong: #374559;
  --card-media-bg: #0C1016;
  --price-ink: #FF8858;
  --shadow-card: 0 18px 36px -18px rgba(0, 0, 0, 0.65);
}

/* EDITION 03: Warm Editorial Studio (Alabaster Architectural Museum-Mat) */
html[data-edition="editorial"] {
  --chrome-bg: rgba(246, 243, 236, 0.95);
  --chrome-top: #EAE4D7;
  --chrome-rule: #D3CBC0;
  --chrome-ink: #141412;
  --chrome-muted: #5A574E;

  --stage-bg: #F6F3EC;
  --stage-surface: #EFEAE0;
  --stage-card: #FFFFFF;
  --stage-card-hover: #FAF8F4;
  --stage-rule: #D5CDC0;
  --stage-ink: #141412;
  --stage-muted: #524F47;
  --stage-grid-line: rgba(20, 20, 18, 0.055);
  --stage-glow: rgba(217, 83, 34, 0.09);
  --stage-mat: radial-gradient(circle at 50% 46%, #FBF9F4 0%, #E7E1D4 78%);

  --bg-canvas: #F6F3EC;
  --bg-recessed: #EAE4D7;
  --surface: #FFFFFF;
  --surface-alt: #F3EFE7;
  --ink: #141412;
  --ink-muted: #504D45;
  --ink-subtle: #6E6A60;
  --rule: #D5CDC0;
  --rule-strong: #B7AE9E;
  --card-media-bg: #EAE4D7;
  --price-ink: #BD3E12;
  --shadow-card: 0 10px 26px -16px rgba(20, 20, 18, 0.14);
}

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

[hidden] {
  display: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 190ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-edition="obsidian"] ::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-edition="obsidian"] ::-webkit-scrollbar-track { background: #090C10; }
html[data-edition="obsidian"] ::-webkit-scrollbar-thumb { background: #263142; border-radius: 5px; border: 2px solid #090C10; }
html[data-edition="obsidian"] ::-webkit-scrollbar-thumb:hover { background: #374760; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 260ms var(--ease-expo), color 260ms var(--ease-expo);
}

a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Top Telemetry Strip & Edition Switcher */
.spec-strip {
  background: var(--chrome-top);
  color: var(--chrome-muted);
  border-bottom: 1px solid var(--chrome-rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.spec-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.spec-telemetry-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-telemetry-group strong {
  color: var(--chrome-ink);
  font-weight: 700;
}

.spec-contact-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.spec-contact-link {
  color: var(--chrome-ink);
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms var(--ease-expo);
}

.spec-contact-link:hover {
  color: var(--copper-hover);
  text-decoration: underline;
}

.edition-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.edition-lbl {
  color: var(--chrome-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-right: 4px;
}

.edition-btn {
  appearance: none;
  border: 1px solid var(--chrome-rule);
  background: transparent;
  color: var(--chrome-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms var(--ease-expo);
}

.edition-btn:hover {
  color: var(--chrome-ink);
  border-color: var(--brass-bright);
}

.edition-btn.active {
  background: var(--copper);
  border-color: var(--copper);
  color: #FAF7F2;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--chrome-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--chrome-rule);
  color: var(--chrome-ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brass);
  background: rgba(217, 83, 34, 0.1);
  color: var(--chrome-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--chrome-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 1;
}

.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--chrome-muted);
  padding: 21px 10px;
  border-bottom: 2px solid transparent;
  transition: color 180ms var(--ease-expo), border-color 180ms var(--ease-expo);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--chrome-ink);
}

.nav-link.active {
  color: var(--chrome-ink);
  border-bottom-color: var(--copper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cmdk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--chrome-rule);
  border-radius: var(--radius);
  background: rgba(127, 134, 146, 0.1);
  color: var(--chrome-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 180ms var(--ease-expo), color 180ms var(--ease-expo);
}

.btn-cmdk:hover {
  color: var(--chrome-ink);
  border-color: var(--brass);
}

.btn-cmdk kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border: 1px solid var(--chrome-rule);
  border-radius: 3px;
  color: var(--chrome-ink);
}

.btn-quote-basket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--copper);
  color: #FAF7F2;
  border: 1px solid var(--copper-hover);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease-expo), background 180ms var(--ease-expo);
}

.btn-quote-basket:hover {
  background: var(--copper-hover);
  transform: translateY(-1px);
}

.quote-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0B0E13;
  color: #F5F2EB;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-grid;
  place-items: center;
}

/* Shared Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 180ms var(--ease-expo);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--copper);
  color: #FAF7F2;
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-outline:hover {
  border-color: var(--copper);
}

.btn-stage-outline {
  background: rgba(127, 134, 146, 0.08);
  color: var(--stage-ink);
  border-color: var(--stage-rule);
}

.btn-stage-outline:hover {
  border-color: var(--brass);
  background: rgba(127, 134, 146, 0.16);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--rule);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
}

.stage-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--brass);
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--rule);
  background: var(--surface-alt);
  color: var(--ink-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.status-stage {
  border-color: var(--stage-rule);
  background: rgba(127, 134, 146, 0.12);
  color: var(--stage-muted);
}

.status-new {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(29, 36, 32, 0.85);
  color: #DDF7E6;
}

html[data-edition="editorial"] .status-new {
  background: #EAF5EE;
  border-color: #9AC5A8;
  color: #164C2A;
}

.status-asis {
  border-color: rgba(201, 151, 56, 0.45);
  background: rgba(201, 151, 56, 0.12);
  color: var(--ink);
}

html[data-edition="obsidian"] .status-asis {
  color: #F2D399;
}

.status-pickup {
  border-color: var(--brass);
  color: var(--ink);
}

.led-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.75);
}

/* ==========================================================================
 * 0. STOREFRONT COMMAND BAR & VISUAL EQUIPMENT DEPARTMENT DIRECTORY (#/)
 * ========================================================================== */
.home-directory-band {
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-bottom: 1px solid var(--stage-rule);
  padding: 24px 0 30px;
}

.home-command-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.home-command-text {
  min-width: 0;
}

.home-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.75vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  margin: 5px 0 6px;
  color: var(--stage-ink);
}

.home-subline {
  margin: 0;
  font-size: 14px;
  color: var(--stage-muted);
  max-width: 66ch;
}

.home-command-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.home-stat-pill {
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius);
  background: var(--stage-surface);
  padding: 8px 13px;
  display: flex;
  flex-direction: column;
  min-width: 112px;
}

.home-stat-pill strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--brass-bright);
  line-height: 1.15;
}

html[data-edition="editorial"] .home-stat-pill strong {
  color: var(--price-ink);
}

.home-stat-pill span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stage-muted);
  margin-top: 2px;
}

.home-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.home-search-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.home-search-bar .home-search-wrap svg {
  color: var(--stage-muted);
}

.home-search-bar .home-search-wrap input {
  background: var(--stage-card);
  border-color: var(--stage-rule);
  color: var(--stage-ink);
  padding: 8px 14px 8px 40px;
}

.home-search-bar .home-search-wrap input::placeholder {
  color: var(--stage-muted);
}

.home-search-submit {
  min-width: 92px;
}

.home-contact-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 10px;
  -webkit-overflow-scrolling: touch;
}

.home-contact-strip::-webkit-scrollbar {
  display: none;
}

.home-contact-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--stage-rule);
  border-radius: 4px;
  background: var(--stage-surface);
  color: var(--stage-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms var(--ease-expo), background 160ms var(--ease-expo);
}

.home-contact-pill:hover {
  border-color: var(--copper);
  background: var(--stage-card-hover);
}

.home-contact-pill-accent {
  border-color: var(--brass);
  color: var(--brass-bright);
}

html[data-edition="editorial"] .home-contact-pill-accent {
  color: var(--price-ink);
}

.home-quick-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 14px;
  -webkit-overflow-scrolling: touch;
}

.home-quick-pills::-webkit-scrollbar {
  display: none;
}

.quick-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--stage-rule);
  border-radius: 999px;
  background: var(--stage-surface);
  color: var(--stage-ink);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), background 160ms var(--ease-expo);
}

.quick-pill:hover {
  border-color: var(--brass);
  background: var(--stage-card-hover);
}

.quick-pill-strong {
  border-color: var(--copper);
  background: rgba(217, 83, 34, 0.16);
}

.dept-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dept-browse-all-link,
.spotlight-all-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brass-bright);
  text-decoration: none;
  white-space: nowrap;
}

html[data-edition="editorial"] .dept-browse-all-link,
html[data-edition="editorial"] .spotlight-all-link {
  color: var(--price-ink);
}

.dept-browse-all-link:hover,
.spotlight-all-link:hover {
  text-decoration: underline;
}

.dept-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dept-card {
  appearance: none;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius-lg);
  background: var(--stage-card);
  color: var(--stage-ink);
  padding: 12px;
  text-decoration: none;
  text-align: left;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 200ms var(--ease-expo), border-color 200ms var(--ease-expo), background 200ms var(--ease-expo);
}

.dept-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  background: var(--stage-card-hover);
}

.dept-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  border: 1px solid var(--stage-rule);
  background: var(--stage-mat);
  display: grid;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.dept-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dept-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dept-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--stage-ink);
}

.dept-sub {
  font-size: 11.5px;
  color: var(--stage-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dept-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 3px;
}

.dept-count-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--stage-rule);
  background: var(--stage-surface);
  color: var(--brass-bright);
  white-space: nowrap;
}

html[data-edition="editorial"] .dept-count-badge {
  color: var(--price-ink);
}

.dept-count-accent {
  border-color: var(--copper);
  background: rgba(217, 83, 34, 0.16);
}

.dept-go {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stage-muted);
}

.spotlight-section-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--stage-rule);
}

.home-logistics-band {
  padding: 32px 0 44px;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--rule);
}

.home-logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.logistics-pill-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.logistics-pill-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
}

.logistics-pill-card p {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.logistics-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--copper);
  text-decoration: none;
}

.catalog-crumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
 * 1. MONUMENTAL 2026 STUDIO HERO STAGE + INTERACTIVE HOTSPOT PINS
 * ========================================================================== */
.studio-hero-band {
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-bottom: 1px solid var(--stage-rule);
  position: relative;
  overflow: hidden;
  padding: 28px 0 36px;
}

.studio-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--stage-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--stage-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.studio-hero-band::after {
  content: "";
  position: absolute;
  top: -120px;
  right: 8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--stage-glow) 0%, transparent 65%);
  pointer-events: none;
}

.studio-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.studio-hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.65vw, 3.55rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.036em;
  margin: 0 0 14px;
  color: var(--stage-ink);
}

.hero-summary {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--stage-muted);
  max-width: 58ch;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--stage-rule);
  background: var(--stage-surface);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.telemetry-strip-light {
  border-color: var(--rule);
  background: var(--surface-alt);
}

.telemetry-cell {
  padding: 10px 12px;
  border-right: 1px solid var(--stage-rule);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-strip-light .telemetry-cell {
  border-right-color: var(--rule);
}

.telemetry-cell:last-child {
  border-right: none;
}

.telemetry-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stage-muted);
}

.telemetry-strip-light .telemetry-lbl {
  color: var(--ink-subtle);
}

.telemetry-val {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--stage-ink);
}

.telemetry-strip-light .telemetry-val {
  color: var(--ink);
}

.hero-ledger-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stage-rule);
}

.ask-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stage-muted);
}

.ask-figure {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  color: var(--brass-bright);
  line-height: 1.1;
  margin-top: 4px;
}

html[data-edition="editorial"] .ask-figure {
  color: var(--price-ink);
}

.ask-sub {
  display: block;
  font-size: 12.5px;
  color: var(--stage-muted);
  margin-top: 3px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Right Studio Isolation Stage + 1:1 Hotspot Coordinate Container */
.hero-stage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.studio-stage-card {
  position: relative;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius-lg);
  background: var(--stage-mat);
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.stage-hud-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--stage-muted);
  margin-bottom: 6px;
}

.stage-hud-top strong {
  color: var(--brass);
}

.stage-hud-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-zoom-pill {
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--stage-rule);
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.85);
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), background 160ms var(--ease-expo), color 160ms var(--ease-expo);
}

.hero-zoom-pill:hover {
  border-color: var(--copper);
  background: var(--copper);
  color: #FAF7F2;
}

/* Unified Floating Stage Prev/Next Arrows */
.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: rgba(11, 14, 19, 0.86);
  backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: transform 160ms var(--ease-expo), background 160ms var(--ease-expo), border-color 160ms var(--ease-expo);
}

.stage-arrow:hover,
.stage-arrow:focus-visible {
  background: var(--copper);
  border-color: #FAF7F2;
  transform: translateY(-50%) scale(1.06);
}

.stage-arrow[hidden] {
  display: none !important;
}

.stage-arrow-prev {
  left: 10px;
}

.stage-arrow-next {
  right: 10px;
}

.cutout-coord-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.cutout-floor-shadow {
  position: absolute;
  bottom: 4%;
  left: 16%;
  right: 16%;
  height: 11%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.56) 0%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

html[data-edition="editorial"] .cutout-floor-shadow {
  background: radial-gradient(ellipse at center, rgba(35, 32, 24, 0.24) 0%, transparent 72%);
}

.studio-cutout-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  transition: transform 380ms var(--ease-expo);
}

.studio-stage-card:hover .studio-cutout-img {
  transform: scale(1.018);
}

.studio-stage-card .studio-cutout-img {
  cursor: zoom-in;
}

/* Interactive Hardware Hotspot Pins */
.hotspot-pin-wrap {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
}

.hotspot-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FAF7F2;
  background: var(--copper);
  color: #FAF7F2;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(217, 83, 34, 0.28), 0 6px 14px rgba(0, 0, 0, 0.4);
  transition: transform 180ms var(--ease-expo), background 180ms var(--ease-expo);
}

.hotspot-pin:hover,
.hotspot-pin[aria-expanded="true"] {
  transform: scale(1.16);
  background: var(--brass-bright);
  color: #0B0E13;
}

.hotspot-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 245px;
  padding: 11px 13px;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: rgba(11, 14, 19, 0.96);
  backdrop-filter: blur(10px);
  color: #F5F2EB;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.52);
  z-index: 10;
  text-align: left;
}

.hotspot-pin-wrap.align-right .hotspot-popover {
  left: auto;
  right: 0;
}

.hotspot-pin-wrap.align-bottom .hotspot-popover {
  top: auto;
  bottom: calc(100% + 10px);
}

.hotspot-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brass-bright);
  text-transform: uppercase;
}

.hotspot-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  margin: 3px 0 4px;
}

.hotspot-detail {
  font-size: 12px;
  color: #B9C1CD;
  line-height: 1.4;
}

.stage-hud-foot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--stage-rule);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--stage-muted);
}

.stage-raw-link {
  color: var(--brass);
  text-decoration: none;
  font-weight: 700;
}

.stage-raw-link:hover {
  text-decoration: underline;
}

/* 5-Whale Hero Switcher Dock */
.hero-dock-shell {
  min-width: 0;
  max-width: 100%;
}

.strip-scroll-arrow.hero-dock-scroll-arrow {
  display: none;
}

.hero-dock-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.hero-dock-btn {
  border: 1px solid var(--stage-rule);
  background: var(--stage-surface);
  border-radius: var(--radius);
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--stage-muted);
  text-align: left;
  transition: all 180ms var(--ease-expo);
}

.hero-dock-btn:hover {
  border-color: var(--brass);
  color: var(--stage-ink);
}

.hero-dock-btn.active {
  border-color: var(--copper);
  background: var(--stage-card-hover);
  color: var(--stage-ink);
  box-shadow: inset 0 0 0 1px var(--copper);
}

.hero-dock-btn img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-dock-meta {
  min-width: 0;
}

.hero-dock-sku {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--brass);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dock-name {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
 * 2. ASYMMETRIC 9-WHALE ARCHITECTURAL BENTO GRID
 * ========================================================================== */
.bento-band {
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-bottom: 1px solid var(--stage-rule);
  padding: 36px 0 42px;
}

.bento-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}

.bento-card {
  position: relative;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius-lg);
  background: var(--stage-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--stage-ink);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 240ms var(--ease-expo), border-color 240ms var(--ease-expo), background 240ms var(--ease-expo);
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  background: var(--stage-card-hover);
}

.bento-card.span-6-tall { grid-column: span 6; grid-row: span 2; }
.bento-card.span-6-wide { grid-column: span 6; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }

.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.bento-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 150px;
  display: grid;
  place-items: center;
  background: var(--stage-mat);
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius);
  padding: 12px;
}

.bento-card.span-6-tall .bento-visual {
  min-height: 330px;
}

.bento-card.span-6-wide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 16px;
}

.bento-card.span-6-wide .bento-text-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.bento-visual img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.32));
  transition: transform 320ms var(--ease-expo);
}

.bento-card.span-6-tall .bento-visual img {
  max-height: 310px;
}

.bento-card:hover .bento-visual img {
  transform: scale(1.04);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card.span-6-tall .bento-card-title {
  font-size: 21px;
}

.bento-sub {
  font-size: 12.5px;
  color: var(--stage-muted);
  margin: 4px 0 0;
}

.bento-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--stage-rule);
}

.bento-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brass-bright);
}

html[data-edition="editorial"] .bento-price {
  color: var(--price-ink);
}

/* ==========================================================================
 * 3. ACTIVE INVENTORY CATALOG, HARMONIZED CARDS & HOVER SCRUBBING
 * ========================================================================== */
.catalog-band {
  padding: 36px 0 56px;
  scroll-margin-top: 84px;
}

.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  background: rgba(217, 83, 34, 0.14);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.section-meta {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.view-mode-switch {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.view-mode-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  padding: 8px 15px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.view-mode-btn.active {
  background: var(--ink);
  color: var(--surface);
}

/* Search & Sector Filter Panel */
.filter-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.search-input-wrap {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 13px;
  color: var(--ink-subtle);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  min-height: 44px;
  padding: 8px 46px 8px 40px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg-canvas);
  color: var(--ink);
  font-size: 14.5px;
}

.search-input-wrap input:focus {
  outline: 2px solid var(--copper-glow);
  border-color: var(--copper);
}

.search-kbd {
  position: absolute;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink-subtle);
  background: var(--surface);
}

.controls-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-select {
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg-canvas);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.check-pill {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg-canvas);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sector-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sector-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms var(--ease-expo);
}

.sector-tab:hover {
  border-color: var(--copper);
  color: var(--ink);
}

.sector-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.tab-cnt {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.8;
}

/* Catalog Grid & Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.equip-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-card);
  transition: transform 220ms var(--ease-expo), border-color 220ms var(--ease-expo), box-shadow 220ms var(--ease-expo);
}

.equip-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 16px 32px -16px rgba(217, 83, 34, 0.25);
}

.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--card-media-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.media-frame-link {
  display: block;
  width: 100%;
  height: 100%;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease-expo);
}

.media-frame.is-scrubbing img {
  object-fit: contain;
}

.card-zoom-btn {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 14, 19, 0.84);
  color: var(--brass-bright);
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), background 160ms var(--ease-expo), color 160ms var(--ease-expo);
}

.card-zoom-btn:hover {
  border-color: var(--copper);
  background: var(--copper);
  color: #FAF7F2;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(11, 14, 19, 0.86);
  color: #FAF7F2;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 160ms var(--ease-expo), background 160ms var(--ease-expo), border-color 160ms var(--ease-expo);
}

.card-arrow-prev {
  left: 8px;
}

.card-arrow-next {
  right: 8px;
}

.media-frame:hover .card-arrow,
.media-frame:focus-within .card-arrow {
  opacity: 1;
}

.card-arrow:hover {
  background: var(--copper);
  border-color: #FAF7F2;
}

@media (hover: none), (max-width: 820px) {
  .card-arrow {
    opacity: 0.92;
    width: 36px;
    height: 36px;
  }
}

.media-photo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(11, 14, 19, 0.84);
  color: #F5F2EB;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

/* Hover Photo-Scrubbing Progress Bar */
.scrub-segments {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 160ms var(--ease-expo);
  pointer-events: none;
}

.media-frame:hover .scrub-segments {
  opacity: 1;
}

.scrub-seg {
  flex: 1 1 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.34);
}

.scrub-seg.active {
  background: var(--copper-hover);
}

/* CAD Placeholder Plate when no photos exist */
.cad-plate {
  width: 100%;
  height: 100%;
  padding: 12px 14px;
  background: #12161D;
  color: #EAE4D7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cad-plate-top, .cad-plate-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #A6B0BE;
}

.plate-callout {
  color: var(--brass-bright);
}

.cad-plate-svg {
  flex: 1;
  display: grid;
  place-items: center;
}

.cad-plate-svg svg {
  width: 100%;
  max-height: 112px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card-meta-row .mono-tag {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title-link {
  text-decoration: none;
}

.card-title-link h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title-link:hover h3 {
  color: var(--copper);
}

.card-brand-model {
  font-size: 12.5px;
  color: var(--ink-subtle);
}

.card-specs-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-ledger {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.price-figure {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--price-ink);
  line-height: 1.1;
}

.price-detail {
  font-size: 11.5px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.card-btn-row {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Spec Table Mode */
.spec-table-wrap {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-strong);
  background: var(--surface-alt);
  color: var(--ink-muted);
}

.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}

.row-link {
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.row-link:hover {
  color: var(--copper);
}

.pagination-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ==========================================================================
 * 4. FACILITY HERO BANNERS & DETAIL MACHINE PAGES
 * ========================================================================== */
.facility-hero {
  position: relative;
  background: #0B0E13;
  color: #F5F2EB;
  border-bottom: 1px solid var(--chrome-rule);
  overflow: hidden;
  padding: 46px 0 42px;
  margin-bottom: 26px;
}

.facility-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.facility-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 16, 0.94) 0%, rgba(8, 11, 16, 0.78) 58%, rgba(8, 11, 16, 0.54) 100%);
}

.facility-hero-inner {
  position: relative;
  z-index: 1;
}

.facility-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 8px 0 12px;
  max-width: 24ch;
}

.facility-hero p {
  margin: 0;
  max-width: 70ch;
  color: #D2CEC5;
  font-size: 15px;
  line-height: 1.55;
}

.facility-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.view-banner {
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-bottom: 1px solid var(--stage-rule);
  padding: 34px 0 30px;
  margin-bottom: 26px;
}

.view-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
}

.view-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.view-banner p {
  margin: 0;
  color: var(--stage-muted);
  max-width: 72ch;
}

.pickup-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pickup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.terms-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 22px;
}

.terms-card h2 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 12px;
}

.terms-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
}

.terms-card li {
  margin-bottom: 8px;
}

/* Detail View */
.detail-band {
  padding: 24px 0 54px;
}

.breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.breadcrumb-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.breadcrumb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 22px;
}

.detail-gallery-col {
  background: var(--stage-surface);
  color: var(--stage-ink);
  border-right: 1px solid var(--rule);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.detail-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-mode-tabs {
  display: inline-flex;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-mode-btn {
  border: none;
  background: transparent;
  color: var(--stage-muted);
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.detail-mode-btn.active {
  background: var(--copper);
  color: #FAF7F2;
}

.detail-stage {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius);
  background: var(--stage-mat);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.detail-zoom-viewport {
  width: 100%;
  height: 100%;
  min-height: 360px;
  padding: 14px 48px 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
}

.detail-zoom-viewport.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.detail-zoom-viewport.is-dragging {
  cursor: grabbing;
}

.detail-zoom-target {
  width: 100%;
  display: grid;
  place-items: center;
  transform-origin: center center;
  transition: transform 140ms ease-out;
  will-change: transform;
}

.detail-zoom-viewport.is-dragging .detail-zoom-target {
  transition: none;
}

.detail-zoom-target > img,
.detail-stage > img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.detail-zoom-dock {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius);
  background: rgba(11, 14, 19, 0.90);
  border: 1px solid var(--stage-rule);
  backdrop-filter: blur(8px);
}

.zoom-dock-btn {
  min-height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: #F5F2EB;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.zoom-dock-btn:hover:not(:disabled) {
  background: var(--stage-card-hover);
  color: var(--brass-bright);
}

.zoom-dock-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.zoom-dock-pct {
  min-width: 48px;
}

.zoom-dock-expand {
  border-left: 1px solid var(--stage-rule);
  margin-left: 2px;
  padding-left: 10px;
}

.thumbs-strip-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.strip-scroll-arrow {
  width: 34px;
  height: 48px;
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius);
  background: var(--stage-card);
  color: var(--stage-ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), color 160ms var(--ease-expo), background 160ms var(--ease-expo);
}

.strip-scroll-arrow:hover {
  border-color: var(--copper);
  background: var(--stage-card-hover);
  color: var(--brass-bright);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 2px 0;
  min-width: 0;
}

.thumb-btn {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--stage-rule);
  border-radius: var(--radius);
  background: var(--stage-card);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.thumb-btn.active {
  border-color: var(--copper);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-info-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-info-col h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.detail-price-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.detail-price-box .ask-label,
.detail-price-box .ask-sub {
  color: var(--ink-subtle);
}

.detail-price-box .ask-figure {
  color: var(--price-ink);
}

.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-stepper button {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.qty-stepper input {
  width: 56px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--bg-canvas);
  color: var(--ink);
}

.detail-cta-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-direct-contact {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-alt);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brass);
}

.detail-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.verify-callout {
  padding: 12px 14px;
  border-left: 3px solid var(--brass);
  background: var(--surface-alt);
  font-size: 13px;
  color: var(--ink-muted);
}

.alloc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.alloc-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alloc-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
}

.alloc-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.detail-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.spec-sheet-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 18px;
}

.spec-sheet-panel h2 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 12px;
}

.kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.kv-table th, .kv-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.kv-table th {
  width: 40%;
  color: var(--ink-subtle);
  font-weight: 600;
}

.asis-notice {
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface-alt);
  font-size: 13px;
  color: var(--ink-muted);
}

.empty-state {
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 32px;
  text-align: center;
  color: var(--ink-muted);
}

/* ==========================================================================
 * 5. COMMAND PALETTE (CMD+K), QUOTE DRAWER, LIGHTBOX & FOOTER
 * ========================================================================== */
.cmdk-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: start center;
  padding: 72px 16px 24px;
}

.cmdk-dialog {
  width: min(680px, 100%);
  border: 1px solid var(--brass);
  border-radius: var(--radius-lg);
  background: #10141C;
  color: #F4F1E9;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.cmdk-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #242D3A;
}

.cmdk-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: #F4F1E9;
  font-size: 15.5px;
  outline: none;
}

.cmdk-results {
  max-height: 390px;
  overflow-y: auto;
  padding: 8px;
}

.cmdk-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #F4F1E9;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.cmdk-item:hover,
.cmdk-item.active {
  background: #1A222F;
  border-color: var(--copper);
}

.cmdk-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cmdk-thumb {
  width: 42px;
  height: 34px;
  border-radius: 3px;
  object-fit: cover;
  background: #181F2A;
  flex-shrink: 0;
}

.cmdk-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmdk-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #9BA7B7;
}

.cmdk-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brass-bright);
  flex-shrink: 0;
}

.cmdk-esc-btn {
  appearance: none;
  border: 1px solid #2A3547;
  background: #18202C;
  color: #9BA7B7;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.cmdk-esc-btn:hover {
  color: #F4F1E9;
  border-color: var(--brass);
}

.cmdk-foot {
  display: flex;
  gap: 18px;
  padding: 9px 16px;
  border-top: 1px solid #242D3A;
  background: #0B0E14;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #8E99A8;
}

.cmdk-foot kbd {
  padding: 1px 5px;
  border: 1px solid #2B3544;
  border-radius: 3px;
  color: #EAE5DC;
  margin-right: 4px;
}

/* Quote Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 10, 14, 0.65);
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100%);
  z-index: 85;
  background: var(--surface);
  color: var(--ink);
  border-left: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
}

.dept-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(440px, 100%);
  z-index: 86;
  background: var(--surface);
  color: var(--ink);
  border-right: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35);
}

.dept-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dept-drawer-row {
  width: 100%;
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg-canvas);
  color: var(--ink);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), background 160ms var(--ease-expo);
}

.dept-drawer-row:hover,
.dept-drawer-row.active {
  border-color: var(--copper);
  background: var(--surface-alt);
}

.dept-drawer-thumb {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--card-media-bg);
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}

.dept-drawer-text {
  flex: 1 1 auto;
  min-width: 0;
}

.dept-drawer-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.dept-drawer-sub {
  font-size: 12px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.dept-drawer-row .dept-count-badge {
  background: var(--surface);
  border-color: var(--rule-strong);
  color: var(--price-ink);
}

.drawer-contact-box {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

.drawer-contact-addr {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.drawer-contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rfq-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-alt);
}

.drawer-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
}

.drawer-head h2 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.drawer-head-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-clear-basket {
  appearance: none;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-clear-basket:hover {
  border-color: var(--copper);
  color: var(--ink);
}

.drawer-section h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mono-total {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--price-ink);
}

.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.basket-row {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--bg-canvas);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.basket-thumb {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: #0D1118;
  object-fit: contain;
}

.basket-row-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.basket-row-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.basket-row-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.basket-step-btn {
  width: 30px;
  height: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.basket-qty-input {
  width: 44px;
  min-height: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  text-align: center;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg-canvas);
  color: var(--ink);
  font-size: 14px;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-export-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.7fr 0.7fr;
  gap: 6px;
}

.rfq-status-banner {
  padding: 12px 14px;
  border: 1px solid #344B3C;
  background: #1D2420;
  color: #E5F3EA;
  border-radius: var(--radius);
  font-size: 13px;
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(8, 10, 14, 0.9);
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox-dialog {
  width: min(1040px, 96vw);
  max-height: 92vh;
  background: #11151C;
  color: #F4EFE6;
  border: 1px solid #2A3240;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid #2A3240;
}

.lightbox-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-zoom-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border: 1px solid #2A3240;
  border-radius: var(--radius);
  background: #0B0E14;
}

.lightbox-zoom-readout {
  min-width: 54px;
  text-align: center;
  font-family: var(--font-mono);
}

.lightbox-controls button:disabled {
  opacity: 0.38;
  cursor: default;
}

.lightbox-bar .mono-tag {
  color: var(--brass-bright);
}

.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  height: min(68vh, 660px);
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080A0E;
  touch-action: pan-y;
}

.lightbox-stage.is-zoomed {
  touch-action: none;
  cursor: grab;
}

.lightbox-viewport {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-viewport.is-zoomed {
  cursor: grab;
}

.lightbox-viewport.is-dragging {
  cursor: grabbing;
}

.lightbox-stage img {
  max-width: calc(100% - 96px);
  max-height: 64vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 140ms ease-out;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-viewport.is-dragging img {
  transition: none;
}

.lightbox-thumbs-bar {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid #2A3240;
  background: #0B0E14;
  min-width: 0;
}

.lightbox-thumbs {
  display: flex;
  gap: 6px;
  padding: 2px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  min-width: 0;
}

.lightbox-thumb-btn {
  width: 52px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #252E3D;
  border-radius: 3px;
  background: #141A23;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.lightbox-thumb-btn.active {
  border-color: var(--copper);
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Institutional Flagship Dossiers & Detail Prev/Next + Related */
.flagship-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 24px;
}

.flagships-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
}

.flagship-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.flagship-media {
  position: relative;
  background: var(--stage-mat);
  border-right: 1px solid var(--rule);
  display: grid;
  place-items: center;
  padding: 18px;
}

.flagship-media-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.flagship-media img {
  max-width: 100%;
  max-height: 270px;
  object-fit: contain;
}

.flagship-dossier {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flagship-dossier h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.flagship-dossier p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.flagship-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.detail-nav-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 30px;
}

.related-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.related-section h2 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 16px;
}

/* Footer */
.site-footer {
  background: var(--chrome-top);
  color: var(--chrome-muted);
  border-top: 1px solid var(--chrome-rule);
  padding: 30px 0 38px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass-bright);
  margin-bottom: 8px;
}

.footer-terms-box {
  border-left: 2px solid var(--copper);
  padding-left: 16px;
}

.footer-terms-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--chrome-ink);
  margin-bottom: 6px;
}

.footer-copy {
  margin: 0 0 8px;
  line-height: 1.5;
}

.footer-contact-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--chrome-rule);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-addr-note {
  font-size: 12.5px;
  color: var(--chrome-ink);
}

.footer-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: #0E1218;
  color: #F5F2EB;
  border: 1px solid var(--brass);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.mobile-dock-bar,
.print-only {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .hide-on-tablet { display: none; }
  .dept-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-logistics-grid { grid-template-columns: 1fr; }
  .studio-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .bento-card.span-6-tall,
  .bento-card.span-6-wide,
  .bento-card.span-6 { grid-column: span 12; grid-row: auto; }
  .bento-card.span-3,
  .bento-card.span-4 { grid-column: span 6; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-gallery-col { border-right: none; border-bottom: 1px solid var(--rule); }
  .flagship-row { grid-template-columns: 1fr; }
  .flagship-media { border-right: none; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 820px) {
  .container { padding: 0 14px; }
  .hide-on-mobile,
  .header-actions .btn-quote-basket,
  .spec-strip:has(#edition-switcher[hidden]) { display: none; }
  .spec-strip-inner { justify-content: center; }
  .edition-switcher { margin-left: 0; width: 100%; justify-content: space-between; }
  .edition-btn { flex: 1; text-align: center; padding: 5px 6px; font-size: 10.5px; }
  .header-inner {
    flex-wrap: wrap;
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 0;
    gap: 6px;
  }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }
  .brand-sub { display: none; }
  .primary-nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--chrome-rule);
    justify-content: space-between;
    gap: 2px;
  }
  .nav-link { padding: 9px 2px; font-size: 11.5px; }
  .home-directory-band { padding: 12px 0 18px; }
  .home-command-head { margin-bottom: 6px; gap: 8px; }
  .home-headline { font-size: 1.32rem; margin: 2px 0 4px; }
  .home-subline { display: none; }
  .home-contact-strip { padding: 0 0 8px; gap: 6px; }
  .home-contact-pill { padding: 4px 9px; font-size: 10.5px; }
  .home-search-bar { gap: 6px; margin-bottom: 8px; }
  .home-search-wrap { flex: 1 1 auto; }
  .home-search-submit { padding: 0 14px; min-width: 66px; }
  .home-quick-pills { padding: 2px 0 10px; gap: 6px; }
  .quick-pill { padding: 5px 10px; font-size: 12px; }
  .dept-grid-head { margin-bottom: 7px; }
  .dept-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dept-card {
    padding: 8px 9px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    min-height: 74px;
  }
  .dept-thumb { width: 42px; height: 42px; padding: 3px; }
  .dept-title { font-size: 12.5px; line-height: 1.18; }
  .dept-sub { display: none; }
  .dept-meta-row { margin-top: 4px; }
  .dept-count-badge { font-size: 10px; padding: 1px 6px; }
  .dept-go { display: none; }
  .catalog-band { padding: 18px 0 44px; }
  .filter-panel { padding: 12px; }
  .sector-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .sector-tab { flex: 0 0 auto; padding: 7px 11px; font-size: 12.5px; }
  .dept-drawer { right: 0; width: 100%; border-right: none; }
  .spotlight-section-bar { margin-bottom: 10px; padding-bottom: 8px; }
  .studio-hero-band { padding: 14px 0 22px; }
  .studio-hero-grid { gap: 16px; }
  .hero-stage-col { order: -1; }
  .studio-stage-card { padding: 12px 12px 10px; }
  .stage-hud-top span:last-child, .stage-hud-foot > span { display: none; }
  .hero-zoom-pill { min-height: 26px; padding: 2px 9px; font-size: 10px; }
  .stage-arrow { width: 36px; height: 36px; font-size: 20px; }
  .stage-arrow-prev { left: 6px; }
  .stage-arrow-next { right: 6px; }
  .studio-stage-card .stage-arrow { width: 32px; height: 32px; font-size: 18px; }
  .studio-stage-card .stage-arrow-prev { left: 5px; }
  .studio-stage-card .stage-arrow-next { right: 5px; }
  .detail-stage, .detail-zoom-viewport { min-height: 290px; }
  .detail-zoom-viewport { padding: 10px 38px 46px; }
  .detail-zoom-dock { right: 8px; bottom: 8px; }
  .lightbox-backdrop { padding: 8px; }
  .lightbox-dialog { width: 100%; max-height: 95vh; }
  .lightbox-stage { height: min(58vh, 460px); min-height: 260px; }
  .lightbox-stage img { max-width: calc(100% - 20px); max-height: 54vh; }
  .cutout-coord-stage { max-width: 245px; }
  .cutout-coord-stage:has(.hotspot-popover:not([hidden])) { z-index: 10; }
  .hotspot-popover { width: 174px; padding: 8px 10px; }
  .quote-drawer { left: 0; right: 0; width: 100%; border-left: none; }
  .hero-headline { font-size: clamp(1.5rem, 6vw, 1.95rem); margin-bottom: 8px; }
  .hero-summary { font-size: 13.5px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-dock-shell { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 6px; align-items: center; }
  .strip-scroll-arrow.hero-dock-scroll-arrow { display: grid; width: 32px; height: 50px; }
  .hero-dock-strip { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 2px; scroll-snap-type: x mandatory; min-width: 0; }
  .hero-dock-btn { flex: 0 0 132px; scroll-snap-align: start; padding: 6px; }
  .telemetry-strip,
  .flagship-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry-cell:nth-child(2n) { border-right: none; }
  .telemetry-cell:nth-child(1), .telemetry-cell:nth-child(2) { border-bottom: 1px solid var(--stage-rule); }
  .breadcrumb-bar { gap: 8px; margin-bottom: 12px; }
  .breadcrumb-left > span { display: none; }
  .breadcrumb-bar .btn-sm { min-height: 34px; padding: 5px 10px; font-size: 12px; }
  .detail-mode-btn { padding: 7px 10px; white-space: nowrap; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-6-tall,
  .bento-card.span-6-wide,
  .bento-card.span-3,
  .bento-card.span-4,
  .bento-card.span-6 { grid-column: span 1; grid-template-columns: 1fr; }
  .catalog-grid,
  .terms-grid,
  .detail-tables-grid,
  .footer-grid,
  .form-grid,
  .detail-cta-stack { grid-template-columns: 1fr; }
  .search-input-wrap input,
  .inline-select,
  .check-pill,
  .field input,
  .field select,
  .field textarea,
  .btn {
    min-height: 46px;
    font-size: 16px;
  }
  .btn-sm { min-height: 44px; font-size: 13.5px; }
  .search-kbd { display: none; }
  .drawer-export-row { grid-template-columns: 1fr 1fr; }
  .app-main { padding-bottom: 84px; }
  .site-footer { padding-bottom: 92px; }
  .mobile-dock-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: var(--chrome-top);
    border-top: 1px solid var(--chrome-rule);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    gap: 4px;
  }
  .mobile-bar-btn {
    min-height: 46px;
    min-width: 0;
    padding: 0 3px;
    border: 1px solid var(--chrome-rule);
    border-radius: var(--radius);
    background: rgba(127, 134, 146, 0.14);
    color: var(--chrome-ink);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    white-space: nowrap;
  }
  .mobile-bar-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
  .mobile-bar-btn .quote-count { min-width: 17px; height: 17px; padding: 0 4px; font-size: 10px; }
  .mobile-bar-primary {
    background: var(--copper);
    border-color: var(--copper);
    color: #FAF7F2;
  }
  .toast { bottom: 76px; }
}

/* Boss-Ready US-Letter Print Engine (Always Crisp Black on White Paper) */
@media print {
  @page { size: letter; margin: 0.45in; }
  body { background: #FFFFFF !important; color: #11161D !important; }
  .no-print { display: none !important; }
  .print-only { display: block !important; }
  .print-doc { font-family: var(--font-sans); font-size: 11.5px; line-height: 1.4; color: #11161D; }
  .print-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2.5px solid #181B1F; padding-bottom: 10px; margin-bottom: 12px; }
  .print-brand { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #C84B19; text-transform: uppercase; }
  .print-doc h1 { margin: 4px 0; font-size: 18px; color: #11161D; }
  .print-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
  .print-kpi { border: 1px solid #CBD5E1; padding: 7px 9px; background: #F8FAFC; }
  .print-kpi-lbl { font-family: var(--font-mono); font-size: 9px; color: #475569; text-transform: uppercase; }
  .print-kpi-val { font-size: 12.5px; font-weight: 700; color: #181B1F; margin-top: 2px; }
  .print-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
  .print-doc h2 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #181B1F; border-bottom: 1px solid #CBD5E1; padding-bottom: 3px; margin: 10px 0 6px; }
  .print-doc table { width: 100%; border-collapse: collapse; font-size: 11px; }
  .print-doc th, .print-doc td { padding: 5px 6px; border-bottom: 1px solid #E2E8F0; text-align: left; }
  .print-doc th { width: 44%; color: #475569; background: #F8FAFC; }
  .print-asis { margin-top: 12px; padding: 9px 11px; border: 1px solid #B7B2A6; background: #FAF9F7; font-size: 10.5px; }
}
