/* =========================================================
   WMRN Radio History Archive — Main Stylesheet
   ========================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables (Design Tokens) ── */
:root {
  --background: hsl(38, 30%, 95%);
  --foreground: hsl(216, 35%, 15%);

  --card: hsl(38, 28%, 93%);
  --card-foreground: hsl(216, 35%, 15%);

  --primary: hsl(216, 45%, 18%);
  --primary-foreground: hsl(40, 30%, 95%);

  --secondary: hsl(37, 22%, 89%);
  --secondary-foreground: hsl(216, 35%, 15%);

  --muted: hsl(37, 18%, 88%);
  --muted-foreground: hsl(216, 15%, 45%);

  --accent: hsl(5, 65%, 48%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 84.2%, 60.2%);
  --border: hsl(36, 18%, 80%);
  --input: hsl(36, 18%, 80%);
  --ring: hsl(5, 65%, 48%);

  --radius: 0.5rem;

  --navy: hsl(216, 45%, 18%);
  --navy-foreground: hsl(40, 30%, 95%);
  --navy-light: hsl(216, 35%, 24%);
  --section-grey: hsl(38, 22%, 91%);
  --gold: hsl(40, 70%, 50%);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Scanlines overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(120,100,70,0.15) 49.8%, rgba(120,100,70,0.15) 50.2%, transparent 50.2%),
    linear-gradient(0deg, transparent 98%, rgba(120,100,70,0.08) 98%, rgba(120,100,70,0.08) 98.5%, transparent 98.5%);
  background-size: 300px 100%, 100% 400px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ── Layout ── */
.wmrn-container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.wmrn-container-prose {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
}

/* ── Vintage Vignette ── */
.vintage-vignette::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(26, 35, 55, 0.08) 100%);
}

/* ── Ornament Divider ── */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.ornament-divider::after {
  background: linear-gradient(to left, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.ornament-divider svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
}

/* Footer ornament divider variant */
.ornament-divider-footer::before {
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.2) 70%, transparent);
}
.ornament-divider-footer::after {
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.2) 70%, transparent);
}

/* ── Double Rule ── */
.double-rule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 1rem 0;
}
.double-rule-line-1 {
  width: 100%;
  max-width: 200px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.double-rule-line-2 {
  width: 100%;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── Corner Flourishes ── */
.corner-flourish {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0.25;
  pointer-events: none;
}
.corner-flourish.top-left     { top: 8px; left: 8px; }
.corner-flourish.top-right    { top: 8px; right: 8px; transform: scaleX(-1); }
.corner-flourish.bottom-left  { bottom: 8px; left: 8px; transform: scaleY(-1); }
.corner-flourish.bottom-right { bottom: 8px; right: 8px; transform: scale(-1); }
.corner-flourish-sm { width: 40px; height: 40px; }
.corner-flourish-sm svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--primary-foreground); }

/* ── Aged Card ── */
.aged-card {
  box-shadow:
    inset 0 0 20px rgba(26, 35, 55, 0.04),
    inset 0 0 3px rgba(26, 35, 55, 0.06);
}

/* ── Section Grey ── */
.bg-section-grey {
  background-color: var(--section-grey);
}

/* ── Section Fade Edge ── */
.section-fade-edge {
  position: relative;
}
.section-fade-edge::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, var(--background), transparent);
}
.section-fade-edge::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ── Stamp Border ── */
.stamp-border {
  border: 2px dashed rgba(188, 60, 45, 0.35);
  border-radius: 2px;
  padding: 2px 8px;
}

/* ── Utility Classes ── */
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary-foreground { color: var(--primary-foreground); }
.bg-primary { background-color: var(--primary); }
.bg-card { background-color: var(--card); }
.bg-muted { background-color: var(--muted); }
.bg-background { background-color: var(--background); }
.border-border { border: 1px solid var(--border); }

/* ── Typography Sizes ── */
.text-xs  { font-size: 0.75rem; line-height: 1rem; }
.text-sm  { font-size: 0.875rem; line-height: 1.25rem; }
.text-base{ font-size: 1rem; line-height: 1.5rem; }
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-widest { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }

/* ── Site Header ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}
#site-header.scrolled {
  background-color: var(--primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo img {
  height: 3.15rem;
  width: 3.15rem;
  object-fit: contain;
}
.header-logo-text {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary-foreground);
  display: none;
}
@media (min-width: 640px) {
  .header-logo-text { display: block; }
}
.header-nav {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1024px) {
  .header-nav { display: flex; }
}
.nav-item-btn,
.nav-item-link {
  padding: 6px 12px;
  font-size: 0.875rem;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  color: rgba(245, 235, 215, 0.8);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.nav-item-btn:hover,
.nav-item-link:hover {
  color: var(--accent);
  background: rgba(245, 235, 215, 0.1);
}
.nav-item-btn.active,
.nav-item-link.active {
  color: var(--primary-foreground);
  background: rgba(245, 235, 215, 0.15);
  font-weight: 500;
}
.nav-item-btn .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.nav-item-btn.open .chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 4px;
  z-index: 50;
  display: none;
}
.nav-dropdown.open {
  display: block;
}
.nav-dropdown-inner {
  background-color: var(--primary);
  border: 1px solid rgba(245, 235, 215, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  padding: 6px 0;
  min-width: 200px;
}
.nav-dropdown-inner a {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.8);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-dropdown-inner a:hover {
  color: var(--accent);
  background: rgba(245, 235, 215, 0.1);
}
.nav-dropdown-inner a.active {
  color: var(--accent);
  font-weight: 500;
  background: rgba(245, 235, 215, 0.1);
}
.nav-group-wrapper {
  position: relative;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-icon {
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245, 235, 215, 0.8);
  transition: color 0.15s;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover { color: var(--accent); }
.btn-icon svg { width: 20px; height: 20px; }
.btn-mobile-menu {
  display: flex;
}
@media (min-width: 1024px) {
  .btn-mobile-menu { display: none; }
}

/* Mobile Nav */
#mobile-nav {
  display: none;
  border-top: 1px solid rgba(245, 235, 215, 0.1);
  background-color: var(--primary);
  padding: 8px 16px;
}
#mobile-nav.open {
  display: block;
}
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.8);
  transition: color 0.15s;
  text-decoration: none;
}
.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
  transition: color 0.15s;
}
.mobile-nav-group-btn:hover { color: var(--accent); }
.mobile-nav-group-btn .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.mobile-nav-group-btn.open .chevron { transform: rotate(180deg); }
.mobile-nav-children {
  display: none;
  padding-left: 16px;
  padding-bottom: 8px;
  border-left: 1px solid rgba(245, 235, 215, 0.1);
  margin-left: 4px;
}
.mobile-nav-children.open { display: block; }
.mobile-nav-child-link {
  display: block;
  padding: 8px 0;
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.7);
  transition: color 0.15s;
  text-decoration: none;
}
.mobile-nav-child-link:hover,
.mobile-nav-child-link.active { color: var(--accent); }
.mobile-nav-child-link.active { font-weight: 500; }

/* ── Search Dialog ── */
.search-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-dialog-overlay.open {
  display: flex;
}
.search-dialog {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 1rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.search-dialog-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.search-dialog-input-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.search-dialog-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.9375rem;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--foreground);
  outline: none;
}
.search-dialog-input::placeholder { color: var(--muted-foreground); }
.search-dialog-list {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px 0;
}
.search-group-label {
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.search-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: background 0.1s;
  text-decoration: none;
}
.search-item:hover,
.search-item.selected {
  background: var(--muted);
  color: var(--accent);
}
.search-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Site Footer ── */
#site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.footer-body {
  max-width: 1152px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-body {
    grid-template-columns: 1fr auto auto;
    gap: 4rem;
  }
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-brand-logo img {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
}
.footer-brand-logo h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.7);
  line-height: 1.6;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 235, 215, 0.6);
  margin-bottom: 0.75rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  color: rgba(245, 235, 215, 0.6);
  transition: color 0.15s;
  display: flex;
}
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 235, 215, 0.1);
}
.footer-bottom-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.75rem;
  color: rgba(245, 235, 215, 0.5);
  text-align: center;
}
.footer-bottom-inner p { margin: 0 0 4px; }
.footer-bottom-inner a { color: var(--accent); }
.footer-bottom-inner a:hover { text-decoration: underline; }

/* ── Hero Sections ── */
.hero-home {
  position: relative;
  min-height: 102vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 40, 75, 0.6);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  padding-top: 8rem;
}
@media (min-width: 640px) { .hero-content { padding: 0 2rem 5rem; padding-top: 8rem; } }
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 235, 215, 0.7);
  margin: 0;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards 0.2s;
}
.hero-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-foreground);
  max-width: 36rem;
  margin: 20px 0 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.4s;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(245, 235, 215, 0.75);
  max-width: 28rem;
  margin-bottom: 2.5rem;
  line-height: 1.625;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards 0.6s;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  border-bottom: 2px solid rgba(245, 235, 215, 0.6);
  padding-bottom: 4px;
  text-decoration: none;
  transition: border-color 0.15s;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease forwards 0.8s;
}
.hero-cta:hover { border-color: var(--primary-foreground); color: var(--primary-foreground); }
.hero-cta svg { width: 16px; height: 16px; }
.hero-stats-bar {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(245, 235, 215, 0.15);
  background: rgba(26, 40, 75, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards 1.0s;
}
.hero-stats-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-foreground);
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(245, 235, 215, 0.55);
  margin-top: 4px;
  display: block;
}
@media (min-width: 640px) { .hero-stat-label { font-size: 0.875rem; } }

/* ── Page Hero ── */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 40, 75, 0.65);
}
.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 235, 215, 0.7);
  margin-bottom: 1.5rem;
  display: block;
}
.page-hero-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}
.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(245, 235, 215, 0.75);
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.625;
}
/* Plain page hero (no bg image) */
.page-hero-plain {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 1rem;
  text-align: center;
}
.page-hero-plain .page-hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
}

/* ── Animations ── */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Home — About Section ── */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-section-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.about-section-text {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 0.5rem;
}
.about-link:hover { text-decoration: underline; }
.about-link svg { width: 16px; height: 16px; }
.about-image-wrap {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--muted);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-image-wrap img:hover { transform: scale(1.05); }

/* ── What We Cover ── */
.section-heading {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.section-subheading {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  display: block;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}
.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}
.feature-card-icon {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.feature-card:hover .feature-card-title { color: var(--accent); }
.feature-card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ── Archive Cards ── */
.archive-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}
.archive-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}
.archive-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.archive-card-image {
  aspect-ratio: 4/3;
  background-color: var(--muted);
  overflow: hidden;
  position: relative;
}
.archive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.archive-card:hover .archive-card-image img { transform: scale(1.06); }
.archive-card-no-image {
  aspect-ratio: 4/3;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-card-no-image span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.archive-card-image:not(.archive-card-no-image) .archive-no-image-label {
  display: none;
}
.archive-card-body {
  padding: 1.25rem;
  flex: 1;
}
.archive-card-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.375;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.archive-card:hover .archive-card-title { color: var(--accent); }
.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  background-color: rgba(188, 60, 45, 0.15);
  color: var(--accent);
  border: 1px solid rgba(188, 60, 45, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: capitalize;
}
.category-badge svg { width: 12px; height: 12px; }
.archive-id {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.archive-card-hover-arrow {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  margin-left: auto;
}
.archive-card:hover .archive-card-hover-arrow { opacity: 1; }
.archive-card-hover-arrow svg { width: 12px; height: 12px; }

/* ── Commitment Band ── */
.commitment-band {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.commitment-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.commitment-band-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 40, 75, 0.75);
}
.commitment-band-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--primary-foreground);
}
.commitment-band-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.commitment-band-text {
  color: rgba(245, 235, 215, 0.8);
  line-height: 1.625;
  margin-bottom: 1rem;
}
.commitment-band-note {
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.6);
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 4rem 1rem;
}
.cta-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.cta-text {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary svg { width: 16px; height: 16px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.15s;
  background: none;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
}
.btn-outline:hover { background-color: rgba(188, 60, 45, 0.1); color: var(--accent); }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
}
.btn-navy:hover { opacity: 0.9; color: var(--primary-foreground); }
.btn-navy svg { width: 16px; height: 16px; }
.btn-sm {
  padding: 0.625rem 1.25rem;
}

/* ── Sections General ── */
.section-py { padding-top: 4rem; padding-bottom: 4rem; }
.section-py-sm { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 640px) {
  .section-py { padding-top: 5rem; padding-bottom: 5rem; }
}
.section-text-center { text-align: center; margin-bottom: 3rem; }
.prose-section {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--foreground);
}
.prose-section p { margin-bottom: 1rem; }
.prose-section p:last-child { margin-bottom: 0; }
.prose-section h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}
.prose-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 4px;
}
.prose-section li { color: var(--foreground); }

/* ── Station History Timeline ── */
.timeline-section { background-color: var(--secondary); }
.timeline-mobile { display: block; }
.timeline-desktop { display: none; }
@media (min-width: 768px) {
  .timeline-mobile { display: none; }
  .timeline-desktop { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; position: relative; }
}
.timeline-mobile-item {
  border-left: 2px solid rgba(188, 60, 45, 0.4);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}
.timeline-mobile-era {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}
.timeline-mobile-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.timeline-mobile-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.timeline-mobile-img img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}
.timeline-mobile-text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
/* Desktop timeline sidebar */
.timeline-sidebar {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}
.timeline-sidebar-inner { position: relative; }
.timeline-sidebar-line {
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background-color: rgba(26, 35, 55, 0.2);
}
.timeline-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  font-family: 'Outfit', system-ui, sans-serif;
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(26, 35, 55, 0.4);
  background: transparent;
  flex-shrink: 0;
  transition: all 0.3s;
}
.timeline-dot.active {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.timeline-nav-item:hover .timeline-dot { border-color: rgba(188, 60, 45, 0.6); }
.timeline-year {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(26, 35, 55, 0.5);
  transition: color 0.3s;
}
.timeline-year.active { color: var(--accent); }
.timeline-nav-item:hover .timeline-year { color: rgba(26, 35, 55, 0.8); }
/* Desktop timeline content */
.timeline-content { position: relative; }
.timeline-content-sections { display: flex; flex-direction: column; gap: 6rem; }
.timeline-section-item { position: relative; z-index: 10; }
.timeline-era-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.timeline-section-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.timeline-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.timeline-img-wrap img {
  width: 100%;
  height: clamp(14rem, 18vw, 18rem);
  object-fit: cover;
  transition: transform 0.5s;
}
.timeline-img-wrap img:hover { transform: scale(1.03); }
.timeline-section-text {
  max-width: 36rem;
}
.timeline-section-text p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.timeline-watermark {
  position: sticky;
  top: 6rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  height: 0;
  overflow: visible;
}
.timeline-watermark span {
  position: absolute;
  right: 0;
  top: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 700;
  line-height: 1;
  color: var(--foreground);
  opacity: 0.06;
  transition: opacity 0.4s;
}

/* ── Archive Browse ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
  font-family: 'Outfit', system-ui, sans-serif;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* ── Archive Detail ── */
.archive-detail-header {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 1rem;
}
@media (min-width: 640px) { .archive-detail-header { padding: 5rem 1rem; } }
.archive-detail-header .wmrn-container {
  max-width: 1152px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.7);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--primary-foreground); }
.back-link svg { width: 16px; height: 16px; }
.archive-detail-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .archive-detail-grid { grid-template-columns: 1fr 300px; }
}
.accession-details-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  height: fit-content;
}
.accession-details-header {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
}
.accession-details-header h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}
.accession-detail-row {
  padding: 0.75rem 1.25rem;
}
.accession-detail-row:nth-child(even) { background-color: var(--section-grey); }
.accession-detail-row:nth-child(odd) { background-color: var(--card); }
.accession-detail-row dt {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 2px;
}
.accession-detail-row dd {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ── Podcast Archive ── */
.episode-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card);
  padding: 1.25rem;
  transition: box-shadow 0.25s;
  margin-bottom: 1rem;
}
.episode-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.episode-card-empty {
  display: none;
}
.episode-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .episode-card-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.episode-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.375;
  margin-bottom: 0.5rem;
}
.episode-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 0.75rem;
}
.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.episode-meta strong { color: var(--foreground); }
.episode-listen-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.episode-listen-link:hover { opacity: 0.8; text-decoration: underline; }
.episode-listen-link img { height: 14px; width: auto; }

/* ── Platform links ── */
.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.platform-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.platform-link img { height: 20px; width: auto; }
.platform-link-rss img { height: 16px; }

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item-empty {
  display: none;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.15s;
  gap: 1rem;
}
.faq-trigger:hover { color: var(--accent); }
.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-trigger.open { color: var(--accent); }
.faq-trigger.open svg { transform: rotate(180deg); }
.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-content.open { max-height: 500px; }
.faq-content-inner {
  padding-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--foreground);
}

/* ── Contact ── */
.contact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card);
  text-decoration: none;
  transition: box-shadow 0.25s;
}
.contact-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.contact-card svg { width: 24px; height: 24px; color: var(--accent); }
.contact-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.contact-card-value {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Dark Band (Primary) sections ── */
.dark-band {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1rem;
  position: relative;
}
@media (min-width: 640px) { .dark-band { padding: 4rem 1rem; } }
.dark-band h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.dark-band p {
  font-size: 0.875rem;
  color: rgba(245, 235, 215, 0.7);
  line-height: 1.625;
}
.dark-band-centered { text-align: center; }
.dark-band-title-lg {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.dark-band p.text-light { color: rgba(245, 235, 215, 0.8); margin-bottom: 1.5rem; }

/* ── Founding Record Table ── */
.founding-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.founding-table-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}
.founding-table-row:nth-child(even) { background-color: var(--section-grey); }
.founding-table-row:nth-child(odd) { background-color: var(--card); }
.founding-table-row dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  min-width: 180px;
  flex-shrink: 0;
}
.founding-table-row dd {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Icon list sections ── */
.icon-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.icon-section-header svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  flex-shrink: 0;
}
.icon-section-header h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}
.bullet-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.bullet-list li {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 4px;
}

/* ── 404 Page ── */
.not-found-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}
.not-found-inner { text-align: center; }
.not-found-inner h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-inner p { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.not-found-inner a { color: var(--primary); text-decoration: underline; }

/* ── Responsive Utilities ── */
@media (max-width: 639px) {
  .hide-xs { display: none !important; }
}
@media (min-width: 640px) {
  .show-xs-only { display: none !important; }
}
@media (max-width: 767px) {
  .hide-sm { display: none !important; }
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* EXHIBITS PAGE */

.exhibit-entry{
    margin-bottom:2.5rem;
}

.exhibit-entry h3{
    margin-bottom:.4rem;
}

.exhibit-entry p{
    margin-bottom:.6rem;
}

.section-divider{
    border:none;
    border-top:1px solid rgba(0,0,0,.15);
    margin:2rem 0;
}

.muted-text{
    color:var(--muted-foreground);
    font-size:.95rem;
}

/* Improve readability for exhibit pages */

.wmrn-container-prose p {
line-height: 1.7;
margin-bottom: 1.25rem;
}

.wmrn-container-prose h2 {
margin-top: 2.5rem;
margin-bottom: 0.75rem;
}

.wmrn-container-prose h3 {
margin-top: 1.75rem;
margin-bottom: 0.5rem;
}

.wmrn-container-prose ul {
margin-top: 1rem;
margin-bottom: 1.5rem;
line-height: 1.7;
}

.wmrn-container-prose li {
margin-bottom: 0.35rem;
}

/* =========================================
   EXHIBIT PAGE READABILITY
   ========================================= */

.section-py p {
line-height: 1.85;
margin-bottom: 1.5rem;
}

.section-py h2 {
margin-top: 3rem;
margin-bottom: 0.8rem;
}

.section-py h3 {
margin-top: 2rem;
margin-bottom: 0.6rem;
}

/* =========================================
   EXHIBIT IMAGE STYLE
   ========================================= */

.exhibit-figure {
max-width: 720px;
margin: 2.5rem auto;
text-align: center;
}

.exhibit-figure img {
width: 100%;
border-radius: 6px;
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.exhibit-figure figcaption {
margin-top: 0.6rem;
font-size: 0.85rem;
color: #6b7280;
line-height: 1.4;
}

.exhibit-figure img {
width: 100%;
border: 6px solid #f8f8f8;
box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* =========================================
   ARCHIVAL DOCUMENT DISPLAY
   ========================================= */

.archive-document {
  max-width: 560px;
  margin: 3rem auto;
  text-align: center;
}

.archive-document img {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  padding: 10px;

  border: 1px solid #d9d9d9;

  box-shadow:
    0 8px 18px rgba(0,0,0,0.12),
    0 2px 4px rgba(0,0,0,0.08);
}

.archive-document figcaption {
  font-size: 0.85rem;
  color: #6b7280;

  margin-top: 0.6rem;

  font-style: italic;

  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Transcription collapsible */

.wmrn-transcription summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.wmrn-transcription summary:hover {
  color: #7295B7;
}

.transcription-content {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #d4d4d4;
}

.archive-form{
max-width:720px;
margin-top:2rem;
}

.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:1.5rem;
margin-bottom:2rem;
}

.form-group{
display:flex;
flex-direction:column;
}

.form-group.full{
grid-column:1 / -1;
}

.archive-form label{
font-weight:600;
margin-bottom:6px;
font-size:0.9rem;
}

.archive-form input,
.archive-form textarea,
.archive-form select{
padding:10px 12px;
border:1px solid var(--border-color);
border-radius:6px;
font-size:14px;
background:#fff;
}

.archive-form textarea{
resize:vertical;
}

.archive-form button{
margin-top:10px;
}

.hero-home img.hero-image{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:75% center;
	z-index:0;
}

.hero-content{
	max-width:520px;
	margin-left:5%;
}

/* =========================================
   HERO IMAGE OVERRIDE
   ========================================= */

/* Replace video behavior with image behavior */
.hero-home .hero-image{
	position:absolute !important;
	inset:0 !important;
	width:100% !important;
	height:100% !important;
	object-fit:cover !important;

	/* shift building to the right so text sits on lawn */
	object-position:72% center !important;

	/* subtle archival photo enhancement */
	filter:contrast(1.05) brightness(.92) !important;

	z-index:0 !important;
}

/* Cinematic museum-style gradient overlay */
.hero-home .hero-overlay{
	position:absolute !important;
	inset:0 !important;
	background:linear-gradient(
	90deg,
	rgba(20,30,48,0.90) 0%,
	rgba(20,30,48,0.75) 35%,
	rgba(20,30,48,0.55) 55%,
	rgba(20,30,48,0.25) 75%,
	rgba(20,30,48,0.05) 100%
	) !important;

	z-index:1 !important;
}

/* Ensure text sits above overlay */
.hero-home .hero-content{
	position:relative !important;
	z-index:2 !important;
	max-width:520px;
	margin-left:5%;
}

/* Improve headline readability */
.hero-home .hero-title{
	text-shadow:0 4px 18px rgba(0,0,0,.55);
}

/* =========================================
   HERO TEXT POSITION / WIDTH OVERRIDE
   ========================================= */

/* Move hero text further left */
.hero-home .hero-content{
    max-width:460px !important;   /* squeezes text width */
    margin-left:0% !important;    /* pushes block closer to left edge */
}

/* Keep title from stretching too wide */
.hero-home .hero-title{
    max-width:420px;
}

/* Keep subtitle tighter under the title */
.hero-home .hero-subtitle{
    max-width:420px;
}

/* =========================================
   FORCE HERO TO FULL WIDTH ON MOBILE
   ========================================= */

.hero-home,
.page-hero {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Prevent 100vw mobile bug */
body {
  overflow-x: hidden;
}