/*
  HOODCHAIN.INFO — THE INDEPENDENT CHAIN LEDGER
  ------------------------------------------------
  Direction: editorial evidence, not crypto theatre.
  The system uses paper, ink, rules, section registers and restrained signal
  color instead of glow, glass, generic cards or decorative motion.
*/

:root {
  --paper: #f1efe7;
  --paper-raised: #f8f6ef;
  --paper-deep: #e3e0d6;
  --ink: #11130f;
  --ink-soft: #2e332d;
  --muted: #62685f;
  --line: #b8b6ac;
  --line-strong: #11130f;
  --signal: #baf23f;
  --signal-soft: #e2f6b7;
  --danger: #b83f36;
  --danger-soft: #f2d4cf;
  --warning: #ad6825;
  --warning-soft: #f1dfc7;
  --info-soft: #d9e4f1;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-reading: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  --font-ui: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max: 1280px;
  --article: 780px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --rule: 1px solid var(--line);
  --rule-strong: 2px solid var(--line-strong);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--signal); color: var(--ink); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }

.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--signal);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* Global shell */
.independence-bar {
  background: var(--ink);
  color: #d8dbd3;
  border-bottom: 1px solid #3d423b;
  padding: .36rem var(--gutter);
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1.35;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}
.independence-bar strong { color: var(--signal); font-weight: 800; }
.site-header {
  position: relative;
  z-index: 30;
  background: rgba(241, 239, 231, .97);
  border-bottom: var(--rule-strong);
}
.header-inner {
  max-width: var(--max);
  min-height: 4.25rem;
  margin: 0 auto;
  padding: .55rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  background: var(--ink);
  color: var(--signal);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: 1;
}
.brand-word { display: inline-flex; align-items: baseline; }
.brand-word > span {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.045em;
}
.brand-word small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.7rem, 1.35vw, 1.2rem);
  min-width: 0;
  white-space: nowrap;
}
.nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.section-nav { background: var(--ink); color: var(--paper); }
.section-nav-inner {
  max-width: var(--max);
  min-height: 2.35rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-label,
.section-nav a {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: .35rem 1.1rem;
  border-right: 1px solid #3b4038;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.section-label { padding-left: 0; color: var(--signal); }
.section-nav a { color: #d9ddd5; }
.section-nav a:hover,
.section-nav a[aria-current="page"] { background: var(--signal); color: var(--ink); }

.mobile-nav { display: none; background: var(--paper); border-top: var(--rule); border-bottom: var(--rule-strong); }
.mobile-nav-track {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
}
.mobile-nav-track::-webkit-scrollbar { display: none; }
.mobile-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: .2rem .9rem;
  border-right: var(--rule);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  scroll-snap-align: start;
}
.mobile-nav a:first-child { border-left: var(--rule); }
.mobile-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
body.section-news .mobile-nav .mobile-section-news,
body.section-guides .mobile-nav .mobile-section-guides,
body.section-security .mobile-nav .mobile-section-security,
body.section-ecosystem .mobile-nav .mobile-section-ecosystem { background: var(--section-accent, var(--ink)); color: var(--ink); }

/* Hero system */
.hero { position: relative; border-bottom: var(--rule-strong); overflow: hidden; }
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.8rem, 4.2vw, 4.2rem) var(--gutter) clamp(3rem, 4.6vw, 4.6rem);
}
.hero.has-visual .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: start;
  gap: clamp(2.5rem, 4.5vw, 4.75rem);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-inner::before {
  content: attr(data-register);
  position: absolute;
  top: .8rem;
  left: var(--gutter);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow::before,
.kicker::before { content: ""; width: 1.8rem; height: 3px; background: currentColor; }
.hero h1 {
  max-width: 12ch;
  margin: .72rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(3.55rem, 5.45vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -.066em;
  line-height: .93;
}
.hero p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-reading);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.55;
}
.home-page .hero { background: var(--ink); color: var(--paper); }
.home-page .hero .hero-inner::before { color: #7f877b; }
.home-page .hero .eyebrow { color: var(--signal); }
.home-page .hero h1 { max-width: 10.5ch; }
.home-page .hero p { color: #c9cec5; }
.hero-visual { min-width: 0; margin: 0; }
.hero-image-frame {
  position: relative;
  padding: .7rem;
  border: 1px solid currentColor;
  background: #080a08;
}
.hero-image-frame::before,
.hero-image-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  background: var(--signal);
}
.hero-image-frame::before { width: 3.5rem; height: .32rem; top: -.16rem; left: 1.25rem; }
.hero-image-frame::after { width: .32rem; height: 3.5rem; right: -.16rem; bottom: 1.25rem; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.76) contrast(1.08);
}
.hero-visual figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: .72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .62rem;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero-visual figcaption span:first-child { color: var(--signal); font-weight: 800; }
.pillar-page .hero-visual figcaption span:first-child,
.institutional-page .hero-visual figcaption span:first-child { color: var(--ink); }
.compact-hero .hero-inner { padding-top: 4.5rem; padding-bottom: 4rem; }
.compact-hero h1 { max-width: 15ch; font-size: clamp(3rem, 6vw, 6rem); }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 140ms ease, color 140ms ease;
}
.btn::after { content: " ↗"; margin-left: .7rem; }
.btn-primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.btn-secondary { background: transparent; color: inherit; }
.btn-secondary:hover { background: var(--paper); color: var(--ink); }
.independent-callout {
  max-width: 670px;
  margin-top: 2rem;
  padding: 1rem 0 0;
  border-top: 1px solid #4b5149;
  color: #aeb5aa;
  font-family: var(--font-ui);
  font-size: .82rem;
  line-height: 1.55;
}
.independent-callout strong { color: var(--signal); }

/* Home registers and content modules */
.fact-strip { background: var(--signal); border-bottom: var(--rule-strong); }
.fact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--ink);
}
.fact { min-height: 7.3rem; padding: 1.2rem var(--gutter); border-right: 1px solid var(--ink); }
.fact span {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7.5rem) var(--gutter); }
.section-head {
  max-width: 1000px;
  margin-bottom: clamp(2.2rem, 5vw, 4.2rem);
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 1.4rem clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.section-head .kicker { grid-column: 1; margin-top: .8rem; }
.section-head h2 {
  grid-column: 2;
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-head p {
  grid-column: 2;
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.08rem;
  line-height: 1.65;
}
.editorial-hub { background: var(--paper-deep); border-bottom: var(--rule-strong); }
.section-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule-strong);
  border-left: 1px solid var(--ink);
}
.section-card {
  --card-accent: var(--signal);
  position: relative;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-right: 1px solid var(--ink);
  border-bottom: var(--rule-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}
.section-card::before { content: ""; height: .65rem; position: absolute; inset: 0 0 auto; background: var(--card-accent); }
.section-card::after {
  content: "0" counter(section-card);
  counter-increment: section-card;
  position: absolute;
  top: 1.45rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 800;
}
.section-cards { counter-reset: section-card; }
.section-card.section-news { --card-accent: #ee7255; }
.section-card.section-guides { --card-accent: #7ba0dc; }
.section-card.section-security { --card-accent: #e0aa47; }
.section-card.section-ecosystem { --card-accent: #80b487; }
.section-card > span {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.section-card h3 {
  margin: 2.6rem 0 .9rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.section-card p { flex: 1; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.section-card strong {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-card:hover { background: var(--ink); color: var(--paper); }
.section-card:hover p { color: #c4c9c0; }
.publication-note,
.research-note {
  max-width: 920px;
  margin-top: 2.2rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: .95rem;
}
.publication-note strong,
.research-note strong { color: var(--ink); font-family: var(--font-ui); }

.cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: var(--rule-strong);
  border-left: 1px solid var(--ink);
}
.card {
  position: relative;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: var(--rule-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.card:nth-child(1) { grid-column: span 7; }
.card:nth-child(2) { grid-column: span 5; }
.card .num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .8;
}
.card h3 {
  max-width: 14ch;
  margin: 2.4rem 0 .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.card p { max-width: 48ch; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.62; }
.card .go {
  margin-top: auto;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.card:hover { background: var(--signal); }
.card:hover p { color: var(--ink-soft); }
.surface { background: var(--ink); color: var(--paper); border-top: var(--rule-strong); border-bottom: var(--rule-strong); }
.surface .section-head p { color: #b9c0b5; }
.surface .kicker { color: var(--signal); }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #697068; }
.mini {
  min-height: 10rem;
  padding: 1.35rem 1.4rem;
  border-right: 1px solid #697068;
  border-bottom: 1px solid #697068;
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.mini h3 { margin: 0 0 .65rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; }
.mini p { margin: 0; color: inherit; opacity: .76; font-size: .9rem; }
a.mini:hover { background: var(--signal); color: var(--ink); }

/* Foundational and institutional documents */
.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: .78rem var(--gutter);
  border-bottom: var(--rule);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.article-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: 245px minmax(0, var(--article));
  gap: clamp(2.5rem, 6vw, 6rem);
  justify-content: center;
  align-items: start;
}
.article-layout::before {
  content: attr(data-document);
  grid-column: 1 / -1;
  padding-bottom: .7rem;
  border-bottom: var(--rule-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.toc {
  position: sticky;
  top: 9.7rem;
  align-self: start;
  padding-top: .15rem;
  border-top: 5px solid var(--ink);
  counter-reset: toc-item;
  font-size: .8rem;
}
.toc strong {
  display: block;
  padding: .7rem 0 .85rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.toc a {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .2rem;
  padding: .62rem 0;
  border-bottom: var(--rule);
  color: var(--muted);
  line-height: 1.35;
  text-decoration: none;
  counter-increment: toc-item;
}
.toc a::before {
  content: counter(toc-item, decimal-leading-zero);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 800;
}
.toc a:hover { color: var(--ink); }
.content { min-width: 0; }
.content > :first-child { margin-top: 0; }
.content p,
.content li {
  color: var(--ink-soft);
  font-family: var(--font-reading);
  font-size: 1.08rem;
  line-height: 1.78;
}
.content .lead { color: var(--ink); font-size: 1.25rem; line-height: 1.65; }
.content section { scroll-margin-top: 10rem; }
.content h2 {
  margin: 4.3rem 0 1.25rem;
  padding-top: .65rem;
  border-top: var(--rule-strong);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: 1;
}
.content h3 {
  margin: 2.7rem 0 .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.content h4 { margin-top: 2rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.content ul,
.content ol { padding-left: 1.35rem; }
.content li { margin: .5rem 0; padding-left: .15rem; }
.content a { color: var(--ink); text-decoration-color: #688e21; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.content a:hover { background: var(--signal-soft); }
.content code,
.code { color: #244a17; font-family: var(--font-mono); font-size: .88em; word-break: break-word; }

.answer-box,
.note,
.warning,
.entity-facts,
.quick-checklist,
.critical-callout,
.risk-patterns,
.tax-note,
.section-feed-slot,
.direct-answer {
  margin: 2rem 0;
  padding: 1.35rem 1.45rem;
  border: 0;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper-raised);
}
.answer-box { background: var(--signal-soft); }
.answer-box > strong:first-child,
.note > strong:first-child,
.warning > strong:first-child {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.answer-box p:last-child,
.note p:last-child,
.warning p:last-child { margin-bottom: 0; }
.warning,
.critical-callout,
.tax-note { border-top-color: var(--warning); background: var(--warning-soft); }
.risk-patterns { border-top-color: var(--danger); background: var(--danger-soft); }
.note { border-top-color: #54749b; background: var(--info-soft); }
.quick-checklist h2,
.critical-callout h2,
.risk-patterns h2,
.tax-note h2,
.section-feed-slot h2 { margin-top: 0; border-top: 0; padding-top: 0; font-size: 2rem; }
.quick-checklist ol,
.risk-patterns ul { margin-bottom: 0; }
.content section > .direct-answer,
.direct-answer { border-top-width: 4px; background: var(--signal-soft); font-size: 1.04rem; }
.entity-facts { padding: 0; background: transparent; }
.entity-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(145px, .7fr) minmax(0, 1.3fr);
}
.entity-facts dt,
.entity-facts dd {
  margin: 0;
  padding: .78rem 1rem;
  border-bottom: var(--rule);
}
.entity-facts dt { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.entity-facts dd { color: var(--ink); font-family: var(--font-ui); font-size: .95rem; font-weight: 700; }
.review-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.8rem 0;
  border-top: var(--rule-strong);
  border-left: 1px solid var(--ink);
}
.review-status > * { padding: .9rem 1rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.review-status strong { display: block; margin-bottom: .25rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; }
.status-pill {
  display: inline-block;
  padding: .22rem .42rem;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.claim-meta {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  gap: .55rem 1rem;
  margin: 1.25rem 0 1.8rem;
  padding: .8rem .9rem;
  border: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--paper-deep);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .67rem;
  line-height: 1.55;
}
.claim-meta span { display: block; }
.claim-meta span:first-child { color: var(--ink); font-weight: 800; text-transform: uppercase; }
.claim-meta a { color: var(--ink); text-decoration-color: #6a8f23; }

.table-wrap,
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  margin: 1.7rem 0;
  border-collapse: collapse;
  border-top: var(--rule-strong);
  border-bottom: var(--rule-strong);
  font-size: .9rem;
}
.data-table th,
.data-table td {
  padding: .8rem .9rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
  text-align: left;
  vertical-align: top;
}
.data-table th:last-child,
.data-table td:last-child { border-right: 0; }
.data-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.data-table tbody tr:nth-child(even) { background: rgba(17, 19, 15, .035); }
.diagram { margin: 2.2rem 0; padding: .7rem; border: 1px solid var(--ink); background: var(--paper-raised); }
.diagram img { width: 100%; height: auto; }
.diagram figcaption { padding: .75rem .15rem .1rem; color: var(--muted); font-family: var(--font-mono); font-size: .65rem; line-height: 1.45; }

.faq { margin-top: 2rem; border-top: var(--rule-strong); }
details { border-bottom: 1px solid var(--ink); }
summary {
  position: relative;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  padding: .85rem 3rem .85rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; font-family: var(--font-mono); font-size: 1rem; }
details[open] summary::after { content: "−"; }
details p { padding-right: 2rem; }
.sources { font-size: .9rem; }
.sources li { margin: .75rem 0; }
.updated { color: var(--muted); font-family: var(--font-mono); font-size: .67rem; line-height: 1.5; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: var(--rule-strong); border-left: 1px solid var(--ink); }
.related a {
  min-height: 7rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
}
.related a:hover { background: var(--signal); }
.section-feed-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.section-feed-links a { padding: .9rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; text-decoration: none; }
.section-feed-links a:hover { background: var(--signal); }
.correction-status { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 6px solid var(--signal); background: var(--paper-deep); }
.section-placeholder { padding: 1rem; border: 1px dashed var(--ink); }
.source-ledger { margin-top: 1.25rem; }

/* Footer */
.site-footer { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); background: var(--ink); color: #c5cbc0; border-top: .75rem solid var(--signal); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(150px, .75fr));
  gap: clamp(2rem, 6vw, 6rem);
}
.site-footer .brand { color: var(--paper); }
.site-footer .brand-mark { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.site-footer .brand-word small { color: #899186; }
.site-footer strong { display: block; margin-bottom: .8rem; color: var(--paper); font-family: var(--font-mono); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: .42rem 0; color: inherit; font-size: .83rem; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.disclaimer { max-width: 650px; margin-top: 1.2rem; font-family: var(--font-reading); font-size: .9rem; line-height: 1.65; }

/* Responsive rules */
@media (max-width: 1100px) {
  .nav { gap: .55rem; }
  .nav a { font-size: .61rem; }
  .section-cards { grid-template-columns: repeat(2, 1fr); }
  .section-card { min-height: 18rem; }
  .article-layout { grid-template-columns: 215px minmax(0, var(--article)); gap: 2.5rem; }
}

@media (max-width: 900px) {
  .site-header { position: relative; }
  .header-inner { min-height: 3.85rem; padding-top: .45rem; padding-bottom: .45rem; }
  .header-inner .nav,
  .menu-button { display: none !important; }
  .mobile-nav { display: block; }
  .hero.has-visual .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; }
  .home-page .hero h1 { max-width: 11ch; }
  .article-layout { display: block; }
  .article-layout::before { display: block; margin-bottom: 2rem; }
  .toc { position: static; margin-bottom: 3rem; }
  .toc a { grid-template-columns: 2.2rem 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section-head { display: block; }
  .section-head .kicker { margin-bottom: 1.1rem; }
  .section-head h2 { margin-bottom: 1rem; }
  .section-cards { grid-template-columns: 1fr; }
  .section-card { min-height: 15.5rem; }
  .cards { display: block; border-left: 0; }
  .card { min-height: 15rem; border-left: 1px solid var(--ink); }
  .mini-grid { grid-template-columns: 1fr; border-left: 1px solid currentColor; }
  .review-status { grid-template-columns: 1fr; }
  .claim-meta { display: block; }
  .claim-meta span + span { margin-top: .35rem; }
  .related,
  .section-feed-links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 1rem; }
  .independence-bar { text-align: left; font-size: .61rem; }
  .brand-mark { width: 2.3rem; height: 2.3rem; }
  .brand-word > span { font-size: 1.2rem; }
  .section-label { display: none; }
  .section-nav a:first-of-type { border-left: 1px solid #3b4038; }
  .hero-inner { padding-top: 3.15rem; padding-bottom: 3.2rem; }
  .hero h1,
  .compact-hero h1 { max-width: none; font-size: clamp(2.9rem, 13.8vw, 4.5rem); line-height: .94; }
  .hero p { font-size: 1.03rem; }
  .hero-visual figcaption { grid-template-columns: 1fr; gap: .2rem; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { min-height: 6.4rem; border-bottom: 1px solid var(--ink); }
  .wrap { padding-top: 4rem; padding-bottom: 4rem; }
  .section-head h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .article-layout { padding-top: 2rem; padding-bottom: 5rem; }
  .breadcrumbs { font-size: .58rem; }
  .content p,
  .content li { font-size: 1.02rem; line-height: 1.72; }
  .content h2 { margin-top: 3.4rem; font-size: clamp(2.15rem, 10vw, 3rem); }
  .answer-box,
  .note,
  .warning,
  .entity-facts,
  .quick-checklist,
  .critical-callout,
  .risk-patterns,
  .tax-note,
  .section-feed-slot,
  .direct-answer { padding: 1rem; }
  .entity-facts dl { grid-template-columns: 1fr; }
  .entity-facts dt { padding-bottom: .18rem; border-bottom: 0; }
  .entity-facts dd { padding-top: .18rem; }
  .data-table { min-width: 620px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:first-child { grid-column: auto; }
}


/* v1.8.2 — finite imagery and navigation that never hides off-canvas. */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(3.55rem + env(safe-area-inset-bottom));
  }

  /* The full foundational index stays visible at the top. No drawer, no sideways rail. */
  .mobile-nav {
    display: block;
    border-top: 0;
    border-bottom: var(--rule-strong);
  }
  .mobile-nav-track {
    width: 100%;
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .mobile-nav a {
    min-width: 0;
    min-height: 2.85rem;
    padding: .42rem .25rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
    border-right: var(--rule);
    border-bottom: var(--rule);
    scroll-snap-align: none;
  }
  .mobile-nav a:first-child { border-left: 0; }
  .mobile-nav a:nth-child(4n) { border-right: 0; }
  .mobile-nav a:nth-last-child(-n + 4) { border-bottom: 0; }

  /* The four live editorial desks become the persistent mobile command bar. */
  .section-nav {
    display: block !important;
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: var(--rule-strong);
    background: var(--ink);
    box-shadow: 0 -5px 18px rgba(17, 19, 15, .14);
  }
  .section-nav-inner {
    width: 100%;
    max-width: none;
    min-height: 3.45rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .section-label { display: none; }
  .section-nav a,
  .section-nav a:first-of-type {
    min-width: 0;
    min-height: 3.45rem;
    padding: .4rem .2rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.12;
    border-left: 0;
    border-right: 1px solid #3b4038;
  }
  .section-nav a:last-child { border-right: 0; }

  /* A hero plate is always seen as one complete plate, never as a 900px-tall strip. */
  .hero-visual {
    width: 100%;
    max-width: 760px;
    justify-self: center;
  }
  .hero-image-frame {
    display: grid;
    place-items: center;
    padding: .5rem;
  }
  .hero-visual img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(34svh, 18rem);
    aspect-ratio: auto;
    object-fit: contain;
    margin-inline: auto;
  }
  .hero-visual figcaption {
    margin-top: .48rem;
    font-size: .56rem;
  }
}

@media (max-width: 620px) {
  .mobile-nav a { font-size: .56rem; letter-spacing: .015em; }
  .section-nav a { font-size: .57rem; letter-spacing: .02em; }
  .hero.has-visual .hero-inner { gap: 1.55rem; }
  .hero-image-frame::before { width: 2.3rem; }
  .hero-image-frame::after { height: 2.3rem; }
}

/* On very short landscape screens a plate cannot be shown responsibly; remove it. */
@media (max-width: 900px) and (max-height: 520px) {
  .hero-visual { display: none; }
}

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

/* A table is its own scroll container on narrow screens; it must never widen the page. */
@media (max-width: 620px) {
  .data-table {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table thead,
  .data-table tbody {
    display: table;
    width: 620px;
    min-width: 620px;
    table-layout: auto;
  }
}


/* Home hero v2 — editorial cover with integrated background artwork. */
.home-page .home-hero {
  isolation: isolate;
  min-height: clamp(39rem, 72vh, 52rem);
  background:
    linear-gradient(90deg, rgba(15, 18, 14, .99) 0%, rgba(15, 18, 14, .96) 42%, rgba(15, 18, 14, .72) 68%, rgba(15, 18, 14, .9) 100%),
    url("../images/hoodchain-home-hero.webp") right 8% center / min(58vw, 58rem) auto no-repeat,
    var(--ink);
}
.home-page .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 0 68%, rgba(177, 255, 52, .14) 68% 68.12%, transparent 68.12%),
    linear-gradient(to bottom, transparent 0 75%, rgba(177, 255, 52, .11) 75% 75.15%, transparent 75.15%);
  opacity: .65;
}
.home-page .home-hero .hero-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: clamp(4.5rem, 8vh, 7rem);
  padding-bottom: clamp(4.5rem, 8vh, 7rem);
}
.home-page .home-hero .hero-copy {
  width: min(100%, 48rem);
}
.home-page .home-hero h1 {
  max-width: 9.6ch;
  font-size: clamp(4.4rem, 7vw, 7.3rem);
}
.home-page .home-hero p { max-width: 39rem; }
.home-page .home-hero .independent-callout { max-width: 41rem; }

@media (max-width: 900px) {
  .home-page .home-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(15, 18, 14, .98) 0%, rgba(15, 18, 14, .96) 61%, rgba(15, 18, 14, .78) 100%),
      url("../images/hoodchain-home-hero.webp") center bottom 1.5rem / min(92vw, 34rem) auto no-repeat,
      var(--ink);
  }
  .home-page .home-hero::after { opacity: .3; }
  .home-page .home-hero .hero-inner {
    display: block;
    min-height: min(45rem, calc(100svh - 10.5rem));
    padding-top: 3.25rem;
    padding-bottom: clamp(11rem, 32vw, 15rem);
  }
  .home-page .home-hero .hero-copy { width: 100%; }
  .home-page .home-hero h1 {
    max-width: 8.7ch;
    font-size: clamp(3.35rem, 14vw, 5.2rem);
  }
  .home-page .home-hero p { max-width: 36rem; }
  .home-page .home-hero .independent-callout { margin-top: 1.45rem; }
}

@media (max-width: 620px) {
  .home-page .home-hero {
    background:
      linear-gradient(180deg, rgba(15, 18, 14, 1) 0%, rgba(15, 18, 14, .98) 67%, rgba(15, 18, 14, .76) 100%),
      url("../images/hoodchain-home-hero.webp") right -2.4rem bottom .7rem / 25rem auto no-repeat,
      var(--ink);
  }
  .home-page .home-hero .hero-inner {
    min-height: auto;
    padding-top: 2.8rem;
    padding-bottom: 10.8rem;
  }
  .home-page .home-hero h1 {
    max-width: none;
    width: 100%;
    margin-top: .7rem;
    font-size: clamp(3rem, 13.2vw, 3.65rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .home-page .home-hero p {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .home-page .home-hero .actions { margin-top: 1.45rem; }
  .home-page .home-hero .independent-callout {
    max-width: 31rem;
    font-size: .76rem;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .home-page .home-hero .hero-inner { padding-bottom: 8.5rem; }
  .home-page .home-hero h1 { font-size: clamp(2.8rem, 12.8vw, 3.35rem); }
  .home-page .home-hero p { font-size: .94rem; }
  .home-page .home-hero .independent-callout { display: none; }
}
