@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;
  --blue: #7aa7ff;
  --gold: #d9b46f;
  --muted: #8a99aa;
  --line: rgba(237, 247, 255, 0.12);
  --panel: rgba(7, 10, 18, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #020307 0%, #060812 48%, #020307 100%);
  color: var(--foreground);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  margin: 0;
}

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

.site-shell {
  background:
    linear-gradient(120deg, rgba(91, 220, 255, 0.08), transparent 34%),
    linear-gradient(300deg, rgba(217, 180, 111, 0.08), transparent 42%),
    #020307;
  min-height: 100vh;
  overflow: hidden;
}

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

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

.diamond-surface {
  background:
    linear-gradient(118deg, transparent 0 22%, rgba(255, 255, 255, 0.045) 22.15% 22.38%, transparent 22.6%),
    linear-gradient(242deg, transparent 0 39%, rgba(91, 220, 255, 0.045) 39.15% 39.38%, transparent 39.6%),
    linear-gradient(36deg, transparent 0 66%, rgba(217, 180, 111, 0.035) 66.15% 66.38%, transparent 66.6%),
    linear-gradient(150deg, #010103 0%, #070a12 52%, #020307 100%);
  background-size: 620px 620px, 760px 760px, 540px 540px, auto;
  z-index: 0;
}

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

.luxury-beam {
  background:
    linear-gradient(90deg, transparent, rgba(91, 220, 255, 0.12), transparent),
    linear-gradient(to bottom, rgba(217, 180, 111, 0.08), transparent);
  height: 300px;
  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(20px);
  background: rgba(2, 4, 9, 0.66);
  border: 1px solid rgba(237, 247, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  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: 42px;
  justify-content: center;
  letter-spacing: 0.12em;
  width: 42px;
}

.brand-name {
  display: block;
  font-size: 0.98rem;
  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 {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 2px;
  padding: 4px;
}

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

.top-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav-rail a {
  border-radius: 999px;
}

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

.top-action {
  border: 1px solid rgba(217, 180, 111, 0.34);
  border-radius: 999px;
  color: #f8e7c4;
}

.top-action:not(.secondary) {
  background: linear-gradient(135deg, #edf7ff, #bdeaff);
  border-color: transparent;
  color: #020307;
}

.top-action:hover {
  background: rgba(217, 180, 111, 0.1);
  color: white;
}

.top-action:not(.secondary):hover {
  background: #ffffff;
  color: #020307;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  min-height: calc(92vh - 88px);
  padding-bottom: 40px;
  padding-top: 32px;
}

.hero-copy h1 {
  font-size: clamp(4.6rem, 13vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
  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: #dbefff;
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.72rem, 1.1vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  margin-left: 0.1em;
  margin-top: 28px;
}

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

.hero-lead {
  color: #c7d3df;
  font-size: clamp(1rem, 1.24vw, 1.18rem);
  line-height: 1.78;
  margin-top: 28px;
  max-width: 680px;
}

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

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

.primary-button {
  background: linear-gradient(135deg, #edf7ff, #bdeaff);
  color: #020307;
  box-shadow: 0 14px 34px rgba(91, 220, 255, 0.16);
}

.secondary-button {
  background: rgba(91, 220, 255, 0.1);
  border: 1px solid rgba(91, 220, 255, 0.38);
  color: #edf7ff;
}

.ghost-button {
  border: 1px solid rgba(217, 180, 111, 0.28);
  color: var(--platinum);
}

.security-console {
  background:
    linear-gradient(145deg, rgba(237, 247, 255, 0.085), rgba(237, 247, 255, 0.018)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.54);
  min-height: 520px;
  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: 245px;
  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 {
  backdrop-filter: blur(16px);
  background: rgba(2, 4, 9, 0.66);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

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

.metric-cell + .metric-cell {
  border-left: 1px solid var(--line);
}

.metric-cell strong {
  display: block;
  color: #edf7ff;
  font-size: clamp(1.7rem, 3vw, 3.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.024), transparent 36%),
    #05070c;
  border-bottom: 1px solid var(--line);
  padding: 84px clamp(18px, 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.1rem, 4.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  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:
    linear-gradient(130deg, rgba(91, 220, 255, 0.07), transparent 36%),
    linear-gradient(300deg, rgba(217, 180, 111, 0.06), transparent 40%),
    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: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.project-card {
  background:
    linear-gradient(145deg, rgba(237, 247, 255, 0.075), rgba(237, 247, 255, 0.018)),
    rgba(0, 0, 0, 0.46);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  background:
    linear-gradient(145deg, rgba(237, 247, 255, 0.1), rgba(91, 220, 255, 0.026)),
    rgba(0, 0, 0, 0.5);
  border-color: rgba(91, 220, 255, 0.36);
  transform: translateY(-3px);
}

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

.project-status {
  color: #d9b46f;
  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: #d9b46f;
}

.project-card h3 {
  font-size: clamp(1.28rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 54px 0 0;
}

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

.project-link {
  align-items: center;
  align-self: flex-start;
  border: 1px solid rgba(91, 220, 255, 0.34);
  color: #edf7ff;
  display: inline-flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-top: 24px;
  padding: 10px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.project-link:hover {
  background: rgba(91, 220, 255, 0.1);
  border-color: rgba(91, 220, 255, 0.72);
  transform: translateY(-1px);
}

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

.manifest-item {
  display: grid;
  gap: 24px;
  grid-template-columns: 112px 1fr;
  min-height: 190px;
  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(2.5rem, 5vw, 5.4rem);
  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.55rem, 3vw, 3.4rem);
  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:
    linear-gradient(160deg, rgba(91, 220, 255, 0.08), transparent 42%),
    #020307;
  border-bottom: 1px solid var(--line);
  padding: 84px clamp(18px, 3vw, 40px);
}

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

.protocol-track {
  display: grid;
  gap: 10px;
  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);
  border-radius: 18px;
  min-height: 200px;
  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.18);
  border-radius: 999px;
  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: 10px;
  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);
  border-radius: 18px;
  color: #edf7ff;
  display: flex;
  font-weight: 800;
  min-height: 160px;
  padding: 18px;
}

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

.final-cta {
  background:
    linear-gradient(135deg, rgba(91, 220, 255, 0.07), transparent 44%),
    linear-gradient(300deg, rgba(217, 180, 111, 0.07), transparent 44%),
    #020307;
  padding: 84px clamp(18px, 3vw, 40px);
}

.cta-frame {
  background: rgba(5, 8, 15, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  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: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 16px;
  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,
  .nav-rail {
    display: none;
  }

  .top-actions {
    margin-left: auto;
  }

  .top-action.secondary {
    display: none;
  }

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

  .hero-actions,
  .primary-button,
  .secondary-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;
  }
}
