:root {
  --midnight-navy: #0D1726;
  --deep-plum: #2B1E35;
  --burgundy-wine: #6E3046;
  --antique-brass: #C09A55;
  --smoky-teal: #35777A;
  --warm-ivory: #F3EBDD;
  --graphite: #20252C;
  --dusty-rose: #A87578;
  --soft-gold: #D8B873;
  --glass-bg: rgba(20, 28, 44, 0.65);
  --glass-card: rgba(32, 37, 44, 0.6);
  --glass-border: rgba(192, 154, 85, 0.22);
  --glass-hover-border: rgba(216, 184, 115, 0.55);
  --glass-highlight: rgba(243, 235, 221, 0.08);
  --text-primary: #F3EBDD;
  --text-secondary: #c9c1b3;
  --text-muted: #8e887e;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--midnight-navy);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, var(--deep-plum) 0%, var(--midnight-navy) 70%, #070c14 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--warm-ivory);
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--antique-brass);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover, a:focus-visible {
  color: var(--soft-gold);
  text-shadow: 0 0 8px rgba(216, 184, 115, 0.4);
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--antique-brass);
  outline-offset: 3px;
}

/* ===================================================
   SLIM RESPONSIVE HEADER
=================================================== */
.site-header {
  position: relative;
  width: 100%;
  height: 60px;
  background: rgba(13, 23, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--warm-ivory);
  font-weight: 700;
  text-decoration: none;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--antique-brass);
  filter: drop-shadow(0 0 6px rgba(192, 154, 85, 0.4));
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--antique-brass);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--soft-gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-sm-brass {
  background: linear-gradient(135deg, var(--antique-brass), #9e7b39);
  color: var(--midnight-navy);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(192, 154, 85, 0.25);
}

.btn-sm-brass:hover {
  background: linear-gradient(135deg, var(--soft-gold), var(--antique-brass));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216, 184, 115, 0.4);
  color: #000;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--warm-ivory);
  font-size: 1.5rem;
  padding: 0.25rem;
}

/* Mobile Nav Overlay */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(13, 23, 38, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
  z-index: 999;
}
.mobile-nav-panel.open {
  display: block;
}
.mobile-nav-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-nav-panel a {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  border-bottom: 1px solid rgba(192, 154, 85, 0.1);
  padding-bottom: 0.5rem;
}

/* ===================================================
   HERO & 3D SPATIAL CANVAS
=================================================== */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

#jazz-atlas-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(13, 23, 38, 0.2) 0%, rgba(13, 23, 38, 0.85) 75%, var(--midnight-navy) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(110, 48, 70, 0.35);
  border: 1px solid rgba(192, 154, 85, 0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--soft-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--antique-brass);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--soft-gold);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--warm-ivory);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-title span {
  background: linear-gradient(135deg, var(--soft-gold), var(--dusty-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-brass-lg {
  background: linear-gradient(135deg, var(--antique-brass), #9a7837);
  color: var(--midnight-navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(192, 154, 85, 0.3);
}
.btn-brass-lg:hover {
  background: linear-gradient(135deg, var(--soft-gold), var(--antique-brass));
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 184, 115, 0.45);
  color: #000;
}

.btn-glass-lg {
  background: rgba(32, 37, 44, 0.6);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--warm-ivory);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
}
.btn-glass-lg:hover {
  background: rgba(43, 30, 53, 0.8);
  border-color: var(--soft-gold);
  color: var(--soft-gold);
}

/* Featured Festival Spotlight in Hero */
.hero-spotlight {
  background: var(--glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy-wine), var(--antique-brass), var(--smoky-teal));
}

.spotlight-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--antique-brass);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.spotlight-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spotlight-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
}

.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-spotlight:hover .spotlight-img-wrap img {
  transform: scale(1.05);
}

.spotlight-period-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 23, 38, 0.85);
  border: 1px solid var(--antique-brass);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--soft-gold);
}

.spotlight-title {
  font-size: 1.4rem;
  color: var(--warm-ivory);
}

.spotlight-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.spotlight-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* WebGL Fallback Notification / Info bar */
.canvas-interactive-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 1rem;
}

/* ===================================================
   EQUALIZER / WAVEFORM VISUAL COMPONENT
=================================================== */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.eq-bars span {
  width: 3px;
  background: var(--antique-brass);
  border-radius: 2px;
  animation: eqJump 1.2s infinite ease-in-out;
}
.eq-bars span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.eq-bars span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.eq-bars span:nth-child(3) { height: 40%; animation-delay: 0.5s; }
.eq-bars span:nth-child(4) { height: 80%; animation-delay: 0.2s; }
.eq-bars span:nth-child(5) { height: 50%; animation-delay: 0.4s; }

@keyframes eqJump {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ===================================================
   SECTION COMMONS
=================================================== */
.section-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--antique-brass);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--warm-ivory);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
}

/* ===================================================
   NOVEL CARD ARCHITECTURE: MIDNIGHT VENUE CARD
=================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.midnight-venue-card {
  position: relative;
  background: var(--glass-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.midnight-venue-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-hover-border);
  box-shadow: 0 20px 45px rgba(110, 48, 70, 0.25), 0 0 30px rgba(192, 154, 85, 0.15);
}

/* Stage lighting glow effect */
.midnight-venue-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(216, 184, 115, 0.12) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.midnight-venue-card:hover::after {
  opacity: 1;
}

.card-poster-head {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #111;
}

.card-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.midnight-venue-card:hover .card-poster-img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.15);
}

/* Base Badge System - in-flow by default */
.card-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  line-height: 1.3;
}

/* Absolute position only inside card poster head */
.card-poster-head .card-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.badge-confirmed {
  background: rgba(53, 119, 122, 0.85);
  color: #e0f8f8;
  border: 1px solid rgba(53, 119, 122, 1);
}

.badge-recurring {
  background: rgba(110, 48, 70, 0.85);
  color: #fce8ee;
  border: 1px solid rgba(168, 117, 120, 0.8);
}

.badge-editorial {
  background: rgba(192, 154, 85, 0.85);
  color: #121008;
  border: 1px solid var(--soft-gold);
}

/* Base Genre Tag System - in-flow by default */
.card-genre-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(13, 23, 38, 0.85);
  border: 1px solid rgba(192, 154, 85, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--soft-gold);
  line-height: 1.3;
}

/* Absolute position only inside card poster head */
.card-poster-head .card-genre-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  white-space: nowrap;
}

/* Glass Information Panel */
.card-glass-panel {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(32, 37, 44, 0.7) 0%, rgba(13, 23, 38, 0.9) 100%);
  border-top: 1px solid rgba(192, 154, 85, 0.15);
  position: relative;
}

.card-city-country {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--antique-brass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--warm-ivory);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.brass-accent-line {
  height: 1px;
  background: linear-gradient(90deg, var(--antique-brass), transparent);
  margin-bottom: 1rem;
}

.card-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(192, 154, 85, 0.1);
  border: 1px solid rgba(192, 154, 85, 0.35);
  border-radius: var(--radius-sm);
  color: var(--soft-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
}

.card-action-btn:hover {
  background: var(--antique-brass);
  color: var(--midnight-navy);
  border-color: var(--antique-brass);
  box-shadow: 0 4px 15px rgba(192, 154, 85, 0.3);
}

/* ===================================================
   INTERACTIVE MAP EXPLORER TAB & SECTION
=================================================== */
.map-explorer-container {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  margin-top: 2rem;
}

.map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.map-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: rgba(13, 23, 38, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-chip.active, .filter-chip:hover {
  background: var(--burgundy-wine);
  border-color: var(--antique-brass);
  color: var(--warm-ivory);
}

.map-viewport {
  position: relative;
  height: 520px;
  background: #090f18 radial-gradient(circle at 50% 50%, #152238 0%, #080e18 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(192, 154, 85, 0.15);
  overflow: hidden;
}

.interactive-map-svg {
  width: 100%;
  height: 100%;
}

.map-city-node {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.map-city-node circle.glow {
  fill: var(--antique-brass);
  opacity: 0.25;
  animation: mapPulse 3s infinite;
}

.map-city-node circle.core {
  fill: var(--soft-gold);
  stroke: var(--midnight-navy);
  stroke-width: 2px;
}

.map-city-node text {
  fill: var(--warm-ivory);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
}

.map-city-node:hover circle.core {
  fill: #fff;
  r: 8px;
}

@keyframes mapPulse {
  0%, 100% { r: 12px; opacity: 0.2; }
  50% { r: 24px; opacity: 0.6; }
}

.map-info-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 320px;
  background: rgba(13, 23, 38, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--antique-brass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  transition: var(--transition-smooth);
}

/* ===================================================
   DISCOVERY & COMPARISON & PLANNER TOOLS
=================================================== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.tool-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(110, 48, 70, 0.4);
  border: 1px solid var(--antique-brass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--soft-gold);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--warm-ivory);
  letter-spacing: 0.02em;
}

.form-select, .form-input, .form-textarea {
  background: rgba(13, 23, 38, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--warm-ivory);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--antique-brass);
  box-shadow: 0 0 12px rgba(192, 154, 85, 0.25);
  background: rgba(20, 32, 50, 0.95);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(192, 154, 85, 0.12);
}

.comparison-table th {
  background: rgba(43, 30, 53, 0.5);
  color: var(--soft-gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.rating-stars {
  color: var(--antique-brass);
}

/* ===================================================
   WEEKEND PLANNER TIMELINE
=================================================== */
.itinerary-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.day-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.day-header {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--antique-brass);
  border-bottom: 1px solid rgba(192, 154, 85, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.timeline-slot {
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--burgundy-wine);
  position: relative;
}

.timeline-slot::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--antique-brass);
}

.slot-time {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  color: var(--soft-gold);
  text-transform: uppercase;
}

.slot-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-ivory);
}

.slot-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   EDITORIAL / ARTICLE ACCENT
=================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.editorial-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.editorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--antique-brass);
}

.editorial-thumb {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.editorial-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-category {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--antique-brass);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ===================================================
   STANDALONE MODAL / DETAIL OVERLAY
=================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.88);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--midnight-navy);
  border: 1px solid var(--antique-brass);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(13, 23, 38, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--warm-ivory);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--burgundy-wine);
  border-color: var(--soft-gold);
}

.modal-hero {
  height: 280px;
  position: relative;
  overflow: hidden;
}

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

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--midnight-navy) 100%);
}

.modal-inner-content {
  padding: 2rem;
}

.badge-strip {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge-strip .card-status-badge,
.badge-strip .card-genre-tag,
.modal-inner-content .card-status-badge,
.modal-inner-content .card-genre-tag {
  position: static;
  inset: auto;
  margin: 0;
  white-space: normal;
  max-width: 100%;
  word-break: break-word;
}

/* ===================================================
   COOKIE CONSENT BANNER
=================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 980px;
  background: rgba(20, 28, 44, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--antique-brass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  z-index: 3000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
  display: none;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text h4 {
  font-size: 1.1rem;
  color: var(--soft-gold);
  margin-bottom: 0.35rem;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background: var(--antique-brass);
  color: var(--midnight-navy);
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
}

.btn-cookie-reject {
  background: rgba(32, 37, 44, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--warm-ivory);
  font-size: 0.825rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
}

/* ===================================================
   UNIFIED FOOTER
=================================================== */
.site-footer {
  background: #080d15;
  border-top: 1px solid var(--glass-border);
  padding: 4.5rem 1.5rem 2rem;
  margin-top: 6rem;
  position: relative;
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: var(--warm-ivory);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--soft-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--soft-gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  border-top: 1px solid rgba(192, 154, 85, 0.15);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  gap: 1rem;
}

.footer-legal-copy {
  line-height: 1.5;
}

/* ===================================================
   RESPONSIVE QUERIES
=================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-spotlight {
    max-width: 600px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    min-height: auto;
    padding: 2.5rem 1rem 3rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    width: calc(100% - 1.5rem);
    bottom: 0.75rem;
  }
}

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