:root {
  color-scheme: light;
  --ink: #101318;
  --muted: #5b6471;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: rgba(16, 19, 24, 0.12);
  --teal: #00a99d;
  --amber: #f2a23a;
  --blue: #2367d1;
  --violet: #7756d6;
  --shadow: 0 22px 60px rgba(16, 19, 24, 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;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.88);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(16, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

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

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #11151a;
  color: #ffffff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.92) 0%, rgba(7, 10, 14, 0.68) 38%, rgba(7, 10, 14, 0.18) 78%),
    linear-gradient(0deg, rgba(7, 10, 14, 0.72) 0%, rgba(7, 10, 14, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 760px);
  min-height: 92vh;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 6vw, 76px) 132px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  width: 100%;
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

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

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

.button.primary {
  background: var(--teal);
  color: #061616;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

.button.ghost.dark {
  border-color: rgba(16, 19, 24, 0.22);
  color: var(--ink);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 28px;
  left: clamp(18px, 5vw, 64px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-strip span {
  min-height: 58px;
  padding: 18px 18px 0 0;
}

.intro,
.services,
.edge-band,
.process,
.contact,
.footer {
  padding-inline: clamp(20px, 6vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 7vw, 96px);
  padding-block: clamp(72px, 10vw, 124px);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro p:last-child,
.edge-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.services,
.process {
  padding-block: clamp(72px, 10vw, 126px);
}

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

.service-card {
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 1px 0 rgba(16, 19, 24, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(0, 169, 157, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-number {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.edge-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  gap: clamp(22px, 5vw, 76px);
  align-items: stretch;
  padding-block: clamp(64px, 9vw, 108px);
  background:
    radial-gradient(circle at 25% 10%, rgba(0, 169, 157, 0.16), transparent 30%),
    linear-gradient(135deg, #12161d, #202833 52%, #12161d);
  color: #ffffff;
}

.edge-panel h2 {
  margin-bottom: 24px;
}

.edge-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div {
  display: grid;
  min-height: 118px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.metrics strong {
  color: var(--amber);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 680;
}

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

.timeline div {
  min-height: 230px;
  border-right: 1px solid var(--line);
  padding: 24px 24px 0 0;
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 70px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding-block: clamp(64px, 9vw, 108px);
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

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

  .nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero-content {
    min-height: 88vh;
    padding-top: 112px;
  }

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

  .intro,
  .edge-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .timeline div:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-end;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    width: 100%;
    padding-inline: 28px;
    padding-bottom: 220px;
  }

  .hero-copy {
    font-size: 1.12rem;
    max-width: 300px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.52)),
      linear-gradient(0deg, rgba(7, 10, 14, 0.84) 0%, rgba(7, 10, 14, 0.12) 54%);
  }

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

  .hero-strip {
    bottom: 22px;
  }

  .hero-strip span {
    min-height: 36px;
    padding-top: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: min(100%, 300px);
  }

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

  .timeline div,
  .timeline div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }

  .timeline div:last-child {
    border-bottom: 0;
  }

  .timeline span {
    margin-bottom: 22px;
  }

  .footer {
    flex-direction: column;
  }
}

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