:root {
  color-scheme: light;
  --graphite: #16232d;
  --soft-black: #1b2a36;
  --hero-ink: #13212c;
  --cloud-white: #e7eef2;
  --white: #f6fafb;
  --cyan: #72c4d0;
  --cyan-strong: #58b4c4;
  --blue: #789bd3;
  --silver: #aebdc7;
  --slate: #62707b;
  --line: #d3e0e6;
  --line-dark: #314653;
  --max: 1160px;
  --radius: 8px;
  --shadow: 0 20px 55px rgba(20, 32, 43, 0.08);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cloud-white);
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.skip-link {
  left: 16px;
  position: fixed;
  top: -60px;
  z-index: 30;
  background: var(--hero-ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  background: rgba(231, 238, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(211, 224, 230, 0.74);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  left: 0;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-link img {
  width: 214px;
}

.site-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.header-spacer {
  width: 214px;
}

.site-nav a,
.header-cta {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--graphite);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.hero {
  align-items: center;
  background: var(--hero-ink);
  color: var(--cloud-white);
  display: grid;
  min-height: calc(82vh - 76px);
  overflow: hidden;
  position: relative;
}

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

#hero-canvas {
  height: 100%;
  width: 100%;
}

.hero-grid {
  background:
    linear-gradient(rgba(231, 238, 242, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 238, 242, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2), #000 22%, #000 75%, rgba(0, 0, 0, 0.16));
}

.hero::after {
  background: linear-gradient(180deg, rgba(17, 29, 39, 0), var(--hero-ink));
  bottom: 0;
  content: "";
  height: 34%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero::before {
  background: linear-gradient(90deg, rgba(17, 29, 39, 0.94) 0%, rgba(17, 29, 39, 0.86) 48%, rgba(17, 29, 39, 0.4) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-content {
  margin: 0 auto;
  max-width: 1420px;
  padding: 104px clamp(22px, 6vw, 70px) 92px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.section-kicker {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.6rem);
  line-height: 0.98;
  margin-bottom: 26px;
  max-width: 1040px;
}

.hero-copy {
  color: #cedae1;
  font-size: 1.22rem;
  max-width: 820px;
}

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

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 700;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button.secondary {
  border: 1px solid rgba(247, 250, 252, 0.24);
  color: var(--cloud-white);
}

.hero-actions {
  gap: 14px;
}

.hero-actions .button {
  justify-content: center;
  min-width: 242px;
}

.hero-actions .button.primary {
  box-shadow: 0 14px 38px rgba(114, 196, 208, 0.14);
}

.hero-actions .button.secondary {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 14px 38px rgba(114, 196, 208, 0.14);
  color: var(--graphite);
}

.hero-actions .button.secondary:hover {
  background: #82cbd6;
}

.contact .button.secondary,
.services .button.secondary {
  border-color: var(--line);
  color: var(--graphite);
}

.hero-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  max-width: 1180px;
  width: 100%;
}

.hero-card {
  align-items: center;
  background: rgba(246, 250, 251, 0.052);
  border: 1px solid rgba(174, 189, 199, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 138px;
  padding: 12px 16px 12px 12px;
}

.hero-card img {
  aspect-ratio: 12 / 7;
  border-radius: 6px;
  height: 100%;
  max-height: 112px;
  object-fit: cover;
  width: 100%;
}

.hero-card span {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-card p {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 8px 0 0;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 92px clamp(22px, 5vw, 40px);
}

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

.two-column {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.text-stack p,
.section-lead,
.section-heading p,
.contact p {
  color: var(--slate);
  font-size: 1.05rem;
}

.promise {
  background: var(--cloud-white);
}

.section-heading {
  max-width: 780px;
}

.pillar-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 44px;
}

.pillar-row span {
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-weight: 700;
  min-height: 74px;
  padding: 22px 18px;
}

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

.service-card {
  background: var(--cloud-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 250px;
  padding: 24px;
}

.service-number {
  color: var(--blue);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 26px;
}

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

.method {
  background: var(--hero-ink);
  color: var(--cloud-white);
}

.method .section-kicker,
.method .section-heading p {
  color: var(--cyan);
}

.timeline {
  counter-reset: item;
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
}

.timeline li {
  background: var(--soft-black);
  border: 1px solid var(--line-dark);
  display: grid;
  gap: 10px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding: 24px;
}

.timeline strong {
  color: var(--white);
}

.timeline span {
  color: var(--silver);
}

.reason-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.reason-list li {
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  padding: 0 0 14px;
}

.contact {
  background: var(--cloud-white);
}

.contact-layout {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

.contact-intro {
  max-width: 960px;
}

.contact-intro h2 {
  max-width: 980px;
}

.contact-intro p {
  max-width: 820px;
}

.contact-actions {
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  padding: 28px;
  width: 100%;
}

.contact-actions .button {
  justify-content: center;
  min-height: 56px;
  width: 100%;
}

.contact-note {
  color: var(--slate);
  font-size: 0.92rem;
  grid-column: 1 / -1;
  margin: 4px 0 0;
}

.site-footer {
  background: var(--hero-ink);
  color: var(--silver);
  padding: 34px clamp(22px, 5vw, 56px);
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-inner img {
  width: 214px;
}

.footer-inner p {
  margin: 0;
}

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

  .site-nav {
    display: none;
  }

  .header-cta,
  .header-spacer {
    display: none;
  }

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero::before {
    background: linear-gradient(90deg, rgba(17, 29, 39, 0.96) 0%, rgba(17, 29, 39, 0.9) 72%, rgba(17, 29, 39, 0.62) 100%);
  }

  .timeline li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand-link img {
    width: 180px;
  }

  .hero {
    min-height: calc(88vh - 68px);
  }

  .hero-content {
    padding-bottom: 76px;
    padding-top: 80px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 100%;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

  .pillar-row,
  .service-grid,
  .hero-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-grid {
    margin-top: 38px;
  }

  .hero-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 124px;
    padding: 10px 14px 10px 10px;
  }

  .hero-card img {
    max-height: 94px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-note {
    grid-column: auto;
  }

  .section-inner {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
