:root {
  --ink: #14201f;
  --muted: #53615f;
  --line: #d9dfdc;
  --paper: #f7f7f2;
  --white: #ffffff;
  --steel: #52626c;
  --green: #0e5b4d;
  --teal: #13837b;
  --yellow: #f0b429;
  --coral: #c95e40;
  --shadow: 0 24px 70px rgba(20, 32, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 247, 242, 0.93);
  box-shadow: 0 12px 34px rgba(20, 32, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-action,
.button {
  text-decoration: none;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
  color: inherit;
}

.nav a {
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.header-action {
  justify-self: end;
  border: 1px solid currentColor;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: 130px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 24, 25, 0.95), rgba(9, 24, 25, 0.76) 45%, rgba(9, 24, 25, 0.34)),
    radial-gradient(circle at 82% 18%, rgba(240, 180, 41, 0.34), transparent 26%),
    linear-gradient(135deg, #10211f, #27444c 54%, #788476);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22vh;
  background:
    linear-gradient(transparent, rgba(9, 24, 25, 0.38)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 11vw);
  pointer-events: none;
}

.hero-inner,
.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #17211c;
  background: var(--yellow);
}

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

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

.hero-panel {
  display: grid;
  gap: 12px;
  align-self: end;
  margin-bottom: 8px;
}

.hero-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 24, 25, 0.56);
  backdrop-filter: blur(12px);
}

.metric {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
  color: var(--yellow);
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.network-visual {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.hero-asset {
  position: absolute;
  right: clamp(-80px, -5vw, -28px);
  bottom: clamp(26px, 8vh, 88px);
  width: min(760px, 58vw);
  z-index: 1;
  opacity: 0.9;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.24));
}

.lane {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transform-origin: center;
}

.lane-one {
  width: 62vw;
  right: -5vw;
  top: 31%;
  transform: rotate(-14deg);
}

.lane-two {
  width: 54vw;
  right: 9vw;
  top: 54%;
  transform: rotate(18deg);
}

.lane-three {
  width: 40vw;
  right: 4vw;
  top: 70%;
  transform: rotate(-4deg);
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--yellow);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 12px rgba(240, 180, 41, 0.12);
}

.node-a { right: 39vw; top: 28%; }
.node-b { right: 17vw; top: 43%; }
.node-c { right: 34vw; top: 66%; }
.node-d { right: 8vw; top: 73%; }

.yard {
  position: absolute;
  right: 4vw;
  bottom: 10vh;
  display: grid;
  grid-template-columns: repeat(5, minmax(58px, 8vw));
  gap: 8px;
  transform: perspective(700px) rotateX(58deg) rotateZ(-8deg);
}

.yard span {
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.12));
  border: 1px solid rgba(255,255,255,0.22);
}

section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.intro p,
.results span,
.contact-copy p,
.section-grid > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(20, 32, 31, 0.05);
}

.service-card.emphasized {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.service-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.62;
}

.service-card.emphasized p {
  color: rgba(255, 255, 255, 0.78);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: var(--green);
  border: 1px solid currentColor;
  font-weight: 900;
  font-size: 0.82rem;
}

.emphasized .icon {
  color: var(--yellow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline article {
  position: relative;
  padding: 28px 24px 0 0;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.fit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fit-row span {
  padding: 12px 14px;
  color: var(--green);
  border: 1px solid rgba(14, 91, 77, 0.26);
  background: rgba(14, 91, 77, 0.06);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 540px);
  gap: clamp(28px, 7vw, 90px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 91, 77, 0.98), rgba(34, 48, 55, 0.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 80px);
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.email-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 1.15rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfbf8;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

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

  .nav {
    display: none;
  }

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

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

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

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

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

  .yard {
    opacity: 0.45;
  }

  .hero-asset {
    right: -150px;
    width: min(720px, 94vw);
    opacity: 0.42;
  }
}

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

  .brand span:last-child {
    max-width: 120px;
  }

  .header-action {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .hero-panel,
  .card-grid,
  .timeline,
  .result-list div {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-asset {
    right: -220px;
    bottom: 18px;
    width: 760px;
    opacity: 0.28;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
