:root {
  --ivory: #f5f0e8;
  --pearl: #faf8f5;
  --deep-teal: #0e2d2c;
  --teal: #123b3a;
  --soft-teal: #d5e5e0;
  --champagne: #c4a265;
  --gold: #d4b07a;
  --graphite: #1a1d1e;
  --muted: #d9ded9;
  --shadow: 0 24px 80px rgba(8, 25, 24, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--deep-teal);
  color: var(--pearl);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(196, 162, 101, 0.35);
}

.maintenance-page {
  min-height: 100svh;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transform: scale(1.03);
}

.hero__overlay {
  background:
    linear-gradient(105deg, rgba(14, 45, 44, 0.96) 0%, rgba(14, 45, 44, 0.78) 42%, rgba(14, 45, 44, 0.4) 78%, rgba(14, 45, 44, 0.2) 100%),
    radial-gradient(circle at 24% 30%, rgba(196, 162, 101, 0.2), transparent 34%),
    linear-gradient(to top, rgba(14, 45, 44, 0.72), transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1280px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar img {
  width: min(258px, 62vw);
  height: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.24));
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.slider {
  position: relative;
  width: 88px;
  height: 36px;
  overflow: hidden;
  display: block;
  border: 2px solid rgba(212, 176, 122, 0.5);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(14, 45, 44, 0.95), rgba(18, 59, 58, 0.92));
  box-shadow:
    0 0 0 1px rgba(250, 248, 245, 0.08) inset,
    0 0 10px 0 rgb(0, 0, 0, 0.22) inset;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.slider span {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 26px;
  color: rgba(250, 248, 245, 0.86);
  font: 700 0.68rem/1 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.05em;
  pointer-events: none;
  text-align: center;
  transform: translateY(-50%);
  transition: color 0.3s;
}

.slider span:first-child {
  left: 5px;
  color: var(--teal);
}

.slider span:last-child {
  right: 9px;
}

.checkbox:checked ~ .slider span:first-child {
  color: rgba(250, 248, 245, 0.86);
}

.checkbox:checked ~ .slider span:last-child {
  color: var(--teal);
}

.slider::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 7px;
  top: 6px;
  display: block;
  width: 22px;
  height: 22px;
  background-color: var(--pearl);
  transform: translateX(0);
  border-radius: 20px;
  transition: 0.3s;
  box-shadow:
    0 0 10px 3px rgb(0, 0, 0, 0.22),
    0 0 0 1px rgba(196, 162, 101, 0.16) inset;
}

.checkbox:checked ~ .slider::before {
  transform: translateX(46px);
  box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.25);
}

.checkbox:checked ~ .slider {
  background:
    linear-gradient(135deg, rgba(14, 45, 44, 0.95), rgba(18, 59, 58, 0.92));
}

.checkbox:active ~ .slider::before {
  transform: translateX(26px);
}

.checkbox:checked:active ~ .slider::before {
  transform: translateX(26px);
}

.switch:hover .slider {
  border-color: rgba(212, 176, 122, 0.78);
  box-shadow:
    0 0 0 1px rgba(250, 248, 245, 0.1) inset,
    0 0 10px 0 rgb(0, 0, 0, 0.22) inset,
    0 8px 24px rgba(196, 162, 101, 0.14);
}

.checkbox:focus-visible ~ .slider {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.checkbox:disabled ~ .slider {
  cursor: wait;
}

.notice {
  align-self: center;
  max-width: 720px;
  padding: clamp(3rem, 7vw, 6rem) 0;
  transition:
    opacity 280ms ease,
    filter 280ms ease,
    transform 280ms ease;
  will-change: opacity, filter, transform;
}

.notice.is-switching,
.status.is-switching {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.35rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 11.5ch;
  margin: 0;
  color: var(--pearl);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 7.8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.lead {
  max-width: 620px;
  margin: 1.75rem 0 0;
  color: rgba(250, 248, 245, 0.94);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
}

.support {
  max-width: 590px;
  margin: 1rem 0 0;
  color: rgba(250, 248, 245, 0.74);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  font-weight: 300;
  line-height: 1.75;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(250, 248, 245, 0.18);
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.1);
  box-shadow: var(--shadow);
  color: rgba(250, 248, 245, 0.86);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    opacity 280ms ease,
    filter 280ms ease,
    transform 280ms ease,
    border-color 180ms ease,
    background 180ms ease;
  will-change: opacity, filter, transform;
}

.status__dot {
  position: relative;
  width: 0.66rem;
  height: 0.66rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 176, 122, 0.14);
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: -0.42rem;
  border: 1px solid rgba(212, 176, 122, 0.45);
  border-radius: inherit;
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

@media (max-width: 720px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(14, 45, 44, 0.92) 0%, rgba(14, 45, 44, 0.84) 46%, rgba(14, 45, 44, 0.7) 100%),
      radial-gradient(circle at 32% 24%, rgba(196, 162, 101, 0.16), transparent 38%);
  }

  .hero__media img {
    object-position: 64% center;
  }

  .hero__content {
    padding: 1.25rem;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar img {
    width: min(220px, 74vw);
  }

  .slider {
    width: 84px;
    height: 34px;
  }

  .slider::before {
    width: 20px;
    height: 20px;
  }

  .slider span {
    width: 24px;
  }

  .checkbox:checked ~ .slider::before {
    transform: translateX(44px);
  }

  .notice {
    padding: 3rem 0 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.4vw, 3.25rem);
  }

  .status {
    width: 100%;
    justify-content: center;
    border-radius: 0.5rem;
    text-align: center;
  }
}
