/* ==========================================================================
   MOSIN NAGANT PU SNIPER - PREMIER HERITAGE COLLECTOR ARCHIVE
   Theme: High-End Curated Gunroom & Archival Collector Platform
   Typography: Newsreader & Plus Jakarta Sans & JetBrains Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700;800&family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Warm Heritage Gunroom Palette */
  --bg-primary: #f6f4ee;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f0eee6;
  --bg-card-hover: #ffffff;
  --bg-highlight: #e4e0d4;

  /* Refined Borders */
  --border-subtle: #e5e0d4;
  --border-strong: #d3cdbf;
  --border-accent: #92400e;

  /* Heritage Bronze & Steel Accents */
  --brand-bronze: #92400e;
  --brand-bronze-hover: #78350f;
  --brand-bronze-light: #fef3c7;
  --brand-amber: #b45309;

  --brand-steel: #1e3a8a;
  --brand-steel-light: #eff6ff;

  --brand-emerald: #059669;
  --brand-emerald-light: #ecfdf5;
  --brand-emerald-border: #a7f3d0;

  --brand-rose: #be123c;
  --brand-rose-light: #fff1f2;
  --brand-rose-border: #fecdd3;

  /* Typography Colors */
  --text-main: #1c1917;
  --text-sub: #44403c;
  --text-muted: #78716c;
  --text-accent: #92400e;

  /* Fonts */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows */
  --shadow-subtle: 0 1px 3px rgba(28, 25, 23, 0.04);
  --shadow-card: 0 4px 8px -1px rgba(28, 25, 23, 0.06), 0 2px 4px -2px rgba(28, 25, 23, 0.04);
  --shadow-hover: 0 12px 24px -4px rgba(28, 25, 23, 0.1), 0 6px 12px -6px rgba(28, 25, 23, 0.06);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

figure {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-bronze);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--brand-bronze-hover);
  text-decoration: underline;
}

/* Top Attribution Callout Banner */
.credit-callout-banner {
  background-color: #ede9df;
  border-bottom: 1px solid var(--border-strong);
  padding: 0.65rem 1.5rem;
  font-size: 0.86rem;
  text-align: center;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.credit-badge {
  background-color: var(--brand-bronze-light);
  color: var(--brand-bronze);
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.credit-callout-banner strong {
  color: var(--text-main);
}

/* Site Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.brand-logo-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #78350f, #451a03);
  border: 1px solid rgba(253, 230, 138, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(120, 53, 15, 0.3);
  flex-shrink: 0;
  padding: 5px;
}

.brand-logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.brand-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
}

.brand-text .sub-title {
  font-size: clamp(0.58rem, 2vw, 0.68rem);
  color: var(--brand-bronze);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  background-color: var(--bg-card-subtle);
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.main-nav-link {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.main-nav-link:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.main-nav-link.active {
  background-color: #ffffff;
  color: var(--brand-bronze);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Container */
.main-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4.5rem;
}

/* ==========================================================================
   HERO SHOWCASE SECTION (WITH STUDIO PHOTOGRAPH)
   ========================================================================== */
.hero-section {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-text-content {
  min-width: 0;
  max-width: 100%;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-bronze-light);
  border: 1px solid #fde68a;
  color: var(--brand-bronze);
  font-size: clamp(0.68rem, 2.5vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brand-bronze);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.25);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--brand-bronze);
  font-style: italic;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Metric Cards */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stat-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: var(--transition-smooth);
}

.hero-stat-card:hover {
  background-color: #ffffff;
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.hero-stat-val {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-bronze);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Studio Photograph Showcase Frame */
.hero-photo-frame {
  background-color: var(--bg-card-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hero-photo-frame:hover .hero-photo-img {
  transform: scale(1.02);
}

.hero-photo-caption {
  padding: 0.85rem 1.15rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.caption-title {
  font-weight: 700;
  color: var(--text-main);
  max-width: 100%;
  word-break: break-word;
}

.caption-sub {
  color: var(--brand-bronze);
  font-weight: 700;
  max-width: 100%;
  word-break: break-word;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #92400e, #78350f);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(146, 64, 14, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #78350f, #451a03);
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(146, 64, 14, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--brand-bronze);
  color: var(--brand-bronze);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Sections */
.app-section {
  display: none;
  margin-bottom: 4rem;
}

.app-section.active-section {
  display: block;
  animation: heritageFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heritageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 2rem;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.section-tag {
  font-size: 0.76rem;
  color: var(--brand-bronze);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  display: inline-block;
  background: var(--brand-bronze-light);
  border: 1px solid #fde68a;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 900px;
  line-height: 1.6;
}

/* ==========================================================================
   MODULE: AUTHENTICITY INSPECTOR WIZARD
   ========================================================================== */
.wizard-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.wizard-progress-bar {
  background-color: var(--bg-card-subtle);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.wizard-progress-fill {
  background: linear-gradient(90deg, #92400e, #b45309);
  height: 100%;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step-badge {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-bronze);
  margin-bottom: 0.35rem;
}

.wizard-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.wizard-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 2.25rem;
}

.wizard-option-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.wizard-option-card:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.wizard-option-card.selected {
  background-color: var(--brand-bronze-light);
  border-color: var(--brand-bronze);
  box-shadow: 0 0 0 1px var(--brand-bronze);
}

.wizard-radio {
  display: none;
}

.wizard-option-content {
  flex: 1;
}

.wizard-option-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.wizard-option-detail {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.wizard-option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.wizard-option-card.selected .wizard-option-check {
  background-color: var(--brand-bronze);
  border-color: var(--brand-bronze);
}

.check-icon {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: bold;
  opacity: 0;
}

.wizard-option-card.selected .check-icon {
  opacity: 1;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

/* Results Card */
.wizard-results-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
}

.results-header {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.score-circle-container {
  flex-shrink: 0;
}

.score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid var(--brand-bronze);
  background: var(--bg-card-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(146, 64, 14, 0.15);
}

.score-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.score-label {
  font-size: 0.72rem;
  color: var(--brand-bronze);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.verdict-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.verdict-genuine .verdict-tag { background: var(--brand-emerald-light); color: var(--brand-emerald); border: 1px solid var(--brand-emerald-border); }
.verdict-refurb .verdict-tag { background: var(--brand-steel-light); color: var(--brand-steel); border: 1px solid #bfdbfe; }
.verdict-exsniper .verdict-tag { background: var(--brand-bronze-light); color: var(--brand-bronze); border: 1px solid #fde68a; }
.verdict-fake .verdict-tag { background: var(--brand-rose-light); color: var(--brand-rose); border: 1px solid var(--brand-rose-border); }

.verdict-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.verdict-summary {
  font-size: 1.02rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.collector-advice-box {
  background-color: var(--brand-bronze-light);
  border-left: 4px solid var(--brand-bronze);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.advice-header {
  font-size: 1rem;
  color: var(--brand-bronze);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.results-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.column-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flags-list, .proofs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.flag-item {
  background-color: var(--brand-rose-light);
  border: 1px solid var(--brand-rose-border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
}

.flag-factor {
  font-size: 0.74rem;
  color: var(--brand-rose);
  text-transform: uppercase;
  font-weight: 800;
  display: block;
}

.flag-label {
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
  margin: 0.2rem 0;
  font-weight: 700;
}

.flag-detail {
  font-size: 0.85rem;
  color: #881337;
  line-height: 1.45;
}

.proof-item {
  background-color: var(--brand-emerald-light);
  border: 1px solid var(--brand-emerald-border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
}

.proof-factor {
  font-size: 0.74rem;
  color: var(--brand-emerald);
  text-transform: uppercase;
  font-weight: 800;
  display: block;
}

.proof-label {
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
  margin: 0.2rem 0;
  font-weight: 700;
}

.proof-detail {
  font-size: 0.85rem;
  color: #065f46;
  line-height: 1.45;
}

.empty-state-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
}

.empty-state-card.positive {
  background-color: var(--brand-emerald-light);
  color: var(--brand-emerald);
  border: 1.5px dashed var(--brand-emerald-border);
}

.results-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

/* ==========================================================================
   MODULE: VALUATION & SCOPE PRICING CALCULATOR
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
}

.calc-controls-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.calc-card-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.calc-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.calc-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scope-highlight-group {
  background-color: var(--brand-bronze-light);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
}

.scope-highlight-group label {
  color: var(--brand-bronze);
  font-weight: 800;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-select {
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-select:focus {
  border-color: var(--brand-bronze);
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.15);
}

/* Results Output Card */
.calc-results-card {
  background: #ffffff;
  border: 2px solid var(--brand-bronze);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card), 0 0 20px rgba(146, 64, 14, 0.08);
  position: relative;
}

.calc-valuation-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.val-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.rarity-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.badge-ultra {
  background-color: var(--brand-rose-light);
  color: var(--brand-rose);
  border: 1px solid var(--brand-rose-border);
}

.badge-standard {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.rarity-meter-wrap {
  text-align: right;
}

.rarity-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.rarity-label strong {
  color: var(--brand-bronze);
}

.rarity-bar {
  width: 140px;
  height: 7px;
  background-color: var(--bg-highlight);
  border-radius: 4px;
  overflow: hidden;
}

.rarity-fill {
  height: 100%;
  background: linear-gradient(90deg, #b45309, #92400e);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.val-price-card {
  background: linear-gradient(180deg, #fbfaf8 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.price-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.price-range {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-bronze);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.price-trend {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.price-trend strong {
  color: var(--brand-emerald);
}

/* Dedicated Scope Pricing Impact Box */
.scope-valuation-highlight-box {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
}

.positive-scope {
  background-color: var(--brand-emerald-light);
  border: 1.5px solid var(--brand-emerald-border);
}

.negative-scope {
  background-color: var(--brand-rose-light);
  border: 1.5px solid var(--brand-rose-border);
}

.scope-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.scope-impact-num.plus {
  color: var(--brand-emerald);
  font-weight: 800;
  font-size: 1.1rem;
}

.scope-impact-num.minus {
  color: var(--brand-rose);
  font-weight: 800;
  font-size: 1.1rem;
}

.scope-box-text {
  font-size: 0.86rem;
  color: var(--text-sub);
}

.val-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-item {
  background-color: var(--brand-bronze-light);
  border-left: 3.5px solid var(--brand-bronze);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #78350f;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.price-drivers-box {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.drivers-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.drivers-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.liquidity-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.liq-row {
  display: flex;
  justify-content: space-between;
}

.liq-label {
  color: var(--text-muted);
}

.liq-val.high {
  color: var(--brand-bronze);
  font-weight: 700;
}

/* ==========================================================================
   MODULE: VECTOR MARKINGS & RETICLE SIMULATOR
   ========================================================================== */
.explorer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-sub);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  border-color: var(--brand-bronze);
}

.tab-btn.active {
  background-color: var(--brand-bronze);
  border-color: var(--brand-bronze);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(146, 64, 14, 0.25);
}

.diagram-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
}

.diagram-visual-panel {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.diagram-header {
  margin-bottom: 1.5rem;
}

.diagram-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.diagram-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.shank-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.shank-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.shank-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-bronze);
  margin-bottom: 0.75rem;
}

.shank-svg-container {
  max-width: 100%;
}

.diagram-svg {
  width: 100%;
  height: auto;
}

.diagram-hotspot {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.diagram-hotspot:hover {
  transform: scale(1.08);
}

.diagram-detail-panel {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  height: fit-content;
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-badge {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.badge-auth {
  background-color: var(--brand-bronze-light);
  color: var(--brand-bronze);
  border: 1px solid #fde68a;
}

.badge-alert {
  background-color: var(--brand-rose-light);
  color: var(--brand-rose);
  border: 1px solid var(--brand-rose-border);
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.detail-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.detail-collector-note {
  background-color: var(--bg-card-subtle);
  border-left: 3.5px solid var(--brand-bronze);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-main);
}

.detail-collector-note strong {
  color: var(--brand-bronze);
}

/* Factory Logos Grid */
.factory-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.logo-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  display: flex;
  gap: 1.35rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.logo-card:hover {
  border-color: var(--brand-bronze);
  transform: translateY(-2px);
}

.logo-svg-wrap {
  width: 100px;
  height: 85px;
  background-color: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem;
}

.factory-logo-svg {
  width: 100%;
  height: 100%;
}

.logo-info {
  flex: 1;
}

.logo-plant-num {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-bronze);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.2rem;
}

.logo-info h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.logo-info p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.full-width-logo {
  grid-column: 1 / -1;
}

/* Reticle Simulator */
.reticle-simulator-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.reticle-sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.scope-viewport-wrap {
  background: radial-gradient(circle, #faf9f6 40%, #e7e5e0 100%);
  border: 6px solid #1c1917;
  border-radius: 50%;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.15);
}

.reticle-svg-sim {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.sim-target-silhouette {
  transition: transform 0.2s ease-out;
}

.reticle-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.range-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-val-badge {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-bronze);
  background: var(--brand-bronze-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-highlight);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-bronze);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(146, 64, 14, 0.4);
  transition: transform 0.1s;
}

.telemetry-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.telemetry-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-bronze);
  line-height: 1.1;
}

.telemetry-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* Screws & Metallurgy */
.optics-deepdive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.optics-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.optics-card-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-bronze);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.technical-spec-box {
  background-color: var(--bg-card-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  font-size: 0.88rem;
}

.technical-spec-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.screws-vector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.35rem;
}

.screw-vector-box {
  background-color: var(--bg-card-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.screw-vector-box.real {
  border: 1.5px solid var(--brand-emerald-border);
}

.screw-vector-box.fake {
  border: 1.5px solid var(--brand-rose-border);
}

.screw-badge-real {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-emerald);
  margin-bottom: 0.25rem;
}

.screw-badge-fake {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-rose);
  margin-bottom: 0.25rem;
}

.screw-diagram-svg {
  width: 150px;
  height: 75px;
  margin: 0.75rem auto;
  display: block;
}

/* Mount & Stock Cards */
.mount-deepdive-grid, .stock-deepdive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mount-card, .stock-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.highlight-stock {
  border: 2px solid var(--brand-bronze);
}

.stock-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-bronze);
  margin-bottom: 0.35rem;
}

.cartouche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cartouche-box {
  background-color: var(--bg-card-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.arsenal-stamps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.stamp-box {
  background-color: var(--bg-card-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stamp-icon {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-bronze);
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   MODULE: PRODUCTION MATRIX
   ========================================================================== */
.matrix-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.matrix-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-sub);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pill-btn:hover {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
}

.pill-btn.active {
  background-color: var(--brand-bronze);
  border-color: var(--brand-bronze);
  color: #ffffff;
}

.matrix-search-box {
  position: relative;
  min-width: 300px;
}

.search-input {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
  padding: 0.65rem 2.25rem 0.65rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--brand-bronze);
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.15);
}

.search-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.9rem;
}

.rarity-spotlight-banner {
  background-color: var(--brand-rose-light);
  border: 1.5px solid var(--brand-rose-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.spotlight-icon {
  font-size: 2rem;
  line-height: 1;
}

.spotlight-content h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #9f1239;
  margin-bottom: 0.35rem;
}

.spotlight-content p {
  font-size: 0.92rem;
  color: #881337;
  line-height: 1.5;
}

.table-responsive {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.matrix-table th {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border-strong);
}

.matrix-table td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.highlight-row-1942 {
  background-color: #fff1f2;
}

.factory-cell strong {
  font-size: 1rem;
  display: block;
}

.factory-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.year-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
}

.badge-1942 {
  color: var(--brand-rose);
}

.unit-count {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.rarity-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.rarity-ultra {
  background-color: var(--brand-rose-light);
  color: var(--brand-rose);
  border: 1px solid var(--brand-rose-border);
}

.rarity-std {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.matrix-rarity-bar {
  width: 95px;
  height: 6px;
  background-color: var(--bg-highlight);
  border-radius: 3px;
  overflow: hidden;
}

.matrix-rarity-fill {
  height: 100%;
  background: linear-gradient(90deg, #b45309, #92400e);
}

.survivor-count {
  font-weight: 800;
  color: var(--brand-bronze);
}

.val-range {
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
}

.prefix-wrap {
  margin-top: 0.5rem;
}

.prefix-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.prefix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.prefix-tag {
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--brand-bronze);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.prefix-tag.more {
  color: var(--text-muted);
}

/* ==========================================================================
   MODULE: IMPORTER GUIDE
   ========================================================================== */
.importer-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.spotlight-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.century-card {
  border-top: 4px solid var(--brand-steel);
}

.mitchells-card {
  border-top: 4px solid var(--brand-bronze);
}

.spotlight-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-bronze);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.comparison-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.35rem 0;
}

.col-box {
  background-color: var(--bg-card-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.col-box ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.importer-verdict-banner {
  background-color: var(--brand-bronze-light);
  border-left: 3.5px solid var(--brand-bronze);
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  color: #78350f;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mitchells-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.35rem 0;
}

.fact-item {
  display: flex;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.fact-icon {
  font-size: 1.25rem;
}

.import-marks-aesthetics-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.aesthetics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.aesthetic-box {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.aest-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.discreet .aest-badge { background-color: var(--brand-emerald-light); color: var(--brand-emerald); }
.molot-proof .aest-badge { background-color: var(--brand-steel-light); color: var(--brand-steel); }
.billboard .aest-badge { background-color: var(--brand-rose-light); color: var(--brand-rose); }

.importers-directory {
  margin-top: 2rem;
}

.directory-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.importer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.imp-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.imp-card:hover {
  border-color: var(--brand-bronze);
  transform: translateY(-2px);
}

.imp-era {
  font-size: 0.76rem;
  color: var(--brand-bronze);
  font-weight: 800;
}

.imp-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.imp-reputation {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.imp-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 1.15rem;
  line-height: 1.55;
}

.imp-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.imp-stat-row .val {
  color: var(--brand-bronze);
  font-weight: 800;
}

.imp-notes {
  background-color: var(--bg-card-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ==========================================================================
   MODULE: BUYER'S CHECKLIST
   ========================================================================== */
.checklist-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.checklist-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.checklist-score-badge {
  text-align: right;
}

.score-val {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-bronze);
  display: block;
}

.score-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
}

.checklist-items-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.checklist-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checklist-card:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-strong);
}

.checklist-card.checked {
  background-color: var(--brand-emerald-light);
  border-color: var(--brand-emerald-border);
}

.checklist-input {
  display: none;
}

.checklist-box {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.checklist-card.checked .checklist-box {
  background-color: var(--brand-emerald);
  border-color: var(--brand-emerald);
}

.chk-mark {
  color: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  opacity: 0;
}

.checklist-card.checked .chk-mark {
  opacity: 1;
}

.chk-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.chk-weight {
  font-size: 0.78rem;
  color: var(--brand-bronze);
  font-weight: 800;
  margin-left: 0.5rem;
}

.chk-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.checklist-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1.5px solid var(--border-subtle);
  padding: 4rem 1.5rem 2.5rem;
  margin-top: 6rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.author-credit-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-top: 1.25rem;
}

.author-credit-card h5 {
  color: var(--brand-bronze);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.author-credit-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.author-credit-card .gunboards-thanks {
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-strong);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 1.15rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODULE: WARTIME HISTORY & SCOPE EVOLUTION
   ========================================================================== */
.history-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.history-feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.history-feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.history-feature-card p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.history-card-badge {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-bronze);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.gold-badge {
  color: #b45309;
}

.highlight-tula-story {
  border: 2px solid #f59e0b;
  background: linear-gradient(180deg, #ffffff 0%, #fef3c7 100%);
}

.tula-highlight-box {
  background-color: #ffffff;
  border-left: 4px solid #b45309;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.15rem 1.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #78350f;
}

.tula-highlight-box strong {
  color: #92400e;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.tula-highlight-box p {
  color: #78350f;
  margin-bottom: 0;
}

.history-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}

.history-bullet-list li {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
  position: relative;
  padding-left: 1.35rem;
}

.history-bullet-list li::before {
  content: '▸';
  color: var(--brand-bronze);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.kochetov-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.benefit-box {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.benefit-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-bronze);
  margin-bottom: 0.35rem;
}

.benefit-box p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
  margin-bottom: 0;
}

.optics-history-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

.timeline-step {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.timeline-year {
  background-color: var(--brand-bronze);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-body {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.timeline-body strong {
  color: var(--text-main);
}

.full-width-card {
  grid-column: 1 / -1;
}

.doctrine-quote-box {
  background-color: var(--bg-card-subtle);
  border-left: 4px solid var(--brand-bronze);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.75rem;
  margin: 1.25rem 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
}

/* ==========================================================================
   MODULE: COLLECTOR FAQ ACCORDION (SEO & PAA RICH SNIPPETS)
   ========================================================================== */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.faq-card[open] {
  border-color: var(--brand-bronze);
  box-shadow: var(--shadow-card);
}

.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: var(--bg-card-subtle);
  color: var(--brand-bronze);
}

.faq-toggle-icon {
  font-size: 1.1rem;
  color: var(--brand-bronze);
  transition: transform 0.2s ease;
}

.faq-card[open] .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: #ffffff;
  font-size: 0.96rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.faq-answer p {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.faq-answer ol, .faq-answer ul {
  margin: 0.75rem 0 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-answer li {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.faq-answer strong {
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & OVERFLOW PREVENTION
   ========================================================================== */
@media (max-width: 1150px) {
  .hero-grid, .calc-grid, .diagram-layout, .reticle-sim-grid, .importer-spotlight-grid, .history-content-grid, .footer-inner {
    grid-template-columns: 1fr;
  }

  .results-details-grid, .shank-comparison-grid, .factory-logos-grid, .optics-deepdive-grid, .mount-deepdive-grid, .stock-deepdive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-section {
    padding: 1.5rem 1rem;
  }

  .results-header {
    flex-direction: column;
    text-align: center;
  }

  .matrix-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .matrix-search-box {
    width: 100%;
    min-width: 0;
  }

  .checklist-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   MOBILE PHONES & SMALL SCREENS (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  html, body {
    font-size: 15px;
  }

  .main-content {
    padding: 1rem 0.65rem 3.5rem;
    max-width: 100%;
  }

  .header-inner {
    padding: 0.6rem 0.75rem;
  }

  .brand-logo-badge {
    width: 34px;
    height: 34px;
    padding: 4px;
  }

  .brand-text h1 {
    font-size: 1.05rem;
  }

  .brand-text .sub-title {
    font-size: 0.62rem;
  }

  /* Compact Cards on Mobile */
  .hero-section,
  .wizard-card,
  .calc-controls-card,
  .calc-results-card,
  .diagram-visual-panel,
  .diagram-detail-panel,
  .reticle-simulator-card,
  .matrix-wrapper,
  .spotlight-card,
  .checklist-wrapper,
  .history-feature-card,
  .import-marks-aesthetics-card,
  .wizard-results-card,
  .imp-card {
    padding: 1.25rem 0.85rem !important;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  /* Hero Stats Grid & Action Buttons */
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .hero-stat-card {
    padding: 0.75rem 0.5rem;
    text-align: center;
  }

  .hero-stat-val {
    font-size: 1.35rem;
  }

  .hero-stat-lbl {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.86rem;
    padding: 0.7rem 1rem;
  }

  /* Form & Calculator */
  .form-row.two-col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .price-range {
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .val-price-card {
    padding: 1.15rem 0.75rem;
  }

  .scope-box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* Reticle Simulator */
  .scope-viewport-wrap {
    max-width: 240px;
    border-width: 5px;
  }

  .telemetry-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .range-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  /* Subgrids */
  .comparison-two-col,
  .cartouche-grid,
  .screws-vector-grid,
  .shank-comparison-grid,
  .kochetov-benefits-grid,
  .factory-logos-grid,
  .aesthetics-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  .logo-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .logo-svg-wrap {
    margin: 0 auto;
  }

  /* Table & FAQ */
  .table-responsive {
    width: 100%;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
  }

  .hero-photo-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-photo-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .hero-photo-caption {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    padding: 0.65rem 0.85rem !important;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 1rem 1.5rem;
    margin-top: 3.5rem;
  }

  .footer-inner {
    gap: 2rem;
  }
}
