/* The Deal Desk — modernist research-operator dark canvas, M&A cousin.
   Family lineage: senior banker's deal floor at 11pm.
   Strict AC4: only 8 color tokens, defined here once. */

:root {
  --canvas: #0d1117;
  --paper: #f4f1ea;
  --ink: #d6cfba;
  --brass: #b59661;
  --ledger-green: #2d6b4f;
  --alarm-red: #b04341;
  --clock-amber: #d49a3a;
  --seal-graphite: #1a1f29;

  --font-display: "Bodoni Moda", "GT Sectra", Garamond, serif;
  --font-body: "Hanken Grotesk", "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Roboto Mono", monospace;

  font-family: var(--font-body);
  line-height: 1.45;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  min-width: 320px;
}

img, svg { display: block; max-width: 100%; }
a, button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.hidden { display: none !important; }

.container {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.shell { min-height: 100vh; }

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid rgba(181, 150, 97, 0.32);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand { display: inline-flex; flex-direction: column; gap: 0.18rem; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a, .site-nav button {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(214, 207, 186, 0.7);
}
.site-nav a:hover { color: var(--brass); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
}

.nav-button {
  border: 1px solid var(--brass);
  padding: 9px 18px;
  color: var(--brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 600;
  background: transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.nav-button:hover { border-color: var(--clock-amber); color: var(--clock-amber); }
.nav-button[data-variant="solid"] {
  background: var(--brass);
  color: var(--canvas);
  border-color: var(--brass);
}
.nav-button[data-variant="solid"]:hover {
  background: var(--clock-amber);
  border-color: var(--clock-amber);
  color: var(--canvas);
}

.nav-lang {
  background: transparent;
  border: 1px solid rgba(181, 150, 97, 0.5);
  color: rgba(214, 207, 186, 0.7);
  padding: 8px 12px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-lang:hover { color: var(--brass); border-color: var(--brass); }

/* ───────── Type ───────── */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 96;
}
p { margin: 0 0 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.eyebrow-plain {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin: 0;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.hero-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--brass);
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}

.subhead {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
}

.body-cream { color: var(--ink); max-width: min(680px, 92vw); line-height: 1.55; }
.body-paper { color: var(--canvas); max-width: min(680px, 92vw); line-height: 1.55; }

.tabular-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* ───────── Buttons ───────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--brass);
  color: var(--brass);
  background: transparent;
  padding: 14px 24px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.button:hover {
  background: var(--brass);
  color: var(--canvas);
  border-color: var(--brass);
}
.button--solid {
  background: var(--brass);
  color: var(--canvas);
  border-color: var(--brass);
}
.button--solid:hover {
  background: var(--clock-amber);
  border-color: var(--clock-amber);
  color: var(--canvas);
}

.rule-brass {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--brass);
  border: 0;
  margin: 0;
}
.rule-brass--bold { height: 3px; }

/* ───────── §9.1 Deal-Clock band ───────── */
.deal-clock {
  background: var(--canvas);
  border-block: 4px solid var(--brass);
  padding: clamp(40px, 6vw, 80px) 0;
  margin: 0;
}

.deal-clock__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.deal-clock__col { display: flex; flex-direction: column; gap: 14px; }

.deal-clock__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.deal-clock__stage {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.92;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.005em;
}

.deal-clock__numeral {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.deal-clock__numeral--amber { color: var(--clock-amber); }

.deal-clock__caption {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(214, 207, 186, 0.85);
  margin: 0;
  line-height: 1.4;
}
.deal-clock__caption--amber { color: var(--clock-amber); }

@media (max-width: 720px) {
  .deal-clock__inner { grid-template-columns: 1fr; gap: 32px; }
  .deal-clock__col { border-top: 1px solid var(--brass); padding-top: 24px; }
  .deal-clock__col:first-child { border-top: 0; padding-top: 0; }
  .deal-clock__numeral { font-size: 3.2rem; }
}

/* ───────── §9.2 Buyer Log grid ───────── */
.buyer-log { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }

.buyer-log__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buyer-log__mega {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  line-height: 1.0;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.012em;
  margin: 0;
}
.buyer-log__mega .sep {
  color: var(--brass);
  font-style: normal;
  margin: 0 0.4em;
}

.buyer-log__sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}

.buyer-log__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.buyer-log__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 130px minmax(0, 1.2fr) minmax(0, 1.2fr) 70px;
  gap: 16px 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(181, 150, 97, 0.5);
}
.buyer-log__row:first-of-type { border-top: 1px solid rgba(181, 150, 97, 0.5); }

.buyer-log__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.buyer-log__name strong {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.buyer-log__name span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 207, 186, 0.6);
}

.buyer-log__action {
  font-size: 0.82rem;
  color: rgba(214, 207, 186, 0.85);
  line-height: 1.4;
}
.buyer-log__action small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
  margin-top: 2px;
}

.buyer-log__checks {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.buyer-log__cta {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .buyer-log__row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .buyer-log__action { grid-column: 1 / -1; }
  .buyer-log__checks { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ───────── §9.3 Fee Staircase ───────── */
.fee-staircase {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.fee-staircase__step {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: center;
  padding: 20px clamp(20px, 3vw, 40px);
  border-bottom: 1px solid rgba(181, 150, 97, 0.4);
  min-height: 84px;
}
.fee-staircase__step:last-child { border-bottom: 0; }

.fee-staircase__tier {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.fee-staircase__rate {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.92;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.fee-staircase__note {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(214, 207, 186, 0.75);
  text-align: right;
}

.fee-staircase__step:nth-child(1) { padding-left: clamp(20px, 3vw, 40px); }
.fee-staircase__step:nth-child(2) { padding-left: clamp(40px, 5vw, 80px); }
.fee-staircase__step:nth-child(3) { padding-left: clamp(60px, 7vw, 120px); }
.fee-staircase__step:nth-child(4) { padding-left: clamp(80px, 9vw, 160px); }
.fee-staircase__step:nth-child(5) { padding-left: clamp(100px, 11vw, 200px); }

@media (max-width: 720px) {
  .fee-staircase__step {
    grid-template-columns: 1fr;
    text-align: left;
    padding-left: 20px !important;
  }
  .fee-staircase__rate { text-align: left; }
  .fee-staircase__note { text-align: left; }
}

/* ───────── §9.4 Parchment Exhibit ───────── */
.parchment-exhibit {
  background: var(--paper);
  color: var(--canvas);
  border: 1px solid var(--brass);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 32px);
  position: relative;
  width: 100%;
  max-width: clamp(280px, 24vw, 480px);
  transition: border-color 200ms ease;
}
.parchment-exhibit::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--brass);
}
.parchment-exhibit:hover { border-color: var(--clock-amber); }

.parchment-exhibit--wide { max-width: 100%; }

.parchment-exhibit__header {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--canvas);
  margin: 0 0 8px;
  font-variation-settings: "opsz" 24;
}

.parchment-exhibit__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
  font-weight: 500;
}

.parchment-exhibit__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--canvas);
  margin: 0 0 12px;
}
.parchment-exhibit__body:last-child { margin-bottom: 0; }

.parchment-exhibit__sig {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brass);
}
.parchment-exhibit__sig small {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 17, 23, 0.7);
  margin-top: 4px;
}

.parchment-exhibit__rule {
  width: 100%;
  height: 1px;
  background: rgba(181, 150, 97, 0.5);
  margin: 12px 0;
}

.parchment-exhibit__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(181, 150, 97, 0.5);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--canvas);
  font-variation-settings: "opsz" 36;
  font-variant-numeric: tabular-nums;
}

.parchment-exhibit .memo-header {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--brass);
}
.parchment-exhibit .memo-header__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(13, 17, 23, 0.6);
  font-weight: 500;
}
.parchment-exhibit .memo-header__value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--canvas);
  font-variant-numeric: tabular-nums;
}

/* ───────── Status seals (28px square brass-hairline) ───────── */
.status-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--brass);
  background: var(--seal-graphite);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  white-space: nowrap;
  transition: border-color 150ms ease;
}
.status-seal:hover { border-color: var(--clock-amber); color: var(--clock-amber); }

.status-seal--ok { color: var(--ledger-green); border-color: var(--ledger-green); }
.status-seal--amber { color: var(--clock-amber); border-color: var(--clock-amber); }
.status-seal--red { color: var(--alarm-red); border-color: var(--alarm-red); }
.status-seal--mute { color: rgba(214, 207, 186, 0.45); border-color: rgba(181, 150, 97, 0.4); }

.status-seal__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--brass);
  background: var(--seal-graphite);
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
}
.status-seal__check--on { color: var(--ledger-green); border-color: var(--ledger-green); }
.status-seal__check--off { color: rgba(214, 207, 186, 0.3); border-color: rgba(181, 150, 97, 0.3); }

/* ───────── Sparkbar ───────── */
.sparkbar {
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--seal-graphite);
  border: 1px solid rgba(181, 150, 97, 0.4);
}
.sparkbar__fill {
  position: absolute;
  inset: -1px auto -1px -1px;
  height: calc(100% + 2px);
  background: var(--brass);
  animation: widthGrow 480ms ease both;
}
.sparkbar__fill--ok { background: var(--ledger-green); }
.sparkbar__fill--amber { background: var(--clock-amber); }
.sparkbar__fill--red { background: var(--alarm-red); }

@keyframes widthGrow {
  from { width: 0; }
  to { width: var(--w, 50%); }
}
@keyframes opacityFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes countdownTick {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ───────── §10 Hero (home) ───────── */
.hero {
  background: var(--canvas);
  padding: clamp(72px, 10vw, 144px) 0 clamp(48px, 6vw, 88px);
}

.hero__masthead {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1100px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: clamp(8px, 1vw, 24px);
}

.stats-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px) 0;
  border-block: 1px solid var(--brass);
}

.stats-reel__cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats-reel__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
  font-weight: 500;
}
.stats-reel__numeral {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.012em;
}
.stats-reel__caption {
  font-size: 0.85rem;
  color: rgba(214, 207, 186, 0.7);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 720px) {
  .stats-reel { grid-template-columns: 1fr; gap: 32px; }
}

/* ───────── Sections ───────── */
.section {
  padding: clamp(64px, 8vw, 120px) 0;
  border-top: 1px solid rgba(181, 150, 97, 0.32);
}
.section--paper { background: var(--canvas); }
.section--no-rule { border-top: 0; }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 56rem;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* ───────── Bench grid (about) ───────── */
.bench-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--brass);
}
.bench-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(181, 150, 97, 0.35);
  align-items: start;
}
.bench-row__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  margin: 0 0 4px;
}
.bench-row__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
  font-weight: 500;
}
.bench-row__creds {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  letter-spacing: 0.06em;
}
.bench-row__bio {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(214, 207, 186, 0.85);
}

@media (max-width: 920px) {
  .bench-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ───────── Workstream rows (services) ───────── */
.workstream {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid rgba(181, 150, 97, 0.3);
  align-items: start;
}
.workstream:first-of-type { border-top: 1px solid var(--brass); }

.workstream__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  color: var(--ink);
  font-variation-settings: "opsz" 64;
  margin: 0 0 8px;
}
.workstream__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
  font-weight: 500;
}
.workstream__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(214, 207, 186, 0.9);
}
.workstream__deliverables {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.workstream__deliverables li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 207, 186, 0.85);
}

@media (max-width: 920px) {
  .workstream { grid-template-columns: 1fr; }
}

/* ───────── Letter stack (testimonials) ───────── */
.letter-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  max-width: 880px;
  margin: 0 auto;
}
.letter-stack .parchment-exhibit { max-width: 100%; }

/* ───────── Contact form (dark canvas) ───────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(181, 150, 97, 0.5);
  padding: 10px 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 200ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--brass);
}
.field textarea { min-height: 120px; }

.finra-disclosure {
  border: 1px solid rgba(181, 150, 97, 0.5);
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: rgba(214, 207, 186, 0.7);
  margin-top: 24px;
}
.finra-disclosure strong { color: var(--brass); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

/* ───────── 9-stage pipeline ladder ───────── */
.pipeline-ladder {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  padding: 24px 0;
}
.pipeline-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid rgba(181, 150, 97, 0.4);
  text-align: left;
}
.pipeline-stage:last-child { border-right: 0; }

.pipeline-stage__marker {
  width: 14px;
  height: 14px;
  border: 1px solid var(--brass);
  background: transparent;
}
.pipeline-stage--past .pipeline-stage__marker { background: var(--ledger-green); border-color: var(--ledger-green); }
.pipeline-stage--current .pipeline-stage__marker { background: var(--brass); border-color: var(--brass); }
.pipeline-stage--future .pipeline-stage__marker { background: transparent; border-color: rgba(181, 150, 97, 0.4); }

.pipeline-stage__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 207, 186, 0.7);
  line-height: 1.3;
}
.pipeline-stage--current .pipeline-stage__label { color: var(--brass); }

@media (max-width: 920px) {
  .pipeline-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .pipeline-stage { border-right: 0; padding: 8px 0; }
}

/* ───────── Footer ───────── */
.page-footer {
  background: var(--canvas);
  border-top: 1px solid var(--brass);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  color: rgba(214, 207, 186, 0.7);
}
.page-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
}
@media (max-width: 720px) { .page-footer__grid { grid-template-columns: 1fr; } }
.page-footer h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.page-footer p { font-size: 0.84rem; line-height: 1.5; margin: 0 0 6px; }
.page-footer a { color: rgba(214, 207, 186, 0.7); }
.page-footer a:hover { color: var(--brass); }
.footer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 500;
}

/* ───────── Mobile container hardening ───────── */
@media (max-width: 540px) {
  .container { width: min(100% - 1.4rem, 100%); }
  .deal-clock__numeral { font-size: 2.8rem; }
  .buyer-log__mega { font-size: 2rem; }
}
