/* ============================================================
   ONLY IN OHIO — The Definitive Chronicle
   Tabloid Newspaper Design System
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --red: #b91c1c;
  --red-dark: #7f1d1d;
  --gold: #d4a017;
  --gold-light: #f5d060;
  --navy: #1a1a2e;
  --navy-light: #2d2d4a;
  --paper: #f5f0e1;
  --paper-dark: #e8e0cc;
  --paper-light: #faf7ee;
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --white: #ffffff;
  --black: #000000;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-label: 'Oswald', 'Arial Narrow', Helvetica, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-quirky: 'Special Elite', 'Courier New', monospace;

  --gap: clamp(1rem, 3vw, 2rem);
  --section-pad: clamp(2rem, 6vw, 5rem);
  --max-width: 1280px;
  --radius: 3px;
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-family: var(--font-label);
  font-size: 0.85rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

strong { font-weight: 600; }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  background: var(--paper-light);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  padding: 0.5rem var(--gap) 0;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-light);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ccc;
}

.masthead-note {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.65rem;
}

.masthead-weather {
  color: var(--red);
  font-weight: 600;
}

.masthead-main {
  padding: 0.6rem 0 0.8rem;
}

.masthead-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.masthead-logo {
  width: clamp(80px, 12vw, 140px);
  height: auto;
  flex-shrink: 0;
}

.masthead-title-group {
  text-align: center;
}

.masthead-rule {
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}
.masthead-rule::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}

.masthead-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0.3rem 0 0.15rem;
}
.masthead-title a {
  color: inherit;
  text-decoration: none;
}

.masthead-the {
  display: block;
  font-size: 0.25em;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: -0.2em;
}

.masthead-times {
  display: block;
  font-size: 0.22em;
  font-weight: 400;
  letter-spacing: 0.6em;
  text-transform: uppercase;
}

.masthead-tagline {
  font-family: var(--font-quirky);
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--ink-light);
  margin-top: 0.1rem;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--red-dark);
}

.ticker-label {
  background: var(--red-dark);
  color: var(--gold-light);
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  z-index: 2;
  position: relative;
}
.ticker-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(to right, rgba(127,29,29,0.5), transparent);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  padding-left: 1rem;
}
.ticker-content span {
  padding: 0 0.6rem;
}
.ticker-dot {
  opacity: 0.5;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-links li { display: flex; }

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.nav-links a:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gap);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gap);
  align-items: start;
}

.hero-main {
  border: 1px solid #ddd;
  background: var(--white);
  overflow: hidden;
}

.hero-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, var(--red-dark) 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  padding: 1.2rem 1.5rem 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 0.4rem 0 0.5rem;
}
.hero-headline a {
  color: var(--ink);
  text-decoration: none;
}
.hero-headline a:hover {
  color: var(--red-dark);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.4;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.hero-body p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.byline {
  display: block;
  font-family: var(--font-quirky);
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eee;
}

/* Hero Sidebar */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.sidebar-card {
  display: block;
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
  color: var(--ink);
}
.sidebar-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  color: var(--ink);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.4rem 0 0.5rem;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* ============================================================
   CATEGORIES / STAMPS
   ============================================================ */
.category {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.cat-investigation { background: var(--red); color: var(--white); }
.cat-cryptid { background: #065f46; color: var(--white); }
.cat-food { background: #b45309; color: var(--white); }
.cat-underground { background: #4338ca; color: var(--white); }
.cat-legends { background: #7c2d12; color: var(--white); }
.cat-science { background: #1e40af; color: var(--white); }
.cat-nature { background: #166534; color: var(--white); }
.cat-sports { background: var(--red); color: var(--white); }

.stamp {
  position: absolute;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  transform: rotate(-3deg);
  z-index: 3;
}

.stamp-classified {
  top: 1rem; right: 1rem;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stamp-sighting {
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--navy);
  transform: rotate(2deg);
}

.stamp-cult {
  bottom: 1rem; right: 1rem;
  background: var(--navy);
  color: var(--gold-light);
  border: 2px solid var(--gold);
  transform: rotate(-2deg);
}

.stamp-disaster {
  position: static;
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  margin-bottom: 0.5rem;
  transform: rotate(-1deg);
}

.stamp-unsolved {
  position: static;
  display: inline-block;
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  margin-bottom: 0.5rem;
  transform: rotate(1deg);
}

/* ============================================================
   HEADLINES ROW
   ============================================================ */
.headlines-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap) var(--gap);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 2;
}

.headline-card {
  background: var(--white);
  border: 1px solid #ddd;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.headline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.headline-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--ink-light) 100%);
  filter: contrast(1.05) saturate(0.9);
}

.headline-card .category {
  margin: 0.8rem 0.8rem 0;
}

.headline-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.4rem 0.8rem 0;
  color: var(--ink);
}

.headline-card p {
  font-size: 0.8rem;
  color: var(--ink-light);
  padding: 0.3rem 0.8rem 1rem;
  line-height: 1.5;
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--ink-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   CRYPTID CORNER
   ============================================================ */
.section-cryptids {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
}

.cryptid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.cryptid-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid #ddd;
  overflow: hidden;
}

.cryptid-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0d3320 0%, #065f46 50%, #1a1a2e 100%);
  overflow: hidden;
}

.cryptid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.85);
}

.cryptid-text {
  padding: 1.2rem 1.5rem;
}

.cryptid-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0.3rem 0;
}

.cryptid-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.cryptid-text p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.cryptid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.cryptid-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s;
}
.cryptid-card:hover {
  border-color: #065f46;
}

.cryptid-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.cryptid-type {
  display: block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #065f46;
  margin-bottom: 0.5rem;
}

.cryptid-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================================
   FOOD FILES
   ============================================================ */
.section-food {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1.7rem,
      rgba(0,0,0,0.03) 1.7rem,
      rgba(0,0,0,0.03) 1.75rem
    ),
    var(--paper-light);
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}

.section-food .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.food-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.food-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.food-img-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #b45309, #92400e, #78350f);
  overflow: hidden;
}
.food-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s;
}
.food-card:hover {
  border-color: #b45309;
}

.food-feature .food-text {
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.food-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.food-tagline {
  font-family: var(--font-quirky);
  font-size: 0.85rem;
  color: #b45309;
  margin-bottom: 0.6rem;
}

.food-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.food-brands {
  max-width: var(--max-width);
  margin: var(--gap) auto 0;
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.5rem 2rem;
  text-align: center;
}

.food-brands h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
}
.brand-list em {
  font-weight: 400;
  opacity: 0.6;
}

/* ============================================================
   DARK OHIO
   ============================================================ */
.section-dark {
  background: var(--navy);
  color: var(--paper);
  padding: 0;
  position: relative;
}

.section-header-dark { padding-top: 1rem; }
.section-label-dark { color: var(--gold-light); }
.section-title-dark { color: var(--paper); }

.dark-tape {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

.dark-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap) var(--section-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.dark-feature {
  grid-column: span 3;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2rem;
  background: rgba(255,255,255,0.03);
}

.dark-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s;
}
.dark-card:hover {
  border-color: var(--gold);
}

.dark-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.3rem;
}

.dark-date {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.dark-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245,240,225,0.85);
  margin-bottom: 0.5rem;
}

.dark-feature h3 {
  font-size: 1.5rem;
}

/* ============================================================
   UNDERGROUND OHIO
   ============================================================ */
.section-underground {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) var(--gap);
}

.underground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.underground-feature {
  grid-column: span 2;
  background: var(--white);
  border: 1px solid #ddd;
  padding: 2rem;
  border-left: 4px solid #4338ca;
}

.underground-feature h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.underground-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s;
}
.underground-card:hover {
  border-color: #4338ca;
}

.underground-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.ug-location {
  display: block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4338ca;
  margin-bottom: 0.5rem;
}

.underground-card p,
.underground-feature p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ============================================================
   WEIRD & WONDERFUL
   ============================================================ */
.section-weird {
  background: var(--paper-dark);
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
}

.section-weird .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.weird-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.weird-feature {
  grid-column: span 2;
}

.weird-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.weird-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.weird-img-wrap {
  position: relative;
  margin: -1.2rem -1.5rem 1rem;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.weird-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weird-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.weird-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================================
   INVENTIONS
   ============================================================ */
.section-inventions {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
}

.inventions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.invention {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.invention:hover {
  border-color: var(--red);
}

.invention-year {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.3rem;
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  font-size: 2.5rem;
}

.invention h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.invention p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-light);
}

/* ============================================================
   LEGENDS
   ============================================================ */
.section-legends {
  background: var(--paper-light);
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
}

.section-legends .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.legends-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.legend-feature {
  grid-column: span 3;
  padding: 2rem;
  border-left: 4px solid var(--red);
}

.legend-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s;
}
.legend-card:hover {
  border-color: var(--red);
}

.legend-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.legend-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.legend-feature h3 {
  font-size: 1.5rem;
}

/* ============================================================
   UNDERGROUND RAILROAD
   ============================================================ */
.section-railroad {
  background: var(--navy);
  color: var(--paper);
  padding: var(--section-pad) var(--gap);
}

.section-railroad .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.section-railroad .section-label {
  color: var(--gold-light);
}
.section-railroad .section-title {
  color: var(--paper);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
}

.railroad-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 2fr;
  gap: var(--gap);
  align-items: start;
}

.railroad-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}

.big-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,240,225,0.7);
}

.railroad-text {
  padding: 1rem 0;
}
.railroad-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,225,0.85);
  margin-bottom: 0.6rem;
}

/* ============================================================
   BY THE NUMBERS
   ============================================================ */
.section-numbers {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) var(--gap);
  text-align: center;
  border-top: 3px double var(--ink);
}

.numbers-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 2rem;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.number-item {
  padding: 1.2rem;
  border: 1px solid #ddd;
  background: var(--white);
}

.number-item .big-number {
  color: var(--red);
  font-size: 2.2rem;
}

.number-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-top: 0.3rem;
}

/* ============================================================
   TOWN NAMES
   ============================================================ */
.section-towns {
  background: var(--paper-dark);
  padding: var(--section-pad) var(--gap);
  border-top: 3px double var(--ink);
}

.section-towns .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.towns-wrap {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.town-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid #ddd;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
}
.town-name:hover {
  transform: rotate(-1deg) scale(1.05);
  background: var(--gold-light);
}
.town-name:nth-child(even):hover {
  transform: rotate(1deg) scale(1.05);
}

.town-featured {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.town-featured:hover {
  background: var(--red-dark);
  color: var(--white);
}

.towns-footnote {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.85rem;
  text-align: center;
  color: var(--ink-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 2rem var(--gap);
}

.footer-masthead {
  margin-bottom: 0.5rem;
}

.footer-rule {
  height: 1px;
  background: rgba(245,240,225,0.2);
  margin: 0 auto;
  max-width: 400px;
}

.footer-logo {
  width: 80px;
  height: auto;
  margin: 0.5rem auto;
  opacity: 0.7;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.4rem 0;
}

.footer-tagline {
  font-family: var(--font-quirky);
  font-size: 0.85rem;
  color: rgba(245,240,225,0.6);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,240,225,0.5);
  margin-bottom: 1rem;
}

.footer-disclaimer {
  font-family: var(--font-quirky);
  font-size: 0.75rem;
  color: rgba(245,240,225,0.3);
}

/* ============================================================
   IMAGE FALLBACKS & TREATMENTS
   ============================================================ */
.hero-img-wrap,
.cryptid-img-wrap,
.food-img-wrap,
.weird-img-wrap {
  position: relative;
  overflow: hidden;
}

/* Halftone dot overlay on images for newspaper feel */
.hero-img-wrap::after,
.cryptid-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.02) 41%);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 2;
}

/* Image caption tape effect */
.headline-card img {
  border-bottom: 3px solid var(--paper-dark);
}

/* Broken image fallback - shows gradient placeholder */
img {
  min-height: 60px;
}

.hero-img-wrap img,
.cryptid-img-wrap img,
.food-img-wrap img,
.weird-img-wrap img,
.headline-card img {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--red-dark) 100%);
  color: transparent;
}

/* Specific section image gradients */
.cryptid-img-wrap img { background: linear-gradient(135deg, #0d3320 0%, #065f46 50%, #1a1a2e 100%); }
.food-img-wrap img { background: linear-gradient(135deg, #b45309 0%, #92400e 50%, #78350f 100%); }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-sidebar {
    flex-direction: row;
  }
  .sidebar-card {
    flex: 1;
  }
  .headlines-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .cryptid-grid {
    grid-template-columns: 1fr;
  }
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .food-feature {
    grid-column: span 2;
  }
  .dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dark-feature {
    grid-column: span 2;
  }
  .underground-grid {
    grid-template-columns: 1fr;
  }
  .underground-feature {
    grid-column: span 1;
  }
  .weird-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .weird-feature {
    grid-column: span 2;
  }
  .inventions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legends-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legend-feature {
    grid-column: span 2;
  }
  .railroad-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .railroad-text {
    grid-column: span 3;
  }
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .masthead-top {
    justify-content: center;
    text-align: center;
  }
  .masthead-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  /* Nav hamburger */
  .nav-toggle {
    display: flex;
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    position: sticky;
    top: 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .hero-sidebar {
    flex-direction: column;
  }
  .headlines-row {
    grid-template-columns: 1fr;
  }
  .food-grid {
    grid-template-columns: 1fr;
  }
  .food-feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .dark-grid {
    grid-template-columns: 1fr;
  }
  .dark-feature {
    grid-column: span 1;
  }
  .weird-grid {
    grid-template-columns: 1fr;
  }
  .weird-feature {
    grid-column: span 1;
  }
  .inventions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legends-grid {
    grid-template-columns: 1fr;
  }
  .legend-feature {
    grid-column: span 1;
  }
  .railroad-content {
    grid-template-columns: 1fr;
  }
  .railroad-text {
    grid-column: span 1;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .inventions-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-list {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ============================================================
   ARTICLE PAGE STYLES
   ============================================================ */

/* Sub-page masthead (compact) */
.masthead-sub {
  padding: 0.3rem var(--gap) 0;
  border-bottom: 2px solid var(--ink);
}
.masthead-sub .masthead-logo {
  width: clamp(50px, 8vw, 80px);
}
.masthead-sub .masthead-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}
.masthead-sub .masthead-title a {
  color: var(--ink);
  text-decoration: none;
}
.masthead-sub .masthead-rule { display: none; }

/* Dark page masthead */
.masthead-dark {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.masthead-dark .masthead-title a {
  color: var(--paper);
}

/* Active nav link */
.nav-links a.active {
  background: var(--gold);
  color: var(--navy);
}

/* Article hero */
.article-hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--red-dark) 100%);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1);
}
.article-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
}
.article-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0.5rem 0 0.4rem;
  color: var(--white);
}
.article-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
}
.article-hero .stamp {
  top: 1.5rem;
  right: 1.5rem;
}
.article-hero-dark img {
  filter: brightness(0.4) contrast(1.2);
}

/* Article body */
.article-main {
  background: var(--paper);
}
.article-main-dark {
  background: var(--navy);
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-pad) var(--gap);
}
.article-body-dark {
  color: var(--paper);
}
.article-body-dark h2 { color: var(--paper); }
.article-body-dark h3 { color: var(--gold-light); }
.article-body-dark .article-location { color: var(--gold); }
.article-body-dark .article-divider-dark { border-color: rgba(255,255,255,0.1); }
.article-body-dark .article-list li { color: rgba(245,240,225,0.85); }

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--red-dark);
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-body section {
  margin-bottom: 1rem;
}

.article-location {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

.article-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-light);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.article-list {
  margin: 0.5rem 0 1.5rem 1.5rem;
}
.article-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.article-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2.5rem 0;
}

/* Inline images in articles */
.article-inline-img {
  position: relative;
  margin: 1.5rem -2rem 1.5rem;
  overflow: hidden;
  border: 1px solid #ddd;
}
.article-inline-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-inline-img .stamp {
  top: 1rem;
  right: 1rem;
}

/* Pullquote */
.article-pullquote {
  margin: 2.5rem -2rem;
  padding: 2rem;
  border-left: 4px solid var(--red);
  border-right: 4px solid var(--red);
  background: var(--paper-dark);
}
.article-pullquote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
}
.article-body-dark .article-pullquote {
  background: rgba(255,255,255,0.05);
  border-color: var(--gold);
}
.article-body-dark .article-pullquote blockquote {
  color: var(--paper);
}

/* Read more links */
.read-more {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.read-more:hover { color: var(--red-dark); }

/* More stories grid at bottom of articles */
.article-more-stories {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap) var(--section-pad);
  border-top: 3px double var(--ink);
}
.article-more-stories h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  text-align: center;
  margin: 2rem 0 1.5rem;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.more-card {
  display: block;
  background: var(--white);
  border: 1px solid #ddd;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--ink);
}
.more-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  color: var(--ink);
}
.more-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.more-card .category {
  margin: 0.8rem 0.8rem 0;
}
.more-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem 0.8rem;
  line-height: 1.3;
}

/* Museum grid */
.museum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin: 1.5rem 0;
}
.museum-card {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.museum-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.museum-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 0 0 0.1rem !important;
}
.museum-card .article-location {
  margin-bottom: 0.5rem;
}
.museum-card p {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}
.brand-item {
  background: var(--paper-dark);
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  font-family: var(--font-label);
  font-size: 0.85rem;
}
.brand-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}
.brand-item span {
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* Footer nav */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-nav a {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,240,225,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--gold-light);
}

/* Homepage headline cards as links */
a.headline-card {
  color: var(--ink);
  text-decoration: none;
  display: block;
}
a.headline-card:hover {
  color: var(--ink);
}

/* Dark page body background */
.dark-page {
  background: var(--navy);
}

/* 404 page */
.error-page {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--gap);
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  opacity: 0.15;
  display: block;
}
.error-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  margin: -1rem 0 1rem;
}
.error-page p {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.error-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.error-links nav a {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid #ddd;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.error-links nav a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================================
   ARTICLE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .article-hero {
    aspect-ratio: 16/9;
  }
  .article-inline-img {
    margin: 1rem 0;
  }
  .article-pullquote {
    margin: 2rem 0;
    padding: 1.5rem;
  }
  .more-grid {
    grid-template-columns: 1fr;
  }
  .museum-grid {
    grid-template-columns: 1fr;
  }
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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