/* =============================================
   GUMBY LEAKS — styles.css
   Color Palette: Red · White · Blue
   --red:        #C8102E  (bold American red)
   --red-dark:   #9B0B22  (deep crimson)
   --red-light:  #E8304A  (bright accent red)
   --blue:       #002868  (deep navy blue)
   --blue-mid:   #0A3D8F  (rich blue)
   --blue-light: #1A5CB8  (medium blue)
   --white:      #FFFFFF
   --off-white:  #F4F6FA  (cool white tint)
   --smoke:      #E8EDF5  (blue-tinted light)
   ============================================= */

:root {
  --red: #c8102e;
  --red-dark: #9b0b22;
  --red-light: #e8304a;
  --blue: #002868;
  --blue-mid: #0a3d8f;
  --blue-light: #1a5cb8;
  --white: #ffffff;
  --off-white: #f4f6fa;
  --smoke: #e8edf5;
  --border: #c5d0e8;
  --border-dark: #9aaace;
  --text: #001540;
  --text-muted: #3a4e7a;
  --text-light: #7a8eba;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Crimson Pro", serif;
  --font-mono: "JetBrains Mono", monospace;

  --nav-h: 64px;
  --radius: 4px;
  --shadow-sm:
    0 1px 4px rgba(0, 40, 104, 0.08), 0 2px 12px rgba(0, 40, 104, 0.06);
  --shadow-md:
    0 4px 24px rgba(0, 40, 104, 0.14), 0 1px 4px rgba(0, 40, 104, 0.08);
  --shadow-red: 0 4px 20px rgba(200, 16, 46, 0.25);
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--smoke);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-light);
  border-radius: 3px;
}

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

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  background: rgba(200, 16, 46, 0.05);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--blue);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--blue);
  border-bottom: 3px solid var(--red);
  height: var(--nav-h);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 40, 104, 0.4);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--white);
}
.brand-icon {
  font-size: 1.1rem;
  color: var(--red-light);
  display: inline-block;
  animation: spin-slow 10s linear infinite;
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
.brand-accent {
  color: var(--red-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-login {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 8px 20px;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    background var(--transition),
    border-color var(--transition);
  white-space: nowrap;
}
.btn-login:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-login-mobile {
  width: 100%;
  margin-top: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--blue-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
}
.mobile-menu li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 0.5rem) 1.5rem 5rem;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--smoke) 0%, #d8e4f5 100%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--red) 50%,
    var(--blue) 100%
  );
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 22rem);
  letter-spacing: 0.05em;
  color: rgba(0, 40, 104, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Poster */
.poster-frame {
  border: 2px solid var(--border-dark);
  box-shadow:
    6px 6px 0 var(--red),
    12px 12px 0 rgba(0, 40, 104, 0.15);
  background: var(--white);
}
.poster-img-wrap {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
  background: var(--smoke);
}
.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster-caption {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding: 8px 12px;
  text-align: center;
  text-transform: uppercase;
}

/* Image placeholders */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--smoke);
  border: 2px dashed var(--border-dark);
  text-align: center;
  padding: 1.5rem;
}
.ph-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}
.ph-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.ph-hint {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  background: rgba(26, 92, 184, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(26, 92, 184, 0.2);
  word-break: break-all;
}

/* Hero content */
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-light);
  padding: 14px 28px;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
  display: inline-block;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ===== MERCH ===== */
.merch-section {
  padding: 6rem 1.5rem;
  background: var(--blue);
  border-top: none;
  position: relative;
}
.merch-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--white) 50%,
    var(--red) 100%
  );
}
.merch-section .section-label {
  color: var(--red-light);
  border-color: var(--red-light);
  background: rgba(232, 48, 74, 0.12);
}
.merch-section .section-header h2 {
  color: var(--white);
}

.merch-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.merch-card {
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.merch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 40, 104, 0.3);
  border-color: var(--red);
}
.merch-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  text-transform: uppercase;
}
.merch-badge-green {
  background: var(--blue-light);
}

.merch-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--smoke);
}
.merch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.merch-card:hover .merch-img {
  transform: scale(1.04);
}
.merch-placeholder {
  position: absolute;
  inset: 0;
}

.merch-info {
  padding: 1.2rem;
}
.merch-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  color: var(--blue);
}
.merch-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.merch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.merch-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--red);
  font-weight: 700;
}
.btn-buy {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.btn-buy:hover {
  background: var(--red);
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 6rem 1.5rem;
  background: var(--off-white);
  border-top: 4px solid var(--red);
}
.map-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
#leafletMap {
  width: 100%;
  height: 520px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.leaflet-popup-tip {
  background: var(--blue);
}
.leaflet-popup-content {
  margin: 10px 14px;
}
.leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.7) !important;
}
.leaflet-popup-close-button:hover {
  color: var(--white) !important;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.legend-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--red);
  display: inline-block;
  flex-shrink: 0;
}

/* Locations panel */
.locations-panel {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-height: 520px;
  max-height: 520px;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}
.locations-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: var(--text-light);
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.placeholder-icon {
  font-size: 2.2rem;
  color: var(--border-dark);
  animation: spin-slow 12s linear infinite;
}
.locations-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.locations-header {
  padding: 1rem 1.2rem;
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 3px solid var(--red);
}
.state-code {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.06em;
}
.state-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 2px;
}
.location-item {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: background 0.15s;
}
.location-item:hover {
  background: rgba(0, 40, 104, 0.04);
}
.location-item:last-child {
  border-bottom: none;
}
.location-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.location-city {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.location-place {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}

/* ===== PDF VIEW SECTION ===== */
.pdf-view-section {
  padding: 6rem 1.5rem;
  background: var(--off-white);
  border-top: 4px solid var(--red);
  display: none;
}

.btn-close {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--red-dark);
  border: 1.5px solid var(--red);
  padding: 6px 14px;
  cursor: pointer;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  float: right;
}

.btn-close:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.iframe-container {
  max-width: 1100px;
  margin: 0 auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  padding: 1rem;
}

/* ===== DOCS SECTION ===== */
.docs-section {
  padding: 6rem 1.5rem;
  background: var(--smoke);
  border-top: 4px solid var(--blue);
}
.docs-container {
  max-width: 1100px;
  margin: 0 auto;
}
.docs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.docs-search {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  border-radius: var(--radius);
  width: 280px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.docs-search::placeholder {
  color: var(--text-light);
}
.docs-search:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(26, 92, 184, 0.12);
}
.docs-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.docs-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.docs-table thead th {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: center;
  white-space: nowrap;
}
.docs-table thead th:first-child {
  border-left: 4px solid var(--red);
}
.docs-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.docs-table tbody tr:hover {
  background: rgba(0, 40, 104, 0.04);
}
.docs-table tbody tr:last-child {
  border-bottom: none;
}
.docs-table td {
  padding: 12px 16px;
  color: var(--text);
  vertical-align: middle;
}
.col-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-light);
  width: 40px;
}
.file-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text);
}
.file-icon {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  color: var(--white);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 700;
}
.file-icon.pdf {
  background: var(--red);
}
.file-icon.doc {
  background: var(--blue-light);
}
.file-icon.png,
.file-icon.jpg {
  background: var(--text-muted);
}

.doc-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.cat-legal {
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-dark);
  border: 1px solid rgba(200, 16, 46, 0.25);
}
.cat-financial {
  background: rgba(0, 40, 104, 0.08);
  color: var(--blue);
  border: 1px solid rgba(0, 40, 104, 0.2);
}
.cat-internal {
  background: rgba(26, 92, 184, 0.07);
  color: var(--blue-light);
  border: 1px solid rgba(26, 92, 184, 0.2);
}
.cat-evidence {
  background: rgba(155, 11, 34, 0.08);
  color: var(--red-dark);
  border: 1px solid rgba(155, 11, 34, 0.25);
}
.cat-email {
  background: rgba(243, 107, 130, 0.08);
  color: var(--red-light);
  border: 1px solid rgba(243, 107, 130, 0.25);
}

.col-cat {
  display: block;
}

/* .col-size, */
.col-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.col-actions {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-action {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid;
  transition:
    background var(--transition),
    color var(--transition);
}
.btn-download {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-light);
}
.btn-download:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-view {
  background: transparent;
  color: var(--red-dark);
  border-color: var(--red);
}
.btn-view:hover {
  background: var(--red);
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--blue);
  border-top: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
/* Red/White/Blue stripe at top of footer */
.footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red) 33.3%,
    var(--white) 33.3%,
    var(--white) 66.6%,
    var(--blue-light) 66.6%,
    var(--blue-light) 100%
  );
}
.footer-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  column-gap: 4rem;
  row-gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
  padding: 3.5rem 1.5rem 0;
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.footer-brand .brand-icon {
  color: var(--red-light);
}
.footer-brand .brand-accent {
  color: var(--red-light);
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 0.8rem;
}
.footer-subscribe h4,
.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.8rem;
}
.footer-subscribe p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sub-input {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.sub-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.sub-input:focus {
  border-color: var(--red-light);
}
.btn-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-sub:hover {
  background: var(--red-light);
}
.footer-links {
  padding-left: 8rem;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
.footer-tagline {
  color: rgba(232, 48, 74, 0.7);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }
  .map-container {
    grid-template-columns: 1fr;
  }
  #leafletMap {
    height: 420px;
  }
  .locations-panel {
    min-height: 200px;
    max-height: 300px;
  }
  .merch-grid {
    gap: 1.2rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .btn-login {
    padding: 7px 14px;
    font-size: 0.65rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-poster {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-label {
    justify-content: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .merch-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .footer-links {
    padding-left: 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #col-cat,
  /* .col-size, */
  .col-date,
  .docs-table thead th:nth-child(3),
  .docs-table thead th:nth-child(4),
  /* .docs-table thead th:nth-child(5), */
  /* .docs-table td:nth-child(5), */
  .docs-table td:nth-child(3),
  .docs-table td:nth-child(4) {
    display: none;
  }
}
@media (max-width: 520px) {
  .hero-bg-text {
    display: none;
  }
  .docs-search {
    width: 100%;
  }
  .footer-links {
    padding-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .col-actions {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* =============================================
   TIMELINE SECTION
   ============================================= */

.timeline-section {
  padding: 6rem 1.5rem;
  background: var(--blue);
  border-top: 4px solid var(--red);
  position: relative;
}
.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--white) 50%,
    var(--blue-light) 100%
  );
}
.timeline-section .section-label {
  color: var(--red-light);
  border-color: var(--red-light);
  background: rgba(232, 48, 74, 0.12);
}
.timeline-section .section-header h2 {
  color: var(--white);
}
.section-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ---- Phase Tabs ---- */
.phase-tabs-wrap {
  max-width: 1200px;
  margin: 0 auto 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red) rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}
.phase-tabs-wrap::-webkit-scrollbar {
  height: 4px;
}
.phase-tabs-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.phase-tabs-wrap::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 2px;
}

.phase-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  /* width: max-content; */
  /* min-width: 100%; */
}

.phase-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  white-space: nowrap;
  flex: 1;
  min-width: 80px;
}
.phase-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.phase-tab.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.4);
  transform: translateY(-2px);
}
.phase-tab-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}
.phase-tab-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  max-width: 90px;
  white-space: normal;
  line-height: 1.3;
}
.phase-tab.active .phase-tab-label {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Timeline Container ---- */
.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Phase panel */
.phase-panel {
  display: none;
  animation: fadeSlideIn 0.35s ease forwards;
}
.phase-panel.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Phase header banner */
.phase-header {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.phase-header-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red-light);
  line-height: 1;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.phase-header-info {
}
.phase-header-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}
.phase-header-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Vertical Timeline Spine ---- */
.tl-spine {
  position: relative;
  padding-left: 2.5rem;
}
.tl-spine::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--red) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    var(--red) 100%
  );
}

/* ---- Year Entry ---- */
.tl-entry {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.tl-entry.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Year dot on spine */
.tl-entry::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.35);
  z-index: 2;
}

/* Year card */
.tl-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.tl-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.tl-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
}
.tl-year-badge {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--red);
  padding: 2px 12px;
  border-radius: 2px;
  flex-shrink: 0;
  line-height: 1.4;
}
.tl-year-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
}
.tl-toggle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition:
    transform var(--transition),
    color var(--transition);
  flex-shrink: 0;
}
.tl-card-header:hover .tl-toggle {
  color: rgba(255, 255, 255, 0.8);
}
.tl-card.expanded .tl-toggle {
  transform: rotate(180deg);
  color: var(--red-light);
}

.tl-card-body {
  display: none;
  padding: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-card.expanded .tl-card-body {
  display: block;
}

.tl-card-body ol,
.tl-card-body ul {
  list-style-position: inside;
  color: rgba(255, 255, 255, 0.82);
  margin-left: 1.2rem;
}

.tl-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

/* Links row */
.tl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tl-link {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26, 92, 184, 0.5);
  border: 1px solid rgba(26, 92, 184, 0.6);
  padding: 5px 12px;
  border-radius: 2px;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tl-link:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}
.tl-link-icon {
  font-size: 0.7rem;
}

/* File download button */
.tl-file {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--red-light);
  border: 1px solid var(--red);
  padding: 6px 14px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}
.tl-file:hover {
  background: var(--red);
  color: var(--white);
}
.tl-file-icon {
  font-size: 0.8rem;
}

/* Files row */
.tl-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .phase-tab {
    min-width: 70px;
    padding: 8px 10px;
  }
  .phase-tab-num {
    font-size: 1.1rem;
  }
  .phase-tab-label {
    font-size: 0.48rem;
  }
  .tl-spine {
    padding-left: 1.8rem;
  }
  .tl-spine::before {
    left: 7px;
  }
  .tl-entry::before {
    left: -1.55rem;
    width: 10px;
    height: 10px;
  }
  .phase-header-num {
    font-size: 2rem;
  }
  .phase-header-title {
    font-size: 1.3rem;
  }
}

/* ─── HERO BANNER BAR ───────────────────────────────────── */
.hero-banner-bar {
  width: 100%;
  background: linear-gradient(90deg, #c0392b 0%, #922b21 40%, #c0392b 100%);
  border-bottom: 1px solid rgba(192, 57, 43, 0.4);
  padding: 11px 24px;
  text-align: center;
  position: relative;
  z-index: 999;
  margin-top: 64px;
}

.hero-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--off-white);

  /* margin-bottom: 1.5rem; */

  /* font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase; */
}

.hero-banner-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .hero-banner-inner {
    flex-direction: column;
    gap: 4px;
  }
  .hero-banner-divider {
    display: none;
  }
}

/* ─── COUNTDOWN CLOCK ───────────────────────────────────── */
.countdown-wrap {
  margin: 28px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(192, 57, 43, 0.55);
  border-radius: 12px;
  background: rgba(155, 11, 34, 0.72);
  box-shadow:
    0 0 0 1px rgba(192, 57, 43, 0.18),
    0 0 28px rgba(192, 57, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  max-width: 550px;
}

/* Top header bar */
.countdown-header {
  background: rgba(192, 57, 43, 0.15);
  border-bottom: 1px solid rgba(192, 57, 43, 0.35);
  padding: 10px 18px;
}

.countdown-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #060606;
  text-transform: uppercase;
}

/* Timer row */
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(192, 57, 43, 0.2);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 6px;
  padding: 10px 16px 6px;
  min-width: 64px;
}

.countdown-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.05em;
}

.countdown-unit-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.countdown-sep {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

/* Charges list */
.countdown-charges {
  padding: 14px 18px 16px;
  background: rgba(192, 57, 43, 0.06);
}

.countdown-charges ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.countdown-charges ul li {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 16px;
  position: relative;
  line-height: 1;
}

.countdown-charges ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #060606;
  font-size: 1rem;
  top: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .countdown-unit {
    min-width: 52px;
    padding: 8px 10px 5px;
  }
  .countdown-num {
    font-size: 1.8rem;
  }
  .countdown-wrap {
    max-width: 100%;
  }
}
