:root {
  color-scheme: dark;
  --ink: #f9f4ec;
  --muted: #d6c8b8;
  --night: #08090b;
  --panel: #15181d;
  --red: #bc1717;
  --blue: #112b4a;
  --gold: #f0b24b;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    linear-gradient(90deg, rgba(3, 5, 9, 0.88), rgba(3, 5, 9, 0.54) 47%, rgba(3, 5, 9, 0.16)),
    url("/assets/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, var(--night), transparent);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.navlinks a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.navlinks a:hover,
.navlinks a:focus {
  border-color: var(--gold);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: auto auto 12vh clamp(18px, 6vw, 84px);
}

.wordmark {
  width: min(640px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.56));
}

.hero-copy p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--red);
  border-color: #e94747;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.feature-band {
  padding: 72px 0;
  background: linear-gradient(135deg, #111925, #22180e 58%, #421414);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5.35rem);
}

h2 {
  max-width: 870px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.55;
  max-width: 560px;
}

.video-panel {
  border: 1px solid var(--line);
  background: #060708;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.plain-section,
.resource-section {
  padding: 72px 0;
}

.plain-section {
  background: #0e1115;
}

.resource-section {
  background: #f4eee7;
  color: #181312;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.grid article {
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.grid p {
  color: var(--muted);
  line-height: 1.55;
}

.grid a,
.resource-list a,
footer a {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.resource-list li {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(22, 20, 19, 0.22);
  border-radius: 8px;
  background: #fffaf4;
}

.banner-strip {
  background: #050607;
}

.banner-strip img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #050607;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    min-height: 92vh;
    background-position: center right 34%;
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand span {
    max-width: 220px;
  }

  .hero-copy {
    margin-bottom: 9vh;
  }

  .split,
  .grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .video-panel {
    order: -1;
  }
}
