:root {
  --color-bg: #ffffff;
  --color-surface: #f4f8fc;
  --color-surface-2: #edf4fb;
  --color-text: #123457;
  --color-muted: #607895;
  --color-line: #d9e5f0;
  --color-accent: #0d4c7e;
  --color-accent-dark: #092f50;
  --container: 1180px;
  --radius: 14px;
  --shadow: 0 12px 35px rgba(18, 52, 87, .08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 64px;
}

.section-tint {
  background: var(--color-surface);
}

.eyebrow {
  margin: 0 0 12px;
  color: #6d87a2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(34px, 6.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 0;
  overflow-wrap: break-word;
}

p {
  color: var(--color-muted);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  width: 200px;
  height: 40px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: #123457;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
}

@media (max-width: 899px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 12px;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--color-line);
    color: #123457;
    font-size: 16px;
    font-weight: 600;
  }

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

.header-link {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(255, 255, 255, 0.62) 72%, rgba(255, 255, 255, 0.45) 100%),
    url("../assets/hero-laptop.png") center / cover no-repeat;
}

.hero-grid {
  display: grid;
}

.hero-content {
  padding-block: 64px 48px;
}

.hero .lead {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: 17px;
  color:#123457;
}

.hero .lead:last-of-type {
  margin-bottom: 30px;
}

.about-copy {
  max-width: 760px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 20px;
  color: #fff;
  background: var(--color-accent);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.button:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.button span {
  font-size: 18px;
}

.hero-media {
  min-height: 240px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.section-heading {
  margin-bottom: 36px;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-line);
}

.activity-item {
  min-height: 190px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.activity-item img {
  width: 24px;
  height: 24px;
}

.activity-item p {
  max-width: 280px;
  margin-bottom: 0;
  font-size: 14px;
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid #8eabc4;
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 19px;
}

.approach-grid {
  display: grid;
  gap: 16px;
}

.approach-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.approach-copy {
  padding: 24px;
}

.approach-copy p {
  margin-bottom: 0;
  font-size: 14px;
}

.number,
.service-number {
  margin-bottom: 14px;
  color: #5c86a8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.approach-card img {
  height: 190px;
  object-fit: cover;
  margin-top: auto;
}

.section-heading-wide {
  display: grid;
  gap: 24px;
}

.section-description {
  max-width: 470px;
  margin: 0;
}

.services-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 52, 87, .05);
}

.service-card > img {
  height: 170px;
  object-fit: cover;
  object-position: center;
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  min-height: 0;
  margin-bottom: 16px;
}

.service-body p:not(.service-number) {
  font-size: 14px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

.closing {
  padding-block: 80px;
  color: #fff;
  background: var(--color-accent-dark);
}

.closing .eyebrow,
.closing p {
  color: #a9c2d8;
}

.closing h2 {
  max-width: 780px;
  margin-bottom: 24px;
  color: #fff;
}

.contact-details p {
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.button-light {
  color: var(--color-accent-dark);
  background: #fff;
}

.button-light:hover {
  color: #fff;
  background: #315f84;
}

.site-footer {
  padding-block: 24px;
  background: #07243c;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #8fa9bf;
  font-size: 11px;
  letter-spacing: .04em;
}

/* Tablet */
@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .section {
    padding-block: 88px;
  }

  .hero-content {
    padding-block: 88px 64px;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 0;
  }

  .activity-item {
    padding: 30px;
    border: 0;
    border-top: 1px solid var(--color-line);
  }

  .activity-item:nth-child(odd) {
    border-right: 1px solid var(--color-line);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-card:last-child {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 900px) {
  .header-inner {
    min-height: 82px;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    margin-right: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #607895;
    font-size: 14px;
    font-weight: 600;
  }

  .main-nav a {
    transition: color .2s ease;
  }

  .main-nav a:hover {
    color: var(--color-accent);
  }

  .header-link {
    display: inline-flex;
    gap: 10px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
    align-items: stretch;
    min-height: 610px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 80px;
    padding-right: 28px;
  }

  .hero-media {
    min-height: 610px;
  }

  .hero-media img {
    min-height: 610px;
  }

  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-card:last-child {
    grid-column: auto;
  }

  .approach-card {
    grid-template-rows: 1fr 180px;
  }

  .approach-card img {
    height: 180px;
  }

  .section-heading-wide {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .section-description {
    justify-self: end;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-card > img {
    height: 215px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
  }


}

/* Large desktop */
@media (min-width: 1200px) {

  .service-body {
    padding: 28px;
  }

    .activity-grid {
    grid-template-columns: repeat(5, 1fr);
  }

      .activity-item {
    padding: 0 28px;
    border-top: 0;
    border-right: 1px solid var(--color-line);
  }

    .activity-item:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

/* Reveal sections as they enter the viewport. */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
