:root {
  color-scheme: light;
  --paper: #f7f8f6;
  --white: #ffffff;
  --ink: #17313a;
  --muted: #5f7073;
  --line: #d8e0dc;
  --teal: #167e89;
  --teal-bright: #37c0ca;
  --coral: #e77b60;
  --deep: #12353e;
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

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

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(23, 49, 58, 0.1);
  background: var(--paper);
}

.header-inner,
.desktop-nav,
.brand {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 82px;
  justify-content: space-between;
}

.brand {
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand-light {
  color: var(--teal);
  font-weight: 500;
}

.desktop-nav {
  gap: 36px;
  color: #455c60;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav > a:not(.nav-contact):hover,
.team-member > a:hover,
.contact-details > a:hover {
  color: var(--teal);
}

.nav-contact {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-contact:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-contact span,
.button span {
  margin-left: 8px;
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: 7.2%;
  min-height: 620px;
  padding-block: 76px 82px;
}

.hero-copy {
  max-width: 545px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 21px;
  color: #597074;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  background: var(--coral);
}

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

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 25px;
  font-size: 61px;
  font-weight: 600;
  line-height: 1.09;
}

h1 em,
h2 em {
  color: var(--teal);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-description {
  max-width: 460px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--teal);
}

.text-link,
.light-link {
  font-size: 13px;
  font-weight: 700;
}

.text-link span,
.light-link span {
  margin-left: 8px;
  color: var(--coral);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 58px;
  color: #708083;
  font-size: 12px;
}

.note-rule {
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--coral);
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 30px 26px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -20px;
  width: 42%;
  height: 42%;
  border-top: 1px solid var(--teal-bright);
  border-right: 1px solid var(--teal-bright);
  content: "";
}

.hero-visual > img {
  width: 100%;
  aspect-ratio: 0.98;
  object-fit: cover;
  object-position: 48% center;
}

.visual-caption {
  position: absolute;
  right: -25px;
  bottom: 0;
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(23, 49, 58, 0.1);
}

.caption-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  background: #e4f3f1;
  color: var(--teal);
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.visual-caption strong,
.visual-caption small {
  display: block;
}

.visual-caption strong {
  font-family: Manrope, sans-serif;
  font-size: 13px;
}

.visual-caption small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.caption-arrow {
  align-self: flex-start;
  color: var(--coral);
  font-size: 17px;
}

.visual-index {
  position: absolute;
  right: 0;
  bottom: -30px;
  color: #849392;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.section-pad {
  padding-block: 106px;
}

.services {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

h2 {
  margin-bottom: 0;
  font-size: 41px;
  font-weight: 600;
  line-height: 1.2;
}

.section-intro {
  max-width: 355px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-list {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 65px 1fr 28px;
  align-items: center;
  gap: 26px;
  min-height: 133px;
  border-bottom: 1px solid var(--line);
}

.service-number {
  align-self: start;
  padding-top: 34px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-copy h3 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 600;
}

.service-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-symbol {
  color: var(--coral);
  font-size: 20px;
  transition: transform 160ms ease;
}

.service-item:hover .service-symbol {
  transform: translate(3px, -3px);
}

.approach {
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.approach-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 9%;
  min-height: 290px;
  align-items: start;
}

.approach-label {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 7px;
  color: #cfdbd9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.approach-line {
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.approach-label > span:last-child {
  margin-left: auto;
  color: #799396;
}

.approach-copy {
  position: relative;
  z-index: 1;
  max-width: 645px;
}

.approach-copy .eyebrow {
  color: #b3c6c5;
}

.approach-copy h2 {
  max-width: 575px;
  margin-bottom: 19px;
  font-size: 45px;
}

.approach-copy h2 em {
  color: #75d1d2;
}

.approach-copy > p:not(.eyebrow) {
  max-width: 535px;
  margin-bottom: 24px;
  color: #c1cecd;
  font-size: 15px;
}

.light-link {
  display: inline-block;
  color: var(--white);
}

.approach-stamp {
  position: absolute;
  right: -42px;
  bottom: -60px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(136, 186, 185, 0.13);
  transform: rotate(-12deg);
}

.approach-stamp > span {
  font-family: Manrope, sans-serif;
  font-size: 190px;
  font-weight: 800;
  line-height: 1;
}

.approach-stamp small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

.clients {
  background: #f0f3f0;
}

.clients-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.clients-heading h2 {
  font-size: 34px;
}

.clients-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid #d9e0dc;
  border-left: 1px solid #d9e0dc;
}

.client-logos img {
  width: 100%;
  height: 93px;
  padding: 21px 24px;
  border-right: 1px solid #d9e0dc;
  border-bottom: 1px solid #d9e0dc;
  background: rgba(255, 255, 255, 0.34);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.67;
  transition: filter 180ms ease, opacity 180ms ease;
}

.client-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.team {
  background: #e9f0ed;
}

.team-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8%;
  align-items: center;
}

.team-heading h2 {
  margin-bottom: 19px;
  font-size: 39px;
}

.team-heading > p:last-child {
  max-width: 350px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.team-list {
  border-top: 1px solid #cbd8d3;
}

.team-member {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #cbd8d3;
}

.team-member h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.team-member p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.team-member > a {
  flex: 0 0 auto;
  color: #536c70;
  font-size: 12px;
  font-weight: 700;
}

.team-member > a span {
  margin-left: 5px;
  color: var(--coral);
}

.contact {
  background: #f0ddd2;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.contact h2 {
  font-size: 43px;
}

.contact h2 em {
  color: #b95842;
}

.contact-details {
  display: flex;
  width: min(390px, 42%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
}

.contact-details > a {
  font-size: 16px;
  font-weight: 600;
}

.contact-details .contact-email {
  font-size: 18px;
}

.contact-email span {
  margin-left: 7px;
  color: #b95842;
}

.contact-details > p {
  margin: 8px 0 0;
  color: #6e7774;
  font-size: 13px;
}

.site-footer {
  background: var(--deep);
  color: #d7e1df;
}

.footer-inner {
  display: flex;
  min-height: 91px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--white);
  font-size: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-inner > p,
.footer-inner > span {
  margin-bottom: 0;
  color: #b1c2c0;
  font-size: 11px;
}

.footer-brand .brand-light {
  color: #74cdcf;
}

@media (max-width: 900px) {
  .shell {
    width: min(var(--shell), calc(100% - 56px));
  }

  .desktop-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr 0.87fr;
    gap: 5%;
    min-height: 570px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-description {
    font-size: 15px;
  }

  .visual-caption {
    right: -10px;
    gap: 11px;
    padding-inline: 14px;
  }

  .section-pad {
    padding-block: 84px;
  }

  .approach-inner {
    grid-template-columns: 0.8fr 2fr;
    gap: 5%;
  }

  .approach-label {
    flex-wrap: wrap;
  }

  .approach-label > span:last-child {
    margin-left: 35px;
  }

  .client-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

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

  .header-inner {
    min-height: 70px;
  }

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

  .brand img {
    width: 34px;
    height: 34px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 17px;
    height: 1px;
    background: var(--ink);
  }

  .mobile-nav[open] summary span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .mobile-nav[open] summary span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav nav {
    position: absolute;
    top: 51px;
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 40px));
    padding: 8px 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(23, 49, 58, 0.12);
  }

  .mobile-nav nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-block: 67px 72px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 10px;
  }

  h1 {
    max-width: 460px;
    margin-bottom: 18px;
    font-size: 45px;
  }

  .hero-description {
    max-width: 450px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 18px;
  }

  .button {
    min-height: 49px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .text-link {
    font-size: 12px;
  }

  .hero-note {
    margin-top: 31px;
    font-size: 11px;
  }

  .hero-visual {
    width: calc(100% - 12px);
    margin-left: 2px;
    padding-left: 12px;
  }

  .hero-visual > img {
    aspect-ratio: 1.16;
  }

  .hero-visual::before {
    top: -12px;
    right: -11px;
  }

  .visual-caption {
    right: -11px;
    min-height: 78px;
    gap: 10px;
    padding: 11px 12px;
  }

  .caption-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 20px;
  }

  .visual-caption strong {
    font-size: 11px;
  }

  .visual-caption small {
    font-size: 9px;
  }

  .visual-index {
    bottom: -26px;
  }

  .section-pad {
    padding-block: 70px;
  }

  .section-heading,
  .clients-heading {
    display: block;
  }

  h2 {
    font-size: 34px;
  }

  .section-intro {
    margin-top: 19px;
    font-size: 13px;
  }

  .service-list {
    margin-top: 35px;
  }

  .service-item {
    grid-template-columns: 35px 1fr 18px;
    gap: 11px;
    min-height: 138px;
  }

  .service-number {
    padding-top: 31px;
    font-size: 10px;
  }

  .service-copy h3 {
    font-size: 16px;
    line-height: 1.4;
  }

  .service-copy p {
    font-size: 12px;
    line-height: 1.65;
  }

  .service-symbol {
    font-size: 17px;
  }

  .approach-inner,
  .team-inner {
    grid-template-columns: 1fr;
    gap: 37px;
    align-items: start;
  }

  .approach-label {
    width: min(100%, 270px);
    padding-top: 0;
  }

  .approach-label > span:last-child {
    margin-left: auto;
  }

  .approach-copy h2,
  .contact h2 {
    font-size: 35px;
  }

  .approach-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .approach-stamp {
    right: -30px;
    bottom: -50px;
  }

  .approach-stamp > span {
    font-size: 130px;
  }

  .approach-stamp small {
    font-size: 8px;
  }

  .clients-heading {
    margin-bottom: 27px;
  }

  .clients-heading h2 {
    font-size: 30px;
  }

  .clients-heading > p {
    margin-top: 12px;
    font-size: 12px;
  }

  .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-logos img {
    height: 76px;
    padding: 15px 12px;
  }

  .team-inner {
    gap: 29px;
  }

  .team-heading h2 {
    font-size: 34px;
  }

  .team-member {
    min-height: 91px;
    gap: 10px;
  }

  .team-member h3 {
    font-size: 15px;
  }

  .team-member p,
  .team-member > a {
    font-size: 10px;
  }

  .contact-inner {
    display: grid;
    gap: 31px;
  }

  .contact-details {
    width: 100%;
    padding-top: 0;
  }

  .contact-details .contact-email {
    font-size: 15px;
  }

  .contact-details > a {
    font-size: 14px;
  }

  .footer-inner {
    min-height: 115px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px 15px;
    padding-block: 19px;
  }

  .footer-inner > p {
    order: 1;
    width: 100%;
  }

  .footer-inner > span {
    text-align: right;
  }
}

@media (max-width: 370px) {
  .shell {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 39px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-item {
    grid-template-columns: 27px 1fr 16px;
    gap: 8px;
  }

  .team-member p {
    max-width: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}