/* R.I.V.E.R. — shared styles v0.1 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --paper:       #FBFAF6;
  --paper-soft:  #F4F2EC;
  --ink:         #0E1116;
  --ink-soft:    #3A424B;
  --ink-muted:   #7B8290;
  --rule:        #D5CFBF;
  --current:       #0B8C8E;
  --current-soft:  #5BAFB1;
  --current-deep:  #065F60;
  --active:        #D86A3E;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Public Sans', 'Helvetica Neue', Calibri, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', 'SF Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 9rem;
}

/* ============================================================
   SITE CHROME — multi-page nav header
   ============================================================ */

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-chrome .brand {
  color: var(--current);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-chrome .brand:hover { color: var(--current-deep); }

.page-nav {
  display: flex;
  gap: 0;
  flex: 1;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-nav::-webkit-scrollbar { display: none; }

.page-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0 0.9rem;
  border-right: 1px solid var(--rule);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.page-nav a:first-child { padding-left: 0; }
.page-nav a:last-child { border-right: none; }

.page-nav a:hover { color: var(--ink); }

.page-nav a.active {
  color: var(--current);
  font-weight: 600;
}

.page-subtitle {
  color: var(--ink-muted);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============================================================
   FLOW-LINE FOOTER
   ============================================================ */

.flow-line-frame {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 1rem 2.5rem 1.2rem;
  z-index: 100;
}

.flow-line-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}

.flow-line-label .label-note {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.flow-line {
  position: relative;
  height: 14px;
}

.flow-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--rule);
}

.flow-line-stages {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.flow-stage {
  position: relative;
}

.flow-stage .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.flow-stage .stage-label {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  margin: 0 auto;
  padding: 4.5rem 2.5rem 2rem;
}

.hero {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}

.hero-eyebrow::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--current);
}

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

h1.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}

p.hero-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 600px;
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================================
   SECTIONS
   ============================================================ */

section.s {
  margin-bottom: 4rem;
  scroll-margin-top: 5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1.1rem;
  display: inline-block;
  position: relative;
}

.eyebrow::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--current);
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

h2.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}

/* ============================================================
   BODY PROSE
   ============================================================ */

p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}

p:last-child { margin-bottom: 0; }

p strong {
  color: var(--ink);
  font-weight: 600;
}

p em {
  font-style: italic;
  color: var(--ink);
}

.term {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--current);
  white-space: nowrap;
}

/* ============================================================
   PULL-QUOTE
   ============================================================ */

.pullquote {
  background: var(--paper-soft);
  border-left: 3px solid var(--current);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.pullquote-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.7rem;
}

.pullquote-text {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
}

.pullquote-text em {
  font-style: italic;
  color: var(--current);
}

/* ============================================================
   COVERAGE DIAGRAM
   ============================================================ */

.coverage {
  margin: 2.5rem 0 2rem;
  padding: 1.75rem 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.coverage-inner {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.coverage-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
  text-align: center;
}

.chain-svg {
  width: 100%;
  height: auto;
  display: block;
}

.coverage-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ============================================================
   SURFACE AREA CARDS
   ============================================================ */

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.surface-card {
  padding: 1.2rem 1.3rem;
  background: var(--paper-soft);
  border-left: 2px solid var(--current);
}

.surface-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.surface-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.surface-card-body {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   PROPERTY PAIR
   ============================================================ */

.property-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.property {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.property-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.property-claim {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.property-body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   STAGE NOTE
   ============================================================ */

.stage-note {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.stage-note-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.stage-note p {
  font-size: 0.96rem;
  margin-bottom: 0.8rem;
}

.stage-note p:last-child { margin-bottom: 0; }

/* ============================================================
   RESEARCH PHASES
   ============================================================ */

.phases {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.phase {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--rule);
}

.phase:last-child { border-bottom: none; }

.phase-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
}

.phase-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   ONWARD LINKS
   ============================================================ */

.onward {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 2px solid var(--current);
}

.onward-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1rem;
  font-weight: 500;
}

.onward h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.onward h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}

.onward-list {
  display: grid;
  gap: 1.1rem;
  list-style: none;
}

.onward-list a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--paper-soft);
  border-left: 2px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.onward-list a:hover {
  border-left-color: var(--current);
  background: var(--paper);
}

.onward-list .link-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.3rem;
  font-weight: 500;
  display: block;
}

.onward-list .link-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.onward-list .link-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   PLACEHOLDER TREATMENT
   ============================================================ */

.placeholder {
  display: inline-block;
  background: rgba(216, 106, 62, 0.08);
  color: var(--active);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.1em 0.55em;
  border: 1px dashed rgba(216, 106, 62, 0.45);
  border-radius: 2px;
  line-height: 1.4;
}

.placeholder-block {
  display: block;
  background: rgba(216, 106, 62, 0.06);
  color: var(--active);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 1rem 1.25rem;
  margin: 1.2rem 0;
  border: 1px dashed rgba(216, 106, 62, 0.4);
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.placeholder-block strong {
  color: var(--active);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* ============================================================
   BIO BLOCK
   ============================================================ */

.bio-card {
  background: var(--paper-soft);
  border-left: 3px solid var(--current);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0;
}

.bio-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.005em;
}

.bio-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1rem;
}

.bio-card p {
  font-size: 0.97rem;
  margin-bottom: 0.9rem;
}

.bio-card p:last-child { margin-bottom: 0; }

/* ============================================================
   INDEPENDENCE NOTE
   ============================================================ */

.independence {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.independence-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.independence-claim {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1rem;
}

.independence-claim em {
  color: var(--current);
}

.independence p {
  font-size: 0.96rem;
  margin-bottom: 0.8rem;
}

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

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--current);
}

.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.contact h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.contact-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.contact-value {
  font-size: 0.97rem;
  color: var(--ink);
}

.contact-value a {
  color: var(--current);
  text-decoration: none;
  border-bottom: 1px solid var(--current-soft);
}

/* ============================================================
   GLOSSARY — LAYOUT
   ============================================================ */

.title-block {
  margin-bottom: 3rem;
}

h1.title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

h1.title em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}

p.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 600px;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */

.toc {
  background: var(--paper-soft);
  border-left: 2px solid var(--current);
  padding: 1.5rem 1.75rem;
  margin: 3rem 0 4rem;
}

.toc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1rem;
  font-weight: 500;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  list-style: none;
}

.toc-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.toc-list a:hover {
  color: var(--current-deep);
  border-bottom-color: var(--current-soft);
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  min-width: 1.5rem;
}

/* ============================================================
   GLOSSARY SECTIONS
   ============================================================ */

section.glossary-section {
  margin-bottom: 3.5rem;
  padding-top: 1rem;
  scroll-margin-top: 5rem;
}

.section-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0.8rem 0 2rem;
  max-width: 620px;
  line-height: 1.55;
}

/* ============================================================
   GLOSSARY ENTRIES
   ============================================================ */

.entry {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.entry:last-child {
  border-bottom: none;
}

.entry-term {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}

.entry-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-left: 0.5rem;
  vertical-align: 0.18em;
}

.entry-def {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.entry-def + .entry-def {
  margin-top: 0.6rem;
}

.entry-def .term {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--current);
  white-space: nowrap;
}

.entry-def em {
  font-style: italic;
  color: var(--ink);
}

/* ============================================================
   RELEASE INTENT — featured block
   ============================================================ */

.intent-feature {
  background: var(--paper-soft);
  padding: 2rem 2rem 1.75rem;
  margin: 1.5rem 0 2rem;
  border-left: 3px solid var(--current);
}

.intent-feature .entry-term {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.questions {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.question {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding-bottom: 0.7rem;
  border-bottom: 1px dotted var(--rule);
}

.question:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.question-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
}

.question-text {
  font-size: 0.95rem;
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================================
   COMMITMENTS
   ============================================================ */

.commitments {
  display: grid;
  gap: 1rem;
}

.commitment {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.commitment:last-child {
  border-bottom: none;
}

.commitment-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--current);
  line-height: 1;
}

.commitment-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.commitment-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   TAXONOMY TABLES
   ============================================================ */

.taxonomy {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.taxonomy th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 1rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: bottom;
}

.taxonomy th:first-child { padding-left: 0; }
.taxonomy th:last-child  { padding-right: 0; }

.taxonomy td {
  padding: 1rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  line-height: 1.5;
}

.taxonomy td:first-child { padding-left: 0; }
.taxonomy td:last-child  { padding-right: 0; }

.taxonomy tr:last-child td {
  border-bottom: none;
}

.tx-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
}

.tx-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  width: 1.5rem;
}

.tx-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--current);
  white-space: nowrap;
}

.tx-metric {
  font-style: italic;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}

/* ============================================================
   ADOPTION LAYERS
   ============================================================ */

.layers {
  display: grid;
  gap: 1.1rem;
  margin-top: 1rem;
}

.layer {
  padding: 1rem 1.25rem;
  background: var(--paper-soft);
  border-left: 2px solid var(--rule);
}

.layer.primary {
  border-left-color: var(--current);
}

.layer-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.layer-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--current);
  font-size: 0.75em;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
}

.layer-body {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   FOOTER NOTE
   ============================================================ */

.footer-note {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.footer-note em {
  font-style: italic;
  color: var(--ink);
}

.footer-note a {
  color: var(--current);
  text-decoration: none;
  border-bottom: 1px solid var(--current-soft);
}

/* ============================================================
   PHASE 1 — ROLE FIT GRID
   ============================================================ */

.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}

.role-col {
  padding: 1.25rem 1.4rem;
  background: var(--paper-soft);
  border-left: 3px solid var(--current);
}
.role-col.secondary { border-left-color: var(--rule); }

.role-tier {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.7rem;
}
.role-col.secondary .role-tier { color: var(--ink-muted); }

.role-col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.role-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
}
.role-col li {
  padding: 0.35rem 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.45;
  border-bottom: 1px dotted var(--rule);
}
.role-col li:last-child { border-bottom: none; }
.role-col li strong { color: var(--ink); font-weight: 600; }

.role-col p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.5;
}

/* Self-locator list */
.self-locator {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.self-locator-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
}
.self-locator p {
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
}
.self-locator ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.self-locator li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.55;
  position: relative;
}
.self-locator li::before {
  content: '·';
  position: absolute;
  left: 0.4rem;
  top: 0.5rem;
  color: var(--current);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* ============================================================
   INTERVIEW SHAPE
   ============================================================ */

.shape {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.shape-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--rule);
}
.shape-row:last-child { border-bottom: none; }
.shape-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
}
.shape-body {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.shape-body strong { color: var(--ink); font-weight: 600; }

.topics {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.4rem;
  background: var(--paper-soft);
  border-left: 2px solid var(--current);
}
.topics-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 0.7rem;
}
.topics ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topics li {
  padding: 0.4rem 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 1px dotted var(--rule);
}
.topics li:last-child { border-bottom: none; }

/* ============================================================
   CONFIDENTIALITY
   ============================================================ */

.confidentiality {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.confidentiality h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.confidentiality dl {
  margin: 0;
}
.confidentiality dt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--current);
  margin: 0.9rem 0 0.3rem;
}
.confidentiality dt:first-of-type { margin-top: 0; }
.confidentiality dd {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-left: 0;
}

/* ============================================================
   SIGN-UP CARD
   ============================================================ */

.signup {
  margin: 4rem 0 3rem;
  padding: 2.25rem 2.25rem;
  background: var(--paper-soft);
  border: 1px solid var(--current);
  border-left-width: 4px;
  position: relative;
}
.signup-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--current);
  margin-bottom: 1rem;
}
.signup-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.2rem;
  letter-spacing: -0.005em;
}
.signup-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--current);
}
.signup p {
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.signup-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
  padding: 0.85rem 1.4rem;
  background: var(--current);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.15s ease;
}
.signup-cta:hover { background: var(--current-deep); }
.signup-cta::after {
  content: '→';
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}

.signup-template {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.3rem;
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.signup-template-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}
.signup-template strong { color: var(--ink); font-weight: 600; }

.signup-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dotted var(--rule);
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   FAQ-STYLE QUESTIONS
   ============================================================ */

.qa-list {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.5rem;
}
.qa {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.qa:last-child { border-bottom: none; }
.qa-q {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.qa-q em {
  font-style: italic;
  font-weight: 400;
  color: var(--current);
}
.qa-a {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.qa-a em {
  font-style: italic;
  color: var(--ink);
}

/* ============================================================
   QUICK-GLANCE BAND (phase1)
   ============================================================ */

.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.glance-item {
  padding: 1rem 1rem 1rem 0;
  border-right: 1px solid var(--rule);
}
.glance-item:last-child { border-right: none; padding-right: 0; }
.glance-item:not(:first-child) { padding-left: 1rem; }
.glance-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.glance-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
}
.glance-value em {
  font-style: italic;
  font-weight: 400;
  color: var(--current);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .site-chrome {
    padding: 0.65rem 1rem;
    font-size: 0.55rem;
    gap: 0.8rem;
  }
  .page-subtitle { display: none; }
  .page-nav a { padding: 0 0.55rem; }

  .flow-line-frame { padding: 0.8rem 1.25rem 1rem; }
  .flow-line-label { font-size: 0.55rem; }
  .flow-stage .stage-label { font-size: 0.5rem; }

  .container { padding: 2.5rem 1.25rem 2rem; }
  p { font-size: 0.96rem; }

  .surface-grid { grid-template-columns: 1fr; }
  .property-pair { grid-template-columns: 1fr; gap: 1rem; }
  .phase { grid-template-columns: 1fr; gap: 0.3rem; }
  .pullquote { padding: 1.25rem 1.25rem; }
  .coverage { padding: 1.5rem 0; }
  .coverage-inner { padding: 0 1rem; }

  .bio-card { padding: 1.25rem 1.25rem; }
  .independence { padding: 1.25rem 1.25rem; }
  .contact-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .placeholder-block { padding: 0.85rem 1rem; }

  .toc-list { grid-template-columns: 1fr; gap: 0.5rem; }
  .question { grid-template-columns: 1fr; gap: 0.2rem; }
  .question-text { padding-left: 0; }
  .intent-feature { padding: 1.5rem 1.25rem; }
  .taxonomy { font-size: 0.88rem; }
  .taxonomy td, .taxonomy th { padding: 0.7rem 0.5rem; }
  .commitment { grid-template-columns: 2rem 1fr; gap: 0.8rem; }

  .at-a-glance { grid-template-columns: 1fr; }
  .glance-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 0.85rem 0; }
  .glance-item:last-child { border-bottom: none; }
  .glance-item:not(:first-child) { padding-left: 0; }
  .roles { grid-template-columns: 1fr; }
  .shape-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .signup { padding: 1.5rem 1.4rem; }
  .signup-title { font-size: 1.35rem; }
  .signup-template { font-size: 0.8rem; padding: 0.9rem 1rem; }
}
