:root {
  --black: #000;
  --charcoal: #191919;
  --navy: #003862;
  --text: #fff;
  --text-muted: #eaf5f7;
  --heading-font: "Avenir Next", Avenir, Montserrat, sans-serif;
  --body-font: Raleway, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 3vw, 2rem);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

h1,
h2 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.25;
}

p,
address {
  margin: 0 0 0.75rem;
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--black);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  padding: 1.5rem 0 1rem;
  background: var(--black);
}

.brand {
  display: inline-block;
  text-decoration: none;
}

.brand-name {
  display: block;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  display: block;
  font-size: 0.875rem;
}

.site-nav {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.hero {
  display: flex;
  min-height: clamp(360px, 45vw, 560px);
  background: url("images/hero-network.jpg") center / cover no-repeat;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  padding: 3rem var(--gutter);
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.hero-panel h1 {
  font-size: clamp(3rem, 7vw, 4.5rem);
}

.hero-panel p {
  max-width: 24rem;
}

.band {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.band-navy {
  background: var(--navy);
}

.band-charcoal {
  background: var(--charcoal);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem var(--gutter);
  background: var(--black);
  text-align: center;
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.panel p {
  max-width: 26rem;
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 2rem var(--gutter);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-panel {
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
  }

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

  .split-image {
    aspect-ratio: 16 / 9;
  }
}
