/* Scoped to the two DMT features. No global shell or homepage changes. */
.dmt-editorial { --dmt-gold: #d5b779; --dmt-ink: #ece9e0; }
.dmt-opening { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 42px; align-items: center; padding: 46px 40px 38px; border-bottom: 1px solid #2c2c33; }
.dmt-opening .article-header { padding: 0; border: 0; }
.dmt-opening .container { padding: 0; }
.dmt-opening .article-header h1 { font-size: clamp(2.65rem, 4.3vw, 4.7rem); line-height: 1.02; text-wrap: balance; margin: 20px 0; }
.dmt-opening .dek { color: #bebec5; font-size: 1.05rem; line-height: 1.7; }
.dmt-opening .article-meta { color: #adaeb9; gap: 8px 18px; line-height: 1.65; }
.dmt-opening .article-meta a { color: #d5b779; }
.dmt-opening .article-hero { width: 100%; padding: 0; margin: 0; }
.dmt-opening .article-hero img { border-radius: 4px; box-shadow: 0 20px 70px #0007; }
.dmt-opening .article-hero figcaption { font-size: .75rem; line-height: 1.65; color: #a5a6b2; padding: 14px 2px 0; }
.dmt-opening .back-link { margin-bottom: 18px; }
.dmt-opening .review-note { font-size: .65rem; color: #a5a6b2; margin-top: 18px; }
.dmt-editorial .article-content { max-width: 880px; padding-top: 32px; }
.dmt-editorial .article-content > p { font-size: 1.075rem; line-height: 1.95; color: #d4d4db; }
.dmt-editorial .article-content > h2 { margin-top: 58px; padding-top: 20px; border-top: 1px solid #292c38; color: var(--dmt-gold); font-size: 2.25rem; text-wrap: balance; }
.dmt-editorial h2[id] { scroll-margin-top: 115px; }
.dmt-reading-nav { border-bottom: 1px solid #2c2c33; margin-bottom: 34px; padding-bottom: 24px; }
.dmt-reading-nav > span, .dmt-kicker { display: block; font: 500 .68rem/1.6 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--dmt-gold); text-transform: uppercase; margin-bottom: 12px; }
.dmt-reading-nav > div { display: flex; gap: 8px 10px; flex-wrap: wrap; }
.dmt-reading-nav a { color: #c5c6d0; border: 1px solid #343641; padding: 7px 12px; border-radius: 4px; font-size: .75rem; }
.dmt-reading-nav a:hover { color: #f1d395; border-color: #957b46; background: #d5b7790d; }
.dmt-editorial a:focus-visible, .dmt-editorial button:focus-visible { outline: 2px solid var(--dmt-gold); outline-offset: 4px; }
.dmt-editorial .tldr { padding: 26px; border-radius: 5px; background: linear-gradient(125deg, #a4894720, #11131b); }
.dmt-editorial .tldr li { margin-bottom: 12px; color: #c8c8d0; font-size: .94rem; }
.dmt-editorial .tldr strong { color: #eee7d7; }
.dmt-brief { padding: 25px 28px; margin-bottom: 34px; border: 1px solid #514630; border-left: 3px solid var(--dmt-gold); background: #15161c; border-radius: 5px; }
.dmt-editorial .dmt-brief p { margin-bottom: 14px; color: #e0ddd5; font-size: 1.03rem; line-height: 1.8; }
.dmt-brief a { font-size: .84rem; }
.dmt-evidence-map { margin: 50px 0; padding: 28px; border: 1px solid #544631; border-radius: 6px; background: radial-gradient(ellipse at top right, #8b6b2520, transparent 70%), #101218; }
.dmt-evidence-map > figcaption { color: #eee5d3; font: 500 1.7rem/1.3 'Cormorant Garamond', serif; margin-bottom: 24px; }
.dmt-editorial .dmt-evidence-map ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; }
.dmt-editorial .dmt-evidence-map li { margin: 0; padding: 0 18px; border-left: 1px solid #514630; }
.dmt-editorial .dmt-evidence-map li:first-child { border-left: 0; padding-left: 0; }
.dmt-editorial .dmt-evidence-map li:last-child { padding-right: 0; }
.dmt-step { display: block; color: var(--dmt-gold); font: .62rem/1.6 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.dmt-evidence-map strong { display: block; font-size: .91rem; line-height: 1.6; margin-bottom: 10px; color: #e3e0d9; }
.dmt-editorial .dmt-evidence-map li p { font-size: .85rem; line-height: 1.8; color: #b3b6c2; margin: 0; }
.dmt-editorial .dmt-figure-note { margin: 23px 0 0; padding-top: 17px; border-top: 1px solid #353039; color: #a5a6b2; font-size: .73rem; line-height: 1.7; }
.dmt-editorial .sources { padding: 28px; }
.dmt-editorial .sources ol { margin: 18px 0 0; }
.dmt-editorial .sources li { margin-bottom: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.dmt-editorial .related-art { display: block; width: 100%; height: auto; border-radius: 4px; margin-bottom: 16px; }
@media (max-width: 1050px) {
  .dmt-opening { display: flex; flex-direction: column; align-items: stretch; max-width: 880px; gap: 0; padding: 34px 24px 28px; }
  .dmt-opening .article-header, .dmt-opening .article-header .container { display: contents; }
  .dmt-opening .article-header .container > * { order: 4; }
  .dmt-opening .article-header .back-link { order: 0; }
  .dmt-opening .article-header .container > div:not([class]) { order: 1; }
  /* On smaller screens, the artwork introduces the title without cropping. */
  .dmt-opening .article-header h1 { font-size: clamp(2.65rem, 7vw, 4.5rem); max-width: 760px; }
  .dmt-opening .article-hero { max-width: none; order: 3; margin-bottom: 12px; }
}
@media (max-width: 580px) {
  .dmt-opening { padding: 26px 20px; }
  .dmt-opening .article-header h1 { font-size: 2.9rem; }
  .dmt-opening .dek { font-size: 1rem; }
  .dmt-opening .review-note { line-height: 1.8; }
  .dmt-editorial .article-content { padding: 25px 20px 45px; }
  .dmt-editorial .article-content > p { font-size: 1rem; line-height: 1.9; }
  .dmt-editorial .article-content > h2 { font-size: 2rem; }
  .dmt-evidence-map { padding: 23px; }
  .dmt-editorial .dmt-evidence-map ol { grid-template-columns: 1fr; gap: 20px; }
  .dmt-editorial .dmt-evidence-map li { padding: 20px 0 0; border-left: 0; border-top: 1px solid #514630; }
  .dmt-editorial .dmt-evidence-map li:first-child { padding-top: 0; border-top: 0; }
  .dmt-step { margin-bottom: 7px; }
}
