:root {
  --bg: #101113;
  --panel: #191b20;
  --ink: #f7f7f2;
  --muted: #b8babf;
  --orange: #ff6b2c;
  --yellow: #ffd166;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4vw;
  background: rgba(16,17,19,.94);
  border-bottom: 2px solid var(--orange);
}
.logo { color: var(--yellow); letter-spacing: .08em; }
nav { display: flex; gap: 22px; }
nav a { color: var(--ink); text-decoration: none; font-family: Arial, sans-serif; font-weight: 800; }
#navButton { display: none; background: var(--orange); border: 0; color: white; padding: 10px 16px; font-weight: 900; }

.hero {
  min-height: 88vh;
  padding: 80px 4vw;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.route-line {
  position: absolute;
  inset: auto -10% 18% -10%;
  height: 120px;
  border-top: 10px dashed var(--orange);
  transform: rotate(-6deg);
  opacity: .7;
}
.hero-copy { position: relative; max-width: 1050px; z-index: 1; }
.badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 8px 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font: 900 .74rem Arial, sans-serif;
}
h1, h2 {
  margin: 18px 0;
  line-height: .86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
h1 { font-size: clamp(4rem, 10vw, 10rem); }
h2 { font-size: clamp(3rem, 7vw, 7rem); }
h3 { margin: 0 0 10px; color: var(--yellow); font-size: 1.65rem; }
p {
  color: var(--muted);
  line-height: 1.65;
  font-family: Arial, sans-serif;
}
.hero-copy p:not(.badge) { max-width: 820px; font-size: 1.18rem; }
.button {
  display: inline-block;
  margin-top: 22px;
  padding: 16px 24px;
  background: var(--yellow);
  color: var(--bg);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 1000;
}

section { padding: 90px 4vw; }
.headline { max-width: 960px; }
.rescue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.rescue-grid article {
  background: var(--panel);
  padding: 26px;
  border: 2px solid #2f333b;
  transform: skewY(-1deg);
}
.rescue-grid span { color: var(--orange); font-size: 2.8rem; }

.missions { background: var(--orange); }
.missions h2 { color: white; }
.mission-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mission-board div {
  background: var(--bg);
  padding: 26px;
  min-height: 220px;
}
.mission-board strong { display: block; color: var(--yellow); font-size: 1.35rem; margin-bottom: 10px; }

.command {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 44px;
  align-items: center;
}
.panel {
  background: var(--panel);
  padding: 32px;
  border: 2px solid var(--yellow);
}
.progress {
  height: 28px;
  background: #2f333b;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width .3s ease;
}
#boost {
  border: 0;
  background: var(--orange);
  color: white;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
}

.story {
  background: var(--yellow);
  color: var(--bg);
}
.story p { color: #3f3321; max-width: 1050px; font-size: 1.2rem; }
.contact { background: white; color: var(--bg); }
.contact h2, .contact p { color: var(--bg); }
.contact a { color: var(--orange); font-size: 1.6rem; font-family: Arial, sans-serif; font-weight: 1000; }

@media (max-width: 900px) {
  nav { display: none; position: absolute; inset: 62px 0 auto 0; background: var(--bg); padding: 20px 4vw; flex-direction: column; }
  nav.open { display: flex; }
  #navButton { display: block; }
  .rescue-grid, .mission-board, .command { grid-template-columns: 1fr; }
}
