/* ── CHAPTER ACCENT ── */
:root {
  --chapter-accent: var(--accent-forest);
  --chapter-accent-fill: var(--accent-forest-fill);
}

/* ── PAGE WATERMARKS ── */
header::before {
  content: "Translation";
}

.reminder-box::before {
  content: "Language";
}

/* ─────────────────────────────────────────
         MISUNDERSTANDING BLOCK
      ───────────────────────────────────────── */
.misunderstanding-block {
  box-shadow: var(--bs-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-12);
}
.mis-head {
  background: var(--surface);
  padding: var(--space-5) var(--space-7);
}
.mis-head .mh-label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-1);
}
.mis-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-md);
}
.speech-bubble.consultant {
  background: var(--paper);
  color: var(--primary);
  font-style: italic;
}

/* ─────────────────────────────────────────
         TWO-STAGE PIPELINE
      ───────────────────────────────────────── */
.pipeline-block {
  box-shadow: var(--bs-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-12);
}
.pipeline-head {
  background: var(--surface);
  padding: var(--space-5) var(--space-7);
}
.pipeline-head .ph-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-1);
}
.pipeline-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-md);
}
.pipeline-stages {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  background: var(--paper);
}
.pipe-stage {
  padding: var(--space-6) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pipe-stage .ps-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--primary);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.pipe-stage .ps-title {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
}
.pipe-stage .ps-title {
  color: var(--primary);
}
.pipe-stage h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-base);
  margin-bottom: var(--space-2);
}
.pipe-stage h4 {
  color: var(--primary);
}
.pipe-stage p {
  font-size: var(--fs-xs);
  color: var(--primary);
  line-height: 1.6;
}
.pipe-example {
  margin-top: auto;
  margin-bottom: 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  font-style: italic;
}
.pipe-stage .pipe-example {
  background: var(--background);
  color: var(--primary);
}

/* ─────────────────────────────────────────
         FOUR WORKED EXAMPLES
      ───────────────────────────────────────── */
.translations-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.translation-card {
  box-shadow: var(--bs-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.trans-card-head {
  background: var(--surface);
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.tc-num {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
}

.trans-card-head h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-base);
}
.trans-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--paper);
}
.ttcol {
  padding: var(--space-5) var(--space-5);
}
.ttcol:last-child {
  border-right: none;
}
.ttcol .tt-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--border);
}
.ttcol.lay .tt-label {
  color: var(--primary);
}
.ttcol.qs .tt-label {
  color: var(--primary);
}
.ttcol.clin .tt-label {
  color: var(--primary);
}
.ttcol.lay p {
  font-size: var(--fs-sm);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: var(--space-1);
}

.q-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.q-list li {
  font-size: var(--fs-sm);
  color: var(--primary);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.q-list li::before {
  content: "?";
  color: color-mix(in srgb, var(--accent-navy) 35%, transparent);
  font-size: var(--fs-xs);
  flex-shrink: 0;
}
.ttcol.clin p {
  font-size: var(--fs-sm);
  color: var(--primary);
  line-height: 1.65;
}
.ttcol.clin .not-this {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-style: italic;
  margin-top: var(--space-2);
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  line-height: 1.4;
}
.ttcol.clin .not-this::before {
  font-family: bootstrap-icons;
  content: "\F623";
  flex-shrink: 0;
  font-style: normal;
}

/* ─────────────────────────────────────────
         THREE-REGISTER SUMMARY
      ───────────────────────────────────────── */
.registers-block {
  background: var(--ink-panel);
  box-shadow: var(--bs-medium);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  margin-bottom: var(--space-12);
}
.registers-block .rb-label {
  font-size: var(--fs-lg);
  color: var(--text-on-dark);
  margin-bottom: var(--space-6);
}
.registers-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-md);
  margin-bottom: var(--space-5);
  color: var(--text-on-dark);
}
.registers-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.reg-card {
  background: var(--ink-panel);
  box-shadow: var(--bs-medium);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
}
.reg-card .rc-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-1);
}
.reg-card .rc-label {
  color: var(--text-on-dark);
}
.reg-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-base);
  margin-bottom: var(--space-1);
}
.reg-card h4 {
  color: var(--text-on-dark);
  font-size: var(--fs-base);
  font-weight: 500;
}
.reg-card p {
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  line-height: 1.5;
}
.reg-arrow {
  font-size: var(--fs-lg);
  color: var(--text-on-dark);
  text-align: center;
  padding: 0 var(--space-2);
}

@media (max-width: 700px) {
  .pipeline-stages {
    grid-template-columns: 1fr;
  }
  .trans-three-col {
    grid-template-columns: 1fr;
  }
  .ttcol {
    border-right: none;
  }
  .registers-flow {
    grid-template-columns: 1fr;
  }
  .reg-arrow {
    display: none;
  }
  /* MOBILE SPACING TIGHTEN — trim this page's generous desktop-sized
     block gaps so a long page scrolls less on a phone. */
  .misunderstanding-block,
  .pipeline-block,
  .translations-list,
  .registers-block {
    margin-bottom: var(--space-7);
  }
}
