/* =====================================================================
   NSRA brand layer — loaded after global.css.
   Colors come from theme settings (config/settings_data.json):
     --clr-primary  Deep Space Navy  #0B1B3A
     --clr-accent   Rocket Orange    #FF5A1F
     --clr-light    Starlight White  #F5F7FA  (also --page-bg)
     --clr-muted    Moon Gray        #8A94A6
   Fonts: --ff-heading (geometric sans), --ff-body (readable sans),
          --ff-mono (mission data / SKUs).
   ===================================================================== */

:root {
  --nsra-navy: var(--clr-primary, #0B1B3A);
  --nsra-orange: var(--clr-accent, #FF5A1F);
  --nsra-white: var(--clr-light, #F5F7FA);
  --nsra-gray: var(--clr-muted, #8A94A6);
  --nsra-heading-tracking: 0.08em;
}

body {
  background-color: var(--page-bg, var(--nsra-white));
  color: var(--clr-body, var(--nsra-navy));
  font-family: var(--ff-body);
}

/* ── Headings: geometric, uppercase, wide-spaced ─────────────────── */
h1, h2, h3, h4, h5, h6,
.text-h1, .text-h2, .text-h3, .text-h4, .text-h5, .text-h6 {
  font-family: var(--ff-heading);
  text-transform: uppercase;
  letter-spacing: var(--nsra-heading-tracking);
}
h1, .text-h1 { letter-spacing: 0.06em; }
h5, .text-h5, h6, .text-h6 { letter-spacing: 0.14em; }

/* ── Secondary text ──────────────────────────────────────────────── */
.text-gray,
.text-muted,
.caption,
.text-caption { color: var(--nsra-gray); }

/* ── Mission data / SKUs ─────────────────────────────────────────── */
.mono,
.mission-data,
.sku,
[data-sku] {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mission-data { color: var(--nsra-gray); }

/* ── Buttons: Rocket Orange ──────────────────────────────────────── */
button,
.btn {
  background-color: var(--nsra-orange);
  border-color: var(--nsra-orange);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
}
button.btn-bg-primary,
.btn.btn-bg-primary,
a.btn.btn-bg-primary,
a.btn-bg-primary,
.checkout-btn {
  background-color: var(--nsra-orange);
  border-color: var(--nsra-orange);
  color: #fff;
}
.btn-hover-darken:hover,
button:hover,
.btn:hover { opacity: 0.92; }

/* Focus ring in brand accent */
button:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--nsra-orange);
}

/* Selection */
::selection { background: var(--nsra-orange); color: #fff; }

/* ── Wordmark ────────────────────────────────────────────────────── */
.nsra-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.32em;
  color: currentColor;
  text-transform: uppercase;
  white-space: nowrap;
}
.nsra-wordmark__a {
  position: relative;
  display: inline-block;
  letter-spacing: 0;
  isolation: isolate;
}
.nsra-wordmark__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.9em;
  height: 1.05em;
  transform: translate(-54%, -50%);
  overflow: visible;
  pointer-events: none;
}
.nsra-wordmark__ring--back { z-index: -1; }
.nsra-wordmark__ring--front { z-index: 1; }
.nsra-wordmark__ring ellipse,
.nsra-wordmark__ring path {
  fill: none;
  stroke: var(--nsra-orange);
  stroke-width: 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.nsra-wordmark__ring--back ellipse { stroke-width: 2.25; }
.nsra-wordmark__ring--front path { stroke-width: 2.25; }

/* ── Header / Payload button ─────────────────────────────────────── */
.cart-btn { gap: 8px; }
.cart-btn__label {
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (max-width: 575px) {
  .cart-btn__label { display: none; }
}
.nav .primary-menu a,
.navbar-mobile-menu a {
  font-family: var(--ff-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

/* ── Footer parody disclaimer ────────────────────────────────────── */
.nsra-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  font-family: var(--ff-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--nsra-gray);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.nsra-disclaimer strong {
  color: var(--nsra-orange);
  font-weight: 700;
  white-space: nowrap;
}
