* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --navy: #102f68;
  --muted: #999999;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 48% 42%, rgba(255,255,255,.98) 0 38%, rgba(250,250,250,.95) 74%, #fff 100%);
}

.contact-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 760px);
  padding: 32px 20px;
  text-align: center;
  transform: translateY(-2px);
}

.logo {
  display: block;
  width: min(422px, 78vw);
  height: auto;
  object-fit: contain;
}

.divider {
  width: 116px;
  height: 3px;
  margin: 67px 0 57px;
  border-radius: 4px;
  background: #9b9b9b;
}

h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(25px, 4.25vw, 53px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .025em;
}

address {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(22px, 3.65vw, 46px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: .015em;
}

address a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

address a:hover,
address a:focus-visible {
  color: #656565;
}

.paint {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.paint--top {
  top: 0;
  right: 0;
  width: min(38vw, 490px);
  height: min(44vh, 380px);
  background-image: url("assets/paint-top-right.png");
  background-position: top right;
}

.paint--bottom {
  bottom: 0;
  left: 0;
  width: min(53vw, 680px);
  height: min(60vh, 510px);
  background-image: url("assets/paint-bottom-left.png");
  background-position: bottom left;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 24px 16px;
    transform: translateY(-1vh);
  }

  .logo {
    width: min(78vw, 360px);
  }

  .divider {
    width: 84px;
    margin: 48px 0 38px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 14px;
    letter-spacing: 0;
  }

  address {
    letter-spacing: 0;
  }

  .paint--top {
    width: 52vw;
    height: 27vh;
  }

  .paint--bottom {
    width: 74vw;
    height: 34vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  address a {
    transition: none;
  }
}
