/* Self-hosted variable fonts: one file per family, style and subset; the
   weight range covers every weight the site uses. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/playfair-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/playfair-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/playfair-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/playfair-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks: local Georgia/Arial resized to the web fonts' average
   glyph width and vertical metrics, so text barely moves when the fonts arrive.
   Values computed from the font files (letter-frequency-weighted advance widths). */
@font-face {
  font-family: 'Playfair Display Fallback';
  src: local('Georgia');
  size-adjust: 104.43%;
  ascent-override: 103.61%;
  descent-override: 24.03%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Source Serif 4 Fallback';
  src: local('Georgia');
  size-adjust: 108.34%;
  ascent-override: 95.63%;
  descent-override: 30.92%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.30%;
  ascent-override: 90.28%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* ==========================================================================
   Lag Boheme Quarterly — Design System
   Inspired by LRB, NYRB, The New Yorker
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --color-bg: #FAF8F5;
  --color-bg-alt: #F2EFEA;
  --color-text: #2D2A26;
  --color-text-light: #6B6560;
  --color-navy: #1A2744;
  --color-ochre: #8B6914;
  --color-border: #D4CFC7;
  --color-border-light: #E8E4DE;
  --color-white: #FFFFFF;
  --color-ochre-light: #D4A84B;   /* ochre that passes contrast on navy */
  --color-input-border: #8C857D;  /* ≥3:1 against white and bg-alt */

  /* Typography Scale */
  --font-display: 'Playfair Display', 'Playfair Display Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Serif 4', 'Source Serif 4 Fallback', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.5rem;
  --text-5xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --content-width: 680px;
  --breakout-width: 900px;
  --wide-width: 1100px;    /* wide images and galleries */
  --page-width: 1200px;
  /* Space above page headers so they clear the fixed nav */
  --nav-offset: calc(var(--nav-height) + var(--space-4xl));
  --nav-height: 72px;
  --gutter: var(--space-md);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-padding-top: calc(var(--nav-height) + var(--space-md));
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Links inside running text are underlined so they don't rely on colour alone. */
.article-body p a,
.article-body li a,
.article-body figcaption a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-ochre);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--page-width);
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-name a {
  color: inherit;
}

.site-name a:hover {
  color: var(--color-ochre);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-navy);
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}




/* --- Hero Section --- */
.hero {
  padding-top: var(--nav-offset);
  padding-bottom: var(--space-4xl);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ochre);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
  font-style: italic;
}

.hero-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

.hero-quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ochre);
  margin-top: var(--space-md);
}


/* --- Section Divider --- */
.section-divider {
  text-align: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.section-divider h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.section-divider p {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Featured Articles Grid --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

.article-card {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-xl);
}

.article-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  background-image: linear-gradient(135deg, var(--color-bg-alt) 0%, #E8E4DE 100%);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  position: relative;
}

.article-card-image img[src]  {
  position: relative;
  z-index: 1;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ochre);
  margin-bottom: var(--space-sm);
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.article-card h3 a {
  color: inherit;
}

.article-card h3 a:hover {
  color: var(--color-ochre);
}

.article-card-author {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.article-card-excerpt {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

/* --- Section Preview Bands --- */
.section-band {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.section-band-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.section-band-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
}

.section-band-header a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-ochre);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-band-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.section-band-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.section-band-item-image {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 1;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

.section-band-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-band-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.section-band-item h3 a {
  color: inherit;
}

.section-band-item h3 a:hover {
  color: var(--color-ochre);
}

.section-band-item p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.5;
}

/* --- Sidebar / Interstitial (Trees piece) --- */
.interstitial {
  background-color: var(--color-bg-alt);
  border-top: 3px solid var(--color-ochre);
  padding: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

.interstitial h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.interstitial .interstitial-author {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.interstitial p {
  font-size: var(--text-base);
  line-height: 1.6;
}

/* --- Article Page --- */
.article-header {
  text-align: center;
  padding-top: var(--nav-offset);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-3xl);
}

.article-section-tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ochre);
  margin-bottom: var(--space-lg);
}

.article-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  max-width: var(--breakout-width);
  margin: 0 auto var(--space-lg);
}

.article-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.5;
}

.article-meta {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.article-meta .author {
  font-weight: 600;
  color: var(--color-text);
}

/* --- Article Body --- */
.article-body,
.article-share,
.author-bio,
.article-nav,
.comments .container {
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.article-body {
  padding-bottom: var(--space-2xl);
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

/* Drop Cap */
.drop-cap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.5em;
  line-height: 0.8;
  padding-right: 0.08em;
  margin-top: 0.05em;
  color: var(--color-navy);
  font-weight: 700;
}

/* Pull Quote */
.pull-quote {
  border-left: 3px solid var(--color-ochre);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
}

.pull-quote blockquote {
  margin: 0;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-light);
  margin-top: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Breakout Images */
.image-breakout {
  max-width: var(--breakout-width);
  margin: var(--space-2xl) auto;
}

.image-breakout img {
  width: 100%;
  border: 1px solid var(--color-border-light);
}

.image-breakout figcaption {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-md);
  line-height: 1.5;
  padding: 0 var(--space-md);
}


/* Art Provenance Block (inside the figcaption, full width of the figure) */
.image-breakout figcaption .provenance {
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
}

/* Art Provenance Block */
.provenance {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.provenance dt {
  font-weight: 600;
  color: var(--color-navy);
  display: inline;
}

.provenance dd {
  display: inline;
  margin-left: 0;
  color: var(--color-text-light);
}

.provenance dd::after {
  content: '';
  display: block;
  margin-bottom: var(--space-xs);
}

/* Image sizes (an image block's Size) and galleries. Wide images and galleries
   break out of the text column, centred on it; full-width images run edge to
   edge; small images sit beside the text. */
.image-wide,
.image-full,
.gallery {
  --bleed: min(var(--wide-width), calc(100vw - 2 * var(--gutter)));
  width: var(--bleed);
  max-width: none;
  margin-left: calc(50% - var(--bleed) / 2);
  margin-right: 0;
}

.image-full {
  --bleed: 100vw;
}

/* 100vw includes the scrollbar, so keep full-width images from scrolling sideways. */
body:has(.image-full) {
  overflow-x: clip;
}

.image-full img {
  border: 0;
}

/* Keep tall (portrait) pictures within the screen instead of cropping them. */
.image-wide img,
.image-full img {
  max-height: 90vh;
  object-fit: contain;
}

.image-wide figcaption,
.image-full figcaption {
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}

.image-small {
  float: right;
  width: 42%;
  max-width: none;
  margin: var(--space-xs) 0 var(--space-lg) var(--space-xl);
}

.image-small figcaption {
  padding: 0;
}

/* A small image near the end mustn't hang below the article. */
.article-body::after {
  content: "";
  display: block;
  clear: both;
}

.article-body h2,
.article-body h3,
.pull-quote,
.image-breakout:not(.image-small),
.gallery {
  clear: both;
}

.gallery {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.gallery-2 .gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery img {
  width: 100%;
  border: 1px solid var(--color-border-light);
}

.gallery figcaption {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.gallery .gallery-caption {
  max-width: var(--content-width);
  margin: var(--space-md) auto 0;
}

@media (max-width: 768px) {
  .image-breakout.image-wide,
  .image-breakout.image-full,
  .image-breakout.image-small {
    float: none;
    width: auto;
    margin: var(--space-2xl) calc(-1 * var(--gutter));
  }

  .gallery {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .gallery-3 .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid,
  .gallery-2 .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Unpublished articles: only reachable at their own address, for checking. */
.draft-banner {
  background-color: var(--color-ochre);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-sm) var(--gutter);
}

/* --- 404 --- */
.not-found-body {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.not-found-body p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}

/* Source line closing a reprinted text */
.source-note {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--color-border);
  font-style: italic;
  text-align: center;
}

/* --- Section Index Pages --- */
.section-header {
  text-align: center;
  padding-top: var(--nav-offset);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.section-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-light);
  font-style: italic;
}

.article-list {
  padding: var(--space-3xl) 0;
}

.article-list-item {
  display: flex;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.article-list-item:first-child {
  padding-top: 0;
}

.article-list-item-image {
  width: 200px;
  min-width: 200px;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

.article-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-list-item-content h2,
.article-list-item-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.article-list-item-content h2 a,
.article-list-item-content h3 a {
  color: inherit;
}

.article-list-item-content h2 a:hover,
.article-list-item-content h3 a:hover {
  color: var(--color-ochre);
}

.article-list-item-content .article-card-author {
  margin-bottom: var(--space-md);
}

.article-list-item-content p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-bg);
  padding: var(--space-4xl) 0;
  margin-top: var(--space-4xl);
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-about h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-bg);
  margin-bottom: var(--space-md);
}

.footer-about p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.7);
  line-height: 1.6;
}

.footer-nav h2,
.footer-connect h2 {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ochre-light);
  margin-bottom: var(--space-lg);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-sm);
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.7);
}

.footer-nav a:hover {
  color: var(--color-bg);
}

.footer-connect a {
  color: rgba(250, 248, 245, 0.7);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

.footer-connect a:hover {
  color: var(--color-bg);
}

.footer-connect ul {
  list-style: none;
}

.footer-connect li {
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  max-width: var(--page-width);
  margin: var(--space-3xl) auto 0;
  padding: var(--space-xl) var(--space-xl) 0;
  border-top: 1px solid rgba(250, 248, 245, 0.15);
  text-align: center;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: rgba(250, 248, 245, 0.5);
  letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .section-band-list {
    grid-template-columns: 1fr;
  }

  .article-list-item {
    flex-direction: column;
  }

  .article-list-item-image {
    width: 100%;
    min-width: unset;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .container {
    padding: 0 var(--space-md);
  }

  .image-breakout {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 2rem;
    --nav-height: 60px;
  }

  .section-band-item {
    flex-direction: column;
  }

  .section-band-item-image {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16 / 9;
  }
}

/* --- Article Share --- */
.article-share {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

.article-share a,
.article-share button {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 2.5rem;
  margin: 0;
  line-height: 1.2;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-text-light);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-share a:hover,
.article-share button:hover {
  color: var(--color-navy);
  border-color: var(--color-navy);
}

/* --- Article Navigation --- */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

.article-nav a {
  display: grid;
  gap: var(--space-xs);
  max-width: 48%;
  color: var(--color-navy);
  transition: color 0.2s ease;
}

.article-nav a:hover {
  color: var(--color-ochre);
}

.article-nav .nav-next {
  text-align: right;
  margin-left: auto;
}

.article-nav .nav-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text-light);
}

.article-nav .nav-prev .nav-label::before {
  content: '\2190\00a0';
}

.article-nav .nav-next .nav-label::after {
  content: '\00a0\2192';
}

.article-nav .nav-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}

/* --- Author bio --- */
.author-bio {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.author-bio p {
  margin: 0;
}

.author-bio a {
  color: var(--color-navy);
  font-weight: 600;
}

/* --- Related articles --- */
.related {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl) var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.related h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-xl);
}

.related-item-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-md);
}

.related-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.3;
  color: var(--color-navy);
}

.related-item h3 a {
  color: inherit;
}

.related-item h3 a:hover {
  color: var(--color-ochre);
}

/* Responsive images are wrapped in <picture>; let the <img> lay out as if it
   were the direct child, so sizing rules on card and figure images still apply. */
picture {
  display: contents;
}

/* --- Visually hidden (still read by screen readers) --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 200;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

/* --- Newsletter --- */
.newsletter {
  background-color: var(--color-bg-alt);
  border-top: 3px solid var(--color-ochre);
  padding: var(--space-2xl);
  margin: var(--space-3xl) auto;
  max-width: var(--breakout-width);
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.newsletter p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.newsletter-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.newsletter-form input[type="email"] {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-input-border);
  border-radius: 4px;
  background-color: var(--color-white);
  color: var(--color-text);
  min-width: min(260px, 100%);
}

.newsletter-form button {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: 4px;
  background-color: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
  background-color: var(--color-ochre);
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

/* The footer is navy, so its focus ring is cream. */
.site-footer :focus-visible {
  outline-color: var(--color-bg);
}

.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

/* --- Selection Styling --- */
::selection {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* --- Hamburger Animation --- */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Print Stylesheet --- */
@media print {
  .site-nav,
  .site-footer,
  .nav-toggle,
  .article-nav {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    line-height: 1.5;
  }

  .article-body,
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .article-header {
    padding-top: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
    color: #000;
  }

  .pull-quote {
    border-left-color: #000;
    color: #000;
  }
}

/* ===================================================================
   Comments
   =================================================================== */

.comments {
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-4xl);
  background-color: var(--color-bg-alt);
}



.comments-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-xl);
}

.comment-list {
  list-style: none;
  margin: 0 0 var(--space-2xl);
  padding: 0;
}

.comment {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.comment:first-child {
  padding-top: 0;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}

.comment-author {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-navy);
}

.comment-date {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.comment-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 0;
  color: var(--color-text);
}

.comment-empty {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  padding: var(--space-md) 0;
}

.comment-more {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-xl);
  cursor: pointer;
}

/* --- Comment form --- */
.comment-form {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

.comment-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-lg);
}

.form-row {
  margin-bottom: var(--space-lg);
}

.form-row label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-input-border);
  border-radius: 3px;
  padding: var(--space-sm) var(--space-md);
}

.comment-form [aria-invalid="true"] {
  border-color: #A3352B;
  border-width: 2px;
}

.field-error {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: #A3352B;
  margin: var(--space-xs) 0 0;
}

.form-row .optional-note {
  font-weight: 400;
  color: var(--color-text-light);
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 1px;
  border-color: var(--color-navy);
}

.comment-form textarea {
  resize: vertical;
  min-height: 6rem;
}

/* Honeypot: kept in the DOM for bots, removed from view for humans. The `hidden`
   attribute already hides it via the UA stylesheet; this reinforces that. */
.form-hp {
  display: none;
}

.cf-turnstile {
  margin-bottom: var(--space-lg);
}

.comment-note {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin: 0 0 var(--space-md);
}

.comment-note a {
  color: inherit;
  text-decoration: underline;
}

.comment-submit {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-navy);
  border: none;
  border-radius: 3px;
  padding: var(--space-sm) var(--space-xl);
  cursor: pointer;
}

.comment-submit:hover {
  background-color: var(--color-ochre);
}

.comment-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.comment-status {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin: var(--space-md) 0 0;
  min-height: 1.25rem;
}


/* ===================================================================
   Breadcrumb (article header)
   =================================================================== */
.breadcrumb {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-sm);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ochre);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--space-sm);
  color: var(--color-border);
}

.breadcrumb a {
  color: inherit;
}

.breadcrumb a:hover {
  color: var(--color-navy);
}

/* ===================================================================
   Homepage: masthead and lead story
   =================================================================== */
.masthead {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.masthead .hero-eyebrow {
  margin-bottom: var(--space-sm);
}

.masthead-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  margin: 0 0 var(--space-sm);
}

.masthead-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text-light);
  margin: 0;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.lead-image {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lead-image:hover img {
  transform: scale(1.02);
}

.lead-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  margin: var(--space-sm) 0 var(--space-md);
  text-wrap: balance;
}

.lead-title a {
  color: inherit;
}

.lead-title a:hover {
  color: var(--color-ochre);
}

.lead-dek {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.epigraph {
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--space-3xl) var(--gutter);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.epigraph blockquote {
  margin: 0;
}

@media (max-width: 768px) {
  .lead-story {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .lead-image {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-image img,
  .lead-image:hover img {
    transition: none;
    transform: none;
  }
}

/* ===================================================================
   Endnotes and further reading (inside .article-body)
   =================================================================== */
.endnotes {
  margin-top: var(--space-3xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-light);
}

.endnotes h2 {
  font-size: var(--text-lg);
  margin-top: 0;
}

.endnotes ol,
.endnotes ul {
  padding-left: 1.25rem;
}

.endnotes li {
  margin-bottom: var(--space-sm);
}

.article-body sup a {
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.75em;
  padding: 0 0.1em;
}
