/* ===========================
   RACCOON CITY — STYLE.CSS
   Modern Dark Horror Theme
   =========================== */

/* RESET & BASE */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c0392b;
  --red-dark: #922b21;
  --red-glow: #e74c3c;
  --amber: #e67e22;
  --dark-bg: #080a0d;
  --dark-card: #0e1117;
  --dark-2: #111620;
  --dark-3: #181f2a;
  --border: rgba(192, 57, 43, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --text-primary: #e8e0d0;
  --text-secondary: #8a8f99;
  --text-muted: #555d6b;
  --font-title: "Bebas Neue", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-serif: "Crimson Pro", serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-red: 0 0 30px rgba(192, 57, 43, 0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

/* ===========================
   PRELOADER
   =========================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  text-align: center;
}
.biohazard-symbol {
  font-size: 5rem;
  color: var(--red);
  display: block;
  animation: spinPulse 2s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(192, 57, 43, 0.7);
  margin-bottom: 1.5rem;
}
@keyframes spinPulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.7;
  }
}
.preloader-text {
  font-family: var(--font-title);
  letter-spacing: 0.4em;
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-bottom: 2rem;
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  animation: fillBar 2s ease-in-out forwards;
}
@keyframes fillBar {
  to {
    width: 100%;
  }
}

/* ===========================
   NAVIGATION
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}
.logo-symbol {
  font-size: 1.6rem;
  color: var(--red);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(192, 57, 43, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(192, 57, 43, 0.9);
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 10, 13, 0.85) 0%,
    rgba(30, 5, 5, 0.7) 50%,
    rgba(8, 10, 13, 0.9) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 2rem;
}
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-glow);
  border: 1px solid var(--border);
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  animation: fadeDown 0.8s ease 0.5s both;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow:
    0 0 60px rgba(192, 57, 43, 0.4),
    0 0 120px rgba(192, 57, 43, 0.2);
  animation: fadeUp 0.8s ease 0.7s both;
  margin-bottom: 0.3rem;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--red-glow);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.9s both;
}
.hero-desc {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeUp 0.8s ease 1.1s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s ease 1.3s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--border-subtle);
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow-red);
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 1.5s both;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--red-glow);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   TICKER
   =========================== */
.ticker-wrap {
  background: var(--red-dark);
  overflow: hidden;
  position: relative;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(192, 57, 43, 0.5);
  border-bottom: 1px solid rgba(192, 57, 43, 0.5);
}
.ticker {
  display: inline-flex;
  gap: 5rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 6rem 0;
}
.section-dark {
  background: var(--dark-2);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-glow);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}

/* OVERVIEW CARDS */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.overview-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}
.overview-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.overview-card:hover::before {
  transform: scaleX(1);
}
.overview-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    var(--shadow-red);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}
.overview-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1rem;
}
.overview-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===========================
   TIMELINE
   =========================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border) 10%,
    var(--border) 90%,
    transparent
  );
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 47%;
  padding: 1.5rem 0;
}
.timeline-item.left {
  margin-right: auto;
  padding-right: 3rem;
}
.timeline-item.right {
  margin-left: auto;
  padding-left: 3rem;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--dark-2);
  box-shadow: 0 0 15px rgba(192, 57, 43, 0.6);
}
.timeline-item.left .timeline-dot {
  right: -7px;
}
.timeline-item.right .timeline-dot {
  left: -7px;
}
.timeline-dot.red {
  background: var(--red-glow);
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.9);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(231, 76, 60, 1);
  }
}
.timeline-content {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  transition: var(--transition);
}
.timeline-content:hover {
  border-color: var(--border);
}
.timeline-content.highlight {
  border-color: var(--red);
  background: rgba(192, 57, 43, 0.08);
  box-shadow: 0 0 30px rgba(192, 57, 43, 0.2);
}
.timeline-date {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.timeline-content h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.7rem;
}
.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   FEATURE CARDS
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  position: relative;
  overflow: hidden;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: var(--transition);
}
.feature-card:hover {
  transform: scale(1.02);
}
.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 10, 13, 0.95) 30%,
    rgba(8, 10, 13, 0.2) 100%
  );
  transition: var(--transition);
}
.feature-card:hover .feature-overlay {
  background: linear-gradient(
    to top,
    rgba(30, 5, 5, 0.98) 40%,
    rgba(30, 5, 5, 0.3) 100%
  );
}
.feature-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.feature-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-glow);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.feature-content h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-glow);
  font-weight: 700;
  transition: var(--transition);
}
.feature-card:hover .feature-link {
  gap: 0.5rem;
  letter-spacing: 0.2em;
}

/* ===========================
   QUOTE SECTION
   =========================== */
.quote-section {
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
  text-align: center;
}
.quote-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.25);
}
.quote-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
}
.quote-symbol {
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: -2rem;
}
blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-primary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
cite {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-glow);
  font-style: normal;
  font-weight: 600;
}

/* ===========================
   DOCUMENTS
   =========================== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.doc-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 24px,
    rgba(255, 255, 255, 0.015) 24px,
    rgba(255, 255, 255, 0.015) 25px
  );
}
.doc-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.doc-stamp {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border: 1px solid;
}
.doc-stamp.classified {
  color: var(--red);
  border-color: var(--red);
}
.doc-stamp.top-secret {
  color: #e67e22;
  border-color: #e67e22;
}
.doc-stamp.warning {
  color: #f1c40f;
  border-color: #f1c40f;
}
.doc-id {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}
.doc-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.doc-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.doc-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.doc-readmore {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-glow);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.doc-card:hover .doc-readmore {
  letter-spacing: 0.2em;
}

/* ===========================
   MEMORIAL
   =========================== */
.memorial-section {
  background: linear-gradient(
    135deg,
    var(--dark-2) 0%,
    rgba(50, 5, 5, 0.3) 50%,
    var(--dark-2) 100%
  );
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.memorial-content {
  max-width: 600px;
  margin: 0 auto;
}
.memorial-icon {
  font-size: 2rem;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
  animation: pulse 3s ease-in-out infinite;
}
.memorial-content h2 {
  font-family: var(--font-title);
  font-size: 3rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.2rem;
}
.memorial-content p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}
.memorial-coords {
  font-family: monospace;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.1em;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-disclaimer {
  font-size: 0.75rem !important;
  color: var(--red-glow) !important;
}
.footer-nav h4,
.footer-info h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-nav ul li,
.footer-info ul li {
  margin-bottom: 0.6rem;
}
.footer-nav ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-nav ul li a:hover {
  color: var(--red-glow);
  padding-left: 6px;
}
.footer-info ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ===========================
   PAGE HEADER (Sub-pages)
   =========================== */
.page-header {
  position: relative;
  padding: 9rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 10, 13, 0.5) 0%,
    var(--dark-bg) 100%
  );
}
.page-header-content {
  position: relative;
  z-index: 1;
}
.page-header-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-glow);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.page-header h1 {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 50px rgba(192, 57, 43, 0.3);
  margin-bottom: 1rem;
}
.page-header p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* PROSE CONTENT */
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 2.5rem 0 1rem;
}
.prose h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.7rem;
}
.prose p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.prose .lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.9;
}
.prose .callout {
  border-left: 3px solid var(--red);
  padding: 1.2rem 1.5rem;
  background: rgba(192, 57, 43, 0.08);
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
}
.prose img {
  width: 100%;
  border: 1px solid var(--border-subtle);
  margin: 2rem 0;
  filter: brightness(0.85) contrast(1.05);
}
.prose .img-caption {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 3rem 0;
}

/* INFO BOX */
.info-box {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  margin: 3rem auto;
  max-width: 820px;
}
.info-box h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--red-glow);
  margin-bottom: 1rem;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid var(--border-subtle);
}
.info-table tr:last-child {
  border-bottom: none;
}
.info-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.info-table td:first-child {
  color: var(--text-muted);
  width: 40%;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* PROFILE CARDS */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.profile-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.profile-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: rgba(192, 57, 43, 0.15);
  border: 2px solid var(--border);
}
.profile-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.profile-role {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1rem;
  font-weight: 700;
}
.profile-status-alive {
  color: #2ecc71 !important;
}
.profile-status-dead {
  color: var(--red-glow) !important;
}
.profile-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===========================
   ANIMATIONS (AOS-like)
   =========================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-aos].animated {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] {
  transition-delay: 0.1s;
}
[data-aos][data-aos-delay="150"] {
  transition-delay: 0.15s;
}
[data-aos][data-aos-delay="200"] {
  transition-delay: 0.2s;
}
[data-aos][data-aos-delay="300"] {
  transition-delay: 0.3s;
}
[data-aos="fade-right"] {
  transform: translateX(-30px);
}
[data-aos="fade-right"].animated {
  transform: translateX(0);
}
[data-aos="fade-left"] {
  transform: translateX(30px);
}
[data-aos="fade-left"].animated {
  transform: translateX(0);
}

/* ===========================
   RESPONSIVE
   =========================== */

/* ── Tablet (≤ 1024px) ──────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .overview-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .docs-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .exec-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Large Mobile / Phablet (≤ 768px) ── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    background: rgba(8, 10, 13, 0.98);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    backdrop-filter: blur(20px);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; letter-spacing: 0.15em; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 0 1.2rem; }
  .hero-tag { font-size: 0.6rem; letter-spacing: 0.25em; padding: 0.35rem 0.9rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-label { font-size: 0.65rem; letter-spacing: 0.12em; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.8rem; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
  .scroll-indicator { display: none; }

  /* Sections */
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .container { padding: 0 1.2rem; }

  /* Ticker */
  .ticker { font-size: 0.7rem; gap: 3rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { height: 260px; }
  .feature-content { padding: 1.5rem; }
  .feature-content h3 { font-size: 1.3rem; }

  /* Timeline */
  .timeline::before { left: 18px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
  .timeline-item.right { text-align: left; }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot { left: 11px; right: auto; }
  .timeline-content { padding: 1.2rem; }
  .timeline-content h3 { font-size: 1.1rem; }

  /* Quote */
  .quote-section { padding: 5rem 1.5rem; }
  .quote-symbol { font-size: 5rem; }

  /* Overview cards */
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card { padding: 2rem; }

  /* Docs grid */
  .docs-grid { grid-template-columns: 1fr; }

  /* Memorial */
  .memorial-section { padding: 4rem 1.5rem; }
  .memorial-content h2 { font-size: 2.2rem; }
  .memorial-content p { font-size: 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 3rem 0 1.5rem; }

  /* Page header (sub-pages) */
  .page-header { padding: 7rem 1.2rem 3.5rem; }
  .page-header h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .page-header p { font-size: 0.95rem; }

  /* Prose */
  .prose h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
  .prose p { font-size: 1rem; }
  .prose .callout { padding: 1rem 1.2rem; font-size: 0.95rem; }
  .prose img { margin: 1.5rem 0; }

  /* Info box */
  .info-box { padding: 1.5rem; margin: 2rem auto; }
  .info-table td { font-size: 0.82rem; }
  .info-table td:first-child { width: 45%; font-size: 0.72rem; }

  /* Profile cards */
  .profile-grid { grid-template-columns: 1fr; }

  /* Sub-page inline grids */
  .map-grid { grid-template-columns: 1fr !important; }
  .exec-grid { grid-template-columns: 1fr !important; }
  .virus-stages { grid-template-columns: repeat(2, 1fr) !important; }

  /* Testimony */
  .testimony-block { padding: 1.5rem; }
  .testimony-text { font-size: 0.95rem; }
}

/* ── Mobile (≤ 480px) ─────────────────── */
@media (max-width: 480px) {
  .nav-logo .logo-text { font-size: 1rem; }
  #navbar { padding: 0 1rem; height: 60px; }
  .nav-links { top: 60px; }

  .hero-tag { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 1rem 2rem; }
  .stat-item { min-width: 80px; }

  .section { padding: 3rem 0; }
  .section-tag { font-size: 0.62rem; letter-spacing: 0.25em; padding: 0.3rem 0.7rem; }

  .timeline::before { left: 14px; }
  .timeline-item { padding-left: 40px; }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot { left: 7px; }

  .feature-card { height: 240px; }

  .virus-stages { grid-template-columns: 1fr !important; }

  .quote-section { padding: 4rem 1.2rem; }
  blockquote { font-size: 1rem; }
  cite { font-size: 0.7rem; }

  .doc-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .doc-stamp { font-size: 0.58rem; }

  .profile-avatar { width: 64px; height: 64px; font-size: 2rem; }

  .page-header { padding: 6rem 1rem 3rem; }

  .info-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 0;
  }
  .info-table td { width: 100% !important; padding: 0; }
  .info-table td:first-child { color: var(--red-glow); margin-bottom: 0.15rem; }

  .footer-logo { font-size: 0.95rem; }
  .footer-bottom { font-size: 0.72rem; }
}

/* ── Very Small / SE (≤ 360px) ─────── */
@media (max-width: 360px) {
  .hero-title { font-size: 4.2rem; }
  .btn-primary, .btn-secondary { padding: 0.8rem 1.5rem; font-size: 0.78rem; }
  .overview-card { padding: 1.5rem; }
  .section-title { font-size: 1.8rem; }
  .memorial-content h2 { font-size: 2rem; }
  .timeline-content { padding: 1rem; }
}
