@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --orange: #ff5a1f;
  --black: #101010;
  --paper: #f4f2ed;
  --muted: #aba9a4;
  --line: rgba(244, 242, 237, 0.2);
  --display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--display);
}

body::before {
  background-image: linear-gradient(rgba(244,242,237,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,242,237,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.maintenance-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 34px 5.5vw 28px;
  position: relative;
}

.site-header, .site-footer {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.brand {
  color: var(--paper);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.1em;
  text-decoration: none;
}

.brand-dot, .orange-dot { color: var(--orange); }

.header-meta { align-items: center; color: var(--muted); display: flex; gap: 10px; }
.status-dot { background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,90,31,.12); height: 7px; width: 7px; }

.maintenance-content {
  align-items: center;
  display: grid;
  flex: 1;
  gap: 7vw;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  margin: clamp(70px, 12vh, 150px) auto;
  max-width: 1220px;
  width: 100%;
}

.copy-block { animation: rise-in .8s .1s both cubic-bezier(.22, 1, .36, 1); }
.visual-block { animation: rise-in .9s .2s both cubic-bezier(.22, 1, .36, 1); }

.eyebrow, .progress-labels, .visual-caption { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { color: var(--orange); margin: 0 0 28px; }

h1 { font-size: clamp(55px, 8.5vw, 124px); font-weight: 600; letter-spacing: -.085em; line-height: .84; margin: 0; text-transform: uppercase; }
h1 em { color: var(--orange); font-style: normal; }

.message { color: #c8c6c0; font-size: 16px; line-height: 1.5; margin: 38px 0 42px; }
.progress-wrap { max-width: 430px; }
.progress-labels { color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 10px; }
.progress-track { background: rgba(244,242,237,.18); height: 4px; overflow: hidden; }
.progress-bar { background: var(--orange); display: block; height: 100%; transform-origin: left; transition: width .12s linear; width: 0%; }

.visual-block { aspect-ratio: 1; border: 1px solid var(--line); max-width: 510px; min-width: 0; overflow: hidden; position: relative; width: 100%; }
.visual-block::after { background: var(--orange); content: ''; height: 18px; position: absolute; right: 0; top: 0; width: 18px; }
.orbit { border: 1px solid rgba(244,242,237,.7); border-radius: 50%; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.orbit-one { animation: orbit-spin 18s linear infinite; }
.orbit-two { animation: orbit-spin-reverse 13s linear infinite; }
.orbit-one { height: 64%; width: 64%; }
.orbit-two { border-color: var(--orange); height: 43%; transform: translate(-50%, -50%) rotate(58deg); width: 78%; }
.orbit::before { background: var(--orange); border-radius: 50%; content: ''; height: 10px; left: 16%; position: absolute; top: -5px; width: 10px; }
.orbit-two::before { background: var(--paper); left: auto; right: 12%; top: auto; bottom: -5px; }
.number { color: var(--orange); font-size: clamp(110px, 17vw, 235px); font-weight: 600; left: 50%; letter-spacing: -.16em; line-height: 1; position: absolute; top: 50%; transform: translate(-54%, -54%); }
.visual-caption { bottom: 25px; color: var(--muted); left: 25px; line-height: 1.45; position: absolute; }
.signal { animation: signal-pulse 2.5s ease-in-out infinite; background: var(--paper); height: 2px; position: absolute; transform: rotate(-45deg); width: 48px; }
.signal-one { right: 19%; top: 24%; }
.signal-two { bottom: 24%; left: 18%; transform: rotate(135deg); }
.signal-three { background: var(--orange); right: 24%; bottom: 18%; width: 26px; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding-top: 17px; }
.site-footer strong { color: var(--paper); font-weight: 400; }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-spin { from { transform: translate(-50%, -50%) rotate(-25deg); } to { transform: translate(-50%, -50%) rotate(335deg); } }
@keyframes orbit-spin-reverse { from { transform: translate(-50%, -50%) rotate(58deg); } to { transform: translate(-50%, -50%) rotate(-302deg); } }
@keyframes signal-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

@media (max-width: 720px) {
  .maintenance-shell { padding: 25px 22px 22px; }
  .header-meta { font-size: 9px; }
  .maintenance-content { gap: 56px; grid-template-columns: minmax(0, 1fr); margin: 75px auto 65px; }
  h1 { font-size: clamp(55px, 17vw, 100px); }
  .message { font-size: 14px; margin: 29px 0 34px; }
  .visual-block { max-width: none; width: 100%; }
  .site-footer { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .copy-block, .visual-block, .orbit-one, .orbit-two, .signal { animation: none; opacity: 1; transform: none; }
  .progress-bar { transition: none; width: 30%; }
}
