* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("assets/fonts/SairaCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("assets/fonts/SairaCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("assets/fonts/SairaCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  color-scheme: dark;
  --bg-0: #05090c;
  --bg-1: #091416;
  --bg-2: #102526;
  --panel-0: rgba(8, 16, 20, 0.9);
  --panel-1: rgba(11, 23, 26, 0.92);
  --panel-2: rgba(14, 33, 35, 0.92);
  --panel-3: rgba(20, 49, 50, 0.88);
  --line-soft: rgba(77, 243, 227, 0.12);
  --line: rgba(77, 243, 227, 0.34);
  --line-strong: rgba(99, 255, 242, 0.74);
  --accent: #4df3e3;
  --accent-2: #79fff1;
  --accent-muted: #95c4bf;
  --text: #ddfffb;
  --warm: #f2bb68;
  --warm-line: rgba(242, 187, 104, 0.34);
  --warm-soft: rgba(242, 187, 104, 0.08);
  --shadow: 0 0 0 1px rgba(77, 243, 227, 0.06), 0 18px 48px rgba(0, 0, 0, 0.34);
  --hero-shadow: linear-gradient(90deg, rgba(4, 8, 11, 0.92), rgba(4, 8, 11, 0.7) 38%, rgba(4, 8, 11, 0.28) 72%, rgba(4, 8, 11, 0.08));
  --max-width: 1240px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(60, 133, 125, 0.16), transparent 34%),
    linear-gradient(180deg, #091214 0%, #05080a 100%);
  color: var(--text);
  font-family: "Saira Condensed", "Bahnschrift", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.02em;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-backdrop,
.site-glow,
.site-grid,
.site-scanlines,
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-backdrop {
  z-index: -1;
}

.site-glow {
  background:
    radial-gradient(circle at 20% 16%, rgba(77, 243, 227, 0.12), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(230, 120, 86, 0.08), transparent 22%);
}

.site-grid {
  background-image:
    linear-gradient(rgba(77, 243, 227, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 243, 227, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03));
}

.site-scanlines {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 50%, rgba(0, 0, 0, 0.02) 50%);
  background-size: 100% 3px;
  opacity: 0.28;
}

.site-noise {
  opacity: 0.04;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 0.42px, transparent 0.65px);
  background-size: 8px 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background 160ms ease, border-color 160ms ease, backdrop-filter 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 12, 14, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.header-shell,
.footer-shell,
.hero-shell,
.content-section,
.briefing-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-shell {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand-mark,
.footer-brand {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--text);
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--accent-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.header-nav a,
.footer-links a {
  position: relative;
}

.header-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 120ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(86, 239, 255, 0.24);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, color 120ms ease, transform 120ms ease;
}

.header-cta-group,
.briefing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-cta,
.button-primary {
  background: linear-gradient(180deg, rgba(49, 182, 171, 0.9), rgba(18, 82, 78, 0.92));
  box-shadow: inset 0 0 0 1px rgba(160, 255, 248, 0.1);
}

.header-cta-alt,
.button-donate {
  background: linear-gradient(180deg, rgba(157, 118, 58, 0.92), rgba(94, 63, 25, 0.94));
  border-color: rgba(242, 187, 104, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 158, 0.08);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(86, 239, 255, 0.18);
  background: linear-gradient(180deg, rgba(15, 34, 39, 0.9), rgba(8, 18, 22, 0.94));
  box-shadow: inset 0 0 0 1px rgba(99, 255, 242, 0.04);
  color: var(--text);
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, color 120ms ease, transform 120ms ease;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.button-secondary {
  background: linear-gradient(180deg, rgba(21, 48, 52, 0.78), rgba(9, 20, 24, 0.9));
  color: var(--accent-muted);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.social-icon-link:hover,
.social-icon-link:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(99, 255, 242, 0.16), 0 0 18px rgba(99, 255, 242, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  border-bottom: 1px solid var(--line-soft);
}

.section-frame {
  position: relative;
}

.section-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(77, 243, 227, 0.06);
  pointer-events: none;
}

.hero-media,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(3, 9, 10, 0.28), rgba(3, 9, 10, 0.52)),
    var(--hero-shadow);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(77, 243, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 243, 227, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.14) 80%, transparent);
}

.hero-shell {
  position: relative;
  z-index: 1;
  padding: 140px 0 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}

.hero-title,
.section-heading h2,
.briefing-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 9ch;
}

.hero-copy {
  max-width: 34rem;
  margin: 18px 0 0;
  color: rgba(221, 255, 251, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 44px;
  width: 100%;
}

.metric-card,
.detail-card,
.callout-card {
  background: linear-gradient(180deg, rgba(11, 24, 28, 0.94), rgba(7, 14, 18, 0.94));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.metric-card {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 92px;
  padding: 16px 18px;
  width: fit-content;
  max-width: 100%;
}

.metric-label,
.callout-tag {
  display: block;
  color: var(--accent-muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 0;
  font-size: clamp(1.02rem, 1.55vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-section {
  padding: 112px 0;
}

.content-section-split {
  display: grid;
  gap: 34px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.briefing-copy h2 {
  max-width: none;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.media-panel,
.wide-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(10, 18, 22, 0.94), rgba(5, 11, 14, 0.98));
  box-shadow: var(--shadow);
}

.media-panel::after,
.wide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 13, 0.14), rgba(6, 10, 13, 0.34)),
    linear-gradient(90deg, rgba(77, 243, 227, 0.03), transparent 52%);
  pointer-events: none;
}

.media-panel img,
.wide-media img,
.wide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.combat-video {
  display: block;
  object-position: center center;
  background: #04080a;
}

.media-panel {
  min-height: 0;
  height: 100%;
}

.media-panel img {
  position: absolute;
  inset: 0;
  object-position: 34% center;
}

.copy-column {
  display: grid;
  gap: 18px;
  height: 100%;
}

.lead,
.briefing-copy p {
  margin: 0;
  color: rgba(221, 255, 251, 0.88);
  font-size: 1.18rem;
  line-height: 1.4;
}

.detail-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.detail-card {
  display: grid;
  grid-template-areas:
    "title"
    "body";
  row-gap: 14px;
  align-content: start;
  min-height: 0;
  padding: 22px 20px 18px;
  background:
    linear-gradient(180deg, rgba(12, 26, 30, 0.96), rgba(7, 15, 19, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(77, 243, 227, 0.04),
    var(--shadow);
}

.detail-card h3,
.callout-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-card h3 {
  grid-area: title;
  justify-self: start;
  max-width: none;
  text-align: left;
  line-height: 1.15;
}

.detail-card p,
.callout-card p,
.footer-note {
  margin: 8px 0 0;
  color: var(--accent-muted);
  line-height: 1.35;
  font-size: 1rem;
}

.detail-card p {
  grid-area: body;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(77, 243, 227, 0.12);
}

.content-section-wide {
  display: grid;
  gap: 28px;
}

.wide-media {
  min-height: 580px;
}

.developer-note {
  padding: 24px 24px 22px;
  border: 1px solid rgba(77, 243, 227, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 26, 30, 0.96), rgba(7, 15, 19, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(77, 243, 227, 0.04),
    var(--shadow);
}

.developer-note-tag {
  display: inline-flex;
  align-items: center;
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.developer-note-tag::before {
  content: "";
  width: 38px;
  height: 1px;
  margin-right: 12px;
  background: rgba(242, 187, 104, 0.7);
}

.developer-note-copy {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.developer-note-copy p {
  margin: 0;
  color: rgba(221, 255, 251, 0.84);
  font-size: 1.05rem;
  line-height: 1.5;
}

.briefing-section {
  padding: 0 0 92px;
}

.briefing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 46, 45, 0.9), rgba(7, 18, 19, 0.96));
  box-shadow: var(--shadow);
}

.briefing-copy h2 {
  margin-top: 14px;
  max-width: 14ch;
}

.blog-page {
  min-height: 100vh;
}

.blog-hero {
  padding-top: var(--header-height);
}

.blog-hero-shell {
  padding-top: 96px;
  padding-bottom: 56px;
}

.blog-hero-copy {
  max-width: 760px;
}

.blog-hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero-copy p {
  max-width: 42rem;
  margin: 18px 0 0;
  color: rgba(221, 255, 251, 0.82);
  font-size: 1.08rem;
  line-height: 1.5;
}

.blog-feed-section {
  padding-top: 32px;
}

.blog-feed {
  display: grid;
  gap: 18px;
}

.blog-entry {
  padding: 24px 24px 22px;
  border: 1px solid rgba(77, 243, 227, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 26, 30, 0.96), rgba(7, 15, 19, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(77, 243, 227, 0.04),
    var(--shadow);
}

.blog-entry-meta {
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-entry-title {
  margin: 14px 0 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.blog-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(77, 243, 227, 0.14);
  background: rgba(77, 243, 227, 0.05);
  color: var(--accent-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-entry-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.blog-media-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(77, 243, 227, 0.12);
  background: linear-gradient(180deg, rgba(10, 18, 22, 0.94), rgba(5, 11, 14, 0.98));
  box-shadow: inset 0 0 0 1px rgba(77, 243, 227, 0.04);
}

.blog-media-item img,
.blog-media-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #04080a;
}

.blog-media-caption {
  padding: 10px 12px 12px;
  color: var(--accent-muted);
  font-size: 0.92rem;
  line-height: 1.4;
  border-top: 1px solid rgba(77, 243, 227, 0.08);
}

.blog-entry-body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(77, 243, 227, 0.12);
}

.blog-entry-body p {
  margin: 0;
  color: rgba(221, 255, 251, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.blog-entry-tables {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.blog-table-block {
  padding: 18px 18px 16px;
  border: 1px solid rgba(77, 243, 227, 0.12);
  background: linear-gradient(180deg, rgba(10, 22, 26, 0.96), rgba(6, 13, 17, 0.98));
  box-shadow: inset 0 0 0 1px rgba(77, 243, 227, 0.04);
}

.blog-table-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.blog-table-note {
  margin: 12px 0 0;
  color: rgba(221, 255, 251, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}

.blog-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid rgba(77, 243, 227, 0.1);
  background: rgba(4, 10, 13, 0.74);
}

.blog-data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.blog-data-table th,
.blog-data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(77, 243, 227, 0.08);
  vertical-align: top;
}

.blog-data-table th {
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(77, 243, 227, 0.06);
  position: sticky;
  top: 0;
}

.blog-data-table td {
  color: rgba(221, 255, 251, 0.82);
  font-size: 0.96rem;
  line-height: 1.4;
}

.blog-data-table tbody tr:nth-child(even) td {
  background: rgba(77, 243, 227, 0.025);
}

.blog-data-table tbody tr:hover td {
  background: rgba(77, 243, 227, 0.055);
}

.site-footer {
  border-top: 1px solid rgba(77, 243, 227, 0.08);
  padding: 24px 0 40px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--accent-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 2px;
}

@media (max-width: 1120px) {
  .split-layout,
  .briefing-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .detail-stack {
    grid-template-rows: none;
    height: auto;
  }
}

@media (max-width: 840px) {
  .header-shell {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 14px 0;
    gap: 12px;
  }

  .header-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-shell {
    padding: 164px 0 54px;
  }

  .hero-title,
  .section-heading h2,
  .briefing-copy h2 {
    letter-spacing: 0.06em;
  }

  .hero-metrics {
    flex-direction: column;
  }

  .metric-card strong {
    white-space: normal;
  }

  .media-panel {
    min-height: 360px;
    height: auto;
  }

  .wide-media {
    min-height: 340px;
  }

  .blog-hero-shell {
    padding-top: 74px;
    padding-bottom: 34px;
  }
}

@media (max-width: 640px) {
  .header-shell,
  .footer-shell,
  .hero-shell,
  .content-section,
  .briefing-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .content-section {
    padding: 84px 0;
  }

  .briefing-section {
    padding-bottom: 72px;
  }

  .hero-copy,
  .lead,
  .briefing-copy p,
  .detail-card p,
  .callout-card p,
  .footer-note,
  .blog-entry-body p,
  .blog-hero-copy p {
    font-size: 0.98rem;
  }

  .detail-card {
    grid-template-areas:
      "title"
      "body";
    row-gap: 12px;
  }

  .detail-card h3 {
    justify-self: start;
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
