:root {
  --navy: #07111f;
  --navy-2: #0d1c31;
  --line: rgba(146, 196, 255, 0.18);
  --line-strong: rgba(146, 196, 255, 0.34);
  --text: #edf5ff;
  --muted: #9fb2c8;
  --cyan: #6ce5ff;
  --orange: #ff8b54;
  --lime: #d8ff68;
  --panel: rgba(237, 245, 255, 0.055);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(146, 196, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 196, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(146, 196, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 196, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 88% 10%, rgba(108, 229, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 12% 70%, rgba(255, 139, 84, 0.13), transparent 28rem),
    var(--navy);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto, auto;
  font-family: Archivo, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, transparent 0 48%, rgba(108, 229, 255, 0.08) 48% 49%, transparent 49%);
  background-size: 240px 240px;
}

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

#vector-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.top-grid {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-axis {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan);
  transform: skewX(-12deg);
}

.brand-axis::before,
.brand-axis::after {
  position: absolute;
  content: "";
  background: var(--cyan);
}

.brand-axis::before {
  top: 50%;
  left: 7px;
  right: 7px;
  height: 2px;
}

.brand-axis::after {
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 2px;
}

.nav {
  gap: 1px;
  border: 1px solid var(--line);
  background: rgba(237, 245, 255, 0.04);
}

.nav a,
.owner {
  min-height: 42px;
  padding: 12px 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  border-right: 1px solid var(--line);
}

.nav a:last-child {
  border-right: 0;
}

.nav a:hover,
.owner:hover {
  color: var(--text);
  background: rgba(108, 229, 255, 0.1);
}

.owner {
  justify-self: end;
  border: 1px solid var(--line);
}

main,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: 38px;
  align-items: stretch;
  min-height: calc(100vh - 78px);
  padding: 70px 0 44px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 620px;
}

.coordinate,
.spec-heading span,
.module-card span,
.process-strip span,
.contact-section span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(4.6rem, 10vw, 10.6rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
  text-transform: uppercase;
}

.hero-copy p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.7;
}

.blueprint-panel {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(108, 229, 255, 0.1), transparent 42%),
    rgba(237, 245, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}

.panel-ruler {
  position: absolute;
  inset: 18px 18px auto;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.target-mark {
  position: absolute;
  inset: 22%;
  border: 1px solid var(--line-strong);
}

.target-mark::before,
.target-mark::after,
.target-mark span {
  position: absolute;
  content: "";
  background: var(--cyan);
}

.target-mark::before {
  top: 50%;
  left: -18%;
  right: -18%;
  height: 1px;
}

.target-mark::after {
  top: -18%;
  bottom: -18%;
  left: 50%;
  width: 1px;
}

.target-mark span:nth-child(1) {
  width: 18px;
  height: 18px;
  top: -9px;
  left: -9px;
}

.target-mark span:nth-child(2) {
  width: 18px;
  height: 18px;
  right: -9px;
  bottom: -9px;
  background: var(--orange);
}

.target-mark span:nth-child(3) {
  width: 10px;
  height: 10px;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  background: var(--lime);
}

.panel-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.panel-caption strong {
  color: var(--text);
}

.spec-section,
.module-section,
.process-strip,
.contact-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.spec-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: end;
}

.spec-table {
  border: 1px solid var(--line-strong);
  background: rgba(237, 245, 255, 0.045);
}

.spec-table div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.spec-table strong {
  color: var(--text);
}

.module-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.module-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.module-card.wide {
  grid-row: span 2;
}

.module-card.dark {
  background: rgba(0, 0, 0, 0.24);
}

.module-card span {
  display: block;
  margin-bottom: 90px;
}

.module-card p,
.process-strip p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
}

.process-strip div {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(237, 245, 255, 0.04);
}

.process-strip strong {
  display: block;
  margin: 42px 0 12px;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: end;
  padding-bottom: 112px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  min-height: 58px;
  padding: 17px;
  border: 1px solid var(--line-strong);
  background: rgba(237, 245, 255, 0.055);
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  background: var(--cyan);
  color: var(--navy);
}

.footer {
  min-height: 82px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .top-grid {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero,
  .spec-section,
  .module-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .blueprint-panel {
    min-height: 500px;
  }

  .module-card.wide {
    grid-row: auto;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .top-grid {
    padding: 12px 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-axis {
    width: 34px;
    height: 34px;
  }

  .owner {
    display: none;
  }

  .nav a {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6.6rem);
  }

  .hero {
    padding-top: 46px;
  }

  .hero-copy,
  .blueprint-panel {
    min-height: 420px;
  }

  .spec-section,
  .module-section,
  .process-strip,
  .contact-section {
    padding: 62px 0;
  }

  .spec-table div,
  .panel-caption {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .module-card span {
    margin-bottom: 48px;
  }

  .footer {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

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