:root {
  --black: #070909;
  --background: #0d1010;
  --surface: #121515;
  --surface-2: #181b1b;
  --surface-3: #222626;
  --line: #343a3a;
  --line-bright: #586060;
  --text: #f0f1ee;
  --muted: #aeb4af;
  --green: #ff5a1f;
  --green-soft: #ffb59e;
  --hunter-orange: #ff5a1f;
  --hunter-orange-soft: #ffb59e;
  --header-height: 96px;
  --page-pad: clamp(20px, 3vw, 42px);
  --section-pad: clamp(76px, 9vw, 132px);
  --display: "Anton", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

/* -------------------------------------------------------------------------
   HUNTER // EDITORIAL INVERSION
   The dossier mockups use a binary black / paper-white rhythm, hard rules,
   Anton headlines, mono system labels and Hunter Orange as the signal.
   ------------------------------------------------------------------------- */
:root {
  --void: #090a0a;
  --paper: #fffefd;
  --paper-warm: #f3f0eb;
  --ink: #090a0a;
  --ink-soft: #36302e;
  --rule: #312b28;
  --rule-light: #c8c2bd;
  --hunter-orange: #ff5a1f;
  --green: #ff5a1f;
  --green-soft: #ffb59e;
  --signal-green: #4ae176;
  --warm-white: #f9e7e1;
  --muted: #a9958e;
  --line: #3b302c;
  --line-bright: #70564c;
  --background: var(--void);
  --surface: #180b07;
  --surface-2: #271813;
  --surface-3: #372621;
  --text: var(--warm-white);
  --page-pad: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 132px);
  --header-height: 92px;
  --display: "Anton", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

html { background: var(--void); }
body {
  min-width: 320px;
  color: var(--text);
  background: var(--void);
  font-family: var(--body);
}
body::before { display: none; }
::selection { color: var(--ink); background: var(--hunter-orange); }
a, button, input, select, textarea { border-radius: 0 !important; }
img { filter: grayscale(1) contrast(1.08); }
.shell { width: 100%; max-width: none; margin: 0; border: 0; }

/* Header / wordmark ------------------------------------------------------ */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--rule);
  background: var(--void);
  backdrop-filter: none;
}
.header-inner {
  display: flex;
  gap: clamp(18px, 2.2vw, 42px);
  align-items: center;
  width: 100%;
  max-width: 1600px;
  padding: 0 var(--page-pad);
}
.brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: max-content;
  color: var(--green-soft);
  font-family: var(--display);
  font-size: clamp(26px, 3.1vw, 52px);
  line-height: .76;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand-word, .brand-sub { display: block; }
.brand-sub { margin-top: .08em; }
.brand:hover { color: var(--hunter-orange); }
.brand img, .footer-brand img { display: none; }
.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(12px, 2.3vw, 38px);
}
.nav-link {
  padding: 10px 0 8px;
  color: #cdbcb6;
  font: clamp(17px, 2vw, 29px)/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nav-link::after { bottom: 0; height: 2px; background: var(--hunter-orange); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--hunter-orange); }
.external-mark { color: var(--hunter-orange); font-family: var(--mono); font-size: .6em; }
.header-status {
  flex: 0 0 auto;
  padding: 11px 13px;
  border: 1px solid var(--hunter-orange);
  color: var(--hunter-orange);
  background: transparent;
  font-size: 10px;
  letter-spacing: .06em;
}
.status-dot { width: 7px; height: 7px; background: var(--signal-green); box-shadow: none; }
.language-switcher { margin-left: 0; color: #d5c4be; }
.language-label { display: none; }
.language-button { color: #d5c4be; }
.language-button:hover, .language-button:focus-visible, .language-button.is-active { border-color: var(--hunter-orange); color: var(--hunter-orange); }
.menu-button { width: 44px; height: 44px; border-color: var(--rule-light); }

/* Shared type, stamps and controls -------------------------------------- */
.eyebrow, .meta, .technical-label, .section-index, .filter-button,
.file-link small, .file-count, .story-footer, .footer-links a {
  color: var(--hunter-orange);
  font: 10px/1.35 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { width: 6px; height: 6px; background: currentColor; }
.button {
  min-height: 48px;
  padding: 13px 19px;
  border: 2px solid var(--hunter-orange);
  color: var(--ink);
  background: var(--hunter-orange);
  font: 19px/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.button:hover { color: var(--hunter-orange); background: var(--ink); }
.button.secondary { color: var(--hunter-orange); background: transparent; }
.button.secondary:hover { color: var(--ink); background: var(--hunter-orange); }
.text-link, .post-link { color: var(--hunter-orange); }

/* Home ------------------------------------------------------------------- */
body[data-page="home"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: calc(100vh - var(--header-height));
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
body[data-page="home"] .hero-copy {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  padding: clamp(56px, 7vw, 112px) var(--page-pad);
  color: var(--ink);
  background: var(--paper);
}
body[data-page="home"] .hero-copy .eyebrow { color: var(--hunter-orange); }
body[data-page="home"] .display-title {
  max-width: 6.6ch;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(72px, 8.7vw, 142px);
  line-height: .84;
}
body[data-page="home"] .lead { max-width: 570px; color: #423c38; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
body[data-page="home"] .hero-visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 620px;
  border-right: 0;
  border-left: 1px solid var(--rule-light);
  background: var(--paper);
}
body[data-page="home"] .hero-visual::before,
body[data-page="home"] .hero-visual::after { border-color: var(--rule-light); }
body[data-page="home"] .hero-photo-card {
  inset: 11% 6% 13%;
  opacity: .16;
  border-color: var(--rule);
  box-shadow: none;
  transform: rotate(-2deg);
}
body[data-page="home"] .hero-photo-card::after { background: #fff; mix-blend-mode: screen; }
body[data-page="home"] .hero-photo-card figcaption { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--paper); }
body[data-page="home"] .visual-tag {
  z-index: 4;
  border-color: var(--rule);
  color: var(--ink);
  background: var(--paper);
}
body[data-page="home"] .visual-tag.two { color: var(--signal-green); border-color: var(--signal-green); }
body[data-page="home"] .pixel-status-device {
  z-index: 5;
  width: min(620px, 90%);
  min-height: 590px;
  padding: 0 18px 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  transform: none;
}
body[data-page="home"] .pixel-status-device::before,
body[data-page="home"] .pixel-status-device::after { display: none; }
body[data-page="home"] .pixel-status-device .deck-topline {
  margin: 0 -18px 22px;
  padding: 16px 18px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
}
body[data-page="home"] .pixel-status-device .deck-screen {
  min-height: 450px;
  padding: 20px;
  border: 0;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: none;
}
body[data-page="home"] .pixel-status-device .terminal-title { color: var(--ink); font-size: 28px; }
body[data-page="home"] .pixel-status-device .terminal-switcher { border-color: var(--rule-light); }
body[data-page="home"] .pixel-status-device .terminal-tab { color: #746862; }
body[data-page="home"] .pixel-status-device .terminal-tab:hover,
body[data-page="home"] .pixel-status-device .terminal-tab.is-active { border-color: var(--hunter-orange); color: var(--ink); background: #fff2ed; }
body[data-page="home"] .pixel-status-device .terminal-row { color: var(--ink); border-bottom: 1px solid var(--rule-light); }
body[data-page="home"] .pixel-status-device .terminal-row span:first-child { color: #746862; }
body[data-page="home"] .pixel-status-device .installed-agents { border-color: var(--rule-light); }
body[data-page="home"] .pixel-status-device .installed-agents-head { color: var(--ink); }
body[data-page="home"] .pixel-status-device .installed-agents-head span:last-child { color: #746862; }
body[data-page="home"] .pixel-status-device .installed-agent { border-color: var(--rule); color: var(--ink); background: var(--paper); }
body[data-page="home"] .pixel-status-device .installed-agent img { filter: grayscale(1); }
body[data-page="home"] .pixel-status-device .deck-controls { margin-top: 8px; }
body[data-page="home"] .pixel-status-device .deck-control { border-color: var(--ink); background: var(--paper); }
.ticker { min-height: 82px; border-color: var(--ink); background: var(--ink); color: #bbb0ac; }
.ticker span::before { color: var(--hunter-orange); }
.ticker-track { animation-duration: 42s; }
.stack-frame { border-color: var(--rule); background: var(--void); }
.stack-frame::before, .stack-frame::after { background: none; }
.stack-frame-copy { padding-block: clamp(54px, 7vw, 100px) 42px; }
.stack-frame-copy h2 { color: var(--paper); }
.stack-frame-copy p { color: #ad9992; }
.agent-card { border-color: var(--rule); background: var(--surface); }
.agent-card:hover { border-color: var(--hunter-orange); background: var(--surface-2); }
.agent-icon { border-color: var(--line-bright); background: var(--void); }
.agent-name { color: var(--paper); }
.agent-role { color: var(--muted); }
.agent-card::after { color: var(--hunter-orange); }
body[data-page="home"] main > .section { color: var(--ink); background: var(--paper); border-color: var(--rule); }
body[data-page="home"] main > .section:nth-of-type(4n + 1),
body[data-page="home"] main > .section:nth-of-type(4n + 4) { color: var(--paper); background: var(--void); }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .section-description,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .section-description { color: #b8a8a1; }
.section { padding: var(--section-pad) var(--page-pad); border-color: var(--rule); }
.section-title { color: inherit; font-size: clamp(48px, 6vw, 86px); line-height: .9; }
.section-description { color: #4a433f; }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .section-description,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .section-description { color: #b9aaa4; }
.module-grid, .story-grid, .resource-split, .spec-grid, .download-grid, .print-notes, .hunter-photo-grid { border-color: var(--rule); background: var(--rule); }
.module-card, .story-card, .resource-card, .spec, .download-group, .print-notes article { background: var(--paper); color: var(--ink); }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .module-card,
body[data-page="home"] main > .section:nth-of-type(4n + 1) .story-card,
body[data-page="home"] main > .section:nth-of-type(4n + 1) .resource-card,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .module-card,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .story-card,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .resource-card { background: var(--surface); color: var(--paper); }
.module-card:hover { background: #fff0ea; }
.module-card h3, .story-title, .resource-card h3, .print-notes h3 { color: inherit; }
.module-card p, .story-excerpt, .resource-card p, .print-notes p { color: #5d514b; }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .module-card p,
body[data-page="home"] main > .section:nth-of-type(4n + 1) .story-excerpt,
body[data-page="home"] main > .section:nth-of-type(4n + 1) .resource-card p,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .module-card p,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .story-excerpt,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .resource-card p { color: #bdaea8; }
.module-number { color: #e7d9d2; }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .module-number,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .module-number { color: #33221c; }
.story-visual { background: var(--ink); border-color: var(--rule); }
.story-visual > img { filter: grayscale(1) contrast(1.12); }
.story-footer { border-color: var(--rule-light); color: #746862; }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .story-footer,
body[data-page="home"] main > .section:nth-of-type(4n + 4) .story-footer { border-color: var(--rule); color: #a9958e; }
.resource-card::after { color: var(--hunter-orange); }

/* Interior page headers -------------------------------------------------- */
.page-hero {
  min-height: 360px;
  border-color: var(--rule);
  background: var(--void);
}
.page-hero-copy { padding: clamp(52px, 7vw, 100px) var(--page-pad) 46px; border-color: var(--rule); background: var(--void); }
.page-hero-aside { padding: 46px var(--page-pad); border: 0; color: var(--warm-white); background: var(--surface); }
.page-hero-aside p { color: #c5afa7; }
.page-title { max-width: 8ch; color: var(--warm-white); font-size: clamp(70px, 10vw, 148px); line-height: .82; }
body[data-page="blog"] .page-hero,
body[data-page="blog"] .page-hero-copy,
body[data-page="blog"] .page-hero-aside { color: var(--ink); background: var(--paper); }
body[data-page="blog"] .page-hero-copy { border-color: var(--rule-light); }
body[data-page="blog"] .page-title { color: var(--ink); }
body[data-page="blog"] .page-hero-aside p { color: #4c443f; }
body[data-page="blog"] .section { color: var(--ink); background: var(--paper); }
body[data-page="blog"] .filter-button { border-color: var(--ink); color: var(--ink); }
body[data-page="blog"] .filter-button:hover, body[data-page="blog"] .filter-button.active { border-color: var(--hunter-orange); color: var(--ink); background: var(--hunter-orange); }
body[data-page="blog"] .story-card { background: var(--paper); color: var(--ink); }
body[data-page="blog"] .story-excerpt { color: #5d514b; }
body[data-page="blog"] .story-footer { color: #746862; border-color: var(--rule-light); }

/* Tech / documentation --------------------------------------------------- */
body[data-page="tech"] main > .section { color: var(--ink); background: var(--paper); }
.docs-layout { grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: clamp(28px, 6vw, 90px); }
.docs-nav { border-color: var(--rule-light); }
.docs-nav a { color: #6f615b; border-color: var(--rule-light); }
.docs-nav a:hover { color: var(--hunter-orange); }
.docs-block { border-color: var(--rule-light); }
.docs-block h2 { color: var(--ink); }
.docs-block > p { color: #4c443f; }
.spec { background: var(--paper-warm); }
.spec strong { color: var(--ink); }
.spec p { color: #665a54; }
.hardware-feature { border-color: var(--ink); background: var(--ink); }
.hardware-feature-image { border-color: var(--rule); }
.hardware-image-tag { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
.hardware-feature-copy { color: var(--paper); }
.hardware-feature-copy > p { color: #c5afa7; }
.hardware-metrics div { background: var(--surface); }
.hardware-metrics dt { color: #a9958e; }
.hardware-metrics dd { color: var(--hunter-orange); }
.agent-stack-intro h3 { color: var(--ink); }
.agent-stack-intro p { color: #665a54; }
.architecture-node { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.architecture-node:not(:last-child)::after { color: var(--hunter-orange); }

/* GitHub / black editorial landing -------------------------------------- */
.coming-soon { min-height: calc(100vh - var(--header-height)); background: var(--void); }
.coming-copy { padding: var(--section-pad) var(--page-pad); border-color: var(--rule); background: var(--void); }
.coming-copy .display-title { max-width: 9ch; color: var(--paper); font-size: clamp(72px, 9vw, 142px); }
.coming-copy .lead { color: #c7b5af; }
.coming-panel { padding: var(--page-pad); background: var(--surface); }
.github-feature-photo { border-color: var(--line-bright); }
.github-feature-photo figcaption { border-color: var(--rule); color: var(--hunter-orange); }
.pending-box { border-color: var(--hunter-orange); background: var(--void); }
.pending-box h2 { color: var(--paper); }
.pending-box p { color: #c7b5af; }

/* MakerWorld / archive --------------------------------------------------- */
body[data-page="makerworld"] .page-hero,
body[data-page="archive"] .page-hero,
body[data-page="about"] .page-hero { background: var(--void); }
body[data-page="makerworld"] main > .section:nth-of-type(3),
body[data-page="makerworld"] main > .section:nth-of-type(4),
body[data-page="archive"] main > .section:nth-of-type(3),
body[data-page="about"] main > .section:nth-of-type(3) { color: var(--paper); background: var(--void); }
body[data-page="makerworld"] main > .section:nth-of-type(3) .section-description,
body[data-page="makerworld"] main > .section:nth-of-type(4) .section-description,
body[data-page="archive"] main > .section:nth-of-type(3) .section-description,
body[data-page="about"] main > .section:nth-of-type(3) .section-description { color: #b9aaa4; }
.model-card { border-color: var(--ink); background: var(--ink); }
.model-stage { background: var(--ink); border-color: var(--rule); }
.viewer-badge, .viewer-help, .viewer-fallback { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
.model-copy { color: var(--paper); background: var(--surface); }
.model-copy p { color: #c5afa7; }
.model-specs div { background: var(--void); }
.model-specs dt { color: #a9958e; }
.model-specs dd { color: var(--hunter-orange); }
.download-group-head { border-color: var(--rule); background: var(--ink); }
.download-group-head h3 { color: var(--paper); }
.file-link { border-color: var(--rule-light); }
.file-link span { color: var(--ink); }
.file-link small { color: #76665f; }
.file-link::after { color: var(--hunter-orange); }
.file-link:hover { color: var(--hunter-orange); background: #fff0ea; }
.master-download { border-color: var(--hunter-orange); color: var(--ink); background: var(--hunter-orange); }
.master-download:hover { color: var(--hunter-orange); background: var(--ink); box-shadow: 8px 8px 0 rgba(255,90,31,.18); }
.print-notes article { background: var(--paper-warm); }
.print-notes p { color: #665a54; }
.print-gallery { border-color: var(--rule); background: var(--rule); }
.print-gallery figcaption { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
body[data-page="archive"] main > .section:nth-of-type(2),
body[data-page="archive"] main > .section:nth-of-type(4) { color: var(--ink); background: var(--paper); }
body[data-page="archive"] main > .section:nth-of-type(3) { color: var(--paper); background: var(--void); }
body[data-page="archive"] main > .section:nth-of-type(2) .section-description,
body[data-page="archive"] main > .section:nth-of-type(4) .section-description { color: #4c443f; }

/* About / community ------------------------------------------------------ */
body[data-page="about"] main > .section { color: var(--paper); background: var(--void); }
.about-grid { border-color: var(--rule); background: var(--rule); }
.about-statement, .about-copy { background: var(--surface); }
.about-statement blockquote { color: var(--paper); }
.about-copy p { color: #c5afa7; }
.community-grid, .post-community { border-color: var(--rule); background: var(--rule); }
.community-proof, .review-form { color: var(--paper); background: var(--surface); }
.community-proof h2, .review-form h3 { color: var(--paper); }
.review-card, .community-empty { color: var(--paper); background: var(--void); }
.review-card p, .form-note, .community-discussion p { color: #c5afa7; }
.community-discussion { border-color: var(--hunter-orange); background: #24120c; }
.review-form input, .review-form select, .review-form textarea { border-color: var(--line-bright); color: var(--paper); background: var(--void); }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { border-color: var(--hunter-orange); outline-color: var(--hunter-orange); }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-color: var(--rule); background: var(--surface); }
.footer-inner { min-height: 220px; padding: 48px var(--page-pad); }
.footer-wordmark { display: flex; flex-direction: column; color: var(--paper); font: clamp(34px, 4vw, 58px)/.78 var(--display); text-transform: uppercase; }
.footer-wordmark:hover { color: var(--hunter-orange); }
.footer-brand p { color: #a9958e; }
.footer-links a { color: #c5afa7; border-color: var(--rule); }
.footer-links a:hover { color: var(--hunter-orange); }

/* Dossier post ----------------------------------------------------------- */
.dossier-page { background: var(--void); }
.dossier-hero { background: var(--void); }
.dossier-hero .post-title { max-width: 12ch; color: var(--paper); }
.dossier-hero .post-lead { color: #c5afa7; }
.dossier-rail { border-color: var(--rule); }
.dossier-system-sheet { border-color: var(--rule); }
.dossier-specs { background: var(--rule); }
.dossier-specs > div { background: var(--surface); }
.dossier-specs strong { color: var(--paper); }
.dossier-intro { border-color: var(--hunter-orange); }
.dossier-intro p { color: #c5afa7; }
.dossier-page .post-block-frame:nth-child(4n + 2) { color: var(--ink); background: var(--paper); }
.dossier-page .post-heading, .dossier-page .post-heading:is(h3) { color: inherit; }
.post-prose { color: #d8c7c1; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-prose { color: #4c443f; }
.post-code, .post-callout, .post-cta, .post-figure, .post-table-wrap, .post-faq, .post-embed-fallback { border-color: var(--line-bright); }
.post-code { background: var(--surface); }
.post-code-label, .post-callout .technical-label { color: var(--hunter-orange); }
.post-quote { border-color: var(--hunter-orange); background: #24120c; }
.post-quote p { color: var(--paper); }
.post-stats { background: var(--rule); }
.post-stats > div { background: var(--surface); }
.post-stats strong { color: var(--hunter-orange); }
.post-cta { background: #24120c; }

/* Generated gallery and lightbox ---------------------------------------- */
.hunter-gallery { background: var(--void); }
.hunter-gallery::before { opacity: .24; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); }
.hunter-photo { background: var(--ink); }
.hunter-photo figcaption { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
.lightbox-overlay { background: rgba(9,10,10,.96); backdrop-filter: none; }
.lightbox-dialog { border-color: var(--hunter-orange); background: var(--ink); box-shadow: none; }
.lightbox-close { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --header-height: 78px; }
  .header-inner { gap: 14px; }
  .main-nav { gap: 13px; }
  .nav-link { font-size: 15px; }
  .header-status { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .display-title, body[data-page="home"] .display-title { font-size: clamp(62px, 8vw, 108px); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .docs-nav a { border-top: 1px solid var(--rule-light); }
  .model-card-featured { grid-template-columns: 1fr; }
  .model-card-featured .model-stage { min-height: 480px; border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; }
  .site-header { height: var(--header-height); }
  .header-inner { padding-inline: 16px; }
  .brand { font-size: 27px; }
  .main-nav { position: fixed; inset: var(--header-height) 0 0; display: grid; grid-auto-rows: min-content; gap: 0; align-content: start; padding: 25px 22px; border-top: 1px solid var(--rule); background: var(--void); transform: translateX(100%); transition: transform 180ms ease; }
  .menu-open .main-nav { transform: translateX(0); }
  .nav-link { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 28px; }
  .menu-button { display: block; margin-left: auto; }
  body[data-page="home"] .hero, .hero, .page-hero, .coming-soon { display: block; min-height: 0; }
  body[data-page="home"] .hero-copy, body[data-page="home"] .hero-visual, .page-hero-copy, .page-hero-aside, .coming-copy, .coming-panel { min-height: 0; padding: 58px 20px; }
  body[data-page="home"] .hero-visual { border-top: 1px solid var(--rule-light); border-left: 0; }
  body[data-page="home"] .hero-copy { padding-top: 74px; padding-bottom: 70px; }
  body[data-page="home"] .hero-visual { min-height: 540px; }
  body[data-page="home"] .pixel-status-device { width: min(430px, 90%); min-height: 500px; }
  body[data-page="home"] .pixel-status-device .deck-screen { min-height: 380px; }
  .page-title, body[data-page="home"] .display-title, .coming-copy .display-title { font-size: clamp(64px, 18vw, 104px); }
  .section-heading, .stack-frame-copy, .about-grid, .community-grid, .post-community { grid-template-columns: 1fr; }
  .stack-frame-copy { display: block; }
  .stack-frame-copy p { margin-top: 20px; }
  .module-grid, .story-grid, .resource-split, .spec-grid, .download-grid, .model-grid, .print-notes { grid-template-columns: 1fr; }
  .story-card, .story-card.featured { grid-column: auto; }
  .featured .story-visual { min-height: 260px; }
  .story-card { min-height: 420px; }
  .hardware-feature { grid-template-columns: 1fr; }
  .hardware-feature-image { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .agent-stack-intro { grid-template-columns: 1fr; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-node:not(:last-child)::after { top: auto; right: auto; bottom: -20px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .model-card-featured .model-stage { min-height: 350px; }
  .model-grid .model-stage { min-height: 280px; }
  .model-copy { min-height: 0; }
  .print-gallery, .hunter-photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .print-gallery .gallery-wide, .hunter-photo-featured { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { justify-self: stretch; }
  .dossier-specs { grid-template-columns: 1fr 1fr; }
  .post-image-text { grid-template-columns: 1fr; }
  .post-image-text .post-figure, .post-image-text .post-prose { order: initial !important; }
  .post-timeline li { grid-template-columns: 1fr; gap: 10px; }
}

/* Shared project node switcher: dormant at the edge, expanded on intent. */
.project-nodes {
  --node-accent: var(--hunter-orange);
  position: fixed;
  z-index: 1100;
  top: 50%;
  right: 0;
  width: 19rem;
  color: var(--paper);
  transform: translateY(-50%) translateX(calc(100% - 1rem));
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.project-nodes:hover,
.project-nodes:focus-within,
.project-nodes.is-open { transform: translateY(-50%) translateX(0); }
.project-nodes__rail {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.55rem;
  min-height: 8.25rem;
  padding: .7rem 0;
  border: 1px solid var(--line-bright);
  border-right: 0;
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
  transform: translate(-100%, -50%);
}
.project-nodes__dots { display: grid; justify-content: center; gap: .65rem; }
.project-nodes__dots i,
.project-nodes__signal { width: .45rem; height: .45rem; border-radius: 50%; background: var(--line-bright); box-shadow: 0 0 0 transparent; }
.project-nodes__dots i.is-active { background: var(--node-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--node-accent) 80%, transparent); }
.project-nodes__rail-label { display: block; margin-top: .9rem; color: #8e828d; font: 700 .62rem/1 var(--mono); letter-spacing: .14em; writing-mode: vertical-rl; }
.project-nodes__panel { margin-left: 1rem; padding: 1rem; border: 1px solid var(--line-bright); background: rgba(5,5,5,.97); box-shadow: -12px 14px 32px rgba(0,0,0,.28); }
.project-nodes__panel > p { margin: 0 0 .85rem; color: var(--node-accent); font: 700 .68rem/1 var(--mono); letter-spacing: .12em; }
.project-nodes__panel nav { display: grid; gap: 1px; }
.project-nodes__panel a { display: grid; grid-template-columns: .55rem 1fr auto; align-items: center; gap: .65rem; min-height: 3.8rem; padding: .65rem; color: #cfc5cb; background: #101010; text-decoration: none; transition: background 160ms ease, color 160ms ease; }
.project-nodes__panel a:hover,
.project-nodes__panel a:focus-visible { color: var(--paper); background: #202020; outline: 1px solid var(--node-accent); outline-offset: -1px; }
.project-nodes__panel a[aria-current="page"] { color: var(--paper); background: #202020; }
.project-nodes__panel a[aria-current="page"] .project-nodes__signal { background: var(--node-accent); box-shadow: 0 0 11px color-mix(in srgb, var(--node-accent) 80%, transparent); }
.project-nodes__panel strong,
.project-nodes__panel small,
.project-nodes__panel b { display: block; }
.project-nodes__panel strong { font-size: .86rem; letter-spacing: -.015em; }
.project-nodes__panel small { margin-top: .22rem; color: #928791; font: .65rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project-nodes__panel b { color: var(--node-accent); font: 700 .9rem/1 var(--mono); }
@media (max-width: 760px) {
  .project-nodes { top: auto; right: .6rem; bottom: 0; width: min(21rem, calc(100vw - 1.2rem)); transform: translateY(calc(100% - 2.65rem)); }
  .project-nodes:hover,
  .project-nodes:focus-within,
  .project-nodes.is-open { transform: translateY(0); }
  .project-nodes__rail { position: static; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 2.65rem; padding: 0 .8rem; border: 1px solid var(--line-bright); transform: none; }
  .project-nodes__dots { display: flex; gap: .55rem; }
  .project-nodes__rail-label { margin: 0; writing-mode: initial; }
  .project-nodes__panel { margin-left: 0; border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .project-nodes, .project-nodes__panel a { transition: none; } }
@media (max-width: 430px) {
  .dossier-specs { grid-template-columns: 1fr; }
  .print-gallery, .hunter-photo-grid { grid-template-columns: 1fr; }
  .print-gallery .gallery-wide, .hunter-photo-featured { grid-column: auto; }
  .review-form-row { grid-template-columns: 1fr; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  opacity: .027;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--black);
  background: var(--green);
}

.shell {
  width: min(1440px, 100%);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 9, .96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto auto auto;
  align-items: center;
  width: min(1440px, 100%);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.brand {
  width: max-content;
}

.brand img {
  width: 190px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-link,
.header-status,
.meta,
.eyebrow,
.filter-button,
.technical-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  padding-block: 10px;
  color: #d8dcd7;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--green);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.external-mark {
  color: var(--green);
}

.header-status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--green);
  color: var(--green);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 13px rgba(32, 240, 0, .6);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-bright);
  background: transparent;
  cursor: pointer;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 14px;
  color: #7d897f;
  font: 10px/1 var(--mono);
  letter-spacing: .1em;
}

.language-label {
  margin-right: 2px;
  color: #556157;
  font-size: 9px;
}

.language-button {
  min-width: 28px;
  padding: 7px 5px;
  border: 1px solid transparent;
  color: #aab5ac;
  background: transparent;
  font: 10px/1 var(--mono);
  letter-spacing: .08em;
  cursor: pointer;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-button span {
  opacity: 0;
}

.menu-open .menu-button::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-button::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding-top: var(--header-height);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(420px, 5fr);
  min-height: min(760px, calc(100vh - var(--header-height)));
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: clamp(35px, 6vw, 88px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(32, 240, 0, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 240, 0, .045) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #202724 0, #101313 46%, #080a0a 76%);
  background-size: 34px 34px, 34px 34px, auto;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(32, 240, 0, .28);
  transform: rotate(-8deg);
}

.hero-visual::before {
  width: 72%;
  height: 58%;
}

.hero-visual::after {
  width: 55%;
  height: 76%;
  transform: rotate(12deg);
}

.hero-photo-card {
  position: absolute;
  z-index: 1;
  inset: 6% 8% 8%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(32,240,0,.32);
  background: #080b0a;
  box-shadow: 0 22px 50px rgba(0,0,0,.46);
  opacity: .62;
  transform: rotate(-3deg) scale(1.02);
  transition: opacity 420ms ease, transform 600ms cubic-bezier(.2,.8,.2,1), filter 420ms ease;
}

.hero-photo-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(145deg, rgba(5,9,7,.08), rgba(5,9,7,.72) 72%, rgba(32,240,0,.2));
  mix-blend-mode: multiply;
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(.8) contrast(1.08) brightness(.72);
}

.hero-photo-card figcaption {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(32,240,0,.45);
  color: var(--green);
  background: rgba(7,9,9,.8);
  font: 9px/1 var(--mono);
  letter-spacing: .09em;
}

.deck {
  position: relative;
  z-index: 2;
  width: min(580px, 95%);
  padding: 18px;
  border: 1px solid #69726d;
  background: #0a0c0c;
  box-shadow: 18px 22px 0 #040505, 19px 23px 0 var(--line-bright);
  transform: perspective(900px) rotateX(4deg) rotateY(-6deg) rotateZ(-1deg);
}

.deck-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.deck-screen {
  position: relative;
  min-height: 280px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #4e5852;
  background: #071009;
  box-shadow: inset 0 0 45px rgba(32, 240, 0, .08);
}

.deck-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 4px);
}

.terminal-title {
  margin: 0 0 25px;
  color: var(--green);
  font: 30px/1 var(--display);
  letter-spacing: .03em;
}

.terminal-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  margin-block: 11px;
  color: #cdd4cd;
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
}

.terminal-row span:first-child {
  color: var(--green);
}

.terminal-bar {
  height: 7px;
  margin-top: 4px;
  background: #203021;
}

.terminal-bar::before {
  display: block;
  width: var(--value, 70%);
  height: 100%;
  content: "";
  background: var(--green);
}

.deck-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.deck-control {
  height: 18px;
  border: 1px solid #424946;
  background: #121616;
}

.visual-tag {
  position: absolute;
  z-index: 3;
  padding: 8px 10px;
  border: 1px solid var(--line-bright);
  color: var(--green);
  background: rgba(7, 9, 9, .92);
  font: 10px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visual-tag.one {
  top: 11%;
  left: 7%;
}

.visual-tag.two {
  right: 5%;
  bottom: 13%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(42px, 5vw, 76px) var(--page-pad);
  background-color: var(--black);
  background-image: linear-gradient(135deg, rgba(7,9,9,.96) 8%, rgba(7,9,9,.79) 58%, rgba(7,9,9,.62)), url("hunter-gallery/hunter-cyberdeck-01.jpg");
  background-position: center 42%;
  background-size: cover;
  background-blend-mode: normal;
  transition: background-position 700ms cubic-bezier(.2,.8,.2,1), filter 400ms ease;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.display-title {
  max-width: 9ch;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(68px, 7vw, 112px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.lead {
  max-width: 570px;
  margin-bottom: 34px;
  color: #c5cbc5;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid var(--green);
  color: var(--black);
  background: var(--green);
  font: 24px/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.button:hover {
  color: var(--green);
  background: transparent;
}

.button.secondary {
  color: var(--green);
  background: transparent;
}

.button.secondary:hover {
  color: var(--black);
  background: var(--green);
}

.button.disabled {
  border-color: var(--line-bright);
  color: var(--muted);
  background: transparent;
  cursor: default;
}

.ticker {
  display: flex;
  gap: 38px;
  align-items: center;
  min-height: 58px;
  padding-inline: var(--page-pad);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--green);
  font: 11px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::before {
  margin-right: 38px;
  color: #69716c;
  content: "//";
}

.stack-frame {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(32,240,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,240,0,.035) 1px, transparent 1px),
    var(--black);
  background-size: 34px 34px;
}

.stack-frame::before,
.stack-frame::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: clamp(24px, 6vw, 90px);
  pointer-events: none;
  content: "";
}

.stack-frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), transparent);
}

.stack-frame::after {
  right: 0;
  background: linear-gradient(-90deg, var(--black), transparent);
}

.stack-frame-copy {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: 34px;
  align-items: end;
  padding: clamp(54px, 6vw, 86px) var(--page-pad) 38px;
}

.stack-frame-copy h2 {
  margin: 0;
  font: clamp(48px, 5vw, 76px)/.92 var(--display);
  text-transform: uppercase;
}

.stack-frame-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.agent-stack-rail {
  width: 100%;
  padding-bottom: clamp(54px, 6vw, 82px);
  overflow: hidden;
}

.agent-stack-track {
  display: flex;
  width: max-content;
  animation: stackDrift 34s linear infinite;
}

.agent-stack-rail:hover .agent-stack-track {
  animation-play-state: paused;
}

.agent-stack-group {
  display: flex;
  flex: none;
  gap: 1px;
  padding-right: 1px;
}

.agent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 152px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(18,21,21,.94);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.agent-stack-rail .agent-card {
  flex: none;
  width: clamp(166px, 14vw, 205px);
  border-right: 0;
}

.agent-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: #090b0b;
}

.agent-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}

.agent-name {
  font: 24px/1 var(--display);
  text-transform: uppercase;
}

.agent-role {
  margin-top: 8px;
  color: var(--muted);
  font: 9px/1.35 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.agent-card::after {
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--green);
  content: "+";
  font: 15px/1 var(--mono);
  opacity: .6;
}

.section {
  padding: var(--section-pad) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.section.compact {
  padding-block: clamp(55px, 6vw, 82px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.section-index {
  display: block;
  margin-bottom: 15px;
  color: var(--green);
  font: 11px/1 var(--mono);
  letter-spacing: .09em;
}

.section-title {
  margin-bottom: 0;
  font: clamp(46px, 5vw, 74px)/.95 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.section-description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.module-card {
  position: relative;
  min-height: 290px;
  padding: 27px;
  overflow: hidden;
  background: var(--surface);
  transition: background 170ms ease;
}

.module-card:hover {
  background: var(--surface-2);
}

.module-number {
  position: absolute;
  right: 15px;
  bottom: -18px;
  color: #282d2b;
  font: 116px/1 var(--display);
  transition: color 170ms ease, transform 170ms ease;
}

.module-card:hover .module-number {
  color: rgba(32, 240, 0, .16);
  transform: translateY(-5px);
}

.module-card h3 {
  position: relative;
  z-index: 1;
  margin: 56px 0 12px;
  font: 34px/1 var(--display);
  text-transform: uppercase;
}

.module-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.module-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--green);
  font-size: 25px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.story-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  background: var(--surface);
}

.story-card.featured {
  grid-column: span 8;
}

.story-card[hidden] {
  display: none;
}

.story-visual {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #101313;
}

.story-visual > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.16,.8,.25,1), filter 400ms ease;
}

.featured .story-visual {
  min-height: 330px;
}

.story-visual::before,
.story-visual::after {
  position: absolute;
  content: "";
}

.visual-hardware {
  background:
    radial-gradient(circle at 30% 38%, rgba(32,240,0,.3) 0 4px, transparent 5px),
    linear-gradient(90deg, transparent 14%, rgba(32,240,0,.12) 15%, transparent 16%, transparent 49%, rgba(32,240,0,.12) 50%, transparent 51%),
    linear-gradient(#1b211e, #0b0d0d);
}

.visual-hardware::before {
  inset: 20% 12%;
  border: 1px solid #657068;
  background: repeating-linear-gradient(90deg, #171b19 0 22px, #2f3732 23px 25px);
  transform: perspective(500px) rotateX(55deg) rotateZ(-8deg);
  box-shadow: 16px 21px 0 #050606;
}

.visual-case {
  background: linear-gradient(145deg, #202524, #0a0c0c 62%);
}

.visual-case::before {
  inset: 17% 13%;
  border: 2px solid #7b847e;
  box-shadow: inset 20px 18px 0 #111514, 18px 20px 0 #050606;
  transform: skewY(-7deg);
}

.visual-case::after {
  width: 36%;
  height: 23%;
  top: 31%;
  left: 32%;
  border: 1px solid var(--green);
  background: #081009;
  transform: skewY(-7deg);
}

.visual-agent {
  background:
    linear-gradient(rgba(32,240,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,240,0,.06) 1px, transparent 1px),
    #09100b;
  background-size: 26px 26px;
}

.visual-agent::before {
  inset: 13% 10%;
  border: 1px solid var(--green);
  background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(32,240,0,.13) 24px 25px);
}

.visual-agent::after {
  width: 58%;
  height: 2px;
  left: 21%;
  top: 43%;
  background: var(--green);
  box-shadow: 0 28px 0 rgba(32,240,0,.6), 0 56px 0 rgba(32,240,0,.3);
}

.visual-software {
  background: radial-gradient(circle at 75% 25%, rgba(32,240,0,.12), transparent 38%), #0b0d0d;
}

.visual-software::before {
  inset: 16% 11%;
  border-left: 2px solid var(--green);
  background: repeating-linear-gradient(0deg, #202624 0 2px, transparent 2px 28px);
  transform: skewY(-4deg);
}

.visual-process {
  background: linear-gradient(125deg, #0a0c0c 0 40%, #202622 41% 43%, #0a0c0c 44%);
}

.visual-process::before {
  width: 110px;
  height: 110px;
  top: 50%;
  left: 50%;
  border: 2px solid var(--green);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 40px -40px 0 rgba(32,240,0,.08), -40px 40px 0 rgba(32,240,0,.08);
}

.visual-release {
  background: repeating-linear-gradient(-45deg, #101413 0 12px, #171c1a 12px 24px);
}

.visual-release::before {
  width: 58%;
  height: 52%;
  inset: 24% 21%;
  border: 1px solid var(--green);
  background: #080a09;
  box-shadow: 12px 12px 0 rgba(32,240,0,.15);
}

.story-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.story-title {
  margin: 17px 0 14px;
  font: clamp(30px, 3vw, 44px)/1 var(--display);
  text-transform: uppercase;
}

.story-card:hover .story-title {
  color: var(--green);
}

.story-excerpt {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.story-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #8f9691;
  font: 10px/1.4 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.resource-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.resource-card {
  position: relative;
  min-height: 370px;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  background: var(--black);
}

.resource-card::after {
  position: absolute;
  right: -30px;
  bottom: -50px;
  color: #1c211f;
  font: 210px/1 var(--display);
  content: attr(data-mark);
}

.resource-card h3 {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  margin: 42px 0 16px;
  font: clamp(48px, 5vw, 75px)/.92 var(--display);
  text-transform: uppercase;
}

.resource-card p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.6;
}

.resource-card .button {
  position: relative;
  z-index: 1;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  min-height: 430px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(60px, 8vw, 112px) var(--page-pad) 48px;
  border-right: 1px solid var(--line);
}

/* The page heroes now carry one real field photograph instead of a blank
 * placeholder surface. The dark treatment keeps display type legible while
 * retaining enough texture to identify the hardware immediately. */
body[data-page="blog"] .page-hero-copy,
body[data-page="blog-post"] .page-hero-copy {
  background: linear-gradient(115deg, rgba(7,9,9,.96) 10%, rgba(7,9,9,.72) 68%, rgba(7,9,9,.38)), url("hunter-gallery/hunter-cyberdeck-04.jpg") center 42% / cover;
}

body[data-page="tech"] .page-hero-copy {
  background: linear-gradient(115deg, rgba(7,9,9,.96) 10%, rgba(7,9,9,.7) 68%, rgba(7,9,9,.35)), url("hunter-gallery/hunter-cyberdeck-02.jpg") center / cover;
}

body[data-page="makerworld"] .page-hero-copy {
  background: linear-gradient(115deg, rgba(7,9,9,.96) 10%, rgba(7,9,9,.7) 68%, rgba(7,9,9,.35)), url("hunter-gallery/hunter-cyberdeck-06.jpg") center 42% / cover;
}

body[data-page="archive"] .page-hero-copy {
  background: linear-gradient(115deg, rgba(7,9,9,.96) 10%, rgba(7,9,9,.7) 68%, rgba(7,9,9,.35)), url("hunter-gallery/hunter-cyberdeck-07.jpg") center / cover;
}

body[data-page="about"] .page-hero-copy {
  background: linear-gradient(115deg, rgba(7,9,9,.96) 10%, rgba(7,9,9,.7) 68%, rgba(7,9,9,.35)), url("hunter-gallery/hunter-cyberdeck-01.jpg") center 38% / cover;
}

body[data-page="github"] .coming-panel,
body[data-page="github"] .coming-copy {
  background-image: linear-gradient(115deg, rgba(7,9,9,.94), rgba(7,9,9,.57)), url("hunter-gallery/hunter-cyberdeck-11.jpg");
  background-position: center;
  background-size: cover;
}

.page-title {
  max-width: 12ch;
  margin-bottom: 0;
  font: clamp(70px, 9vw, 132px)/.86 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.page-hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px var(--page-pad);
  color: var(--muted);
  background:
    linear-gradient(rgba(32,240,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,240,0,.05) 1px, transparent 1px),
    var(--surface);
  background-size: 30px 30px;
}

.page-hero-aside p {
  max-width: 440px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.filter-button {
  padding: 10px 13px;
  border: 1px solid var(--line-bright);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--green);
  color: var(--black);
  background: var(--green);
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.docs-nav {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 25px);
  border-top: 1px solid var(--line);
}

.docs-nav a {
  display: block;
  padding: 14px 5px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 11px/1.4 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.docs-nav a:hover {
  color: var(--green);
}

.docs-block {
  padding-bottom: 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.docs-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.docs-block h2 {
  margin-bottom: 24px;
  font: clamp(42px, 5vw, 68px)/.95 var(--display);
  text-transform: uppercase;
}

.docs-block > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec {
  min-height: 125px;
  padding: 22px;
  background: var(--surface);
}

.spec strong {
  display: block;
  margin: 12px 0 5px;
  font-size: 17px;
}

.spec p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hardware-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(290px, 5fr);
  min-height: 500px;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--black);
}

.hardware-feature-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #070909;
}

.hardware-feature-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(105deg, transparent 50%, rgba(32,240,0,.09));
}

.hardware-feature-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.16,.8,.25,1), filter 400ms ease;
}

.hardware-image-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 11px;
  border: 1px solid var(--green);
  color: var(--green);
  background: rgba(7,9,9,.9);
  font: 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hardware-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 50px);
}

.hardware-feature-copy h3 {
  margin: 15px 0 18px;
  font: clamp(42px, 4.5vw, 66px)/.92 var(--display);
  text-transform: uppercase;
}

.hardware-feature-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hardware-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.hardware-metrics div {
  padding: 13px;
  background: var(--surface);
}

.hardware-metrics dt {
  margin-bottom: 8px;
  color: var(--muted);
  font: 8px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hardware-metrics dd {
  margin: 0;
  color: var(--green);
  font: 17px/1 var(--display);
  text-transform: uppercase;
}

.agent-stack-intro {
  display: grid;
  grid-template-columns: minmax(180px, 3fr) minmax(210px, 4fr) minmax(280px, 5fr);
  gap: 24px;
  align-items: end;
  margin-top: 42px;
}

.agent-stack-intro h3 {
  margin: 0;
  font: 34px/1 var(--display);
  text-transform: uppercase;
}

.agent-stack-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.agent-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.agent-stack-grid .agent-card {
  min-width: 0;
  border: 0;
}

.agent-stack-grid .agent-name {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.05;
}

.architecture {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 35px;
}

.architecture-node {
  position: relative;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line-bright);
  background: var(--black);
}

.architecture-node:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  color: var(--green);
  content: "→";
  transform: translate(50%, -50%);
}

.architecture-node strong {
  display: block;
  margin-top: 14px;
  font: 23px/1 var(--display);
  text-transform: uppercase;
}

.coming-soon {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  min-height: calc(100vh - var(--header-height));
}

.coming-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) var(--page-pad);
  border-right: 1px solid var(--line);
  background: var(--black);
}

.coming-copy .display-title {
  max-width: 10ch;
}

.coming-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--page-pad);
  background:
    linear-gradient(rgba(32,240,0,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,240,0,.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(32,240,0,.13), transparent 40%),
    var(--surface);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.github-feature-photo {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid var(--line-bright);
  background: var(--black);
}

.github-feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08);
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 240ms ease;
}

.github-feature-photo figcaption {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font: 10px/1.3 var(--mono);
  letter-spacing: .12em;
}

.github-feature-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.pending-box {
  padding: 28px;
  border: 1px solid var(--green);
  background: rgba(7,9,9,.9);
}

.pending-box h2 {
  margin: 18px 0 12px;
  font: 34px/1 var(--display);
  text-transform: uppercase;
}

.pending-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-statement,
.about-copy {
  padding: clamp(30px, 5vw, 70px);
  background: var(--surface);
}

.about-statement blockquote {
  margin: 32px 0 0;
  font: clamp(40px, 5vw, 68px)/.98 var(--display);
  text-transform: uppercase;
}

.about-copy p {
  max-width: 720px;
  color: #c3c9c3;
  font-size: 18px;
  line-height: 1.75;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: min(1440px, 100%);
  min-height: 230px;
  margin-inline: auto;
  padding: 48px var(--page-pad);
}

.footer-brand img {
  width: 230px;
  height: auto;
  max-height: 62px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px 35px;
  align-content: start;
  justify-self: end;
}

.footer-links a {
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 11px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

/* Motion layer: pointer feedback, scroll reveals and technical micro-interactions */
.brand img,
.footer-brand img {
  transform-origin: center;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), filter 240ms ease;
}

.status-dot {
  animation: statusPulse 1.8s ease-in-out infinite;
}

.deck,
.hero-visual::before,
.hero-visual::after {
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms ease;
}

.deck-screen::before {
  position: absolute;
  right: 0;
  left: 0;
  top: -18%;
  z-index: 1;
  height: 18%;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(32, 240, 0, .18), transparent);
}

.terminal-bar::before {
  transform-origin: left;
}

.button {
  position: relative;
  overflow: hidden;
  transition: color 180ms ease, background 180ms ease, transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  top: -30%;
  left: -45%;
  width: 28%;
  height: 160%;
  content: "";
  opacity: .55;
  background: rgba(255,255,255,.6);
  transform: skewX(-19deg);
  transition: left 320ms ease;
}

.ticker {
  padding-inline: 0;
}

.ticker-track {
  display: flex;
  flex: none;
  align-items: center;
  width: max-content;
  animation: tickerMove 22s linear infinite;
}

.ticker-group {
  display: flex;
  flex: none;
  gap: 38px;
  align-items: center;
  padding-right: 38px;
}

.ticker-group span::before {
  margin-right: 10px;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.module-card,
.story-card,
.resource-card,
.spec,
.architecture-node,
.pending-box,
.about-grid {
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.module-card::after {
  position: absolute;
  right: 0;
  left: 0;
  top: -45%;
  height: 38%;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(32,240,0,.14), transparent);
  transition: top 420ms ease, opacity 180ms ease;
}

.module-arrow,
.external-mark {
  display: inline-block;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
}

.module-card h3,
.module-card p,
.story-title,
.story-excerpt {
  transition: color 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}

.story-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.story-visual {
  transform-origin: center;
  transition: transform 500ms cubic-bezier(.16,.8,.25,1), filter 400ms ease, background-position 600ms ease;
}

.resource-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(32,240,0,.1) 49%, transparent 56% 100%);
  transform: translateX(-45%);
  transition: transform 520ms ease, opacity 200ms ease;
}

.resource-card::after {
  transition: color 260ms ease, transform 380ms cubic-bezier(.2,.8,.2,1);
}

.resource-card h3,
.resource-card p {
  transition: color 180ms ease, transform 240ms cubic-bezier(.2,.8,.2,1);
}

.page-hero-aside {
  transition: background-position 500ms ease;
}

.docs-nav a {
  transition: color 170ms ease, padding-left 170ms ease, border-color 170ms ease;
}

.motion-ready .reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.8,.2,1);
}

.motion-ready .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes stackDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes statusPulse {
  0%, 100% { opacity: .55; transform: scale(.8); box-shadow: 0 0 4px rgba(32,240,0,.25); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 16px rgba(32,240,0,.8); }
}

@keyframes screenScan {
  from { top: -18%; opacity: 0; }
  12%, 80% { opacity: .9; }
  to { top: 100%; opacity: 0; }
}

@keyframes meterPulse {
  0%, 100% { filter: brightness(.8); transform: scaleX(.96); }
  50% { filter: brightness(1.35); transform: scaleX(1); }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover img,
  .footer-brand:hover img {
    filter: drop-shadow(0 0 9px rgba(32,240,0,.45));
    transform: rotate(-2deg) scale(1.07);
  }

  .nav-link:hover .external-mark {
    transform: translate(4px, -4px);
  }

  .hero-visual:hover .deck {
    transform: perspective(900px) rotateX(var(--deck-rotate-x, 4deg)) rotateY(var(--deck-rotate-y, -6deg)) rotateZ(-1deg) translate(var(--deck-shift-x, 0), var(--deck-shift-y, 0));
  }

  .hero-visual:hover .hero-photo-card {
    opacity: .83;
    filter: saturate(1.08);
    transform: translate(var(--line-shift-x, 0), var(--line-shift-y, 0)) rotate(-1.5deg) scale(1.045);
  }

  .hero-visual:hover::before {
    border-color: rgba(32,240,0,.55);
    transform: translate(var(--line-shift-x, 0), var(--line-shift-y, 0)) rotate(-10deg) scale(1.03);
  }

  .hero-visual:hover::after {
    border-color: rgba(32,240,0,.42);
    transform: translate(var(--line-shift-y, 0), var(--line-shift-x, 0)) rotate(14deg) scale(.97);
  }

  .hero-visual:hover .deck-screen::before {
    animation: screenScan 1.35s linear infinite;
  }

  .hero-visual:hover .terminal-bar::before {
    animation: meterPulse 1.25s ease-in-out infinite;
  }

  .button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(32,240,0,.25);
  }

  .button:hover::after {
    left: 125%;
  }

  .module-card:hover {
    z-index: 2;
    background: #1d2220;
    box-shadow: inset 0 0 0 1px var(--green), 9px 9px 0 rgba(0,0,0,.35);
    transform: translateY(-9px);
  }

  .motion-ready .module-card.reveal-target.is-visible:hover {
    transform: translateY(-9px);
  }

  .module-card:hover::after {
    top: 108%;
    opacity: 1;
  }

  .module-card:hover .module-arrow {
    transform: translate(6px, -6px) rotate(5deg);
  }

  .module-card:hover h3 {
    color: var(--green);
    transform: translateX(5px);
  }

  .module-card:hover p {
    transform: translateX(5px);
  }

  .story-card:hover {
    z-index: 3;
    box-shadow: inset 0 0 0 1px var(--green), 12px 14px 0 rgba(0,0,0,.42);
    transform: translateY(-10px) rotate(.2deg);
  }

  .motion-ready .story-card.reveal-target.is-visible:hover {
    transform: translateY(-10px) rotate(.2deg);
  }

  .story-card:hover .story-visual {
    filter: contrast(1.18) brightness(1.08);
    transform: scale(1.045) rotate(-.35deg);
  }

  .story-card:hover .story-visual > img {
    filter: contrast(1.12) brightness(1.08);
    transform: scale(1.04);
  }

  .story-card:hover .story-title,
  .story-card:hover .story-excerpt {
    transform: translateX(5px);
  }

  .resource-card:hover {
    z-index: 2;
    box-shadow: inset 0 0 0 1px var(--green);
  }

  .resource-card:hover::before {
    opacity: 1;
    transform: translateX(45%);
  }

  .resource-card:hover::after {
    color: rgba(32,240,0,.16);
    transform: translate(-18px, -12px) rotate(-3deg) scale(1.06);
  }

  .resource-card:hover h3,
  .resource-card:hover p {
    transform: translateX(7px);
  }

  .page-hero:hover .page-hero-aside {
    background-position: 12px 12px, 12px 12px, center;
  }

  .docs-nav a:hover {
    padding-left: 13px;
    border-color: var(--green);
  }

  .spec:hover,
  .architecture-node:hover,
  .pending-box:hover {
    z-index: 2;
    border-color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green), 7px 7px 0 rgba(32,240,0,.08);
    transform: translate(-4px, -5px);
  }

  .motion-ready .pending-box.reveal-target.is-visible:hover {
    transform: translate(-4px, -5px);
  }

  .architecture-node:hover strong,
  .spec:hover strong {
    color: var(--green);
  }

  .agent-card:hover {
    z-index: 4;
    border-color: var(--green);
    background: #1b211e;
    box-shadow: inset 0 0 0 1px var(--green), 8px 8px 0 rgba(32,240,0,.1);
    transform: translateY(-8px) rotate(-.4deg);
  }

  .motion-ready .agent-card.reveal-target.is-visible:hover {
    transform: translateY(-8px) rotate(-.4deg);
  }

  .agent-card:hover .agent-icon img {
    filter: drop-shadow(0 0 8px rgba(32,240,0,.45));
    transform: scale(1.12) rotate(3deg);
  }

  .agent-card:hover .agent-name {
    color: var(--green);
  }

  .hardware-feature:hover .hardware-feature-image img {
    filter: contrast(1.08) brightness(1.06);
    transform: scale(1.035);
  }
}

/* 3D print library */
.print-page-hero .page-title {
  max-width: 8ch;
}

.model-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.model-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(330px, 4fr);
  min-height: 610px;
}

.model-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(rgba(32,240,0,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,240,0,.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, #243028 0, #101513 48%, #080a09 78%);
  background-size: 30px 30px, 30px 30px, auto;
}

.model-card-featured .model-stage {
  min-height: 610px;
  border-right: 1px solid var(--line);
}

model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  --poster-color: transparent;
  --progress-bar-color: var(--green);
  --progress-bar-height: 2px;
  background: transparent;
  cursor: grab;
}

model-viewer:active {
  cursor: grabbing;
}

.viewer-badge,
.viewer-help,
.viewer-fallback {
  position: absolute;
  z-index: 3;
  padding: 8px 10px;
  border: 1px solid var(--line-bright);
  color: var(--green);
  background: rgba(7,9,9,.9);
  font: 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.viewer-badge {
  top: 18px;
  left: 18px;
}

.viewer-help {
  right: 18px;
  bottom: 18px;
  color: var(--muted);
}

.viewer-fallback {
  right: 18px;
  top: 18px;
  color: var(--muted);
  transition: opacity 200ms ease;
}

.model-loaded .viewer-fallback {
  opacity: 0;
}

.model-unavailable .viewer-fallback {
  color: var(--green);
}

.model-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 55px);
  background: var(--black);
}

.model-copy h2 {
  margin: 16px 0 18px;
  font: clamp(38px, 4vw, 62px)/.95 var(--display);
  text-transform: uppercase;
}

.model-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.model-specs div {
  padding: 14px;
  background: var(--surface);
}

.model-specs dt {
  margin-bottom: 8px;
  color: var(--muted);
  font: 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.model-specs dd {
  margin: 0;
  color: var(--green);
  font: 20px/1 var(--display);
  text-transform: uppercase;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.model-grid .model-card {
  border: 0;
}

.model-grid .model-stage {
  min-height: 350px;
  border-bottom: 1px solid var(--line);
}

.model-grid .model-copy {
  min-height: 275px;
  justify-content: flex-start;
  background: var(--surface);
}

.model-grid .model-copy h2 {
  font-size: clamp(35px, 3.5vw, 48px);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.download-group {
  background: var(--surface);
}

.download-group-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 92px;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.download-group-head h3 {
  margin: 0;
  font: 30px/1 var(--display);
  text-transform: uppercase;
}

.file-count {
  color: var(--green);
  font: 10px/1 var(--mono);
  letter-spacing: .07em;
}

.file-list {
  padding: 5px 22px 18px;
}

.file-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 62px;
  padding: 13px 3px;
  border-bottom: 1px solid var(--line);
  transition: color 170ms ease, padding 170ms ease, background 170ms ease;
}

.file-link span {
  font-size: 14px;
  font-weight: 600;
}

.file-link small {
  flex: none;
  color: var(--muted);
  font: 9px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.file-link::after {
  flex: none;
  color: var(--green);
  font-size: 17px;
  content: "↓";
  transition: transform 170ms ease;
}

.file-link:hover {
  padding-inline: 10px;
  color: var(--green);
  background: rgba(32,240,0,.04);
}

.file-link:hover::after {
  transform: translateY(4px);
}

.master-download {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  min-height: 130px;
  margin-top: 22px;
  padding: 28px 32px;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--black);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.master-download small {
  display: block;
  margin-bottom: 8px;
  font: 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.master-download strong {
  display: block;
  font: clamp(29px, 3vw, 42px)/1 var(--display);
  text-transform: uppercase;
}

.master-download-meta {
  flex: none;
  font: 11px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.master-download-meta b {
  display: inline-block;
  margin-left: 13px;
  font-size: 30px;
  transition: transform 180ms ease;
}

.master-download:hover {
  color: var(--green);
  background: transparent;
  box-shadow: 9px 9px 0 rgba(32,240,0,.14);
  transform: translate(-4px,-4px);
}

.master-download:hover b {
  transform: translateY(7px);
}

.print-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.print-notes article {
  min-height: 230px;
  padding: 25px;
  background: var(--surface);
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.print-notes h3 {
  margin: 56px 0 12px;
  font: 31px/1 var(--display);
  text-transform: uppercase;
}

.print-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.print-notes article:hover {
  z-index: 2;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--green);
  transform: translateY(-7px);
}

.print-notes article:hover h3 {
  color: var(--green);
}

.print-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.print-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #171b1d;
}

.print-gallery .gallery-wide {
  grid-column: span 2;
}

.print-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 400ms ease, transform 550ms cubic-bezier(.2,.8,.2,1);
}

.print-gallery figcaption {
  position: absolute;
  left: 15px;
  bottom: 15px;
  padding: 8px 10px;
  border: 1px solid var(--line-bright);
  color: var(--green);
  background: rgba(7,9,9,.9);
  font: 9px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.print-gallery figure:hover img {
  filter: contrast(1.08) brightness(1.08);
  transform: scale(1.055) rotate(-.3deg);
}

.hunter-gallery {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 27, 22, .58), rgba(7, 9, 9, .92));
}

.hunter-gallery::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .24;
  background-image: linear-gradient(rgba(32,240,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(32,240,0,.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hunter-gallery > * {
  position: relative;
}

.hunter-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hunter-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0f0d;
}

.hunter-photo-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.hunter-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.08) brightness(.82);
  transition: transform 650ms cubic-bezier(.2,.8,.2,1), filter 450ms ease;
}

.hunter-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid rgba(32,240,0,.42);
  color: var(--green);
  background: rgba(7, 9, 9, .82);
  font: 9px/1.1 var(--mono);
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hunter-photo:hover img,
.hunter-photo:focus-within img {
  filter: saturate(1) contrast(1.12) brightness(1);
  transform: scale(1.065) rotate(-.35deg);
}

@media (max-width: 860px) {
  .hunter-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
}

@media (max-width: 520px) {
  .hunter-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .hunter-photo-featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .model-card:hover {
    z-index: 3;
    border-color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green), 12px 14px 0 rgba(0,0,0,.4);
    transform: translateY(-8px);
  }

  .motion-ready .model-card.reveal-target.is-visible:hover {
    transform: translateY(-8px);
  }

  .model-card:hover .viewer-badge {
    color: var(--black);
    background: var(--green);
  }

  .download-group:hover {
    z-index: 2;
    box-shadow: inset 0 0 0 1px var(--green);
  }
}

@media (max-width: 1120px) {
  .agent-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .print-notes {
    grid-template-columns: repeat(2, 1fr);
  }

  .print-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    grid-template-columns: 150px minmax(0, 1fr) auto auto auto;
  }

  .brand img {
    width: 160px;
    height: auto;
    max-height: 58px;
  }

  .header-status {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card,
  .story-card.featured {
    grid-column: span 6;
  }

  .architecture {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-node:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    background: #070909;
    backdrop-filter: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .brand img {
    width: 150px;
    height: auto;
    max-height: 53px;
  }

  .menu-button {
    display: block;
  }

  .language-switcher {
    margin-left: 0;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 25px var(--page-pad) 60px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(7, 9, 9, .99);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 16px 3px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 35px;
    letter-spacing: .02em;
  }

  .nav-link::after {
    display: none;
  }

  .hero,
  .page-hero,
  .coming-soon {
    grid-template-columns: 1fr;
  }

  .model-card-featured,
  .model-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .model-card-featured .model-stage {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 510px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-copy {
    min-height: 590px;
  }

  .page-hero-copy,
  .coming-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-hero-aside {
    min-height: 250px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .stack-frame-copy,
  .agent-stack-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hardware-feature {
    grid-template-columns: 1fr;
  }

  .hardware-feature-image {
    min-height: 440px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .resource-split,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
  }

  .docs-nav a {
    padding: 9px 11px;
    border: 1px solid var(--line);
  }

  .coming-panel {
    min-height: 440px;
  }
}

@media (max-width: 620px) {
  .shell {
    border-inline: 0;
  }

  .hero-visual {
    min-height: 410px;
    padding: 35px 24px;
  }

  .deck {
    padding: 12px;
    transform: rotate(-1deg);
    box-shadow: 11px 13px 0 #040505, 12px 14px 0 var(--line-bright);
  }

  .deck-screen {
    min-height: 220px;
    padding: 15px;
  }

  .terminal-title {
    font-size: 24px;
  }

  .terminal-row {
    grid-template-columns: 68px 1fr;
    font-size: 9px;
  }

  .visual-tag {
    display: none;
  }

  .hero-copy {
    min-height: 540px;
  }

  .display-title {
    font-size: clamp(62px, 19vw, 86px);
  }

  .button {
    width: 100%;
  }

  .module-grid,
  .resource-split,
  .spec-grid,
  .architecture,
  .agent-stack-grid,
  .print-notes,
  .print-gallery {
    grid-template-columns: 1fr;
  }

  .stack-frame-copy {
    padding-top: 50px;
  }

  .agent-stack-rail .agent-card {
    width: 164px;
  }

  .hardware-feature-image {
    min-height: 330px;
  }

  .hardware-feature-copy {
    padding: 28px 21px;
  }

  .hardware-metrics {
    grid-template-columns: 1fr;
  }

  .model-stage,
  .model-card-featured .model-stage,
  .model-grid .model-stage {
    min-height: 340px;
  }

  .master-download {
    align-items: flex-start;
    flex-direction: column;
  }

  .master-download-meta {
    width: 100%;
  }

  .print-gallery .gallery-wide {
    grid-column: span 1;
  }

  .file-link {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .architecture-node:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -15px;
    transform: translate(50%, 50%) rotate(90deg);
  }

  .architecture-node:nth-child(2)::after {
    display: block;
  }

  .story-card,
  .story-card.featured {
    grid-column: span 12;
  }

  .featured .story-visual,
  .story-visual {
    min-height: 230px;
  }

  .page-title {
    font-size: clamp(64px, 22vw, 95px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* Block-based HUNTER articles */
.post-page { background: var(--background); }
.post-hero-figure {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--line-bright);
  background: var(--ink);
}
.post-hero-figure img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.post-hero-figure figcaption {
  padding: 11px 14px;
  color: var(--hunter-orange);
  font: 10px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dossier-page { --dossier-accent: var(--hunter-orange); --dossier-line: rgba(255,106,42,.3); }
.post-hero { 
  position: relative; display: grid; gap: 18px; min-height: 470px;
  padding: clamp(110px, 13vw, 180px) var(--page-pad) 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(32,240,0,.07) 1px, transparent 1px), linear-gradient(rgba(32,240,0,.07) 1px, transparent 1px), radial-gradient(circle at 78% 32%, rgba(32,240,0,.1), transparent 34%), var(--black);
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.dossier-hero {
  padding-top: clamp(142px, 16vw, 215px);
  background: linear-gradient(90deg, rgba(255,106,42,.055) 1px, transparent 1px), linear-gradient(rgba(255,106,42,.055) 1px, transparent 1px), radial-gradient(circle at 82% 22%, rgba(255,106,42,.12), transparent 34%), var(--black);
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.dossier-rail { position: absolute; top: clamp(104px, 10vw, 132px); right: var(--page-pad); left: var(--page-pad); display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 10px 0; border-block: 1px solid var(--dossier-line); color: var(--muted); font: 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dossier-rail b { color: var(--dossier-accent); font-weight: 500; }
.dossier-hero .post-back, .dossier-hero .eyebrow { color: var(--dossier-accent); }
.dossier-hero .post-meta { color: var(--hunter-orange-soft); }
.dossier-system-sheet { max-width: 1080px; margin-inline: auto; padding: 0 var(--page-pad); border-bottom: 1px solid var(--dossier-line); }
.dossier-sheet-label { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 13px; border-bottom: 1px solid var(--dossier-line); }
.dossier-sheet-label .technical-label { color: var(--dossier-accent); }
.dossier-signal { color: var(--dossier-accent); font: 10px/1.4 var(--mono); letter-spacing: .08em; }
.dossier-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 1px; background: var(--dossier-line); }
.dossier-specs > div { display: grid; gap: 8px; min-height: 86px; padding: 17px 15px; background: var(--surface); }
.dossier-specs span { color: var(--muted); font: 9px/1.3 var(--mono); letter-spacing: .1em; }
.dossier-specs strong { color: var(--text); font: 17px/1.05 var(--display); letter-spacing: .02em; }
.dossier-intro { max-width: 1080px; margin: 0 auto; padding: 30px var(--page-pad) 0; border-left: 3px solid var(--dossier-accent); }
.dossier-intro .technical-label { color: var(--dossier-accent); }
.dossier-intro p { max-width: 760px; margin: 12px 0 0; color: #d2d7d2; font-size: clamp(17px, 2vw, 22px); line-height: 1.6; }
.dossier-page .post-blocks { padding-top: clamp(28px, 5vw, 66px); background: linear-gradient(90deg, rgba(255,106,42,.04) 1px, transparent 1px); background-size: 54px 100%; }
.dossier-page .post-block-frame { position: relative; padding: clamp(26px, 4vw, 58px) 0; border-top: 1px solid rgba(255,255,255,.08); }
.dossier-page .post-block-frame:first-child { padding-top: 0; border-top: 0; }
.dossier-page .post-block-frame:nth-child(4n + 2) { margin-inline: calc(var(--page-pad) * -1); padding-inline: var(--page-pad); border-block: 1px solid rgba(20,20,18,.16); color: #191a18; background: #f2f0e9; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-prose { color: #252824; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-heading { color: #111310; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-heading:is(h3), .dossier-page .post-block-frame:nth-child(4n + 2) .post-link { color: #d4511d; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-figure,
.dossier-page .post-block-frame:nth-child(4n + 2) .post-table-wrap,
.dossier-page .post-block-frame:nth-child(4n + 2) .post-faq { border-color: rgba(20,20,18,.28); background: #fbfaf6; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-caption,
.dossier-page .post-block-frame:nth-child(4n + 2) .post-credit { color: #62665e; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-callout { background: rgba(255,255,255,.56); }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-table { color: #252824; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-table th { color: #b94514; background: rgba(212,81,29,.1); }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-table th,
.dossier-page .post-block-frame:nth-child(4n + 2) .post-table td { border-color: rgba(20,20,18,.18); }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-faq > .technical-label { color: #b94514; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-faq summary { color: #181a17; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-faq summary::after { color: #d4511d; }
.dossier-page .post-block-frame:nth-child(4n + 2) .post-faq-answer { color: #3e433d; }
.dossier-page .post-heading { padding-left: 18px; border-left: 3px solid var(--dossier-accent); color: var(--text); }
.dossier-page .post-heading:is(h3) { color: var(--dossier-accent); }
.dossier-page .post-figure, .dossier-page .post-table-wrap, .dossier-page .post-faq, .dossier-page .post-embed-fallback { border-color: var(--dossier-line); }
.dossier-page .post-quote { border-color: var(--dossier-accent); }
.dossier-page .post-callout { border-left-color: var(--dossier-accent); }
.dossier-page .post-cta { border-color: var(--dossier-accent); background: linear-gradient(115deg, rgba(255,106,42,.13), rgba(255,106,42,.025)); }
.dossier-page .post-cta .technical-label, .dossier-page .post-link { color: var(--dossier-accent); }
.post-back { width: max-content; margin-bottom: 22px; color: var(--green); font: 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.post-title { max-width: 14ch; margin: 0; font: clamp(56px, 8vw, 118px)/.88 var(--display); text-transform: uppercase; }
.post-lead { max-width: 720px; margin: 8px 0 0; color: #d2d7d2; font-size: clamp(18px, 2vw, 25px); line-height: 1.5; }
.post-meta { margin-top: auto; color: var(--muted); font: 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.post-blocks { display: grid; gap: 1px; max-width: 1080px; margin-inline: auto; padding: clamp(34px, 6vw, 84px) var(--page-pad); }
.post-prose { color: #d4d9d4; font-size: 17px; line-height: 1.8; }
.post-prose p { max-width: 760px; margin: 0 0 1.15em; }
.post-heading { margin: clamp(28px, 6vw, 72px) 0 12px; color: var(--text); font: clamp(34px, 5vw, 68px)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; scroll-margin-top: 100px; }
.post-heading + .post-heading { margin-top: 20px; }
.post-heading:is(h3) { font-size: clamp(26px, 3.5vw, 46px); color: var(--green); }
.post-figure { margin: 0; border: 1px solid var(--line); background: var(--surface); }
.post-figure img { display: block; width: 100%; max-height: 720px; object-fit: cover; }
.post-image-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; text-align: left; }
.post-image-button img { transition: filter .25s ease, transform .25s ease; }
.post-image-button:hover img, .post-image-button:focus-visible img { filter: brightness(1.12); transform: scale(1.012); }
.post-image-button:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.post-figure figcaption, .post-gallery figcaption { padding: 11px 14px; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .05em; }
.post-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.post-caption, .post-credit { display: inline-block; }
.post-credit { color: #7f897f; }
.post-image-text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding-block: 18px; }
.post-image-text.image-left .post-figure { order: 0; }
.post-image-text.image-left .post-prose { order: 1; }
.post-image-text.image-right .post-figure { order: 1; }
.post-image-text.image-right .post-prose { order: 0; }
.post-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); }
.post-gallery figure { grid-column: span 4; margin: 0; background: var(--surface); }
.post-gallery figure:first-child { grid-column: span 8; }
.post-gallery-three-up figure,
.post-gallery-three-up figure:first-child { grid-column: span 4; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-code { overflow: hidden; border: 1px solid var(--line-bright); background: #080b09; }
.post-code-label { display: flex; justify-content: space-between; gap: 16px; padding: 10px 15px; border-bottom: 1px solid var(--line); color: var(--green); font: 10px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.post-code pre { overflow-x: auto; margin: 0; padding: 22px; color: #c5ffc0; font: 13px/1.7 var(--mono); }
.post-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); }
.post-stats > div { display: grid; gap: 8px; padding: 21px; background: var(--surface); }
.post-stats strong { color: var(--green); font: 37px/1 var(--display); }
.post-stats span { color: var(--muted); font: 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.post-stat-card small { color: var(--muted); font: 11px/1.45 var(--mono); }
.post-stat-progress { display: block; width: 100%; height: 4px; margin-top: 8px; background: var(--line); }
.post-stat-progress::after { display: block; width: var(--progress); height: 100%; background: var(--hunter-orange); content: ""; }
.post-quote { margin: 0; padding: 30px clamp(22px, 5vw, 64px); border-block: 1px solid var(--green); color: var(--text); background: rgba(32,240,0,.04); }
.post-quote p { max-width: 780px; margin: 0 0 12px; font: clamp(26px, 4vw, 48px)/1.05 var(--display); text-transform: uppercase; }
.post-quote cite { color: var(--green); font: 11px/1.4 var(--mono); }
.post-callout { padding: 24px; border-left: 3px solid var(--green); background: var(--surface); }
.post-callout p { max-width: 700px; margin: 12px 0 0; color: #d5dad5; line-height: 1.7; }
.post-timeline { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); }
.post-timeline li { display: grid; grid-template-columns: 145px 1fr; gap: 22px; padding: 20px; background: var(--surface); }
.post-timeline li > span { color: var(--green); font: 11px/1.4 var(--mono); }
.post-timeline strong { font-size: 18px; }
.post-timeline p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.post-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.post-model { min-height: 440px; border: 1px solid var(--line); background: #080b09; }
.post-model model-viewer { width: 100%; height: 440px; --poster-color: #080b09; }
.post-loading { padding: 28px; border: 1px solid var(--line); color: var(--muted); font: 12px/1.6 var(--mono); }
.post-video { overflow: hidden; margin: 0; border: 1px solid var(--line); background: #080b09; }
.post-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 280px; border: 0; }
.post-video figcaption { padding: 11px 14px; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .05em; }
.post-link-block { margin: 0; }
.post-link { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s ease, text-shadow .2s ease; }
.post-link:hover, .post-link:focus-visible { color: #b9ffad; text-shadow: 0 0 14px rgba(32,240,0,.45); }
.post-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.post-table { width: 100%; min-width: 540px; border-collapse: collapse; color: #d5dad5; font-size: 14px; line-height: 1.5; }
.post-table th, .post-table td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-table th:last-child, .post-table td:last-child { border-right: 0; }
.post-table th { color: var(--green); background: rgba(32,240,0,.08); font: 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.post-table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.post-table tbody tr:last-child td { border-bottom: 0; }
.post-faq { border: 1px solid var(--line); background: var(--surface); }
.post-faq > .technical-label { display: block; padding: 18px 20px 12px; color: var(--green); }
.post-faq details { border-top: 1px solid var(--line); }
.post-faq summary { padding: 17px 20px; color: var(--text); cursor: pointer; font: 16px/1.4 var(--display); letter-spacing: .02em; list-style: none; text-transform: uppercase; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after { float: right; color: var(--green); content: "+"; font: 22px/1 var(--mono); }
.post-faq details[open] summary::after { content: "−"; }
.post-faq summary:hover, .post-faq summary:focus-visible { color: var(--green); }
.post-faq-answer { padding: 0 20px 16px; color: #c7cec7; line-height: 1.7; }
.post-faq-answer p { margin: 0 0 .8em; }
.post-faq-answer p:last-child { margin-bottom: 0; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--green); border-left-width: 5px; background: linear-gradient(115deg, rgba(32,240,0,.13), rgba(32,240,0,.025)); }
.post-cta h3 { margin: 11px 0 6px; color: var(--text); font: clamp(30px, 4vw, 54px)/.96 var(--display); text-transform: uppercase; }
.post-cta p { max-width: 620px; margin: 0; color: #d2d7d2; line-height: 1.6; }
.post-cta .button { flex: 0 0 auto; }
.post-embed { overflow: hidden; max-width: 760px; margin-inline: auto; border: 1px solid var(--line); background: var(--surface); }
.post-embed iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.post-embed .twitter-tweet { margin: 0 auto !important; padding: 22px !important; }
.post-embed-card { display: grid; gap: 10px; padding: 24px; color: var(--text); text-decoration: none; }
.post-embed-card strong { font: 28px/1 var(--display); text-transform: uppercase; }
.post-embed-card > span:last-child { color: var(--muted); font: 12px/1.5 var(--mono); }
.post-embed-card:hover, .post-embed-card:focus-visible { background: rgba(32,240,0,.06); }
.post-embed-fallback { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(3,6,4,.9); backdrop-filter: blur(10px); }
.lightbox-overlay[hidden] { display: none; }
.lightbox-dialog { position: relative; width: min(1100px, 100%); max-height: 92vh; padding: 10px; border: 1px solid var(--green); background: #080b09; box-shadow: 0 0 60px rgba(32,240,0,.18); }
.lightbox-dialog img { display: block; width: 100%; max-height: calc(92vh - 70px); object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 38px; height: 38px; border: 1px solid var(--green); color: var(--green); background: #080b09; cursor: pointer; font: 25px/1 var(--mono); }
.lightbox-close:hover, .lightbox-close:focus-visible { color: var(--black); background: var(--green); }
.lightbox-caption { display: block; padding: 10px 8px 2px; color: var(--muted); font: 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .dossier-hero { padding-top: 148px; }
  .dossier-rail { top: 105px; gap: 7px 14px; font-size: 9px; }
  .dossier-sheet-label { align-items: flex-start; flex-direction: column; gap: 8px; }
  .dossier-specs { grid-template-columns: repeat(2, 1fr); }
  .dossier-specs > div { min-height: 74px; padding: 13px 12px; }
  .dossier-specs strong { font-size: 15px; }
  .post-image-text { grid-template-columns: 1fr; }
  .post-image-text.image-left .post-figure, .post-image-text.image-right .post-figure,
  .post-image-text.image-left .post-prose, .post-image-text.image-right .post-prose { order: initial; }
  .post-gallery figure, .post-gallery figure:first-child { grid-column: span 6; }
  .post-gallery-three-up figure, .post-gallery-three-up figure:first-child { grid-column: span 6; }
  .post-timeline li { grid-template-columns: 1fr; gap: 9px; }
  .post-video iframe { min-height: 220px; }
  .post-cta { align-items: flex-start; flex-direction: column; }
  .post-cta .button { width: 100%; text-align: center; }
  .post-embed iframe { min-height: 360px; }
  .lightbox-overlay { padding: 12px; }
}

/* Community reviews and GitHub discussion bridge */
.community-grid,
.post-community {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 1px;
  background: var(--line);
}

.community-proof,
.review-form {
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
}

.community-proof-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.community-average {
  color: var(--green);
  font: 11px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.review-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.review-card {
  padding: 19px 20px;
  background: var(--background);
}

.review-card-top,
.review-card-byline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.review-card-top time,
.review-card-byline {
  color: var(--muted);
  font: 10px/1.4 var(--mono);
}

.review-stars {
  color: var(--green);
  letter-spacing: .12em;
}

.review-card h3 {
  margin: 12px 0 7px;
  font-size: 21px;
}

.review-card p {
  max-width: 690px;
  margin: 0 0 16px;
  color: #d2d8d2;
  line-height: 1.65;
}

.review-card-byline a,
.text-link {
  color: var(--green);
  text-decoration: none;
}

.review-card-byline a:hover,
.text-link:hover {
  text-decoration: underline;
}

.community-empty {
  margin: 0;
  padding: 27px 20px;
  color: var(--muted);
  background: var(--background);
  font: 12px/1.5 var(--mono);
}

.community-discussion {
  margin-top: 17px;
  padding: 18px 20px;
  border-left: 2px solid var(--green);
  background: rgba(32,240,0,.04);
}

.community-discussion p {
  margin: 9px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.review-form {
  display: grid;
  align-content: start;
  gap: 13px;
}

.review-form h3 {
  margin: -4px 0 0;
  font: 35px/.95 var(--display);
  text-transform: uppercase;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-status {
  min-height: 20px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font: 10px/1.3 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line-bright);
  border-radius: 0;
  padding: 11px 12px;
  color: var(--text);
  background: var(--black);
  font: 13px/1.4 var(--body);
  text-transform: none;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: 1px solid var(--green);
  border-color: var(--green);
}

.review-form textarea {
  min-height: 104px;
  resize: vertical;
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.review-form .button[disabled] {
  cursor: wait;
  opacity: .55;
}

.post-community {
  margin: 0 auto;
  max-width: 1080px;
}

.post-community .community-proof,
.post-community .review-form {
  padding: clamp(24px, 4vw, 46px);
}

@media (max-width: 760px) {
  .community-grid,
  .post-community {
    grid-template-columns: 1fr;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }
}

/* Portrait Pixel 6a shell for the live agent monitor */
.pixel-status-device {
  width: min(356px, 84%);
  min-height: 594px;
  padding: 27px 12px 16px;
  border: 2px solid #5d6761;
  border-radius: 38px;
  background: linear-gradient(145deg, #1b201e 0%, #080a0a 28%, #050606 100%);
  box-shadow: 15px 19px 0 #030404, 17px 21px 0 rgba(88,96,96,.9), inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 28px rgba(32,240,0,.05);
  transform: perspective(900px) rotateX(3deg) rotateY(-7deg) rotateZ(-1deg);
}

.pixel-status-device::before {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 72px;
  height: 5px;
  content: "";
  border-radius: 99px;
  background: #323936;
  box-shadow: 0 0 0 1px rgba(0,0,0,.65);
  transform: translateX(-50%);
}

.pixel-status-device::after {
  position: absolute;
  top: 11px;
  right: 30%;
  width: 6px;
  height: 6px;
  content: "";
  border: 1px solid #1c241f;
  border-radius: 50%;
  background: #09100b;
  box-shadow: 0 0 5px rgba(32,240,0,.35);
}

.pixel-status-device .deck-topline {
  margin: 0 8px 10px;
  font-size: 8px;
  letter-spacing: .06em;
}

.pixel-status-device .deck-screen {
  min-height: 465px;
  padding: 20px 15px 14px;
  border-radius: 25px;
  background: radial-gradient(circle at 50% 0%, rgba(32,240,0,.1), transparent 40%), #071009;
}

.pixel-status-device .terminal-title {
  margin-bottom: 21px;
  font-size: 25px;
  letter-spacing: .02em;
}

.pixel-status-device .terminal-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: -8px 0 16px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(112,255,89,.22);
}

.pixel-status-device .terminal-tab {
  padding: 7px 5px 6px;
  border: 1px solid transparent;
  color: #738077;
  background: transparent;
  font: 9px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pixel-status-device .terminal-tab:hover,
.pixel-status-device .terminal-tab.is-active {
  border-color: rgba(32,240,0,.55);
  color: var(--green);
  background: rgba(32,240,0,.08);
}

.pixel-status-device .terminal-tab-count {
  display: inline-block;
  min-width: 15px;
  margin-left: 3px;
  color: #b8c4b9;
}

.pixel-status-device .terminal-panel[hidden] {
  display: none;
}

.pixel-status-device .terminal-log-panel {
  min-height: 378px;
}

.pixel-status-device .log-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #7b8c80;
  font: 8px/1.3 var(--mono);
  letter-spacing: .08em;
}

.pixel-status-device .log-refresh {
  width: 23px;
  height: 21px;
  border: 1px solid #3c5b42;
  color: var(--green);
  background: transparent;
  font: 15px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.pixel-status-device .log-refresh:hover {
  background: rgba(32,240,0,.12);
  transform: rotate(35deg);
}

.pixel-status-device .agent-log-list {
  display: grid;
  gap: 7px;
  max-height: 351px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-color: #315d39 transparent;
  scrollbar-width: thin;
}

.pixel-status-device .agent-log-entry {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 7px;
  padding: 8px 7px;
  border-left: 2px solid #276b32;
  background: rgba(20,45,24,.45);
}

.pixel-status-device .agent-log-entry.is-warning {
  border-left-color: #ffbf3d;
  background: rgba(85,58,17,.32);
}

.pixel-status-device .agent-log-entry.is-restart {
  border-left-color: #65e8ff;
}

.pixel-status-device .agent-log-marker {
  color: var(--green);
  font-size: 13px;
  line-height: 1.2;
}

.pixel-status-device .agent-log-copy {
  min-width: 0;
}

.pixel-status-device .agent-log-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
  color: var(--green);
  font: 8px/1.35 var(--mono);
  letter-spacing: .05em;
}

.pixel-status-device .agent-log-meta time {
  flex: none;
  color: #728178;
  font-size: 7px;
  letter-spacing: 0;
}

.pixel-status-device .agent-log-copy p {
  margin: 4px 0 0;
  color: #c3cec4;
  font: 8px/1.45 var(--mono);
  text-transform: none;
  overflow-wrap: anywhere;
}

.pixel-status-device .agent-log-empty {
  margin: 18px 4px;
  color: #7b8c80;
  font: 9px/1.5 var(--mono);
}

.pixel-status-device .terminal-row {
  grid-template-columns: 67px 1fr;
  gap: 7px;
  margin-block: 12px;
  font-size: 9px;
  line-height: 1.45;
}

.pixel-status-device .installed-agents {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(112,255,89,.2);
}

.pixel-status-device .installed-agents-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--green);
  font: 8px/1.2 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pixel-status-device .installed-agents-head span:last-child {
  color: #738077;
  font-size: 7px;
  letter-spacing: .03em;
}

.pixel-status-device .installed-agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 51px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-color: #315d39 transparent;
  scrollbar-width: thin;
}

.pixel-status-device .installed-agent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding: 3px 5px 3px 4px;
  border: 1px solid #294932;
  color: #c7d3c8;
  background: rgba(18,43,22,.55);
  font: 7px/1.1 var(--mono);
  white-space: nowrap;
}

.pixel-status-device .installed-agent img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.7) sepia(1) hue-rotate(57deg) saturate(3);
}

.pixel-status-device .installed-agent-empty {
  color: #738077;
  font: 8px/1.4 var(--mono);
}

.pixel-status-device .deck-controls {
  gap: 8px;
  margin: 12px 8px 0;
}

.pixel-status-device .deck-control {
  height: 12px;
  border-radius: 99px;
}

@media (max-width: 620px) {
  .pixel-status-device {
    width: min(310px, 82%);
    min-height: 520px;
    padding: 23px 10px 13px;
    border-radius: 32px;
  }

  .pixel-status-device .deck-screen {
    min-height: 400px;
    padding: 16px 12px 12px;
    border-radius: 21px;
  }

  .pixel-status-device .terminal-title {
    margin-bottom: 17px;
    font-size: 22px;
  }

  .pixel-status-device .terminal-switcher {
    margin-bottom: 12px;
  }

  .pixel-status-device .terminal-log-panel {
    min-height: 320px;
  }

  .pixel-status-device .agent-log-list {
    max-height: 294px;
  }

  .pixel-status-device .terminal-row {
    grid-template-columns: 59px 1fr;
    margin-block: 9px;
    font-size: 8px;
  }

  .pixel-status-device .installed-agents {
    margin-top: 11px;
    padding-top: 8px;
  }

  .pixel-status-device .installed-agent-list {
    max-height: 45px;
  }
}

/* Final cascade: keep the existing content architecture, apply the new
   dossier direction after the legacy green theme and its media queries. */
body { color: var(--warm-white); background: var(--void); }
body::before { display: none; }
.shell { width: 100%; max-width: none; border: 0; }
.site-header { height: var(--header-height); border-color: var(--rule); background: var(--void); backdrop-filter: none; }
.header-inner { display: flex; gap: clamp(14px, 2vw, 34px); width: 100%; max-width: 1600px; padding: 0 var(--page-pad); }
.brand { display: flex; flex: 0 0 auto; flex-direction: column; width: max-content; color: var(--green-soft); font: clamp(27px, 3.1vw, 50px)/.76 var(--display); text-transform: uppercase; }
.brand-word, .brand-sub { display: block; }
.brand:hover { color: var(--hunter-orange); }
.brand img, .footer-brand img { display: none; }
.main-nav { display: flex; flex: 1 1 auto; justify-content: center; gap: clamp(11px, 2vw, 33px); }
.nav-link { padding: 9px 0 7px; color: #cdbcb6; font: clamp(16px, 1.8vw, 27px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.nav-link::after { height: 2px; background: var(--hunter-orange); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--hunter-orange); }
.external-mark { color: var(--hunter-orange); }
.header-status { padding: 10px 12px; border-color: var(--hunter-orange); color: var(--hunter-orange); background: transparent; }
.status-dot { background: var(--signal-green); box-shadow: none; }
.language-switcher { margin-left: 0; color: #d5c4be; }
.language-label { display: none; }
.language-button { color: #d5c4be; }
.language-button:hover, .language-button:focus-visible, .language-button.is-active { border-color: var(--hunter-orange); color: var(--hunter-orange); }
.eyebrow, .meta, .technical-label, .section-index { color: var(--hunter-orange); }
.button { border-color: var(--hunter-orange); color: var(--ink); background: var(--hunter-orange); }
.button:hover { color: var(--hunter-orange); background: var(--ink); }
.button.secondary { color: var(--hunter-orange); background: transparent; }
.button.secondary:hover { color: var(--ink); background: var(--hunter-orange); }

body[data-page="home"] .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: calc(100vh - var(--header-height)); border-color: var(--ink); background: var(--paper); }
body[data-page="home"] .hero-copy { grid-column: 1; grid-row: 1; justify-content: center; padding: clamp(56px, 7vw, 112px) var(--page-pad); color: var(--ink); background: var(--paper); }
body[data-page="home"] .hero-copy .eyebrow { color: var(--hunter-orange); }
body[data-page="home"] .display-title { max-width: 6.6ch; color: var(--ink); font-size: clamp(72px, 8.7vw, 142px); line-height: .84; }
body[data-page="home"] .lead { color: #423c38; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
body[data-page="home"] .hero-visual { grid-column: 2; grid-row: 1; min-height: 620px; border-color: var(--rule-light); background: var(--paper); }
body[data-page="home"] .hero-visual::before, body[data-page="home"] .hero-visual::after { border-color: var(--rule-light); }
body[data-page="home"] .hero-photo-card { inset: 11% 6% 13%; opacity: .16; border-color: var(--rule); box-shadow: none; transform: rotate(-2deg); }
body[data-page="home"] .hero-photo-card::after { background: #fff; mix-blend-mode: screen; }
body[data-page="home"] .hero-photo-card figcaption { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--paper); }
body[data-page="home"] .visual-tag { border-color: var(--rule); color: var(--ink); background: var(--paper); }
body[data-page="home"] .visual-tag.two { border-color: var(--signal-green); color: var(--signal-green); }
body[data-page="home"] .pixel-status-device { z-index: 5; width: min(620px, 90%); min-height: 590px; padding: 0 18px 18px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); transform: none; }
body[data-page="home"] .pixel-status-device::before, body[data-page="home"] .pixel-status-device::after { display: none; }
body[data-page="home"] .pixel-status-device .deck-topline { margin: 0 -18px 22px; padding: 16px 18px; color: var(--paper); background: var(--ink); font-size: 10px; }
body[data-page="home"] .pixel-status-device .deck-screen { min-height: 450px; padding: 20px; border: 0; background: var(--paper); box-shadow: none; }
body[data-page="home"] .pixel-status-device .terminal-title { color: var(--ink); font-size: 28px; }
body[data-page="home"] .pixel-status-device .terminal-switcher { border-color: var(--rule-light); }
body[data-page="home"] .pixel-status-device .terminal-tab { color: #746862; }
body[data-page="home"] .pixel-status-device .terminal-tab:hover, body[data-page="home"] .pixel-status-device .terminal-tab.is-active { border-color: var(--hunter-orange); color: var(--ink); background: #fff2ed; }
body[data-page="home"] .pixel-status-device .terminal-row { color: var(--ink); border-bottom: 1px solid var(--rule-light); }
body[data-page="home"] .pixel-status-device .terminal-row span:first-child { color: #746862; }
body[data-page="home"] .pixel-status-device .installed-agents { border-color: var(--rule-light); }
body[data-page="home"] .pixel-status-device .installed-agents-head { color: var(--ink); }
body[data-page="home"] .pixel-status-device .installed-agent { border-color: var(--rule); color: var(--ink); background: var(--paper); }
body[data-page="home"] .pixel-status-device .deck-control { border-color: var(--ink); background: var(--paper); }
.ticker { min-height: 82px; border-color: var(--ink); background: var(--ink); color: #bbb0ac; }
.ticker span::before { color: var(--hunter-orange); }
.stack-frame { border-color: var(--rule); background: var(--void); }
.stack-frame-copy h2 { color: var(--paper); }
.stack-frame-copy p { color: #ad9992; }
.agent-card { border-color: var(--rule); background: var(--surface); }
.agent-card:hover { border-color: var(--hunter-orange); background: var(--surface-2); }

body[data-page="home"] main > .section { color: var(--ink); background: var(--paper); border-color: var(--rule); }
body[data-page="home"] main > .section:nth-of-type(4n + 1), body[data-page="home"] main > .section:nth-of-type(4n + 4) { color: var(--paper); background: var(--void); }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .section-description, body[data-page="home"] main > .section:nth-of-type(4n + 4) .section-description { color: #b8a8a1; }
.section { border-color: var(--rule); }
.section-title { color: inherit; font-size: clamp(48px, 6vw, 86px); line-height: .9; }
.section-description { color: #4a433f; }
.module-grid, .story-grid, .resource-split, .spec-grid, .download-grid, .print-notes, .hunter-photo-grid { border-color: var(--rule); background: var(--rule); }
.module-card, .story-card, .resource-card, .spec, .download-group, .print-notes article { color: var(--ink); background: var(--paper); }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .module-card, body[data-page="home"] main > .section:nth-of-type(4n + 1) .story-card, body[data-page="home"] main > .section:nth-of-type(4n + 1) .resource-card, body[data-page="home"] main > .section:nth-of-type(4n + 4) .module-card, body[data-page="home"] main > .section:nth-of-type(4n + 4) .story-card, body[data-page="home"] main > .section:nth-of-type(4n + 4) .resource-card { color: var(--paper); background: var(--surface); }
.module-card:hover { background: #fff0ea; }
.module-card p, .story-excerpt, .resource-card p, .print-notes p { color: #5d514b; }
body[data-page="home"] main > .section:nth-of-type(4n + 1) .module-card p, body[data-page="home"] main > .section:nth-of-type(4n + 1) .story-excerpt, body[data-page="home"] main > .section:nth-of-type(4n + 1) .resource-card p, body[data-page="home"] main > .section:nth-of-type(4n + 4) .module-card p, body[data-page="home"] main > .section:nth-of-type(4n + 4) .story-excerpt, body[data-page="home"] main > .section:nth-of-type(4n + 4) .resource-card p { color: #bdaea8; }
.story-visual { border-color: var(--rule); background: var(--ink); }
.story-visual > img { filter: grayscale(1) contrast(1.12); }

.page-hero { min-height: 360px; border-color: var(--rule); background: var(--void); }
.page-hero-copy { padding: clamp(52px, 7vw, 100px) var(--page-pad) 46px; border-color: var(--rule); background: var(--void); }
.page-hero-aside { padding: 46px var(--page-pad); color: var(--warm-white); background: var(--surface); }
.page-hero-aside p { color: #c5afa7; }
.page-title { max-width: 8ch; color: var(--warm-white); font-size: clamp(70px, 10vw, 148px); line-height: .82; }
body[data-page="blog"] .page-hero, body[data-page="blog"] .page-hero-copy, body[data-page="blog"] .page-hero-aside { color: var(--ink); background: var(--paper); }
body[data-page="blog"] .page-hero-copy { border-color: var(--rule-light); }
body[data-page="blog"] .page-title { color: var(--ink); }
body[data-page="blog"] .page-hero-aside p { color: #4c443f; }
body[data-page="blog"] .section { color: var(--ink); background: var(--paper); }
body[data-page="blog"] .filter-button { border-color: var(--ink); color: var(--ink); }
body[data-page="blog"] .filter-button:hover, body[data-page="blog"] .filter-button.active { border-color: var(--hunter-orange); color: var(--ink); background: var(--hunter-orange); }
body[data-page="blog"] .story-card { color: var(--ink); background: var(--paper); }
body[data-page="blog"] .story-excerpt { color: #5d514b; }

/* Keep the blog overview compact: landscape previews make the archive scannable. */
body[data-page="blog"] .story-card,
body[data-page="blog"] .story-card.featured {
  grid-column: span 4;
  min-height: 0;
}
body[data-page="blog"] .story-visual,
body[data-page="blog"] .featured .story-visual {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
body[data-page="blog"] .story-visual > img {
  min-height: 0;
  object-fit: cover;
}
body[data-page="blog"] .story-content { padding: 20px; }
body[data-page="blog"] .story-title {
  margin: 12px 0 10px;
  font-size: clamp(26px, 2.4vw, 36px);
}
body[data-page="blog"] .story-excerpt { margin-bottom: 18px; }

@media (max-width: 900px) {
  body[data-page="blog"] .story-card,
  body[data-page="blog"] .story-card.featured { grid-column: span 6; }
}

@media (max-width: 640px) {
  body[data-page="blog"] .story-card,
  body[data-page="blog"] .story-card.featured { grid-column: span 12; }
}

body[data-page="tech"] main > .section { color: var(--ink); background: var(--paper); }
.docs-layout { grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: clamp(28px, 6vw, 90px); }
.docs-nav { border-color: var(--rule-light); }
.docs-nav a { color: #6f615b; border-color: var(--rule-light); }
.docs-nav a:hover { color: var(--hunter-orange); }
.docs-block { border-color: var(--rule-light); }
.docs-block h2 { color: var(--ink); }
.docs-block > p, .spec p { color: #5f544e; }
.spec { background: var(--paper-warm); }
.spec strong { color: var(--ink); }
.hardware-feature { border-color: var(--ink); background: var(--ink); }
.hardware-feature-image { border-color: var(--rule); }
.hardware-feature-image img { filter: grayscale(1) contrast(1.1); }
.hardware-image-tag { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
.hardware-feature-copy { color: var(--paper); }
.hardware-feature-copy > p { color: #c5afa7; }
.hardware-metrics div { background: var(--surface); }
.hardware-metrics dd { color: var(--hunter-orange); }
.architecture-node { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.architecture-node:not(:last-child)::after { color: var(--hunter-orange); }

.coming-soon { min-height: calc(100vh - var(--header-height)); background: var(--void); }
.coming-copy { padding: var(--section-pad) var(--page-pad); border-color: var(--rule); background: var(--void); }
.coming-copy .display-title { max-width: 9ch; color: var(--paper); font-size: clamp(72px, 9vw, 142px); }
.coming-copy .lead { color: #c7b5af; }
.coming-panel { padding: var(--page-pad); background: var(--surface); }
.pending-box { border-color: var(--hunter-orange); background: var(--void); }
.pending-box h2 { color: var(--paper); }
.pending-box p { color: #c7b5af; }

body[data-page="makerworld"] main > .section:nth-of-type(3), body[data-page="makerworld"] main > .section:nth-of-type(4), body[data-page="archive"] main > .section:nth-of-type(3), body[data-page="about"] main > .section:nth-of-type(3) { color: var(--paper); background: var(--void); }
.model-card { border-color: var(--ink); background: var(--ink); }
.model-stage { background: var(--ink); border-color: var(--rule); }
.viewer-badge, .viewer-help, .viewer-fallback { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
.model-copy { color: var(--paper); background: var(--surface); }
.model-copy p { color: #c5afa7; }
.model-specs div { background: var(--void); }
.model-specs dd { color: var(--hunter-orange); }
.download-group-head { border-color: var(--rule); background: var(--ink); }
.download-group-head h3 { color: var(--paper); }
.file-link { border-color: var(--rule-light); }
.file-link span { color: var(--ink); }
.file-link:hover { color: var(--hunter-orange); background: #fff0ea; }
.file-link::after { color: var(--hunter-orange); }
.master-download { border-color: var(--hunter-orange); color: var(--ink); background: var(--hunter-orange); }
.master-download:hover { color: var(--hunter-orange); background: var(--ink); }
.print-gallery figcaption, .hunter-photo figcaption { border-color: var(--hunter-orange); color: var(--hunter-orange); background: var(--ink); }
body[data-page="archive"] main > .section:nth-of-type(2), body[data-page="archive"] main > .section:nth-of-type(4) { color: var(--ink); background: var(--paper); }
body[data-page="archive"] main > .section:nth-of-type(3) { color: var(--paper); background: var(--void); }

body[data-page="about"] main > .section { color: var(--paper); background: var(--void); }
.about-grid, .community-grid, .post-community { border-color: var(--rule); background: var(--rule); }
.about-statement, .about-copy, .community-proof, .review-form { background: var(--surface); }
.about-statement blockquote, .community-proof h2, .review-form h3 { color: var(--paper); }
.about-copy p, .review-card p, .form-note, .community-discussion p { color: #c5afa7; }
.community-discussion { border-color: var(--hunter-orange); background: #24120c; }
.review-card, .community-empty { background: var(--void); }
.review-form input, .review-form select, .review-form textarea { border-color: var(--line-bright); color: var(--paper); background: var(--void); }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { border-color: var(--hunter-orange); outline-color: var(--hunter-orange); }

.site-footer { border-color: var(--rule); background: var(--surface); }
.footer-wordmark { display: flex; flex-direction: column; color: var(--paper); font: clamp(34px, 4vw, 58px)/.78 var(--display); text-transform: uppercase; }
.footer-wordmark:hover { color: var(--hunter-orange); }
.footer-brand p { color: #a9958e; }
.footer-links a { color: #c5afa7; border-color: var(--rule); }
.footer-links a:hover { color: var(--hunter-orange); }

.dossier-page { background: var(--void); }
.dossier-hero .post-title { color: var(--paper); }
.dossier-hero .post-lead, .dossier-intro p { color: #c5afa7; }
.dossier-rail, .dossier-system-sheet { border-color: var(--rule); }
.dossier-specs { background: var(--rule); }
.dossier-specs > div { background: var(--surface); }
.dossier-specs strong { color: var(--paper); }
.dossier-intro { border-color: var(--hunter-orange); }
.post-prose { color: #d8c7c1; }
.post-code, .post-callout, .post-cta { border-color: var(--line-bright); }
.post-code { background: var(--surface); }
.post-quote { border-color: var(--hunter-orange); background: #24120c; }
.post-quote p { color: var(--paper); }
.post-stats { background: var(--rule); }
.post-stats > div { background: var(--surface); }
.post-stats strong { color: var(--hunter-orange); }
.lightbox-overlay { background: rgba(9,10,10,.96); backdrop-filter: none; }
.lightbox-dialog { border-color: var(--hunter-orange); background: var(--ink); box-shadow: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 13px; }
  .nav-link { font-size: 15px; }
  .header-status { display: none; }
  body[data-page="home"] .display-title, .display-title { font-size: clamp(62px, 8vw, 108px); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .model-card-featured { grid-template-columns: 1fr; }
  .model-card-featured .model-stage { min-height: 480px; border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .header-inner { padding-inline: 16px; }
  .brand { font-size: 27px; }
  .main-nav { position: fixed; inset: var(--header-height) 0 0; display: grid; grid-auto-rows: min-content; gap: 0; align-content: start; padding: 25px 22px; border-top: 1px solid var(--rule); background: var(--void); transform: translateX(100%); transition: transform 180ms ease; }
  .menu-open .main-nav { transform: translateX(0); }
  .nav-link { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 28px; }
  .menu-button { display: block; margin-left: auto; }
  body[data-page="home"] .hero, .hero, .page-hero, .coming-soon { display: block; min-height: 0; }
  body[data-page="home"] .hero-copy, body[data-page="home"] .hero-visual, .page-hero-copy, .page-hero-aside, .coming-copy, .coming-panel { min-height: 0; padding: 58px 20px; }
  body[data-page="home"] .hero-visual { min-height: 540px; border-top: 1px solid var(--rule-light); border-left: 0; }
  body[data-page="home"] .hero-copy { padding-top: 74px; padding-bottom: 70px; }
  body[data-page="home"] .pixel-status-device { width: min(430px, 90%); min-height: 500px; }
  body[data-page="home"] .pixel-status-device .deck-screen { min-height: 380px; }
  .page-title, body[data-page="home"] .display-title, .coming-copy .display-title { font-size: clamp(64px, 18vw, 104px); }
  .section-heading, .stack-frame-copy, .about-grid, .community-grid, .post-community { grid-template-columns: 1fr; }
  .stack-frame-copy { display: block; }
  .module-grid, .story-grid, .resource-split, .spec-grid, .download-grid, .model-grid, .print-notes { grid-template-columns: 1fr; }
  .story-card, .story-card.featured { grid-column: auto; }
  .featured .story-visual { min-height: 260px; }
  .hardware-feature { grid-template-columns: 1fr; }
  .hardware-feature-image { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .agent-stack-intro { grid-template-columns: 1fr; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-node:not(:last-child)::after { top: auto; right: auto; bottom: -20px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .model-card-featured .model-stage { min-height: 350px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { justify-self: stretch; }
  .dossier-specs { grid-template-columns: 1fr 1fr; }
  .post-image-text { grid-template-columns: 1fr; }
  .post-timeline li { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 430px) {
  .dossier-specs { grid-template-columns: 1fr; }
  .print-gallery, .hunter-photo-grid { grid-template-columns: 1fr; }
  .print-gallery .gallery-wide, .hunter-photo-featured { grid-column: auto; }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero { display: flex; flex-direction: column; }
  body[data-page="home"] .hero-copy { order: 1; }
  body[data-page="home"] .hero-visual { order: 2; }
}

/* Content must remain readable when JavaScript or IntersectionObserver is
   unavailable; the new art direction does not depend on reveal animations. */
html.motion-ready .reveal-target { opacity: 1; transform: none; transition: none; }

/* Review adjustments ----------------------------------------------------- */
.brand {
  color: var(--green-soft);
  font-family: var(--body);
  font-size: clamp(22px, 2.35vw, 36px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: .86;
}
.main-nav .nav-link {
  color: #cdbcb6;
  font-family: var(--mono);
  font-size: clamp(10px, .9vw, 14px);
  font-weight: 400;
  letter-spacing: .06em;
}
.header-status, .language-button { font-family: var(--mono); font-weight: 400; }

body[data-page="home"] #project .module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  background: transparent;
}
body[data-page="home"] #project .module-card {
  min-height: 290px;
  border: 2px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}
body[data-page="home"] #project .module-card:hover {
  color: var(--paper);
  background: var(--surface);
}
body[data-page="home"] #project .module-card p { color: #c5afa7; }
body[data-page="home"] #project .module-card .meta,
body[data-page="home"] #project .module-card .module-arrow { color: var(--hunter-orange); }
body[data-page="home"] #project .module-number { color: #30231f; }

body[data-page="home"] .pixel-status-device {
  width: min(356px, 82%);
  min-height: 650px;
  padding: 27px 12px 16px;
  border: 2px solid #4a3d38;
  border-radius: 38px !important;
  background: linear-gradient(145deg, #211713 0%, #0b0b0b 28%, #050505 100%);
  box-shadow: 15px 19px 0 #030303, 17px 21px 0 #5b4038;
  transform: perspective(900px) rotateX(3deg) rotateY(-7deg) rotateZ(-1deg);
}
body[data-page="home"] .pixel-status-device::before {
  display: block;
  position: absolute;
  top: 11px;
  left: 50%;
  width: 72px;
  height: 5px;
  border-radius: 99px !important;
  background: #40312c;
  content: "";
  transform: translateX(-50%);
}
body[data-page="home"] .pixel-status-device::after {
  display: block;
  position: absolute;
  top: 11px;
  right: 30%;
  width: 6px;
  height: 6px;
  border: 1px solid #241b18;
  border-radius: 50% !important;
  background: #080e0a;
  content: "";
  box-shadow: 0 0 5px rgba(74,225,118,.35);
}
body[data-page="home"] .pixel-status-device .deck-topline {
  margin: 0 8px 10px;
  padding: 0;
  color: #bba49c;
  background: transparent;
  font-size: 8px;
}
body[data-page="home"] .pixel-status-device .deck-screen {
  min-height: 520px;
  padding: 20px 15px 14px;
  border: 1px solid #5b4038;
  border-radius: 25px !important;
  background: #0b0c0c;
  box-shadow: inset 0 0 28px rgba(255,90,31,.05);
}
body[data-page="home"] .pixel-status-device .terminal-title { color: var(--hunter-orange); font-size: 25px; }
body[data-page="home"] .pixel-status-device .terminal-switcher { border-color: rgba(255,181,158,.22); }
body[data-page="home"] .pixel-status-device .terminal-tab { color: #89736b; }
body[data-page="home"] .pixel-status-device .terminal-tab:hover,
body[data-page="home"] .pixel-status-device .terminal-tab.is-active { border-color: rgba(255,90,31,.7); color: var(--hunter-orange); background: rgba(255,90,31,.08); }
body[data-page="home"] .pixel-status-device .terminal-row { color: #d6c5bf; border-bottom: 0; }
body[data-page="home"] .pixel-status-device .terminal-row span:first-child { color: var(--hunter-orange); }
body[data-page="home"] .pixel-status-device .installed-agents { border-color: rgba(255,181,158,.2); }
body[data-page="home"] .pixel-status-device .installed-agents-head { color: var(--hunter-orange); }
body[data-page="home"] .pixel-status-device .installed-agent { border-color: #5b4038; color: #d6c5bf; background: rgba(39,24,19,.55); }
body[data-page="home"] .pixel-status-device .installed-agent img { filter: grayscale(1) brightness(1.5); }
body[data-page="home"] .pixel-status-device .deck-control { border-color: #5b4038; background: #17100d; }

@media (max-width: 760px) {
  body[data-page="home"] #project .module-grid { grid-template-columns: 1fr; gap: 14px; }
  body[data-page="home"] .pixel-status-device {
    width: min(330px, 86%);
    min-height: 570px;
    transform: none;
  }
  body[data-page="home"] .pixel-status-device .deck-screen { min-height: 445px; }
}

/* Final palette adjustment: silver signal over black, with a restrained
   burgundy-brown ground on the start page. */
:root {
  --hunter-orange: #b8b2ae;
  --green: #b8b2ae;
  --green-soft: #e2dcd8;
  --signal-green: #b8b2ae;
  --surface: #1b0f0d;
  --surface-2: #291713;
  --surface-3: #3a241f;
  --rule: #4b3b36;
  --line: #40312d;
  --line-bright: #766a65;
}
body[data-page="home"] .stack-frame,
body[data-page="home"] main > .section:nth-of-type(4n + 1),
body[data-page="home"] main > .section:nth-of-type(4n + 4) { background: #1b0f0d; }
body[data-page="home"] .pixel-status-device { border-color: #5d504b; box-shadow: 15px 19px 0 #030303, 17px 21px 0 #756863; }
body[data-page="home"] .pixel-status-device .terminal-title,
body[data-page="home"] .pixel-status-device .terminal-row span:first-child,
body[data-page="home"] .pixel-status-device .installed-agents-head { color: var(--hunter-orange); }
body[data-page="home"] .pixel-status-device .terminal-tab:hover,
body[data-page="home"] .pixel-status-device .terminal-tab.is-active { border-color: var(--hunter-orange); color: var(--hunter-orange); background: rgba(184,178,174,.1); }
body[data-page="home"] .pixel-status-device .installed-agent { border-color: #5d504b; background: rgba(41,23,19,.62); }
body[data-page="home"] .pixel-status-device .deck-screen { border-color: #5d504b; box-shadow: inset 0 0 28px rgba(184,178,174,.05); }
body[data-page="home"] .pixel-status-device .deck-control { border-color: #5d504b; background: #17100e; }
body[data-page="home"] #project .module-card .meta,
body[data-page="home"] #project .module-card .module-arrow { color: var(--hunter-orange); }
body[data-page="home"] #project .module-card:hover { background: #251714; }
body[data-page="home"] .visual-tag.two { border-color: var(--signal-green); color: var(--signal-green); }
model-viewer { filter: grayscale(1) saturate(0) contrast(1.12); }
.model-stage { background: #11100f; }
.model-copy { background: var(--surface); }
.footer-wordmark, .brand { color: var(--green-soft); }
.status-dot { background: var(--signal-green); }

/* Tech page: framed information becomes a set of separated black dossier
   cards, so the paper background acts as breathing room instead of noise. */
body[data-page="tech"] main > .section { background: var(--paper-warm); }
body[data-page="tech"] .spec-grid {
  gap: 16px;
  border: 0;
  background: transparent;
}
body[data-page="tech"] .spec {
  min-height: 150px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}
body[data-page="tech"] .spec .meta { color: var(--hunter-orange); }
body[data-page="tech"] .spec strong { color: var(--paper); }
body[data-page="tech"] .spec p { color: #c5afa7; }
body[data-page="tech"] .agent-stack-grid {
  gap: 10px;
  border: 0;
  background: transparent;
}
body[data-page="tech"] .agent-stack-grid .agent-card {
  border: 1px solid var(--line-bright);
  background: var(--surface);
}
body[data-page="tech"] .agent-stack-intro {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
}
body[data-page="tech"] .agent-stack-intro h3 { color: var(--paper); }
body[data-page="tech"] .agent-stack-intro p { color: #c5afa7; }

@media (max-width: 760px) {
  body[data-page="tech"] .spec-grid { gap: 14px; }
  body[data-page="tech"] .agent-stack-grid { gap: 8px; }
}

/* Home build log: the survival story owns the full second row instead of
   leaving an empty eight-column field beside it. */
body[data-page="home"] main > section:nth-of-type(4) .story-grid {
  gap: 16px;
  border: 0;
  background: transparent;
}
body[data-page="home"] main > section:nth-of-type(4) .story-grid .story-card:nth-of-type(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: 360px;
  border: 2px solid var(--rule);
}
body[data-page="home"] main > section:nth-of-type(4) .story-card:nth-of-type(3) .story-visual {
  min-height: 100%;
  border-right: 1px solid var(--rule);
  border-bottom: 0;
}
body[data-page="home"] main > section:nth-of-type(4) .story-card:nth-of-type(3) .story-content {
  padding: clamp(24px, 3vw, 42px);
}

@media (max-width: 760px) {
  body[data-page="home"] main > section:nth-of-type(4) .story-grid { gap: 14px; }
  body[data-page="home"] main > section:nth-of-type(4) .story-grid .story-card:nth-of-type(3) { display: flex; }
  body[data-page="home"] main > section:nth-of-type(4) .story-card:nth-of-type(3) .story-visual { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* Close editorial grids where the source content has an odd card count. */
body[data-page="archive"] .download-grid .download-group:last-child {
  grid-column: 1 / -1;
}

body[data-page="github"] .hunter-photo-grid {
  gap: 1px;
}

/* Accent decision: return the signal color to Hunter Orange while keeping
   the darker burgundy ground and monochrome 3D presentation. */
:root {
  --hunter-orange: #ff5a1f;
  --green: #b8b2ae;
  --green-soft: #e2dcd8;
  --signal-green: #b8b2ae;
}

/* The build-log and open-build bands use a cool editorial violet instead of
   the previous burgundy-brown field. */
body[data-page="home"] main > .section:nth-of-type(4),
body[data-page="home"] main > .section:nth-of-type(5) {
  background: #39245a;
  color: var(--paper);
}
body[data-page="home"] main > .section:nth-of-type(4) .section-description,
body[data-page="home"] main > .section:nth-of-type(5) .section-description {
  color: #d2c8dc;
}

body[data-page="home"] main > .section:nth-of-type(4) .story-grid,
body[data-page="home"] main > .section:nth-of-type(5) .resource-split {
  gap: 16px;
  border: 0;
  background: transparent;
}
body[data-page="home"] main > .section:nth-of-type(4) .story-card,
body[data-page="home"] main > .section:nth-of-type(5) .resource-card {
  border: 1px solid #0b0b0b;
  color: var(--paper);
  background: #080909;
}
body[data-page="home"] main > .section:nth-of-type(4) .story-excerpt,
body[data-page="home"] main > .section:nth-of-type(5) .resource-card p {
  color: #d0c8d4;
}

@media (max-width: 760px) {
  body[data-page="home"] main > .section:nth-of-type(4) .story-grid,
  body[data-page="home"] main > .section:nth-of-type(5) .resource-split { gap: 14px; }
}

/* Photography pass: let the original hardware photography keep its color,
   exposure and detail. Only the 3D viewers and tiny system icons stay
   intentionally monochrome. */
body img { filter: none; }
body[data-page="home"] .hero-photo-card {
  opacity: .74;
}
body[data-page="home"] .hero-photo-card img {
  filter: saturate(1.05) contrast(1.04) brightness(1.06);
}
body[data-page="home"] .hero-photo-card::after {
  background: linear-gradient(145deg, rgba(5,9,7,.01), rgba(5,9,7,.12) 72%, rgba(255,90,31,.04));
}
.story-visual > img,
.hardware-feature-image img,
.github-feature-photo img,
.print-gallery img,
.hunter-photo img,
.post-figure img,
.post-gallery img {
  filter: saturate(1.08) contrast(1.04) brightness(1.12);
}
.pixel-status-device .installed-agent img { filter: grayscale(1) brightness(1.5); }
model-viewer { filter: grayscale(1) saturate(0) contrast(1.12); }

/* Keep the page-hero photography visible while preserving readable type. */
body[data-page="blog"] .page-hero-copy,
body[data-page="blog-post"] .page-hero-copy {
  background-image: linear-gradient(115deg, rgba(7,9,9,.78) 10%, rgba(7,9,9,.42) 68%, rgba(7,9,9,.18)), url("hunter-gallery/hunter-cyberdeck-04.jpg");
}
body[data-page="tech"] .page-hero-copy,
body[data-page="makerworld"] .page-hero-copy,
body[data-page="archive"] .page-hero-copy,
body[data-page="about"] .page-hero-copy {
  background-image: linear-gradient(115deg, rgba(7,9,9,.78) 10%, rgba(7,9,9,.42) 68%, rgba(7,9,9,.18)), var(--hero-photo);
}
body[data-page="tech"] .page-hero-copy { --hero-photo: url("hunter-gallery/hunter-cyberdeck-02.jpg"); }
body[data-page="makerworld"] .page-hero-copy { --hero-photo: url("hunter-gallery/hunter-cyberdeck-06.jpg"); }
body[data-page="archive"] .page-hero-copy { --hero-photo: url("hunter-gallery/hunter-cyberdeck-07.jpg"); }
body[data-page="about"] .page-hero-copy { --hero-photo: url("hunter-gallery/hunter-cyberdeck-01.jpg"); }
body[data-page="github"] .coming-panel,
body[data-page="github"] .coming-copy {
  background-image: linear-gradient(115deg, rgba(7,9,9,.76), rgba(7,9,9,.34)), url("hunter-gallery/hunter-cyberdeck-11.jpg");
}

/* Hero proof strip: compact facts make the project legible at a glance. */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 560px;
  margin: 26px 0 30px;
  border-block: 1px solid var(--rule-light);
}
.hero-proof span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding: 13px 12px 12px 0;
  border-right: 1px solid var(--rule-light);
}
.hero-proof span:not(:first-child) { padding-left: 12px; }
.hero-proof span:last-child { border-right: 0; }
.hero-proof strong { color: var(--ink); font: 22px/1 var(--display); }
.hero-proof small { color: #6f625d; font: 9px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* Never let the moving toolchain become a page-wide horizontal overflow. */
html, body { overflow-x: hidden; }
.agent-stack-rail, .agent-stack-track { max-width: 100%; }

@media (max-width: 520px) {
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-proof span:nth-child(2) { border-right: 0; }
  .hero-proof span:nth-child(-n + 2) { border-bottom: 1px solid var(--rule-light); }
}

/* Hover must reveal the camera detail, never dim it again. */
@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .hero-photo-card {
    opacity: .74;
    filter: none;
  }
  .story-card:hover .story-visual {
    filter: none;
  }
  .story-card:hover .story-visual > img,
  .hardware-feature:hover .hardware-feature-image img {
    filter: saturate(1.08) contrast(1.04) brightness(1.12);
  }
  .github-feature-photo:hover img,
  .print-gallery figure:hover img,
  .hunter-photo:hover img,
  .hunter-photo:focus-within img {
    filter: saturate(1.08) contrast(1.04) brightness(1.12);
  }
  .post-image-button:hover img,
  .post-image-button:focus-visible img {
    filter: none;
  }
}

/* Footer uses the same supplied white lockup as the header. */
.footer-wordmark {
  display: block;
  width: min(300px, 42vw);
  height: auto;
  color: transparent;
}
.footer-wordmark .footer-logo {
  display: block !important;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: none !important;
  transform: none !important;
}
.footer-wordmark:hover .footer-logo {
  filter: drop-shadow(0 0 8px rgba(255,255,255,.2)) !important;
}
@media (max-width: 760px) {
  .footer-wordmark { width: min(250px, 62vw); }
}

/* GitHub code terminal: a copyable, readable repository map between the
   source intro and the visual field log. */
.github-code-section {
  padding: 0;
  color: var(--paper);
  background: var(--violet);
  border-block: 1px solid var(--line-bright);
}
.github-origin-story {
  --origin-gutter: var(--page-pad);
  margin: 0;
  padding: 0;
  border: 0;
  background: #080a0a;
  box-shadow: none;
}
.github-origin-story-kicker {
  margin: 0;
  padding: clamp(52px, 6vw, 82px) var(--origin-gutter) 24px;
  color: var(--hunter-orange);
  font: 11px/1.2 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.github-origin-story-layout {
  display: block;
}
.github-origin-story-content {
  max-width: none;
  color: #d6ccdf;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}
.github-origin-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  min-height: max(620px, calc(100svh - var(--header-height) - 150px));
  padding: 0 var(--origin-gutter) clamp(52px, 6vw, 82px);
}
.github-origin-lead-copy { min-width: 0; }
.github-origin-lead-copy {
  padding: clamp(24px, 3vw, 42px) clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-bright);
  background: rgba(57, 36, 90, .24);
}
.github-origin-flow {
  display: block;
  margin: 0;
}
.github-origin-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(280px, .64fr);
  gap: clamp(10px, 1vw, 16px);
  min-height: 420px;
  padding: 40px var(--origin-gutter) 18px;
  border-top: 1px solid rgba(112, 86, 76, .65);
  scroll-margin-top: var(--header-height);
  scroll-snap-align: start;
}
.github-origin-screen::before {
  position: absolute;
  top: 17px;
  left: 0;
  color: var(--hunter-orange);
  content: "ORIGIN SCREEN // " attr(data-screen);
  font: 10px/1 var(--mono);
  letter-spacing: .13em;
}
.github-origin-screen[data-layout="balanced"] {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
}
.github-origin-screen[data-layout="copy-focus"] {
  grid-template-columns: minmax(0, 1.52fr) minmax(250px, .48fr);
}
.github-origin-screen:nth-child(even) {
  grid-template-columns: minmax(280px, .64fr) minmax(0, 1.36fr);
}
.github-origin-screen:nth-child(even)[data-layout="balanced"] {
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
}
.github-origin-screen:nth-child(even)[data-layout="copy-focus"] {
  grid-template-columns: minmax(250px, .48fr) minmax(0, 1.52fr);
}
.github-origin-screen:nth-child(even) .github-origin-media {
  grid-column: 1;
  grid-row: 1;
}
.github-origin-screen:nth-child(even) .github-origin-chapter {
  grid-column: 2;
  grid-row: 1;
}
.github-origin-chapter {
  position: relative;
  min-width: 0;
  min-height: 420px;
  padding: clamp(26px, 2.8vw, 40px);
  overflow: hidden;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.56;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}
.github-origin-chapter::after {
  position: absolute;
  right: 12px;
  bottom: -.18em;
  z-index: 0;
  color: var(--paper);
  content: attr(data-chapter);
  font: clamp(150px, 18vw, 280px)/1 var(--display);
  opacity: .035;
  pointer-events: none;
}
.github-origin-chapter:hover,
.github-origin-media:hover {
  z-index: 2;
  border-color: var(--hunter-orange);
  box-shadow: 10px 10px 0 rgba(255, 90, 31, .16);
  transform: translate(-4px, -4px);
}
.github-origin-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(112, 86, 76, .65);
  color: var(--hunter-orange);
  font: 10px/1.2 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.github-origin-card-body {
  position: relative;
  z-index: 1;
  max-width: 70ch;
}
.github-origin-screen[data-layout="copy-focus"] .github-origin-card-body { max-width: none; }
.github-origin-screen[data-layout="copy-focus"] .github-origin-chapter {
  font-size: 15px;
  line-height: 1.5;
}
.github-origin-context {
  background: transparent;
}
.github-origin-continuation h3 { color: #c8b6d1; }
.github-origin-story-content h2,
.github-origin-story-content h3 {
  color: var(--paper);
  font-family: var(--display);
  line-height: .9;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.github-origin-story-content h2 {
  max-width: 13ch;
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 72px);
}
.github-origin-story-content h3 {
  margin: clamp(22px, 2.5vw, 34px) 0 18px;
  color: #f0e9f3;
  font-family: var(--body);
  font-size: clamp(19px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .025em;
}
.github-origin-chapter p:last-child { margin-bottom: 0; }
.github-origin-media {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  align-self: start;
  min-width: 0;
  height: clamp(420px, 66svh, 680px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: #0d1010;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .18);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}
.github-origin-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04) brightness(1.08);
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.github-origin-media:hover > img { transform: scale(1.035); }
.github-origin-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border: 1px solid var(--hunter-orange);
  color: var(--hunter-orange);
  background: rgba(8, 10, 10, .94);
  font: 10px/1.2 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.github-origin-brandstage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 58px);
  background: linear-gradient(135deg, #0b0d0e 0%, #1b1226 55%, #080a0a 100%);
}
.github-origin-brandstage::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background-image: linear-gradient(rgba(255, 90, 31, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 90, 31, .18) 1px, transparent 1px);
  background-size: 42px 42px;
}
.github-origin-brand-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(82%, 440px);
  gap: 14px;
}
.github-origin-brand-grid.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(88%, 520px); }
.github-origin-brand-tile {
  display: grid;
  place-items: center;
  gap: 15px;
  min-height: 152px;
  padding: 22px 18px;
  border: 1px solid rgba(112, 86, 76, .72);
  color: #d6ccdf;
  background: rgba(8, 10, 10, .78);
  font: 10px/1.2 var(--mono);
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}
.github-origin-brand-tile img {
  width: min(100px, 72%);
  max-height: 88px;
  object-fit: contain;
  filter: none;
}
.github-origin-brand-grid:not(.is-multi) .github-origin-brand-tile {
  min-height: 250px;
}
.github-origin-brand-grid:not(.is-multi) .github-origin-brand-tile img {
  width: min(170px, 72%);
  max-height: 155px;
}
.github-origin-agent-terminal {
  position: relative;
  z-index: 1;
  width: min(94%, 620px);
  overflow: hidden;
  border: 1px solid #786986;
  background: #080a0a;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, .24);
}
.github-origin-agent-terminal-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid #514759;
  color: #9d8ba8;
  font: 9px/1 var(--mono);
  letter-spacing: .1em;
}
.github-origin-agent-terminal-bar span:first-child { color: var(--hunter-orange); letter-spacing: .35em; }
.github-origin-agent-terminal-body {
  padding: clamp(24px, 4vw, 44px);
  color: #d7cddd;
  font: clamp(12px, 1.2vw, 15px)/1.65 var(--mono);
}
.github-origin-agent-terminal-body p { margin: 0 0 17px; }
.github-origin-agent-terminal-body p > span { color: var(--hunter-orange); }
.github-origin-agent-terminal-body .is-success { color: var(--signal-green); }
.github-origin-agent-terminal-body dl { margin: 26px 0 34px; }
.github-origin-agent-terminal-body dl div {
  display: grid;
  grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #302a34;
}
.github-origin-agent-terminal-body dl div:last-child { border-bottom: 1px solid #302a34; }
.github-origin-agent-terminal-body dt { color: #796d80; }
.github-origin-agent-terminal-body dd { margin: 0; color: var(--paper); }
.github-origin-agent-terminal-body .is-prompt { margin-bottom: 0; color: #b9a8c3; }
.github-origin-screen:nth-child(4n + 2) {
  border-color: #c5bbb4;
  background: #ded8d0;
}
.github-origin-screen:nth-child(4n + 2)::before { color: #b83f16; }
.github-origin-screen:nth-child(4n + 2) .github-origin-chapter {
  border-color: var(--ink);
  color: #e9e1ec;
  background: #090b0b;
  box-shadow: 10px 10px 0 rgba(57, 36, 90, .24);
}
.github-origin-story-content .github-origin-screen:nth-child(4n + 2) h3 { color: var(--paper); }
.github-origin-screen:nth-child(4n + 2) .github-origin-card-meta { border-color: rgba(112, 86, 76, .65); }
.github-origin-screen:nth-child(4n + 2) .github-origin-chapter::after { color: var(--paper); opacity: .035; }
.github-origin-screen:nth-child(4n + 2) strong { color: var(--paper); }
.github-origin-screen:nth-child(4n + 2) code { color: var(--hunter-orange); background: var(--violet); }
.github-origin-screen:nth-child(4n + 2) .github-origin-media {
  border-color: var(--ink);
  box-shadow: 10px 10px 0 rgba(57, 36, 90, .24);
}
.github-origin-screen:nth-child(4n) {
  border-color: #745c8a;
  background: var(--violet);
}
.github-origin-screen:nth-child(4n) .github-origin-chapter {
  border-color: var(--line-bright);
  background: linear-gradient(145deg, rgba(8, 10, 10, .9), rgba(31, 19, 45, .96));
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .18);
}
.github-origin-screen:nth-child(4n + 3) .github-origin-media {
  border-color: transparent;
  box-shadow: none;
}
.github-origin-story-content p { margin: 0 0 13px; }
.github-origin-story-content ul {
  margin: 0 0 22px;
  padding-left: 1.25em;
}
.github-origin-story-content li { margin: 4px 0; }
.github-origin-story-content strong { color: var(--paper); }
.github-origin-story-content code {
  padding: 2px 5px;
  color: var(--hunter-orange);
  background: rgba(57, 36, 90, .65);
  font: .88em/1 var(--mono);
}
.github-origin-portrait {
  margin: 0;
  border: 1px solid var(--line-bright);
  background: #111315;
  min-height: 100%;
}
.github-origin-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08) brightness(1.08);
}
.github-origin-portrait figcaption {
  padding: 11px 13px;
  color: #b9a9c5;
  font: 9px/1.2 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.github-terminal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  margin: 0;
  padding: clamp(60px, 7vw, 96px) var(--page-pad) 34px;
}
.github-terminal-heading .section-title {
  max-width: 10ch;
  color: var(--paper);
}
.github-terminal-heading .section-description {
  color: #d6ccdf;
}
.github-terminal-shell {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, .66fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: var(--line-bright);
  margin: 0 var(--page-pad) clamp(60px, 7vw, 96px);
  box-shadow: 12px 12px 0 rgba(0,0,0,.16);
}
.github-repo-tree,
.github-code-window {
  min-width: 0;
  background: var(--ink);
}
.github-terminal-bar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #d8cddd;
  font: 10px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.github-tree-status,
.github-code-lang {
  color: var(--hunter-orange);
}
.github-tree-list {
  max-height: 560px;
  overflow: auto;
  padding: 18px 14px 22px;
  font: 11px/1.35 var(--mono);
}
.github-tree-root {
  margin-bottom: 12px;
  color: var(--paper);
}
.github-tree-root span { color: var(--hunter-orange); }
.github-tree-group {
  display: grid;
  gap: 2px;
  margin: 0 0 14px 12px;
}
.github-tree-folder {
  padding: 5px 7px;
  color: #baa9c7;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.github-tree-file {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 7px;
  padding: 7px;
  border: 0;
  color: #a9a0ad;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.github-tree-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.github-tree-file:hover,
.github-tree-file:focus-visible,
.github-tree-file.is-active {
  color: var(--paper);
  outline: 0;
  background: var(--violet);
}
.github-tree-file.is-active { box-shadow: inset 3px 0 0 var(--hunter-orange); }
.github-code-bar { flex-wrap: wrap; }
.github-code-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.github-code-path {
  max-width: min(250px, 22vw);
  overflow: hidden;
  color: var(--paper);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.github-copy-button,
.github-file-link {
  padding: 7px 9px;
  border: 1px solid var(--hunter-orange);
  color: var(--hunter-orange);
  background: transparent;
  font: 9px/1 var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.github-copy-button:hover,
.github-copy-button:focus-visible,
.github-file-link:hover,
.github-file-link:focus-visible {
  color: var(--ink);
  background: var(--hunter-orange);
  outline: 0;
}
.github-code-body {
  position: relative;
  min-height: 420px;
  max-height: 560px;
  overflow: auto;
  background: #0b0d0e;
  scrollbar-color: var(--line-bright) #0b0d0e;
}
.github-code-pre {
  display: block;
  min-width: max-content;
  margin: 0;
  padding: 18px 0 24px;
  color: #d8d1da;
  font: 12px/1.65 var(--mono);
  tab-size: 2;
  white-space: pre;
}
.github-code-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 20px;
  padding-right: 28px;
}
.github-code-line:hover { background: rgba(57,36,90,.5); }
.github-line-number {
  padding-right: 14px;
  color: #625d67;
  text-align: right;
  user-select: none;
}
.github-line-text { padding-left: 14px; }
.code-comment { color: #6d8c78; }
.code-string { color: #f1a36f; }
.code-keyword { color: #bf9df1; }
.github-code-loading {
  position: absolute;
  inset: 18px;
  color: #8e8494;
  font: 11px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.github-code-loading[hidden] { display: none; }
.github-terminal-status {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  color: #8e8494;
  font: 9px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.github-terminal-status .status-dot { width: 6px; height: 6px; background: var(--signal-green); }
@media (max-width: 860px) {
  .github-origin-story { --origin-gutter: 18px; }
  .github-origin-lead { grid-template-columns: 1fr; min-height: 0; }
  .github-origin-screen,
  .github-origin-screen[data-layout="balanced"],
  .github-origin-screen[data-layout="copy-focus"],
  .github-origin-screen:nth-child(even),
  .github-origin-screen:nth-child(even)[data-layout="balanced"],
  .github-origin-screen:nth-child(even)[data-layout="copy-focus"] {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 42px 18px;
  }
  .github-origin-chapter {
    min-height: 0;
    padding: 28px 24px 34px;
  }
  .github-origin-screen:nth-child(even) .github-origin-media,
  .github-origin-screen:nth-child(even) .github-origin-chapter {
    grid-column: auto;
    grid-row: auto;
  }
  .github-origin-media {
    position: relative;
    top: auto;
    height: min(72vw, 500px);
    min-height: 330px;
  }
  .github-origin-brandstage { padding: 26px; }
  .github-origin-portrait { width: min(360px, 84vw); }
  .github-terminal-heading { grid-template-columns: 1fr; gap: 18px; }
  .github-terminal-shell { grid-template-columns: 1fr; }
  .github-tree-list { max-height: 250px; overflow: auto; }
  .github-code-body { min-height: 360px; }
}
@media (max-width: 560px) {
  .github-origin-story { --origin-gutter: 12px; }
  .github-terminal-shell { margin-inline: 12px; }
  .github-origin-card-meta { gap: 12px; font-size: 8px; }
  .github-origin-story-content h3 { font-size: 22px; }
  .github-origin-media { min-height: 280px; }
  .github-origin-brand-grid,
  .github-origin-brand-grid.is-multi {
    grid-template-columns: 1fr;
    width: min(92%, 320px);
  }
  .github-origin-brand-tile { min-height: 132px; }
  .github-origin-brand-grid:not(.is-multi) .github-origin-brand-tile { min-height: 230px; }
  .github-origin-agent-terminal { width: 100%; }
  .github-origin-agent-terminal-body dl div { grid-template-columns: 1fr; gap: 3px; }
  .github-code-actions { width: 100%; flex-wrap: wrap; }
  .github-code-path { max-width: 100%; width: 100%; }
  .github-code-bar { align-items: flex-start; flex-direction: column; padding-block: 13px; }
}

/* The public command-chain guide is rendered as individual, copyable steps. */
.github-command-guide {
  display: grid;
  gap: 1px;
  padding: 14px;
  background: #0b0d0e;
}
.github-command-step {
  padding: 22px 24px 24px;
  border: 1px solid rgba(111, 88, 137, .6);
  background: #101214;
}
.github-command-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--hunter-orange);
  font: 10px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.github-command-step h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font: 26px/.95 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.github-command-block {
  max-height: 220px;
  margin: 0 0 14px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  color: #d8d1da;
  background: #080a0b;
  font: 12px/1.55 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.github-copy-command {
  padding: 8px 10px;
  border: 1px solid var(--hunter-orange);
  color: var(--hunter-orange);
  background: transparent;
  font: 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.github-copy-command:hover,
.github-copy-command:focus-visible {
  color: var(--ink);
  background: var(--hunter-orange);
  outline: 0;
}
@media (max-width: 560px) {
  .github-command-guide { padding: 8px; }
  .github-command-step { padding: 18px 16px 20px; }
  .github-command-step h3 { font-size: 23px; }
}

/* Agent stack cards are direct launch points for the matching tool. */
.agent-card {
  color: inherit;
  text-decoration: none;
}
.agent-card:focus-visible {
  z-index: 2;
  outline: 2px solid var(--hunter-orange);
  outline-offset: -2px;
}
.agent-card::after { content: "↗"; }

/* Editorial emphasis: the selected words use a restrained italic cut. */
.display-title em,
.page-title em,
.section-title em,
.stack-frame-copy h2 em,
.resource-card h3 em,
.about-statement blockquote em {
  font-style: italic;
}
body[data-page="blog"] .page-hero .page-title {
  color: var(--paper);
}
body[data-page="archive"] .page-hero .page-title {
  max-width: none;
  font-size: clamp(58px, 7.25vw, 112px);
  letter-spacing: -.035em;
}
@media (max-width: 760px) {
  body[data-page="archive"] .page-hero .page-title {
    max-width: 100%;
    font-size: clamp(42px, 12vw, 72px);
    overflow-wrap: anywhere;
  }
}

/* Site-wide violet language: quiet violet surfaces, always grounded by
   near-black panels and cards. */
:root {
  --surface: #21182f;
  --surface-2: #2b1e3d;
  --surface-3: #3a2852;
  --rule: #57486a;
  --line: #443653;
  --line-bright: #7f6b93;
  --violet: #39245a;
  --violet-soft: #d2c8dc;
}

body[data-page="home"] .stack-frame {
  background: var(--surface);
  border-color: var(--line);
}
body[data-page="home"] .agent-card,
body[data-page="home"] .stack-frame .agent-card {
  border-color: var(--line-bright);
  background: var(--ink);
}
body[data-page="home"] .pixel-status-device {
  background: linear-gradient(145deg, #241736 0%, #0b0b0b 30%, #050505 100%);
  box-shadow: 15px 19px 0 #030303, 17px 21px 0 #75638a;
}

body[data-page="archive"] main > .section:nth-of-type(3),
body[data-page="makerworld"] main > .section:nth-of-type(3),
body[data-page="about"] main > .section:nth-of-type(3) {
  background: var(--violet);
}
body[data-page="archive"] .download-grid,
body[data-page="archive"] .download-group,
body[data-page="makerworld"] .model-card,
body[data-page="about"] .about-grid > *,
body[data-page="about"] .community-grid > * {
  border-color: #0b0b0b;
  background: var(--ink);
}

body[data-page="tech"] .agent-stack-intro {
  border-color: #0b0b0b;
  background: var(--violet);
}
body[data-page="tech"] .agent-stack-grid .agent-card {
  border-color: var(--line-bright);
  background: var(--ink);
}

.site-footer {
  background: var(--surface);
}
.footer-links a {
  background: var(--ink);
}

/* Blog language tabs ----------------------------------------------------- */
.blog-language-tabs {
  display: inline-flex;
  gap: 1px;
  margin-bottom: 22px;
  padding: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.blog-language-tab {
  min-width: 86px;
  padding: 13px 22px;
  border: 1px solid transparent;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font: 13px/1 var(--mono);
  font-weight: 700;
  letter-spacing: .12em;
}

.blog-language-tab:hover,
.blog-language-tab:focus-visible {
  border-color: var(--hunter-orange);
  color: var(--ink);
}

.blog-language-tab.active {
  color: var(--paper);
  background: var(--ink);
}

@media (max-width: 560px) {
  .blog-language-tabs {
    display: flex;
    width: 100%;
  }

  .blog-language-tab {
    flex: 1;
  }
}

.community-discussion {
  border-color: var(--hunter-orange);
  background: var(--ink);
}
.community-fallback {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-bright);
}
.community-fallback p { color: #d0c8d4; }

/* Header lockup: use the supplied angular HUNTER CYBERDECK mark in white. */
.brand {
  display: block;
  width: 220px;
  height: 76px;
  color: transparent;
  overflow: hidden;
}
.brand-logo {
  display: block !important;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  transform: none !important;
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 8px rgba(255,255,255,.2)) !important;
}

@media (max-width: 760px) {
  .brand { width: 190px; height: 66px; }
}

/* Let the supplied mark use the full left header lockup; older responsive
   rules for the former text wordmark must not shrink it back down. */
.brand {
  width: 210px;
  height: 70px;
}
.brand img.brand-logo {
  width: 210px;
  height: 70px;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 760px) {
  .brand { width: 180px; height: 60px; }
  .brand img.brand-logo { width: 180px; height: 60px; }
}

/* Mobile navigation: make every destination a full-width, comfortable touch row. */
@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 1000;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: none;
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 16px 16px 32px;
    border-top: 1px solid var(--rule);
    background: var(--void);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .menu-open .main-nav {
    transform: translateX(0);
  }

  .main-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    padding: 16px 14px;
    border-bottom: 1px solid var(--line-bright);
    color: var(--paper);
    font-family: var(--display);
    font-size: clamp(26px, 8vw, 36px);
    font-weight: 800;
    letter-spacing: .025em;
    line-height: .92;
    text-align: left;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus-visible {
    background: rgba(255, 255, 255, .06);
    color: var(--paper);
  }

  .main-nav .nav-link[aria-current="page"] {
    border-left: 4px solid var(--hunter-orange);
    padding-left: 10px;
    color: var(--hunter-orange);
  }

  .main-nav .nav-link .external-mark {
    flex: 0 0 auto;
    margin-left: 16px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
  }

  .menu-button {
    position: relative;
    z-index: 1001;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }
}
