:root {
  --blue: #00a0df;
  --ink: #261e15;
  --muted: rgba(38, 30, 21, 0.72);
  --line: rgba(38, 30, 21, 0.12);
  --paper: #ffffff;
  --panel: #f6f8f9;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Heebo, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo img {
  width: 196px;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  text-transform: uppercase;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  border-color: var(--blue);
}

.hero {
  position: relative;
  min-height: 893px;
  isolation: isolate;
  overflow: hidden;
  background: #111;
}

.hero.compact {
  min-height: 640px;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 700ms ease;
  background-position: center;
  background-size: cover;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.22);
}

.hero h1 {
  width: min(1050px, calc(100% - 36px));
  margin: 88px auto 0;
  color: #fff;
  text-align: center;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(45px, 8vw, 118px);
  line-height: 0.96;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 6vw, 98px);
  right: clamp(18px, 6vw, 98px);
  bottom: 72px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hero-button {
  pointer-events: auto;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.3);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.hero-button:hover,
.hero-button:focus {
  background: var(--blue);
}

.quick-info {
  width: min(var(--max), calc(100% - 40px));
  margin: -118px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  color: #fff;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.quick-info span {
  display: inline-block;
  padding-bottom: 13px;
  border-bottom: 3px solid #fff;
}

.quick-info span:last-child {
  justify-self: end;
}

.section {
  padding: 80px 0;
}

.section.tight {
  padding: 50px 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 28px;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 400;
}

mark {
  color: var(--blue);
  background: transparent;
}

.about-card {
  width: 64%;
  min-width: 300px;
  border-left: 4px solid var(--blue);
  padding: 15px 0 15px 30px;
  color: var(--muted);
}

.about-card h2,
.content h2,
.content h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 43px;
  line-height: 1.05;
  font-weight: 400;
  text-transform: uppercase;
}

.about-card p {
  margin: 0;
}

.image-panel {
  min-height: 640px;
  margin-right: -75%;
  background-position: center;
  background-size: cover;
}

.content {
  max-width: 900px;
  color: var(--muted);
}

.content p {
  margin: 0 0 20px;
}

.content ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-nav a {
  display: inline-flex;
  justify-content: center;
  min-width: 138px;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:first-of-type {
  grid-column: 2;
}

.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--ink);
}

.copyright {
  padding: 28px 20px;
  text-align: center;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 40;
  background: #fff;
  padding: 8px 12px;
}

.skip-link:focus {
  left: 12px;
}

@media (max-width: 900px) {
  .header-inner {
    width: min(var(--max), calc(100% - 28px));
    min-height: 72px;
  }

  .logo img {
    width: 164px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
  }

  .site-nav.open {
    display: grid;
    gap: 14px;
  }

  .hero {
    min-height: 500px;
  }

  .hero.compact {
    min-height: 500px;
  }

  .hero h1 {
    margin-top: 72px;
  }

  .hero-controls {
    left: 8px;
    right: 8px;
    bottom: 42px;
  }

  .hero-button {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .quick-info {
    width: min(540px, calc(100% - 20px));
    margin-top: -65px;
    gap: 12px;
    font-size: 16px;
  }

  .quick-info span {
    padding-bottom: 5px;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    width: min(540px, calc(100% - 28px));
  }

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

  .about-card {
    width: 100%;
    min-width: 0;
    padding: 10px 0 10px 15px;
  }

  .about-card h2,
  .content h2,
  .content h3 {
    font-size: 30px;
  }

  .image-panel {
    min-height: 300px;
    margin-right: 0;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-nav a,
  .footer-nav a:first-of-type {
    grid-column: auto;
    width: min(260px, 100%);
    margin: 0 auto;
  }
}
