/* fonts */

@import url("https://fast.fonts.net/t/1.css?apiType=css&projectid=17e92a5a-6321-4a5c-b015-517e4f9ae7ae");
@font-face{
font-family:"MuseoSans";
font-weight: 100;
src:url("../css/fonts/fd9d5b5d-71c1-4db0-bf20-cd7e3ce4d069.woff2") format("woff2"),url("../css/fonts/e976d680-12b6-411e-9f79-0ef9287f484d.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 100;
font-style: italic;
src:url("../css/fonts/57a6b494-1c77-4cb0-b042-4adca2c0bdb1.woff2") format("woff2"),url("../css/fonts/2ab97fdf-1e06-4c25-a5e1-b111273d580a.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 300;
font-weight: normal;
src:url("../css/fonts/1d3191cd-ae8c-45e2-bb04-11e96d8fa974.woff2") format("woff2"),url("../css/fonts/b252d464-65cb-4950-88f7-ac0a1bf79b75.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 300;
font-weight: normal;
font-style: italic;
src:url("../css/fonts/a0f222f7-39b4-41c9-a5c0-0b9b7e6b8f89.woff2") format("woff2"),url("../css/fonts/96766c08-0e19-43a8-b45d-e95c5b09785c.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 500;
src:url("../css/fonts/d9896899-f08c-4750-a874-a9e10d83c2cb.woff2") format("woff2"),url("../css/fonts/d42dd843-62b0-4623-8855-d5882512c3c9.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 500;
font-style: italic;
src:url("../css/fonts/b76ff444-27dd-4494-b96e-2f5157f347d5.woff2") format("woff2"),url("../css/fonts/136eb3cf-249c-40a3-bb62-49c1ad9ae6d8.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 700;
src:url("../css/fonts/e2d37f34-6bca-473c-b64d-93811f4dc046.woff2") format("woff2"),url("../css/fonts/eadbb595-a394-48fc-834f-8bf5da15cddf.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 700;
font-style: italic;
src:url("../css/fonts/0db19ee1-b74a-4eb6-b48f-60c7047ea44b.woff2") format("woff2"),url("../css/fonts/9c98d320-d511-4d3d-9ba3-6516302dba95.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 900;
src:url("../css/fonts/009ca58d-46af-4651-a359-f0ae2301085b.woff2") format("woff2"),url("../css/fonts/3619b5f4-8df9-44f5-8c53-b7c236e9c74e.woff") format("woff");
}
@font-face{
font-family:"MuseoSans";
font-weight: 900;
font-style: italic;
src:url("../css/fonts/83ec39ba-ad2e-46a6-a1b1-f93f1457f7d4.woff2") format("woff2"),url("../css/fonts/39ac4994-8f69-4ff0-8acd-9f100664da8f.woff") format("woff");
}

@font-face{
font-family:"MuseoSlab";
font-weight: 700;
font-style: italic;
src:url("../css/fonts/1ce098fd-3d99-4803-8461-a4a478290408.woff2") format("woff2"),url("../css/fonts/c7c8b332-8b92-4669-9943-b4edc0986030.woff") format("woff");
}


body {
    line-height: 1.5;
    overflow-x: hidden;
    font-family: "MuseoSans";
    font-size: 1.2rem;
}

/* colors used on the visual */

/*

what to call them?

main: #545554  dark grey
secondary: #F1DA6C yellow
secondary-shade: #F6E495 yellow
light: #FFFFFE
grey-light: #FFFFFE
grey-dark: #828382

*/

.hide-text {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

:root {
    --main-color:  #545554; /* dark grey */
    --secondary-color: #F7C13C; /* yellow */
    --secondary-shade-color: #FEEABC; /* yellow variant */
    --light-color: #FFFFFE;
    --main-shade-color: #828382;
    --light-grey-color: #C4C5C3;
    --ratio: 1.45;
    --s-5: calc(var(--s-4) / var(--ratio));
    --s-4: calc(var(--s-3) / var(--ratio));
    --s-3: calc(var(--s-2) / var(--ratio));
    --s-2: calc(var(--s-1) / var(--ratio));
    --s-1: calc(var(--s0) / var(--ratio));
    --s0: 1.2rem;
    --s1: calc(var(--s0) * var(--ratio));
    --s2: calc(var(--s1) * var(--ratio));
    --s3: calc(var(--s2) * var(--ratio));
    --s4: calc(var(--s3) * var(--ratio));
    --s5: calc(var(--s4) * var(--ratio));
    --measure: 68ch;
}

.color-main {
	color: #545554;
}

.color-secondary {
	color: #F7C13C;
}

.color-light {
	color: #FFFFFE;
}

.color-secondary-light {
    color: #FCEDC5;
}

.background-main {
	background-color: #545554;
}

.background-main-shade {
	background-color: #828382;
}

.background-secondary {
	background-color: #F7C13C;
}

.background-secondary-shade {
    background-color: #FEEABC;
}

.gap-top-300 {
    margin-top: 0.8rem;
}

.gap-top-400 {
    margin-top: 1rem;
}

.gap-top-500 {
    margin-top: 1.25rem;
}

.gap-top-600 {
    margin-top: 1.56rem;
}

.gap-top-700 {
    margin-top: 1.95rem;
}

.gap-top-800 {
    margin-top: 2.44rem
}

.gap-top-900 {
    margin-top: 3.05rem
}

.gap-top-1000 {
    margin-top: 3.81rem
}

.pad-top-300 {
    padding-top: 0.8rem
}

.pad-top-400 {
    padding-top: 1rem
}

.pad-top-500 {
    padding-top: 1.25rem
}

.pad-top-600 {
    padding-top: 1.56rem
}

.pad-top-700 {
    padding-top: 1.95rem
}

.pad-top-800 {
    padding-top: 2.44rem
}

.pad-top-900 {
    padding-top: 3.05rem
}

.pad-top-1000 {
    padding-top: 3.81rem
}


.text-300 {
    font-size: 0.8rem
}

.text-400 {
    font-size: 1rem
}

.text-500 {
    font-size: 1.25rem
}

.text-600 {
    font-size: 1.56rem
}

.text-700 {
    font-size: 1.95rem
}

.text-800 {
    font-size: 2.44rem
}

.text-900 {
    font-size: 3.05rem
}

.text-1000 {
    font-size: 3.81rem
}

.weight-medium {
    font-weight: 500
}

.weight-bold {
    font-weight: 700
}


* {
  max-inline-size: var(--measure);
}

html,
body,
div,
header,
nav,
main,
section,
footer {
  max-inline-size: none;
}


a {
    color: currentColor;
}

ul[class],
ol[class] {
 list-style:none;
 max-inline-size: none;
 padding: 0;
}


body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
    margin: 0;
}

img {
  max-inline-size: 100%;
}

blockquote {
    font-family: MuseoSlab;
    font-size: 1.6em;
    font-style: italic;
    font-weight: 700;
}

h1,h2,h3,h4,h5 {
    line-height: 1.2;
}

video {
    width: 100%    !important;
    height: auto   !important;
}


.flow > * + * {
    margin-top: var(--s2, 1em);
}

.prose > * + * {
    margin-top:  var(--s1, 1em);
}

.prose--box ul {
    padding: 0 0 0 1em;
}

.prose--box ul > * + * {
    margin-top:  var(--s-1, 0.5em);
}

.align-start {
    align-self: flex-start;
}

.block {
	display: block;
}

.wrapper {
	max-width: 75rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.33rem;
}


.header {
    padding-top:  1.5rem;
    border-bottom: 4px solid #ddd;
}

.header__title {
    display: block;
}

.header__logo {
    width:  24rem;
    max-width: 80%;
}

.header__nav {
    padding-top: var(--s1,1rem);
}

.header__nav a {
	text-decoration: none;
    font-weight: 700;
}

.header__nav-list-silo {
    position: absolute;
    width: 100%;
    overflow: hidden;
    z-index: 100;
    pointer-events: none;
}

ul.header__nav-list {
    /*position: absolute;*/
    width: 100%;
    z-index: 10;
    background-color: var(--secondary-color);
    padding: var(--s3) 1.33rem;
    font-size: var(--s2);
    background-image: url(/img/bg-skin-icon.svg);
    background-position: 60vw 53%;
    background-repeat: no-repeat;
    background-size: auto 142%;
    box-sizing: border-box;
    line-height: 1.2;
    pointer-events: all;
}

.header__nav-list > * + * {
    margin-top: var(--s0, 1em);
}

.header__nav-list-item.active {
    color: #fff;
}

/* Menu button */

.menu-toggle {
  margin: 0 1.33rem 0 0;
  padding: 8px;
  cursor: pointer;
  color: inherit;
  border: 1px solid #777;
  background-color: #fff;
  position: absolute;
  top: 25px;
  right: 0;
  z-index: 10;
  pointer-events: all;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

@media screen and (min-width: 40em) {

    .header__nav-list-silo {
        position: initial;
        width: auto;
        overflow: initial;
    }

    .menu-toggle {
        display: none;
    }

    .header__nav {
         padding-bottom: var(--s1,1rem);
    }

    .header__nav a {
        font-weight: 500;
    }

    ul.header__nav-list {
        position: relative;
        width: auto;
        /* make a wrapper */
        max-width: 75rem;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1.33rem;
        background-color: transparent;
        font-size: var(--s0);
        background-image: none;
        display: flex;
        /* cluster layout */
        flex-wrap: wrap;
        gap: var(--space, 0.5rem) var(--space, 2rem);
        justify-content: flex-start;
        align-items: center;
        line-height: inherit;
    }

    /* switch off the flow */
    .header__nav-list > * + * {
        margin-top: 0;
    }

    .header__nav-list-item.active {
        color: inherit;
        border-bottom: 3px solid var(--secondary-color);
    }

}

@media screen and (max-width: 40em) {

    /* menu toggle states etc.. */

    .js .header__nav-list {
      transition: transform 120ms ease-in;
      transform: translateX(100%);
    }
    .js .header__nav-list.is-active {
      transform: translateX(0);
    }

}



.menu-toggle[aria-expanded="true"] {
    background-color: var(--secondary-color);
}

.menu-toggle__box {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 1.4em;
}

.menu-toggle__lines,  .menu-toggle__lines::before, .menu-toggle__lines::after {
  position: absolute;
  background-color: #777;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  transition-property: transform;
}


.menu-toggle[aria-expanded="true"] .menu-toggle__lines,  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before, .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  background-color: #fff;
}



/* menu button transition - adapted from https://jonsuh.com/hamburgers/ */

.menu-toggle__lines {
  display: block;
  top: 50%;
  /* animation - for when the menu is switched back from active */
  transition-timing-function: cubic-bezier(.55,.055,.675,.19);
  transition-duration: 75ms;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  /* animation - menu is active - rotate but wait until the other lines have finished moving */
  transform: rotate(45deg);
  transition-timing-function: cubic-bezier(.215,.61,.355,1);
  transition-delay: 120ms;
}

.menu-toggle__lines::before {
  display: block;
  content: "";
  top: -10px;
  /* on switch back from active delay top movement until after rotation */
  transition: top 75ms ease 120ms,opacity 75ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 0;
  opacity: 0;
  /* on switch to active - move immediately, delay opacity */
  transition: top 75ms ease,opacity 75ms ease 120ms;
}

.menu-toggle__lines::after {
  display: block;
  content: "";
  bottom: -10px;
  /* on switch back from active delay top movement until after rotation - but rotate immediately */
  transition: bottom 75ms ease 120ms,transform 75ms cubic-bezier(.55,.055,.675,.19);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  bottom: 0;
  /* on switch to active - move immediately, delay rotation */
  transition: bottom 75ms ease,transform 75ms cubic-bezier(.215,.61,.355,1) 120ms;
  transform: rotate(-90deg);
}




.hero-banner {
	height: 30rem;
}

.hero-banner > img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}


.page-banner {
    padding-top: var(--s3,1rem);
    padding-bottom: var(--s3,2rem);
    position: relative;
    overflow: hidden;
    min-height: 21rem;
}

.page-banner__bg-icon {
	color: #FEC52F;
	opacity: 0.2;
	position: absolute;
	top: 8%;
	left: 50vw;
	width: 360px;
}

.page-banner__bg-icon svg {
	fill: currentColor;
	width: 100%;
	height: 100%;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space, 2rem);
  justify-content: flex-start;
  align-items: center;
}


.grid {
  display: grid;
  grid-gap: var(--s1);
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
}

/*
@supports (width: min(250px, 100%)) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  }
}
*/

.media-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  align-items: center;
}

.media-box > :first-child {
    flex-basis:  20em;
    flex-grow: 1;
}

.media-box > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 80%;
}

.icon-box {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s1);
    align-items: center;
}



.icon-box > :first-child {
  flex-grow: 0;
}

.icon-box > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}

.icon-title {
	display: inline-flex;
	align-items: flex-start;
    line-height:  1.1;
}

.icon-title svg {
	height: 1.6em;
	width: 1.6em;
    flex-shrink: 0;
	margin-right: 0.3em;
	margin-inline-end: 0.3em;
}


.icon-title span {
    align-self: stretch;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

.box-title {
    padding: 0 0 var(--s-3) 0;
    border-bottom:  1px solid currentColor;
}


.panel {
    padding-top:  var(--s3,1rem);
    padding-bottom: var(--s3,1rem);
}

.map {
    height: 30rem;
}

.copy-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

.copy-sidebar > :last-child {
  flex-grow: 1;
  flex-basis: 22rem;
}

.copy-sidebar > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 60%;
}


.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

.with-sidebar > :first-child {
  flex-grow: 1;
}

.with-sidebar > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 30%;
}


.info-bar {
	border-color: var(--main-color,#545554);
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	padding-top: var(--s-2,1rem);
	padding-bottom: var(--s-2,1rem);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.9em;
}

.info-bar p {
    font-weight: inherit;
}

.info-bar img {
    width: 4rem;
}

.cta {
    min-width: 213px;
    text-align: center;
    background-color: #F1DA6C;
    background-color: var(--secondary-color, #F1DA6C);
    color: #828382;
    color: var(--main-color, #545554);
    padding: 0.4rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: none;
    line-height: 1.5;
}

.cta::after {
	content: " >";
	color: var(--light-color, #FFFFFE);
	font-size: 1.2em;
}

.cta--alt-1 {
    color: var(--light-color, #FFFFFE);
    background-color: var(--main-color, #545554);
}

.cta--alt-1::after {
	color: var(--secondary-color, #F1DA6C);
}

.footer {
    background-image: url(/img/bg-skin-icon.svg);
    background-position: 60vw 53%;
    background-repeat: no-repeat;
    background-size: auto 142%;
}

.footer__nav {
	font-size: 0.9em;
	text-transform: uppercase;
}

.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stack > * {
  margin-block: 0;
} 

.stack > * + * {
  margin-block-start: var(--s1, 1.5rem);
}

.stack-small {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stack-small > * {
  margin-block: 0;
} 

.stack-small > * + * {
  margin-block-start: var(--s-2, 1rem);
}

.stack-content > * {
	width: fit-content;
}



.team-member {
    align-items: flex-end;
}

.team-member > :first-child {
    flex-grow:  0;
}

.gallery {

}

.gallery__item img {
    width: 100%;
}

.splide__arrows {}

.splide__arrow {
    position:  absolute;
    z-index:  10;
    top: 50%;
    border: none;
    border-radius: 50%;
    fill:  #555;
    padding: 0.6rem;
    background-color:  rgba(220,220,220,0.7);
    width: 52px;
    height: 52px;
}

.splide__arrow--prev {
    left: 2rem;
    transform: translateY(-50%) scaleX(-1);
}

.splide__arrow--next {
    right: 2rem;
    transform: translateY(-50%);
}

.splide__arrow svg {
    width: 30px;
    height:  30px;
}

/* make full width on smaller screens */

@media screen and (max-width: 60rem) {

    .gallery {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .splide__arrow--prev {
        left: 0.6rem;
    }

    .splide__arrow--next {
        right: 0.6rem;
    }



}


.fancy-select {
    width: 100%;
    max-width: var(--measure,68ch);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
    position: relative;
}

.fancy-select::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 2.6ch;
    height: 100%;
    font-size: 1.4em;
    color: #fff;
    background-image: url(../img/simple-arrow-down.svg);
    background-repeat: no-repeat;
    background-size: 0.6em;
    background-position: 50% 50%;
    background-color: var(--secondary-color);
    pointer-events: none;
}

.fancy-select select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0.53em 0.4em;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
}

.fancy-select select option {
    font-family: sans-serif;
    padding:  0.4em;
}



.select-sections__nav-list {
    display:  block;
}

.select-sections__nav-select {
    display: none;
}

@media screen and (min-width: 800px) {

    .select-sections__nav-list {
        display:  none;
    }

    .js-block-select.js-hide {
        display: none;
    }

    .select-sections__nav-select {
        display: block;
    }
}


@media screen and (min-width: 720px) {

    .copy-block__text figure {
        float: right;
        width: 22rem;
        margin-bottom: 4rem;
    }

}


.form__field {
    border: 0;
    background-color:  #fff;
    padding: 0.8rem;
}

ul.form__error-list {
    padding: 0;
    color: #DE5B26;
    margin-top: var(--s-1);
}


.sign-up-box {
  padding: var(--s1);
  color: var(--main-color);
  background-color: var(--secondary-shade-color);
}

.sign-up-box * {
  /*color: inherit;*/
}

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  --threshold: 55rem;
}

.switcher > * {
  flex-grow: 1;
  flex-basis: calc(( var(--threshold) - 100%) * 999);
}

.switcher > :nth-last-child(n+ 5),
.switcher > :nth-last-child(n+ 5) ~ * {
  flex-basis: 100%;
}

.testimonials {
    --threshold: 44rem;
}


.testimonial {
    font-weight: 700;
    padding: var(--s0);
    color: var(--main-color);
    background-color: var(--light-grey-color);
}

.testimonial > :last-child {
  margin-block-start: auto;
  padding-top: var(--s1);
}