:root {
  color-scheme: light;
  --ink: #072e4f;
  --muted: #31566b;
  --canvas: #f4fbfd;
  --accent: #38c2da;
  --accent-soft: #8de4ef;
  --navy: #062c4d;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #eaf6f9;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.maintenance-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 4vh, 2.75rem);
  background:
    radial-gradient(circle at 50% 62%, rgb(255 255 255 / 84%) 0 14%, transparent 39%),
    linear-gradient(112deg, #d7f4f8 0%, #f6fbfc 51%, #e8f0f5 100%);
}

.ambient {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
}

.ambient--cyan {
  top: -20%;
  left: -11%;
  width: min(72vw, 64rem);
  aspect-ratio: 1.04;
  background:
    radial-gradient(circle at 50% 52%, rgb(54 198 220 / 78%) 0 22%, rgb(123 225 237 / 57%) 41%, rgb(154 232 240 / 0%) 76%);
  transform: rotate(-8deg);
}

.ambient--navy {
  top: -26%;
  left: 34%;
  width: min(48vw, 44rem);
  aspect-ratio: 1;
  opacity: 0.48;
  background: radial-gradient(circle, rgb(9 62 94 / 49%) 0, rgb(70 133 157 / 20%) 43%, transparent 73%);
}

.grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.brand {
  justify-self: center;
  display: block;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(11.25rem, 21vw, 16.5rem);
  height: auto;
  mix-blend-mode: multiply;
}

.message {
  align-self: center;
  justify-self: center;
  width: min(100%, 54rem);
  margin-top: clamp(2rem, 7vh, 5.5rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #168eaa;
}

h1 {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(2.25rem, 5.2vw, 4.8rem);
  font-weight: 730;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.message__copy {
  margin: clamp(1.4rem, 3vh, 2rem) auto 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.45vw, 1.12rem);
  line-height: 1.36;
}

.contact {
  align-self: end;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding-top: clamp(2rem, 6vh, 4rem);
}

.contact__label {
  color: #168eaa;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact__mail {
  position: relative;
  padding: 0.1rem 0 0.42rem;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 650;
  text-decoration: none;
}

.contact__mail::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 180ms ease;
}

.contact__mail:hover::after,
.contact__mail:focus-visible::after {
  transform: scaleX(0.4);
}

.brand:focus-visible,
.contact__mail:focus-visible {
  outline: 3px solid rgb(56 194 218 / 52%);
  outline-offset: 0.4rem;
  border-radius: 0.2rem;
}

.copyright {
  position: absolute;
  right: clamp(1.25rem, 3.6vw, 3.5rem);
  bottom: clamp(1.4rem, 3.2vh, 2.6rem);
  margin: 0;
  color: rgb(7 46 79 / 48%);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .maintenance-page {
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
    padding-top: 2.25rem;
    padding-bottom: 2.2rem;
  }

  .ambient--cyan {
    top: -5%;
    left: -55%;
    width: 145vw;
  }

  .ambient--navy {
    top: 2%;
    left: 22%;
    width: 98vw;
  }

  .brand__logo {
    width: 12.25rem;
  }

  .message {
    margin-top: 2rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 1;
  }

  .desktop-break {
    display: none;
  }

  .message__copy {
    max-width: 29rem;
    line-height: 1.48;
  }

  .copyright {
    display: none;
  }
}

@media (max-height: 650px) and (min-width: 701px) {
  .maintenance-page {
    padding-top: 1.5rem;
    padding-bottom: 1.2rem;
  }

  .brand__logo {
    width: 11.5rem;
  }

  .message {
    margin-top: 1rem;
  }

  h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
  }

  .contact {
    padding-top: 1rem;
  }
}

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