/* =====================================================================
   Veiled Origin — Site-wide stylesheet
   Shared across every page served from veiledorigin.com.
   Page-specific overrides stay inline in each HTML <style> block.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; height: auto; }

/* ---------- Design tokens ---------- */
:root {
  --obsidian:        #0A0A0B;
  --dark-bronze:     #1A1814;
  --darker-panel:    #141319;
  --burnished-gold:  #8A7340;
  --amber:           #E89020;
  --amber-hover:     #F5A33B;
  --bone:            #E8E6E1;
  --bone-muted:      rgba(232, 230, 225, 0.7);
  --bone-dim:        rgba(232, 230, 225, 0.5);
  --line:            rgba(232, 144, 32, 0.25);
  --line-soft:       rgba(232, 230, 225, 0.1);

  --font-display:    'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:       'Space Mono', ui-monospace, Menlo, 'Courier New', monospace;
  --font-serif:      'Instrument Serif', 'Times New Roman', serif;

  --container:       1120px;
  --radius:          12px;
  --radius-sm:       6px;
}

/* ---------- Base typography ---------- */
html, body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-display);
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }
h4 { font-size: 16px; line-height: 1.4; }

p { font-size: 16px; color: var(--bone); }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hover); }

strong { font-weight: 600; color: var(--bone); }
em { font-family: var(--font-serif); font-style: italic; color: var(--amber); font-weight: 400; }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--dark-bronze);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--amber);
}

ul, ol { padding-left: 1.25em; }
li { margin-bottom: 6px; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-bar .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

.nav-owl {
  height: 28px;
  width: 28px;
}

.nav-wordmark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
}
.nav-wordmark span { color: var(--amber); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-menu li { margin: 0; }

.nav-menu a {
  font-size: 13px;
  color: var(--bone-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--bone); }
.nav-menu a.active { color: var(--amber); }

/* Products dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: " \25BE";
  font-size: 10px;
  opacity: 0.7;
}
/* Wrapper that bridges the visual gap so hover doesn't drop between parent and panel. */
.dropdown {
  position: absolute;
  top: 100%;                     /* No gap — cursor never leaves hover region */
  left: -16px;
  min-width: 220px;
  padding-top: 8px;              /* Visual spacing via transparent padding (hover-safe) */
  list-style: none;
  display: none;
  z-index: 10;
}
/* Visible panel background sits on the <li> elements inside the UL */
.dropdown li {
  background: var(--dark-bronze);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  margin: 0;
}
.dropdown li:first-child {
  border-top: 1px solid var(--line);
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
  padding-top: 4px;
}
.dropdown li:last-child {
  border-bottom: 1px solid var(--line);
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  padding-bottom: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--bone-muted);
  border-radius: var(--radius-sm);
}
.dropdown a:hover { background: rgba(232, 144, 32, 0.1); color: var(--bone); }

.nav-cta {
  background: var(--amber);
  color: var(--obsidian) !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber-hover); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--darker-panel);
}

.footer .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .footer-owl {
  height: 40px;
  width: 40px;
}

.footer-brand .footer-brand-text {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--bone-muted);
}

.footer-brand .footer-brand-text strong { color: var(--bone); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 13px;
  color: var(--bone-muted);
  border: none;
}
.footer-col a:hover { color: var(--bone); }

.footer-contact {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bone-muted);
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.05em;
}

/* ---------- Shared components ---------- */

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bone-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(232, 144, 32, 0.1);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.btn-amber, .btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-amber {
  background: var(--amber);
  color: var(--obsidian) !important;
}
.btn-amber:hover { background: var(--amber-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--bone) !important;
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber) !important; }

/* Page hero (non-landing pages) */
.page-hero {
  padding: 80px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .brand-mark {
  display: block;
  margin: 0 auto 20px;
  height: 64px;
  width: 64px;
}

.page-hero h1 { margin-bottom: 16px; }

.page-hero .sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--bone-muted);
}

/* Section wrapper */
.section {
  padding: 72px 0;
}
.section-tight {
  padding: 48px 0;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--dark-bronze);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--line); }

.card h3 {
  color: var(--bone);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--bone-muted);
  line-height: 1.55;
}

.card .card-icon {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
  display: inline-block;
}

/* Feature grid — smaller cells */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature {
  padding: 20px;
  background: var(--dark-bronze);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber);
}

.feature h4 {
  color: var(--bone);
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.feature p {
  font-size: 13px;
  color: var(--bone-muted);
  line-height: 1.5;
}

/* "How it works" 3-step */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  padding: 28px 24px;
  background: var(--dark-bronze);
  border-radius: var(--radius);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--bone);
}

.step p {
  font-size: 14px;
  color: var(--bone-muted);
  line-height: 1.55;
}

/* Screenshot placeholder — styled mock rectangle */
.screenshot-placeholder {
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--darker-panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--bone-muted);
  position: relative;
  overflow: hidden;
}

.screenshot-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(232, 144, 32, 0.04) 12px 24px
    );
  pointer-events: none;
}

.screenshot-placeholder .screenshot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  position: relative;
}

.screenshot-placeholder .screenshot-caption {
  font-size: 14px;
  color: var(--bone);
  font-weight: 600;
  position: relative;
}

.screenshot-placeholder .screenshot-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--bone-dim);
  position: relative;
}

/* FAQ */
.faq-item {
  background: var(--dark-bronze);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq-item .q {
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 6px;
  font-size: 15px;
}

.faq-item .a {
  font-size: 14px;
  color: var(--bone-muted);
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--darker-panel) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 24px;
  text-align: center;
  margin: 72px 0 0;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--bone-muted); max-width: 580px; margin: 0 auto 24px; }
.cta-band .btn-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Banner (draft warning, beta notice, etc.) */
.banner {
  background: rgba(232, 144, 32, 0.08);
  border-left: 3px solid var(--amber);
  padding: 14px 20px;
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--bone);
  border-radius: var(--radius-sm);
}
.banner strong { color: var(--amber); }

/* Back link */
.back-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 32px;
}

/* =================================================================
   Hero typography — dramatic contrast between Ops Behind (DM Sans)
   and the Veil (Instrument Serif italic, amber, bigger, dropped baseline).
   This is the signature moment of the landing page.
   ================================================================= */

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-title-a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bone);
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.hero-title-b {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--amber);
  font-size: clamp(60px, 10vw, 128px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-top: -0.08em; /* slight overlap with the line above */
  font-weight: 400;
}

/* Legacy h1 em still works on other pages (page-hero uses it) */
.page-hero h1 em,
.bio em,
p em { font-family: var(--font-serif); font-style: italic; color: var(--amber); font-weight: 400; }

/* =================================================================
   Hero entrance animation — single orchestrated reveal, staggered
   for each element. No scroll-triggered motion anywhere else on site;
   keep the rest static so this moment lands.
   ================================================================= */

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

.hero-animate > * {
  animation: heroRise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-animate .hero-brand          { animation-delay: 0.00s; }
.hero-animate .hero-lockup         { animation-delay: 0.00s; }
.hero-animate .beta-badge          { animation-delay: 0.18s; }
.hero-animate .hero-eyebrow        { animation-delay: 0.26s; }
.hero-animate .hero-title          { animation-delay: 0.34s; }
.hero-animate .hero-title-a        { animation: none; } /* parent handles */
.hero-animate .hero-title-b        { animation: none; }
.hero-animate .hero-sub            { animation-delay: 0.46s; }
.hero-animate .hero-cta-row        { animation-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .hero-animate > * { animation: none; opacity: 1; transform: none; }
}

/* =================================================================
   Contextual product-page mockups — differentiated visual assets
   per product page, replacing uniform screenshot-placeholder stripes.
   ================================================================= */

/* Side panel mockup (used on /pi-bytez hero + feature sections) */
.mockup-sidepanel {
  background: var(--obsidian);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px 16px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 144, 32, 0.08);
  position: relative;
}
.mockup-sidepanel::before {
  content: "ALPHA · demo";
  position: absolute;
  top: -1px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--amber);
  background: var(--obsidian);
  padding: 2px 8px;
  border-radius: 0 0 4px 4px;
}
.mockup-sidepanel .mockup-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 10px;
}
.mockup-sidepanel .mockup-head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}
.mockup-sidepanel .mockup-head .title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.1em;
}
.mockup-sidepanel .mockup-head .title span { color: var(--amber); }
.mockup-sidepanel .mockup-head .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--bone-muted);
}
.mockup-sidepanel .mockup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.04);
  font-family: var(--font-mono);
  font-size: 10px;
}
.mockup-sidepanel .mockup-row:last-child { border-bottom: none; }
.mockup-sidepanel .mockup-row .star {
  color: var(--amber); width: 8px;
}
.mockup-sidepanel .mockup-row .star.off { color: rgba(232, 230, 225, 0.2); }
.mockup-sidepanel .mockup-row .name {
  color: var(--bone);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-sidepanel .mockup-row .units {
  color: var(--bone-dim);
  font-size: 9px;
}
.mockup-sidepanel .mockup-row .val {
  color: var(--amber);
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

/* Workbook mockup (used on /pi-kneader) */
.mockup-workbook {
  background: #F5E6CE; /* warm beige — reads as paper/workbook */
  color: #0A0A0B;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
}
.mockup-workbook::before {
  content: "Generated · PI Builder ready";
  position: absolute;
  top: 6px; right: 10px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(10, 10, 11, 0.4);
  text-transform: uppercase;
}
.mockup-workbook .mw-title {
  background: var(--obsidian);
  color: var(--amber);
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.mockup-workbook .mw-tagline {
  background: var(--obsidian);
  color: var(--burnished-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  padding: 0 14px 10px;
}
.mockup-workbook .mw-table {
  padding: 6px 0;
}
.mockup-workbook .mw-row {
  display: grid;
  grid-template-columns: 32px 1fr 1fr 60px;
  gap: 4px;
  padding: 3px 12px;
  font-size: 9px;
  border-bottom: 1px solid rgba(10, 10, 11, 0.06);
}
.mockup-workbook .mw-row.header {
  background: var(--burnished-gold);
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-bottom: 2px solid rgba(10, 10, 11, 0.1);
}
.mockup-workbook .mw-row .amber { color: var(--amber); font-weight: 700; }
.mockup-workbook .mw-tabs {
  display: flex;
  gap: 2px;
  background: rgba(10, 10, 11, 0.08);
  padding: 4px 6px;
  border-top: 1px solid rgba(10, 10, 11, 0.12);
}
.mockup-workbook .mw-tab {
  font-size: 8px;
  padding: 3px 8px;
  background: rgba(232, 144, 32, 0.1);
  color: rgba(10, 10, 11, 0.6);
  border-radius: 3px 3px 0 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mockup-workbook .mw-tab.active {
  background: var(--amber);
  color: var(--obsidian);
  font-weight: 700;
}

/* Flow diagram mockup (used on /pi-bytez "how it works" or similar) */
.mockup-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  max-width: 720px;
  margin: 0 auto;
}
.mockup-flow .mf-node {
  padding: 18px 16px;
  min-width: 120px;
  background: var(--dark-bronze);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  position: relative;
}
.mockup-flow .mf-node .mf-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.mockup-flow .mf-node .mf-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--bone);
}
.mockup-flow .mf-arrow {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .mockup-flow { flex-direction: column; }
  .mockup-flow .mf-arrow { transform: rotate(90deg); }
}

/* Hero-scale stat band (promoted for pi-kneader above the hero headline) */
.stat-band-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  max-width: 780px;
  margin: 0 auto 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-band-top .stat-top {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--line-soft);
}
.stat-band-top .stat-top:last-child { border-right: none; }
.stat-band-top .stat-top .st-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-band-top .stat-top .st-value em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--burnished-gold);
  font-size: 0.7em;
  font-weight: 400;
  margin-left: 2px;
}
.stat-band-top .stat-top .st-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-muted);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .stat-band-top .stat-top { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .stat-band-top .stat-top:last-child { border-bottom: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--obsidian);
    border-bottom: 1px solid var(--line-soft);
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-menu.open .has-dropdown .dropdown {
    position: static;
    display: block;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 4px 0 0 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-hero { padding: 48px 20px 32px; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}
