@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0f0e0c;
  --bg-secondary: #141310;
  --bg-card: #1c1a17;
  --bg-card-hover: #242118;
  --rust: #b34a2a;
  --rust-hover: #cc5530;
  --gold: #c49a4a;
  --cream: #ede8de;
  --cream-muted: #a89e8c;
  --border: #2a2824;
  --border-rust: #5c2415;
  --max-width: 1200px;
  --story-width: 760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--cream);
}

a { color: var(--rust-hover); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 12, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 80px;
  width: 160px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.015em;
}
.nav-logo-text .accent { color: var(--rust); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--cream) !important;
  background: var(--rust);
  padding: 0.5rem 1.125rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
  letter-spacing: 0.08em !important;
}
.nav-cta:hover { background: var(--rust-hover) !important; color: var(--cream) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('../img/wabush.jpg');
  background-size: cover;
  background-position: center 40%;
  border-bottom: 1px solid var(--border-rust);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,8,6,0.96) 0%, rgba(10,8,6,0.82) 38%, rgba(10,8,6,0.52) 62%, rgba(10,8,6,0.22) 100%),
    linear-gradient(to top, rgba(10,8,6,0.75) 0%, transparent 35%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.018) 39px, rgba(255,255,255,0.018) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.018) 39px, rgba(255,255,255,0.018) 40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 2rem;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-title em { font-style: italic; color: var(--rust); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--cream-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--rust);
  padding: 0.875rem 2rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--rust-hover); color: var(--cream); }

.btn-ghost {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-muted);
  border: 1px solid var(--border);
  padding: 0.875rem 2rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--rust); color: var(--cream); }

/* ── MAP INTRO (homepage) ── */
.map-intro {
  background: #090705;
  border-bottom: 1px solid var(--border);
}
.map-intro-header {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  padding: 2rem 2rem 1.625rem;
  text-align: center;
}
.map-intro-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.map-intro-text {
  font-size: 0.9375rem;
  color: var(--cream-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
#map-home {
  height: 400px;
  width: 100%;
}
.map-intro-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  text-align: right;
}
.map-intro-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.map-intro-link:hover { color: var(--cream); }

/* Shared map marker styles (used on both homepage and map.html) */
.city-pin {
  position: relative;
  width: 14px;
  height: 14px;
}
.city-pin-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.city-pin-dot.rust { background: var(--rust); box-shadow: 0 0 6px rgba(184,76,39,0.7); }
.city-pin-dot.gold { background: var(--gold); box-shadow: 0 0 6px rgba(196,154,74,0.7); }
.city-pin-ring {
  width: 9px; height: 9px;
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pin-pulse 2.6s ease-out infinite;
}
.city-pin-ring.rust  { border: 1.5px solid var(--rust); }
.city-pin-ring.gold  { border: 1.5px solid var(--gold); animation-delay: 0.5s; }
.city-pin-ring-2     { animation-delay: 1.1s !important; }
@keyframes pin-pulse {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: 0.85; }
  100% { transform: translate(-50%,-50%) scale(4.5); opacity: 0; }
}
.city-pin-label {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  background: rgba(10,8,6,0.91);
  border: 1px solid var(--border-rust);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.2rem 0.45rem;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.4;
}

/* Leaflet popup overrides (shared) */
.leaflet-container { background: #090705; font-family: 'Inter', sans-serif; }
.leaflet-popup-content-wrapper {
  background: rgba(12,9,7,0.97) !important;
  border: 1px solid var(--border-rust) !important;
  border-radius: 2px !important;
  box-shadow: 0 4px 28px rgba(0,0,0,0.7) !important;
}
.leaflet-popup-tip-container { display: none !important; }
.leaflet-popup-close-button { color: var(--cream-muted) !important; top: 6px !important; right: 8px !important; }
.leaflet-popup-content {
  margin: 1rem 1.125rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.65 !important;
  color: var(--cream-muted) !important;
}
.leaflet-popup-content strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.leaflet-popup-content .pop-sub {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--rust);
  margin-bottom: 0.5rem;
  display: block;
}
.leaflet-control-zoom a {
  background: rgba(10,8,6,0.92) !important;
  border-color: var(--border-rust) !important;
  color: var(--gold) !important;
}
.leaflet-control-zoom a:hover { background: rgba(26,16,10,0.97) !important; }
.leaflet-bar { border: 1px solid var(--border-rust) !important; box-shadow: none !important; }
.leaflet-control-attribution {
  background: rgba(10,8,6,0.7) !important;
  color: #4a3828 !important;
  font-size: 0.5625rem !important;
}
.leaflet-control-attribution a { color: #6a5040 !important; }
.leaflet-tooltip {
  background: rgba(10,8,6,0.92) !important;
  border: 1px solid var(--border) !important;
  border-radius: 1px !important;
  color: var(--cream-muted) !important;
  font-size: 0.5625rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  box-shadow: none !important;
  padding: 0.2rem 0.4rem !important;
}
.leaflet-tooltip::before { display: none !important; }

/* ── ABOUT ── */
.about-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.about-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 1rem;
}
.about-divider {
  width: 48px;
  height: 2px;
  background: var(--rust);
  margin: 1.25rem auto 2.5rem;
}
.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.about-text {
  font-size: 1.0625rem;
  color: var(--cream-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-text:last-of-type { margin-bottom: 2.5rem; }

/* ── STORIES SECTION ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.section-title { font-size: 2rem; font-weight: 700; }
.section-title .accent { color: var(--rust); }
.section-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── STORY GRID ── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.story-card--featured {
  grid-column: span 2;
}
.story-card--featured .story-card-accent {
  background: var(--gold);
  height: 4px;
}
.story-card--featured .story-card-body {
  padding: 2rem;
}
.story-card--featured .story-card-title {
  font-size: 1.625rem;
}
.story-card--featured .story-card-excerpt {
  -webkit-line-clamp: 5;
}
.story-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.story-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-rust);
  background: var(--bg-card-hover);
}
.story-card-accent { height: 3px; background: var(--rust); }
.story-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.story-card-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.story-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.story-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}
.story-card-excerpt {
  font-size: 0.9375rem;
  color: var(--cream-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card-footer {
  padding: 0.875rem 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  transition: color 0.2s;
}
.story-card:hover .story-card-footer { color: var(--rust-hover); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1a0e09 0%, #1e1410 50%, #1a0e09 100%);
  border-top: 1px solid var(--border-rust);
  border-bottom: 1px solid var(--border-rust);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner-inner { max-width: 600px; margin: 0 auto; }
.cta-banner h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.cta-banner p {
  color: var(--cream-muted);
  font-size: 1.0625rem;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

/* ── FOOTER ── */
.site-footer {
  background: #0a0908;
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-brand-name .accent { color: var(--rust); }
.footer-tagline { font-size: 0.9375rem; color: var(--cream-muted); line-height: 1.65; }
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.9375rem; color: var(--cream-muted); }
.footer-links a:hover { color: var(--rust-hover); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--cream-muted);
}

/* ── STORY PAGE ── */
.story-hero {
  background: linear-gradient(180deg, #181410 0%, #0f0e0c 100%);
  border-bottom: 1px solid var(--border-rust);
  padding: 4rem 2rem 3rem;
}
.story-hero-inner {
  max-width: var(--story-width);
  margin: 0 auto;
}
.story-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--cream-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.story-breadcrumb a { color: var(--cream-muted); }
.story-breadcrumb a:hover { color: var(--rust-hover); }
.story-breadcrumb .sep { opacity: 0.4; }
.story-category-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  border: 1px solid var(--border-rust);
  padding: 0.3125rem 0.75rem;
  margin-bottom: 1.5rem;
}
.story-title {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 0.875rem;
}
.story-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cream-muted);
  margin-bottom: 1.75rem;
}
.story-rule { width: 72px; height: 2px; background: var(--rust); }

/* Story body prose */
.story-wrapper {
  max-width: var(--story-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.story-lead {
  font-size: 1.1875rem;
  line-height: 1.78;
  color: var(--cream);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
}
.story-wrapper h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--cream);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.story-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}
.story-wrapper h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust);
  margin: 2rem 0 0.75rem;
}
.story-wrapper p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--cream-muted);
  margin-bottom: 1.5rem;
}
.story-wrapper ul, .story-wrapper ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}
.story-wrapper li {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--cream-muted);
  margin-bottom: 0.625rem;
}
.story-wrapper li strong, .story-wrapper p strong { color: var(--cream); }
.story-figure {
  margin: 2.5rem 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.story-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
}
.story-figure figcaption {
  padding: 0.625rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  color: var(--cream-muted);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  line-height: 1.6;
  font-style: italic;
}
.story-figure--portrait img {
  max-height: 380px;
  object-position: center top;
}

.story-wrapper blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--rust);
  background: var(--bg-secondary);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--cream);
  line-height: 1.72;
}
.story-attribution {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--cream-muted);
}
.story-attribution em { font-style: italic; }
.archive-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--cream-muted);
  line-height: 1.6;
}
.archive-banner strong { color: var(--gold); display: block; margin-bottom: 0.25rem; }

/* ── MORE STORIES ── */
.more-stories {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
}
.more-stories-inner { max-width: var(--max-width); margin: 0 auto; }
.more-stories h2 {
  font-size: 1.375rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ── SUBMIT PAGE ── */
.page-header {
  background: linear-gradient(180deg, #181410 0%, #0f0e0c 100%);
  border-bottom: 1px solid var(--border-rust);
  padding: 4rem 2rem 3rem;
}
.page-header-inner { max-width: 640px; margin: 0 auto; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.0625rem; color: var(--cream-muted); line-height: 1.75; }
.submit-wrapper { max-width: 640px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.form-group { margin-bottom: 1.625rem; }
.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}
.form-label .required { color: var(--rust); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--rust); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--border); }
.form-textarea { min-height: 240px; resize: vertical; line-height: 1.75; }
.form-label-optional { font-weight: 400; color: var(--cream-muted); font-size: 0.875em; }
.form-input-file {
  display: block;
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--cream-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  cursor: pointer;
}
.form-input-file::-webkit-file-upload-button {
  background: var(--border);
  border: none;
  color: var(--cream);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-right: 0.75rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}
.form-input-file:hover { border-color: var(--rust); }
.form-photo-count { margin-top: 0.4rem; font-size: 0.875rem; color: var(--rust); font-family: 'Inter', sans-serif; }
.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89e8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select option { background: var(--bg-card); color: var(--cream); }
.form-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--cream-muted);
  margin-top: 0.4rem;
  opacity: 0.8;
}
.form-submit {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--rust);
  border: none;
  padding: 1.0625rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover  { background: var(--rust-hover); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

#form-status { display: none; }
.form-status-success,
.form-status-error {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-status-success {
  background: rgba(60, 120, 60, 0.15);
  border: 1px solid rgba(60, 180, 60, 0.3);
  color: #7ecb7e;
}
.form-status-error {
  background: rgba(179, 74, 42, 0.15);
  border: 1px solid var(--border-rust);
  color: #e07050;
}

/* ── FORM EXTRAS ── */
.form-optional { font-weight: 400; color: var(--cream-muted); font-size: 0.875em; }
.form-actions { margin-top: 2rem; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--cream-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-checkbox {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--rust);
  cursor: pointer;
}
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-error {
  background: rgba(179, 74, 42, 0.15);
  border: 1px solid var(--border-rust);
  color: #e07050;
}
.form-success {
  background: rgba(60, 120, 60, 0.15);
  border: 1px solid rgba(60, 180, 60, 0.3);
  color: #7ecb7e;
}
.form-success::before { content: '✓  Your story has been submitted. Thank you for sharing a piece of Labrador West.'; }
.upload-area {
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.upload-area.drag-over {
  border-color: var(--rust);
  background: rgba(179, 74, 42, 0.06);
}
.upload-prompt p { color: var(--cream-muted); font-family: 'Inter', sans-serif; font-size: 0.9375rem; margin: 0.25rem 0 0; }
.upload-browse-btn {
  background: none;
  border: none;
  color: var(--rust);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.upload-browse-btn:hover { color: var(--rust-hover); }
.upload-file-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.upload-file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}
.upload-file-item:last-child { border-bottom: none; }
.upload-file-name { flex: 1; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-size { color: var(--cream-muted); flex-shrink: 0; }
.upload-file-remove {
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.upload-file-remove:hover { color: var(--rust); }

/* ── THANK YOU PAGE ── */
.thankyou-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.thankyou-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}
.thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--rust);
  color: var(--rust);
  font-size: 1.75rem;
  line-height: 64px;
  margin: 0 auto 2rem;
}
.thankyou-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.thankyou-lead {
  font-size: 1.125rem;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.thankyou-rule {
  width: 48px;
  height: 2px;
  background: var(--rust);
  margin: 0 auto 2rem;
}
.thankyou-body {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  color: var(--cream-muted);
  line-height: 1.75;
}
.thankyou-body p { margin-bottom: 1rem; }
.thankyou-body p:last-child { margin-bottom: 0; }
.thankyou-steps {
  margin: 0.75rem 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.thankyou-steps li { padding-left: 0.25rem; }
.thankyou-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ARCHIVES ── */
.archive-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}
.archive-publication { margin-bottom: 1rem; }
.archive-pub-header { margin-bottom: 2.5rem; }
.archive-pub-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.archive-pub-years {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--cream-muted);
  letter-spacing: 0.04em;
}
.archive-pub-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.archive-pub-desc {
  color: var(--cream-muted);
  line-height: 1.7;
  max-width: 680px;
  font-size: 0.95rem;
}
.archive-issues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.archive-year-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.archive-year-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.archive-year-toggle:hover { background: var(--bg-card-hover); }
.archive-year-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.archive-year-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--cream-muted);
  opacity: 0.7;
  flex: 1;
}
.archive-year-chevron {
  width: 14px;
  height: 14px;
  color: var(--cream-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.archive-year-toggle[aria-expanded="true"] .archive-year-chevron {
  transform: rotate(180deg);
}
.archive-list {
  display: none;
  list-style: none;
  padding: 0 0 0.5rem;
  margin: 0;
  border-top: 1px solid var(--border);
}
.archive-list.open { display: block; }
.archive-item { border-bottom: 1px solid var(--border); margin: 0 1rem; }
.archive-item:last-child { border-bottom: none; }
.archive-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.archive-item a::after {
  content: '↗';
  font-size: 0.7rem;
  opacity: 0.35;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.archive-item a:hover { color: var(--cream); }
.archive-item a:hover::after { opacity: 1; }
.archive-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}
@media (max-width: 900px) {
  .archive-issues { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .archive-issues { grid-template-columns: 1fr; }
  .archive-pub-title { font-size: 1.6rem; }
}

/* ── SEARCH ── */
.archive-search-bar {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.archive-search-inner {
  position: relative;
  max-width: 640px;
}
.archive-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 3rem 0.85rem 1.1rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.archive-search-input::placeholder { color: var(--cream-muted); opacity: 0.6; }
.archive-search-input:focus { border-color: var(--rust); }
.archive-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.archive-search-clear:hover { color: var(--cream); }
.archive-search-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cream-muted);
  opacity: 0.6;
  font-family: 'Inter', sans-serif;
}
.search-results { margin-bottom: 3rem; }
.search-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--cream-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.search-empty {
  color: var(--cream-muted);
  font-style: italic;
  padding: 2rem 0;
}
.search-list { display: flex; flex-direction: column; gap: 0; }
.search-result-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.search-result-pub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust);
}
.search-result-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 500;
}
.search-result-snippet {
  font-size: 0.875rem;
  color: var(--cream-muted);
  line-height: 1.65;
  margin-bottom: 0.6rem;
  font-family: 'Lora', serif;
}
.search-result-snippet mark {
  background: rgba(179, 74, 42, 0.25);
  color: var(--cream);
  border-radius: 2px;
  padding: 0 2px;
}
.search-result-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--rust);
  text-decoration: none;
  font-weight: 500;
}
.search-result-link:hover { color: var(--rust-hover); }

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
  }
  .nav-cta {
    margin: 0.75rem 1.5rem !important;
    text-align: center;
    border-radius: 3px;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section-header { flex-direction: column; gap: 0.5rem; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card--featured { grid-column: auto; }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .hero-title { font-size: 2.25rem; }
  .story-wrapper { padding: 2rem 1.25rem 3.5rem; }
  .story-hero { padding: 2.5rem 1.25rem 2rem; }
  .section { padding: 3rem 1.25rem; }
  .about-inner { padding: 3.5rem 1.25rem; }
  .cta-banner { padding: 3.5rem 1.25rem; }
}
