/* Existing full-screen maintenance homepage. */
@font-face {
  font-family: 'Pavot';
  src: url('fonts/Pavot-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Questrial';
  src: url('fonts/Questrial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

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

body {
  background: #5b6258;
  color: #f0e7d8;
  font-family: 'Questrial', sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

.maintenance-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
}

.maintenance-slides,
.maintenance-slide,
.maintenance-overlay {
  position: absolute;
  inset: 0;
}

.maintenance-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.4s ease, transform 7s ease;
}

.maintenance-slides {
  z-index: 0;
  pointer-events: none;
}

.maintenance-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.maintenance-overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 35, 28, 0.48), rgba(28, 35, 28, 0.64));
}

.maintenance-content {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 44px));
  padding: 48px 34px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.maintenance-logo {
  display: block;
  width: min(700px, 100%);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 34px;
}

.maintenance-message {
  max-width: 430px;
  margin: 0 auto 26px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.maintenance-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: 'Pavot', Georgia, serif;
  font-size: 1.35rem;
}

.maintenance-links a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 180ms ease;
}

.maintenance-links a:hover,
.maintenance-links a:focus-visible {
  opacity: 0.68;
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-slide {
    transition: none;
  }
}

@media (max-width: 600px) {
  .maintenance-content {
    padding-inline: 0;
  }

  .maintenance-logo {
    max-height: 150px;
    margin-bottom: 26px;
  }
}
