:root {
  --white: #ffffff;
  --ivory: #f8f4ee;
  --sand: #ffd7b0;
  --orange: #ff7a1a;
  --black: #2a2a2a;
  --muted: #77736e;
  --line: rgba(42, 42, 42, 0.16);
  --line-strong: rgba(42, 42, 42, 0.34);
  --orange-soft: rgba(255, 122, 26, 0.16);
  --shadow: 0 30px 70px rgba(42, 42, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--black);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 215, 176, 0.75), transparent 0 28%),
    linear-gradient(135deg, var(--white) 0%, var(--ivory) 62%, #fff 100%);
  font-family: "Rajdhani", "Orbitron", "Eurostile", "Bank Gothic", "Arial Narrow", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(42, 42, 42, 0.025) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: 20;
}

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

.page-shell {
  position: relative;
  width: min(1540px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 24px 34px 18px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(42, 42, 42, 0.16);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  width: 480px;
  height: 480px;
  top: 46%;
  right: -190px;
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 122, 26, 0.03),
    0 0 0 120px rgba(255, 122, 26, 0.02);
}

.page-shell::after {
  left: 0;
  bottom: 82px;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 122, 26, 0));
}

.tech-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(42, 42, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 42, 42, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 160px;
  pointer-events: none;
  z-index: -2;
  background: linear-gradient(to bottom, transparent, rgba(255, 122, 26, 0.08), transparent);
  animation: scan 9s linear infinite;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--black);
  transform: skewX(-14deg);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after,
.brand-core {
  content: "";
  position: absolute;
}

.brand-mark::before {
  width: 7px;
  height: 100%;
  left: 9px;
  top: 0;
  background: var(--orange);
}

.brand-mark::after {
  width: 2px;
  height: 58%;
  right: 9px;
  top: 20%;
  background: var(--black);
}

.brand-core {
  width: 12px;
  height: 12px;
  right: 12px;
  bottom: 6px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.system-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.system-state strong {
  color: var(--orange);
}

.state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.42);
  animation: ping 2s infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 190px);
  padding: 54px 0 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(100%, 465px);
  margin-bottom: 26px;
  color: #6f6b66;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.20em;
}

.eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

h1 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.06em 0.17em;
  font-size: clamp(4.3rem, 7vw, 8.2rem);
  line-height: 0.83;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
}

.accent-word {
  position: relative;
  color: var(--orange);
}

.accent-word::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: -0.05em;
  bottom: -0.055em;
  height: 0.08em;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 5% 100%);
}

.lead {
  max-width: 590px;
  margin: 31px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #67635f;
}

.construction-badge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 550px);
  margin-top: 33px;
  padding: 12px 14px;
  border: 1px solid var(--black);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 8px 8px 0 var(--sand);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.badge-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.construction-badge div {
  display: grid;
  gap: 3px;
}

.construction-badge small {
  font-size: 0.61rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.construction-badge strong {
  font-size: 1.12rem;
  letter-spacing: 0.09em;
}

.badge-arrow {
  font-size: 1.4rem;
  color: var(--orange);
}

.progress-wrap {
  width: min(100%, 550px);
  margin-top: 30px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.progress-head strong {
  color: var(--orange);
}

.progress-track {
  height: 5px;
  background: #e7e0d9;
  overflow: hidden;
}

.progress-value {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--black), var(--orange));
  animation: load 1.8s ease-out both;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.meta-row span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  font-size: 0.60rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  background: rgba(255, 255, 255, 0.55);
}

.lab-visual {
  position: relative;
  min-height: 600px;
}

.visual-frame {
  position: absolute;
  inset: 2% 0 2% 2%;
  min-height: 560px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(42, 42, 42, 0.08) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(42, 42, 42, 0.08) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 54%, rgba(255, 122, 26, 0.11), transparent 0 31%),
    rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.visual-frame::before,
.visual-frame::after {
  content: "";
  position: absolute;
  z-index: 7;
}

.visual-frame::before {
  inset: 17px;
  border: 1px solid rgba(255, 122, 26, 0.19);
  clip-path: polygon(0 0, 36% 0, 36% 1px, 64% 1px, 64% 0, 100% 0, 100% 100%, 0 100%);
}

.visual-frame::after {
  top: 0;
  right: 0;
  width: 92px;
  height: 8px;
  background: var(--orange);
}

.frame-label {
  position: absolute;
  z-index: 10;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.frame-label--top {
  top: 16px;
  left: 34px;
}

.frame-label--bottom {
  right: 34px;
  bottom: 16px;
}

.core-machine {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 230px;
  height: 330px;
  transform: translate(-50%, -50%) skewY(-1deg);
  z-index: 5;
  filter: drop-shadow(0 28px 28px rgba(42, 42, 42, 0.16));
}

.machine-top,
.machine-body,
.machine-base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.machine-top {
  top: 0;
  width: 130px;
  height: 52px;
  background: var(--white);
  border: 1px solid var(--black);
  clip-path: polygon(16% 0, 84% 0, 100% 32%, 88% 100%, 12% 100%, 0 32%);
}

.machine-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 38px;
  height: 5px;
  transform: translateX(-50%);
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.52);
}

.machine-body {
  top: 46px;
  width: 190px;
  height: 245px;
  background: linear-gradient(145deg, #fff 0%, #ece8e2 72%, #d6d1ca 100%);
  border: 1px solid var(--black);
  clip-path: polygon(13% 0, 87% 0, 100% 12%, 94% 88%, 82% 100%, 18% 100%, 6% 88%, 0 12%);
  overflow: hidden;
}

.machine-body::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 27px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--orange) 10% 90%, transparent);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.62);
}

.machine-body::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 53px;
  width: 6px;
  height: 124px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 122, 26, 0.52);
}

.machine-panel {
  position: absolute;
  border: 1px solid rgba(42, 42, 42, 0.34);
  background: rgba(42, 42, 42, 0.03);
}

.panel-a {
  left: 25px;
  top: 54px;
  width: 113px;
  height: 58px;
  clip-path: polygon(0 0, 90% 0, 100% 23%, 90% 100%, 0 100%);
}

.panel-b {
  left: 25px;
  top: 126px;
  width: 113px;
  height: 38px;
}

.panel-c {
  left: 25px;
  top: 178px;
  width: 82px;
  height: 30px;
}

.machine-light {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.9);
}

.light-1 { left: 38px; top: 74px; }
.light-2 { left: 52px; top: 74px; opacity: 0.55; }
.light-3 { left: 66px; top: 74px; opacity: 0.30; }

.machine-base {
  bottom: 0;
  width: 158px;
  height: 42px;
  background: var(--black);
  border: 1px solid #111;
  clip-path: polygon(12% 0, 88% 0, 100% 45%, 88% 100%, 12% 100%, 0 45%);
}

.machine-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 3px;
  transform: translate(-50%, -50%);
  background: var(--orange);
}

.orbital {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.orbital--one {
  width: 395px;
  height: 395px;
  border: 1px solid rgba(42, 42, 42, 0.20);
  animation: orbit 18s linear infinite;
}

.orbital--one::before,
.orbital--two::before,
.orbital--three::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.75);
}

.orbital--one::before {
  top: 34px;
  right: 63px;
}

.orbital--two {
  width: 495px;
  height: 250px;
  border: 1px dashed rgba(255, 122, 26, 0.35);
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: orbit2 22s linear infinite;
}

.orbital--two::before {
  bottom: 18px;
  left: 120px;
}

.orbital--three {
  width: 295px;
  height: 495px;
  border: 1px dashed rgba(42, 42, 42, 0.16);
  transform: translate(-50%, -50%) rotate(18deg);
}

.orbital--three::before {
  top: 112px;
  left: -4px;
  width: 6px;
  height: 6px;
}

.data-card {
  position: absolute;
  z-index: 9;
  min-width: 145px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 5px 5px 0 rgba(255, 215, 176, 0.72);
}

.data-card span,
.data-card strong {
  display: block;
}

.data-card span {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.data-card strong {
  margin-top: 4px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.data-card--left {
  left: 22px;
  top: 33%;
}

.data-card--right {
  right: 22px;
  top: 23%;
}

.data-card--right strong {
  color: var(--orange);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: 9px;
}

.mini-bars i {
  display: block;
  width: 8px;
  background: var(--black);
}

.mini-bars i:nth-child(1) { height: 32%; }
.mini-bars i:nth-child(2) { height: 68%; }
.mini-bars i:nth-child(3) { height: 45%; background: var(--orange); }
.mini-bars i:nth-child(4) { height: 82%; }
.mini-bars i:nth-child(5) { height: 60%; background: var(--orange); }
.mini-bars i:nth-child(6) { height: 92%; }

.pulse-line {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 12px;
  background: var(--line-strong);
  overflow: hidden;
}

.pulse-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: var(--orange);
  animation: pulseLine 2.3s linear infinite;
}

.coordinates {
  position: absolute;
  left: 28px;
  bottom: 22px;
  padding-left: 17px;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.coordinates::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--orange);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #76716b;
}

.footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-code {
  color: var(--orange);
}

.footer-separator {
  color: var(--orange);
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.42); }
  75% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

@keyframes scan {
  from { transform: translateY(-15vh); }
  to { transform: translateY(125vh); }
}

@keyframes load {
  from { width: 0; }
  to { width: 68%; }
}

@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit2 {
  from { transform: translate(-50%, -50%) rotate(-12deg); }
  to { transform: translate(-50%, -50%) rotate(348deg); }
}

@keyframes pulseLine {
  from { left: -35%; }
  to { left: 105%; }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .lab-visual {
    min-height: 560px;
  }

  .visual-frame {
    inset: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 16px);
    min-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 18px 16px 14px;
  }

  .topbar {
    align-items: flex-start;
  }

  .system-state {
    padding: 8px;
  }

  .system-state span:not(.state-dot) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 38px 0 30px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 6rem);
  }

  .lead {
    font-size: 0.94rem;
  }

  .construction-badge {
    grid-template-columns: auto 1fr;
  }

  .badge-arrow {
    display: none;
  }

  .lab-visual {
    min-height: 500px;
  }

  .visual-frame {
    min-height: 500px;
  }

  .core-machine {
    transform: translate(-50%, -50%) scale(0.82);
  }

  .orbital--one {
    width: 320px;
    height: 320px;
  }

  .orbital--two {
    width: 390px;
    height: 210px;
  }

  .orbital--three {
    width: 240px;
    height: 390px;
  }

  .data-card {
    transform: scale(0.88);
  }

  .data-card--left {
    left: 4px;
    top: 52%;
  }

  .data-card--right {
    right: 4px;
    top: 15%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .brand-copy small {
    display: none;
  }

  .eyebrow {
    font-size: 0.56rem;
  }

  .lab-visual {
    min-height: 450px;
  }

  .visual-frame {
    min-height: 450px;
  }

  .core-machine {
    transform: translate(-50%, -50%) scale(0.68);
  }

  .orbital--one {
    width: 250px;
    height: 250px;
  }

  .orbital--two {
    width: 310px;
    height: 170px;
  }

  .orbital--three {
    width: 195px;
    height: 315px;
  }

  .data-card--left {
    top: 59%;
  }

  .data-card--right {
    top: 14%;
  }

  .frame-label--top {
    left: 24px;
  }

  .frame-label--bottom {
    right: 24px;
  }
}

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