:root {
  --ink: #101214;
  --panel: #fbf7ee;
  --paper: #f3efe5;
  --muted: #62686e;
  --line: #d8d5cc;
  --teal: #0f766e;
  --coral: #d95f43;
  --lime: #c6d642;
  --violet: #5b4db7;
  --shadow: 0 24px 60px rgba(16, 18, 20, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 247, 238, 0.94);
  box-shadow: 0 1px 0 rgba(16, 18, 20, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: clamp(188px, 22vw, 280px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.9) 0%, rgba(16, 18, 20, 0.64) 43%, rgba(16, 18, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(16, 18, 20, 0.42), rgba(16, 18, 20, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding-top: 64px;
  padding-bottom: clamp(48px, 8vh, 96px);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.metrics div {
  min-height: 132px;
  padding: 26px clamp(20px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

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

.metrics strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 320px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(24px, 6vw, 80px);
  max-width: 1220px;
  margin: 0 auto 46px;
}

.section-heading h2,
.band h2,
.cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1220px;
  margin: 0 auto;
  gap: 18px;
}

.service-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 18, 20, 0.04);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  color: #fff;
  background: var(--teal);
}

.service-card:nth-child(3) .service-icon {
  color: #fff;
  background: var(--coral);
}

.service-card:nth-child(4) .service-icon {
  color: #fff;
  background: var(--violet);
}

.service-card h3 {
  margin: 28px 0 12px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.service-card h3 a:hover {
  color: var(--teal);
}

.service-card p,
.band p,
.feature-panel p,
.cta p {
  color: var(--muted);
  line-height: 1.68;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #33383c;
  font-weight: 700;
  line-height: 1.35;
}

.service-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.band {
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.band-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  max-width: 1220px;
  margin: 0 auto;
  align-items: start;
}

.band .eyebrow {
  color: var(--coral);
}

.band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.leader-note {
  margin-top: 20px;
}

.timeline {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.timeline div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: block;
  color: var(--lime);
  font-weight: 900;
}

.timeline p {
  margin: 8px 0 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 7vw, 90px);
  max-width: 1360px;
  margin: 0 auto;
}

.section-heading.compact {
  display: block;
  margin: 0;
}

.feature-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.feature-panel div {
  padding: 30px;
  background: var(--panel);
}

.feature-panel h3 {
  margin: 0 0 12px;
}

.cta {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  padding: clamp(54px, 8vw, 84px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.cta > div {
  max-width: 760px;
}

.cta .button-primary {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--lime);
  font-weight: 800;
}

.service-detail {
  max-width: 1040px;
  margin: 0 auto;
}

.service-detail p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-detail h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.service-detail h3 {
  margin: 0 0 10px;
}

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

.detail-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

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

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

@media (max-width: 1080px) {
  .service-grid,
  .feature-panel,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .band-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero img {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.92) 0%, rgba(16, 18, 20, 0.72) 70%, rgba(16, 18, 20, 0.28) 100%),
      linear-gradient(0deg, rgba(16, 18, 20, 0.42), rgba(16, 18, 20, 0.16));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.1rem);
  }

  .hero-actions,
  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .service-grid,
  .feature-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .section,
  .band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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