/* ==========================================================================
   ROX-COOPERATION LIMITED (ROXCORP)
   SWISS ARCHITECTURAL & PETROGRAPHIC DESIGN SYSTEM
   Surfaces:
     - Deep Basalt:      #0B0C0E
     - Matte Slate:      #141619
     - Warm Limestone:   #F3EFE6 (Ink #121316, Muted #5A5D64)
     - Bullion Gold:     #C5963E (Hover #D8AB54)
     - Mineral Cobalt:   #1E6B9B
========================================================================== */

:root {
  /* Core Surfaces */
  --bg-basalt: #0B0C0E;
  --bg-obsidian: #0B0C0E;
  --bg-chamber: #090A0C;
  --bg-slate: #141619;
  --bg-slate-hover: #1B1E23;
  --bg-limestone: #F3EFE6;
  --bg-limestone-alt: #EAE5D9;
  --bg-limestone-card: #F8F5EE;

  /* Ink & Typography Colors (Dark Context Default) */
  --text-main: #F5F2EA;
  --text-muted: #8E929B;
  --text-dim: #5E626B;

  /* Ink & Typography Colors (Light Limestone Context) */
  --ink-light: #121316;
  --ink-light-muted: #5A5D64;

  /* Accents (Strict Non-Glowing Discipline) */
  --gold: #C5963E;
  --gold-hover: #D8AB54;
  --gold-1: #9E762D;
  --gold-2: #C5963E;
  --gold-3: #D8AB54;
  --cobalt: #1E6B9B;
  --cyan: #1E6B9B;
  --emerald: #2D7A53;

  /* Hairline Borders */
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-dark-strong: rgba(255, 255, 255, 0.22);
  --border-light: rgba(18, 19, 22, 0.14);
  --border-light-strong: rgba(18, 19, 22, 0.28);
  --border: rgba(255, 255, 255, 0.12);
  --border-gold: #C5963E;

  /* Typography Families (Max 2 Families + Tabular Mono) */
  --font-display: 'Syne', sans-serif;
  --font-tech: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Architectural Geometry & Motion */
  --radius-card: 2px;
  --radius-btn: 3px;
  --radius: 2px;
  --transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-basalt);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-basalt);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
}

/* Tactile Matte Slate / Limestone SVG FractalNoise Overlay (0.03 Opacity) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Minimal Architectural Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-basalt);
}
::-webkit-scrollbar-thumb {
  background: #2C3038;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Layout Containers & Band Rhythm */
.container {
  width: min(1320px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

section {
  padding: 104px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-dark);
}

/* Dark Architectural Sections (Deep Basalt #0B0C0E) */
#hero,
#vault,
#nigeria-map,
#dealroom,
.band-basalt {
  background-color: var(--bg-basalt);
  color: var(--text-main);
}

/* Matte Slate Surface Sections (#141619) */
.band-slate {
  background-color: var(--bg-slate);
  color: var(--text-main);
}

/* Warm Limestone / Mineral Gallery Sections (#F3EFE6) */
#services,
#licensing,
#knowledge,
.band-limestone {
  background-color: var(--bg-limestone);
  color: var(--ink-light);
  border-bottom: 1px solid var(--border-light);
  --text-main: #121316;
  --text-muted: #5A5D64;
  --border: rgba(18, 19, 22, 0.14);
}

/* ==========================================================================
   TYPOGRAPHY & SWISS INDEX LABELS (NO GRADIENT CLIPS, NO GLOWING PILLS)
========================================================================== */
h1, h2, h3, h4, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

/* Solid Ink Replacement for Legacy Gradient Classes */
.gold-gradient {
  color: var(--gold);
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

#services .gold-gradient,
#licensing .gold-gradient,
#knowledge .gold-gradient,
.band-limestone .gold-gradient {
  color: #9A6F1A;
}

.silver-gradient {
  color: inherit;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Swiss Architectural Eyebrow: 16px Horizontal Rule + Tracked IBM Plex Mono */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background-color: var(--gold);
  flex-shrink: 0;
}

#services .eyebrow,
#licensing .eyebrow,
#knowledge .eyebrow,
.band-limestone .eyebrow {
  color: var(--ink-light);
}

#services .eyebrow::before,
#licensing .eyebrow::before,
#knowledge .eyebrow::before,
.band-limestone .eyebrow::before {
  background-color: var(--ink-light);
}

/* Kill Pulsing Neon Dot */
.eyebrow .pulse-dot,
.pulse-dot {
  display: none !important;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* Tabular Numbers Discipline */
.tabular,
.metric-val,
.spec-box strong,
.dossier-formula,
.depth-readout,
.brief-box,
#lic-score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   BUTTONS (SHARP 3PX RADIUS, SOLID BULLION GOLD & 1PX HAIRLINE OUTLINE)
========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: none !important;
  transform: none !important;
}

.btn-gold {
  background-color: var(--gold);
  color: #0B0C0E;
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #0B0C0E;
}

.btn-glass {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-dark-strong);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--gold);
  color: var(--text-main);
}

/* Secondary Outline Button on Warm Limestone Surfaces */
#services .btn-glass,
#licensing .btn-glass,
#knowledge .btn-glass,
.band-limestone .btn-glass {
  color: var(--ink-light);
  border-color: var(--border-light-strong);
}

#services .btn-glass:hover,
#licensing .btn-glass:hover,
#knowledge .btn-glass:hover,
.band-limestone .btn-glass:hover {
  background-color: rgba(18, 19, 22, 0.05);
  border-color: var(--ink-light);
  color: var(--ink-light);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
}

/* ==========================================================================
   NAVIGATION BAR (CLEAN SOLID PLACEMENT, NO GLOWING LOGO BOX)
========================================================================== */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #0B0C0E;
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

/* Clean Transparent/Solid Placement — No Glowing Box */
.brand-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #F5F2EA;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #F5F2EA;
  border-bottom-color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark-strong);
  color: var(--text-main);
  border-radius: var(--radius-btn);
  padding: 7px 11px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
}

/* ==========================================================================
   BOREHOLE DEPTH TELEMETRY GAUGE (TECHNICAL MONO SCALE)
========================================================================== */
.depth-hud {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.depth-readout {
  background: #0B0C0E;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-card);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-main);
  text-align: right;
  line-height: 1.4;
}

.depth-track {
  width: 1px;
  height: 160px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  margin-right: 6px;
}

.depth-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  background: var(--gold);
  transition: height 0.2s ease-out;
}

.depth-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.depth-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.depth-dot span.pip {
  width: 6px;
  height: 6px;
  border-radius: 0;
  border: 1px solid var(--text-muted);
  background: transparent;
  transition: var(--transition);
}

.depth-dot.active {
  color: var(--gold);
}

.depth-dot.active span.pip {
  background: var(--gold);
  border-color: var(--gold);
}

/* ==========================================================================
   HERO SECTION (BOLD EDITORIAL DISPLAY + NEGATIVE SPACE + BOTTOM DATA BAR)
========================================================================== */
.hero {
  min-height: 100vh;
  padding: 136px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-basalt);
  border-bottom: 1px solid var(--border-dark);
}

#hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 72px;
  flex: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #F5F2EA;
  margin-bottom: 28px;
}

.hero p.lead {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.68;
}

.hero p.lead strong {
  color: #F5F2EA;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Right Side Minimal Architectural Coordinate & Telemetry Ledger */
.hero-ledger {
  border-left: 1px solid var(--border-dark);
  padding-left: 28px;
  margin-bottom: 8px;
  max-width: 380px;
  margin-left: auto;
  background: rgba(11, 12, 14, 0.72);
}

.hero-ledger-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.telemetry-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.telemetry-row .status-pill {
  color: #F5F2EA;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Clean Bottom Architectural Data Bar (4 Columns Separated by 1px Vertical Rules) */
.hero-data-bar {
  width: 100%;
  border-top: 1px solid var(--border-dark);
  background-color: var(--bg-slate);
  position: relative;
  z-index: 2;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border-left: 1px solid var(--border-dark);
}

.metric-card {
  padding: 26px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-dark);
  border-radius: 0;
  backdrop-filter: none;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  color: #F5F2EA;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ==========================================================================
   MINERAL TELEMETRY TICKER (MATTE SLATE ARCHIVE TAPE)
========================================================================== */
.mineral-ticker {
  background: #08090B;
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: tickerScroll 42s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.ticker-item .tag {
  color: var(--gold);
  font-weight: 600;
}

.ticker-item .loc {
  color: #F5F2EA;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   3D MINERAL & GEMSTONE VAULT (MUSEUM SPECIMEN PLINTH + GALLERY PLACARD)
========================================================================== */
.vault-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  border: 1px solid var(--border-dark);
  background: var(--bg-chamber);
}

/* Left Plinth Stage */
.vault-stage-card {
  background: var(--bg-chamber);
  border: none;
  border-right: 1px solid var(--border-dark);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.stage-topbar {
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--bg-slate);
}

.mode-switch {
  display: inline-flex;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-card);
  background: #0B0C0E;
}

.mode-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.mode-btn:last-child {
  border-right: none;
}

.mode-btn.active {
  background: var(--gold);
  color: #0B0C0E;
  font-weight: 600;
}

.stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-chip {
  background: #0B0C0E;
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-card);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.tool-chip:hover {
  border-color: var(--border-dark-strong);
  color: var(--text-main);
}

.tool-chip.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 150, 62, 0.08);
}

/* Museum Plinth Chamber with Corner Crosshair Ticks */
.viewport-container {
  position: relative;
  width: 100%;
  height: 480px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #090A0C;
  background-size: 48px 48px;
  overflow: hidden;
}

/* Corner Crosshair Ticks */
.viewport-container::before,
.viewport-container::after {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  z-index: 4;
}

.viewport-container::before {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  mask-image: linear-gradient(90deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 calc(100% - 12px));
  -webkit-mask-image: linear-gradient(90deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 calc(100% - 12px));
}

.viewport-container::after {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  mask-image: linear-gradient(180deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 calc(100% - 12px));
  -webkit-mask-image: linear-gradient(180deg, #000 12px, transparent 12px, transparent calc(100% - 12px), #000 calc(100% - 12px));
}

#mineral-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#mineral-3d-canvas:active {
  cursor: grabbing;
}

/* 10x Macro Petrographic View */
#macro-loupe-view {
  position: absolute;
  inset: 0;
  display: none;
  cursor: crosshair;
  background: #090A0C;
}

#macro-loupe-view.active {
  display: block;
}

#macro-base-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#loupe-lens {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  overflow: hidden;
  transform: translate(-50%, -50%);
  display: none;
}

#loupe-zoom-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.loupe-reticle {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.loupe-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0B0C0E;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
}

.stage-bottombar {
  padding: 12px 20px;
  border-top: 1px solid var(--border-dark);
  background: var(--bg-slate);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.light-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="range"].rox-range {
  accent-color: var(--gold);
  width: 110px;
  cursor: pointer;
}

/* Right Column: Museum Gallery Placard Dossier */
.vault-dossier {
  background: var(--bg-slate);
  border: none;
  border-radius: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.dossier-header h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #F5F2EA !important;
  margin-bottom: 6px;
}

.dossier-formula {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cobalt);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

/* Swiss Hairline Spec Grid (Collapsed 1px Shared Borders) */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  gap: 0;
}

.spec-box {
  background: transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 16px;
}

.spec-box label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.spec-box strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.deposit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.deposit-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-card);
  background: #0B0C0E;
  border: 1px solid var(--border-dark);
  color: var(--text-main);
}

.dossier-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: #0B0C0E;
  border: 1px solid var(--border-dark);
  border-left: 2px solid var(--gold);
}

.dossier-note-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.dossier-note-body {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Specimen Selector Strip (Collapsed 8-Cell Hairline Bar) */
.specimen-strip {
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  gap: 0;
}

.specimen-pill {
  background: #0B0C0E;
  border: none;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  border-radius: 0;
  padding: 16px 12px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specimen-pill:hover {
  background: var(--bg-slate);
}

.specimen-pill.active {
  background: var(--bg-slate);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.specimen-swatch {
  width: 14px;
  height: 14px;
  border-radius: 0;
  margin-bottom: 4px;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.specimen-pill h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0;
}

.specimen-pill span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   SERVICES & OPERATIONS (WARM LIMESTONE #F3EFE6 + ASYMMETRICAL EDITORIAL SPLIT)
========================================================================== */
.editorial-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.editorial-sticky {
  position: sticky;
  top: 108px;
}

.editorial-sticky .section-sub {
  margin-bottom: 28px;
}

/* Right 7-Column Stacked Hairline Rows */
.services-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.service-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  transition: var(--transition);
}

.service-card:hover {
  background-color: var(--bg-limestone-alt);
  transform: none;
}

.service-index-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-card);
  background: transparent;
  border: 1px solid var(--border-light-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
}

.service-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-light-muted);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-light-muted);
  margin-bottom: 14px;
  max-width: 580px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-bullets li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-light);
  background: rgba(18, 19, 22, 0.05);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-card);
}

.service-bullets li::before {
  content: none;
}

/* ==========================================================================
   NIGERIA GEOLOGICAL CORRIDOR MAP (CARTOGRAPHIC CAD GRID)
========================================================================== */
.map-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border-dark);
  background: var(--bg-slate);
}

.nigeria-map-card {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #090A0C;
  background-size: 40px 40px;
  border: none;
  border-right: 1px solid var(--border-dark);
  border-radius: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nigeria-svg {
  width: 100%;
  max-height: 440px;
}

.map-node {
  cursor: pointer;
}

.map-node circle.core {
  transition: var(--transition);
  fill: var(--cobalt);
}

.map-node circle.ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.45;
}

.map-node.active circle.core,
.map-node:hover circle.core {
  fill: var(--gold);
  r: 8;
}

.map-node.active circle.ring {
  opacity: 1;
  stroke-width: 1.8;
}

.corridor-panel {
  background: var(--bg-slate);
  border: none;
  border-radius: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.corridor-list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  margin-bottom: 24px;
}

.corridor-btn {
  background: #0B0C0E;
  border: none;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
}

.corridor-btn:hover {
  color: var(--text-main);
  background: var(--bg-slate-hover);
}

.corridor-btn.active {
  background: var(--gold);
  color: #0B0C0E;
  font-weight: 600;
}

/* Warm Limestone Overrides for .corridor-btn inside Knowledge Base */
#knowledge .corridor-btn,
.band-limestone .corridor-btn {
  background: var(--bg-limestone-card);
  border: 1px solid var(--border-light);
  color: var(--ink-light-muted);
}

#knowledge .corridor-btn.active,
.band-limestone .corridor-btn.active {
  background: var(--ink-light);
  color: var(--bg-limestone);
  border-color: var(--ink-light);
}

/* ==========================================================================
   NMCO / eMC+ LICENSING WIZARD (WARM LIMESTONE ARCHITECTURAL TABLE)
========================================================================== */
.license-shell {
  background: var(--bg-limestone-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 0;
}

.license-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-limestone-alt);
}

.license-tab {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-light);
  color: var(--ink-light-muted);
  padding: 14px 20px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
}

.license-tab:hover {
  color: var(--ink-light);
  background: rgba(18, 19, 22, 0.04);
}

.license-tab.active {
  background: var(--ink-light);
  color: var(--bg-limestone);
  font-weight: 600;
}

/* Dark Context License Tabs (e.g. Admin Console) */
.band-basalt .license-tab,
body > main section:not(#licensing) .license-tab {
  border: 1px solid var(--border-dark-strong);
  color: var(--text-muted);
  background: #0B0C0E;
}

.band-basalt .license-tab.active,
body > main section:not(#licensing) .license-tab.active {
  background: var(--gold);
  color: #0B0C0E;
  border-color: var(--gold);
}

.license-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}

.license-content > div:first-child {
  padding: 32px;
  border-right: 1px solid var(--border-light);
}

.license-content > div:last-child {
  padding: 32px;
  background: var(--bg-limestone);
}

.mandate-notice {
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--bg-limestone-alt);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.55;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 0;
  background: var(--bg-limestone-card);
  border: 1px solid var(--border-light);
  margin-bottom: -1px;
  font-size: 0.86rem;
  color: var(--ink-light);
  cursor: pointer;
}

.checklist-item input {
  margin-top: 4px;
  accent-color: var(--gold);
}

/* ==========================================================================
   MINERAL KNOWLEDGE BASE (SWISS HAIRLINE CATALOG ON WARM LIMESTONE)
========================================================================== */
.kb-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.kb-search {
  flex: 1;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.kb-search:focus {
  outline: none;
  border-color: var(--ink-light);
}

.kb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  gap: 0;
}

.kb-card {
  background: var(--bg-limestone-card);
  border: none;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}

.kb-card:hover {
  background: #FFFFFF;
  transform: none;
}

.kb-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-card);
  background: var(--bg-limestone-alt);
  color: var(--ink-light);
  border: 1px solid var(--border-light);
}

.kb-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--ink-light);
  margin: 12px 0 6px;
}

.kb-specs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cobalt);
  margin-bottom: 10px;
}

.kb-states {
  font-size: 0.84rem;
  color: var(--ink-light-muted);
  margin-bottom: 8px;
}

.kb-states strong {
  color: var(--ink-light);
}

.kb-uses {
  font-size: 0.84rem;
  color: var(--ink-light-muted);
}

/* ==========================================================================
   PARTNER & INVESTOR DEAL ROOM (CRISP ARCHITECTURAL FORM & DOSSIER)
========================================================================== */
.dealroom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border-dark);
  background: var(--bg-slate);
}

.form-card {
  background: var(--bg-slate);
  border: none;
  border-right: 1px solid var(--border-dark);
  border-radius: 0;
  padding: 36px;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  margin-bottom: 28px;
}

.role-tab {
  background: #0B0C0E;
  border: none;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 11px 10px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.role-tab:hover {
  color: var(--text-main);
  background: var(--bg-slate-hover);
}

.role-tab.active {
  background: var(--gold);
  color: #0B0C0E;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field select,
.field textarea {
  background: #0B0C0E;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.dossier-preview {
  background: #090A0C;
  border: none;
  border-radius: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.brief-box {
  background: #050607;
  border: 1px solid var(--border-dark);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #D6D3CD;
  white-space: pre-wrap;
  line-height: 1.65;
  max-height: 360px;
  overflow-y: auto;
}

/* ==========================================================================
   FULL-STACK CARDS, LOTS BOARD & ADMIN CONTROL ROOM UTILITIES
========================================================================== */
.page-hero {
  padding: 136px 0 52px;
  text-align: left;
  position: relative;
  z-index: 2;
  background-color: var(--bg-basalt);
  border-bottom: 1px solid var(--border-dark);
}

.page-hero .section-sub {
  margin-bottom: 0;
}

.glass-card {
  background: var(--bg-slate);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 24px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-dark-strong);
}

.glass-card.gold-edge,
.gold-edge {
  border-color: var(--gold) !important;
  box-shadow: none !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Footer */
footer {
  background: #08090B;
  border-top: 1px solid var(--border-dark);
  padding: 72px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0B0C0E;
  border: 1px solid var(--gold);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-card);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  z-index: 9998;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   DEDICATED MULTI-PAGE ARCHITECTURAL COMPONENTS
========================================================================== */

/* Dedicated Page Header with Right Telemetry Meta Grid */
.page-hero-split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: end;
}

.page-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  background: var(--bg-slate);
}

.page-hero-meta-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.page-hero-meta-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.page-hero-meta-cell strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #F5F2EA;
  font-weight: 600;
}

/* Home Page: Executive Division Directory */
.division-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.division-row {
  display: grid;
  grid-template-columns: 72px 1.2fr 1.5fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--ink-light);
  transition: var(--transition);
}

.division-row:hover {
  background-color: var(--bg-limestone-alt);
}

.division-idx {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #9A6F1A;
  letter-spacing: 0.08em;
}

.division-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink-light);
  letter-spacing: -0.02em;
}

.division-desc {
  font-size: 0.92rem;
  color: var(--ink-light-muted);
  line-height: 1.55;
}

.division-link-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-btn);
  color: var(--ink-light);
  white-space: nowrap;
  transition: var(--transition);
}

.division-row:hover .division-link-tag {
  background-color: var(--ink-light);
  color: var(--bg-limestone);
  border-color: var(--ink-light);
}

/* Home Page: 4-Column Flagship Commodity Matrix */
.commodity-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  background: var(--bg-slate);
}

.commodity-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}

.commodity-cell:hover {
  background: var(--bg-slate-hover);
}

.commodity-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.commodity-cell h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: #F5F2EA;
  margin: 8px 0 6px;
}

.commodity-formula {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cobalt);
  margin-bottom: 12px;
}

.commodity-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-dark);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
}

/* 4-Stage Execution & Protocol Hairline Grid */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.phase-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phase-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band-limestone .phase-num {
  color: #9A6F1A;
}

.phase-cell h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.phase-cell p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Swiss Architectural Data Tables (Vault, Licensing, Knowledge Base) */
.arch-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.arch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.arch-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
}

.band-limestone .arch-table th {
  background: var(--bg-limestone-alt);
  color: var(--ink-light);
}

.arch-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-main);
}

.arch-table td.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.arch-table tr:last-child td {
  border-bottom: none;
}

.arch-table th:last-child,
.arch-table td:last-child {
  border-right: none;
}

.arch-table tbody tr[data-spec] {
  cursor: pointer;
  transition: var(--transition);
}

.arch-table tbody tr[data-spec]:hover {
  background-color: var(--bg-limestone-alt);
}

/* 3D Plinth Optical Telemetry HUD */
.plinth-hud {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(11, 12, 14, 0.82);
  border: 1px solid var(--border-dark);
  padding: 8px 12px;
}

.plinth-hud strong {
  color: var(--gold);
  font-weight: 600;
}

/* Petrographic Blueprint Banner for Unphotographed Commodity Lots */
.lot-blueprint {
  width: 100%;
  height: 128px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #090A0C;
  background-size: 24px 24px;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  margin: 12px 0;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.lot-blueprint-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.lot-blueprint-meta strong {
  color: #F5F2EA;
  font-size: 0.72rem;
}

/* Map Coordinate Readout Strip */
.map-coord-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border-dark);
  background: #0B0C0E;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-card.flash-highlight {
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* Architectural Bottom Callout Bar */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg-slate);
}

.band-limestone .cta-strip {
  background: var(--bg-limestone-card);
}

/* ==========================================================================
   DESKTOP DEFAULTS FOR MOBILE-ONLY ELEMENTS
========================================================================== */
.nav-idx,
.nav-mobile-actions {
  display: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE REFINEMENTS)
========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .page-hero-split,
  .vault-wrapper,
  .editorial-split,
  .map-grid,
  .license-content,
  .dealroom-grid {
    grid-template-columns: 1fr;
  }

  .division-row {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .division-desc,
  .division-link-tag {
    grid-column: 2;
  }

  .division-link-tag {
    justify-self: start;
  }

  .commodity-matrix,
  .phase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-sticky {
    position: static;
  }

  .vault-stage-card,
  .nigeria-map-card,
  .license-content > div:first-child,
  .form-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card {
    border-bottom: 1px solid var(--border-dark);
  }

  .specimen-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .depth-hud {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  /* 1. Container & Vertical Section Rhythm */
  .container {
    width: calc(100% - 32px);
  }

  section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.2vw, 2.35rem);
  }

  /* 2. Mobile Navigation Header & Architectural Drawer */
  .navbar {
    height: 64px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .nav-desktop-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    background: #0B0C0E;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 28px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }

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

  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 4px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    color: var(--gold);
  }

  .nav-idx {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--gold);
    min-width: 24px;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 8px;
  }

  /* 3. Mobile Hero & Telemetry Bar */
  .hero {
    min-height: auto;
    padding: 92px 0 0;
  }

  #hero-canvas {
    width: 100%;
    height: 320px;
    top: 64px;
    opacity: 0.35;
  }

  .hero-grid {
    gap: 28px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8.8vw, 3.1rem);
    line-height: 1.03;
    margin-bottom: 18px;
  }

  .hero p.lead,
  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-ledger,
  .hero-telemetry-card {
    margin-left: 0;
    max-width: 100%;
    padding: 18px;
    border: 1px solid var(--border-dark);
    border-left: 2px solid var(--gold);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card {
    padding: 18px 14px;
    border-right: 1px solid var(--border-dark);
  }

  .metric-card:nth-child(2n) {
    border-right: none;
  }

  .metric-val {
    font-size: 1.45rem;
  }

  .metric-lbl,
  .metric-label {
    font-size: 0.64rem;
  }

  /* 4. Dedicated Page Heroes */
  .page-hero {
    padding: 96px 0 36px;
  }

  .page-hero-split {
    gap: 20px;
  }

  .page-hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-meta-cell,
  .page-meta-cell {
    padding: 12px 14px;
  }

  /* 5. Executive Divisions & Commodity Matrix */
  .division-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 18px;
  }

  .division-desc,
  .division-link-tag {
    grid-column: 1;
  }

  .division-link-tag {
    margin-top: 6px;
  }

  .commodity-matrix,
  .phase-grid,
  .kb-grid,
  .footer-grid,
  .form-row,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .commodity-cell,
  .phase-cell,
  .phase-card,
  .kb-card,
  .service-card,
  .glass-card {
    padding: 22px 18px;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 6. 3D Vault & Optical Loupe Mobile Ergonomics */
  .stage-topbar,
  .vault-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mode-btn {
    justify-content: center;
    padding: 11px 10px;
    font-size: 0.72rem;
    text-align: center;
  }

  .viewport-container {
    height: 320px;
    touch-action: none;
  }

  #loupe-lens {
    width: 148px;
    height: 148px;
  }

  .plinth-hud {
    top: 10px;
    left: 10px;
    right: 10px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .hud-pill {
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  .stage-bottombar,
  .stage-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .light-slider-wrap {
    justify-content: space-between;
    width: 100%;
  }

  input[type="range"].rox-range {
    flex: 1;
    width: auto;
  }

  .stage-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .tool-chip {
    text-align: center;
    padding: 9px 8px;
  }

  /* Touch-Scrollable Specimen Strip */
  .specimen-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 1fr);
    grid-template-columns: unset;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .specimen-pill,
  .spec-thumb {
    scroll-snap-align: start;
    padding: 14px 12px;
  }

  .vault-dossier,
  .vault-inspector {
    padding: 22px 18px;
  }

  .dossier-header h3,
  .inspector-title {
    font-size: 1.5rem;
  }

  .spec-grid,
  .prop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 7. Operations CAD Map & Corridor Selector */
  .nigeria-map-card {
    padding: 16px 12px;
  }

  .map-coord-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.64rem;
    padding: 10px 12px;
  }

  .corridor-panel,
  .corridor-detail-box {
    padding: 22px 18px;
  }

  #corridors .corridor-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  #corridors .corridor-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 11px 14px;
  }

  /* 8. Licensing Tabs & Workflow */
  .license-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .license-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 13px 16px;
    font-size: 0.74rem;
  }

  .license-content > div:first-child,
  .license-content > div:last-child,
  .license-content > div {
    padding: 22px 18px;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  /* 9. Architectural Data Tables (Sticky First Column on Mobile Scroll) */
  .arch-table th,
  .arch-table td {
    padding: 12px 12px;
    font-size: 0.8rem;
  }

  .arch-table th:first-child,
  .arch-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--bg-slate);
    border-right: 1px solid var(--border);
  }

  .band-limestone .arch-table td:first-child {
    background: var(--bg-limestone-card);
  }

  .band-limestone .arch-table th:first-child {
    background: #E8E2D5;
  }

  /* 10. Deal Room & Mobile Forms (16px inputs prevent iOS auto-zoom) */
  .form-card,
  .dossier-preview,
  .dossier-card {
    padding: 22px 18px;
  }

  .role-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-tab {
    padding: 11px 6px;
    font-size: 0.68rem;
  }

  .field input,
  .field select,
  .field textarea,
  .kb-search {
    font-size: 16px; /* Prevents iOS Safari zoom on input focus */
    padding: 12px 12px;
    min-width: 0;
    width: 100%;
  }

  .kb-controls,
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .kb-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .kb-filters .corridor-btn,
  .kb-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* 11. CTA Strip, Footer & Toast Mobile Polish */
  .cta-strip {
    padding: 24px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-strip .btn {
    width: 100%;
    justify-content: center;
  }

  footer {
    padding: 52px 0 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .hero-metrics,
  .page-hero-meta {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .page-hero-meta-cell {
    border-right: none;
  }

  .viewport-container {
    height: 270px;
  }

  .spec-grid,
  .prop-grid {
    grid-template-columns: 1fr;
  }
}
