:root {
  --ink: #071022;
  --muted: #5c6575;
  --paper: #f7f8fb;
  --white: #ffffff;
  --night: #070d2d;
  --violet: #302060;
  --blue: #204080;
  --cyan: #69a8bb;
  --line: rgba(7, 16, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

.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: 20px clamp(20px, 4vw, 56px);
  color: var(--white);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(3, 8, 27, 0.8), rgba(3, 8, 27, 0));
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 760;
  font-size: 1rem;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 54px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 1px rgba(105, 168, 187, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.header-cta {
  justify-self: end;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.header-cta:hover {
  border-color: rgba(105, 168, 187, 0.72);
  background: rgba(105, 168, 187, 0.12);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  padding: 132px clamp(20px, 5vw, 72px) 68px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/dragchain.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 7, 24, 0.95) 0%, rgba(7, 13, 45, 0.78) 38%, rgba(7, 13, 45, 0.38) 72%),
    linear-gradient(180deg, rgba(2, 7, 24, 0.18) 0%, rgba(2, 7, 24, 0.28) 48%, rgba(2, 7, 24, 0.9) 100%);
}

.hero-content {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 0.92;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  overflow-wrap: break-word;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  background: var(--cyan);
  color: #03101a;
  box-shadow: 0 18px 48px rgba(105, 168, 187, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  border-color: rgba(7, 16, 34, 0.2);
  color: var(--ink);
  background: var(--white);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-band span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  color: #2a3447;
  font-weight: 720;
  text-align: center;
}

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

.section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-light {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.section-heading h2,
.outcomes-content h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
}

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

.service-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 16, 34, 0.04);
}

.card-index {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 780;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-method {
  background: var(--white);
}

.method-list {
  border-top: 1px solid var(--line);
}

.method-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.55fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.method-item span {
  color: var(--blue);
  font-weight: 820;
}

.method-item p {
  max-width: 780px;
  margin-bottom: 0;
  color: #333d50;
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
}

.section-outcomes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(140deg, rgba(48, 32, 96, 0.34), transparent 48%),
    var(--night);
  color: var(--white);
}

.outcomes-content p:last-child {
  max-width: 670px;
  margin-top: 22px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.metric-panel {
  display: grid;
  gap: 10px;
}

.metric-panel div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-panel strong,
.metric-panel span {
  display: block;
}

.metric-panel strong {
  margin-bottom: 6px;
  color: var(--white);
}

.metric-panel span {
  color: rgba(255, 255, 255, 0.67);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--cyan);
  color: #04121c;
}

.contact-section .section-kicker {
  color: rgba(4, 18, 28, 0.68);
}

.contact-section h2 {
  max-width: 860px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #040814;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 780;
}

.footer-logo {
  width: 46px;
  height: 26px;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 120px;
  }

  .hero-bg {
    background-position: 56% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(2, 7, 24, 0.92) 0%, rgba(7, 13, 45, 0.75) 58%, rgba(7, 13, 45, 0.44) 100%),
      linear-gradient(180deg, rgba(2, 7, 24, 0.1), rgba(2, 7, 24, 0.86));
  }

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

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

  .section-heading,
  .section-outcomes,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .card-index {
    margin-bottom: 42px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 106px 18px 48px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.5rem);
    line-height: 1;
  }

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

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

  .signal-band {
    grid-template-columns: 1fr;
  }

  .signal-band span {
    min-height: 62px;
    border-right: 0;
  }

  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading h2,
  .outcomes-content h2,
  .contact-section h2 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .method-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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