:root {
  --ink: #080a09;
  --paper: #f4f1e5;
  --muted: #aaa99f;
  --gold: #d8c789;
  --gold-bright: #f5efcf;
  --line: rgba(245, 239, 207, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.maintenance-page {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  background:
    radial-gradient(circle at 72% 34%, rgba(216, 199, 137, 0.08), transparent 31rem),
    linear-gradient(135deg, #060706 0%, #0b0e0c 55%, #080a09 100%);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.pointer-light {
  background: radial-gradient(
    420px circle at var(--pointer-x) var(--pointer-y),
    rgba(216, 199, 137, 0.075),
    transparent 70%
  );
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.background-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
  position: absolute;
  z-index: -3;
}

.ambient {
  border: 1px solid rgba(216, 199, 137, 0.08);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.ambient-one {
  animation: ambientDrift 16s ease-in-out infinite;
  height: 34rem;
  right: -13rem;
  top: -14rem;
  width: 34rem;
}

.ambient-two {
  animation: ambientDrift 20s ease-in-out infinite reverse;
  bottom: -20rem;
  height: 40rem;
  left: -16rem;
  width: 40rem;
}

.site-header, .hero-section, .site-footer { z-index: 1; }
.brand-lockup { transition: opacity 220ms ease; }
.brand-lockup:hover { opacity: 0.78; }

.brand-mark {
  background: #000;
  border: 1px solid rgba(245, 239, 207, 0.22);
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  display: grid;
  height: 52px;
  overflow: hidden;
  place-items: center;
  width: 52px;
}

.brand-mark img, .logo-frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand-name strong, .brand-name small { display: block; }
.brand-name strong { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; }

.brand-name small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.header-status {
  color: #c6c4b9;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  animation: statusPulse 2.2s ease-out infinite;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 239, 207, 0.5);
  height: 7px;
  width: 7px;
}

.hero-section { min-height: 62vh; }

.hero-copy {
  animation: revealUp 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-line { background: var(--gold); height: 1px; width: 38px; }

.display-title {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.display-title span { color: var(--gold-bright); font-style: italic; }

.hero-description {
  color: #bbb9ae;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  max-width: 650px;
}

.build-card {
  backdrop-filter: blur(14px);
  background: linear-gradient(120deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  max-width: 650px;
  overflow: hidden;
  padding: 1.35rem 1.5rem 1.25rem;
  position: relative;
}

.build-card::before {
  background: linear-gradient(90deg, transparent, rgba(245,239,207,.28), transparent);
  content: "";
  height: 1px;
  left: 10%;
  position: absolute;
  top: 0;
  width: 80%;
}

.build-label {
  color: #85857d;
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.build-message { color: #f0eee5; font-size: .95rem; font-weight: 600; }
.message-enter { animation: messageReveal 500ms ease both; }

.build-badge {
  border: 1px solid rgba(216, 199, 137, 0.28);
  border-radius: 999px;
  color: var(--gold-bright);
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.68rem 0.9rem;
  text-transform: uppercase;
}

.progress-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  height: 3px;
  overflow: hidden;
}

.progress-runner {
  animation: progressTravel 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 45%;
}

.values-list {
  color: #85857d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.values-list i {
  background: rgba(216, 199, 137, 0.55);
  border-radius: 50%;
  display: inline-block;
  height: 3px;
  width: 3px;
}

.logo-stage {
  align-items: center;
  animation: stageReveal 1.1s 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  max-width: 480px;
  position: relative;
}

.logo-glow {
  animation: glowBreath 5s ease-in-out infinite;
  background: rgba(216, 199, 137, 0.12);
  border-radius: 50%;
  filter: blur(38px);
  height: 66%;
  position: absolute;
  width: 66%;
}

.logo-frame {
  animation: logoFloat 6s ease-in-out infinite;
  background: #000;
  border: 1px solid rgba(245, 239, 207, 0.25);
  border-radius: 42px;
  box-shadow: 0 36px 100px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.025);
  height: 67%;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
  width: 67%;
  z-index: 2;
}

.logo-frame::after {
  animation: logoSheen 5.5s ease-in-out infinite;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.07), transparent 65%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.orbit {
  border: 1px solid rgba(216, 199, 137, 0.14);
  border-radius: 50%;
  position: absolute;
}

.orbit::before {
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(245,239,207,.65);
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  top: -3px;
  width: 5px;
}

.orbit-outer { animation: orbitSpin 18s linear infinite; height: 94%; width: 94%; }
.orbit-inner { animation: orbitSpin 13s linear infinite reverse; height: 80%; width: 80%; }

.stage-caption {
  bottom: 2%;
  color: #8f8e85;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  position: absolute;
  text-transform: uppercase;
}

.footer-rule {
  background: linear-gradient(90deg, rgba(245,239,207,.22), rgba(245,239,207,.02));
  height: 1px;
}

.verse {
  color: #a4a39b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-style: italic;
}

.verse span {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-left: 0.55rem;
  text-transform: uppercase;
}

.copyright { color: #6f706a; font-size: .7rem; letter-spacing: .08em; }

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

@keyframes stageReveal {
  from { opacity: 0; transform: scale(.88) translateY(24px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

@keyframes statusPulse {
  70% { box-shadow: 0 0 0 8px rgba(245,239,207,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,239,207,0); }
}

@keyframes progressTravel {
  from { transform: translateX(-110%); }
  to { transform: translateX(330%); }
}

@keyframes logoFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

@keyframes logoSheen {
  0%, 38% { transform: translateX(-110%); }
  68%, 100% { transform: translateX(110%); }
}

@keyframes glowBreath {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: .9; transform: scale(1.05); }
}

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

@keyframes ambientDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -14px, 0); }
}

@media (max-width: 991.98px) {
  .maintenance-page { overflow-y: auto; }
  .hero-section { min-height: auto; }
  .hero-copy { padding-top: 1rem; }
  .logo-stage { max-width: 380px; }
}

@media (max-width: 575.98px) {
  .header-status {
    font-size: .6rem;
    letter-spacing: .08em;
    max-width: 150px;
    text-align: right;
  }
  .eyebrow { font-size: .62rem; letter-spacing: .13em; }
  .eyebrow-line { width: 24px; }
  .display-title { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero-description { font-size: .95rem; line-height: 1.7; }
  .build-card { border-radius: 16px; padding: 1.15rem; }
  .logo-stage { max-width: 310px; }
  .logo-frame { border-radius: 30px; }
  .verse span { display: block; margin-left: 0; margin-top: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .pointer-light { display: none; }
}
