:root {
  --bg: #07111d;
  --bg-deep: #02070d;
  --surface: rgba(11, 18, 31, 0.72);
  --surface-strong: rgba(14, 24, 40, 0.92);
  --line: rgba(130, 184, 255, 0.18);
  --text: #f5f8ff;
  --muted: #9caec7;
  --blue: #3fa8ff;
  --cyan: #67d4ff;
  --yellow: #ffd64a;
  --yellow-deep: #ffb800;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(103, 212, 255, 0.16), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, #040b13 55%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 85%);
  pointer-events: none;
  z-index: -3;
}

a {
  color: inherit;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 74, 0.04), transparent 18%),
    radial-gradient(circle at 80% 80%, rgba(63, 168, 255, 0.05), transparent 22%);
  pointer-events: none;
  z-index: -2;
}

.page-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.orb-one {
  width: 24rem;
  height: 24rem;
  top: -5rem;
  left: -8rem;
  background: rgba(63, 168, 255, 0.2);
}

.orb-two {
  width: 20rem;
  height: 20rem;
  right: -6rem;
  bottom: 12rem;
  background: rgba(255, 214, 74, 0.14);
}

.maintenance-page {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
}

.hero-copy,
.scene-shell,
.founder-card {
  position: relative;
}

.eyebrow,
.section-kicker,
.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  color: #dfe9fa;
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #fff2b2);
  box-shadow: 0 0 18px rgba(255, 214, 74, 0.65);
  animation: pulseStatus 1.8s ease-in-out infinite;
}

.brand-logo {
  width: min(100%, 360px);
  margin: 1.6rem 0 1.2rem;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.32));
}

.hero h1,
.section-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3.3rem, 8vw, 6.3rem);
  max-width: 8ch;
}

.hero-text,
.section-text,
.status-panel p,
.founder-card__copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 2vw, 1.08rem);
}

.status-panel {
  max-width: 34rem;
  margin-top: 1.8rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(8, 14, 24, 0.62));
  box-shadow: var(--shadow);
}

.status-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.status-panel__top span {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dbe7fb;
}

.status-panel__top strong {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  color: var(--yellow);
}

.progress-track {
  width: 100%;
  height: 0.85rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-deep), var(--cyan));
  box-shadow: 0 0 24px rgba(255, 184, 0, 0.35);
  transition: width 0.7s ease;
}

.status-panel p {
  margin: 0.85rem 0 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-tags span {
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  color: #deebff;
}

.hero-scene {
  display: flex;
  justify-content: center;
}

.scene-shell {
  width: min(100%, 34rem);
  min-height: 38rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(13, 22, 37, 0.96), rgba(8, 14, 24, 0.92)),
    rgba(8, 14, 24, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease;
}

.scene-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 65%, rgba(103, 212, 255, 0.08));
  pointer-events: none;
}

.warning-tape {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--yellow) 0 18px,
      #121212 18px 36px
    );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  animation: tapeShift 9s linear infinite;
}

.tape-top {
  top: 2.4rem;
  transform: rotate(-6deg);
}

.tape-bottom {
  bottom: 2.8rem;
  transform: rotate(6deg);
}

.crane {
  position: absolute;
  inset: 0;
}

.crane-post,
.crane-arm,
.crane-counter,
.crane-cable,
.crane-hook {
  position: absolute;
  background: linear-gradient(180deg, #f7d763, #f4b400);
}

.crane-post {
  top: 4.6rem;
  right: 3.8rem;
  width: 0.65rem;
  height: 13rem;
  border-radius: 999px;
}

.crane-arm {
  top: 5.4rem;
  right: 4.2rem;
  width: 9rem;
  height: 0.65rem;
  border-radius: 999px;
  transform-origin: right center;
}

.crane-counter {
  top: 5rem;
  right: 2.6rem;
  width: 1.8rem;
  height: 1.4rem;
  border-radius: 0.8rem;
}

.crane-cable {
  top: 6rem;
  right: 12rem;
  width: 2px;
  height: 8.6rem;
  background: rgba(255, 214, 74, 0.78);
  transform-origin: top center;
  animation: swingCable 4.8s ease-in-out infinite;
}

.crane-hook {
  top: 14.4rem;
  right: 11.45rem;
  width: 1.1rem;
  height: 1.6rem;
  border-radius: 0 0 0.8rem 0.8rem;
  background: transparent;
  border: 3px solid var(--yellow);
  border-top: 0;
  transform-origin: top center;
  animation: swingCable 4.8s ease-in-out infinite;
}

.site-monitor {
  position: relative;
  margin-top: 6.8rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 14, 24, 0.9);
  overflow: hidden;
}

.site-monitor__header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-monitor__header span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
}

.site-monitor__header span:nth-child(1) {
  background: #ff6a6a;
}

.site-monitor__header span:nth-child(2) {
  background: #ffd451;
}

.site-monitor__header span:nth-child(3) {
  background: #63d98b;
}

.site-monitor__header p {
  margin: 0 0 0 auto;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6e4f7;
}

.site-monitor__body {
  position: relative;
  min-height: 26rem;
  padding: 1.4rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 23, 37, 0.96), rgba(5, 10, 17, 0.98));
  background-size: 30px 30px, 30px 30px, auto;
}

.scan-line {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(103, 212, 255, 0.9), transparent);
  box-shadow: 0 0 18px rgba(103, 212, 255, 0.45);
  animation: scanBlueprint 4s ease-in-out infinite;
}

.building {
  position: absolute;
  bottom: 4.2rem;
  border: 1px solid rgba(103, 212, 255, 0.34);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(19, 41, 66, 0.9), rgba(8, 18, 31, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.building::before {
  content: "";
  position: absolute;
  inset: 0.9rem 0.7rem;
  background:
    repeating-linear-gradient(90deg, rgba(103, 212, 255, 0.48) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(rgba(103, 212, 255, 0.18) 0 11px, transparent 11px 20px);
  border-radius: 10px;
  opacity: 0.7;
}

.building-left {
  left: 2rem;
  width: 5rem;
  height: 8rem;
}

.building-center {
  left: 8rem;
  width: 7.2rem;
  height: 12.2rem;
}

.building-right {
  right: 2.2rem;
  width: 5.6rem;
  height: 9.4rem;
}

.blueprint-bars {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.blueprint-bars span {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(103, 212, 255, 0.18);
  overflow: hidden;
}

.blueprint-bars span::after {
  content: "";
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(103, 212, 255, 0.28), rgba(103, 212, 255, 0.9));
  animation: barsRun 2.4s ease-in-out infinite;
}

.blueprint-bars span:nth-child(2)::after {
  animation-delay: 0.15s;
}

.blueprint-bars span:nth-child(3)::after {
  animation-delay: 0.3s;
}

.blueprint-bars span:nth-child(4)::after {
  animation-delay: 0.45s;
}

.helmet {
  position: absolute;
  left: 50%;
  bottom: 4.4rem;
  transform: translateX(-50%);
}

.helmet-top {
  position: relative;
  display: block;
  width: 4.8rem;
  height: 2.8rem;
  border-radius: 2.8rem 2.8rem 1rem 1rem;
  background: linear-gradient(180deg, #ffe27c, #ffbc15);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
}

.helmet-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 0.65rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
}

.helmet-brim {
  display: block;
  width: 5.4rem;
  height: 0.55rem;
  margin-top: -0.2rem;
  margin-left: -0.3rem;
  border-radius: 999px;
  background: #f7ae00;
}

.cone {
  position: absolute;
  bottom: 3.8rem;
  width: 0;
  height: 0;
  border-left: 1.1rem solid transparent;
  border-right: 1.1rem solid transparent;
  border-bottom: 3rem solid var(--yellow-deep);
}

.cone::before,
.cone::after {
  content: "";
  position: absolute;
  left: -0.85rem;
  width: 1.7rem;
  height: 0.32rem;
  background: #fff4c8;
  border-radius: 999px;
}

.cone::before {
  top: 1rem;
}

.cone::after {
  top: 1.9rem;
}

.cone-left {
  left: 2.2rem;
}

.cone-right {
  right: 2.2rem;
}

.gear {
  position: absolute;
  border-radius: 50%;
  border: 4px solid rgba(103, 212, 255, 0.72);
  animation: spinGear 14s linear infinite;
}

.gear::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px dashed rgba(103, 212, 255, 0.24);
  border-radius: 50%;
}

.gear-a {
  right: 4rem;
  bottom: 10.2rem;
  width: 3.8rem;
  height: 3.8rem;
}

.gear-b {
  right: 7.4rem;
  bottom: 7.2rem;
  width: 2.6rem;
  height: 2.6rem;
  animation-direction: reverse;
  animation-duration: 10s;
}

.founders {
  margin-top: 2rem;
  padding: 1rem 0 0;
}

.section-copy {
  max-width: 38rem;
}

.section-copy h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.section-text {
  margin-top: 1rem;
  max-width: 36rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.founder-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 29, 47, 0.82), rgba(7, 12, 20, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.founder-card:hover,
.founder-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(103, 212, 255, 0.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 14, 0.9));
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
}

.founder-card__copy {
  padding: 1.35rem 1.4rem 1.5rem;
}

.founder-card__copy p {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #d7e4fb;
}

.founder-card__copy h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.founder-card__copy span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  color: var(--cyan);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 2.4rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"] {
  transform: translateX(32px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulseStatus {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes tapeShift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 160px 0;
  }
}

@keyframes swingCable {
  0%,
  100% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-9deg);
  }
}

@keyframes scanBlueprint {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(21rem);
    opacity: 0;
  }
}

@keyframes barsRun {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(170%);
  }
}

@keyframes spinGear {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero h1 {
    max-width: 10ch;
  }
}

@media (max-width: 767px) {
  .maintenance-page {
    width: min(var(--container), calc(100% - 1.2rem));
    padding: 1rem 0 3rem;
  }

  .hero {
    gap: 1.4rem;
    min-height: auto;
  }

  .brand-logo {
    width: min(100%, 280px);
    margin-top: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
    max-width: none;
  }

  .scene-shell {
    min-height: 31rem;
    padding: 1.2rem;
  }

  .site-monitor {
    margin-top: 5.8rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .building-left {
    left: 1.2rem;
  }

  .building-center {
    left: 6.6rem;
  }

  .building-right {
    right: 1.2rem;
  }

  .crane-post {
    right: 2.4rem;
  }

  .crane-arm {
    width: 7rem;
    right: 2.8rem;
  }

  .crane-cable {
    right: 8.8rem;
  }

  .crane-hook {
    right: 8.25rem;
  }
}
