@import url("https://fast.fonts.net/t/1.css?apiType=css&projectid=c8d1315f-ef63-4296-bbac-c67389a0b4b4");

@font-face {
    font-family: "bison";
    font-weight: normal;
    src: url("fonts/BisonF-Regular.woff2") format("woff2"), url("fonts/BisonF-Regular.woff") format("woff");
}

@font-face {
    font-family: "bison";
    font-weight: normal;
    font-style: italic;
    src: url("fonts/BisonF-Regular.woff2") format("woff2"), url("fonts/BisonF-RegularItalic.woff") format("woff");
}

@font-face {
    font-family: "bison";
    font-weight: bold;
    font-style: normal;
    src: url("fonts/BisonF-Bold.woff2") format("woff2"), url("fonts/BisonF-Bold.woff") format("woff");
}

@font-face {
    font-family: "bison";
    font-weight: bold;
    font-style: italic;
    src: url("fonts/BisonF-BoldItalic.woff2") format("woff2"), url("fonts/BisonF-BoldItalic.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: 300;
    src: url("fonts/83572864-87f2-46e4-8fa7-a77d5a3a45bf.woff2") format("woff2"), url("fonts/005793d9-f192-40f0-82ee-a3b863de0463.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: 300;
    font-style: italic;
    src: url("fonts/4224e6bc-9da8-4c13-a1e1-bdbf70028552.woff2") format("woff2"), url("fonts/5a597746-4b32-4a86-b934-b7bc057b7e9a.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: normal;
    src: url("fonts/fce5575a-be89-4000-a270-96050bfcd82e.woff2") format("woff2"), url("fonts/e390ae05-4eb0-4096-bf59-0d2e17213bb2.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: normal;
    font-style: italic;
    src: url("fonts/28fd719f-5b31-4906-8668-e4a2345f905f.woff2") format("woff2"), url("fonts/4c9db112-0bb8-4aaf-b545-5530538c3974.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: bold;
    src: url("fonts/1133ca1f-fe19-47fc-8bb1-2c49afd5ab5b.woff2") format("woff2"), url("fonts/f41926a4-e994-433d-b388-a6985c08176c.woff") format("woff");
}

@font-face {
    font-family: "TT Norms";
    font-weight: bold;
    font-style: italic;
    src: url("fonts/4c32021b-1682-4110-9492-ff545f0c02a1.woff2") format("woff2"), url("fonts/0e9af10a-c711-4b90-be04-89c32f2355e8.woff") format("woff");
}



:root {
    --prose-color: #222;
    --main-color: #2c2c2c;
    /* bluish */
    --bg-color: #edecec;
    --main-color-shade: #c1edee;
    /* light bluish */
    --bg-color-shade: #e1e1e1;
    --line-color: #777;
    --line-color-light: #cdcdcd;
    --highlight-color: #faba13;
    /* lighter grey */
    /* scales */
    --ratio: 1.45;
    --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));
    --s-1: calc(var(--s0) / var(--ratio));
    --s-2: calc(var(--s-1) / var(--ratio));
    --s-3: calc(var(--s-2) / var(--ratio));
    --s-4: calc(var(--s-3) / var(--ratio));
    --s-5: calc(var(--s-4) / var(--ratio));
    --s-6: calc(var(--s-5) / var(--ratio));
    --measure: 68ch;
}

/* stylistic stuff */

.st-plain {
    background-color: #edecec;
    color: #111;
}

.st-simple {
    color: #111;
}

.st-bright {
    background-color: #faba13;
    color: #fff;
}

/* elements */

body {
    font-family: "TT Norms", sans-serif;
    color: var(--main-color);
    /*background-color: var(--bg-color);*/
    /* better font-rendering */
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   line-height: 1.4;
   font-size: 1.2rem;
}

h1,h2,h3,h4,h5 {
    font-family: "bison", sans-serif;
    font-weight: bold;
    line-height: 0.9;
    color: inherit;
}

a {
    color: currentColor;
}

h1 a, h2 a, h3 a, h4 a {
    text-decoration: none;
}

p {
    max-width: 68ch;
    max-inline-size: var(--measure);
}

p.stat {
    font-weight: bold;
}

a svg {
    width: 200px;
}

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

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

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

h1 {
    font-size: 3.05rem
}

h2 {
    font-size: 2.44rem
}



h3 {
    font-size: 1.95rem
}

aside {
    font-family: "bison", sans-serif;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    font-size: 3.05rem;
    max-inline-size: 20ch;
    color: #faba13;
}

.copy-block {
    max-inline-size: var(--measure);
}

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

    aside {
        position: absolute;
        top: calc( var(--stack-space) * -1);
        right: 0;
        inline-size: 30%;
        max-inline-size: 15ch;
    }

    .copy-block {
        inline-size: 69%;
    }

}


.copy-block ul > * {
  margin-block: 0;
}

.copy-block ul > * + * {
  margin-block-start: var(--stack-space, var(--s0));
}

.copy-block__embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.home-panel__link svg {
    width: 20px;
}

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

@media screen and (max-width: 70rem) {
    .wrapper--no-pad {
        padding: 0 0;
    }
}

.element {
    border: 1px solid var(--bg-color);
    background-color: var(--bg-color-shade);
    margin-bottom: 2rem;
    padding: 1.5rem;
}


/* utitilies */

.pad-left-s0 {
    padding-left: 2rem;
    padding-left: var(--s0,1.2rem);
}

.pad-left-s1 {
    padding-left: 2rem;
    padding-left: var(--s1,1.2rem);
}

.pad-left-s2 {
    padding-left: 2rem;
    padding-left: var(--s2,1.2rem);
}

.pad-top-s0 {
    padding-top: 2rem;
    padding-top: var(--s0,1.2rem);
}

.pad-top-s1 {
    padding-top: 2rem;
    padding-top: var(--s1,1.2rem);
}

.pad-top-s2 {
    padding-top: 2rem;
    padding-top: var(--s2,1.2rem);
}

.pad-top-s3 {
    padding-top: 2rem;
    padding-top: var(--s2,1.2rem);
}


.pad-bottom-s0 {
    padding-bottom: 2rem;
    padding-bottom: var(--s0,1.2rem);
}

.pad-bottom-s1 {
    padding-bottom: 2rem;
    padding-bottom: var(--s1,1.2rem);
}

.pad-bottom-s2 {
    padding-bottom: 2rem;
    padding-bottom: var(--s2,1.2rem);
}

.pad-bottom-s3 {
    padding-bottom: 2rem;
    padding-bottom: var(--s3,1.2rem);
}

.pad-bottom-s4 {
    padding-bottom: 2rem;
    padding-bottom: var(--s4,1.2rem);
}

.gap-top-s1 {
    margin-top: var(--s1,1.2rem);
}

.gap-top-s2 {
    margin-top: var(--s2,1.2rem);
}

.gap-top-s3 {
    margin-top: var(--s3,1.2rem);
}

.gap-top-s4 {
    margin-top: var(--s4,1.2rem);
}

.gap-bottom-s1 {
    margin-bottom: var(--s1,1.2rem);
}

.gap-bottom-s2 {
    margin-bottom: var(--s2,1.2rem);
}

.gap-bottom-s3 {
    margin-bottom: var(--s3,1.2rem);
}

.gap-bottom-s4 {
    margin-bottom: var(--s4,1.2rem);
}


/* make relative - deal with z-index stuff */
.rel {
    position: relative;
}

.intro-text p {
    font-size: 1.3em;
}

.default-font {
    font-family: inherit;
}

.narrow-copy {
    max-width: 50ch;
    max-inline-size: 50ch;
}

/* layouts */

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

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

.stack > * + * {
  margin-block-start: var(--stack-space, var(--s0));
}


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

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

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

.stack--line > * {
    padding-top: var(--stack-space, var(--s0));
}

.stack--line > * + * {
    padding-top: var(--stack-space, var(--s0));
    border-top: 1px solid var(--line-color-light);
}

.stack--line > :last-child {
    margin-block-end: var(--stack-space, var(--s0));
}


.stack[data-space='s0'] {
    --stack-space: var(--s0);
}

.stack[data-space='s1'] {
    --stack-space: var(--s1);
}

.stack[data-space='s2'] {
    --stack-space: var(--s2);
}

.stack[data-space='s3'] {
    --stack-space: var(--s3);
}

.stack[data-space='s4'] {
    --stack-space: var(--s4);
}

.stack[data-space='s5'] {
    --stack-space: var(--s5);
}

.stack[data-space='s6'] {
    --stack-space: var(--s6);
}



.stack[data-space='s-1'] {
    --stack-space: var(--s-1);
}

.stack[data-space='s-2'] {
    --stack-space: var(--s-2);
}

.stack[data-space='s-3'] {
    --stack-space: var(--s-3);
}

.stack[data-space='s-4'] {
    --stack-space: var(--s-4);
}

.stack[data-space='s-5'] {
    --stack-space: var(--s-5);
}

.stack[data-space='s-6'] {
    --stack-space: var(--s-6);
}

.prose {

}

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

.prose > * + * {
  margin-block-start: var(--stack-space, var(--s0));
}


.prose[data-space='s0'] > * + * {
    --stack-space: var(--s0);
}

.prose[data-space='s1'] > * + * {
    --stack-space: var(--s1);
}

.prose[data-space='s2'] > * + * {
    --stack-space: var(--s2);
}

.prose[data-space='s3'] > * + * {
    --stack-space: var(--s3);
}

.prose[data-space='s4'] > * + * {
    --stack-space: var(--s4);
}

.prose[data-space='s5'] > * + * {
    --stack-space: var(--s5);
}

.prose[data-space='s6'] > * + * {
    --stack-space: var(--s6);
}



.prose[data-space='s-1'] > * + * {
    --stack-space: var(--s-1);
}

.prose[data-space='s-2'] > * + * {
    --stack-space: var(--s-2);
}

.prose[data-space='s-3'] > * + * {
    --stack-space: var(--s-3);
}

.prose[data-space='s-4'] > * + * {
    --stack-space: var(--s-4);
}

.prose[data-space='s-5'] > * + * {
    --stack-space: var(--s-5);
}

.prose[data-space='s-6'] > * + * {
    --stack-space: var(--s-6);
}


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

/* exception */
.cluster[data-justify='space-between'] {
    justify-content: space-between;
}

/* class alternative to using exception - not decided yet  */
.cluster-sb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-space, 1rem);
  justify-content: space-between;
  align-items: center;
}

/* exceptions for spacing */

.cluster[data-space='s0'] {
    gap: var(--s0);
}

.cluster[data-space='s1'] {
    gap: var(--s1);
}

.cluster[data-space='s2'] {
    gap: var(--s2);
}

.cluster[data-space='s3'] {
    gap: var(--s3);
}

.cluster[data-space='s4'] {
    gap: var(--s4);
}

.cluster[data-space='s5'] {
    gap: var(--s5);
}

.cluster[data-space='s6'] {
    gap: var(--s6);
}


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

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

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


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

.with-sidebar-r > :last-child {
  flex-basis: 20rem; 
  flex-grow: 1;
}

.with-sidebar-r > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 65%;
}



.middle {
  box-sizing: content-box;
  margin-inline: auto;
  max-inline-size: var(--measure);
}



.pullquote-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s0);
}

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

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


.grid {
  display: grid;
  grid-gap: 3rem;
}

.grid--tight {
    /*grid-gap: 1.6rem;*/
}

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

  .grid--tight {
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  }


  .grid-span-2 {
    grid-column-start: span 2;
  }

}


.alt-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: var(--s2);
}


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

     .alt-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: var(--s1);
    }

}


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

    .alt-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: var(--s2);
    }

    .alt-grid__item:nth-child(3n+1) {
        grid-column-start: span 2;
        display: grid;
        grid-template-columns: 3fr 9fr;
        grid-gap: var(--s2);
    }

    .alt-grid__item:nth-child(3n+1) > :first-child {
        grid-column-start: 2;
    }

    .alt-grid__item:nth-child(3n+1) > :nth-child(2) {
        grid-column-start: 1;
        grid-row-start: 1;
    }


    .alt-grid__item:nth-child(6n+4) {
        grid-template-columns: 9fr 3fr;  
    }

    .alt-grid__item:nth-child(6n+4) > :first-child {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .alt-grid__item:nth-child(6n+4) > :nth-child(2) {
        grid-column-start: 2;
    }

}


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

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

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



/* utilities */

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

.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
}

.upper {
    text-transform: uppercase;
}

.use-ligs {
    font-variant-ligatures: discretionary-ligatures;
}


.text-color-highlight {
    color: var(--highlight-color,#faba13);
}



/* blocks */

.header {
    padding: var(--s-1, 1rem) 0;
    font-size: 1.3rem;
}

nav a {
    text-decoration: none;
}


.logo__svg {
    width: 180px;
    height: auto;
}

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


    .logo__svg {
        width: 250px;
    }


}


.page-intro {
    --slope: calc( 100% - ( 0.5rem + 10vw ) );
    clip-path: polygon(0% 100%, 100% var(--slope),100% 0%,0% 0%);
    padding-bottom: calc(5rem + 1.99vw);
}

.page-intro--middle {
    padding-bottom: calc(6rem + 1.99vw);
}

.pull-up-s5 {
    margin-bottom: calc( var(--s5) * -1);
    padding-bottom: calc(11rem + 1.99vw);
}

.page-intro__copy {
    padding-top: var(--s3,2rem);
    max-width: 60rem;
    max-inline-size: 65ch;
}

.page-intro__copy--middle {
    box-sizing: content-box;
    margin-inline: auto;
}

.main-title {
    font-size: clamp(2.14rem, 1.74rem + 1.99vw, 3.4rem);
    overflow: hidden;
    max-width: 30ch;
    /*color: #111;*/
}

.main-title__big {
    font-size: 2em;
    line-height: 0.9;
    display: block;
}

.main-title__tag {
    font-size: 0.8em;
}


.footer {
    background-color: #000;
    color: #fff;
    margin-top: 11rem;
}

.footer * {
    color: inherit;
}

.footer__pre {
    background-color: #231f20;
    --slope: calc( 100% - ( 0.5rem + 10vw ) );
    clip-path: polygon(0% 100%, 100% var(--slope),100% 0%,0% 0%);
    min-height: 10rem;
    padding-bottom: var(--s1);
    padding-top: var(--s1);
}

.footer-pre__copy {
    /*padding-top: var(--s3,2rem);*/
    padding-bottom: 5rem;
}

.footer__nav {
    background-color: #000;
    padding-bottom: var(--s3,2rem);
}

.related {

}

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

    .related__title {
     padding-left: var(--s3);
    }

    .related__item {
        padding-left: var(--s3);
    }

}




.article-item {
}

 @media screen and (min-width: 960px) {
    
    
    .articles-section .article-item--shift:nth-child(even) {
        padding-top: 7rem;
    }

    .articles-section:nth-child(4n-1) .article-item--shift:nth-child(odd) {
        padding-top: 7rem;
    }

    .articles-section:nth-child(4n-1) .article-item--shift:nth-child(even) {
        padding-top: 0;
    }

 }


.article-item__img {
    width: 100%;
}

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

.article-item h2 {
    font-size: 3.4rem;
    color: #111;
}



.layers-ratio {
    height: 0;
    overflow: hidden;
    padding-top: calc(591.44 / 1127.34 * 100%);
    position: relative;
}

/*
.layers {
    position: relative;
    width: 100%;
    max-height: 600px;
    aspect-ratio: 16 / 9;
}
*/
.layers {
    position: relative;
    max-height: 600px;
}

.layers::before {
  content: "";
  width: 1px;
  margin-left: -1px;
  float: left;
  height: 0;
  padding-top: 56%;
}
.layers::after { /* to clear float */
  content: "";
  display: table;
  clear: both;
}

.layers__bg {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.layers__bg img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.layers__front {
    position: relative;
    height: 100%;
}


.layers__clip {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.layers__clip::before {
  content: "";
  width: 1px;
  margin-left: -1px;
  float: left;
  height: 0;
  padding-top: 56%;
}
.layers__clip::after { /* to clear float */
  content: "";
  display: table;
  clear: both;
}

.layers__breakout {
    display: none;
}

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

    .layers__breakout {
        display: block;
        position: absolute;
        top: 70px;
        height: 100%;
        pointer-events: none;
    }

    .layers__breakout img {
        height: 100%;
        object-fit: cover;
    }

}

.layers__layer-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.layers__layer-single-img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.home-video {
    width: 100%;
    position: relative;
    padding-bottom: 56%;

}

.home-video__embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-inline-size: none;
}

.copy-block__video {
    width: 100%;
    position: relative;
    padding-bottom: 56%;
}

.copy-block__embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-inline-size: none;
}

.article-links {
    position: relative;
    z-index: 10;
}

.article-links a {
    text-decoration: none;
}

.article-links li {
    /*width: 100%;*/
    max-inline-size: none;
}




@keyframes tipsy {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

@keyframes move-up-loop {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes fade-out-in {
    0% { opacity: 1; }

    10% { opacity: 0; }

    30% { opacity: 0; }

    40% {opacity: 1; }

    100% {opacity: 1;}
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/*

#layer-image-3 {
    animation: 20s infinite linear normal move-up-loop;
}

#layer-image-4 {
    animation: 30s infinite linear normal move-up-loop;
}

#layer-image-6 {
    animation: 40s infinite linear normal move-up-loop;
}

*/

#layered-1 {
    --viewport-y: 0;
}


#layer-image-1 {
    transform: translateY(calc(1px * var(--viewport-y,0) / 12));
}

#layer-image-2 {
    transform: translateY(calc(1px * var(--viewport-y,0) / 6));
}

#layer-image-3 {
    transform: translateY(calc(1px * var(--viewport-y,0) / 4));
    /*animation: 12s linear 4s infinite fade-out-in;*/
}

#layer-image-4 {
    transform: translateY(calc(1px * var(--viewport-y,0) / 2));
}

#layer-image-6 {
    transform: rotate(calc(1deg * var(--viewport-y,0) / 30));
}

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


.logo-link svg {
    width: 40px;
    fill: #fff;
}

.slash::after {
    content: "";
    display: block;
    position: relative;
    z-index: 0;
    transform: rotate(0deg) translateY(0px);
    padding-top: 10rem;
    background-color: #231f20;
    clip-path: polygon(100% 0%, 100% 100%, 100% 100%, 0 100%);
    margin-top: -5rem;
}

.article-img {
    width: 100%;
}



.parallax-box {
    overflow: hidden;
    position: relative;
    /*border: 1px solid red;*/
}


.parallax-box__bg {
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(14px);
}

.parallax-box__img {
    /*transform: translateY(calc(1px * var(--viewport-Y,0) / 6 ));*/
    transform: translateY(calc( (1px * var(--viewport-y,0) / 18) ));
    scale: 1.22;
    transition: scale 0.5s ease-in-out;
    position: relative;
    display: block;
}

.parallax-box a {
    position: relative;
    display: block;
}

/*
.parallax-box::after {
    display: block;
    content: attr(data-viewport-y);
    position: absolute;
    top: 0;
    border: 2px solid red;
    z-index: 130;
    padding: 1rem;
    background-color: silver;
    color: #222;
}
*/

.parallax-box__img:hover {
    transform: translateY(calc( (1px * var(--viewport-y,0) / 18) ));
    scale: 1.26;
    /*transition: transform 0.5s ease-in-out;*/
}


.animate-path {
    pointer-events: none;
    z-index: 20;
    width: 100%;
    height: 100%;
    position: absolute;
}

.animate-path__path {
    --offset-end: 100%;
}

.animate-path__object {
    position: absolute;
    top: 16%;
    left: 68%;
    offset-path: path('M1 80.5C4.3 41.1 20.5 15.6 49.4 4.1c45.9-18.3 35.4 44.3 92.8 44.3 28 0 47.7-13.8 58.8-41.4');
    transform: rotate(230deg);
    animation: move-along-path 4000ms infinite alternate ease-in;
}

@keyframes move-along-path {
  0% {
    offset-distance: 0%;
  }
 
  100% {
    offset-distance: var(--offset-end,0%);
  }
}

.people__img-silo {
   position: relative;
}

.people__img-silo img {
    transition: opacity 300ms ease-in-out;
}


.people__img-silo picture:last-child img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.people__img-silo:hover picture:last-child img {
    opacity: 1;
}

.people__img-silo:hover picture:first-child img {
    opacity: 0;
}

/*

.logo__f {
    transform: translateX(32%);
    animation: slide-f 300ms linear;
}

@keyframes slide-f {
    0% {
        transform: translateX(32%);
    }
    100% {
        transform: translateX(0);
    }
}

*/

/*
.logo__the {
    transform: translateY(-50%);
}

.logo__foundry {
    /*transform: translateY(-50%);
}
*/


.panel-carousel {
    position: relative;
}

.panel-carousel__controls {
    position: absolute;
    top: 50%;
    width: 100%;
}

.panel-carousel__button {
    padding: 0;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    background-color: transparent;
    border: none;
    float: left;
    /*display: none;*/
}

.panel-carousel__button--next {
    float: right;
}

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

.panel-carousel__button svg {
    width: 90%;
    fill: rgba(255, 0, 0, 0.6);
}


@media screen and (min-width: 540px) {
    .panel-carousel__button {
        
    }

    .panel-carousel__button svg {
        fill: #FFF;
    }

}

/* switch to re-styled nav for mobile, but only if JS is enabled, otherwise just tighten up the styling */
/* Menu button */
 
.menu-toggle {
    display: none;
    visibility: hidden;
    position: absolute;
    right: 15px;
    top: 22px;
    z-index: 200;
    margin: 0 12px 0 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    border: 0;
    pointer-events: all;
    background-color: transparent;
}
 
 .menu-toggle__box {
   position: relative;
   display: inline-block;
   width: 2.3em;
   height: 1.4em;
 }
 
 .menu-toggle__lines,  .menu-toggle__lines::before, .menu-toggle__lines::after {
   position: absolute;
   background-color: #ccc;
   width: 2.3em;
   height: 4px;
   border-radius: 4px;
   transition-property: transform;
 }
 
 /* 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);
 }



.js .main-nav {
    position: relative;
    z-index: 1000;
}

.nav-top__contact {
    display: none;
    font-family: "TT Norms";
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.4;
    padding-top: var(--s-1);
}

.logo-footer {
    display: none;
}

@media screen and (max-width: 960px) {

    .nav-top .nav-top__list {
        margin: 0;
        gap: 1rem;
    }

    .nav-top__list li {
        margin: 0;
    }

}

@media screen and (max-width: 560px) {

    .footer-pre__copy {
        padding-bottom: var(--s1);
    }

    .logo-footer {
        display: block;
    }

    .contact-banner__list {
        display: none;
    }

    .js .menu-toggle {
        display: block;
        visibility: visible;
    }

    .nav-top .nav-top__list {
        margin: 0;
        gap: 1rem;
    }

    .nav-top__list li {
        margin: 0;
    }


    .js .logo-top {
        position: relative;
        z-index: 100;
    }

    .js .nav-top {
        position: absolute;
        top: -1rem;
        left: 0;
        width: 100vw;
        pointer-events: none;
        overflow-x: hidden;        
        /*height: 0; */
    }

    .js .nav-top__list {
        font-family: bison;
        font-size: var(--s2);
        font-weight: bold;
        display: block;
        padding: 0 1.33rem;
        background-color: black;
        color: #fff;
        padding-top: 8rem;
        padding-bottom: 2rem;
        line-height: 1;
        pointer-events: all;
    }


    .js .nav-top__list > * {
      margin-block: 0;
    }

    .js .nav-top__list > * + * {
      margin-block-start: var(--s-6);
    }

    .js .header-tel {
        display: none;
    }

    /* toggle the menu */
    .js .nav-top__list {
        transition: transform 300ms ease-in-out;
        transform: translateX(100%);
    }

    .js .nav-top__list.is-active {
        transform: translateX(0);
    }

    .js .nav-top__contact {
        display: block;
    }

}


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

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

.form__control > * + * {
  margin-block-start: 0.5rem;
}

.form__field {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 0 0 0.6rem 0;
}

.btn-simple {
    border: none;
    font-weight: bold;
    background-color: transparent;
    display: inline-block;
    text-decoration: underline;
}

/* animation moves */


@keyframes out-down {
  0% {
    transform: translateY(0);
  }    
  100% {
    transform: translateY(37%);
  }
}

@keyframes in-up {
  0% {
    transform: translateY(37%);
  }
  100% {
    transform: translateY(0);
  }
}


@keyframes in-left {
  0% {
    transform: translateX(27%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes out-right {
  0% {
    transform: translateX(0%);
  } 
  100% {
    transform: translateX(27%);
  }
}

@keyframes in-right {
  0% {
    transform: translateX(27%);
  } 
  100% {
    transform: translateX(0%);
  }
}

@keyframes f-out-up { 
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-37%);
  }
}

@keyframes f-in-up { 
  0% {
    transform: translateY(-37%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes f-out-left {
  0% {
   transform: translateX(0); 
  }
  100% {
    transform: translateX(-58%);
  }
}

@keyframes f-in-left {
  0% {
   transform: translateX(-58%); 
  }
  100% {
    transform: translateX(0%);
  }
}

.logo-anim {
    /*width: 400px;*/
}

/* some vars that define the animation */

/*

move-time - how long each chunk takes
overlap - when to start the next animation - 0 means as the previous one ends
initial-delay - when the animation starts
hold - how long before the next animation


*/


.logo-anim {
    --move-time: 500ms;
    --move-in-delay: 200ms;
    --initial-delay: 900ms;
    --hold-time: 800ms;
}

/* animation steps */

/*

    move the-1 out:     600ms initial move-down

    move the-2 in:      600ms initial + (move-time - overlap) move-x-in
                        var(--initial) + var(--move-in-delay)

    move the-2 out:     600ms (initial + (move-time - overlap)) + hold-time move-out-left
                        var(--initial) + var(--move-in-delay) + var(--hold-time)

    move the-3 in:      600ms ((initial + (move-time - overlap)) + hold-time) + (move-time - overlap) move-y-in
                        var(--initial) + (var(--move-in-delay) * 2) + var(--hold-time)

    move the-3-out:     600ms (((initial + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time move-down
                        var(--initial) + (var(--move-in-delay) * 2) + (var(--hold-time) * 2)

    move-the-4-in:      600ms ((((initial + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time) + (move-time - overlap) move-x-in
                        var(--initial) + (var(--move-in-delay) * 3) + (var(--hold-time) * 2)

    move-the-4-out:     600ms (((((initial + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time move-out-left
                        var(--initial) + (var(--move-in-delay) * 3) + (var(--hold-time) * 3)

    move the-1 in:      600ms ((((((initial + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time) + (move-time - overlap)) + hold-time) + (move-time - overlap) move-y-in
                        var(--initial) + (var(--move-in-delay) * 4) + (var(--hold-time) * 3)

*/


.logo-the-1 {
    animation-fill-mode: forwards;
    animation-name: out-down, in-up;
    animation-duration: var(--move-time);
    animation-delay: var(--initial-delay), calc(var(--initial-delay) + (var(--move-in-delay) * 4) + (var(--hold-time) * 3));
}

.logo-the-2 {
    transform: translateX(27%);
    animation-fill-mode: forwards;
    animation-name: in-right, out-right;
    animation-duration: var(--move-time);
    animation-delay:    calc(var(--initial-delay) + var(--move-in-delay)),
                        calc(var(--initial-delay) + var(--move-in-delay) + var(--hold-time));
}

.logo-the-3 {
    transform: translateY(36%);
    animation-fill-mode: forwards;
    animation-name: in-up, out-down;
    animation-duration: var(--move-time);
    animation-delay:    calc(var(--initial-delay) + (var(--move-in-delay) * 2) + var(--hold-time)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 2) + (var(--hold-time) * 2));
}

.logo-the-4 {
    transform: translateX(24%);
    animation-fill-mode: forwards;
    animation-name: in-right, out-right;
    animation-duration: var(--move-time);
    animation-delay:    calc(var(--initial-delay) + (var(--move-in-delay) * 3) + (var(--hold-time) * 2)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 3) + (var(--hold-time) * 3));
}


.logo-foundry-1 {
    animation-fill-mode: forwards;
    animation-name: f-out-up,f-in-up,f-out-up,f-in-up;
    animation-duration: var(--move-time);
    animation-delay:    var(--initial-delay),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 2) + var(--hold-time)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 2) + (var(--hold-time) * 2)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 4) + (var(--hold-time) * 3));
}

.logo-foundry-2 {
    transform: translateX(-58%);
    animation-fill-mode: forwards;
    animation-name: f-in-left,f-out-left;
    animation-duration: var(--move-time);
    animation-delay:    calc(var(--initial-delay) + var(--move-in-delay)),
                        calc(var(--initial-delay) + var(--move-in-delay) + var(--hold-time));
}

.logo-foundry-3 {
    transform: translateX(-58%);
    animation-fill-mode: forwards;
    animation-name: f-in-left,f-out-left;
    animation-duration: var(--move-time);
    animation-delay:    calc(var(--initial-delay) + (var(--move-in-delay) * 3) + (var(--hold-time) * 2)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 3) + (var(--hold-time) * 3));
}



/*
.logo-foundry-1 {
    animation-fill-mode: forwards;
    animation-name: move-f-up,move-y-in,move-f-up,move-y-in;
    animation-duration: var(--move-time);
    animation-delay:    var(--initial-delay),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 2) + var(--hold-time)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 2) + (var(--hold-time) * 2)),
                        calc(var(--initial-delay) + (var(--move-in-delay) * 4) + (var(--hold-time) * 3));
}
*/