:root {
  --ink: #111214;
  --muted: #7d7e81;
  --hairline: #d7d7d7;
  --display: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f8f8f7;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

.maintenance-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("maintenance-background.jpg") center / cover no-repeat;
}

.maintenance-page::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(
    ellipse 40% 58% at 50% 48%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 56%,
    rgba(255, 255, 255, 0) 100%
  );
}

.physics-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.physics-ball {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: clamp(60px, 6.5vw, 96px);
  height: auto;
  border-radius: 50%;
  opacity: 0.7;
  filter: saturate(0.82) contrast(1.04);
  will-change: transform;
}

.physics-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(46px, 5vw, 76px);
  height: clamp(10px, 1.2vw, 18px);
  margin: -24px 0 0 -38px;
  border-radius: 50%;
  background: rgba(80, 80, 80, 0.24);
  filter: blur(5px);
  display: none;
}

.maintenance-card {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 48px), 1320px);
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vh, 116px) 0 34px;
  text-align: center;
}

.brand-lockup {
  width: min(100%, 400px);
  margin-top: auto;
  animation: reveal 700ms ease-out both;
}

.brand-emblem {
  width: min(100%, 260px);
  height: 115px;
  margin: 0 auto;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-name {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(0.85rem, 1.2vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.maintenance-content {
  width: 100%;
  margin-top: clamp(28px, 4vh, 50px);
  animation: reveal 700ms 120ms ease-out both;
}

h1 {
  max-width: 1320px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.008em;
  text-wrap: normal;
  text-transform: uppercase;
}

.divider {
  display: flex;
  width: min(100%, 440px);
  align-items: center;
  gap: 16px;
  margin: clamp(25px, 3.2vh, 37px) auto clamp(24px, 3.1vh, 34px);
  color: #a9abad;
}

.divider-line {
  height: 1px;
  flex: 1;
  background: var(--hairline);
}

.divider-ball {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.62;
}

.maintenance-content p {
  margin: 0;
  color: #242528;
  font-size: clamp(1rem, 1.7vw, 1.36rem);
  font-weight: 400;
  line-height: 1.5;
}

.maintenance-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 45px;
  color: #a2a3a5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c2c3c4;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .maintenance-card {
    width: min(calc(100% - 30px), 1080px);
    padding-top: 42px;
  }

  .brand-logo {
    width: 100%;
  }

  .brand-emblem {
    width: min(100%, 230px);
    height: 104px;
  }

  .maintenance-content {
    margin-top: 26px;
  }

  h1 {
    font-size: clamp(1.45rem, 7.2vw, 2.2rem);
  }

  .maintenance-content p {
    font-size: 0.96rem;
  }

  .maintenance-footer {
    padding-top: 36px;
    font-size: 8px;
  }

  .maintenance-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .physics-layer {
    display: none;
  }
}
