:root {
  color-scheme: light;
  --ink: #10202e;
  --muted: #51606f;
  --line: #dce5ec;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --aqua: #1aa6b7;
  --blue: #2563eb;
  --violet: #7c3aed;
  --green: #2f8f5b;
  --graphite: #17212b;
  --shadow: 0 18px 60px rgba(16, 32, 46, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1830;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 22px;
  letter-spacing: 0;
}

.brand-name span,
.hero h1 span {
  color: var(--aqua);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.is-scrolled .desktop-nav {
  color: var(--muted);
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--aqua);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  padding: 0 18px;
  background: white;
  color: var(--graphite);
  font-size: 14px;
}

.is-scrolled .header-action {
  background: var(--graphite);
  color: white;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.menu-button svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 80px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 23, 34, 0.93) 0%, rgba(12, 23, 34, 0.78) 37%, rgba(12, 23, 34, 0.34) 70%, rgba(12, 23, 34, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 23, 34, 0.35) 0%, rgba(12, 23, 34, 0.05) 58%, rgba(12, 23, 34, 0.88) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 74px;
  color: white;
}

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

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 10vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2.3vw, 28px);
  line-height: 1.35;
  font-weight: 500;
}

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

.button {
  padding: 0 20px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--aqua);
  color: #06141a;
}

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

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

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

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  background: white;
}

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

.section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-text,
.section-heading p,
.cta-section p,
.service-card p,
.engagement-card p,
.proof-grid p,
.site-footer p {
  color: var(--muted);
}

.section-text {
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
}

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

.service-card {
  min-height: 330px;
  padding: 32px;
  background: white;
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #eaf8fb;
  color: var(--blue);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.engagement-card h3 {
  margin: 24px 0 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.service-card p,
.engagement-card p,
.proof-grid p {
  margin: 0;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 54px;
  background: #eaf0f5;
}

.section-heading > p:not(.eyebrow) {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-grid article {
  border-left: 4px solid var(--aqua);
  padding: 24px 26px;
  background: white;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

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

.engagement-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 26px rgba(16, 32, 46, 0.06);
}

.engagement-card.featured {
  border-color: rgba(26, 166, 183, 0.45);
  box-shadow: var(--shadow);
}

.card-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  padding: 80px clamp(20px, 5vw, 72px);
  background: var(--graphite);
  color: white;
}

.cta-section p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-section .button.primary {
  background: white;
  color: var(--graphite);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: white;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .desktop-nav,
  .header-action {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-header.is-scrolled .menu-button {
    border-color: var(--line);
    background: white;
  }

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

  .intro-section,
  .delivery-section,
  .cta-section {
    grid-template-columns: 1fr;
  }
}

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

  .brand-name {
    font-size: 20px;
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 23, 34, 0.94) 0%, rgba(12, 23, 34, 0.82) 58%, rgba(12, 23, 34, 0.56) 100%),
      linear-gradient(180deg, rgba(12, 23, 34, 0.2) 0%, rgba(12, 23, 34, 0.9) 100%);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

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

  .service-card,
  .engagement-card {
    min-height: auto;
    padding: 26px;
  }

  .cta-section {
    padding: 64px 18px;
  }

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