/* The Denim Holy Trinity — supplemental editorial system
   Sits on top of jt-crewneck.css; adds plate typology + fieldnote section. */

:root {
  --dt-cream: #f4ede1;
  --dt-cream-deep: #ece4d3;
  --dt-rule: rgba(14, 27, 46, 0.16);
  --dt-ink: #0e1b2e;
  --dt-ink-mid: #3a5274;
  --dt-ink-soft: #7b8fa8;
  --dt-fieldnote-bg: #0e0e0e;
  --dt-fieldnote-ink: #f3ead9;
}

/* ───── Trinity opening band ───── */
.dt-trinity-intro {
  background: var(--dt-cream);
  padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px) clamp(12px, 3vw, 32px);
  border-top: 1px solid var(--dt-rule);
}
.dt-trinity-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 64px);
}
.dt-trinity-intro__lede,
.dt-trinity-intro__count {
  font: 11px/1.6 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.62);
}
.dt-trinity-intro__count { text-align: right; }
.dt-trinity-intro__title {
  font: italic 500 clamp(40px, 5.8vw, 84px)/0.95 "Playfair Display", serif;
  color: var(--dt-ink);
  margin: 0;
  white-space: nowrap;
}
.dt-trinity-intro__rule {
  margin: clamp(28px, 4vw, 48px) auto 0;
  max-width: 1280px;
  height: 1px;
  background: var(--dt-rule);
}

/* ───── Plate ───── */
.dt-plate {
  background: var(--dt-cream);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  position: relative;
}
.dt-plate + .dt-plate { border-top: 1px solid var(--dt-rule); }
.dt-plate__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr) minmax(160px, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Numeral column */
.dt-plate__numeral-wrap { position: relative; }
.dt-plate__plate-tag {
  font: 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.55);
  margin-bottom: 18px;
}
.dt-plate__numeral {
  font: italic 400 clamp(140px, 22vw, 280px)/0.78 "Bodoni Moda", "Playfair Display", serif;
  color: var(--dt-ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.dt-plate--dark   .dt-plate__numeral { color: var(--dt-ink); }
.dt-plate--medium .dt-plate__numeral { color: var(--dt-ink-mid); }
.dt-plate--light  .dt-plate__numeral { color: var(--dt-ink-soft); }
.dt-plate__hex {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  margin-top: 22px;
  color: rgba(14, 27, 46, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dt-plate__hex::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(14, 27, 46, 0.2);
  background: currentColor;
}
.dt-plate--dark   .dt-plate__hex { color: var(--dt-ink); }
.dt-plate--medium .dt-plate__hex { color: var(--dt-ink-mid); }
.dt-plate--light  .dt-plate__hex { color: var(--dt-ink-soft); }

/* Copy column */
.dt-plate__copy { max-width: 56ch; }
.dt-plate__kicker {
  font: 11px/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.62);
  margin-bottom: 14px;
}
.dt-plate__title {
  font: italic 500 clamp(44px, 5.4vw, 80px)/0.94 "Playfair Display", serif;
  color: var(--dt-ink);
  margin: 0 0 clamp(20px, 3vw, 36px);
}
.dt-plate__title-end {
  font-style: normal;
  font-weight: 400;
  color: rgba(14, 27, 46, 0.6);
}
.dt-plate__copy p {
  font: 400 17px/1.62 "Bodoni Moda", "Playfair Display", serif;
  color: rgba(14, 27, 46, 0.88);
  margin: 0 0 1.1em;
}
.dt-plate__copy p:last-child { margin-bottom: 0; }
.dt-plate__copy em { font-style: italic; }
.dt-plate__rule {
  width: 56px;
  height: 1px;
  background: rgba(14, 27, 46, 0.32);
  margin: clamp(20px, 3vw, 28px) 0;
}

/* Worn-for column */
.dt-worn-for {
  border-left: 1px solid var(--dt-rule);
  padding: 4px 0 4px clamp(20px, 3vw, 32px);
}
.dt-worn-for__head {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.55);
  margin-bottom: 18px;
}
.dt-worn-for__list { margin: 0; padding: 0; list-style: none; }
.dt-worn-for__list li {
  font: 11px/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dt-ink);
  padding: 14px 0;
  border-top: 1px dotted rgba(14, 27, 46, 0.22);
}
.dt-worn-for__list li:first-child { border-top: 0; padding-top: 0; }
.dt-worn-for__list li:last-child { padding-bottom: 0; }
.dt-worn-for__list span {
  display: block;
  font: italic 400 13px/1.4 "Playfair Display", serif;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(14, 27, 46, 0.62);
  margin-top: 6px;
}

/* Placeholder slot for product shot */
.dt-plate__shot {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 4vw, 40px);
  aspect-ratio: 3.2 / 1;
  border: 1px solid var(--dt-rule);
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(14, 27, 46, 0.04) 28px 29px),
    var(--dt-cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.48);
}
.dt-plate__shot::before { content: "Product shot · to come"; }
.dt-plate--dark   .dt-plate__shot::after { content: "Plate I · #0E1B2E"; color: var(--dt-ink); }
.dt-plate--medium .dt-plate__shot::after { content: "Plate II · #3A5274"; color: var(--dt-ink-mid); }
.dt-plate--light  .dt-plate__shot::after { content: "Plate III · #7B8FA8"; color: var(--dt-ink-soft); }

/* Trinity outro */
.dt-trinity-outro {
  background: var(--dt-cream);
  padding: clamp(20px, 4vw, 36px) clamp(24px, 6vw, 80px) clamp(60px, 9vw, 120px);
  text-align: center;
}
.dt-trinity-outro span {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.48);
  padding-top: clamp(20px, 4vw, 36px);
  border-top: 1px solid var(--dt-rule);
  display: inline-block;
  padding: 18px 24px 0;
}

/* ───── The Part Nobody Tells You — field-note section ───── */
.dt-fieldnote {
  background: var(--dt-fieldnote-bg);
  color: var(--dt-fieldnote-ink);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.dt-fieldnote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(243, 234, 217, 0.06), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(243, 234, 217, 0.04), transparent 50%);
  pointer-events: none;
}
.dt-fieldnote__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.dt-fieldnote__stamp {
  position: absolute;
  top: -38px;
  right: 0;
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, 0.42);
  border: 1px solid rgba(243, 234, 217, 0.22);
  padding: 9px 14px;
}
.dt-fieldnote__kicker {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, 0.55);
  margin-bottom: 28px;
}
.dt-fieldnote__lede {
  font: 400 19px/1.6 "Bodoni Moda", "Playfair Display", serif;
  color: rgba(243, 234, 217, 0.78);
  margin: 0 0 36px;
}
.dt-fieldnote__pullout {
  font: italic 500 clamp(40px, 5.6vw, 76px)/1.02 "Playfair Display", serif;
  color: var(--dt-fieldnote-ink);
  margin: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px);
  position: relative;
  padding-left: 24px;
}
.dt-fieldnote__pullout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: rgba(243, 234, 217, 0.5);
}
.dt-fieldnote__body p {
  font: 400 17px/1.7 "Bodoni Moda", "Playfair Display", serif;
  color: rgba(243, 234, 217, 0.86);
  margin: 0 0 1.2em;
}
.dt-fieldnote__body p:last-child { margin-bottom: 0; }
.dt-fieldnote__body em { font-style: italic; }
.dt-fieldnote__coda {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.18);
  font: italic 400 16px/1.6 "Playfair Display", serif;
  color: rgba(243, 234, 217, 0.62);
}

/* ───── Lede (opener + "Why You're Doing It Wrong" as one breath) ───── */
.dt-lede {
  background: var(--dt-cream);
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 80px) clamp(40px, 6vw, 72px);
}
.dt-lede__inner {
  max-width: 720px;
  margin: 0 auto;
}
.dt-lede__opener {
  font: italic 400 clamp(22px, 2.6vw, 28px)/1.45 "Playfair Display", serif;
  color: var(--dt-ink);
  margin: 0 0 1.4em;
  letter-spacing: -0.005em;
}
.dt-lede__opener strong { font-style: normal; font-weight: 500; }
.dt-lede__inner p {
  font: 400 17px/1.68 "Bodoni Moda", "Playfair Display", serif;
  color: rgba(14, 27, 46, 0.88);
  margin: 0 0 1.15em;
}
.dt-lede__inner p:last-child { margin-bottom: 0; }
.dt-lede__inner em { font-style: italic; }
.dt-lede__bridge {
  margin: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.dt-lede__bridge::before,
.dt-lede__bridge::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--dt-rule);
}
.dt-lede__bridge span {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.5);
}

/* ───── Closer ("The Investment Argument") ───── */
.dt-closer {
  background: var(--dt-cream);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 80px) clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--dt-rule);
}
.dt-closer__inner { max-width: 680px; margin: 0 auto; }
.dt-closer__kicker {
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.55);
  margin-bottom: 18px;
}
.dt-closer__title {
  font: italic 500 clamp(36px, 4.6vw, 60px)/1.0 "Playfair Display", serif;
  color: var(--dt-ink);
  margin: 0 0 clamp(24px, 4vw, 40px);
}
.dt-closer__inner p {
  font: 400 17px/1.68 "Bodoni Moda", "Playfair Display", serif;
  color: rgba(14, 27, 46, 0.88);
  margin: 0 0 1.1em;
}
.dt-closer__final {
  font: italic 500 clamp(28px, 3.2vw, 40px)/1.15 "Playfair Display", serif !important;
  color: var(--dt-ink) !important;
  margin-top: clamp(24px, 4vw, 36px) !important;
}

/* ───── Signoff override ───── */
.dt-sign {
  background: var(--dt-cream);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--dt-rule);
}
.dt-sign__inner {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.dt-sign__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--dt-ink) center/cover no-repeat;
  border: 1px solid rgba(14, 27, 46, 0.2);
}
.dt-sign__who {
  font: 11px/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.65);
  margin-bottom: 14px;
}
.dt-sign__who strong { color: var(--dt-ink); font-weight: 500; }
.dt-sign__who small {
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: rgba(14, 27, 46, 0.55);
  margin-left: 10px;
  font-size: 13px;
}
.dt-sign__bio {
  font: italic 400 17px/1.6 "Playfair Display", serif;
  color: rgba(14, 27, 46, 0.86);
  margin: 0;
}
.dt-sign__location {
  margin-top: 14px;
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.5);
}

/* ───── Pull quote override (template's .nc-pull is fine; we just retune for cream) ───── */
.dt-pull {
  background: var(--dt-cream);
  padding: clamp(64px, 10vw, 128px) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--dt-rule);
  border-bottom: 1px solid var(--dt-rule);
  text-align: center;
}
.dt-pull__rule {
  width: 44px;
  height: 1px;
  background: rgba(14, 27, 46, 0.4);
  margin: 0 auto 32px;
}
.dt-pull__quote {
  max-width: 1040px;
  margin: 0 auto;
  font: italic 500 clamp(36px, 4.6vw, 64px)/1.18 "Playfair Display", serif;
  color: var(--dt-ink);
  letter-spacing: -0.005em;
}
.dt-pull__cite {
  margin-top: 32px;
  font: 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(14, 27, 46, 0.55);
  font-style: normal;
}

/* ───── Responsive ───── */
@media (max-width: 900px) {
  .dt-trinity-intro__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dt-trinity-intro__count { text-align: center; }
  .dt-trinity-intro__title { white-space: normal; }
  .dt-plate__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .dt-plate__numeral { font-size: 160px; }
  .dt-worn-for { border-left: 0; border-top: 1px solid var(--dt-rule); padding: 20px 0 0; }
  .dt-sign__inner { grid-template-columns: 1fr; }
}
