/* ==========================================================================
   Article pages — long-form photography stories in the site's editorial voice.
   Loaded after style.css.
   ========================================================================== */

.article-page {
  background: var(--bg);
}
.article-page .site-header {
  background: rgba(7, 8, 11, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.article-page .site-header.is-scrolled { background: rgba(7, 8, 11, 0.92); }

/* ── Opening spread ────────────────────────────────────────────────────── */
.article-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 82% 18%, rgba(200, 163, 106, 0.08), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(80, 110, 150, 0.05), transparent 70%);
  pointer-events: none;
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span[aria-current] { color: var(--fg-dim); }

.article-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.article-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.article-title {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.article-dek {
  max-width: 38ch;
  margin: 0 0 1.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 1.75vw, 1.42rem);
  line-height: 1.52;
  color: var(--fg-dim);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-meta span + span::before {
  content: "·";
  margin-right: 22px;
  color: var(--line-strong);
}

.article-hero-figure { margin: 0; }
.article-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: saturate(0.95) contrast(1.03);
}
.article-hero-figure.is-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.article-hero-figure.is-landscape img { aspect-ratio: 4 / 3; object-fit: cover; }
.article-hero-figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--muted);
}
.article-hero-figure figcaption::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 1px;
  margin-top: 0.6em;
  background: var(--gold);
}

/* ── Body + notes ──────────────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 700px);
  gap: clamp(32px, 6vw, 76px);
  justify-content: center;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}

.article-notes {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.notes-title {
  margin: 0 0 16px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.article-notes dl { margin: 0; }
.article-notes dl > div {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.article-notes dt {
  margin-bottom: 3px;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-notes dd {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fg-dim);
}
.notes-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.notes-back:hover { color: var(--gold-2); }

.article-body {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.88;
  color: #d2ccbe;
}
.article-body p { margin: 0 0 1.55em; }
.article-body .lead {
  font-size: 1.22rem;
  line-height: 1.8;
  color: var(--fg);
}
.article-body .lead::first-letter {
  float: left;
  padding: 0.06em 0.12em 0 0;
  font-family: var(--serif);
  font-size: 3.7em;
  line-height: 0.82;
  color: var(--gold);
}
.article-body h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.6vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.article-body blockquote {
  margin: 2.1em 0;
  padding: 0.15em 0 0.15em 1.4em;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.32rem, 2.2vw, 1.62rem);
  line-height: 1.42;
  color: var(--fg);
}
.article-body blockquote p { margin: 0; }
.article-body a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 163, 106, 0.4);
}

.article-figure { margin: 2.4em 0; }
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #05070a;
}
.article-figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--muted);
}
.article-figure figcaption::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 1px;
  margin-top: 0.6em;
  background: var(--gold);
}


/* ── Plate galleries — every photograph from the dispatch ─────────────── */
.photo-gallery {
  columns: 2;
  column-gap: 12px;
  margin: 2.3em 0 0.75em;
}
.photo-gallery figure {
  break-inside: avoid;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  background: #05070a;
  overflow: hidden;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.4s ease;
}
.photo-gallery figure:hover img {
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.03);
}
.photo-gallery.is-single { columns: 1; }
.gallery-caption {
  margin: 0 0 2.4em;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-body h2 + .photo-gallery { margin-top: 1.8em; }

@media (max-width: 520px) {
  .photo-gallery { columns: 2; column-gap: 8px; }
  .photo-gallery figure { margin-bottom: 8px; }
}

/* ── Article footer ───────────────────────────────────────────────────── */
.article-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 clamp(48px, 7vw, 76px);
}
.article-end {
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--gold);
}
.article-source {
  max-width: 62ch;
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.article-source a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-source a:hover { text-decoration-color: var(--gold); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article-nav-link {
  max-width: 47%;
  color: inherit;
  text-decoration: none;
}
.article-nav-link span {
  display: block;
  margin-bottom: 8px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-nav-link strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.32;
  color: var(--fg);
  transition: color 0.3s ease;
}
.article-nav-link:hover strong { color: var(--gold-2); }
.article-nav-link.next { margin-left: auto; text-align: right; }

/* ── Related ──────────────────────────────────────────────────────────── */
.related-band {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--bg-alt);
}
.related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.related-head h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.related-head .section-label { padding-top: 0; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card { color: inherit; text-decoration: none; }
.related-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05070a;
}
.related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}
.related-card:hover .related-media img {
  transform: scale(1.05);
  filter: saturate(1.02) brightness(1);
}
.related-meta {
  margin: 14px 0 6px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.related-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.28;
  transition: color 0.3s ease;
}
.related-card:hover h3 { color: var(--gold-2); }

/* ── Newsletter CTA ───────────────────────────────────────────────────── */
.article-cta-band {
  border-top: 1px solid var(--line);
  padding: clamp(54px, 7vw, 88px) 0;
  background:
    radial-gradient(70% 120% at 20% 0%, rgba(200, 163, 106, 0.07), transparent 60%),
    #090b0f;
}
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.article-cta h2 {
  margin: 10px 0 0.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}
.article-cta p {
  max-width: 46ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .article-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .article-hero-figure { max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-notes {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
    border-top: 0;
    padding-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .notes-title { grid-column: 1 / -1; margin-bottom: 4px; }
  .notes-back { grid-column: 1 / -1; margin-top: 14px; }
}

@media (max-width: 760px) {
  .article-title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .article-dek { font-size: 1.1rem; }
  .article-body { font-size: 1.06rem; line-height: 1.82; }
  .article-body .lead { font-size: 1.14rem; }
  .article-hero-figure img { aspect-ratio: 4 / 3; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
  .related-media { aspect-ratio: 1 / 1; }
  .related-meta { margin-top: 0; }
  .article-cta { flex-direction: column; align-items: flex-start; gap: 26px; }
  .article-nav { flex-direction: column; gap: 22px; }
  .article-nav-link { max-width: 100%; }
  .article-nav-link.next { margin-left: 0; text-align: left; }
}

@media (max-width: 520px) {
  .article-meta span + span::before { display: none; }
  .article-notes { grid-template-columns: 1fr; }
  .article-cta-actions .btn { width: 100%; }
}