/* ============================================================================
   ISPCQ.COM — site-v3.css
   Lane C: Klim system + Brutalist punctuation
   Replaces site-v2.css dark-physics doctrine. See SHAPE-BRIEF-2026-04-29.md.
   ============================================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  padding-top: clamp(58px, 7vw, 76px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* ---------- Tokens ---------- */
:root {
  --paper: oklch(0.97 0.008 80);
  --paper-deep: oklch(0.94 0.012 80);
  --ink: oklch(0.16 0.012 70);
  --ink-soft: oklch(0.42 0.008 70);
  --rule: oklch(0.82 0.008 80);
  --oxblood: oklch(0.34 0.13 25);
  --oxblood-deep: oklch(0.26 0.13 25);
  --saffron: oklch(0.74 0.14 70);
  --saffron-deep: oklch(0.50 0.18 55);
  --cream-on-dark: oklch(0.96 0.012 80);

  --font-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1240px;
  --container-pad: clamp(24px, 4vw, 48px);
  --section-pad: clamp(80px, 12vw, 160px);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Typography primitives ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
strong { font-weight: 700; }

/* ---------- Brand mark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: currentColor;
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: clamp(16px, 2.4vw, 24px) 0;
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(20px, 2.8vw, 36px);
  align-items: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.18s ease-out;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links a.cta { color: var(--oxblood); font-weight: 700; }
.nav-toggle { display: none; }

/* Partial nav at medium widths (unfolded foldable, iPad portrait, etc.) */
@media (max-width: 1024px) {
  .nav-links > li.medium-hide { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 8px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .nav-toggle:hover { color: var(--oxblood); }
  .nav-toggle .icon {
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;
    transform: translateY(-1px);
  }
  /* Open dropdown — vertical list of all 5 items, regardless of which were hidden inline */
  .nav-links.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: none;
    padding: 1.1rem 1.5rem 1.4rem;
    gap: 0.95rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    z-index: 60;
  }
  .nav-links.is-open > li { display: list-item !important; }
  .nav-links.is-open a {
    font-size: 0.85rem;
    letter-spacing: 0.09em;
  }
  .nav-cluster {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 28px);
  }
}

/* Tighten typography in partial-tier widths so the 3 inline items + hamburger fit cleanly */
@media (max-width: 768px) {
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 26px; height: 26px; }
  .nav-links > li > a { font-size: 0.74rem; }
  .nav-links { gap: clamp(14px, 2.4vw, 22px); }
}

/* Narrow nav (folded foldable + traditional phones) — hide ALL inline items */
@media (max-width: 480px) {
  .nav-links > li { display: none; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 22px; height: 22px; }
  .nav-toggle { font-size: 0.72rem; }
  .nav-links.is-open { min-width: 200px; padding: 1rem 1.25rem 1.2rem; }
}

/* ---------- Hero (oxblood block) ---------- */
.hero {
  background: var(--oxblood);
  color: var(--cream-on-dark);
  padding: clamp(80px, 11vw, 180px) 0 clamp(72px, 10vw, 150px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 80px,
    rgba(255, 255, 255, 0.022) 80px 160px
  );
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  color: var(--cream-on-dark);
  opacity: 0.72;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: clamp(32px, 5vw, 60px);
  max-width: 16ch;
}
.hero .lede {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  max-width: 52ch;
  margin-bottom: clamp(40px, 5vw, 64px);
  opacity: 0.94;
}
.hero .lede strong { font-weight: 700; opacity: 1; }
.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 30px;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s ease-out, background 0.18s ease-out, color 0.18s ease-out;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary {
  background: var(--cream-on-dark);
  color: var(--oxblood-deep);
  border-color: var(--cream-on-dark);
}
.btn-secondary {
  color: var(--cream-on-dark);
  background: transparent;
  border-color: var(--cream-on-dark);
}
.btn-secondary:hover {
  background: var(--cream-on-dark);
  color: var(--oxblood-deep);
}

/* ---------- Specimen strip (transition cream after oxblood) ---------- */
.specimen {
  border-bottom: 1px solid var(--rule);
}
.specimen .container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.5vw, 32px);
  padding-top: clamp(20px, 2.4vw, 28px);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.specimen span {
  display: inline-flex;
  align-items: baseline;
}
.specimen span + span::before {
  content: '·';
  margin: 0 clamp(16px, 2.5vw, 32px) 0 0;
  color: var(--rule);
}

/* ---------- Section primitives ---------- */
.section {
  padding: var(--section-pad) 0;
}
.section .eyebrow {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 22ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section .section-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink-soft);
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- The Problem (cream long-form prose) ---------- */
.section.problem .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.section.problem p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 60ch;
}
.section.problem p + p { margin-top: 1.2em; }
.section.problem strong { font-weight: 700; color: var(--ink); }
@media (max-width: 800px) {
  .section.problem .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Built in Production (named-fact callout, restyled from v2) ---------- */
.production-fact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 4vw, 64px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(40px, 5vw, 64px) 0;
}
.production-fact-header .pair {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.production-fact-header .pair span { color: var(--ink-soft); margin: 0 0.5rem; }
.production-fact-header .lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.55;
}
.production-fact dl {
  display: grid;
  grid-template-columns: 1fr;
}
.production-fact dl > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.production-fact dl > div:last-child { border-bottom: none; }
.production-fact dt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.production-fact dd {
  font-size: 1.05rem;
  font-weight: 500;
}
.production-fact dd .note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .production-fact { grid-template-columns: 1fr; gap: 32px; }
  .production-fact dl > div { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- Sovereignty (ink invert) ---------- */
.section.sovereignty {
  background: var(--ink);
  color: var(--paper);
}
.section.sovereignty .eyebrow {
  color: var(--paper);
  opacity: 0.6;
}
.section.sovereignty h2 { color: var(--paper); }
.section.sovereignty .section-lede {
  color: var(--paper);
  opacity: 0.78;
  max-width: 56ch;
}
.tenets {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 2px solid var(--paper);
}
.tenet {
  display: grid;
  grid-template-columns: clamp(80px, 9vw, 110px) 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 52px) 0;
  border-bottom: 2px solid var(--paper);
}
.tenet-num {
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  color: var(--oxblood);
  line-height: 0.9;
}
.tenet-title {
  font-weight: 900;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--paper);
}
.tenet-body {
  font-size: 1.05rem;
  color: var(--paper);
  opacity: 0.78;
  max-width: 56ch;
  line-height: 1.6;
}

/* ---------- Modules (asymmetric type-led list, NO cards) ---------- */
.section.modules .modules-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.module-row {
  display: grid;
  grid-template-columns: 6rem 1fr 1.4fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s ease-out;
}
.module-row:hover { background: var(--paper-deep); }
.module-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.4rem;
}
.module-name {
  font-weight: 900;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.module-name a {
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease-out;
}
.module-name a:hover, .module-name a:focus-visible {
  border-bottom-color: var(--oxblood);
  color: var(--oxblood);
}
.module-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-top: 0.4rem;
}
.module-body p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--ink);
  max-width: 60ch;
}
.module-body ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.module-body li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}
.module-body li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--saffron-deep);
  font-weight: 700;
}
@media (max-width: 880px) {
  .module-row { grid-template-columns: 1fr; gap: 12px; }
  .module-num { padding-top: 0; }
}

.modules-foot {
  text-align: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--rule);
  background: var(--paper-deep);
}
.modules-foot p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.modules-foot a {
  color: var(--oxblood);
  font-weight: 700;
  border-bottom: 2px solid var(--oxblood);
}

/* ---------- Cluster sub-nav (sticky horizontal, used on aelita capabilities) ---------- */
.cap-subnav {
  position: sticky;
  top: clamp(58px, 7vw, 76px);
  z-index: 40;
  background: rgba(247, 242, 233, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.cap-subnav .container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.5vw, 32px);
  padding-top: clamp(12px, 1.6vw, 18px);
  padding-bottom: clamp(12px, 1.6vw, 18px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.cap-subnav a {
  color: var(--ink-soft);
  transition: color 0.18s ease-out;
}
.cap-subnav a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .cap-subnav .container { gap: 14px; font-size: 0.68rem; }
}

/* ---------- Cluster opener (cap-cluster) ---------- */
.cap-cluster { margin-bottom: clamp(56px, 7vw, 96px); }
.cap-cluster-header { margin-bottom: clamp(32px, 4vw, 48px); }
.cap-cluster-header .eyebrow { margin-bottom: 14px; }
.cap-cluster-header h3 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 22ch;
}
.cap-cluster-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Scenario section (saffron block, full-prose, no fact list) ---------- */
.section.scenario {
  background: var(--saffron);
  color: var(--ink);
}
.section.scenario .eyebrow { color: var(--ink); opacity: 0.65; }
.section.scenario h2 { max-width: 22ch; }
.scenario-prose {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 72ch;
}
.scenario-prose p + p { margin-top: 1.4em; }
.scenario-prose strong { font-weight: 700; }

/* ---------- Inline screenshot frame (cream-paper figure with mono caption) ---------- */
.figure {
  margin: clamp(32px, 4vw, 56px) 0;
  border: 1px solid var(--rule);
  background: var(--paper-deep);
}
.figure img { width: 100%; display: block; }
.figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 18px;
  border-top: 1px solid var(--rule);
}

/* ---------- Aelita callout (saffron block) ---------- */
.section.aelita {
  background: var(--saffron);
  color: var(--ink);
}
.section.aelita .eyebrow { color: var(--ink); opacity: 0.65; }
.section.aelita h2 { max-width: 22ch; }
.aelita-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.aelita-prose {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 56ch;
}
.aelita-prose p + p { margin-top: 1.15em; }
.aelita-prose strong { font-weight: 700; }
.aelita-fact-list {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-top: 2px solid var(--ink);
}
.aelita-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
.aelita-fact-key {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  font-size: 0.72rem;
  align-self: center;
}
.aelita-fact-val { font-weight: 700; }
.aelita .cta-row { margin-top: clamp(28px, 4vw, 40px); }
.aelita .btn-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
}
@media (max-width: 800px) {
  .aelita-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact / Get demo ---------- */
.section.contact {
  background: var(--paper-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-grid h2 { max-width: 16ch; }
.contact-prose {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
  color: var(--ink-soft);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.contact-prose strong { color: var(--ink); font-weight: 700; }
.contact .cta-row { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); }
.contact .btn-primary {
  background: var(--oxblood);
  color: var(--cream-on-dark);
  border-color: var(--oxblood);
}
.contact .btn-primary:hover {
  background: var(--oxblood-deep);
  border-color: var(--oxblood-deep);
}
.contact .btn-secondary {
  color: var(--ink);
  border-color: var(--ink);
}
.contact .btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.contact-detail {
  border-left: 1px solid var(--rule);
  padding-left: clamp(28px, 3vw, 48px);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.contact-detail h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.contact-detail-row { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail a { color: var(--ink); border-bottom: 1px solid var(--ink-soft); }
.contact-detail a:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-detail { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: clamp(28px, 3vw, 48px); }
}

/* ---------- Footer (ink) ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px);
  border-top: 4px solid var(--oxblood);
}
footer.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
footer.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.6;
  margin-bottom: 18px;
}
footer.site-footer ul { list-style: none; display: grid; gap: 10px; }
footer.site-footer a { color: var(--paper); font-size: 0.95rem; }
footer.site-footer a:hover { color: var(--oxblood); }
.footer-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--paper);
}
.footer-mark .brand-mark { color: var(--oxblood); }
.footer-tagline {
  color: var(--paper);
  opacity: 0.7;
  font-size: 0.95rem;
  max-width: 32ch;
  line-height: 1.5;
}
.footer-meta {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.55;
}
@media (max-width: 800px) {
  footer.site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  footer.site-footer .container { grid-template-columns: 1fr; }
}

/* ---------- Focus rings (a11y) ---------- */
:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .hero::before, .section.aelita, footer.site-footer { background: white !important; color: black !important; }
  .hero { background: white !important; color: black !important; }
}
