:root {
  --ink: #17243a;
  --ink-soft: #42526a;
  --blue: #1d4d92;
  --blue-deep: #12396f;
  --blue-pale: #d9e7fb;
  --aqua: #31a8c7;
  --coral: #f97352;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #d9e0ea;
  --shadow: 0 24px 70px rgba(23, 36, 58, 0.14);
  --max: 1120px;
}

* {
  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;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.08);
}

.brand {
  width: clamp(174px, 23vw, 270px);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 92vh;
  padding: 128px clamp(20px, 5vw, 64px) 72px;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(244, 247, 251, 0.98) 0%, rgba(255, 255, 255, 0.94) 52%, rgba(217, 231, 251, 0.78) 100%),
    radial-gradient(circle at 85% 18%, rgba(49, 168, 199, 0.16), transparent 34%);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -14vw;
  width: 42vw;
  min-width: 420px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(29, 77, 146, 0.2);
  transform: rotate(18deg);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 10vw, 8.25rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero__lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button--primary {
  color: var(--paper);
  background: var(--blue);
}

.button--ghost {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
}

.hero__mark {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 77, 146, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro,
.section,
.contact {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 5vw, 64px);
}

#home,
#approach,
#services,
#contact {
  scroll-margin-top: 86px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.intro__statement {
  padding-left: 22px;
  border-left: 5px solid var(--aqua);
}

.intro__statement p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro__statement strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.intro__copy {
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
}

.section__heading {
  max-width: 850px;
  margin-bottom: clamp(34px, 6vw, 66px);
}

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

.process-grid article,
.service-list article {
  min-height: 250px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 900;
}

.process-grid p,
.service-list p,
.contact p,
.site-footer p {
  color: var(--ink-soft);
}

.section--ink {
  max-width: none;
  color: var(--paper);
  background: var(--ink);
}

.section--ink .section__heading,
.section--ink .service-list {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section--ink .service-list article {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.section--ink .service-list p {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-card {
  display: block;
  padding: clamp(24px, 5vw, 42px);
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-pale);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    position: relative;
    z-index: 30;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 26px;
    background: rgba(255, 255, 255, 0.96);
    font-size: 1.2rem;
    transform: translateY(-100%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

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

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

  .hero__mark {
    max-width: 520px;
  }

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

  .process-grid article,
  .service-list article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand {
    width: 172px;
  }

  .hero,
  .intro,
  .section,
  .contact {
    padding-inline: 18px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
