:root {
  --service-ink: #192752;
  --service-muted: #53617f;
  --service-shell: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--service-ink);
  font-family: Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid var(--service-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: 30px;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.service-shell {
  width: min(var(--service-shell), calc(100% - 80px));
  margin-inline: auto;
}

.service-hero {
  position: relative;
  min-height: 780px;
  padding: 155px 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 34%, var(--service-glow), transparent 34%),
    linear-gradient(180deg, #fff 68%, var(--service-soft) 100%);
}

.service-hero__orbit {
  position: absolute;
  top: -980px;
  left: 49%;
  width: 1500px;
  height: 1500px;
  border: 2px solid var(--service-line);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: center;
  width: min(1420px, calc(100% - 100px));
  min-height: 540px;
  margin-inline: auto;
}

.service-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 675px;
  padding: 0 0 42px 12px;
}

.service-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--service-accent-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-eyebrow span {
  width: 27px;
  height: 2px;
  background: currentColor;
}

.service-hero h1 {
  margin: 0;
  color: var(--service-ink);
  font-size: clamp(58px, 6.2vw, 98px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.065em;
}

.service-hero h1 strong {
  display: block;
  color: var(--service-accent);
  font-weight: inherit;
}

.service-hero__lead {
  max-width: 610px;
  margin: 29px 0 31px;
  color: var(--service-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.65;
}

.service-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 27px;
  border-radius: 999px;
  background: var(--service-accent);
  color: var(--service-button-text);
  box-shadow: 0 16px 32px var(--service-button-shadow);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.service-hero__action:hover {
  background: var(--service-accent-hover);
  box-shadow: 0 20px 36px var(--service-button-shadow-hover);
  transform: translateY(-3px);
}

.service-hero__visual {
  position: relative;
  align-self: end;
  height: 555px;
  min-width: 0;
}

.service-hero__visual::before {
  position: absolute;
  inset: 10% 3% 4%;
  border: 1px solid var(--service-visual-border);
  border-radius: 36px;
  background-image: var(--hero-image), var(--hero-placeholder);
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 60px var(--service-visual-shadow);
  content: "";
}

.service-hero__visual::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 56%;
  height: 18px;
  border-radius: 50%;
  background: var(--service-visual-shadow);
  filter: blur(18px);
  content: "";
}

.service-hero__footnote {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(1420px, calc(100% - 100px));
  margin: 12px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--service-line);
  color: var(--service-footnote);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-section {
  padding: 130px 0;
}

.service-section__heading {
  max-width: 820px;
}

.service-section__heading h2 {
  margin: 0;
  color: var(--service-ink);
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.service-section__heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--service-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin-top: 60px;
}

.service-card {
  display: flex;
  grid-column: span 2;
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--service-card-border);
  border-radius: 27px;
  background: linear-gradient(145deg, #fff, var(--service-soft));
  box-shadow: 0 18px 44px var(--service-card-shadow), inset 0 1px 0 #fff;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--service-card-border);
  background-color: var(--service-soft);
  background-image: var(--card-image), var(--card-placeholder);
  background-position: center;
  background-size: cover;
}

.service-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, var(--service-card-overlay));
  content: "";
  pointer-events: none;
}

.service-card__media > span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 20px var(--service-card-shadow);
  color: var(--service-accent-strong);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.service-card__copy {
  flex: 1;
  padding: 28px 27px 31px;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--service-ink);
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.service-card p {
  margin: 0;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-process {
  overflow: hidden;
  background: radial-gradient(circle at 100% 0, var(--service-glow), transparent 32%), var(--service-soft);
}

.service-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
}

.service-timeline::before {
  position: absolute;
  top: 25px;
  right: calc(10% - 25px);
  left: 25px;
  height: 1px;
  background: var(--service-timeline-line);
  content: "";
}

.service-timeline li {
  position: relative;
  min-width: 0;
}

.service-timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 51px;
  height: 51px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--service-marker-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px var(--service-card-shadow);
  color: var(--service-accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.service-timeline h3 {
  margin: 0 0 11px;
  color: var(--service-ink);
  font-size: 21px;
  letter-spacing: -.03em;
}

.service-timeline p {
  max-width: 220px;
  margin: 0;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.65;
}

.services-dropdown a[aria-current="page"] {
  background: var(--service-nav-current);
  color: var(--service-accent-strong);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .service-hero {
    min-height: 720px;
  }

  .service-hero__inner {
    grid-template-columns: 47% 53%;
    width: calc(100% - 70px);
    min-height: 500px;
  }

  .service-hero h1 {
    font-size: clamp(52px, 6.4vw, 76px);
  }

  .service-hero__visual {
    height: 490px;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: 0;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }

  .service-card__media {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 900px) {
  .service-timeline {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 52px;
  }

  .service-timeline::before {
    top: 25px;
    bottom: 25px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .service-timeline li {
    display: grid;
    grid-template-columns: 51px minmax(0, 1fr);
    gap: 22px;
  }

  .service-timeline__marker {
    margin: 0;
  }

  .service-timeline h3 {
    margin-top: 2px;
  }

  .service-timeline p {
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .service-hero {
    min-height: 0;
    padding: 124px 0 30px;
  }

  .service-hero__inner {
    display: flex;
    width: calc(100% - 40px);
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .service-hero__copy {
    max-width: 680px;
    padding: 0;
  }

  .service-hero__action {
    display: flex;
    width: max-content;
    margin-inline: auto;
  }

  .service-eyebrow {
    font-size: 10px;
  }

  .service-hero h1 {
    font-size: clamp(48px, 12vw, 76px);
  }

  .service-hero__lead {
    margin: 24px 0 26px;
    font-size: 16px;
  }

  .service-hero__visual {
    align-self: stretch;
    height: clamp(350px, 76vw, 570px);
    margin-top: 20px;
  }

  .service-hero__visual::before {
    inset: 3% 0 4%;
  }

  .service-hero__footnote,
  .service-shell {
    width: calc(100% - 40px);
  }

  .service-hero__footnote {
    margin-top: 4px;
  }

  .service-section {
    padding: 90px 0;
  }

  .service-section__heading h2 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 46px;
  }

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

  .service-card__media {
    min-height: 330px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 450px) {
  .service-shell,
  .service-hero__inner,
  .service-hero__footnote {
    width: calc(100% - 32px);
  }

  .service-hero h1 {
    font-size: clamp(43px, 12.4vw, 58px);
  }

  .service-hero__action {
    min-height: 52px;
    padding: 0 21px;
    font-size: 12px;
  }

  .service-hero__visual {
    height: 320px;
  }

  .service-hero__footnote {
    gap: 18px;
    font-size: 8px;
  }

  .service-section {
    padding: 72px 0;
  }

  .service-eyebrow {
    font-size: 9px;
    line-height: 1.4;
  }

  .service-section__heading h2 {
    font-size: 37px;
  }

  .service-card__media {
    min-height: 300px;
  }

  .service-card__copy {
    padding: 25px 22px 28px;
  }

  .service-timeline li {
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-hero__action {
    transition: none;
  }
}
