@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --background: #020307;
  --foreground: #f8fbff;
  --platinum: #edf7ff;
  --ice: #bdeaff;
  --cyan: #5bdcff;
  --muted: #8a99aa;
  --line: rgba(237, 247, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  margin: 0;
}

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

.site-shell {
  background:
    radial-gradient(circle at 18% 12%, rgba(91, 220, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 90%, rgba(91, 220, 255, 0.09), transparent 28%),
    #020307;
  min-height: 100vh;
  overflow: hidden;
}

.hero-stage {
  border-bottom: 1px solid var(--line);
  min-height: 100vh;
  padding: 20px clamp(20px, 3vw, 40px) 40px;
  position: relative;
}

.diamond-surface,
.carbon-weave,
.luxury-beam {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.diamond-surface {
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(255, 255, 255, 0.055) 18.15% 18.45%, transparent 18.7%),
    linear-gradient(242deg, transparent 0 34%, rgba(91, 220, 255, 0.055) 34.15% 34.45%, transparent 34.7%),
    linear-gradient(36deg, transparent 0 62%, rgba(255, 255, 255, 0.04) 62.15% 62.45%, transparent 62.7%),
    linear-gradient(150deg, #010103 0%, #05070d 48%, #020307 100%);
  background-size: 520px 520px, 620px 620px, 420px 420px, auto;
  z-index: 0;
}

.carbon-weave {
  background-image:
    linear-gradient(90deg, rgba(237, 247, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(237, 247, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
  z-index: 1;
}

.luxury-beam {
  background: linear-gradient(to bottom, rgba(91, 220, 255, 0.12), transparent);
  height: 360px;
  z-index: 1;
  animation: beamDrift 8s ease-in-out infinite;
}

.topbar,
.hero-grid,
.metric-dock {
  margin-left: auto;
  margin-right: auto;
  max-width: 1560px;
  position: relative;
  z-index: 2;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(237, 247, 255, 0.1);
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 14px;
}

.brand-glyph {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(237, 247, 255, 0.12), rgba(91, 220, 255, 0.04)),
    #03050a;
  border: 1px solid rgba(237, 247, 255, 0.2);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  display: flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.12em;
  width: 48px;
}

.brand-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.brand-sub {
  color: var(--muted);
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-rail {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  gap: 2px;
  padding: 0 18px;
}

.nav-rail a,
.top-action {
  color: #cbd6e3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 12px 14px;
  text-transform: uppercase;
  transition: 160ms ease;
}

.nav-rail a:hover,
.top-action:hover {
  background: rgba(91, 220, 255, 0.08);
  color: white;
}

.top-action {
  border: 1px solid rgba(91, 220, 255, 0.22);
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 420px;
  min-height: calc(100vh - 92px);
  padding-bottom: 40px;
  padding-top: 32px;
}

.hero-copy h1 {
  font-size: clamp(5.8rem, 17vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.11em;
  line-height: 0.78;
  margin: 28px 0 0;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  text-shadow: 0 0 50px rgba(91, 220, 255, 0.16);
}

.hero-copy h1 small {
  color: var(--ice);
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 1.45vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.4;
  margin-left: 0.1em;
  margin-top: 28px;
}

.eyebrow-line,
.section-kicker {
  color: var(--ice);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

.hero-lead {
  color: #c5cfdb;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.75;
  margin-top: 32px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.ghost-button {
  align-items: center;
  display: inline-flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.16em;
  min-height: 54px;
  padding: 0 22px;
  text-transform: uppercase;
}

.primary-button {
  background: var(--platinum);
  color: #020307;
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--platinum);
}

.security-console {
  background:
    linear-gradient(145deg, rgba(237, 247, 255, 0.08), rgba(237, 247, 255, 0.018)),
    rgba(0, 0, 0, 0.52);
  border: 1px solid var(--line);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.54);
  min-height: 580px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.security-console::before {
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(91, 220, 255, 0.15) 38.2% 38.5%, transparent 38.8%),
    linear-gradient(45deg, transparent 0 61%, rgba(255, 255, 255, 0.13) 61.2% 61.5%, transparent 61.8%);
  content: "";
  inset: 0;
  position: absolute;
}

.console-header,
.console-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.console-header {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.console-header strong {
  color: var(--ice);
}

.console-core {
  align-items: center;
  display: flex;
  height: 275px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.diamond-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(91, 220, 255, 0.16), rgba(237, 247, 255, 0.04)),
    #020307;
  border: 1px solid rgba(237, 247, 255, 0.24);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  display: flex;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.28em;
  width: 66%;
}

.console-stack {
  display: grid;
  gap: 1px;
  position: relative;
  z-index: 1;
}

.console-row {
  background: rgba(2, 3, 7, 0.64);
  border: 1px solid rgba(237, 247, 255, 0.08);
  color: #dce7f2;
  gap: 16px;
  padding: 16px;
}

.console-row span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
}

.console-row strong {
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.metric-dock {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.metric-cell {
  background: rgba(255, 255, 255, 0.025);
  padding: 22px;
}

.metric-cell strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.metric-cell span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-band,
.project-band,
.coverage-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 36%),
    #05070c;
  border-bottom: 1px solid var(--line);
  padding: 96px clamp(20px, 3vw, 40px);
}

.two-column,
.section-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1380px;
}

.two-column {
  display: grid;
  gap: 48px;
  grid-template-columns: 420px minmax(0, 1fr);
}

.section-intro {
  align-self: start;
  position: sticky;
  top: 36px;
}

.section-intro h2,
.project-heading h2,
.protocol-heading h2,
.coverage-layout h2,
.cta-frame h2 {
  font-size: clamp(2.5rem, 5.2vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 18px 0 0;
}

.section-intro p:not(.section-kicker),
.project-heading > p,
.coverage-layout p,
.cta-frame p {
  color: #b7c3d1;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 24px;
}

.project-band {
  background:
    radial-gradient(circle at 88% 18%, rgba(91, 220, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #020307, #05070c);
}

.project-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.project-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
}

.project-card {
  background:
    linear-gradient(145deg, rgba(237, 247, 255, 0.07), rgba(237, 247, 255, 0.018)),
    rgba(0, 0, 0, 0.46);
  border: 1px solid var(--line);
  min-height: 300px;
  padding: 24px;
  position: relative;
}

.project-card::after {
  background: rgba(237, 247, 255, 0.16);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 76px;
}

.project-status {
  color: var(--cyan);
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card.is-live .project-status {
  color: #edf7ff;
}

.project-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 54px 0 0;
}

.project-card p {
  color: #b7c3d1;
  line-height: 1.75;
  margin: 20px 0 0;
}

.service-manifest {
  border-top: 1px solid var(--line);
}

.manifest-item {
  display: grid;
  gap: 24px;
  grid-template-columns: 112px 1fr;
  min-height: 210px;
  padding: 34px 0;
  position: relative;
}

.manifest-item + .manifest-item {
  border-top: 1px solid var(--line);
}

.manifest-index {
  color: rgba(237, 247, 255, 0.2);
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.manifest-item p {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0;
}

.manifest-item h3 {
  font-size: clamp(1.8rem, 3.6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 10px 0 0;
}

.manifest-item span:not(.manifest-index) {
  color: #b7c3d1;
  display: block;
  line-height: 1.75;
  margin-top: 18px;
  max-width: 720px;
}

.protocol-zone {
  background:
    radial-gradient(circle at 50% 30%, rgba(91, 220, 255, 0.11), transparent 34%),
    #020307;
  border-bottom: 1px solid var(--line);
  padding: 96px clamp(20px, 3vw, 40px);
}

.protocol-heading {
  max-width: 960px;
}

.protocol-track {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 50px;
}

.protocol-step {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.44);
  border: 1px solid var(--line);
  min-height: 230px;
  padding: 22px;
  position: relative;
}

.protocol-step:nth-child(even) {
  transform: translateY(34px);
}

.protocol-step span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
}

.protocol-step strong {
  bottom: 22px;
  display: block;
  font-size: 1.5rem;
  left: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 160px;
  position: absolute;
}

.signal-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 88px;
}

.signal-chip {
  border: 1px solid rgba(91, 220, 255, 0.2);
  color: #d7e5f0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  padding: 12px 14px;
  text-transform: uppercase;
}

.coverage-layout {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.sector-wall {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 54px;
}

.sector-panel {
  align-items: end;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  color: #edf7ff;
  display: flex;
  font-weight: 800;
  min-height: 180px;
  padding: 18px;
}

.sector-panel:nth-child(2n) {
  min-height: 240px;
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(91, 220, 255, 0.09), transparent 44%),
    #020307;
  padding: 96px clamp(20px, 3vw, 40px);
}

.cta-frame {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid var(--line);
  padding: clamp(28px, 6vw, 72px);
}

.cta-frame h2 {
  max-width: 980px;
}

.cta-frame > p:not(.section-kicker) {
  max-width: 720px;
}

.contact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  min-width: 0;
  padding: 22px;
  transition: 180ms ease;
}

.contact-card:hover {
  background: rgba(91, 220, 255, 0.08);
  border-color: rgba(91, 220, 255, 0.3);
}

.contact-card span {
  color: var(--cyan);
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-size: clamp(0.92rem, 1.35vw, 1.25rem);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

@keyframes beamDrift {
  0%,
  100% {
    opacity: 0.22;
    transform: translateY(-80px);
  }
  50% {
    opacity: 0.55;
    transform: translateY(80px);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .project-heading,
  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .security-console {
    min-height: 520px;
  }

  .project-grid,
  .protocol-track,
  .sector-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .protocol-step:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 14px;
  }

  .brand-sub,
  .top-action,
  .nav-rail {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(4.6rem, 28vw, 7rem);
  }

  .hero-actions,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .metric-dock,
  .manifest-item,
  .project-grid,
  .protocol-track,
  .sector-wall,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
  }
}
