/* Local fonts, approved wordmark and brand details. */

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Approved outlined wordmark. Desktop proportions match the full master. */

.site-header {
  max-width: 1320px;
  width: calc(100% - 100px);
  padding: 12px 16px;
  gap: 16px;
  min-height: 80px;
}

.site-header .brand {
  gap: 14px;
  align-items: flex-end;
  flex: none;
}

.site-header .brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: none;
  flex: none;
}

.wordmark-art {
  display: block;
  flex: none;
  line-height: 0;
}

.wordmark-art img {
  width: 280px;
  height: auto;
  max-width: none;
  display: block;
  margin-bottom: 4px;
}

.brand-description {
  font-size: 12px;
  line-height: 18px;
  width: 155px;
  max-width: 155px;
  white-space: nowrap;
  flex: none;
}

.desktop-nav {
  flex: 1;
  justify-content: center;
  gap: 9.6px;
}

.desktop-nav summary,.desktop-nav>a {
  padding: 8px 16.8px;
}

.site-header .header-cta {
  flex: none;
}

footer .brand {
  align-items: center;
  gap: 12px;
}

footer .brand-icon {
  background: none;
  border-radius: 0;
}

footer .wordmark-art img {
  width: 260px;
  margin: 0;
}

/* Coloured illustrations replace decorative font glyphs. */

.approach-card .abstract-icon {
  display: grid;
  place-items: center;
  background: #F5F3FE;
  width: 96px;
  height: 96px;
  border-radius: 25px;
  flex: none;
  padding: 8px;
  line-height: 1;
}

.approach-card:nth-child(2) .abstract-icon {
  background: #F0F6FE;
}

.approach-card:nth-child(3) .abstract-icon {
  background: #EDF8F5;
}

.approach-card:nth-child(4) .abstract-icon {
  background: #FFF7EC;
}

.approach-card .abstract-icon img {
  width: 80px;
  height: 80px;
  transition: transform .4s ease;
}

.approach-card:hover .abstract-icon img {
  transform: translateY(-3px);
}

.approach-card {
  border: 1px solid #FFFFFF;
  transition: box-shadow .3s ease,border-color .3s ease;
}

.approach-card:hover {
  box-shadow: 0 14px 36px #23253D06;
  border-color: #E0D8F6;
}

/* The supplied portrait anchors the personal involvement section. */

.founder-section {
  gap: 60px;
  align-items: center;
}

.founder-section .founder-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  width: 280px;
  height: auto;
  min-width: 240px;
  transform: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: inherit;
}

.founder-symbol>img {
  width: 248px;
  height: 248px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 20px 45px #4B2F5718;
}

.founder-symbol .founder-years {
  display: block;
  color: #71677F;
  font: 500 12px/1.5 Manrope,Arial,sans-serif;
  white-space: nowrap;
  margin: 0;
}

.case-card,.blog-card {
  transition: box-shadow .35s ease,transform .35s ease;
}

.case-card:hover,.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px #20273D0B;
}

.blog-art img {
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}

.blog-card:hover .blog-art img {
  transform: scale(1.045);
}

@media(max-width:1350px) {
  .brand-description {
    display: none;
  }

  .site-header {
    width: calc(100% - 64px);
    gap: 12px;
  }

  .desktop-nav {
    gap: 2px;
  }
}

@media(max-width:1100px) {
  .site-header {
    width: calc(100% - 40px);
    justify-content: space-between;
  }

  .desktop-nav,.header-cta {
    display: none!important;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    flex: none;
    font-size: 28px;
  }

  .mobile-nav {
    top: 110px;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }
}

@media(max-width:800px) {
  .founder-section {
    gap: 30px;
  }

  .founder-section .founder-symbol {
    width: 100%;
    min-width: 0;
  }

  .founder-symbol>img {
    width: 220px;
    height: 220px;
  }

  .approach-card .abstract-icon {
    width: 80px;
    height: 80px;
    border-radius: 21px;
  }

  .approach-card .abstract-icon img {
    width: 66px;
    height: 66px;
  }
}

@media(max-width:600px) {
  .site-header {
    width: calc(100% - 24px);
    padding: 12px;
    gap: 12px;
    min-height: 74px;
  }

  .site-header .brand {
    gap: 10px;
    align-items: center;
  }

  .site-header .brand-icon {
    width: 44px;
    height: 44px;
  }

  .wordmark-art img {
    width: 195px;
    margin: 0;
  }

  footer .wordmark-art img {
    width: 200px;
  }

  .mobile-nav {
    top: 104px;
  }
}

@media(max-width:380px) {
  .site-header .brand-icon {
    width: 38px;
    height: 38px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .wordmark-art img {
    width: 170px;
  }

  .mobile-toggle {
    width: 32px;
    height: 36px;
  }

  .site-header {
    gap: 10px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .approach-card,.approach-card .abstract-icon img,.case-card,.blog-card,.blog-art img,.ecosystem-grid article {
    transition: none;
    transform: none!important;
  }
}
