:root {
  --bg: #07111f;
  --panel: #0f1b2d;
  --panel-soft: #15253c;
  --text: #e8eef9;
  --muted: #9fb1cb;
  --accent: #72b7ff;
  --accent-2: #8ef0d0;
  --warning: #ffcc7a;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 36px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(82, 112, 154, 0.18), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #0b1628 100%);
  color: var(--text);
}

.body--locked {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 1.25rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.18), rgba(4, 8, 16, 0.84)),
    radial-gradient(circle at 20% 22%, rgba(103, 155, 100, 0.42), transparent 20%),
    radial-gradient(circle at 72% 28%, rgba(120, 166, 212, 0.28), transparent 18%),
    radial-gradient(circle at 49% 72%, rgba(164, 145, 92, 0.26), transparent 23%),
    linear-gradient(66deg, transparent 42%, rgba(50, 54, 59, 0.08) 45%, rgba(68, 72, 78, 0.96) 47%, rgba(106, 111, 116, 0.96) 50%, rgba(68, 72, 78, 0.96) 53%, rgba(50, 54, 59, 0.08) 55%, transparent 58%),
    repeating-linear-gradient(66deg, transparent 0 47.7%, rgba(255, 255, 255, 0.84) 47.7% 48.2%, transparent 48.2% 52%),
    linear-gradient(135deg, #243329 0%, #5f724e 25%, #7d7650 45%, #4e596d 70%, #243040 100%);
  filter: saturate(1.08) contrast(1.06);
}

.hero__inner,
.main-shell,
.footer {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero__inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 21, 35, 0.72), rgba(12, 21, 35, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
  margin-bottom: 2rem;
}

.eyebrow,
.section-label,
.airfield-banner__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  max-width: 860px;
  margin-bottom: 1rem;
}

.lead {
  color: #dbe6f7;
  font-size: 1.16rem;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.hero__meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__meta span,
.badge,
.rank-pill {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(114, 183, 255, 0.12);
  border: 1px solid rgba(114, 183, 255, 0.2);
  color: #dcebff;
  font-size: 0.92rem;
}

.rank-pill {
  background: rgba(142, 240, 208, 0.12);
  border-color: rgba(142, 240, 208, 0.24);
  color: #d7fff5;
}

.main-shell {
  padding: 2rem 0 0;
}

.list-shell {
  margin-bottom: 2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.muted {
  color: var(--muted);
}

.filter-shell {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(12, 21, 35, 0.72);
  box-shadow: var(--shadow);
}

.filter-intro {
  margin-bottom: 1rem;
}

.filter-intro .muted {
  margin-bottom: 0;
  max-width: 72ch;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.filter-chip {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(142, 240, 208, 0.1);
  border: 1px solid rgba(142, 240, 208, 0.18);
  color: #d9fff7;
  font-size: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field span {
  font-size: 0.92rem;
  color: #dbe6f7;
}

.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 15, 28, 0.78);
  color: var(--text);
  font: inherit;
}

.banner-list {
  display: grid;
  gap: 1rem;
}

.airfield-banner {
  position: relative;
  border: 0;
  border-radius: 28px;
  min-height: 280px;
  overflow: hidden;
  text-align: left;
  color: white;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.airfield-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 23, 0.18), rgba(7, 13, 23, 0.03) 45%, rgba(7, 13, 23, 0.38)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 8px);
  pointer-events: none;
}

.airfield-banner:hover,
.airfield-banner:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.34);
  outline: none;
}

.airfield-banner__inner {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.airfield-banner__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.airfield-banner__body {
  max-width: 680px;
  padding: 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7, 13, 23, 0.28), rgba(7, 13, 23, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.airfield-banner__body h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.65rem;
}

.airfield-banner__meta {
  font-size: 1rem;
  color: #e6eef7;
  margin-bottom: 0.85rem;
}

.airfield-banner__scoreline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.metric-pill {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f0f7ff;
  font-size: 0.88rem;
}

.airfield-banner__text {
  color: #d3deeb;
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}

.info-card {
  background: rgba(15, 27, 45, 0.84);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.warning-card {
  border-color: rgba(255, 204, 122, 0.22);
  background: rgba(50, 35, 12, 0.7);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.score-card {
  background: rgba(10, 20, 34, 0.84);
  border: 1px solid rgba(114, 183, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.score-card--subtle {
  background: rgba(14, 25, 41, 0.78);
}

.score-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #d5e1ef;
  line-height: 1.65;
}

.project-links a,
.source-link {
  color: #dff5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(223, 245, 255, 0.3);
}

.project-links a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 27, 45, 0.84);
  box-shadow: var(--shadow);
}

.project-links a:hover,
.source-link:hover {
  border-bottom-color: rgba(223, 245, 255, 0.8);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.overlay.hidden {
  display: none;
}

.overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(8px);
}

.overlay__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: 1rem auto;
  border-radius: 28px;
  background: #0d1625;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}

.overlay__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 15, 28, 0.65);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.overlay-hero {
  min-height: 340px;
  padding: 1.5rem;
  display: flex;
  align-items: end;
}

.overlay-hero__content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0.4rem;
}

.overlay-body {
  padding: 1.5rem;
}

.overlay-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.overlay-stat {
  background: rgba(15, 27, 45, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0.95rem 1rem;
}

.overlay-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.overlay-stat strong {
  font-size: 1rem;
}

.overlay-intro {
  color: #d6dfed;
  font-size: 1.06rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.data-item,
.detail-callout {
  background: var(--panel-soft);
  border-radius: 18px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.data-item span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.data-item strong {
  font-size: 1rem;
}

.detail-callout {
  margin-top: 1rem;
}

.detail-callout--secondary {
  background: rgba(13, 34, 49, 0.9);
}

.detail-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.footer {
  padding: 0 0 3rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .info-grid,
  .score-grid,
  .data-grid,
  .overlay-stats,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .airfield-banner__body {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 64vh;
  }

  .hero__inner,
  .overlay-body,
  .overlay-hero {
    padding: 1.2rem;
  }

  .section-head,
  .airfield-banner__top {
    flex-direction: column;
    align-items: flex-start;
  }
}
