/* ═══════════════════════════════════════════════════════════════════
   KUMAYA WORLD — PROPOSAL DETAILS
   Premium private investor briefing board. Builds on the shared
   investor typography/palette (investor-walkthrough.css). Editorial,
   calm, restrained; visuals are simple CSS/SVG devices, never a
   dashboard or a wall of cards.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --pd-narrow: 720px;
  --pd-standard: 1040px;
  --pd-wide: 1200px;
  --pd-x: clamp(20px, 6vw, 56px);
}

body[data-iw-page="industry-details"],
body[data-iw-page="industry-details"] .pd-wrap { background: var(--ivory); }

.pd-wrap { overflow-x: hidden; }

/* Content-width system. Sections span full width; inner blocks set their
   own max-width and share one left edge via consistent horizontal padding. */
.pd-narrow, .pd-wide, .pd-standard, .pd-notes-col {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pd-x);
  padding-right: var(--pd-x);
  width: 100%;
}
.pd-narrow { max-width: calc(var(--pd-narrow) + 2 * var(--pd-x)); }
.pd-standard { max-width: calc(var(--pd-standard) + 2 * var(--pd-x)); }
.pd-wide { max-width: calc(var(--pd-wide) + 2 * var(--pd-x)); }
.pd-notes-col { max-width: calc(880px + 2 * var(--pd-x)); }

/* A narrow block sitting inside a wide block should not double-pad. */
.pd-wide .pd-narrow,
.pd-wide .pd-narrow-flush { padding-left: 0; padding-right: 0; margin-left: 0; }
.pd-narrow-flush { max-width: var(--pd-narrow); width: 100%; }

/* ── Masthead ───────────────────────────────────────────────────── */
.pd-mast {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) var(--pd-x) clamp(36px, 6vh, 60px);
}
.pd-eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--subhead-ink);
}
.pd-mast-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.7rem + 3.4vw, 3.9rem);
  line-height: 1.08;
  margin-top: 16px;
}
.pd-mast-lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: clamp(18px, 3vh, 26px);
}
.pd-mast-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: clamp(22px, 4vh, 32px);
}
.pd-back { display: inline-block; }
.pd-print {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ── Section rhythm ─────────────────────────────────────────────── */
.pd-s {
  padding-top: clamp(72px, 12vh, 124px);
  padding-bottom: clamp(72px, 12vh, 124px);
}
.pd-warm { background: var(--ivory-warm); }
.pd-airy { padding-top: clamp(64px, 10vh, 104px); padding-bottom: clamp(64px, 10vh, 104px); }

/* ── Editorial heads / questions / ids ──────────────────────────── */
.pd-id {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subhead-ink);
}
.pd-q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.38rem, 1.2rem + 0.65vw, 1.65rem);
  line-height: 1.4;
  color: #765a24;
  margin-top: clamp(14px, 2vh, 18px);
}
.pd-h {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.05rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-top: clamp(10px, 1.6vh, 14px);
}
.pd-q + .pd-h { margin-top: clamp(24px, 3vh, 30px); }
.pd-lede {
  font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.2rem);
  line-height: 1.66;
  margin-top: clamp(28px, 4vh, 40px);
  max-width: 64ch;
}

.pd-body {
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.66;
  color: var(--ink);
  max-width: 66ch;
}
.pd-body + .pd-body { margin-top: 1.05em; }
.pd-closing { margin-top: clamp(28px, 4.5vh, 40px); }
.pd-qualifier {
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--char-light);
  max-width: 62ch;
  margin-top: clamp(20px, 3vh, 30px);
}
.pd-small-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 1em; }

.pd-sub-k {
  font-family: var(--sans);
  font-size: clamp(0.94rem, 0.88rem + 0.25vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subhead-ink);
}

/* ── 01 · Offer ─────────────────────────────────────────────────── */
.pd-offer {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: clamp(34px, 5vh, 52px) auto 0;
  padding: 0 var(--pd-x);
}
.pd-offer-amt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 2rem + 4vw, 4.6rem);
  line-height: 1;
}
.pd-offer-equity {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.9rem + 0.55vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subhead-ink);
  margin-top: 14px;
}
.pd-term-note {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: clamp(30px, 4.5vh, 40px) auto 0;
  padding: 0 var(--pd-x);
}
.pd-term-heading {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.08rem + 0.65vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.pd-term-note .pd-body {
  margin-top: 10px;
  color: var(--ink-soft);
}
.pd-strip {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: clamp(36px, 5vh, 44px) auto 0;
  padding: clamp(18px, 2.6vh, 24px) var(--pd-x);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}
.pd-strip-item {
  padding: 4px clamp(14px, 2.2vw, 26px);
  font-family: var(--sans);
  font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
}
.pd-strip-item:first-child { padding-left: 0; }
.pd-strip-sep { width: 1px; height: 1.1em; background: var(--gold-line); flex-shrink: 0; }
.pd-offer-note { margin-top: clamp(30px, 4.5vh, 42px); color: var(--ink-soft); }
.pd-return-note { margin-top: clamp(30px, 4.5vh, 42px); }

/* A quiet takeaway link belongs between the offer summary and the detailed
   briefing, without becoming another content card. */
.pd-summary-download {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: clamp(-48px, -5vh, -34px) auto clamp(38px, 6vh, 60px);
  padding: 0 var(--pd-x);
}
.pd-summary-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.pd-summary-download-link {
  display: inline-block;
}

/* ── 02 · Use of Capital ────────────────────────────────────────── */
.pd-cap-total {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--char-light);
  margin-top: clamp(40px, 6vh, 52px);
}
.pd-cap-total span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.pd-split {
  display: grid;
  grid-template-columns: 75fr 25fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3.5vh, 34px);
  align-items: end;
}
.pd-split-amt { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1; }
.pd-split-lbl {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  margin-top: 10px; max-width: 26ch;
}
.pd-split-pct { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--char-light); margin-top: 6px; }
.pd-split-reserve .pd-split-amt { color: #6f5318; }
.pd-splitbar { display: flex; height: 10px; margin-top: clamp(18px, 2.6vh, 24px); border-radius: 2px; overflow: hidden; }
.pd-splitbar-core { background: var(--gold-deep); }
.pd-splitbar-reserve { background: repeating-linear-gradient(45deg, rgba(150,118,47,0.28) 0 6px, rgba(150,118,47,0.12) 6px 12px); border-left: 1px solid var(--ivory); }

.pd-alloc-block { margin-top: clamp(56px, 9vh, 88px); }
.pd-allocbar { display: flex; height: 46px; margin-top: clamp(20px, 3vh, 28px); border-radius: 3px; overflow: hidden; }
.pd-seg { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.pd-seg-v { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--ivory); white-space: nowrap; }
.pd-seg-1 { background: #6b5320; }
.pd-seg-2 { background: #8a6c2c; }
.pd-seg-3 { background: #a5893f; }
.pd-seg-4 { background: #c2a666; }
.pd-seg-5 { background: #d8c48f; }
.pd-seg-4 .pd-seg-v, .pd-seg-5 .pd-seg-v { color: var(--ink); }

.pd-alloc-list { margin-top: clamp(28px, 4vh, 40px); display: grid; gap: 2px; }
.pd-alloc-row {
  display: grid;
  grid-template-columns: 14px minmax(96px, 120px) 1fr;
  gap: 4px 22px;
  align-items: baseline;
  padding: clamp(16px, 2.4vh, 22px) 0;
  border-bottom: 1px solid rgba(32,29,24,0.08);
}
.pd-alloc-row:last-child { border-bottom: 0; }
.pd-swatch { width: 12px; height: 12px; border-radius: 2px; transform: translateY(3px); }
.pd-sw-1 { background: #6b5320; } .pd-sw-2 { background: #8a6c2c; } .pd-sw-3 { background: #a5893f; }
.pd-sw-4 { background: #c2a666; } .pd-sw-5 { background: #d8c48f; }
.pd-alloc-amt { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); }
.pd-alloc-name { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; color: var(--ink); }
.pd-alloc-desc { margin-top: 6px; font-size: 1rem; color: var(--ink-soft); max-width: 62ch; }
.pd-tag {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 999px; vertical-align: middle;
}

/* Inside the $122K core operations allocation */
.pd-inside-block { margin-top: clamp(64px, 10vh, 80px); }
.pd-inside { margin-top: clamp(22px, 3.4vh, 30px); }
.pd-inside-lead {
  padding: clamp(24px, 3.6vh, 34px);
  background: var(--char);
  color: var(--ivory-on-dk);
  border-radius: 4px;
}
.pd-inside-amt { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1; color: var(--gold-pale); }
.pd-inside-lead .pd-inside-name { color: var(--ivory-on-dk); margin-top: 10px; }
.pd-inside-lead .pd-inside-desc { color: var(--muted-on-dk); }
.pd-inside-name { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; }
.pd-inside-desc { margin-top: 8px; font-size: 1rem; color: var(--ink-soft); max-width: 54ch; }
.pd-inside-grid {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(32,29,24,0.08);
  border: 1px solid rgba(32,29,24,0.08);
  border-top: 0;
}
.pd-inside-item { background: var(--ivory); padding: clamp(20px, 3vh, 28px); }
.pd-inside-amt-sm { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1; }
.pd-microflow, .pd-microlabel {
  margin-top: 12px; font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
}
.pd-microflow span { color: var(--char-light); margin: 0 2px; font-weight: 400; }

/* Reserve and capital controls */
.pd-reserve-block { margin-top: clamp(64px, 10vh, 80px); }
.pd-reserve { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); margin-top: clamp(22px, 3.4vh, 30px); }
.pd-reserve-in, .pd-reserve-out { padding: clamp(22px, 3.4vh, 30px); border-radius: 4px; }
.pd-reserve-in { background: var(--ivory); border: 1px solid var(--gold-line); }
.pd-reserve-out { background: transparent; border: 1px dashed rgba(150,118,47,0.5); }
.pd-reserve-amt { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); line-height: 1; }
.pd-reserve-head { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 12px; }
.pd-reserve-name { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin-top: 8px; }
.pd-reserve-micro { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; }
.pd-reserve-pos { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--char-light); margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(32,29,24,0.08); }

/* Capital stewardship — a written control record, not an investor-control panel. */
.pd-stewardship-intro {
  margin-top: clamp(28px, 4vh, 40px);
}
.pd-stewardship {
  margin-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--gold-line);
}
.pd-stewardship-item {
  padding: clamp(22px, 3vh, 28px) 0;
  border-bottom: 1px solid var(--gold-line);
}
.pd-stewardship-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.25;
}
.pd-stewardship-item .pd-body {
  margin-top: 10px;
  max-width: 70ch;
}
.pd-closing {
  margin-top: clamp(28px, 4vh, 40px);
  max-width: 70ch;
}

/* Capital follows evidence — restrained cycle */
.pd-cfe-block { margin-top: clamp(64px, 10vh, 80px); }
.pd-cfe { display: flex; justify-content: center; margin-top: clamp(28px, 4.5vh, 44px); }
.pd-cfe-cycle {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
}
.pd-cfe-node {
  position: absolute;
  width: 118px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.pd-cfe-n1 { top: 6%; left: 50%; }
.pd-cfe-n2 { top: 50%; left: 94%; }
.pd-cfe-n3 { top: 94%; left: 50%; }
.pd-cfe-n4 { top: 50%; left: 6%; }
.pd-cfe-num { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--gold-deep); }
.pd-cfe-lbl { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-top: 2px; }
.pd-cfe-center {
  position: absolute; top: 50%; left: 50%;
  width: 52%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2.25px solid var(--gold-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.pd-cfe-direction {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--gold-deep);
  pointer-events: none;
}
.pd-cfe-direction > path {
  fill: none;
  stroke: currentColor;
  stroke-width: .55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pd-cfe-direction marker path {
  fill: currentColor;
}
.pd-cfe-center span {
  position: relative;
  z-index: 1;
  max-width: 72%;
  font-family: var(--sans);
  font-size: clamp(.92rem, .84rem + .35vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #1b5e20;
  line-height: 1.38;
}
.pd-cfe-block .pd-narrow { margin-top: clamp(28px, 4vh, 40px); text-align: center; }
.pd-cfe-block .pd-body { margin-left: auto; margin-right: auto; }

/* Acquisition logic */
.pd-acqlogic-block { margin-top: clamp(64px, 10vh, 80px); }
.pd-acqflow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(22px, 3.4vh, 30px); }
.pd-acqflow-step {
  font-family: var(--sans); font-weight: 700; font-size: clamp(0.82rem, 0.76rem + 0.3vw, 0.95rem);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  padding: 12px 20px; border: 1px solid var(--gold-line); border-radius: 3px; background: var(--ivory);
}
.pd-acqflow-arr { color: var(--gold-deep); font-size: 1.1rem; }
.pd-measure { margin-top: 18px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--char-light); }
.pd-measure span { color: var(--gold-deep); margin: 0 4px; }
.pd-principle { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.15rem + 1.2vw, 2rem); margin-top: clamp(26px, 4vh, 36px); }

/* ── 03 · Validation route ──────────────────────────────────────── */
/* One connected horizontal route. A continuous line runs through all four
   stages; nodes and line grow subtly more focused toward Repeat. */
.pd-route {
  list-style: none;
  margin-top: clamp(48px, 7vh, 56px); /* ≈48-56px before the route visual */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pd-route-stage { position: relative; padding: 0 clamp(16px, 2vw, 26px) 0 0; }
.pd-route-stage:last-child { padding-right: 0; }

/* Connected track: each stage draws its segment of one continuous line. */
.pd-route-track { position: relative; height: 34px; display: flex; align-items: center; }
.pd-route-track::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: var(--gold-line);
}
/* Progressive focus: the line thickens/darkens as the route advances. */
.pd-route-2 .pd-route-track::before { height: 1px; background: rgba(150,118,47,0.45); }
.pd-route-3 .pd-route-track::before { height: 2px; background: rgba(150,118,47,0.65); }
.pd-route-4 .pd-route-track::before { height: 2px; background: var(--gold-deep); }
/* Line starts at node 01 and ends at node 04 — no overhang. */
.pd-route-stage:first-child .pd-route-track::before { left: 17px; }
.pd-route-stage:last-child .pd-route-track::before { right: auto; width: 17px; }

.pd-route-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold-line);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold-deep);
}
.pd-route-2 .pd-route-node { border-color: rgba(150,118,47,0.5); }
.pd-route-3 .pd-route-node { border-color: rgba(150,118,47,0.75); }
.pd-route-4 .pd-route-node { border-color: var(--gold-deep); background: var(--gold-deep); color: var(--ivory); }

.pd-route-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); line-height: 1.2; margin-top: 16px; }
.pd-route-copy { font-size: 0.98rem; color: var(--ink-soft); margin-top: 14px; max-width: none; }
.pd-watch-k { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--char-light); margin-top: 20px; }
.pd-watch { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.pd-watch li { font-family: var(--sans); font-size: 0.92rem; color: var(--ink); padding-left: 14px; position: relative; }
.pd-watch li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* ── 04 · Citizen economics ─────────────────────────────────────── */
.pd-tierflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: clamp(26px, 4vh, 34px); }
.pd-tier { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.pd-tier strong { color: var(--ink); }
.pd-tier-hi { color: var(--ink); }
.pd-tier-hi strong { color: #6f5318; }
.pd-tier-arr { color: var(--gold-deep); }
.pd-entry-descriptions {
  margin-top: clamp(28px, 4vh, 36px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gold-line);
}
.pd-entry-descriptions div {
  padding: 18px 0;
  border-bottom: 1px solid var(--gold-line);
}
.pd-entry-descriptions dt {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--subhead-ink);
}
.pd-entry-descriptions dd {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pd-path-brief,
.pd-gallery-block {
  margin-top: clamp(56px, 9vh, 80px);
}
.pd-path-brief-copy,
.pd-gallery-intro {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--ink-soft);
}
.pd-path-diagram {
  max-width: 780px;
  margin-top: clamp(24px, 4vh, 36px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  background: var(--ivory);
}
.pd-path-diagram img {
  display: block;
  width: 100%;
  height: auto;
}

/* Shared gallery controls are reused here, but the media belongs on the
   Proposal Details reading rail rather than the main proposal's full bleed. */
.pd-gallery-block .iw-gallery {
  width: min(820px, 100%);
  max-width: 820px;
  margin: clamp(24px, 4vh, 36px) 0 0;
}
.pd-gallery-block .iw-gallery-meta,
.pd-gallery-block .iw-gallery-caption {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}
.pd-gallery-block .iw-gallery-stage {
  border: 1px solid var(--gold-line);
  border-radius: 4px;
}

.pd-econ {
  margin-top: clamp(40px, 6vh, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  overflow: hidden;
}
.pd-prog { background: var(--ivory); padding: clamp(22px, 3vh, 30px) clamp(18px, 2vw, 24px); display: flex; flex-direction: column; }
.pd-prog-hi { background: var(--char); color: var(--ivory-on-dk); }
.pd-prog-flag { font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 8px; }
.pd-prog-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); }
.pd-prog-price { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); line-height: 1; margin-top: 8px; color: #6f5318; }
.pd-prog-hi .pd-prog-price { color: var(--gold-pale); }
.pd-prog-bar { display: flex; height: 8px; margin-top: 18px; border-radius: 2px; overflow: hidden; background: rgba(32,29,24,0.06); }
.pd-prog-hi .pd-prog-bar { background: rgba(255,255,255,0.1); }
.pd-prog-cost { background: rgba(150,118,47,0.55); }
.pd-prog-after { background: var(--gold-deep); }
.pd-prog-hi .pd-prog-after { background: var(--gold-pale); }
.pd-prog-figs { margin-top: 18px; display: grid; gap: 12px; }
.pd-prog-figs dt { font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--char-light); }
.pd-prog-hi .pd-prog-figs dt { color: var(--muted-on-dk); }
.pd-prog-figs dd { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-top: 2px; }
.pd-prog-after-v { color: var(--ink); }
.pd-prog-hi .pd-prog-after-v { color: var(--gold-pale); }
.pd-prog-figs div:first-child dd { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
.pd-viewcosts {
  margin-top: auto; padding-top: 18px;
  align-self: flex-start;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
}
.pd-prog-hi .pd-viewcosts { color: var(--gold-pale); }
.pd-viewcosts:hover { border-bottom-color: currentColor; }
.pd-prog-detail { margin-top: 14px; display: grid; gap: 8px; }
.pd-prog-detail div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pd-prog-detail dt { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); }
.pd-prog-hi .pd-prog-detail dt { color: var(--muted-on-dk); }
.pd-prog-detail dd { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; }
.pd-est {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 999px;
}
.pd-prog-hi .pd-est { color: var(--gold-pale); border-color: rgba(221,208,168,0.4); }

.pd-notes-block { margin-top: clamp(40px, 6vh, 56px); }
.pd-modelnotes { margin-top: clamp(18px, 2.6vh, 24px); display: grid; gap: 0; }
.pd-modelnotes div { padding: clamp(14px, 2vh, 20px) 0; border-bottom: 1px solid rgba(32,29,24,0.08); }
.pd-modelnotes div:last-child { border-bottom: 0; }
.pd-modelnotes dt { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subhead-ink); }
.pd-modelnotes dd { font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin-top: 8px; max-width: 66ch; }

/* ── 05 · Delivery capacity ─────────────────────────────────────── */
.pd-delivery-brief {
  margin-top: clamp(40px, 6vh, 52px);
  padding: clamp(22px, 3vh, 28px);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  background: var(--ivory-warm);
}
.pd-delivery-brief .pd-body {
  margin-top: 10px;
  max-width: 64ch;
  color: var(--ink-soft);
}
.pd-layers { margin-top: clamp(48px, 7vh, 60px); max-width: 820px; }
.pd-layer { padding: clamp(22px, 3vh, 30px); border: 1px solid var(--gold-line); border-radius: 4px; background: var(--ivory); }
.pd-warm .pd-layer { background: var(--ivory); }
.pd-layer-k { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subhead-ink); }
.pd-layer-copy { margin-top: 12px; font-size: 1rem; color: var(--ink-soft); }
.pd-layer-arr { text-align: center; color: var(--gold-deep); font-size: 1.4rem; padding: 10px 0; }
.pd-layer-emph { border-color: var(--gold-deep); border-width: 1.5px; background: var(--char); color: var(--ivory-on-dk); }
.pd-layer-emph .pd-layer-k { color: var(--gold-pale); }
.pd-layer-emph .pd-layer-copy { color: var(--muted-on-dk); }
.pd-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.pd-metric { text-align: left; }
.pd-metric-v { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.8rem); line-height: 1; color: var(--gold-pale); }
.pd-metric-l { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-on-dk); margin-top: 8px; max-width: 18ch; }
.pd-clarify { font-family: var(--sans); font-size: 0.92rem; line-height: 1.55; color: var(--muted-on-dk); margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); max-width: 60ch; }

.pd-grow-block { margin-top: clamp(56px, 9vh, 72px); }
.pd-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); margin-top: clamp(24px, 3.6vh, 34px); align-items: end; }
.pd-band-viz { display: block; width: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--gold) 0, var(--gold-deep) 100%); opacity: 0.9; }
.pd-band-1 { height: 46px; }
.pd-band-2 { height: 78px; }
.pd-band-3 { height: 112px; }
.pd-band-n { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); margin-top: 16px; }
.pd-band-d { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }
.pd-grow-block .pd-narrow-flush + .pd-bands { margin-top: clamp(24px, 3.6vh, 34px); }
.pd-grow-block .pd-bands + .pd-narrow-flush { margin-top: clamp(28px, 4vh, 40px); }
.pd-embodiment-block {
  margin-top: clamp(64px, 10vh, 88px);
  padding-top: clamp(48px, 7vh, 64px);
  border-top: 1px solid var(--gold-line);
}

/* ── 06 · Initial market continuum ──────────────────────────────── */
.pd-continuum {
  margin-top: clamp(52px, 8vh, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(16px, 2.5vw, 30px);
}
.pd-cont-part { padding-top: 20px; border-top: 2px solid var(--gold-line); }
.pd-cont-k { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); }
.pd-cont-copy { font-size: 0.98rem; color: var(--ink-soft); margin-top: 12px; max-width: none; }
.pd-cont-arr { color: var(--gold-deep); font-size: 1.3rem; padding-top: 18px; }

/* ── 07 · Finding clients converge ──────────────────────────────── */
.pd-converge { margin-top: clamp(48px, 7vh, 60px); }
.pd-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.pd-conv-route { text-align: center; padding: clamp(20px, 3vh, 26px) clamp(14px, 2vw, 20px); border: 1px solid var(--gold-line); border-radius: 4px; background: var(--ivory); }
.pd-warm .pd-conv-route { background: var(--ivory); }
.pd-conv-k { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.pd-conv-d { font-family: var(--sans); font-size: 0.95rem; color: var(--ink); margin-top: 10px; line-height: 1.5; }
.pd-conv-lines { height: 72px; }
.pd-conv-svg { width: 100%; height: 100%; display: block; }
.pd-conv-svg path { fill: none; stroke: var(--gold-line); stroke-width: 1.5; }
.pd-conv-hub { display: flex; justify-content: center; }
.pd-conv-hub span {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  color: var(--ink);
  padding: clamp(14px, 2vh, 18px) clamp(28px, 5vw, 48px);
  border: 1px solid var(--gold-deep); border-radius: 999px; background: var(--ivory);
}
.pd-warm .pd-conv-hub span { background: var(--ivory); }

/* ── 08 · Operating notes accordion ─────────────────────────────── */
.pd-acc { margin-top: clamp(32px, 5vh, 40px); border-top: 1px solid var(--gold-line); }
.pd-acc-row { border-bottom: 1px solid var(--gold-line); }
.pd-acc-h { margin: 0; }
.pd-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(22px, 3vh, 26px) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); color: var(--ink);
}
.pd-acc-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.pd-acc-ico::before, .pd-acc-ico::after { content: ''; position: absolute; background: var(--gold-deep); transition: transform 400ms var(--ease); }
.pd-acc-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.pd-acc-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.pd-acc-btn[aria-expanded="true"] .pd-acc-ico::after { transform: scaleY(0); }
.pd-acc-panel { overflow: hidden; padding-bottom: clamp(22px, 3vh, 26px); }
.pd-acc-panel .pd-body { max-width: 74ch; }

/* ── CTA / end ──────────────────────────────────────────────────── */
.pd-end {
  max-width: calc(var(--pd-narrow) + 2 * var(--pd-x));
  margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) var(--pd-x) clamp(56px, 9vh, 88px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px;
}
.pd-cta { border-color: var(--gold-deep); color: var(--ink); }
.pd-cta.iw-conversation-tab {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}
.pd-cta.iw-conversation-tab:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  color: #fff;
}
.pd-main-proposal-link {
  border-color: #D4AF37;
}

@media (max-width: 640px) {
  .pd-end {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pd-end .iw-btn {
    width: 100%;
  }
}

/* ── Motion ─────────────────────────────────────────────────────── */
html.js .pd-acc-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .pd-acc-ico::before, .pd-acc-ico::after { transition: none; }
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1023px) {
  .pd-inside-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-route { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vh, 40px) 0; }
  .pd-route-stage { padding: 0 clamp(16px, 3vw, 24px) 0 0; }
  /* Two per row: each row's line runs node-to-node. */
  .pd-route-stage:nth-child(odd) .pd-route-track::before { left: 17px; right: 0; width: auto; }
  .pd-route-stage:nth-child(even) .pd-route-track::before { left: 0; right: auto; width: 17px; }
  .pd-econ { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 719px) {
  .pd-split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .pd-allocbar { height: 40px; }
  .pd-seg-v { font-size: 0.7rem; }
  .pd-alloc-row { grid-template-columns: 12px 1fr; grid-template-areas: "sw amt" ". txt"; column-gap: 14px; }
  .pd-swatch { grid-area: sw; }
  .pd-alloc-amt { grid-area: amt; }
  .pd-alloc-txt { grid-area: txt; margin-top: 6px; }
  .pd-inside-grid { grid-template-columns: 1fr; }
  .pd-reserve { grid-template-columns: 1fr; }
  /* Route becomes a clean vertical progression on narrow screens.
     Selectors repeat the :first/:last/:nth-child variants at full
     specificity so the desktop/tablet horizontal-line rules cannot leak in. */
  .pd-route { grid-template-columns: 1fr; gap: 0; }
  .pd-route-stage { padding: 0 0 clamp(26px, 4.5vh, 36px) 44px; }
  .pd-route-stage:last-child { padding-bottom: 0; }
  .pd-route-track { position: absolute; left: 0; top: 0; height: auto; bottom: 0; width: 34px; display: block; }
  .pd-route-track::before,
  .pd-route-stage:first-child .pd-route-track::before,
  .pd-route-stage:last-child .pd-route-track::before,
  .pd-route-stage:nth-child(odd) .pd-route-track::before,
  .pd-route-stage:nth-child(even) .pd-route-track::before {
    left: 50%; right: auto; top: 34px; bottom: -8px;
    width: 1px; height: auto;
    transform: translateX(-50%);
  }
  .pd-route-3 .pd-route-track::before, .pd-route-4 .pd-route-track::before { width: 2px; }
  .pd-route .pd-route-stage:last-child .pd-route-track::before { display: none; }
  .pd-route-title { margin-top: 4px; }
  .pd-route-copy, .pd-cont-copy { max-width: 62ch; }
  .pd-econ { grid-template-columns: 1fr; }
  .pd-metrics { gap: 12px; }
  .pd-metric-v { font-size: clamp(1.7rem, 1.4rem + 2vw, 2.2rem); }
  .pd-continuum { grid-template-columns: 1fr; gap: 0; }
  .pd-cont-part { margin-top: 24px; }
  .pd-cont-part:first-child { margin-top: 0; }
  .pd-cont-arr { display: none; }
  .pd-routes { grid-template-columns: 1fr; gap: 12px; }
  .pd-conv-lines { height: 44px; }
  .pd-acqflow { flex-direction: column; align-items: stretch; }
  .pd-acqflow-arr { text-align: center; }
  .pd-bands { grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
  .pd-band-viz { height: 14px !important; }
  .pd-band-1 { width: 40%; } .pd-band-2 { width: 70%; } .pd-band-3 { width: 100%; }
}

/* Proposal Details uses readable title and sentence case outside its approved eyebrow. */
.pd-id,
.pd-sub-k,
.pd-offer-equity,
.pd-strip-item,
.pd-cap-total,
.pd-split-lbl,
.pd-tag,
.pd-microflow,
.pd-microlabel,
.pd-reserve-head,
.pd-cfe-lbl,
.pd-cfe-center span,
.pd-acqflow-step,
.pd-measure,
.pd-watch-k,
.pd-tier,
.pd-entry-descriptions dt,
.pd-prog-flag,
.pd-prog-figs dt,
.pd-viewcosts,
.pd-est,
.pd-modelnotes dt,
.pd-layer-k,
.pd-conv-k {
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Supporting headings share one readable sans-serif treatment. The primary
   section titles remain the larger serif layer above them. */
.pd-id,
.pd-sub-k,
.pd-modelnotes dt,
.pd-layer-k,
.pd-conv-k,
.pd-entry-descriptions dt,
.pd-watch-k {
  font-family: var(--sans);
  font-size: clamp(0.94rem, 0.88rem + 0.25vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--subhead-ink);
}
