@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000000;
  --white: #ffffff;
  --page-gutter: 4vw;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--black);
  transform: translateY(-160%);
}

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

.site-header {
  display: flex;
  align-items: center;
  min-height: 148px;
  padding: 1vw var(--page-gutter);
}

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

.brand img {
  width: auto;
  height: 124px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  min-height: clamp(620px, 51vw, 780px);
  padding: 0 var(--page-gutter) clamp(4rem, 7vw, 8rem);
}

.hero__copy {
  align-self: center;
  padding-left: clamp(0rem, 4vw, 5rem);
}

.hero h1 {
  font-size: clamp(3rem, 4.45vw, 4rem);
  max-width: 13ch;
}

.hero p {
  max-width: 43ch;
  margin-top: clamp(2rem, 3vw, 3.5rem);
}

.hero__media {
  min-height: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  padding: 10vmax var(--page-gutter);
}

.services > h2 {
  padding-bottom: 70px;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

.service {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: clamp(1.5rem, 2vw, 2.25rem);
}

.service__copy {
  display: grid;
  gap: 1rem;
}

.service h3 {
  font-size: 1.2rem;
}

.service p {
  max-width: 100%;
  font-size: 0.9rem;
}

.service__media {
  aspect-ratio: 4 / 3;
  margin-top: auto;
  overflow: hidden;
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
  padding: 7vmax var(--page-gutter) 9vmax;
}

.location__copy {
  padding-left: clamp(0rem, 4vw, 5rem);
}

.location h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.9rem, 2.35vw, 2.2rem);
}

.location address,
.site-footer address {
  font-style: normal;
}

.map-card {
  position: relative;
  aspect-ratio: 1.709 / 1;
  overflow: hidden;
  background: #777777;
}

.map-card::after {
  position: absolute;
  inset: 0;
  z-index: 7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
  pointer-events: none;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.06);
}

.site-footer {
  padding: 7vmax var(--page-gutter) 8vmax;
  text-align: center;
}

.site-footer h2 {
  margin-bottom: 1.3rem;
  font-size: 1.6rem;
}

.site-footer address {
  font-size: 1.4rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services__grid {
    gap: 36px;
  }

  .location {
    grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 6vw;
  }

  .site-header {
    min-height: 0;
    padding-top: 6vw;
    padding-bottom: 6vw;
  }

  .brand img {
    width: auto;
    height: 31px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3.25rem;
    min-height: 0;
    padding-top: 10vw;
    padding-bottom: 14vw;
  }

  .hero__copy,
  .location__copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11.2vw, 4rem);
  }

  .hero p {
    margin-top: 2rem;
  }

  .hero__media {
    aspect-ratio: 4 / 5;
  }

  .services {
    padding-top: 16vw;
    padding-bottom: 16vw;
  }

  .services > h2 {
    padding-bottom: 3.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .service {
    gap: 1.5rem;
  }

  .location {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 16vw;
    padding-bottom: 18vw;
  }

  .map-card {
    aspect-ratio: 1.2 / 1;
  }

  .site-footer {
    padding-top: 16vw;
    padding-bottom: 20vw;
  }

  .site-footer address {
    font-size: clamp(1.05rem, 5vw, 1.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
