/*
 * Ledger Design Lock v1 — shared Journal article foundation.
 * Article copy and images may change; this layout must not be copied or
 * overridden inside an individual editorial.
 */
@font-face { font-family: "Latin Modern"; src: url("/journal/assets/latin-modern-roman-regular.otf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Latin Modern"; src: url("/journal/assets/latin-modern-roman-bold.otf") format("opentype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Latin Modern"; src: url("/journal/assets/latin-modern-roman-italic.otf") format("opentype"); font-style: italic; font-weight: 400; font-display: swap; }

:root { --ink: #211a16; --muted: #665b53; --line: #d8d1ca; --rust: #ad4c28; color: var(--ink); background: #fff; font-family: "Latin Modern", "Computer Modern", serif; }
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #fff; }
a { color: inherit; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2200; padding: 10px 14px; border: 2px solid var(--rust); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-180%); }
.skip-link:focus-visible { transform: translateY(0); }

.site-header, .site-footer { width: min(100% - 64px, 1180px); margin-inline: auto; }
.site-header { display: flex; min-height: 105px; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand-link img { display: block; width: 162px; height: auto; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a, .meta, .footer-note { font-size: .75rem; font-weight: 700; letter-spacing: .1em; line-height: 1.15; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav .current, .meta, .article-body a { color: var(--rust); }

.article-shell { width: min(100% - 64px, 1020px); margin-inline: auto; padding: 88px 0 120px; }
.article-heading { margin: 0 auto 54px; }
.article-heading > * { margin-top: 0; }
.meta { margin-bottom: 18px; }
h1 { max-width: 980px; margin: 0 0 28px; font-size: clamp(3.2rem, 8vw, 7.25rem); font-weight: 400; letter-spacing: -.058em; line-height: .88; }
.deck { max-width: 840px; margin-bottom: 0; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.42; }
.byline { margin: 19px 0 0; color: var(--muted); font-size: .95rem; font-style: italic; }
.article-hero { width: min(100vw - 64px, 1020px); margin: 0 auto; }
.article-hero > a, .article-image > a { display: block; background: #f4efe8; box-shadow: 0 10px 30px rgba(33, 26, 22, .08); }
.article-hero img, .article-image img { display: block; width: 100%; max-height: 760px; height: auto; object-fit: contain; }
.article-hero figcaption, .article-image figcaption { margin-top: 10px; color: var(--muted); font-size: .84rem; font-style: italic; letter-spacing: .015em; line-height: 1.45; }
.full-size { white-space: nowrap; }
.editorial-divider { display: flex; align-items: center; gap: 18px; width: min(100%, 760px); margin: 70px auto 46px; color: var(--rust); }
.editorial-divider::before, .editorial-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.editorial-divider span { font-size: .72rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(190px, 245px); gap: clamp(42px, 8vw, 110px); max-width: 1020px; margin-inline: auto; }
.article-body { min-width: 0; font-size: 1.23rem; line-height: 1.7; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 { margin: 2.45em 0 .75em; font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.article-body a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.article-body a.evidence-text-link,
.article-body a.evidence-text-link:visited {
  color: inherit;
  cursor: zoom-in;
  font-weight: inherit;
  text-decoration-color: rgba(173, 76, 40, .68);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.article-body a.evidence-text-link:hover,
.article-body a.evidence-text-link:focus-visible {
  color: inherit;
  text-decoration-style: solid;
}

.article-body a.evidence-text-link:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
/* Standard figures follow the readable column. A wider treatment requires an
   explicit class; hero figures keep their intentional wider treatment. */
.article-image { width: 100%; margin: 2.65em 0; }
.article-image--full-bleed { width: min(100vw - 64px, 960px); margin-inline: 50%; transform: translateX(-50%); }
.article-facts { align-self: start; padding: 20px 0; border-top: 2px solid var(--rust); border-bottom: 1px solid var(--line); }
.article-facts h2 { margin: 0 0 9px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-facts dl { margin: 18px 0 0; }
.article-facts dt { margin-top: 17px; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-facts dd { margin: 4px 0 0; font-size: 1rem; line-height: 1.35; }
.research-note { margin: 2.25em 0; padding: 25px 27px; border-top: 1px solid var(--rust); border-bottom: 1px solid var(--rust); background: #fcfaf7; }
.research-note p:last-child { margin-bottom: 0; }
.research-note strong { color: var(--rust); }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; max-width: 760px; margin: 58px auto -38px; }
.share-label { display: inline-flex; align-items: center; min-height: 34px; margin: 0 8px 0 0; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.share-row a, .share-row button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--muted); font: inherit; font-size: .78rem; line-height: 1; text-decoration: none; cursor: pointer; }
.share-row a:hover, .share-row a:focus-visible, .share-row button:hover, .share-row button:focus-visible { border-color: var(--rust); color: var(--rust); outline: none; }

.site-footer { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--rust); font-size: .87rem; font-weight: 700; text-decoration: none; }
.article-footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; }
.article-footer-nav a { letter-spacing: .1em; text-transform: uppercase; }
.article-footer-nav .recommended-read { gap: .35em; }
.article-footer-nav .recommended-read span { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
:focus-visible { outline: 3px solid rgba(173, 76, 40, .45); outline-offset: 4px; }

@media (max-width: 760px) {
  .site-header, .site-footer, .article-shell { width: min(100% - 40px, 1020px); }
  .site-header { min-height: 88px; gap: 18px; }
  .brand-link img { width: 130px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: .64rem; letter-spacing: .07em; }
  .article-shell { padding: 60px 0 80px; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-facts { max-width: none; order: -1; }
  .article-body { font-size: 1.14rem; }
  .article-hero, .article-image--full-bleed { width: min(100vw - 24px, 960px); }
  .site-footer { min-height: auto; flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; gap: 4px; }
  .article-footer-nav { width: 100%; align-items: flex-start; flex-direction: column; gap: 0; }
  .article-footer-nav .recommended-read { align-items: baseline; flex-wrap: wrap; min-height: 44px; }
}

@media (max-width: 470px) {
  .site-header { align-items: flex-start; min-height: 155px; padding-block: 12px; }
  .site-header nav { flex: 1 1 auto; flex-direction: column; align-items: flex-end; gap: 0; text-align: right; }
  .site-header nav a { justify-content: flex-end; min-height: 44px; white-space: nowrap; }
  h1 { font-size: clamp(3rem, 14.2vw, 3.8rem); line-height: .92; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
