:root {
  --ink: #071a2c;
  --ink-soft: #183047;
  --teal: #075d6b;
  --teal-dark: #064857;
  --gold: #bd8504;
  --gold-soft: #f3d38a;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d8dfdd;
  --muted: #61707d;
  --shadow: 0 20px 70px rgba(7, 26, 44, 0.11);
  --radius: 8px;
  --font-body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
  padding: 10px clamp(20px, 4vw, 64px);
  background: rgba(247, 248, 246, 0.88);
  border-bottom: 1px solid rgba(216, 223, 221, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
}

.brand strong {
  color: var(--teal);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 34px);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 26, 44, 0.2);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(700px, 100vh);
  padding: 118px clamp(20px, 4vw, 64px) 54px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(247, 248, 246, 0.98) 0%, rgba(247, 248, 246, 0.92) 55%, rgba(216, 232, 230, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(7, 26, 44, 0.045) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(7, 26, 44, 0.035) 0 1px, transparent 1px 74px);
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.hero-grid,
.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
}

h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.04;
}

h3 {
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.18;
}

.title-line {
  display: block;
}

.text-accent {
  color: var(--gold);
}

.hero-subheadline {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(189, 133, 4, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a87503;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 26, 44, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(7, 26, 44, 0.38);
  background: var(--white);
}

.hero-panel {
  position: relative;
  min-height: 0;
  aspect-ratio: 1448 / 1086;
}

.hero-visual-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(7, 26, 44, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dashboard-map,
.target-list {
  border: 1px solid rgba(7, 26, 44, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-map {
  position: relative;
  min-height: 292px;
  padding: 14px;
  overflow: hidden;
}

.dashboard-topline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-topline strong {
  color: var(--teal);
  font-size: 0.68rem;
}

.dataset-pills {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.dataset-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 8px;
  border: 1px solid rgba(7, 93, 107, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.67rem;
  font-weight: 780;
}

.anomaly-map {
  position: absolute;
  inset: 62px 14px 14px;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 61% 52%, rgba(226, 118, 0, 0.98) 0 8%, rgba(226, 118, 0, 0.56) 9% 17%, rgba(226, 118, 0, 0.24) 18% 29%, transparent 30%),
    radial-gradient(ellipse at 24% 36%, rgba(7, 93, 107, 0.72) 0 7%, rgba(7, 93, 107, 0.28) 8% 17%, transparent 18%),
    radial-gradient(ellipse at 77% 27%, rgba(7, 93, 107, 0.55) 0 6%, rgba(7, 93, 107, 0.2) 7% 15%, transparent 16%),
    radial-gradient(ellipse at 48% 78%, rgba(7, 93, 107, 0.5) 0 5%, rgba(7, 93, 107, 0.18) 6% 14%, transparent 15%),
    repeating-linear-gradient(105deg, rgba(7, 26, 44, 0.11) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(18deg, rgba(7, 26, 44, 0.055) 0 1px, transparent 1px 22px),
    #f7f8f6;
}

.anomaly-map::before {
  position: absolute;
  inset: -12%;
  content: "";
  background:
    radial-gradient(ellipse at 60% 51%, transparent 0 9%, rgba(189, 133, 4, 0.22) 10% 10.5%, transparent 11% 17%, rgba(189, 133, 4, 0.2) 18% 18.5%, transparent 19% 28%, rgba(189, 133, 4, 0.18) 29% 29.5%, transparent 30%),
    radial-gradient(ellipse at 24% 36%, transparent 0 8%, rgba(7, 93, 107, 0.2) 9% 9.5%, transparent 10% 16%, rgba(7, 93, 107, 0.16) 17% 17.5%, transparent 18%);
  opacity: 0.95;
}

.anomaly-map::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(7, 93, 107, 0.42) 1px, transparent 1.5px);
  background-size: 19px 19px;
  opacity: 0.42;
}

.grid-line,
.fault-line,
.contour,
.target-dot {
  position: absolute;
  z-index: 2;
}

.grid-line {
  background: rgba(7, 26, 44, 0.08);
}

.grid-line.vertical {
  top: 0;
  bottom: 0;
  width: 1px;
}

.grid-line.horizontal {
  left: 0;
  right: 0;
  height: 1px;
}

.v1 {
  left: 34%;
}

.v2 {
  left: 68%;
}

.h1 {
  top: 36%;
}

.h2 {
  top: 70%;
}

.fault-line {
  width: 1px;
  height: 140%;
  background: rgba(7, 26, 44, 0.22);
  transform-origin: center;
}

.f1 {
  top: -16%;
  left: 48%;
  transform: rotate(31deg);
}

.f2 {
  top: -22%;
  left: 79%;
  transform: rotate(-36deg);
}

.contour {
  width: 42%;
  height: 36%;
  border: 1px solid rgba(7, 26, 44, 0.14);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.c1 {
  left: 41%;
  top: 30%;
}

.c2 {
  left: 34%;
  top: 25%;
  width: 56%;
  height: 48%;
}

.c3 {
  left: 18%;
  top: 10%;
  width: 70%;
  height: 70%;
}

.target-dot {
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(7, 93, 107, 0.24), 0 10px 22px rgba(7, 26, 44, 0.18);
}

.target-dot strong {
  position: absolute;
  left: 18px;
  top: -6px;
  white-space: nowrap;
  padding: 4px 7px;
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.target-a {
  left: 60%;
  top: 50%;
  background: #e27b00;
  box-shadow: 0 0 0 5px rgba(226, 123, 0, 0.25), 0 0 0 24px rgba(226, 123, 0, 0.1), 0 10px 22px rgba(7, 26, 44, 0.2);
}

.target-a::before,
.target-a::after {
  position: absolute;
  content: "";
  background: rgba(226, 123, 0, 0.82);
}

.target-a::before {
  left: -40px;
  top: 4px;
  width: 92px;
  height: 2px;
}

.target-a::after {
  left: 4px;
  top: -40px;
  width: 2px;
  height: 92px;
}

.target-a strong {
  color: var(--white);
  background: #e27b00;
}

.target-b {
  left: 24%;
  top: 36%;
}

.target-c {
  left: 78%;
  top: 26%;
}

.target-c strong {
  left: auto;
  right: 18px;
}

.target-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 13px;
}

.target-list-title {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.target-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(7, 26, 44, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.84);
}

.target-row-priority {
  position: relative;
  border-color: rgba(226, 123, 0, 0.28);
  box-shadow: inset 4px 0 0 #e27b00;
}

.target-row-priority div {
  padding-right: 50px;
}

.rank {
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.target-row-priority .rank {
  color: #e27b00;
}

.target-row strong,
.target-row small,
.target-row em {
  display: block;
}

.target-row strong {
  color: var(--teal-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.target-row small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.target-row em {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 6px;
  border-radius: 5px;
  color: #b76400;
  background: rgba(226, 123, 0, 0.11);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.score {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, currentColor var(--score), rgba(7, 26, 44, 0.12) var(--score));
}

.score-high {
  --score: 88%;
  color: #e27b00;
}

.score-mid {
  --score: 64%;
  color: var(--teal);
}

.score-low {
  --score: 46%;
  color: #8aa0a9;
}

.dashboard-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 44, 0.1);
  border-radius: 7px;
  background: rgba(7, 26, 44, 0.1);
}

.dashboard-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.intro-section,
.services-section,
.approach-section,
.outputs-section,
.contact-section {
  padding: clamp(68px, 9vw, 116px) clamp(20px, 4vw, 64px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 86px);
}

.intro-copy p,
.section-heading p,
.workflow-list p,
.output-item p,
.contact-section p,
.service-card p {
  color: var(--muted);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(216, 223, 221, 0.82);
  border-bottom: 1px solid rgba(216, 223, 221, 0.82);
  background: var(--white);
}

.signal-item {
  min-height: 132px;
  padding: 28px clamp(20px, 3vw, 46px);
  border-right: 1px solid rgba(216, 223, 221, 0.82);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signal-item strong {
  display: block;
  max-width: 260px;
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 700;
}

.services-section {
  background: var(--ink);
}

.services-section .section-heading h2,
.services-section .service-card h3 {
  color: var(--white);
}

.services-section .section-heading p,
.services-section .service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.services-section .eyebrow {
  color: var(--gold-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-card {
  min-height: 306px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--ink);
}

.service-card-muted {
  background: rgba(7, 93, 107, 0.35);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 360px;
  min-height: 56px;
}

.service-card p {
  margin: 18px 0 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list span {
  color: var(--gold);
  font-weight: 700;
}

.workflow-list p {
  margin: 8px 0 0;
}

.outputs-section {
  background: #edf2f1;
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.output-item {
  min-height: 198px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.output-item h3 {
  color: var(--teal-dark);
}

.output-item p {
  margin: 14px 0 0;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 44, 0.98), rgba(6, 72, 87, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.66fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.contact-section .eyebrow {
  color: var(--gold-soft);
}

.contact-section p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  gap: 24px;
  justify-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel img {
  width: min(330px, 100%);
}

.contact-email {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 720;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--white);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.68);
  background: #04111e;
  font-size: 0.88rem;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-subheadline {
    font-size: 1.08rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(247, 248, 246, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero-grid,
  .intro-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(760px, 100%);
    justify-self: center;
  }

  .signal-strip,
  .services-grid,
  .outputs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(1),
  .signal-item:nth-child(2) {
    border-bottom: 1px solid rgba(216, 223, 221, 0.82);
  }

}

@media (max-width: 660px) {
  .brand {
    gap: 8px;
    font-size: 0.95rem;
  }

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

  .hero {
    padding-top: 100px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 46px;
    line-height: 1.04;
  }

  h2 {
    font-size: 32px;
    line-height: 1.08;
  }

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

  .hero-panel {
    width: 100%;
  }

  .signal-strip,
  .services-grid,
  .outputs-grid {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 223, 221, 0.82);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .service-card,
  .output-item,
  .contact-panel {
    padding: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: auto;
  }

  .workflow-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .site-footer {
    display: grid;
  }
}
