:root {
  --navy: #011e2d;
  --teal: #0096a5;
  --muted: #465960;
  --side: 8vw;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}

.home {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background: #f1f2f1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 4.8svh var(--side) 3.5svh;
  gap: 24px;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -2;
  background: linear-gradient(90deg, #f1f2f1 0%, rgba(241, 242, 241, .87) 14%, rgba(241, 242, 241, .08) 55%, transparent 100%), linear-gradient(135deg, #d1d5d5, #b3b8b9 65%, #a8afb0);
  pointer-events: none;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 66% 76% at 0% 100%, #59717a 0%, rgba(89, 113, 122, .43) 33%, rgba(89, 113, 122, 0) 78%);
  pointer-events: none;
}

header {
  display: flex;
  align-items: center;
  min-height: clamp(56px, calc(38px + 2.04vw), 62px);
}

.logo {
  width: 23.4vw;
  max-width: 390px;
  line-height: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 8vw;
}

h1 {
  font-size: clamp(38px, 4.65vw, 64px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.copy p {
  margin-top: clamp(16px, 2.2vw, 30px);
  max-width: 520px;
  font-size: clamp(17px, 2.03vw, 21px);
  line-height: 1.55;
  letter-spacing: -.015em;
  color: var(--muted);
}

.details {
  justify-self: center;
}

.details h2 {
  margin-bottom: clamp(14px, 2vw, 26px);
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 620;
  letter-spacing: -.035em;
}

.details address {
  font-style: normal;
}

.details small {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(13px, 1.35vw, 16px);
}

.contact-link {
  display: block;
  margin-bottom: clamp(13px, 1.7vw, 23px);
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 560;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.company {
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.5;
}

footer {
  text-align: center;
  font-size: clamp(11px, 1.25vw, 14px);
  color: var(--navy);
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  :root {
    --side: 6vw;
  }

  .home {
    padding: 4svh var(--side) 3svh;
    gap: 20px;
  }

  .hero-image {
    inset: 35% 0 0;
    background: linear-gradient(180deg, #f1f2f1, transparent 55%), linear-gradient(135deg, #d1d5d5, #a8afb0);
  }

  header {
    min-height: 0;
  }

  .logo {
    width: 52%;
    max-width: 235px;
  }

  main {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: clamp(22px, 4.5svh, 42px);
  }

  h1 {
    font-size: clamp(34px, 8vw, 50px);
  }

  .copy p {
    font-size: 17px;
  }

  .details {
    justify-self: start;
  }
}
