.quote {
  position: relative;
  isolation: isolate;
  background: var(--cognac);
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(181, 93, 33, .82), rgba(44, 32, 26, .84)),
    url("assets/Chess-Board-02.webp") center 58% / cover no-repeat;
  filter: grayscale(1) contrast(1.06);
}

@media (max-width: 739px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(44, 32, 26, .24), rgba(44, 32, 26, .82)),
      url("assets/Crowd-02.webp") center 60% / cover no-repeat;
  }
}

.hero-inner {
  gap: 20px;
}

.hero-copy {
  max-width: 780px;
  margin: 0;
  color: rgba(248, 233, 214, .9);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
}

.services .section-intro {
  max-width: 860px;
}

.nav-links a {
  padding: 10px 2px;
  transition: color .2s ease, border-color .2s ease;
}

.nav-links a:last-child {
  padding: 12px 17px;
  border: 1px solid rgba(248, 233, 214, .72);
  background: rgba(248, 233, 214, .08);
}

.nav-links a:last-child:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--espresso);
}

.service-stack {
  border-top: 0;
}

.service {
  position: relative;
  gap: clamp(16px, 2.5vw, 34px);
  padding: clamp(30px, 4vw, 52px) clamp(20px, 3vw, 38px);
  border: 1px solid rgba(44, 32, 26, .22);
  border-bottom: 0;
  background: rgba(248, 233, 214, .28);
  overflow: hidden;
}

.service:last-child {
  border-bottom: 1px solid rgba(44, 32, 26, .22);
}

.service:nth-child(even) {
  background: rgba(255, 255, 255, .34);
}

.service .num {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  opacity: .88;
}

.service h3 {
  max-width: 10ch;
}

.service p {
  line-height: 1.55;
}

.photo-break {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: clamp(220px, 24vw, 340px);
  overflow: hidden;
  background: var(--brown, #2c201a);
}

.photo-break--approach {
  grid-template-columns: 1fr 1.35fr;
}

.photo-break__image {
  position: relative;
  min-height: 100%;
  background-position: center;
  background-size: cover;
  filter: saturate(.78) contrast(1.06);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
}

.photo-break:hover .photo-break__image {
  transform: scale(1.018);
  filter: saturate(.9) contrast(1.06);
}

.photo-break__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(44, 32, 26, .18), rgba(181, 93, 33, .22)),
    linear-gradient(0deg, rgba(44, 32, 26, .12), transparent 60%);
}

.photo-break__image--track {
  background-image: url("assets/Race-Track-Crowd.webp");
  background-position: center 45%;
}

.photo-break__image--scoreboard {
  background-image: url("assets/Scoreboard.webp");
}

.photo-break__image--flyover {
  background-image: url("assets/Fly-Over.webp");
}

.photo-break__image--chess {
  background-image: url("assets/Chess-Board-01.webp");
}

.kicker {
  color: #7B3A16;
}

.approach {
  background: #fbf1e4;
}

.approach .card {
  border: 0;
  border-top: 3px solid var(--cognac);
  background: var(--cream);
  box-shadow: 0 18px 45px rgba(44, 32, 26, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.approach .card:nth-child(even) {
  border-top-color: var(--turf);
}

.approach .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(44, 32, 26, .13);
}

.button {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

:where(a, button):focus-visible {
  outline: 3px solid #F8E9D6;
  outline-offset: 4px;
}

.intro :where(a, button):focus-visible,
.services :where(a, button):focus-visible,
.approach :where(a, button):focus-visible {
  outline-color: #2C201A;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid rgba(248, 233, 214, .7);
  background: rgba(44, 32, 26, .72);
  color: var(--cream);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

@media (max-width: 739px) {
  .nav {
    position: fixed;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: var(--edge);
    left: var(--edge);
    display: none;
    padding: 18px;
    border: 1px solid rgba(248, 233, 214, .28);
    background: rgba(44, 32, 26, .98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .nav-links a:last-child {
    margin-top: 6px;
    justify-content: center;
  }

  .photo-break,
  .photo-break--approach {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .photo-break__image {
    min-height: 210px;
  }

  .photo-break__image:nth-child(2) {
    display: none;
  }

  .service {
    padding: 28px 22px 32px;
  }

  .service .num {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .approach .card,
  .photo-break__image {
    transition: none;
  }
}
