:root {
  --bg-void: #05070b;
  --bg-obsidian: #0a0e16;
  --bg-card: #0f1521;
  --bg-card-hover: #141c2c;
  --bg-elevated: #182235;
  --bg-glass: rgba(12, 17, 27, 0.85);

  --gold-primary: #cba86b;
  --gold-light: #e5cb99;
  --gold-dim: rgba(203, 168, 107, 0.16);
  --gold-border: rgba(203, 168, 107, 0.35);

  --cyan-hud: #38bdf8;
  --cyan-dim: rgba(56, 189, 248, 0.12);
  --emerald-ok: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --amber-warn: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.14);
  --rose-alert: #f43f5e;

  --text-primary: #f3f5f8;
  --text-secondary: #9ba6b8;
  --text-muted: #647187;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-luxury: 0 24px 60px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(203, 168, 107, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.05) 0%, transparent 45%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Top Avionics Telemetry Bar */
.telemetry-bar {
  background: #030508;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 8px 0;
}

.telemetry-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.telemetry-left, .telemetry-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-ok);
  box-shadow: 0 0 10px var(--emerald-ok);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

.telemetry-highlight {
  color: var(--gold-light);
}

/* Sticky Luxury Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(203, 168, 107, 0.22), rgba(203, 168, 107, 0.04));
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  margin-top: 4px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
}

.nav-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  margin-left: 5px;
}

.nav-badge.cyan {
  background: var(--cyan-dim);
  color: var(--cyan-hud);
  border-color: rgba(56, 189, 248, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  background: #111827;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, #d7b77e 0%, #b68f4c 100%) !important;
  color: #06080d !important;
  border-color: transparent !important;
  box-shadow: 0 8px 25px rgba(203, 168, 107, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e5c996 0%, #c8a15e 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(203, 168, 107, 0.38);
}

.btn-cyan {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: var(--cyan-hud) !important;
}

.btn-cyan:hover {
  background: rgba(56, 189, 248, 0.24) !important;
  border-color: var(--cyan-hud) !important;
  color: #fff !important;
}

.btn-outline {
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #f8fafc !important;
  font-weight: 600 !important;
  -webkit-appearance: none;
  appearance: none;
}

.btn-outline:hover {
  background: #1e293b !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-light) !important;
  transform: translateY(-1px);
}

.btn-danger,
.btn-outline[style*="rose-alert"],
button[onclick*="delete"],
button[onclick*="remove"] {
  background: rgba(244, 63, 94, 0.16) !important;
  border: 1px solid rgba(244, 63, 94, 0.6) !important;
  color: #fecdd3 !important;
  font-weight: 700 !important;
}

.btn-danger:hover,
.btn-outline[style*="rose-alert"]:hover,
button[onclick*="delete"]:hover,
button[onclick*="remove"]:hover {
  background: #e11d48 !important;
  border-color: #f43f5e !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 14px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.75rem;
}

.btn-xs {
  padding: 5px 10px;
  font-size: 0.69rem;
  font-family: var(--font-mono);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 74px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 610px;
  margin-bottom: 34px;
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.metric-value span {
  color: var(--gold-primary);
}

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

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
  box-shadow: var(--shadow-luxury);
}

.hero-img-wrap {
  position: relative;
  height: 390px;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) brightness(0.92);
  transition: transform 0.8s ease;
}

.hero-showcase-card:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.25) 0%, rgba(5, 7, 11, 0.1) 45%, rgba(10, 14, 22, 0.96) 100%);
}

.hud-badge-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hud-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.hud-tag.gold {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.hero-card-footer {
  padding: 22px 26px 26px;
  background: linear-gradient(180deg, rgba(15, 21, 33, 0.95), #0b101a);
}

.hero-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.hero-jet-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
}

.hero-jet-sn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-jet-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-specs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

.spec-mini-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-mini-val {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 2px;
}

/* Section Headers */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 10px;
  font-size: 0.98rem;
}

/* Filter & Control Bar */
.inventory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

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

.filter-pill {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 15px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--gold-dim);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

/* Inventory Grid & Cards */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.jet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.jet-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.jet-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #060911;
}

.jet-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Hero Flagship & Sold Ribbons & Status Badges */
.jet-card.is-hero {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
  position: relative;
}

.jet-card.is-hero:hover {
  border-color: var(--gold-light);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 32px rgba(212, 175, 55, 0.32);
}

.jet-card-hero-banner {
  position: absolute;
  top: 18px;
  left: -32px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
  color: #0b111d;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 34px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  z-index: 12;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.badge-status.gold {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: var(--gold) !important;
  color: var(--gold-light) !important;
  font-weight: 700 !important;
}

.jet-card.is-sold {
  opacity: 0.94;
}

.jet-card.is-sold .jet-card-media img {
  filter: grayscale(18%);
}

.jet-card-sold-banner {
  position: absolute;
  top: 20px;
  right: -34px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 38px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
  z-index: 12;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.badge-status.sold {
  background: rgba(239, 68, 68, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #fca5a5 !important;
  font-weight: 700 !important;
}

.jet-card:hover .jet-card-media img {
  transform: scale(1.05);
}

.jet-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.badge-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.badge-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.badge-status.secondary {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--cyan-hud);
}

.badge-status.gold {
  background: rgba(203, 168, 107, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.jet-reg-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(5, 7, 11, 0.82);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}

.jet-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jet-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.jet-title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.2;
}

.jet-price {
  font-family: var(--font-mono);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
}

.jet-meta-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.jet-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.telem-cell {
  display: flex;
  flex-direction: column;
}

.telem-k {
  font-size: 0.61rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.telem-v {
  font-size: 0.81rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 2px;
}

.jet-highlights {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.jet-highlights li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 7px;
  padding-left: 16px;
  position: relative;
}

.jet-highlights li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

.jet-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.compare-toggle:hover {
  border-color: var(--cyan-hud);
  color: var(--text-primary);
}

.compare-toggle.selected {
  border-color: var(--cyan-hud);
  color: var(--cyan-hud);
  background: var(--cyan-dim);
}

/* ============================================================================
   UPGRADED INTERACTIVE GEODESIC RANGE EXPLORER (ACTUAL WORLD MAP)
   ============================================================================ */
.mission-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.mission-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 670px;
  overflow-y: auto;
  padding-right: 4px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.control-label {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.hub-btn, .ac-mission-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  gap: 12px;
  min-height: 38px;
}

.ac-mission-btn span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.ac-mission-btn .icao-code {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-hud);
}

.hub-btn:hover, .ac-mission-btn:hover {
  border-color: var(--border-strong);
}

.hub-btn.active {
  border-color: var(--gold-primary);
  background: var(--gold-dim);
  color: var(--gold-light);
}

.ac-mission-btn.active {
  border-color: var(--cyan-hud);
  background: var(--cyan-dim);
  color: var(--text-primary);
}

.icao-code {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-muted);
}

.mission-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
}

.mission-select:focus {
  border-color: var(--gold-primary);
}

.mission-map-stage {
  background: #040812;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 640px;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(8, 12, 20, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 20;
}

.map-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 14px;
  height: 4px;
  border-radius: 2px;
}

.map-controls-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-ctrl-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.map-ctrl-btn:hover, .map-ctrl-btn.active {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: var(--gold-dim);
}

.real-map-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 470px;
  background: #040914;
  overflow: hidden;
}

#mission-leaflet-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #040914;
}

#mission-geo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: grab;
}

#mission-geo-canvas:active {
  cursor: grabbing;
}

.map-floating-hud {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 15;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-secondary);
  pointer-events: none;
  max-width: 340px;
}

.mission-readout-bar {
  background: rgba(10, 14, 22, 0.96);
  border-top: 1px solid var(--border-subtle);
  padding: 15px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  font-family: var(--font-mono);
  z-index: 20;
}

.city-pair-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px;
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.route-pill {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
}

.route-pill:hover, .route-pill.selected {
  border-color: var(--cyan-hud);
  background: var(--cyan-dim);
}

.route-pill.nonstop {
  border-left: 3px solid var(--emerald-ok);
}

.route-pill.techstop {
  border-left: 3px solid var(--amber-warn);
}

/* ============================================================================
   JET SHOPPER & UPGRADE ADVISOR PAGE STYLES (shopper.html)
   ============================================================================ */
.shopper-profile-bar {
  background: linear-gradient(90deg, rgba(15, 22, 36, 0.96) 0%, rgba(20, 29, 47, 0.96) 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 12px 0;
}

.shopper-profile-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.profile-status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.shopper-signin-card {
  background: linear-gradient(145deg, #101726 0%, #090d16 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-luxury);
}

.shopper-workspace-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

.shopper-workspace-grid .inventory-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.shopper-workspace-grid .jet-card-media {
  height: 155px;
}

.shopper-workspace-grid .jet-card-body {
  padding: 16px;
}

.profiler-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 115px);
  overflow-y: auto;
}

.profiler-step {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.profiler-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.current-jet-mini-card {
  margin-top: 12px;
  padding: 14px;
  background: var(--bg-obsidian);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
}

.priority-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.priority-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
}

.priority-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.priority-chip.active {
  background: var(--gold-dim);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.range-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

input[type="range"].luxury-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  outline: none;
}

input[type="range"].luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  border: 2px solid #05070b;
}

/* Shopper Mode Tabs */
.shopper-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.shopper-tab-btn {
  flex: 1;
  min-width: 190px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shopper-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.shopper-tab-btn.active {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Match Score Badge & Delta Pills */
.match-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #6ee7b7;
}

.match-score-badge.high {
  background: rgba(203, 168, 107, 0.22);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.delta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.delta-pill {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
}

.delta-pill.pos {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.delta-pill.warn {
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.delta-pill.neutral {
  color: var(--cyan-hud);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.rationale-box {
  background: rgba(203, 168, 107, 0.07);
  border-left: 3px solid var(--gold-primary);
  padding: 11px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.83rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Comparison Table Enhancements */
.comparison-matrix-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.matrix-table th, .matrix-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.85rem;
}

.matrix-table td .btn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.matrix-table .btn-outline {
  background: #141c2c;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
  font-weight: 600;
}

.matrix-table .btn-outline:hover {
  background: #1e293b;
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.matrix-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-obsidian);
}

.matrix-table td.metric-col {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  width: 210px;
  background: rgba(10, 14, 22, 0.5);
}

.matrix-table td.baseline-col {
  background: rgba(203, 168, 107, 0.05);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
}

/* Directory Filter Bar */
.directory-filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 12px;
  align-items: end;
}

/* 30+ Years Heritage & Advisory Section */
.heritage-banner {
  background: linear-gradient(135deg, #0d1320 0%, #080b12 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

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

.pillar-card {
  background: rgba(5, 7, 11, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--gold-border);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline on About Page */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 24px;
}

.timeline-era {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.timeline-copy {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Comparison Sticky Bar */
.compare-drawer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 150;
  background: rgba(12, 17, 28, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-drawer.visible {
  transform: translateX(-50%) translateY(0);
}

.compare-slots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-chip button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 5, 9, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-luxury);
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-obsidian);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table td {
  padding: 10px 6px;
}

.spec-table td:first-child {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.spec-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--text-primary);
}

/* Inquiry Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

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

/* Footer */
.site-footer {
  padding: 64px 0 44px;
  background: #030508;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

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

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* Leaflet Dark Overrides */
.leaflet-container {
  background: #040914 !important;
  font-family: var(--font-mono) !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: #0c121e !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--gold-border) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.75) !important;
}

@media (max-width: 1080px) {
  .hero-grid, .heritage-grid, .mission-layout, .dossier-grid, .timeline-grid, .footer-grid, .shopper-workspace-grid, .directory-filter-bar {
    grid-template-columns: 1fr;
  }
  .profiler-panel {
    position: static;
    max-height: none;
  }
  .mission-readout-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
}

/* ============================================================================
   TEST SITE BANNER, WATERMARK, NEWSLETTER BAR & BACKEND ADMIN PORTAL STYLES
   ============================================================================ */
.test-site-ribbon {
  background: linear-gradient(90deg, #7c2d12 0%, #9a3412 50%, #7c2d12 100%);
  border-bottom: 1px solid #f97316;
  color: #ffedd5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 7px 0;
  position: relative;
  z-index: 300;
}

.test-ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.test-env-badge {
  background: #f97316;
  color: #05070b;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.test-admin-link {
  background: rgba(5, 7, 11, 0.55);
  border: 1px solid rgba(253, 186, 116, 0.55);
  color: #fed7aa;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.test-admin-link:hover {
  background: #05070b;
  color: #fff;
}

.test-floating-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 250;
  background: rgba(154, 52, 18, 0.92);
  border: 1px solid #fb923c;
  color: #ffedd5;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 99px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.newsletter-signup-strip {
  background: linear-gradient(135deg, #0d1526 0%, #070b14 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--border-subtle);
  padding: 44px 0;
}

.newsletter-strip-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.newsletter-inline-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr auto;
  gap: 10px;
}

.newsletter-inline-form input, .newsletter-inline-form select {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* Admin Portal Specific Layout */
.admin-login-overlay {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.admin-login-box {
  max-width: 520px;
  width: 100%;
  background: linear-gradient(155deg, #101829 0%, #080c15 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-luxury);
}

.admin-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin-bottom: 26px;
}

.admin-tab-btn {
  flex: 1;
  min-width: 170px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
}

.admin-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.active {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.admin-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.photo-dropzone {
  border: 2px dashed var(--gold-border);
  background: rgba(203, 168, 107, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.photo-dropzone:hover {
  border-color: var(--gold-primary);
  background: rgba(203, 168, 107, 0.11);
}

.photo-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.photo-thumb-item {
  position: relative;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #05070b;
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-actions {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 11, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.photo-thumb-item:hover .photo-thumb-actions {
  opacity: 1;
}

.email-harness-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

.email-preview-frame {
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

@media (max-width: 1024px) {
  .newsletter-strip-grid, .newsletter-inline-form, .admin-kpi-grid, .email-harness-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   DUAL ACQUISITION SPOTLIGHT & AIRFRAME OMNISEARCH STYLES
   ============================================================================ */
.shopper-dual-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-card:hover {
  transform: translateY(-2px);
}

.spotlight-card.market {
  border-color: rgba(203, 168, 107, 0.45);
  box-shadow: 0 10px 30px rgba(203, 168, 107, 0.08);
}

.spotlight-card.showroom {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.08);
}

.spotlight-card.direct-match {
  grid-column: 1 / -1;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.12);
}

.spotlight-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-obsidian);
  border-bottom: 1px solid var(--border-subtle);
}

.spotlight-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spotlight-tag.gold {
  color: var(--gold-light);
}

.spotlight-tag.cyan {
  color: var(--cyan-hud);
}

.spotlight-tag.emerald {
  color: #6ee7b7;
}

.spotlight-media {
  position: relative;
  height: 160px;
  max-height: 160px;
  overflow: hidden;
}

.spotlight-card.direct-match .spotlight-hero-grid {
  grid-template-columns: 280px 1fr !important;
}

.spotlight-card.direct-match .spotlight-media {
  height: 100% !important;
  min-height: 160px !important;
  max-height: 200px !important;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.spotlight-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spotlight-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.spotlight-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.spotlight-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.spotlight-rationale {
  background: var(--bg-obsidian);
  border-left: 3px solid var(--gold-primary);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.spotlight-card.showroom .spotlight-rationale {
  border-left-color: var(--cyan-hud);
}

.spotlight-card.direct-match .spotlight-rationale {
  border-left-color: #10b981;
}

.spotlight-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.spotlight-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Omni Search Bar in Shopper Tab */
.shopper-omni-search {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.omni-search-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.omni-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.omni-search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}

.omni-search-input-wrap input:focus {
  border-color: var(--gold-primary);
  outline: none;
}

.omni-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1.1rem;
}

.omni-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.omni-chip {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.omni-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.omni-chip.active {
  background: rgba(203, 168, 107, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
}

@media (max-width: 900px) {
  .shopper-dual-spotlight {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   USER AUTHENTICATION, DROPDOWN & AUTH MODAL
   ============================================================================ */

.user-profile-menu-container {
  position: relative;
  display: inline-block;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203, 168, 107, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-trigger:hover {
  background: rgba(203, 168, 107, 0.18);
  border-color: var(--gold-primary);
  color: #fff;
}

.user-icon-dot {
  color: var(--emerald-ok);
  font-size: 0.72rem;
  line-height: 1;
}

.user-display-name {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
}

.user-dropdown-caret {
  font-size: 0.68rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.user-header-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  padding: 12px;
  z-index: 250;
  animation: fadeIn 0.15s ease-out;
}

.user-dropdown-info {
  padding: 6px 8px 10px;
}

.user-dropdown-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-email {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.user-dropdown-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.user-dropdown-action:hover {
  background: rgba(203, 168, 107, 0.12);
  color: var(--gold-light);
}

.user-dropdown-action.user-logout-btn {
  color: #ff858d;
}

.user-dropdown-action.user-logout-btn:hover {
  background: rgba(224, 86, 96, 0.12);
  color: #ffa1a7;
}

/* Auth Modal Specifics */
.auth-modal-window {
  max-width: 460px;
  padding: 28px 30px;
  background: linear-gradient(180deg, #121927 0%, #0a0e17 100%);
  border: 1px solid var(--gold-border);
  position: relative;
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.auth-modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.auth-modal-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.auth-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.auth-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-primary);
  font-weight: 600;
}

.auth-tab-btn:hover:not(.active) {
  color: var(--text-secondary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-form input {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  padding: 10px 12px;
  transition: border-color 0.18s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.auth-error-msg {
  background: rgba(224, 86, 96, 0.12);
  border: 1px solid rgba(224, 86, 96, 0.35);
  color: #ff9da4;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
}

.auth-success-msg {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
}

.auth-switch-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.auth-switch-note a {
  color: var(--gold-light);
  text-decoration: underline;
  cursor: pointer;
}

.auth-modal-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.auth-admin-link,
.footer-admin-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.auth-admin-link:hover,
.footer-admin-link:hover {
  opacity: 1;
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-admin-fineprint {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-left: 10px;
}

/* ============================================================================
   V7 REFINEMENT LAYER — tighter chrome, calmer buttons, mobile navigation,
   legible photo badges, focus states and motion polish. Same palette and type.
   ============================================================================ */
:root {
  --header-h: 68px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hairline-gold: linear-gradient(90deg, transparent, rgba(203, 168, 107, 0.6), transparent);
  --ring-gold: 0 0 0 3px rgba(203, 168, 107, 0.18);
}

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-color: #243047 var(--bg-void);
}

::selection {
  background: rgba(203, 168, 107, 0.32);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: #1f2a3f;
  border-radius: 99px;
  border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover { background: #33415c; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--gold-primary) !important;
  box-shadow: var(--ring-gold);
}

img { max-width: 100%; }

/* --- Test-site chrome: present, but quiet --- */
.test-site-ribbon {
  padding: 4px 0;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #4a1d0c 0%, #6b2a10 50%, #4a1d0c 100%);
  border-bottom-color: rgba(249, 115, 22, 0.55);
}
.test-ribbon-inner > div {
  flex-wrap: nowrap !important;
  min-width: 0;
  width: 100%;
}
.test-ribbon-inner > div > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
}
.test-env-badge {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 1px 7px;
  border-radius: 3px;
}
.test-floating-pill {
  pointer-events: none;
  bottom: 14px;
  right: 14px;
  padding: 5px 11px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  background: rgba(74, 29, 12, 0.72);
  border-color: rgba(251, 146, 60, 0.5);
  color: #fed7aa;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* --- Telemetry bar --- */
.telemetry-bar {
  padding: 6px 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.telemetry-inner { flex-wrap: nowrap; gap: 18px; }
.telemetry-left, .telemetry-right { min-width: 0; white-space: nowrap; }
.telemetry-left { overflow: hidden; flex: 1 1 0; }
.telemetry-right { flex-shrink: 0; }
.telemetry-pill { min-width: 0; }
.telemetry-pill > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.pulse-dot { flex-shrink: 0; width: 6px; height: 6px; }

/* --- Header --- */
.site-header {
  background: rgba(8, 11, 18, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--hairline-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(6, 8, 13, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.site-header.is-scrolled::after { opacity: 1; }

.nav-inner { height: var(--header-h); }
.brand-logo { flex-shrink: 0; gap: 12px; }
.brand-emblem {
  width: 38px;
  height: 38px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}
.brand-logo:hover .brand-emblem { transform: rotate(-8deg) scale(1.04); border-color: var(--gold-light); }
.brand-name { font-size: 1.42rem; letter-spacing: 0.14em; }
.brand-domain { font-size: 0.58rem; letter-spacing: 0.24em; opacity: 0.85; }

.nav-links { gap: 30px; }
.nav-link {
  font-size: 0.84rem;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active::after { height: 1px; bottom: 0; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), background 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { transform: translateY(-5px); }
.nav-toggle span::after { transform: translateY(5px); }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

/* --- Buttons --- */
.btn {
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease,
              transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: translateY(0) scale(0.985) !important; }
.btn-sm { padding: 8px 14px; font-size: 0.72rem; }
.btn-xs { border-radius: 6px; }

.btn-gold {
  background: linear-gradient(135deg, #e0c48d 0%, #c29b58 55%, #a9813f 100%) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 22px rgba(203, 168, 107, 0.2);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ecd5a6 0%, #cfa966 55%, #b48b47 100%) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 12px 30px rgba(203, 168, 107, 0.34);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.btn-outline:hover {
  background: rgba(203, 168, 107, 0.09) !important;
}
.btn-cyan {
  background: rgba(56, 189, 248, 0.09) !important;
  border-color: rgba(56, 189, 248, 0.38) !important;
}

/* --- Hero --- */
.hero { padding: clamp(48px, 6.5vw, 88px) 0 clamp(44px, 5vw, 72px); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-grid { gap: clamp(28px, 4vw, 56px); }
.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  padding: 5px 13px;
  background: rgba(203, 168, 107, 0.08);
  border-color: rgba(203, 168, 107, 0.28);
  max-width: 100%;
}
.hero-title {
  text-wrap: balance;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.hero-subtitle { text-wrap: pretty; }
.hero-metrics { gap: 0; }
.metric-item { padding: 0 18px; border-left: 1px solid var(--border-subtle); }
.metric-item:first-child { padding-left: 0; border-left: 0; }
.metric-label { font-size: 0.64rem; letter-spacing: 0.12em; line-height: 1.5; }

.hero-showcase-card {
  border-radius: 20px;
  border-color: rgba(203, 168, 107, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hero-showcase-card:hover {
  border-color: rgba(203, 168, 107, 0.55);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(203, 168, 107, 0.08);
}
.hero-img-wrap { height: clamp(220px, 27vw, 380px); }
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.hero-showcase-card:hover .hero-img-wrap img { transform: scale(1.04); }
.hud-badge-top { gap: 8px; flex-wrap: wrap; }
.hud-tag { font-size: 0.64rem; padding: 5px 10px; }
.hero-card-title-row { gap: 14px; flex-wrap: wrap; }

/* --- Sections --- */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-title { text-wrap: balance; letter-spacing: -0.012em; }
.section-desc { text-wrap: pretty; }

/* --- Showroom controls & cards --- */
.inventory-controls {
  padding: 10px 12px;
  background: rgba(10, 14, 22, 0.7);
  border-radius: 14px;
}
.filter-pill { padding: 7px 14px; font-size: 0.78rem; }
.filter-pill.active { box-shadow: 0 0 0 1px rgba(203, 168, 107, 0.25), 0 6px 18px rgba(203, 168, 107, 0.1); }
.sort-select { border-radius: 8px; border-color: var(--border-subtle); }

.inventory-grid { gap: 24px; }
.jet-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #111827 0%, var(--bg-card) 38%);
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}
.jet-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: var(--hairline-gold);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 13;
  pointer-events: none;
}
.jet-card:hover::before { opacity: 1; }
.jet-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55); }
.jet-card-media { height: 200px; }
.jet-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.5) 0%, transparent 34%, transparent 58%, rgba(15, 21, 33, 0.85) 100%);
  pointer-events: none;
}
.jet-card-media img { transition: transform 0.9s var(--ease-out); }
.jet-card-badges, .jet-reg-pill { z-index: 2; }
.badge-cat, .badge-status {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Status text sat directly on the photo and was unreadable on bright frames. */
.badge-status,
.badge-status.secondary,
.badge-status.gold,
.badge-status.sold {
  background: rgba(5, 7, 11, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.jet-card-body { padding: 22px 22px 20px; }
.jet-title { font-size: 1.42rem; }
.jet-price { font-size: 0.98rem; padding-top: 4px; }
.jet-telemetry-grid { border-radius: 10px; background: rgba(5, 7, 11, 0.5); }
.telem-k { letter-spacing: 0.08em; }
.jet-card-actions .btn:first-child { flex: 1; }

/* --- Forms --- */
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field { min-width: 0; }
.form-field.full > * { flex-wrap: wrap; min-width: 0; }

/* --- Footer --- */
.site-footer { position: relative; }
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--hairline-gold);
  opacity: 0.6;
}
.footer-links a { transition: color 0.2s ease, padding-left 0.25s var(--ease-out); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

/* --- Scroll reveal (class is only applied by JS, so no-JS still shows everything) --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Tablet & phone --- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 28px 14px;
    background: #06080d;
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0.25s;
  }
  .site-header.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links .nav-link {
    padding: 15px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links .nav-link:last-child { border-bottom: 0; }
  .nav-links .nav-link::after { display: none; }
  .nav-links .nav-link.active { color: var(--gold-light); }
  .hero-img-wrap { height: clamp(220px, 46vw, 420px); }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .nav-links { padding: 4px 18px 12px; }
  .telemetry-left > span:not(.telemetry-pill),
  .telemetry-right > *:not(:last-child) { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions > .btn { display: none; }
  .btn { white-space: normal; text-align: center; }
  .hero-cta-row { gap: 10px; margin-bottom: 32px; }
  .hero-cta-row .btn { flex: 1 1 100%; }
  .eyebrow { white-space: normal; line-height: 1.5; border-radius: 10px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .metric-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-specs-strip { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .section-header { margin-bottom: 28px; }
  .inventory-controls { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
  }
  .inventory-controls > * { min-width: 0; }
  .sort-select { flex: 1; min-width: 0; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
  .sort-box { justify-content: space-between; }
  .inventory-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .form-field.full, .form-field.full > * { flex-wrap: wrap; white-space: normal; min-width: 0; }
  .form-field.full { grid-column: auto; }
  .footer-grid { gap: 28px; }
  .test-floating-pill { display: none !important; }
}

@media (max-width: 420px) {
  .brand-domain { display: none; }
  .brand-name { font-size: 1.25rem; }
  .jet-telemetry-grid { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
}
