/* ──────────────────────────────────────────────────────
   Article reading layout
   ────────────────────────────────────────────────────── */

.article-hero{
  background: var(--shell); color: var(--navy);
  padding: 200px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.article-hero .back{
  font-family: var(--sans); font-weight: 300;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 64px;
}
.article-hero .back::before{ content: "←"; font-size: 14px; transition: transform 240ms; }
.article-hero .back:hover::before{ transform: translateX(-3px); }
.article-hero .meta{
  font-family: var(--sans); font-weight: 300;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(26,39,68,0.5);
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 28px;
}
.article-hero .meta .sep{ color: rgba(26,39,68,0.3); }
.article-hero h1{
  font-family: var(--serif); font-weight: 200;
  font-size: 64px; line-height: 1.08; letter-spacing: -0.022em;
  color: var(--navy);
  max-width: 760px;
}
.article-hero h1 em{ font-style: italic; color: var(--terracotta); }
.article-hero .deck{
  margin-top: 28px;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 22px; line-height: 1.45;
  color: rgba(26,39,68,0.65);
  max-width: 720px;
}

.article-body-wrap{
  background: var(--shell);
  padding: 70px 0 140px;
}

/* Reuse .article-body from shared.css; just constrain width */
.article-body-wrap .wrap{ max-width: 720px; }

.article-footer{
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-weight: 300;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(26,39,68,0.5);
}
.article-footer a{
  color: var(--terracotta); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.article-footer a::after{ content: "→"; font-size: 13px; transition: transform 240ms; }
.article-footer a:hover::after{ transform: translateX(4px); }

.article-byline{
  display: flex; gap: 12px; align-items: center;
  margin-top: 36px;
}
.article-byline .ab-mark{
  width: 36px; height: 36px;
  background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 18px;
}
.article-byline .ab-text{
  font-family: var(--sans); font-weight: 300;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(26,39,68,0.55);
}
.article-byline .ab-text strong{
  color: var(--navy); font-weight: 300;
}

.article-body strong{
  font-weight: 400; color: var(--navy);
}
.article-body figure{
  margin: 52px 0;
}
.article-body figure img{
  display: block; width: 100%; height: auto;
}

/* ── Click-to-zoom ────────────────────────────── */
.article-body figure.zoomable{
  cursor: zoom-in; position: relative;
}
.article-body figure.zoomable img,
.article-body figure.zoomable svg{
  transition: opacity 160ms ease;
}
.article-body figure.zoomable:hover img,
.article-body figure.zoomable:hover svg{ opacity: 0.88; }
.article-body figure.zoomable:focus-visible{
  outline: 1.5px solid var(--navy); outline-offset: 6px;
}
.np-zoom-hint{
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--body); font-size: 15px; line-height: 1;
  color: var(--navy); background: rgba(249,246,241,0.92);
  border: 1px solid rgba(26,39,68,0.18); border-radius: 50%;
  opacity: 0; transition: opacity 160ms ease;
  pointer-events: none;
}
.article-body figure.zoomable:hover .np-zoom-hint,
.article-body figure.zoomable:focus-visible .np-zoom-hint{ opacity: 1; }

.np-zoom-overlay[hidden]{ display: none !important; }
.np-zoom-overlay{
  position: fixed; inset: 0; z-index: 400;
  background: rgba(26,39,68,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 180ms ease;
  cursor: zoom-out;
}
.np-zoom-overlay.open{ opacity: 1; }
.np-zoom-panel{
  background: #F9F6F1; padding: clamp(16px, 3vw, 36px);
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.96);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.np-zoom-overlay.open .np-zoom-panel{ transform: none; }
.np-zoom-panel img{
  display: block; max-width: calc(90vw - 72px); max-height: calc(90vh - 72px);
  width: auto; height: auto;
}
.np-zoom-panel svg{
  display: block; width: min(1200px, calc(90vw - 72px));
  max-height: calc(90vh - 72px); height: auto;
}
/* Dense graphics: render past the viewport and pan within the overlay. */
.np-zoom-overlay.np-zoom--pan{
  display: block; overflow: auto;
}
.np-zoom-overlay.np-zoom--pan .np-zoom-panel{
  margin: 5vh auto; width: max-content; max-width: none; max-height: none;
}
.np-zoom-overlay.np-zoom--pan .np-zoom-panel img{
  max-width: none; max-height: none;
}
.np-zoom-close{
  position: fixed; top: 22px; right: 26px; z-index: 1;
  width: 44px; height: 44px;
  font-family: var(--body); font-weight: 200; font-size: 30px; line-height: 1;
  color: #F9F6F1; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.np-zoom-close:focus-visible{
  outline: 1.5px solid #F9F6F1; outline-offset: 3px; border-radius: 50%;
}
@media (prefers-reduced-motion: reduce){
  .np-zoom-overlay, .np-zoom-panel,
  .article-body figure.zoomable img,
  .article-body figure.zoomable svg,
  .np-zoom-hint{ transition: none; }
}
@media (min-width: 1120px){
  .article-body figure.breakout{
    width: 960px;
    margin-left: -120px;
  }
}

.related{
  background: var(--white);
  padding: 110px 0 130px;
}
.related .head .eyebrow{ margin-bottom: 18px; }
.related .head h2{
  font-family: var(--serif); font-weight: 300;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 48px;
}
.related .grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.related a{
  background: var(--shell);
  padding: 40px 36px;
  text-decoration: none; color: var(--navy);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.related a:hover{ background: var(--white); border-color: rgba(26,39,68,0.18); }
.related .rmeta{
  font-family: var(--sans); font-weight: 300;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--terracotta);
}
.related .rt{
  font-family: var(--serif); font-weight: 300;
  font-size: 22px; line-height: 1.2; color: var(--navy);
}

body .site-nav:not(.scrolled){ background: var(--navy); padding: 18px 64px; border-bottom-color: rgba(255,255,255,0.06); }

@media (max-width: 960px){
  .article-hero{ padding: 130px 0 56px; }
  .article-hero h1{ font-size: 36px; }
  .article-hero .deck{ font-size: 17px; }
  .article-body-wrap{ padding: 56px 0 90px; }
  .related{ padding: 70px 0 90px; }
  .related .grid{ grid-template-columns: 1fr; }
  .article-footer{ flex-direction: column; gap: 24px; align-items: flex-start; }
}
