:root {
  --bg: #0f1012;
  --ink: #151515;
  --muted: #666b70;
  --paper: #ffffff;
  --soft: #f4f2ef;
  --line: #dedbd5;
  --accent: #c43d32;
  --accent-dark: #8f2a24;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(15, 16, 18, 0.96);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
}

.logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.logo img {
  height: auto;
  width: min(210px, 50vw);
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.mobile-menu a {
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.nav-links .is-active,
.mobile-menu .is-active {
  border-color: var(--accent);
  color: var(--paper);
  outline: none;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  padding: 0.45rem 0.7rem;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu[open] summary {
  border-color: var(--accent);
}

.mobile-menu ul {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.45rem;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.2rem;
  position: absolute;
  right: 0;
  top: 100%;
}

.hero {
  background: var(--bg);
  color: var(--paper);
  display: grid;
  min-height: min(78vh, 760px);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-media img,
.hero-media video {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-media img,
.hero-media video {
  object-fit: cover;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(15, 16, 18, 0.88), rgba(15, 16, 18, 0.44) 54%, rgba(15, 16, 18, 0.2));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  align-self: end;
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 1rem;
  max-width: 820px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 680px;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--bg);
  color: var(--paper);
}

.container {
  margin: 0 auto;
  max-width: var(--max);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.section h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 760px;
}

.dark .lede,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card.dark-card {
  background: #191b1e;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.card-body {
  flex: 1;
  padding: 1.1rem;
}

.feature-card .card-body {
  display: grid;
  gap: 0.72rem;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
}

.feature-card .button {
  align-self: end;
  margin-top: auto;
}

.feature-card h3,
.feature-card p {
  margin-bottom: 0;
}

.feature-icon {
  color: var(--accent);
  fill: none;
  height: 58px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  width: 58px;
}

.card p:last-child,
.section-header p:last-child,
.hero-copy:last-child {
  margin-bottom: 0;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.media-frame {
  border-radius: 6px;
  overflow: hidden;
}

.media-frame img,
.media-frame video {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-player {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.video-player video {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.button {
  align-items: center;
  background: var(--accent);
  border-radius: 6px;
  color: var(--paper);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  outline: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.fact-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin: 1.4rem 0 0;
}

.fact-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.4rem;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  padding: 0.8rem 0;
}

.fact-list dt {
  color: var(--muted);
  font-weight: 700;
}

.fact-list dd {
  margin: 0;
}

.contact-block {
  display: grid;
  gap: 0.45rem;
  font-size: 1.1rem;
}

.contact-block a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
}

.site-footer .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 640px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(15, 16, 18, 0.48), rgba(15, 16, 18, 0.88));
  }

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

  .split .media-frame {
    order: -1;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding-block: 0.75rem;
  }

  .logo img {
    width: min(188px, 54vw);
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 2.4rem;
  }

  .section {
    padding-block: 2.6rem;
  }

  .fact-list div {
    grid-template-columns: 1fr;
  }
}
