@font-face {
  font-family: "Assistant Local";
  src: url("assets/fonts/assistant-extralight.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Awastica";
  src: url("assets/fonts/awastica.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --petrol: #2d6b7a;
  --petrol-dark: #1e4e5a;
  --sky: #b8d9e3;
  --mauve: #9b8db0;
  --mauve-light: #c5b8d8;
  --gold: #c9a96e;
  --cream: #fdfbf8;
  --beige: #f2ebe0;
  --ink: #1e2e35;
}

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

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgb(184 217 227 / 28%), transparent 28rem),
    linear-gradient(135deg, var(--cream), #fbf7f0);
  font-family: "Assistant Local", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--petrol-dark);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 4rem);
}

.page::before {
  position: absolute;
  inset: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid rgb(45 107 122 / 18%);
  content: "";
  pointer-events: none;
}

.maintenance {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  min-height: min(710px, calc(100svh - 8rem));
  grid-template-columns: minmax(260px, 0.86fr) minmax(380px, 1.14fr);
  align-items: center;
  background: rgb(253 251 248 / 88%);
  box-shadow: 0 24px 80px rgb(30 78 90 / 10%);
  backdrop-filter: blur(6px);
}

.brand-panel {
  display: grid;
  height: 100%;
  min-height: 520px;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(rgb(30 78 90 / 92%), rgb(30 78 90 / 96%)),
    var(--petrol-dark);
}

.brand-medallion {
  display: grid;
  width: min(100%, 340px);
  aspect-ratio: 1;
  place-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  border-radius: 50%;
  background: var(--cream);
  filter: drop-shadow(0 16px 28px rgb(0 0 0 / 12%));
}

.brand-logo {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
  object-position: center;
}

.content-panel {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 7vw, 6.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  color: var(--mauve);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

h1 {
  margin: 0;
  color: var(--petrol-dark);
  font-family: "Awastica", Georgia, serif;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.intro {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: #40545b;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

.divider {
  display: flex;
  width: min(100%, 26rem);
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: var(--gold);
}

.divider::before,
.divider::after {
  height: 1px;
  flex: 1;
  background: rgb(201 169 110 / 55%);
  content: "";
}

.promise {
  margin: 0;
  color: var(--petrol);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-link {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--petrol);
  color: #fff;
  background: var(--petrol);
  box-shadow: 0 10px 24px rgb(30 78 90 / 16%);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.booking-link span {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.booking-link:hover {
  border-color: var(--petrol-dark);
  background: var(--petrol-dark);
  box-shadow: 0 13px 28px rgb(30 78 90 / 22%);
  transform: translateY(-2px);
}

.booking-link:hover span {
  transform: translateX(0.2rem);
}

.booking-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.thanks {
  margin: 1.5rem 0 0;
  color: #6e6a65;
  font-size: 0.98rem;
  font-style: italic;
}

.moon-illustration {
  position: absolute;
  right: -8rem;
  bottom: -9.5rem;
  width: 27rem;
  height: auto;
  opacity: 0.075;
  pointer-events: none;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.halo--mauve {
  top: -11rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  border: 5rem solid rgb(197 184 216 / 25%);
}

.halo--gold {
  bottom: -8rem;
  left: 10%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgb(201 169 110 / 45%);
}

@media (max-width: 800px) {
  .page {
    align-items: start;
    padding: 0;
  }

  .page::before {
    inset: 0.75rem;
  }

  .maintenance {
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    box-shadow: none;
  }

  .brand-panel {
    min-height: auto;
    padding: 2.3rem 2rem 1.8rem;
  }

  .brand-medallion {
    width: 160px;
  }

  .content-panel {
    align-self: center;
    padding: 3.5rem clamp(2rem, 8vw, 4rem) 4.5rem;
    text-align: center;
  }

  .eyebrow,
  .divider {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .intro {
    margin-right: auto;
    margin-left: auto;
  }

  .booking-link {
    max-width: 24rem;
  }

  .moon-illustration {
    right: -10rem;
    bottom: -8rem;
    width: 23rem;
  }
}

@media (max-width: 420px) {
  .brand-panel {
    padding-top: 1.7rem;
    padding-bottom: 1.2rem;
  }

  .brand-medallion {
    width: 130px;
  }

  .content-panel {
    padding-top: 2.6rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.1rem);
  }

  .intro {
    margin-top: 1.4rem;
    line-height: 1.6;
  }

  .divider {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .booking-link {
    width: 100%;
    margin-top: 1.5rem;
  }
}

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