/* ═══════════════════════════════════════════════════════════════
   SARAF EXPORTS — CAPABILITIES
   A draughtsman's folio. Extends home-v2.css + about.css.
   ═══════════════════════════════════════════════════════════════ */

.cap-body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ───────────────────────────────────────────
   CHAPTER MARKS — match about.css standard
──────────────────────────────────────────── */
.ch-chapter, .cp-chapter, .cpr-chapter, .ct-chapter,
.ch2-chapter, .cc-chapter, .cs-chapter, .cd-chapter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.ch-chapter-num, .cp-chapter-num, .cpr-chapter-num, .ct-chapter-num,
.ch2-chapter-num, .cc-chapter-num, .cs-chapter-num, .cd-chapter-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0;
}
.ch-chapter-rule, .cp-chapter-rule, .cpr-chapter-rule, .ct-chapter-rule,
.ch2-chapter-rule, .cc-chapter-rule, .cs-chapter-rule, .cd-chapter-rule {
  width: 44px; height: 1px;
  background: var(--accent); opacity: 0.7;
  display: inline-block;
}


/* ═══════════════════════════════════════════════
   PLATE I · THE FOLIO — hero
═══════════════════════════════════════════════ */
.cap-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px var(--pad-x) 80px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-primary);
  overflow: hidden;
  color: var(--text-primary);
}
/* graph paper grid */
.ch-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46,46,46,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46,46,46,0.06) 1px, transparent 1px),
    linear-gradient(to right, rgba(46,46,46,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46,46,46,0.04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
  opacity: 0.85;
}
.ch-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(200,165,140,0.08), transparent 70%);
}

/* folio header strip */
.ch-folio {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 56px;
}
.ch-folio-l, .ch-folio-r {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ch-folio-mark {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0;
}
.ch-folio-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.ch-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto 0 0;   /* left-anchored, site standard */
}

.ch-content > .ch-chapter { margin-bottom: 32px; }

.ch-headline {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 124px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  max-width: 1000px;
  margin-bottom: 36px;
}
.ch-line { display: block; }
.ch-line--em { font-style: italic; color: var(--accent); }

.ch-sub {
  max-width: 660px;
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 64px;
}

/* spec strip with dimension lines */
.ch-specs {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: end;
  justify-content: start;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.ch-spec { display: flex; flex-direction: column; gap: 4px; }
.ch-spec-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: baseline;
}
.ch-spec-unit {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--accent);
  margin-top: 4px;
}
.ch-spec-lbl {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 10px;
}
.ch-spec-dim {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding-bottom: 18px;
  gap: 0;
}
.ch-dim-tick {
  width: 1px; height: 12px;
  background: var(--accent);
  display: inline-block;
}
.ch-dim-rule {
  width: 56px; height: 1px;
  background: var(--accent);
  opacity: 0.7;
  display: inline-block;
}

/* cover figure */
.ch-cover {
  margin: 0 auto;
  max-width: 980px;
  color: var(--text-primary);
}
.ch-cover svg { width: 100%; height: auto; display: block; }
.ch-cover-cap {
  margin-top: 18px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* scroll hint */
.ch-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ch-scroll-bar {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--border) 0%, var(--accent) 50%, transparent 100%);
  animation: ch-scroll-pulse 2s var(--e-in-out) infinite;
}
@keyframes ch-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}


/* ═══════════════════════════════════════════════
   PLATE II · THE PLANT — floor plan
═══════════════════════════════════════════════ */
.cap-plant {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}
.cp-head {
  max-width: 820px;
  margin: 0 0 80px;
}
.cp-head .cp-chapter { margin-bottom: 28px; }
.cp-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cp-title em { font-style: italic; color: var(--accent); }
.cp-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 660px;
}

.cp-plan {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--text-primary);
}
.cp-plan svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 24px;
}

.cp-legend {
  list-style: none;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.cp-legend li {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-primary);
}
.cpl-key {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cp-legend li b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cp-legend li em {
  display: block;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════
   PLATE III · THE PROCESS
═══════════════════════════════════════════════ */
.cap-process {
  position: relative;
  padding: 140px var(--pad-x) 140px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
}
.cpr-head {
  max-width: 820px;
  margin: 0 0 80px;
}
.cpr-head .cpr-chapter { margin-bottom: 28px; }
.cpr-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cpr-title em { font-style: italic; color: var(--accent); }
.cpr-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 660px;
}

.cpr-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cpr-step {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background: var(--bg-primary);
  transition: background 0.4s var(--e-out);
}
.cpr-step:hover { background: var(--bg-secondary); }

.cpr-rom {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--accent);
}
.cpr-icon {
  width: 56px; height: 56px;
  color: var(--accent);
  margin: 4px 0 8px;
}
.cpr-icon svg { width: 100%; height: 100%; display: block; }
.cpr-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.cpr-out {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
}
.cpr-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-primary);
  flex: 1;
}
.cpr-time {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cpr-rule {
  max-width: var(--max-w);
  margin: 56px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.cpr-rule-tick {
  width: 1px; height: 14px;
  background: var(--accent);
  display: inline-block;
}
.cpr-rule-line {
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
  max-width: 320px;
}
.cpr-rule-label {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-primary);
}


/* ═══════════════════════════════════════════════
   PLATE IV · STATE OF THE ART
═══════════════════════════════════════════════ */
.cap-tooling {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}
.ct-head {
  max-width: 820px;
  margin: 0 0 80px;
}
.ct-head .ct-chapter { margin-bottom: 28px; }
.ct-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.ct-title em { font-style: italic; color: var(--accent); }
.ct-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 660px;
}

.ct-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.ct-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.5s var(--e-out), box-shadow 0.5s var(--e-out);
}
.ct-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -28px rgba(46,46,46,0.22);
}
.ct-fig {
  width: 100%;
  height: 140px;
  color: var(--accent);
  margin-bottom: 8px;
}
.ct-fig svg { width: 100%; height: 100%; display: block; }
.ct-spec {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--accent);
}
.ct-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.ct-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  flex: 1;
}
.ct-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════
   PLATE V · THE HAND
═══════════════════════════════════════════════ */
.cap-hand {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
}
.ch2-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ch2-side { max-width: 540px; }
.ch2-chapter { margin-bottom: 28px; }
.ch2-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.ch2-title em { font-style: italic; color: var(--accent); }
.ch2-lede {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.ch2-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ch2-stats li { display: flex; flex-direction: column; gap: 4px; }
.ch2-stat-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.ch2-stat-unit {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.ch2-stat-lbl {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 6px;
}

.ch2-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-primary);
  position: relative;
  padding-left: 8px;
}
.ch2-q-mark {
  font-family: var(--f-display);
  font-size: 60px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
  position: absolute;
  top: -16px; left: -10px;
}
.ch2-q-attr {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ch2-visual {
  color: var(--text-primary);
}
.ch2-visual svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  color: var(--accent);
}


/* ═══════════════════════════════════════════════
   PLATE VI · CAPACITY
═══════════════════════════════════════════════ */
.cap-capacity {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}
.cc-head {
  max-width: 820px;
  margin: 0 0 80px;
}
.cc-head .cc-chapter { margin-bottom: 28px; }
.cc-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cc-title em { font-style: italic; color: var(--accent); }
.cc-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 660px;
}

.cc-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cc-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 32px 32px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.4s var(--e-out);
}
.cc-cell:hover { background: var(--bg-secondary); }
.cc-fig {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}
.cc-num { font-family: inherit; }
.cc-unit {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 34px;
  color: var(--accent);
  margin-left: 2px;
}
.cc-lbl {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--text-primary);
}
.cc-meta {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cc-foot {
  max-width: 720px;
  margin: 48px auto 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
}


/* ═══════════════════════════════════════════════
   PLATE VII · THE AUDIT — SEDEX
═══════════════════════════════════════════════ */
.cap-sedex {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
}
.cs-head {
  max-width: 820px;
  margin: 0 0 64px;
}
.cs-head .cs-chapter { margin-bottom: 28px; }
.cs-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0;
}
.cs-title em { font-style: italic; color: var(--accent); }

.cs-stage {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.cs-seal {
  position: sticky;
  top: 120px;
  width: 320px;
  color: var(--accent);
  animation: cs-seal-breathe 9s var(--e-in-out) infinite;
}
.cs-seal svg { width: 100%; height: auto; display: block; }
@keyframes cs-seal-breathe {
  0%, 100% { transform: scale(1);     opacity: 0.95; }
  50%      { transform: scale(1.015); opacity: 1; }
}

.cs-body { max-width: 640px; }
.cs-lede {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cs-lede strong {
  color: var(--text-primary);
  font-weight: 600;
}

.cs-pillars {
  list-style: none;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.cs-pillars li {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-secondary);
}
.cs-p-n {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.cs-pillars li h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
}
.cs-pillars li p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

.cs-also {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cs-also-l {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 4px;
}
.cs-also ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.cs-also ul li {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-primary);
  padding-left: 16px;
  position: relative;
}
.cs-also ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}


/* ═══════════════════════════════════════════════
   PLATE VIII · DISCIPLINE — checkpoints
═══════════════════════════════════════════════ */
.cap-discipline {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}
.cd-head {
  max-width: 820px;
  margin: 0 0 80px;
}
.cd-head .cd-chapter { margin-bottom: 28px; }
.cd-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cd-title em { font-style: italic; color: var(--accent); }
.cd-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 660px;
}

.cd-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cd-list li {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 24px;
  background: var(--bg-primary);
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
  transition: background 0.4s var(--e-out);
}
.cd-list li:hover { background: var(--bg-secondary); }
.cd-n {
  grid-row: 1 / 3;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  align-self: start;
  padding-top: 2px;
}
.cd-list li b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-primary);
}
.cd-list li em {
  font-style: italic;
  font-family: var(--f-display);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.cd-foot {
  max-width: var(--max-w);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cd-foot-stat {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-foot-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.cd-foot-lbl {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════
   PLATE IX · TRIAL ORDER (close)
═══════════════════════════════════════════════ */
.cap-trial .close-title em {
  font-style: italic;
  color: var(--accent);
}
.ct2-sub {
  max-width: 600px;
  margin: -8px auto 48px;
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--text-primary);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cp-legend { grid-template-columns: repeat(2, 1fr); }
  .cpr-flow  { grid-template-columns: repeat(2, 1fr); }
  .ct-grid   { grid-template-columns: repeat(2, 1fr); }
  .cc-grid   { grid-template-columns: repeat(2, 1fr); }
  .cd-list   { grid-template-columns: repeat(2, 1fr); }

  .ch2-grid { grid-template-columns: 1fr; gap: 60px; }
  .ch2-visual { order: -1; }

  .cs-stage { grid-template-columns: 1fr; gap: 48px; }
  .cs-seal {
    position: static;
    width: 240px;
    margin: 0 auto;
  }

  .ch-specs { grid-template-columns: repeat(7, auto); overflow-x: auto; padding-bottom: 24px; }
}

@media (max-width: 900px) {
  .cap-hero,
  .cap-plant,
  .cap-process,
  .cap-tooling,
  .cap-hand,
  .cap-capacity,
  .cap-sedex,
  .cap-discipline {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .ch-folio { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ch-scroll { display: none; }

  .ch-specs {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ch-spec-dim { display: none; }

  .cp-legend { grid-template-columns: 1fr; }
  .cpr-flow  { grid-template-columns: 1fr; }
  .ct-grid   { grid-template-columns: 1fr; }
  .cc-grid   { grid-template-columns: 1fr; }
  .cd-list   { grid-template-columns: 1fr; }

  .cs-pillars { grid-template-columns: 1fr; }
  .cs-also { grid-template-columns: 1fr; gap: 12px; }
  .cs-also ul { grid-template-columns: 1fr; }

  .cd-foot { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ch-headline,
  .cp-title, .cpr-title, .ct-title,
  .ch2-title, .cc-title, .cs-title, .cd-title {
    font-size: clamp(34px, 9vw, 56px);
  }
  .cc-fig { font-size: 52px; }
  .cd-foot-num { font-size: 40px; }
}


/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ch-scroll-bar,
  .cs-seal {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════
   HERO BACKDROP — the footprint, dimensioned
   Sits above .ch-grid and below .ch-content. Kept faint: it is a watermark in
   the folio's own drafting language, not a diagram to be read. The detailed
   A–H plant plan further down the page is the one that does the explaining.
═══════════════════════════════════════════════ */
.ch-backdrop {
  position: absolute;
  top: 132px;
  right: 0;
  width: min(54%, 780px);
  height: 660px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%);
}
.ch-backdrop img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}
@media (max-width: 900px) {
  .ch-backdrop {
  position: absolute;
  top: 132px;
  right: 0;
  width: min(54%, 780px);
  height: 660px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%);
}
  }
