:root {
  color-scheme: light;
  --blue: #1f4cb5;
  --black: #050505;
  --white: #fff;
  --ink: #101010;
  --page-pad: clamp(1.25rem, 5.6vw, 5rem);
  font-family: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 100svh);
  min-height: min(760px, 100vh);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}

.hero-image,
.hero-shade,
.contact-banner > img,
.contact-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade,
.contact-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 55%), rgb(0 0 0 / 17%) 38%, rgb(0 0 0 / 72%));
}

.site-header {
  position: absolute;
  inset: 1.1rem var(--page-pad) auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: grid;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.02;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 1px 4px rgb(0 0 0 / 65%);
}

.language-switch {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid rgb(255 255 255 / 45%);
  background: rgb(0 0 0 / 42%);
}

.language-switch button {
  min-width: 2.7rem;
  min-height: 2.45rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--blue);
}

.language-switch button:focus-visible,
.button-link:focus-visible,
a:focus-visible {
  outline: 3px solid #f5c842;
  outline-offset: 3px;
}

.hero-copy {
  align-self: end;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 var(--page-pad) clamp(2.5rem, 7vw, 6rem);
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 0 0 0 auto;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  font-weight: 1000;
  line-height: 0.91;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0.045em 0.06em 0 var(--black);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  min-height: 510px;
  color: var(--white);
  background: var(--black);
}

.intro-copy {
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) var(--page-pad);
}

.intro-copy > div {
  width: min(100%, 610px);
  margin-left: auto;
}

.intro h2,
.services h2 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  font-weight: 1000;
  line-height: 0.98;
}

.intro-copy p:not(.eyebrow) {
  max-width: 39rem;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.button-link {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  text-align: center;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.repair-pair {
  display: grid;
  min-height: 510px;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.repair-pair img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.repair-pair img:first-child {
  object-position: center 45%;
}

.repair-pair img:last-child {
  object-position: center 56%;
}

.reasons {
  padding: clamp(3.75rem, 7vw, 6.5rem) var(--page-pad) clamp(4rem, 8vw, 7rem);
  color: var(--white);
  background: var(--blue);
  text-align: center;
}

.reasons > h2,
.work > h2 {
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 1000;
  line-height: 0.98;
}

.reason-grid {
  display: grid;
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 5vw, 4.5rem);
}

.check-mark {
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1.55rem;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  font-family: "Segoe UI Symbol", sans-serif;
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 0.7;
}

.reason h3,
.work-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 1000;
  line-height: 1.08;
  text-transform: uppercase;
}

.reason p {
  max-width: 19rem;
  margin: 0 auto;
  font-size: clamp(0.96rem, 1.35vw, 1.1rem);
  line-height: 1.42;
}

.services {
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
}

.services-photo {
  min-height: 580px;
  overflow: hidden;
  background: #aaa;
}

.services-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(1);
}

.services-copy {
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 6.8rem);
}

.services h2 {
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 3.75rem);
}

.services ul {
  margin: 2rem 0 0;
  padding-left: 1.35rem;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.work {
  padding: clamp(3.75rem, 7vw, 6.5rem) var(--page-pad) clamp(4.5rem, 8vw, 7rem);
  color: var(--white);
  background: var(--black);
}

.work > h2 {
  text-align: center;
}

.work-grid {
  display: grid;
  width: min(100%, 1160px);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.work-card {
  display: flex;
  min-width: 0;
  min-height: 380px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.55rem clamp(1.2rem, 2.5vw, 2rem) 1.65rem;
  background: var(--blue);
}

.work-card img {
  width: 9rem;
  aspect-ratio: 1;
  align-self: center;
  margin-bottom: 1.45rem;
  border-radius: 50%;
  object-fit: cover;
}

.work-card:first-child img {
  object-position: center 55%;
}

.work-card:last-child img {
  object-position: center 28%;
}

.work-card p {
  margin: 0 0 1.1rem;
  font-size: clamp(0.94rem, 1.45vw, 1.08rem);
  line-height: 1.4;
}

.work-card h3 {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.contact-banner {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #171717;
  isolation: isolate;
  text-align: center;
}

.contact-banner > img {
  z-index: -2;
  object-fit: cover;
  object-position: center 50%;
  filter: grayscale(1);
}

.contact-shade {
  background: rgb(0 0 0 / 62%);
}

.contact-copy {
  width: min(100%, 780px);
  padding: 3rem var(--page-pad);
}

.contact-copy h2 {
  margin: 0 0 0.1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.contact-copy p {
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.contact-copy .button-link {
  width: min(100%, 430px);
  min-height: 4rem;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.site-footer {
  display: grid;
  min-height: 235px;
  align-items: start;
  padding: 3rem var(--page-pad);
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2rem;
  background: var(--white);
}

.footer-brand img {
  width: 150px;
  height: 62px;
  object-fit: cover;
  object-position: center 59%;
}

.footer-brand p {
  margin: 0.55rem 0 0;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 1000;
  line-height: 1.08;
  white-space: pre-line;
  text-transform: uppercase;
}

.footer-column h2 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.footer-column p,
.footer-column a {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: min(690px, 94svh);
    min-height: min(690px, 94vh);
  }

  .hero-image {
    object-position: 52% center;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.05rem, 13vw, 5.7rem);
  }

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

  .intro-copy {
    padding: 3.5rem var(--page-pad);
  }

  .intro-copy > div {
    margin: 0 auto;
  }

  .repair-pair {
    min-height: 420px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .reason-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .reasons > h2 {
    max-width: 12ch;
    margin-bottom: 3rem;
  }

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

  .services-photo {
    min-height: 410px;
    max-height: 560px;
  }

  .services-copy {
    padding: 3.5rem var(--page-pad) 4rem;
  }

  .work-grid {
    max-width: 510px;
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 350px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  :root {
    --page-pad: 1.15rem;
  }

  .site-header {
    inset: 0.8rem 1rem auto;
  }

  .wordmark {
    font-size: 0.85rem;
  }

  .language-switch button {
    min-width: 2.4rem;
    min-height: 2.2rem;
    padding: 0.3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 12.4vw, 3.35rem);
  }

  .repair-pair {
    min-height: 300px;
  }

  .services-photo {
    min-height: 340px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

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