/* =========================================================
   La Tuna Canyon · Sun Valley, CA 91352
   Canyon Editorial — warm, archival, editorial hierarchy
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..900,0..100&family=Figtree:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #1e1814;
  --ink-soft: #3b312a;
  --muted: #7a6b5e;
  --paper: #f5efe4;
  --paper-2: #ece3d2;
  --paper-3: #e0d4bd;
  --line: #d4c7ae;
  --terracotta: #b84a2e;
  --terracotta-deep: #8a3720;
  --sage: #5c6b56;
  --dusk: #4a3f5c;
  --gold: #c49b4b;
  --ochre: #8b5a2b;
  --blood: #6b2015;

  --serif: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at top right, rgba(196, 155, 75, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(184, 74, 46, 0.05), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--terracotta-deep); text-decoration: none; border-bottom: 1px solid rgba(138, 55, 32, 0.3); transition: border-color .15s ease, color .15s ease; }
a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

/* ---------- NAVIGATION ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 228, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border-bottom: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); border-bottom: none; }

.brand-mark {
  width: 44px;
  height: 44px;
  background-image: url('/images/logo-la-tuna-canyon.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(30, 24, 20, 0.06), 0 0 0 1px rgba(196, 155, 75, 0.25);
}

.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-txt strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  font-variation-settings: "SOFT" 30;
  letter-spacing: -0.01em;
}
.brand-txt small {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-bottom: none;
  border-radius: 2px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--paper-3); color: var(--terracotta-deep); border-bottom: none; }
.nav-links a.active,
.nav-links a.nav-parent.active {
  color: var(--terracotta-deep);
  background: var(--paper-3);
}

/* ---------- DROPDOWN ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-caret {
  font-size: 10px;
  opacity: 0.55;
  transition: transform .2s ease, opacity .2s ease;
  display: inline-block;
  line-height: 1;
  position: relative;
  top: 1px;
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 0;
  box-shadow: 0 20px 40px -15px rgba(30, 24, 20, 0.28), 0 4px 10px -4px rgba(30, 24, 20, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
/* Invisible bridge so the gap between parent and dropdown doesn't close the menu */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  border-radius: 0;
  white-space: nowrap;
  font-size: 13px;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--paper-3);
  color: var(--terracotta-deep);
  padding-left: 22px;
}
.nav-dropdown a.active {
  background: var(--paper-3);
  color: var(--terracotta-deep);
}
.nav-dropdown-rule {
  height: 1px;
  background: var(--line);
  margin: 6px 14px;
}

/* Hamburger toggle button - hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 3px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: border-color .15s ease;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 960px) {
  .site-nav .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- MOBILE MENU OVERLAY ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at top right, rgba(196, 155, 75, 0.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(184, 74, 46, 0.08), transparent 60%);
  display: flex;
  flex-direction: column;
  padding: 88px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--paper);
  border: none;
  border-bottom: 1px solid rgba(196, 155, 75, 0.18);
  padding: 20px 0;
  text-decoration: none;
  transition: color .15s ease, padding-left .2s ease;
  font-variation-settings: "SOFT" 30, "opsz" 48;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--gold);
  padding-left: 10px;
  outline: none;
}
.mobile-group-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  padding: 24px 0 8px;
  margin-top: 8px;
  opacity: 0.85;
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--paper);
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .15s ease, transform .2s ease;
}
.mobile-close:hover {
  background: var(--terracotta-deep);
  transform: rotate(90deg);
}
.mobile-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 239, 228, 0) 0%, rgba(245, 239, 228, 0.4) 100%),
    linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(139, 90, 43, 0.05) 60px 61px),
    radial-gradient(circle at 85% 20%, rgba(196, 155, 75, 0.18), transparent 42%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split .hero-visual { order: -1; }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 50%;
  box-shadow:
    0 30px 60px -20px rgba(30, 24, 20, 0.35),
    0 0 0 1px rgba(196, 155, 75, 0.3),
    0 0 0 10px rgba(30, 24, 20, 0.02);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(196, 155, 75, 0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terracotta-deep);
  display: inline-block;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  font-variation-settings: "SOFT" 40, "opsz" 144;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-deep);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 32px;
  font-variation-settings: "opsz" 32;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.badge {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.3);
}
.badge.solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- MAIN LAYOUT ---------- */
main { padding: 64px 0; }

section { margin-bottom: 72px; }

/* ---------- TYPOGRAPHY ---------- */
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "opsz" 100;
}

.section-kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::before {
  content: "§";
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "SOFT" 50;
  letter-spacing: 0;
  text-transform: none;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
  font-variation-settings: "SOFT" 30;
}

h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ink);
}

p { margin: 0 0 18px; }

.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 5.5em;
  line-height: 0.82;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--terracotta-deep);
  font-variation-settings: "SOFT" 60, "opsz" 144;
}

.quote {
  border-left: 3px solid var(--terracotta);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 48;
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- CARDS / GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: rgba(255, 253, 248, 0.6);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 3px;
}
.card.accent {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.card.accent h2, .card.accent h3 { color: var(--paper); }
.card.accent h3 { color: var(--gold); }

.established {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 28px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding: 44px 36px;
}
.established-logo,
.established-map {
  display: block;
  width: calc(100% + 72px);
  margin: -44px -36px 0;
  padding: 0;
  background: #ede0c2;
  border: none;
  border-bottom: 1px solid rgba(196, 155, 75, 0.3);
  cursor: zoom-in;
  overflow: hidden;
  transition: filter .2s ease;
  font: inherit;
  color: inherit;
}
.established-map img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}
.established-map:hover img { transform: scale(1.03); }
.established-map:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.established-caption {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--paper-2);
  opacity: 0.7;
  margin-top: -16px;
}
.established-caption em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 14, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(196, 155, 75, 0.3);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(30, 24, 20, 0.7);
  border: 1px solid var(--gold);
  color: var(--paper);
  font-size: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .15s ease, transform .15s ease;
}
.lightbox-close:hover {
  background: var(--terracotta-deep);
  transform: rotate(90deg);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.established-blurb {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--paper);
  font-variation-settings: "SOFT" 50, "opsz" 32;
  max-width: 26ch;
  margin: 0;
  position: relative;
  padding-top: 20px;
}
.established-blurb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ---------- TIMELINE ---------- */
.timeline { padding: 48px; }
.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.timeline-item:first-of-type { border-top: 2px solid var(--ink); }
.timeline-item:last-of-type { border-bottom: 1px solid var(--line); }

.timeline-date {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta-deep);
  padding-top: 4px;
}
.timeline-text h3 {
  margin-bottom: 6px;
}
.timeline-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}
.timeline-text a {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-block;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline { padding: 32px 24px; }
}

/* ---------- ARTICLE LAYOUT ---------- */
.article {
  padding: 40px 0 80px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.article-meta span::after {
  content: "·";
  margin-left: 16px;
  color: var(--line);
}
.article-meta span:last-child::after { content: ""; }

.article h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  max-width: 16ch;
}
.article .lead-in {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 40px;
  font-variation-settings: "opsz" 32;
}
.article p { font-size: 19px; line-height: 1.72; }

.article h2 {
  margin-top: 56px;
  font-size: clamp(26px, 3.5vw, 36px);
}

.pull-quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 1.1;
  color: var(--terracotta-deep);
  margin: 48px -20px;
  padding: 44px 0;
  border-top: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  font-variation-settings: "SOFT" 40, "opsz" 100;
  font-style: italic;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  margin: 40px 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--paper);
  padding: 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  color: var(--terracotta-deep);
  font-variation-settings: "SOFT" 40, "opsz" 100;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.figure {
  margin: 40px 0;
  padding: 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
}
.figure h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--ink);
}
.figure ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.figure li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.figure li:last-child { margin-bottom: 0; }
.figure a {
  color: var(--terracotta-deep);
  border-bottom: 1px solid rgba(138, 55, 32, 0.25);
}
.figure a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}
.figure-caption {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 12px;
}
.figure p:last-child { margin-bottom: 0; }

.article-photo {
  margin: 48px 0;
  padding: 0;
  border: 0;
}
.article-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(30, 24, 20, 0.08), 0 18px 40px -20px rgba(30, 24, 20, 0.35);
}
.article-photo figcaption {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.article-photo .photo-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 6px;
  font-variation-settings: "SOFT" 30;
}
.article-photo .photo-credit {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 680px) {
  .article-photo { margin: 32px 0; }
  .article-photo figcaption { padding-left: 12px; }
  .article-photo .photo-caption { font-size: 16px; }
}

/* Portrait variant — for tall historic photos, cap width and center */
.article-photo.portrait {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 560px) {
  .article-photo.portrait { max-width: 100%; }
}

/* Embedded film / video — same visual language as .article-photo */
.article-film {
  margin: 48px 0;
  padding: 0;
  border: 0;
}
.article-film video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(30, 24, 20, 0.08), 0 18px 40px -20px rgba(30, 24, 20, 0.35);
}
.article-film figcaption {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.article-film .film-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
  font-variation-settings: "SOFT" 30;
}
.article-film .film-description {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.article-film .film-credit {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.article-film .film-credit-row {
  display: block;
}
.article-film .film-credit-label {
  color: var(--ink-soft);
  font-weight: 500;
  margin-right: 4px;
}
.article-film .film-license {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.article-film .film-license a {
  color: var(--muted);
  border-bottom: 1px solid rgba(30, 24, 20, 0.15);
}
.article-film .film-license a:hover {
  color: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}
@media (max-width: 680px) {
  .article-film { margin: 32px 0; }
  .article-film figcaption { padding-left: 12px; }
  .article-film .film-title { font-size: 20px; }
  .article-film .film-description { font-size: 15px; }
}

/* ---------- SECTION CARDS (topic index) ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.topic {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
  padding: 32px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  display: block;
  position: relative;
}
.topic:hover {
  background: var(--paper-3);
  border-color: var(--ink);
  transform: translateY(-2px);
  color: var(--ink);
}
.topic .era {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta-deep);
  margin-bottom: 16px;
}
.topic h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  font-variation-settings: "SOFT" 30;
  color: var(--ink);
}
.topic p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.topic::after {
  content: "→";
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}
.topic:hover::after {
  transform: translateX(4px);
  color: var(--terracotta);
}

/* ---------- READ NEXT ---------- */
.read-next {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.read-next-label {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 16px;
}
.read-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 680px) { .read-next-grid { grid-template-columns: 1fr; } }
.read-next-card {
  padding: 28px;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.4);
}
.read-next-card:hover { background: var(--paper-3); color: var(--ink); border-bottom: 1px solid var(--ink); }
.read-next-card .kicker {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta-deep);
  margin-bottom: 8px;
}
.read-next-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0;
  font-variation-settings: "SOFT" 30;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: 80px;
  padding: 56px 0 40px;
  background: var(--ink);
  color: var(--paper-2);
  border-top: 4px solid var(--terracotta-deep);
}
footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px 40px;
  align-items: start;
}
.footer-col-brand { max-width: 360px; }
.footer-col ul { margin: 0; }
@media (max-width: 1024px) {
  footer .wrap { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; max-width: 680px; }
}
@media (max-width: 720px) {
  footer .wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  footer .wrap { grid-template-columns: 1fr; gap: 28px; }
}
.footer-h {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
  line-height: 1.2;
}
footer p, footer li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-3);
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer a {
  color: var(--paper-2);
  border-bottom: 1px solid rgba(236, 227, 210, 0.2);
}
footer a:hover { color: var(--gold); border-color: var(--gold); }

.footer-brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 12px;
  font-variation-settings: "SOFT" 40, "opsz" 100;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(196, 155, 75, 0.4);
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(196, 155, 75, 0.2);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footer-bottom a {
  color: var(--muted);
  border-bottom: 1px solid rgba(196, 155, 75, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.footer-bottom a:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom-sep { color: rgba(196, 155, 75, 0.4); }

/* ---------- DECORATIVE ELEMENTS ---------- */
.rule-deco {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
  color: var(--line);
}
.rule-deco::before, .rule-deco::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.rule-deco-mark {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 18px;
  font-variation-settings: "SOFT" 40;
}

/* ---------- UTILITIES ---------- */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- MOBILE TUNING ---------- */
@media (max-width: 680px) {
  .wrap, .wrap-narrow { padding: 0 22px; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: clamp(40px, 11vw, 72px); }

  main { padding: 48px 0; }
  section { margin-bottom: 56px; }

  h2 { font-size: clamp(26px, 6vw, 36px); }

  .article h1 { font-size: clamp(34px, 8.5vw, 56px); }
  .article h2 { margin-top: 44px; font-size: clamp(24px, 6vw, 30px); }
  .article .lead-in { font-size: 21px; margin-bottom: 32px; }
  .article p { font-size: 18px; }

  .pull-quote {
    margin: 36px 0;
    padding: 32px 0;
    font-size: clamp(34px, 8vw, 52px);
  }

  .card { padding: 28px; }
  .timeline { padding: 28px 22px; }

  .established { padding: 36px 28px; gap: 22px; }
  .established-logo,
  .established-map { margin: -36px -28px 0; width: calc(100% + 56px); }
  .established-blurb { font-size: 18px; }

  .dropcap::first-letter { font-size: 4.5em; padding-right: 10px; }

  .stat { padding: 18px 12px; }
  .stat-value { font-size: 28px; }

  .figure { padding: 20px; margin: 32px 0; }

  .rule-deco { margin: 36px 0; }

  .topic { padding: 24px; }
  .topic::after { top: 24px; right: 24px; }

  .read-next { margin-top: 56px; }

  footer { padding: 44px 0 32px; }
  footer .wrap { gap: 28px; }
  .footer-brand { font-size: 24px; }

  /* Lightbox on small screens — more usable map area */
  .lightbox { padding: 16px; }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .lightbox img { max-height: calc(100vh - 32px); }
}

@media (max-width: 420px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(36px, 12vw, 56px); }
  .badge { font-size: 11px; padding: 6px 10px; }
  .mobile-menu { padding: 80px 22px 32px; }
  .mobile-menu a { font-size: 24px; padding: 16px 0; }
}
