:root {
  color-scheme: dark;
  --black: #090909;
  --white: #f7f7f7;
  --muted: #cfcfcf;
  --page: min(100%, 1280px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  background: white;
  color: black;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  height: 100px;
  display: grid;
  place-items: center;
  background: var(--black);
}

.site-header nav { display: flex; gap: 1.5rem; }
.site-header a {
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: opacity .2s ease;
}
.site-header a:hover,
.site-header a:focus-visible { opacity: .62; }

main, footer { width: var(--page); margin-inline: auto; }

.hero,
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.hero-image img,
.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brand,
.trust-copy {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 7vw, 6rem);
}

.hero-brand img { width: min(100%, 600px); }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

h1, h2 { font-size: clamp(2rem, 3.2vw, 2.65rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 400; }

.trust { min-height: 560px; }
.trust-copy { text-align: center; }

.performance {
  min-height: 900px;
  padding: clamp(5rem, 9vw, 9rem) 0 3rem;
}

.performance > h2 { text-align: center; margin-bottom: clamp(5rem, 9vw, 8rem); }

.slider {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
}

.slides { grid-column: 2; min-width: 0; }

.slide {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(320px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  animation: reveal .45s ease both;
}

.slide[hidden] { display: none; }
.slide-image { aspect-ratio: 1.15; overflow: hidden; }
.slide-image img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy { text-align: center; padding-right: 2rem; }
.slide-copy h3 { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.slide-copy p { margin: 0 auto; max-width: 38rem; color: var(--white); font-size: 1.05rem; }

.slider-arrow {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: 200 3.2rem/1 Arial, sans-serif;
  padding: 1rem;
  opacity: .8;
  transition: opacity .2s ease, transform .2s ease;
}
.slider-arrow:hover,
.slider-arrow:focus-visible { opacity: 1; transform: scale(1.08); }
.slider-arrow--prev { grid-column: 1; grid-row: 1; }
.slider-arrow--next { grid-column: 3; grid-row: 1; }

.slider-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: .9rem;
  margin-top: 4.25rem;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.dot.is-active { background: var(--white); }

.contact {
  min-height: 600px;
  text-align: center;
  padding: 4rem 1.5rem 8rem;
}
.contact h2 { margin-bottom: 2.25rem; }
.contact address { font-style: normal; }
.contact p { margin: 0 0 2rem; }
.contact a { text-underline-offset: .2em; }
.contact a[href^="tel"] { text-decoration: none; }

footer {
  min-height: 110px;
  display: grid;
  place-items: center;
  font-size: .9rem;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header { height: 76px; }
  .hero, .trust { grid-template-columns: 1fr; min-height: 0; }
  .hero-image, .trust-image { aspect-ratio: 1.05; }
  .hero-brand { min-height: 300px; padding: 3.5rem 2rem; }
  .trust-copy { min-height: 260px; padding: 3rem 1.5rem; }
  .trust-image { order: -1; }
  .performance { padding-top: 5rem; min-height: 790px; }
  .performance > h2 { margin-bottom: 4rem; }
  .slider { grid-template-columns: 46px 1fr 46px; }
  .slide { grid-template-columns: 1fr; gap: 2.5rem; }
  .slide-image { aspect-ratio: 1.15; }
  .slide-copy { padding: 0 1rem; }
  .slide-copy h3 { margin-bottom: 1.5rem; }
  .slider-arrow { font-size: 2.4rem; padding: .25rem; }
  .slider-dots { margin-top: 2.5rem; }
  .contact { min-height: 520px; padding-top: 3rem; }
}

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