:root {
  --ink: #090a1b;
  --paper: #fffdf4;
  --cyan: #00e5ff;
  --pink: #ff2bd6;
  --lime: #efff00;
  --green: #39ff14;
  --orange: #ff7900;
  --violet: #8b5cf6;
  --blue: #246bfd;
  --muted: #5c6075;
  --border: 3px solid var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-lg: 14px 14px 0 var(--ink);
  --radius: 0;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--pink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 4px solid #fff; box-shadow: 0 0 0 7px var(--ink); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-150%);
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: .7rem 1rem;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cyan);
  border-bottom: 4px solid var(--ink);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 0 var(--ink); }
.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 1000;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}
.brand span { font-size: 1.1rem; }
.brand-mark { flex: 0 0 auto; filter: drop-shadow(3px 3px 0 var(--ink)); }
.desktop-nav { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.desktop-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .77rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 0;
  border-bottom: 3px solid transparent;
}
.desktop-nav a:hover { border-bottom-color: var(--pink); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.05rem;
  border: 3px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .055em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.nav-cta:hover, .button:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); text-decoration: none; }
.button-dark { background: var(--ink); color: var(--lime); box-shadow: 6px 6px 0 #fff; }
.button-light { background: #fff; }
.button-pink { background: var(--pink); }
.button-orange { background: var(--orange); }
.button-cyan { background: var(--cyan); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 9px;
  background: var(--lime);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.menu-toggle span { display: block; height: 3px; margin: 4px 0; background: var(--ink); }
.mobile-nav { border-top: 3px solid var(--ink); background: var(--paper); padding: 12px 16px 20px; }
.mobile-nav a {
  display: block;
  border-bottom: 2px solid var(--ink);
  padding: 13px 4px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background: linear-gradient(125deg, var(--pink) 0 42%, var(--orange) 42% 68%, var(--lime) 68% 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; z-index: -1; }
.hero-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 70px;
  align-items: center;
}
.hero-copy h1, .page-hero h1, .article-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.25rem, 7.5vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.075em;
  text-transform: uppercase;
  font-weight: 1000;
}
.hero-copy h1 .highlight { display: inline-block; color: var(--lime); text-shadow: 5px 5px 0 var(--ink); }
.hero-copy .lede { max-width: 710px; margin: 32px 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; font-weight: 800; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: .4rem .65rem;
  border: 2px solid var(--ink);
  background: var(--cyan);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-board {
  position: relative;
  min-height: 500px;
  background: var(--ink);
  color: #fff;
  border: 4px solid var(--ink);
  box-shadow: 16px 16px 0 #fff;
  padding: 26px;
}
.hero-board:before {
  content: "LIVE SCENE MODEL";
  position: absolute;
  top: -20px;
  right: 18px;
  padding: .4rem .65rem;
  border: 2px solid var(--ink);
  background: var(--green);
  color: var(--ink);
  font-size: .67rem;
  font-weight: 1000;
  letter-spacing: .1em;
}
.board-toolbar { display: flex; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #383a4b; }
.board-toolbar span { width: 12px; height: 12px; border-radius: 999px; border: 1px solid #fff; }
.board-toolbar span:nth-child(1) { background: var(--pink); }
.board-toolbar span:nth-child(2) { background: var(--lime); }
.board-toolbar span:nth-child(3) { background: var(--cyan); }
.scene-stage { position: relative; min-height: 360px; margin-top: 28px; background: radial-gradient(circle at center, #1b1c36 0, var(--ink) 68%); overflow: hidden; }
.scene-stage:before, .scene-stage:after { content: ""; position: absolute; inset: 0; }
.scene-stage:before { background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 36px 36px; transform: perspective(320px) rotateX(60deg) scale(1.45); transform-origin: center bottom; }
.scene-line { position: absolute; height: 3px; transform-origin: left center; background: var(--green); box-shadow: 0 0 12px var(--green); z-index: 2; }
.scene-line.one { width: 42%; left: 20%; top: 36%; transform: rotate(18deg); }
.scene-line.two { width: 35%; left: 42%; top: 52%; transform: rotate(-28deg); }
.node { position: absolute; z-index: 3; display: grid; place-items: center; border: 3px solid #fff; color: var(--ink); font-size: .66rem; font-weight: 1000; letter-spacing: .06em; box-shadow: 5px 5px 0 rgba(255,255,255,.4); }
.node.camera { width: 86px; height: 86px; left: 10%; top: 20%; background: var(--orange); border-radius: 50%; }
.node.anchor { width: 104px; height: 72px; left: 43%; top: 40%; background: var(--cyan); }
.node.object { width: 86px; height: 86px; right: 8%; top: 21%; background: var(--pink); transform: rotate(7deg); }
.node.map { width: 90px; height: 62px; right: 17%; bottom: 10%; background: var(--lime); transform: rotate(-5deg); }
.board-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: #b9bbca; font: 700 .72rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; }

.logo-strip { background: var(--cyan); border-bottom: 4px solid var(--ink); }
.logo-strip-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 20px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-strip strong { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.chip { display: inline-flex; align-items: center; border: 2px solid var(--ink); background: #fff; padding: .35rem .6rem; font-size: .72rem; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); }

.section { padding: 96px 20px; border-bottom: 4px solid var(--ink); }
.section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); gap: 50px; align-items: end; margin-bottom: 54px; }
.section h2, .content-section h2, .callout h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 1000;
}
.section-head p { margin: 0; font-size: 1.12rem; font-weight: 750; }
.section-pink { background: var(--pink); }
.section-orange { background: var(--orange); }
.section-lime { background: var(--lime); }
.section-green { background: var(--green); }
.section-cyan { background: var(--cyan); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.neo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  background: #fff;
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.neo-card:hover { transform: translateY(-6px); box-shadow: 12px 14px 0 var(--ink); }
.neo-card h3 { margin: 18px 0 12px; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; font-weight: 1000; }
.neo-card p { margin: 0 0 22px; font-weight: 650; }
.neo-card .card-link { margin-top: auto; font-size: .78rem; font-weight: 1000; letter-spacing: .06em; text-transform: uppercase; }
.neo-card.cyan { background: var(--cyan); }
.neo-card.pink { background: var(--pink); }
.neo-card.lime { background: var(--lime); }
.neo-card.green { background: var(--green); }
.neo-card.orange { background: var(--orange); }
.neo-card.violet { background: #bca8ff; }
.card-number { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 50%; font-weight: 1000; box-shadow: 4px 4px 0 #fff; }

.architecture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.architecture-copy p { font-weight: 650; font-size: 1.06rem; }
.stack-diagram { padding: 22px; border: 4px solid var(--ink); background: #fff; box-shadow: var(--shadow-lg); }
.stack-row { display: grid; grid-template-columns: 100px 1fr; border: 3px solid var(--ink); margin: 14px 0; background: var(--paper); }
.stack-row strong { display: grid; place-items: center; padding: 16px 10px; border-right: 3px solid var(--ink); background: var(--cyan); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.stack-row:nth-child(2) strong { background: var(--pink); }
.stack-row:nth-child(3) strong { background: var(--lime); }
.stack-row:nth-child(4) strong { background: var(--orange); }
.stack-row p { margin: 0; padding: 16px; font-weight: 750; }

.table-wrap { overflow-x: auto; border: 4px solid var(--ink); box-shadow: var(--shadow); background: #fff; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; border: 2px solid var(--ink); text-align: left; vertical-align: top; }
.compare-table th { background: var(--ink); color: var(--lime); text-transform: uppercase; letter-spacing: .055em; font-size: .74rem; }
.compare-table td:first-child { font-weight: 950; }

.code-frame { margin: 28px 0; border: 4px solid var(--ink); background: var(--ink); color: #e9e9f2; box-shadow: var(--shadow); overflow: hidden; }
.code-label { display: inline-block; padding: .45rem .7rem; background: var(--lime); color: var(--ink); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); font-size: .68rem; font-weight: 1000; letter-spacing: .08em; }
.code-frame pre { margin: 0; padding: 24px; overflow-x: auto; font: 650 .86rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-frame code { font: inherit; }

.article-card { padding: 0; overflow: hidden; }
.article-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--ink); }
.article-card-content { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; font-size: .7rem; font-weight: 1000; letter-spacing: .06em; text-transform: uppercase; }
.article-meta a { text-decoration: none; border-bottom: 2px solid var(--ink); }
.article-card h3 { margin-top: 0; }

.faq-list { display: grid; gap: 16px; }
.faq-item { border: 4px solid var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 58px 22px 22px; font-weight: 950; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 2rem; line-height: 1; }
.faq-item[open] summary:after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 22px; max-width: 900px; }

.cta-band { padding: 96px 20px; background: linear-gradient(135deg, var(--pink), var(--orange) 32%, var(--lime) 64%, var(--cyan)); border-bottom: 4px solid var(--ink); }
.cta-box { width: min(980px, 100%); margin: 0 auto; padding: 52px; border: 4px solid var(--ink); background: rgba(255,255,255,.78); box-shadow: 16px 16px 0 var(--ink); text-align: center; backdrop-filter: blur(10px); }
.cta-box h2 { margin: 0 0 22px; font-size: clamp(2.7rem, 7vw, 6rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; font-weight: 1000; }
.cta-box p { max-width: 680px; margin: 0 auto 28px; font-size: 1.15rem; font-weight: 750; }

.page-hero { padding: 72px 20px 78px; border-bottom: 4px solid var(--ink); background: var(--pink); }
.page-hero.orange { background: var(--orange); }
.page-hero.cyan { background: var(--cyan); }
.page-hero.lime { background: var(--lime); }
.page-hero.green { background: var(--green); }
.page-hero.violet { background: #bca8ff; }
.page-hero-inner { width: min(var(--max), 100%); margin: 0 auto; }
.page-hero h1 { max-width: 1120px; font-size: clamp(3rem, 7vw, 6.6rem); }
.page-hero .lede { max-width: 850px; margin: 28px 0 0; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 760; }
.breadcrumbs { width: min(var(--max), calc(100% - 40px)); margin: 22px auto; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .78rem; font-weight: 850; }
.breadcrumbs li:not(:last-child):after { content: "→"; margin-left: 8px; }

.content-layout { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.content-main { min-width: 0; }
.content-section { margin-bottom: 64px; scroll-margin-top: 110px; }
.content-section h2 { font-size: clamp(2rem, 4vw, 3.8rem); margin-bottom: 24px; }
.content-section h3 { margin: 34px 0 12px; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.025em; }
.content-section p, .content-section li { font-size: 1.04rem; }
.content-section p { margin: 0 0 20px; }
.content-section ul, .content-section ol { padding-left: 1.25rem; }
.content-section li { margin: 10px 0; padding-left: .25rem; }
.section-lead { font-size: 1.25rem !important; font-weight: 780; }
.content-sidebar { position: sticky; top: 112px; display: grid; gap: 24px; }
.sidebar-card { border: 3px solid var(--ink); background: var(--cyan); box-shadow: var(--shadow-sm); padding: 22px; }
.sidebar-card.pink { background: var(--pink); }
.sidebar-card.lime { background: var(--lime); }
.sidebar-card h2 { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.1; text-transform: uppercase; }
.sidebar-card ul { margin: 0; padding: 0; list-style: none; }
.sidebar-card li + li { border-top: 2px solid var(--ink); }
.sidebar-card a { display: block; padding: 9px 0; font-size: .84rem; font-weight: 850; text-decoration: none; }
.callout { margin: 46px 0; padding: 32px; border: 4px solid var(--ink); background: var(--lime); box-shadow: var(--shadow); }
.callout h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); margin-bottom: 18px; }
.callout p:last-child { margin-bottom: 0; }

.article-hero { padding: 58px 20px 72px; background: var(--pink); border-bottom: 4px solid var(--ink); }
.article-hero.orange { background: var(--orange); }
.article-hero.cyan { background: var(--cyan); }
.article-hero.lime { background: var(--lime); }
.article-hero.green { background: var(--green); }
.article-hero.violet { background: #bca8ff; }
.article-hero-inner { width: min(1120px, 100%); margin: 0 auto; }
.article-hero h1 { font-size: clamp(2.85rem, 7vw, 6.5rem); }
.article-hero .article-meta { margin: 24px 0 0; font-size: .76rem; }
.article-deck { max-width: 880px; margin: 28px 0 0; font-size: 1.25rem; line-height: 1.5; font-weight: 760; }
.article-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 100px; }
.article-featured { width: min(760px, 100%); margin: 0 auto 54px; border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); }
.article-featured img { width: 100%; height: auto; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 70px; justify-content: center; align-items: start; }
.article-content { min-width: 0; }
.article-content > p:first-of-type { font-size: 1.25rem; font-weight: 750; }
.article-content p { margin: 0 0 21px; }
.article-content .content-section { margin-bottom: 54px; }
.article-content .content-section h2 { font-size: clamp(1.9rem, 3.7vw, 3.2rem); }
.article-content a { font-weight: 800; }
.source-note { margin: 50px 0; padding: 26px; border: 4px solid var(--ink); background: var(--cyan); box-shadow: var(--shadow); }
.source-note h2 { margin: 0 0 12px; font-size: 1.5rem; text-transform: uppercase; }
.source-note p { margin: 0; }
.source-note a { font-weight: 950; }
.article-side { position: sticky; top: 112px; display: grid; gap: 22px; }
.toc { border: 3px solid var(--ink); background: #fff; box-shadow: var(--shadow-sm); padding: 20px; }
.toc h2 { margin: 0 0 14px; font-size: 1rem; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.05rem; }
.toc li { margin: 7px 0; font-size: .78rem; line-height: 1.4; font-weight: 780; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list a { display: inline-flex; padding: .35rem .5rem; border: 2px solid var(--ink); background: var(--lime); box-shadow: 2px 2px 0 var(--ink); text-decoration: none; font-size: .68rem; font-weight: 950; text-transform: uppercase; }
.related-links { margin: 56px 0; padding-top: 36px; border-top: 4px solid var(--ink); }
.related-links h2 { margin: 0 0 22px; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.related-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related-link-grid a { display: block; min-height: 100%; padding: 18px; border: 3px solid var(--ink); background: var(--lime); box-shadow: var(--shadow-sm); text-decoration: none; font-weight: 900; }
.related-link-grid a:nth-child(2) { background: var(--cyan); }

.archive-hero { background: var(--orange); }
.archive-grid { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.archive-intro { max-width: 850px; margin-bottom: 42px; font-size: 1.15rem; font-weight: 700; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 50px; }
.pill-row a { padding: .5rem .75rem; border: 2px solid var(--ink); background: var(--cyan); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; font-size: .72rem; font-weight: 950; text-transform: uppercase; }

.glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.glossary-entry { border: 3px solid var(--ink); background: #fff; box-shadow: var(--shadow-sm); padding: 24px; }
.glossary-entry h2 { margin: 0 0 9px; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; }
.glossary-entry p { margin: 0; }

.contact-card { max-width: 760px; padding: 36px; border: 4px solid var(--ink); background: var(--cyan); box-shadow: var(--shadow-lg); }
.contact-card a.email { display: inline-block; margin: 12px 0 22px; font-size: clamp(1.45rem, 4vw, 2.5rem); font-weight: 1000; letter-spacing: -.04em; }
.notice { padding: 22px; border: 3px solid var(--ink); background: var(--lime); box-shadow: var(--shadow-sm); }

.sitemap-columns { columns: 3 260px; column-gap: 36px; }
.sitemap-group { break-inside: avoid; margin-bottom: 32px; }
.sitemap-group h2 { font-size: 1.35rem; text-transform: uppercase; }
.sitemap-group ul { padding-left: 1.1rem; }

.site-footer { background: #12bce8; border-top: 0; padding: 76px 20px 28px; }
.footer-grid { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { max-width: 430px; font-weight: 700; }
.site-footer h2 { margin: 0 0 18px; font-size: 1.05rem; text-transform: uppercase; border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer li a { font-size: .84rem; font-weight: 800; }
.footer-bottom { width: min(var(--max), 100%); margin: 58px auto 0; padding-top: 20px; border-top: 3px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.footer-bottom nav { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-board { width: min(680px, 100%); }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
  .article-grid { grid-template-columns: minmax(0, 760px); }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 82px; gap: 52px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 5.8rem); }
  .section { padding: 72px 20px; }
  .section-head, .architecture-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; gap: 48px; }
  .content-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .glossary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav-shell { width: min(100% - 20px, var(--max)); min-height: 70px; }
  .brand span { font-size: .98rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-grid, .logo-strip-inner, .breadcrumbs, .content-layout, .archive-grid, .article-wrap { width: min(100% - 28px, var(--max)); }
  .hero-copy h1, .page-hero h1, .article-hero h1 { letter-spacing: -.06em; }
  .hero-board { min-height: 430px; padding: 18px; box-shadow: 10px 10px 0 #fff; }
  .scene-stage { min-height: 305px; }
  .node.camera { left: 4%; }
  .node.object { right: 3%; }
  .board-caption { flex-direction: column; }
  .section-head { gap: 22px; margin-bottom: 36px; }
  .card-grid, .card-grid.four { grid-template-columns: 1fr; }
  .neo-card { padding: 23px; }
  .stack-row { grid-template-columns: 82px 1fr; }
  .page-hero, .article-hero { padding: 52px 14px 58px; }
  .content-sidebar, .article-side { grid-template-columns: 1fr; }
  .article-featured { box-shadow: 8px 8px 0 var(--ink); }
  .related-link-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 34px 20px; box-shadow: 10px 10px 0 var(--ink); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .sitemap-columns { columns: 1; }
}

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

@media print {
  .site-header, .site-footer, .article-side, .hero canvas { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .article-grid, .content-layout { display: block; width: 100%; }
  .article-featured { max-width: 45%; box-shadow: none; }
  a { text-decoration: underline; }
}
