:root {
  --black: #050505;
  --graphite: #171717;
  --graphite-2: #222222;
  --off-white: #f2f2f2;
  --muted: #b8b8b8;
  --muted-2: #8e8e8e;
  --cyan: #00d4ff;
  --green: #24f29c;
  --line: rgba(242, 242, 242, 0.12);
  --line-strong: rgba(242, 242, 242, 0.2);
  --glass: rgba(255, 255, 255, 0.055);
  --gradient: linear-gradient(90deg, var(--cyan) 0%, var(--green) 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #050505 0%, #090909 42%, #050505 100%);
  color: var(--off-white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-word {
  font-size: 1.28rem;
  line-height: 1;
  color: var(--off-white);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: rgba(242, 242, 242, 0.76);
  font-size: 0.84rem;
  font-weight: 600;
}

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

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta,
.button-primary {
  color: #050505;
  background: var(--gradient);
  box-shadow: 0 16px 38px rgba(0, 212, 255, 0.18);
}

.button-secondary {
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  border-color: rgba(36, 242, 156, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--off-white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

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

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  min-height: 100svh;
  padding: 150px max(24px, calc((100vw - var(--max-width)) / 2)) 84px;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.76) 52%, rgba(5, 5, 5, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 112px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 62%, transparent 100%);
}

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

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

.hero h1,
.section-intro h2,
.method-copy h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 6.8rem;
  font-weight: 800;
  line-height: 0.9;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(242, 242, 242, 0.76);
  font-size: 1.16rem;
  line-height: 1.65;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(242, 242, 242, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.8rem;
  font-weight: 600;
}

.route-visual {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.route-visual svg {
  width: min(100%, 680px);
  min-height: 400px;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.18));
}

.route-line {
  fill: none;
  stroke: url("#routeGradient");
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.84;
  filter: url("#routeGlow");
  stroke-dasharray: 18 18;
  animation: routeMove 6s linear infinite;
}

.route-line-2 {
  animation-duration: 7.5s;
  opacity: 0.72;
}

.route-line-3 {
  animation-duration: 8.4s;
  opacity: 0.66;
}

.route-line-4 {
  animation-duration: 9.2s;
  opacity: 0.58;
}

.route-line-5 {
  animation-duration: 10.4s;
  opacity: 0.5;
}

.route-node {
  fill: var(--green);
  filter: url("#routeGlow");
}

.route-node-small {
  fill: var(--cyan);
  opacity: 0.65;
}

@keyframes routeMove {
  to {
    stroke-dashoffset: -72;
  }
}

.visual-note {
  width: min(100%, 330px);
  justify-self: end;
  margin-top: -92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(14px);
}

.visual-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-note strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.section,
.services-section,
.why-section {
  padding: clamp(78px, 9vw, 130px) max(24px, calc((100vw - var(--max-width)) / 2));
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-intro-left {
  margin: 0;
  text-align: left;
}

.section-intro h2,
.method-copy h2,
.contact-copy h2 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 0.98;
}

.section-intro p:not(.eyebrow),
.contact-copy p {
  margin: 20px 0 0;
  color: rgba(242, 242, 242, 0.68);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.glass-card,
.service-card,
.pillar,
.contact-form {
  position: relative;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 255, 255, 0.09), rgba(36, 242, 156, 0.26)) border-box;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-card {
  min-height: 260px;
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.glass-card:hover,
.service-card:hover,
.pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 242, 156, 0.38);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.icon-wrap svg {
  width: 30px;
  height: 30px;
}

.icon-wrap svg path,
.icon-wrap svg circle {
  fill: none;
  stroke: url("#routeGradient");
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glass-card h3,
.service-card h3,
.pillar h3 {
  margin: 0;
  color: var(--off-white);
  font-size: 1.16rem;
}

.glass-card p,
.service-card p,
.pillar p {
  margin: 14px 0 0;
  color: rgba(242, 242, 242, 0.64);
  line-height: 1.72;
}

.services-section {
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.42), rgba(5, 5, 5, 0));
}

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

.service-card {
  min-height: 248px;
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.service-card span,
.method-step span,
.pillar-index {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.service-card h3 {
  margin-top: 42px;
  max-width: 260px;
  font-size: 1.24rem;
  line-height: 1.18;
}

.method-band {
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
}

.method-inner {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: center;
  gap: 52px;
  padding: clamp(42px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--graphite);
  overflow: hidden;
}

.method-track {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 12px;
}

.method-step {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.42);
}

.method-step strong {
  font-size: 1.18rem;
}

.method-arrow {
  height: 2px;
  background: var(--gradient);
  position: relative;
}

.method-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.pillar-stack {
  display: grid;
  gap: 16px;
}

.pillar {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 164px;
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.pillar-index {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(36, 242, 156, 0.32);
  border-radius: 50%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
  padding: clamp(78px, 9vw, 130px) max(24px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(23, 23, 23, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
}

.contact-copy {
  position: sticky;
  top: 132px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form span {
  color: rgba(242, 242, 242, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.54);
  color: var(--off-white);
  outline: none;
  padding: 14px 15px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 142px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 212, 255, 0.64);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.contact-form button {
  justify-self: start;
  margin-top: 4px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 44px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050505;
}

.footer-brand p,
.copyright {
  margin: 14px 0 0;
  color: rgba(242, 242, 242, 0.58);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(242, 242, 242, 0.64);
  font-size: 0.88rem;
  font-weight: 600;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-open .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  }

  .nav-open .nav-links a {
    width: 100%;
    padding: 15px 12px;
    border-radius: 6px;
  }

  .nav-open .nav-links a:hover {
    background: rgba(255, 255, 255, 0.055);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero h1 {
    font-size: 5.4rem;
  }

  .section-intro h2,
  .method-copy h2,
  .contact-copy h2 {
    font-size: 3.4rem;
  }

  .route-visual {
    min-height: 360px;
  }

  .route-visual svg {
    min-height: 320px;
  }

  .visual-note {
    justify-self: start;
    margin-top: -80px;
  }

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

  .method-inner,
  .why-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max-width));
    min-height: 62px;
    padding: 9px 10px 9px 14px;
  }

  .brand-mark {
    width: 34px;
  }

  .hero {
    gap: 32px;
    padding: 116px 20px 62px;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .route-visual {
    min-height: 310px;
    overflow: hidden;
  }

  .route-visual svg {
    width: 130%;
    margin-left: -20%;
    min-height: 300px;
  }

  .visual-note {
    width: 100%;
    margin-top: -70px;
  }

  .section,
  .services-section,
  .why-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-intro {
    margin-bottom: 30px;
    text-align: left;
  }

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

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

  .method-inner {
    padding: 28px 18px;
  }

  .method-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .method-arrow {
    width: 2px;
    height: 26px;
    justify-self: center;
  }

  .method-arrow::after {
    right: auto;
    top: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .method-step {
    min-height: 104px;
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-word {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .section-intro h2,
  .method-copy h2,
  .contact-copy h2 {
    font-size: 2.15rem;
  }

  .hero-metrics {
    display: grid;
  }
}
