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

:root {
  --ink: #16203a;
  --font: 'Rubik', sans-serif;
}

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

body {
  min-height: 100svh;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.construction-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: #ffffff;
}

.construction-stack {
  width: min(820px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 36px);
  text-align: center;
}

.brand-art {
  width: min(620px, 100%);
  height: auto;
}

.loader {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.loader::before,
.loader::after,
.loader span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.loader::before {
  inset: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.loader::after {
  inset: 0;
  border: 2px solid transparent;
  border-top-color: #000000;
  border-left-color: #000000;
  animation: spin 0.9s linear infinite;
}

.loader span {
  width: 8px;
  height: 8px;
  background: #000000;
  transform: translateY(-20px);
  transform-origin: 50% 28px;
  animation: orbit 0.9s linear infinite;
}

h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit {
  to { transform: translateY(-20px) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loader::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 640px) {
  .construction-page {
    padding-inline: 18px;
  }

  .construction-stack {
    gap: 24px;
  }

  .brand-art {
    width: min(350px, 100%);
  }

  .loader {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: clamp(0.775rem, 4vw, 1.175rem);
  }
}
