:root {
  color-scheme: dark;
  --navy: #07131f;
  --navy-deep: #030a14;
  --panel: rgba(8, 25, 40, .7);
  --teal: #16d6b0;
  --teal-soft: #38c7e8;
  --white: #f4f6f7;
  --muted: #aab7c2;
  --line: rgba(22, 214, 176, .32);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--navy-deep); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  overflow-x: hidden;
  background: var(--navy-deep);
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(22,214,176,.09), transparent 29%),
    radial-gradient(circle at 50% 50%, #0a1a2a 0, var(--navy) 40%, var(--navy-deep) 100%);
  transition: opacity .85s ease, visibility .85s ease;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(56,199,232,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,199,232,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 0, transparent 72%);
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__glow {
  position: absolute;
  width: min(64vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,214,176,.12), rgba(56,199,232,.035) 36%, transparent 69%);
  animation: breathe 2.3s ease-in-out infinite alternate;
}
.intro__brand { position: relative; z-index: 2; text-align: center; transform: translateY(-1vh); }
.intro__brand.is-handoff .intro__word,
.intro__brand.is-handoff .intro__tagline {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .45s ease, transform .55s ease;
}
.intro__brand.is-handoff .intro__orbit {
  opacity: .2;
  transition: opacity .45s ease;
}
.intro__brand.is-handoff .intro__mark-wrap {
  transform: translate(var(--logo-shift-x, 0px), var(--logo-shift-y, 0px)) scale(var(--logo-scale, .44));
}

.intro__mark-wrap {
  position: relative;
  z-index: 3;
  width: clamp(150px, 18vw, 230px);
  margin: 0 auto 18px;
  transform-origin: center center;
  transition: transform .9s cubic-bezier(.22,.9,.22,1), opacity .5s ease;
}

.intro__mark { display: block; width: 100%; filter: drop-shadow(0 0 14px rgba(22,214,176,.2)); }
.intro__orbit {
  position: absolute;
  inset: -22%;
  width: 144%;
  height: 144%;
  overflow: visible;
  transform: rotate(-8deg);
  opacity: 0;
  animation: orbit-in .65s 1.65s ease forwards;
}
.intro__orbit ellipse { fill: none; stroke: rgba(56,199,232,.42); stroke-width: 1; stroke-dasharray: 8 11; }
.intro__orbit circle { fill: var(--teal-soft); filter: drop-shadow(0 0 5px var(--teal-soft)); }
.draw { stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw 1.1s cubic-bezier(.5,0,.2,1) forwards; }
.draw--two { animation-delay: .12s; }
.draw--three { animation-delay: .68s; }
.draw--four { animation-delay: .82s; }
.pulse-ring, .pulse-core { opacity: 0; transform-origin: 60px 61px; animation: node-in .45s 1.45s ease forwards; }
.pulse-ring { animation: node-in .45s 1.45s ease forwards, pulse 1.35s 1.85s ease-out infinite; }
.intro__word {
  opacity: 0;
  transform: translateY(10px);
  letter-spacing: clamp(.34rem, 1.25vw, 1rem);
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 560;
  line-height: 1;
  animation: rise .75s 1.75s ease forwards;
}
.intro__word span { color: var(--teal); }
.intro__tagline {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  color: var(--muted);
  font-size: clamp(.65rem, 1vw, .88rem);
  letter-spacing: clamp(.14rem, .55vw, .36rem);
  animation: rise .7s 2.2s ease forwards;
}
.intro__tagline b { color: var(--teal); font-weight: 500; }

.maintenance {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 48%, rgba(0, 172, 190, .105), transparent 36%),
    radial-gradient(circle at 8% 7%, rgba(56,199,232,.055), transparent 28%),
    linear-gradient(145deg, #07131f 0%, #05101d 52%, #020813 100%);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .9s ease, transform 1.2s ease;
}
.maintenance.is-visible { opacity: 1; transform: scale(1); }
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.maintenance__inner {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  min-height: calc(100svh - 58px);
  margin: auto;
  padding: clamp(42px, 7vh, 90px) clamp(24px, 6vw, 88px) 34px;
  display: grid;
  grid-template-columns: minmax(370px, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
}
.content { position: relative; z-index: 3; max-width: 650px; }
.brand { display: flex; align-items: center; gap: 17px; margin-bottom: clamp(28px, 5vh, 55px); }
.brand img { width: clamp(60px, 5.5vw, 78px); height: auto; filter: drop-shadow(0 0 14px rgba(22,214,176,.14)); }
.brand__logo { opacity: 0; transition: opacity .35s ease .08s; }
.brand.is-ready .brand__logo { opacity: 1; }

.brand__name { font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: .32em; font-weight: 560; }
.brand__name span { color: var(--teal); }
.brand__strapline { color: var(--muted); margin-top: 7px; font-size: .66rem; letter-spacing: .18em; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(22,214,176,.24);
  border-radius: 999px;
  background: rgba(22,214,176,.045);
  color: #b8e6de;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: status 1.6s ease-in-out infinite; }
h1 { margin: 0; font-size: clamp(3.15rem, 5.8vw, 6.3rem); line-height: .92; letter-spacing: -.055em; font-weight: 730; }
h1 em { color: var(--teal); font-style: normal; text-shadow: 0 0 30px rgba(22,214,176,.12); }
.accent-line { width: 50px; height: 3px; margin: 26px 0 20px; background: linear-gradient(90deg, var(--teal), transparent); border-radius: 4px; }
.lead { margin: 0; max-width: 580px; color: #d7e0e6; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.6; }
.urgent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: clamp(25px, 4vh, 39px);
  padding: clamp(18px, 2.2vw, 25px);
  border: 1px solid rgba(22,214,176,.67);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22,214,176,.075), rgba(5,16,29,.75));
  box-shadow: inset 0 0 30px rgba(22,214,176,.025), 0 18px 55px rgba(0,0,0,.15);
}
.urgent__icon { width: 56px; height: 56px; color: var(--teal); }
.urgent__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(22,214,176,.25)); }
.urgent__icon .solid { fill: currentColor; stroke: none; }
.urgent p { margin: 0; color: #e0e7eb; font-size: clamp(.94rem, 1.15vw, 1.08rem); line-height: 1.55; }
.urgent strong { color: var(--teal); }
.closing { margin: 27px 0 0; color: var(--muted); font-size: 1rem; }
.visual { position: relative; min-width: 0; align-self: stretch; display: grid; place-items: center; }
.visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  height: auto;
  object-fit: contain;
  filter: saturate(1.04) drop-shadow(0 28px 45px rgba(0,0,0,.34));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 6%, #000 17%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 6%, #000 17%, #000 100%);
  animation: hover 5.5s ease-in-out infinite alternate;
}
.visual__halo { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(22,214,176,.1), transparent 67%); filter: blur(20px); }
.visual__scan { position: absolute; z-index: 3; top: 12%; left: 15%; right: 6%; height: 1px; opacity: .18; background: linear-gradient(90deg, transparent, var(--teal-soft), transparent); box-shadow: 0 0 15px var(--teal-soft); animation: scan 5s linear infinite; }
.footer { position: relative; z-index: 3; min-height: 58px; padding: 0 clamp(24px, 6vw, 88px) 24px; display: flex; justify-content: center; align-items: center; gap: 10px; color: rgba(170,183,194,.62); font-size: .72rem; letter-spacing: .07em; }
.footer__dot { color: var(--teal); }
.corner-dots { position: absolute; z-index: 1; width: 132px; height: 76px; opacity: .45; background-image: radial-gradient(circle, var(--teal) 1.5px, transparent 1.8px); background-size: 16px 16px; mask-image: linear-gradient(135deg, #000, transparent 75%); }
.corner-dots--top-left { top: 12px; left: 12px; }
.corner-dots--top-right { top: 12px; right: 12px; transform: scaleX(-1); }
.corner-dots--bottom-left { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner-dots--bottom-right { bottom: 12px; right: 12px; transform: scale(-1); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { opacity: .5; transform: scale(.75); } 80%,100% { opacity: 0; transform: scale(1.8); } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-in { to { opacity: 1; transform: rotate(12deg); } }
@keyframes breathe { to { transform: scale(1.07); opacity: .72; } }
@keyframes hover { to { transform: translateY(-9px); } }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(580px); } }
@keyframes status { 50% { opacity: .35; transform: scale(.78); } }

@media (max-width: 980px) {
  .maintenance__inner { grid-template-columns: 1fr; padding-top: 40px; }
  .content { max-width: 760px; margin: 0 auto; }
  .visual { min-height: 430px; margin-top: -30px; }
  .visual img { width: min(100%, 760px); }
  .brand { margin-bottom: 34px; }
}
@media (max-width: 620px) {
  .maintenance__inner { padding-inline: 21px; }
  .brand__strapline { letter-spacing: .11em; font-size: .57rem; }
  h1 { font-size: clamp(2.85rem, 15vw, 4.2rem); }
  .lead { font-size: 1rem; }
  .urgent { grid-template-columns: 1fr; gap: 9px; }
  .urgent__icon { width: 44px; height: 44px; }
  .visual { min-height: 330px; margin-top: -5px; }
  .visual img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%); }
  .footer { flex-wrap: wrap; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .maintenance { opacity: 1; transform: none; }
}
