:root {
  color-scheme: dark;
  --bg: #071012;
  --bg-2: #0B171A;
  --surface: rgba(247, 250, 248, .075);
  --surface-2: rgba(247, 250, 248, .12);
  --line: rgba(207, 232, 225, .18);
  --text: #F7FAF8;
  --muted: #A9BBB6;
  --dim: #728681;
  --gold: #F3C969;
  --gold-2: #C5923B;
  --aqua: #6FE7E0;
  --danger: #D97757;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --radius: 8px;
  font-family: Inter, Avenir Next, Segoe UI, Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(111, 231, 224, .12), transparent 28rem),
    radial-gradient(circle at 8% 16%, rgba(243, 201, 105, .10), transparent 24rem),
    linear-gradient(180deg, #071012 0%, #0A1416 50%, #071012 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

img,
svg {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(7, 16, 18, .82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}

.nav a,
.header-cta {
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(243, 201, 105, .45);
  border-radius: var(--radius);
  color: var(--gold);
  font-weight: 750;
}

.header-cta:hover {
  background: rgba(243, 201, 105, .12);
  border-color: rgba(243, 201, 105, .75);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(116px, 14vh, 164px) clamp(18px, 5vw, 74px) clamp(48px, 8vh, 88px);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-plane {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(207, 232, 225, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 232, 225, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 52% 44%, #000 0, transparent 68%);
}

.signal {
  position: absolute;
  border: 1px solid rgba(111, 231, 224, .24);
  transform: rotate(45deg);
  border-radius: 28px;
}

.signal-a {
  width: 380px;
  height: 380px;
  right: 7%;
  top: 18%;
}

.signal-b {
  width: 620px;
  height: 620px;
  left: -150px;
  bottom: -220px;
  border-color: rgba(243, 201, 105, .18);
}

.signal-c {
  width: 210px;
  height: 210px;
  right: 30%;
  bottom: 21%;
  border-color: rgba(247, 250, 248, .14);
}

.system-map {
  position: absolute;
  width: min(72vw, 920px);
  right: -80px;
  top: 20%;
  opacity: .78;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .35));
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8.2vw, 8.25rem);
  line-height: .91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: .98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold) 0%, #E3AC4A 52%, #80EEE7 140%);
  color: #071012;
  box-shadow: 0 20px 54px rgba(197, 146, 59, .22);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(247, 250, 248, .06);
}

.button.secondary:hover {
  border-color: rgba(207, 232, 225, .34);
  background: rgba(247, 250, 248, .10);
}

.button.large {
  min-height: 58px;
  padding: 0 26px;
  font-size: 1.02rem;
}

.hero-panel {
  align-self: end;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 16, 18, .58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
}

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

.panel-row span {
  color: var(--dim);
  font-size: .82rem;
  font-weight: 700;
}

.panel-row strong {
  font-size: 1.08rem;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 74px);
}

.section.compact {
  padding-top: clamp(48px, 7vw, 96px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading.narrow {
  max-width: 780px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.capability-grid article {
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(247, 250, 248, .08), rgba(247, 250, 248, .045));
}

.capability-grid p,
.method-list p,
.proof-card p,
.lead {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--aqua);
  font-size: .78rem;
  font-weight: 860;
  letter-spacing: .12em;
}

.dark-band {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent),
    #091416;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.industry-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(111, 231, 224, .22);
  border-radius: 999px;
  color: #D6E9E5;
  background: rgba(111, 231, 224, .055);
  font-size: .91rem;
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247, 250, 248, .055);
}

.story-label {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-card p:not(.story-label) {
  color: #D9E8E4;
  font-size: 1.04rem;
}

.story-card span {
  color: var(--dim);
  font-size: .86rem;
  font-weight: 760;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .72fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.lead {
  max-width: 620px;
  font-size: 1.12rem;
}

.method-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.method-list div {
  padding: 26px;
  background: rgba(247, 250, 248, .055);
}

.method-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.03rem;
}

.method-list p {
  margin-bottom: 0;
}

.proof {
  padding-top: 0;
}

.proof-card {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(243, 201, 105, .22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(243, 201, 105, .11), rgba(111, 231, 224, .065)),
    rgba(247, 250, 248, .055);
  box-shadow: var(--shadow);
}

.proof-card img {
  display: block;
  width: min(310px, 88vw);
  height: auto;
  margin-bottom: 42px;
}

.proof-card h2 {
  max-width: 920px;
}

.proof-card p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .92rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 128px;
  }

  .hero-panel {
    max-width: 540px;
  }

  .system-map {
    width: 980px;
    right: -310px;
    top: 24%;
    opacity: .5;
  }

  .capability-grid,
  .story-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    align-items: stretch;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: .88rem;
  }

  .hero {
    padding: 106px 16px 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions,
  .contact {
    width: 100%;
  }

  .button,
  .button.large {
    width: 100%;
  }

  .capability-grid,
  .story-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 0;
  }

  .icon {
    margin-bottom: 34px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}
