:root {
  --black: #05080b;
  --carbon: #0b1014;
  --panel: #101820;
  --panel-2: #151f26;
  --paper: #f6f8f7;
  --ink: #f4f8fb;
  --muted: #a9b7c3;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #0077bd;
  --blue-hot: #00a4ff;
  --cyan: #3ce4d0;
  --green: #9df871;
  --amber: #ffb454;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--black);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1220px);
  min-height: 74px;
  margin: 16px auto 0;
  padding: 10px 12px;
  background: rgba(6, 10, 13, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 11, 0.94);
  border-color: rgba(60, 228, 208, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  height: 52px;
  flex: 0 0 122px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
}

.brand-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  color: rgba(244, 248, 251, 0.75);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(60, 228, 208, 0.12);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background: var(--carbon);
}

.hero-image,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.56;
  filter: saturate(1.05) contrast(1.08);
}

.hero-grid {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96) 0%, rgba(5, 8, 11, 0.76) 44%, rgba(5, 8, 11, 0.38) 100%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.92) 0%, rgba(5, 8, 11, 0.02) 45%),
    repeating-linear-gradient(90deg, rgba(60, 228, 208, 0.12) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 80px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  min-height: 78svh;
  margin: 0 auto;
  padding: 124px 0 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.hero h1,
.intro h2,
.about h2,
.section-heading h2,
.method h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  font-size: 4.8rem;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(244, 248, 251, 0.8);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #021312;
  background: var(--cyan);
}

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

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(60, 228, 208, 0.56);
  background: rgba(60, 228, 208, 0.12);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
  margin-top: 42px;
}

.signal-strip span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px;
  color: rgba(244, 248, 251, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 900;
}

.intro {
  padding: 78px 0;
  background: var(--paper);
  color: #111820;
}

.intro-grid,
.about-grid,
.contact-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 68px;
  align-items: center;
}

.intro h2,
.about h2,
.section-heading h2,
.method h2,
.contact h2 {
  font-size: 3rem;
}

.intro .section-kicker,
.about .section-kicker,
.services .section-kicker {
  color: var(--blue);
}

.intro p:last-child {
  margin: 0;
  color: #3d4750;
  font-size: 1.06rem;
}

.about {
  padding: 78px 0;
  background:
    linear-gradient(90deg, rgba(0, 119, 189, 0.16), rgba(60, 228, 208, 0.05)),
    #eef3f5;
  color: #101820;
  border-top: 1px solid #d7dde1;
}

.about-grid {
  align-items: stretch;
}

.about-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(60, 228, 208, 0.18), rgba(0, 119, 189, 0.22)),
    #071016;
  border: 1px solid rgba(0, 119, 189, 0.24);
  border-radius: 8px;
}

.about-stat span {
  display: block;
  color: var(--cyan);
  font-size: 5rem;
  line-height: 0.9;
  font-weight: 900;
}

.about-stat p {
  max-width: 260px;
  margin: 18px 0 0;
  color: rgba(244, 248, 251, 0.78);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-copy {
  align-self: center;
}

.about-copy p:last-child {
  margin: 22px 0 0;
  color: #3d4750;
  font-size: 1.06rem;
}

.services {
  padding: 104px 0;
  background: var(--black);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

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

.service-card,
.method-step,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(60, 228, 208, 0.08), rgba(0, 119, 189, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.service-card {
  min-height: 288px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-hot), var(--green));
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 228, 208, 0.42);
  background:
    linear-gradient(135deg, rgba(60, 228, 208, 0.12), rgba(0, 119, 189, 0.06)),
    rgba(255, 255, 255, 0.06);
}

.service-card-wide {
  grid-column: span 3;
  min-height: 210px;
}

.service-index {
  width: max-content;
  margin-bottom: auto;
  padding: 5px 8px;
  color: #051413;
  background: var(--green);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3,
.method-step h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.15;
}

.service-card p,
.method-step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.method {
  padding: 104px 0;
  background:
    linear-gradient(90deg, rgba(0, 119, 189, 0.16), transparent 45%),
    #0b1014;
}

.method-copy p,
.contact p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.method-steps {
  display: grid;
  gap: 14px;
}

.method-step {
  min-height: 148px;
  padding: 24px;
}

.method-step span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact {
  padding: 104px 0;
  background: var(--paper);
  color: #101820;
}

.contact .section-kicker {
  color: var(--blue);
}

.contact h2 {
  max-width: 780px;
}

.contact p {
  color: #47525d;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: #ffffff;
  border-color: #d7dde1;
}

.contact-panel a {
  display: block;
  padding: 18px 0;
  color: #101820;
  border-bottom: 1px solid #d7dde1;
  font-size: 1.18rem;
  font-weight: 900;
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--blue);
  outline: none;
}

.site-footer {
  color: rgba(244, 248, 251, 0.7);
  background: #030507;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  font-size: 0.92rem;
}

.footer-inner a {
  color: #ffffff;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero h1,
  .intro h2,
  .about h2,
  .section-heading h2,
  .method h2,
  .contact h2 {
    font-size: 3.35rem;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 124px 0 48px;
  }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .method-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    width: min(calc(100% - 24px), 1220px);
    min-height: 66px;
    margin-top: 12px;
    padding: 10px;
  }

  .brand-plate {
    width: 100px;
    height: 46px;
    flex-basis: 100px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 10px;
    background: rgba(5, 8, 11, 0.98);
    border: 1px solid rgba(60, 228, 208, 0.2);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-grid {
    background:
      linear-gradient(90deg, rgba(5, 8, 11, 0.96) 0%, rgba(5, 8, 11, 0.82) 62%, rgba(5, 8, 11, 0.5) 100%),
      linear-gradient(0deg, rgba(5, 8, 11, 0.94) 0%, rgba(5, 8, 11, 0.06) 52%),
      repeating-linear-gradient(90deg, rgba(60, 228, 208, 0.1) 0 1px, transparent 1px 68px),
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 68px);
  }

  .hero-inner {
    padding: 114px 0 40px;
  }

  .hero h1,
  .intro h2,
  .about h2,
  .section-heading h2,
  .method h2,
  .contact h2 {
    font-size: 2.38rem;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .signal-strip {
    margin-top: 30px;
  }

  .signal-strip span {
    min-height: 44px;
  }

  .service-card,
  .service-card-wide {
    min-height: auto;
    grid-column: auto;
  }

  .intro,
  .about,
  .services,
  .method,
  .contact {
    padding: 72px 0;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-panel a {
    font-size: 1rem;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 410px) {
  .brand-plate {
    width: 88px;
    height: 42px;
    flex-basis: 88px;
  }

  .hero h1,
  .intro h2,
  .about h2,
  .section-heading h2,
  .method h2,
  .contact h2 {
    font-size: 2.04rem;
  }
}
