/* ============================================================
   Driftmedia — Maintenance Page
   Palette taken from inspo reference:
     --bg      #F7F1E9  warm cream
     --ink     #1D1D1D  deep near-black
     --accent  #FF5000  vibrant orange
   Type: Anton (ultra-bold condensed) + Inter (body)
   ============================================================ */

:root {
  --bg: #F7F1E9;
  --ink: #1D1D1D;
  --accent: #FF5000;
  --muted: #7A7368;
  --line: #DDD4C5;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: grid;
  place-items: center;
  min-height: 100svh;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle print-grain overlay, echoing the poster's distressed feel */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 980px;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Logo, centred ---- */
.logo {
  display: block;
  width: clamp(140px, 24vw, 225px);
  height: auto;
  margin-bottom: clamp(1.75rem, 5vw, 3rem);
}

/* ---- Hairline divider with accent block ---- */
.divider {
  position: relative;
  display: block;
  width: min(600px, 82vw);
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.divider::after {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

/* ---- Overline ---- */
.overline-wrap {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

.rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 0.9rem auto 0;
}

/* ---- Headline ---- */
.title {
  font-family: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  font-weight: 400; /* Anton ships one weight: inherently ultra-bold */
  text-transform: uppercase;
  font-size: clamp(2.7rem, 9.5vw, 6.8rem);
  line-height: 1.03;
  letter-spacing: 0.015em;
  margin-bottom: clamp(1.1rem, 3vw, 1.75rem);
}

.title .accent {
  color: var(--accent);
}

/* ---- Body copy ---- */
.sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
  max-width: 36rem;
}

/* ---- Badge + ETA ---- */
.meta {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.circle {
  width: clamp(88px, 14vw, 106px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(29, 29, 29, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-family: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.82rem, 2.4vw, 0.98rem);
  line-height: 1.35;
}

.meta-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-align: left;
}

.meta-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-val {
  font-family: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  letter-spacing: 0.05em;
  color: var(--ink);
}

/* ---- Motion ---- */
.page > * {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.page > *:nth-child(2) { animation-delay: 0.08s; }
.page > *:nth-child(3) { animation-delay: 0.16s; }
.page > *:nth-child(4) { animation-delay: 0.24s; }
.page > *:nth-child(5) { animation-delay: 0.32s; }
.page > *:nth-child(6) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ---- Small screens ---- */
@media (max-width: 560px) {
  .meta {
    flex-direction: column;
    gap: 1.1rem;
  }

  .meta-line {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page > *,
  .dot {
    animation: none !important;
  }
}
