.service-page {
  --service-accent: var(--pink);
  --service-accent-ink: var(--service-accent);
  --service-soft: #ffe1e9;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

.service--design {
  --service-accent: var(--lime);
  --service-accent-ink: oklch(0.66 0.15 121.464);
  --service-soft: #efffc2;
}

.service--training {
  --service-accent: var(--blue);
  --service-soft: #dceaff;
}

.service-page ::selection {
  background: var(--service-accent);
  color: var(--ink);
}

.service-page h1,
.service-page h2,
.service-page h3 {
  text-wrap: balance;
}

.service-page p {
  text-wrap: pretty;
}

.service-page .eyebrow span {
  background: var(--service-accent);
}

.service-hero {
  min-height: 760px;
  padding-top: 150px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
  gap: clamp(56px, 8vw, 130px);
  align-items: center;
}

.service-hero__copy h1 {
  max-width: 990px;
  margin-top: 34px;
  font-size: clamp(58px, 6.4vw, 102px);
}

.service-hero__copy h1 em {
  color: var(--service-accent-ink);
}

.service-hero__lead {
  max-width: 690px;
  margin: 42px 0 0;
  color: #4d4d49;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

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

.service-hero__visual {
  position: relative;
  min-height: 440px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--service-accent);
  box-shadow: 0 26px 70px rgba(23, 23, 23, .08);
}

.service-hero__visual strong {
  position: absolute;
  right: -14px;
  bottom: -100px;
  color: rgba(255, 255, 255, .3);
  font-family: Kanit, sans-serif;
  font-size: 420px;
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: 1;
}

.service-hero__visual span {
  position: relative;
  z-index: 1;
  font-family: Kanit, sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.service-switcher {
  padding: 0 var(--section-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
}

.service-switcher a {
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-inline-end: 1px solid rgba(255, 255, 255, .17);
  font-family: Kanit, sans-serif;
  font-size: 18px;
  transition: background-color .25s ease, color .25s ease;
}

.service-switcher a:first-child {
  border-inline-start: 1px solid rgba(255, 255, 255, .17);
}

.service-switcher a:hover,
.service-switcher a[aria-current="page"] {
  background: var(--service-accent);
  color: var(--ink);
}

.service-manifest {
  padding-top: clamp(105px, 11vw, 170px);
  padding-bottom: clamp(105px, 11vw, 170px);
  background: var(--white);
}

.service-manifest__inner,
.service-offer__inner,
.service-process__inner,
.service-more__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.service-manifest__layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: end;
}

.service-manifest h2,
.service-offer h2,
.service-process h2,
.service-more h2,
.service-contact h2 {
  font-size: clamp(48px, 6vw, 90px);
}

.service-manifest h2 em,
.service-offer h2 em {
  color: var(--service-accent-ink);
}

.service-manifest__copy {
  max-width: 630px;
}

.service-manifest__copy p {
  margin: 0;
  color: #4c4c48;
  font-size: 17px;
  line-height: 1.65;
}

.service-manifest__copy p + p {
  margin-top: 20px;
}

.service-section-cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.service-offer {
  padding-top: clamp(100px, 11vw, 160px);
  padding-bottom: clamp(100px, 11vw, 160px);
}

.service-offer__heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: end;
}

.service-offer__heading p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.service-offer__grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .045),
    0 3px 8px rgba(0, 0, 0, .025);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .06),
    0 15px 38px rgba(0, 0, 0, .07);
}

.service-card__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--service-accent);
}

.service-card h3 {
  max-width: 320px;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.04;
}

.service-card p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-feature {
  min-height: 470px;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--service-accent);
}

.service-feature__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
}

.service-feature h2 {
  max-width: 1050px;
  font-size: clamp(48px, 6.4vw, 96px);
}

.service-feature__copy {
  max-width: 1050px;
}

.service-feature__cta {
  margin-top: 34px;
}

.service-feature__seal {
  width: 170px;
  height: 170px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(0, 0, 0, .45);
  border-radius: 50%;
  font-family: Kanit, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
}

.service-process {
  padding-top: clamp(105px, 11vw, 170px);
  padding-bottom: clamp(105px, 11vw, 170px);
  background: var(--ink);
  color: var(--white);
}

.service-process h2 {
  max-width: 980px;
  margin-top: 24px;
}

.service-process h2 em {
  color: var(--service-accent);
}

.service-process__grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.service-step {
  min-height: 300px;
  padding: 24px 25px 0;
  border-inline-end: 1px solid rgba(255, 255, 255, .24);
}

.service-step:first-child {
  padding-inline-start: 0;
}

.service-step:last-child {
  border-inline-end: 0;
}

.service-step > span {
  color: var(--service-accent);
  font-family: Kanit, sans-serif;
  font-size: 13px;
}

.service-step h3 {
  margin-top: 86px;
  font-size: 30px;
}

.service-step p {
  max-width: 29ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.6;
}

.service-more {
  padding-top: clamp(100px, 10vw, 145px);
  padding-bottom: clamp(100px, 10vw, 145px);
  background: var(--white);
}

.service-more h2 {
  max-width: 980px;
  margin-top: 22px;
}

.service-more__grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-more__card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card-color);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.service-more__card:hover {
  transform: translateY(-5px);
}

.service-more__card:active {
  transform: translateY(0) scale(.96);
}

.service-more__card span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-more__card strong {
  font-family: Kanit, sans-serif;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.service-contact {
  padding-top: 70px;
  background: var(--service-soft);
}

.service-contact__top {
  padding-bottom: 42px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.service-contact__top p:last-child {
  margin: 0;
  font-size: 14px;
}

.service-contact__main {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.service-contact h2 {
  max-width: 980px;
}

.service-contact h2 em {
  color: var(--service-accent-ink);
}

@media (max-width: 1100px) {
  .service-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
    gap: 45px;
  }

  .service-hero__visual {
    min-height: 390px;
  }

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

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

  .service-step:nth-child(2) {
    border-inline-end: 0;
  }

  .service-step:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .24);
  }
}

@media (max-width: 920px) {
  .service-hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 64px;
    display: block;
  }

  .service-hero__copy {
    max-width: 720px;
  }

  .service-hero__visual {
    min-height: 330px;
    margin-top: 52px;
  }

  .service-manifest__layout,
  .service-offer__heading {
    display: block;
  }

  .service-manifest__copy,
  .service-offer__heading > p {
    max-width: 680px;
    margin-top: 36px;
  }
}

@media (max-width: 760px) {
  .service-hero {
    padding-top: 118px;
    padding-bottom: 48px;
  }

  .service-hero__copy h1 {
    margin-top: 24px;
    font-size: clamp(44px, 13.5vw, 62px);
  }

  .service-hero__lead {
    margin-top: 30px;
    font-size: 16px;
  }

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

  .service-hero__actions .c-button {
    width: 100%;
  }

  .service-hero__visual {
    min-height: 260px;
    margin-top: 45px;
  }

  .service-hero__visual strong {
    right: 2px;
    bottom: -64px;
    font-size: 260px;
  }

  .service-switcher {
    padding-inline: 0;
    grid-template-columns: 1fr;
  }

  .service-switcher a,
  .service-switcher a:first-child {
    min-height: 58px;
    border-inline: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .service-manifest__layout,
  .service-offer__heading {
    display: block;
  }

  .service-manifest__copy,
  .service-offer__heading > p {
    margin-top: 35px;
  }

  .service-manifest h2,
  .service-offer h2,
  .service-process h2,
  .service-more h2,
  .service-contact h2 {
    font-size: clamp(44px, 12.5vw, 62px);
  }

  .service-offer__grid,
  .service-more__grid {
    margin-top: 44px;
    display: block;
  }

  .service-card,
  .service-more__card {
    min-height: 285px;
    margin-top: 12px;
  }

  .service-card p,
  .service-step p {
    font-size: 16px;
  }

  .service-feature {
    min-height: 430px;
  }

  .service-feature__inner {
    display: block;
  }

  .service-feature__seal {
    width: 125px;
    height: 125px;
    margin-top: 42px;
    font-size: 13px;
  }

  .service-section-cta {
    margin-top: 36px;
  }

  .service-section-cta .c-button,
  .service-feature__cta .c-button {
    width: 100%;
  }

  .service-process__grid {
    margin-top: 55px;
    display: block;
  }

  .service-step,
  .service-step:first-child {
    min-height: auto;
    padding: 28px 0 36px;
    border-inline: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
  }

  .service-step:nth-child(n+3) {
    border-top: 0;
  }

  .service-step h3 {
    margin-top: 38px;
  }

  .service-contact__top {
    display: block;
  }

  .service-contact__top p:last-child {
    margin-top: 20px;
  }

  .service-contact__main {
    min-height: 610px;
    padding: 65px 0 54px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 44px;
  }

  .service-contact__main .c-button {
    width: 100%;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-more__card {
    transform: none !important;
  }
}
