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

   TABLE OF CONTENTS
   1.  CSS Variables & Reset
   2.  Base / Typography
   3.  Scrollbar
   4.  Section Headers (shared)
   5.  Navbar
   6.  Hamburger Menu
   7.  Mobile Menu
   8.  Hero Section
   9.  Hero Poster
   10. Image Placeholders
   11. Hero Content & Buttons
   12. Countdown Section
   13. Countdown Clock Widget
   14. Quick-Access Bar
   15. Merch Section
   16. Map Section
   17. PDF View Section
   18. Docs Section
   19. Footer
   20. Timeline Section
   21. Responsive Breakpoints
===================================================================== */

/* =====================================================================
   1. CSS VARIABLES & RESET
===================================================================== */
:root {
  /* Colors */
  --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;

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

  /* Layout */
  --nav-h: 64px;
  --radius: 4px;

  /* Shadows */
  --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 */
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

/* =====================================================================
   2. BASE / TYPOGRAPHY
===================================================================== */
body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* =====================================================================
   4. SECTION HEADERS (shared across all sections)
===================================================================== */
.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);
}

.section-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.6rem;
  font-style: italic;
}

/* =====================================================================
   5. 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-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;
}

/* =====================================================================
   6. HAMBURGER
===================================================================== */
.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);
}

/* =====================================================================
   7. MOBILE MENU
===================================================================== */
.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);
}

/* =====================================================================
   8. HERO SECTION
===================================================================== */
.hero {
  /* min-height: 80vh; */
  padding: 1.5rem 1.5rem 3rem;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Diagonal right-side panel */
.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;
}

/* Bottom gradient stripe */
.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: start;
  position: relative;
  z-index: 1;
}

/* =====================================================================
   9. HERO 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: auto;
  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;
}

/* =====================================================================
   10. 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;
}

/* =====================================================================
   11. HERO CONTENT & SHARED BUTTONS
===================================================================== */
.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(1rem, 3vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Primary (red filled) button */
.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);
  display: inline-block;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* Outline (blue border) button */
.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);
  display: inline-block;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* =====================================================================
   HERO CARDS GRID
===================================================================== */
.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* flex-direction: column; */
  /* background: rgba(255, 255, 255, 0.06); */
  background: var(--blue-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 16px 18px 12px;
  width: calc(33.33% - 8px);
  min-width: 180px;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.hero-card:hover {
  background: rgba(200, 16, 46, 0.18);
  border-color: var(--red-light);
  transform: translateY(-2px);
}

.hc-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hc-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.hc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.hc-row2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  flex-grow: 1;
}

.hc-row3 {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.hc-arrow {
  font-size: 1.4rem;
  color: var(--red-light);
  line-height: 1;
  font-weight: bold;
}

/* Responsive: 2 columns on narrow */
@media (max-width: 900px) {
  .hero-card {
    width: calc(50% - 6px);
  }
}

@media (max-width: 560px) {
  .hero-card {
    width: 100%;
  }
}

/* =====================================================================
   12. COUNTDOWN SECTION
   Full-width dark section sitting directly below the navbar.
   Two-column layout: banner text (left) + clock widget (right).
===================================================================== */
.countdown-section {
  /* background: var(--blue); */
  background: var(--blue);
  position: relative;
  /* padding: 0 1.5rem 4rem; */
  padding: 1.5rem;
  margin-top: var(--nav-h); /* push below fixed navbar */
}

/* Red/white/blue accent stripe at top */
/* .countdown-stripe {
  height: 4px;
  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%
  );
  margin-bottom: 4rem;
} */

/* Inner two-column grid (mirrors merch layout) */
.countdown-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left column: title + subtitle */
.countdown-banner-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.countdown-section-label {
  color: var(--red-light);
  border-color: var(--red-light);
  background: rgba(232, 48, 74, 0.12);
}

.countdown-banner-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  padding-block: 1rem;
  text-align: center;
}

.titlev {
    font-size: 2.5rem;
}

.title-sub {
    font-size: 1.6rem;
    color: var(--red);
}

.countdown-banner-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--off-white);
  /* letter-spacing: 0.06em; */
  /* color: rgba(255, 255, 255, 0.6); */
  /* text-transform: uppercase; */
  /* line-height: 1.6; */
}

.sub-head-text-materials {
  display: inline-block;
  margin-top: 0.4rem;
}

.sub-banner-text-area {
  background: rgb(230, 240, 253);
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
}

.sub-banner-text {
  font-family: system-ui;
  font-size: 0.8rem;
}

.sub-banner-text-claims {
  color: var(--blue-mid);
  font-size: 0.8rem;
  font-weight: 700;
}

.sub-banner-icon-area {
  padding: 0.2rem;
}

.sub-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #3b82f6;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  font-weight: bold;
  font-family: Times, Georgia, serif;
  text-transform: lowercase;
  box-sizing: border-box;
}

/* Right column: clock widget container */
.countdown-clock-col {
  display: flex;
  /* justify-content: flex-start; */
  justify-content: center;
}

/* =====================================================================
   13. COUNTDOWN CLOCK WIDGET
   Dark bordered box containing the timer + charges list.
===================================================================== */
.countdown-wrap {
  display: flex;
  flex-direction: column;
  /* border: 1px solid rgba(200, 16, 46, 0.55); */
  border-radius: 12px;
  /* background: rgba(0, 0, 0, 0.35); */
  background: rgb(230, 240, 253);
  box-shadow:
    0 0 0 1px rgba(200, 16, 46, 0.18),
    0 0 28px rgba(200, 16, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
}

/* Top header bar inside widget */
.countdown-header {
  /* background: rgba(200, 16, 46, 0.15); */
  /* border-bottom: 1px solid rgba(200, 16, 46, 0.35); */
  padding: 10px 18px;
  max-width: 380;
}

.countdown-label {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  /* color: var(--red-light); */
  /* text-transform: uppercase; */
}

.countdown-calender {
  /* font-size: 1.2rem; */
  /* margin-left: 6px; */
  display: flex;
  font-weight: 700;
  color: var(--red-light);
  /*text-transform: uppercase;*/
}

.calender-head {
    display: inline-block;
}

.calender-head-text {
    margin-left: 10px;
}

.clock-header-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    /*padding-block: 1rem;*/
    text-align: center;
    font-weight: 700;
    color: var(--red-light);
    text-transform: uppercase;
    padding-left: 20px;
}

/* Coundown tier area */
.countdown-timer-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timer row */
.countdown-timer {
  background: var(--blue) content-box;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* padding: 18px 18px 16px; */
  padding: 8px;
  /* border-bottom: 1px solid rgba(200, 16, 46, 0.2); */
  /* position: relative; */
}

.countdown-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: rgba(0, 0, 0, 0.4); */
  /* border: 1px solid rgba(200, 16, 46, 0.3); */
  /* border-radius: 6px; */
  /* padding: 10px 16px 6px; */
  padding: 0.7rem;
  min-width: 5rem;
}

.countdown-unit::after {
  content: "";
  display: block;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(200, 180, 100, 0.4),
    rgba(208, 166, 82, 0.85),
    rgba(200, 180, 100, 0.4)
  );
  position: absolute;
  top: 20%; /* makes line start a bit inside for elegance, but can be 0 */
  right: 0; /* stick to the right edge of each unit */
  bottom: 20%; /* smooth vertical margins – not touching extremes */
  height: 60%; /* controlled height for better visual */
  box-shadow: 0 0 2px rgba(212, 175, 55, 0.4);
}

/* Remove the separator from the LAST .countdown-unit to avoid extra line at end */
.countdown-unit:last-child::after {
  display: none;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.05em;
}

.countdown-unit-label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--red-light);
  /*margin-top: 3px;*/
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  /* color: var(--red-light); */
  color: var(--white);
  line-height: 1;
  /* margin-bottom: 10px; */
}

/* Image container for the golden scales */
.countdown-img {
  max-width: 5rem;
}

.golden-scale {
  width: 100%;
  height: auto;
  display: block;
}

/* Charges list inside widget */
.countdown-charges {
  padding: 0 18px 16px;
  /* background: rgba(200, 16, 46, 0.06); */
}

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

.countdown-charges ul li {
  /* position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  line-height: 1.5; */

  background: var(--white);
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: bolder;
  letter-spacing: 0.04em;
  /* color: tomato; */
  text-transform: uppercase;
  line-height: 1.5;
}

.countdown-charges ul li::before {
  content: "▸";
  position: absolute;
  left: 5px;
  color: var(--red-light);
  font-size: 0.65rem;
  top: 1px;
}

/* =====================================================================
   14. QUICK-ACCESS BAR
   Slim navbar-style bar. 5 items in a single row.
   First 3: title label + Read/Download buttons.
   Last 2:  single media link (Gallery, GumbyTube).
===================================================================== */
.quick-access-bar {
  background: rgb(230, 240, 253);
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  border-bottom: 1px solid var(--blue);
  /* margin-top: 0.5rem; */
  padding: 0.8rem 0;
}

.qa-list {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
}

/* Each item */
.qa-item {
  /* flex: 1; */
  /* background: var(--red); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* flex: 1 1 auto; */
  min-width: 0;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  /* border-right: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: var(--radius);
  transition: background var(--transition);
}

.qa-item:last-child {
  border-right: none;
}

.qa-item:hover {
  /* background: rgba(255, 255, 255, 0.05); */
  background: var(--red-light);
  cursor: pointer;
  border: 1.5px solid var(--red-light);
}

/* ── Doc items ── */

.qa-btns {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.qa-btn {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1.5px solid;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.qa-item--news {
  background: var(--blue-light);
}

.qa-item--case,
.qa-item--joe {
  background: var(--blue);
}

.qa-item--why,
.qa-item--photos {
  background: var(--white);
  border: 1.5px solid var(--blue-light);

  & > a {
    color: var(--blue);
  }
}

.qa-item--fund {
  background: var(--red);
}

/* ── Media items ── */
.qa-item--media {
  /* flex: 0 0 auto; */
  flex: 0 1 auto;
  justify-content: center;
}

.qa-media-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* color: rgba(255, 255, 255, 0.7); */
  color: var(--off-white);
  white-space: nowrap;
  transition: color var(--transition);
}

.qa-media-link:hover {
  color: var(--white);
}

.qa-media-icon {
  font-size: 1rem;
}

/* GumbyTube accent */
.qa-item--tube .qa-media-link {
  /* color: var(--red-light); */
  color: var(--off-white);
}
.qa-item--tube .qa-media-link:hover {
  color: var(--white);
}
.qa-item--tube:hover {
  /* background: rgba(200, 16, 46, 0.15); */
  background: var(--red-light);
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .qa-item {
    /*border-right: none;*/
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.08);*/
    flex: 1 1 100%;
  }
  .qa-item:last-child {
    border-bottom: none;
  }
  .qa-item--media {
    justify-content: flex-start;
  }
}

/* =====================================================================
   ANNOUNCEMENT BAR (below quick-access-bar)
===================================================================== */
.announcement-bar {
  background: rgb(230, 240, 253);
  border-bottom: 1px solid var(--blue);
  padding: 1rem 1.5rem;
  text-align: center;
}

.announcement-text {
  max-width: 1100px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.announcement-icon,
.timeline-announcement-icon {
  color: var(--red-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.timeline-announcement-bar {
  padding: 1rem 1.5rem;
  text-align: center;
}

.timeline-announcement-text {
  max-width: 1100px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--off-white);
}

/* =====================================================================
   16. MAP SECTION
===================================================================== */
.map-section {
  padding: 3rem 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 side 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;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.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;
}

/* =====================================================================
   17. PDF VIEW SECTION
===================================================================== */
.pdf-view-section {
  padding: 3rem 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;
}

/* =====================================================================
   18. DOCS SECTION
===================================================================== */
.docs-section {
  padding: 3rem 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;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.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;
}

.row-hidden {
  display: none;
}

.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);
}

/* Category badges */
.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-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);
}

/* =====================================================================
   19. FOOTER
===================================================================== */
.footer {
  background: var(--blue);
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

/* Red/white/blue stripe at very 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;
  align-items: start;
  padding: 3.5rem 1.5rem 0;
  margin-bottom: 3rem;
}

.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-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);
  white-space: nowrap;
  transition: background var(--transition);
}

.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;
}

/* =====================================================================
   20. TIMELINE SECTION
===================================================================== */
.timeline-section {
  padding: 3rem 1.5rem;
  background: var(--blue);
  border-top: 4px solid var(--red);
  position: relative;
}

/* Red/white/blue-light gradient top */
.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);
}

/* Phase tabs scrollable row */
.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;
}

.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;
  white-space: nowrap;
  flex: 1;
  min-width: 80px;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.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-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 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: 1rem;
  /* letter-spacing: 0.05em; */
  color: var(--white);
  background: var(--red);
  padding: 2px 4px;
  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);
  flex-shrink: 0;
  transition:
    transform var(--transition),
    color var(--transition);
}

.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;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.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;
  transition:
    background var(--transition),
    color var(--transition);
}

.tl-file:hover {
  background: var(--red);
  color: var(--white);
}

.tl-file-icon {
  font-size: 0.8rem;
}

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

/* =====================================================================
   21. RESPONSIVE BREAKPOINTS
===================================================================== */

/* ── 1024px ── */
@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;
  }
  .quick-access-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Move media panels to their own row */
  .qa-panel--gallery,
  .qa-panel--tube {
    grid-column: span 1;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .btn-login {
    padding: 7px 14px;
    font-size: 0.4rem;
  }

  /* Hero */
  .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-cta {
    justify-content: center;
  }
  .hero-bg-text {
    display: none;
  }

  /* Countdown section */
  .countdown-section-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .countdown-clock-col {
    justify-content: center;
  }
  .countdown-wrap {
    margin-inline: auto;
  }
  .countdown-banner-col {
    align-items: center;
  }

  /* Quick-access bar */
  .quick-access-bar {
    grid-template-columns: 1fr 1fr;
    padding-inline: 1.5rem;
  }
  .qa-panel--gallery,
  .qa-panel--tube {
    grid-column: span 1;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    padding-left: 0;
  }

  /* Docs table — hide category & date columns */
  .col-cat,
  .col-date,
  .docs-table thead th:nth-child(3),
  .docs-table thead th:nth-child(4),
  .docs-table td:nth-child(3),
  .docs-table td:nth-child(4) {
    display: none;
  }

  /* Timeline tabs */
  .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;
  }
}

/* ── 520px ── */
@media (max-width: 520px) {
  .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;
  }

  /* Quick-access bar: single column on very small screens */
  .quick-access-bar {
    grid-template-columns: 1fr;
    padding-inline: 1.5rem;
  }

  .countdown-unit {
    min-width: 52px;
    padding: 8px 10px 5px;
  }
  .countdown-num {
    font-size: 1.8rem;
  }
}

/* ── Donate button ── */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  margin: 0 1rem;
}

.btn-donate:hover {
  background: var(--white);
  color: var(--red);
  box-shadow: 4px 4px 0 var(--red);
  transform: translateY(-1px);
}

.btn-donate-icon {
  font-size: 0.85rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .btn-donate {
    margin: 0 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.4rem;
  }
}

/* ── Bottom phase tabs ── */
.phase-tabs-wrap--bottom {
  margin-top: 2.5rem;
  border-top: 2px solid var(--border-dark);
  padding-top: 2rem;
}
