:root {
  --color-white: #ffffff;
  --color-ink: #102c31;
  --color-turquoise: #39b9b4;
  --header-height: 104px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html {
  color-scheme: light;
  font-family:
    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--color-ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--color-white);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 clamp(24px, 5vw, 80px);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(16, 44, 49, 0.08);
}

.site-header::after {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 0;
  left: clamp(24px, 5vw, 80px);
  height: 3px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--color-turquoise) 0 72px,
    rgba(57, 185, 180, 0.14) 72px 100%
  );
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.brand:focus-visible {
  outline: 3px solid var(--color-turquoise);
  outline-offset: 6px;
}

.brand__logo {
  display: block;
  width: auto;
  max-width: min(220px, 52vw);
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.maintenance {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  place-items: center;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 96px);
  text-align: center;
  background: #18383b;
}

.maintenance__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("./assets/DSC06528-2560.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.maintenance::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 27, 30, 0.52), rgba(7, 27, 30, 0.68)),
    radial-gradient(
      circle at center,
      rgba(24, 66, 69, 0.08),
      rgba(7, 24, 27, 0.36) 80%
    );
}

.maintenance__content {
  width: min(100%, 1000px);
  animation: content-in 700ms ease-out both;
}

.maintenance__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 32px);
  color: #91ddd8;
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.maintenance__eyebrow::before,
.maintenance__eyebrow::after {
  width: clamp(24px, 4vw, 50px);
  height: 2px;
  content: "";
  background: currentColor;
}

h1 {
  max-width: 14ch;
  margin: 0 auto;
  color: var(--color-white);
  font-size: clamp(2.65rem, 7.2vw, 6.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

.maintenance p {
  max-width: 30ch;
  margin: clamp(20px, 3vw, 34px) auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.18rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.4;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    padding-inline: 22px;
  }

  .site-header::after {
    right: 22px;
    left: 22px;
  }

  .brand__logo {
    height: 48px;
  }

  .maintenance {
    padding-inline: 22px;
  }

  .maintenance__background {
    background-position: 54% center;
  }

  .maintenance__eyebrow {
    max-width: 30ch;
    letter-spacing: 0.13em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance__content {
    animation: none;
  }
}
