/*!
Theme Name: exalt
Theme URI: #
Version: 1.0.0
*/
@charset "UTF-8";
html{overflow-x: hidden;}
html, body {
  min-height: 100vh;
  width: 100%;
  line-height: 1;
}

body, body * {
  /*all: unset;*/
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

ol, ul, menu {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: 1vw;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body:before {
  display: block;
  display: none;
  position: fixed;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(to right, red 50%, white 50%);
  opacity: 0.05;
  background-size: 10%;
  z-index: 999999;
  pointer-events: none;
}

main#main {
  min-height: calc(100vh - 36rem);
  max-width: 1440px;
  padding-right: 20rem;
  padding-left: 21rem;
  margin: 0 auto;
}
main#main > section {
  font-size: 1.5em;
  line-height: 1.5;
  padding-top: 10rem;
  color: #333;
}
main#main > section h2 {
  font-size: 1.25em;
  float: left;
  padding-bottom: 0.5em;
  width: 18rem;
  text-align: right;
  position: sticky;
  color: black;
  top: 10rem;
  font-weight: 400;
  margin-left: -21rem;
  margin-bottom: -1.2em;
  font-weight: 500;
  line-height: 1;
}
main#main > section#what section {
  margin: 16rem 0;
  position: relative;
}
#what section:first-of-type{
    margin-top:0 !important;
}
#what section:first-of-type:before, #what section:first-of-type:after{
    display:none;
}
main#main > section#what section:last-child {
  margin-bottom: 8rem;
}
main#main > section#what section:before, main#main > section#what section:after {
  position: absolute;
  content: "";
  opacity: 0.25;
  top: -8rem;
  right: 0;
}
main#main > section#what section:before {
  width: calc(100% + 2rem);
  left: -1rem;
  top: calc(-7.5rem + 1px);
  height: 1px;
  background: #000;
}
main#main > section#what section:after {
  width: 100%;
  border-left: 1px solid black;
  border-right: 1px solid black;
  height: calc(1rem + 3px);
}
main#main > section#what section.first {
  margin-top: 0;
}
main#main > section#what section.first:before, main#main > section#what section.first:after {
  display: none;
}


main#main > section#approach h2 {
  position: static;
}
main#main > section#approach ol {
  list-style: none;
  counter-reset: custom -1;
}
main#main > section#approach ol section li {
  counter-increment: custom;
  margin-bottom: 1em;
  position: relative;
}
main#main > section#approach ol section:nth-child(1) li::before {
  display: none;
}


main#main > section#approach ol section:nth-child(2) li::before {
  content: url("../../images/one.png");
   animation: crescendo 1.5s ease-in;
}

@keyframes crescendo {
  0%   {transform: scale(0);}
  100% {transform: scale(1.0);}
}

main#main > section#approach ol section:nth-child(3) li::before {
  content: url("../../images/two.png");
  animation: crescendo 2.5s ease-in;
}

main#main > section#approach ol section:nth-child(4) li::before {
  content: url("../../images/three.png");
  animation: crescendo 3.5s ease-in;
}

main#main > section#approach ol section li::before {
  font-weight: 300;
  position: absolute;
  left: -6rem;
  height: 1em;
  top: 0em;
  margin: auto;
  font-size: 3em;
  font-style: italic;
  content: counter(custom);
  color: #362c92;
  color: #000;
  opacity: 0.8;
/*  background: linear-gradient(-45deg, red 5%, blue) black no-repeat; */
  line-height: 1;
  background-position: 14rem 0;
  background-size: 4rem 100%;
  background-attachment: fixed;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}
main#main > section#approach del {
  display: none;
}
main#main > .contact {
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.25em;
  font-weight: 600;
  z-index: 500;
  width: 50%;
  margin: 8rem auto 0;
  background: #362c92;
  color: #fff;
  padding: 1.6em 0rem 1.5em 1rem;
  bottom: 0rem;
  transition: all 0.1s linear;
  display: block;
  border: 0.125em solid #362c92;
}
main#main > .contact:hover {
  background: #fff;
  color: #362c92;
}

.interlude {
  width: 100vw;
  margin-left: -21rem;
  color: transparent;
  height: 15rem;
  background-size: cover !important;
  margin-top: 8rem;
  position: relative;
  z-index: 99999;
}
.interlude:before, .interlude:after, .interlude span {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
}
.interlude:before {
  background: #f9b5a0;
  mix-blend-mode: multiply;
}
.interlude:after {
  background: #362c92;
  mix-blend-mode: lighten;
}
.interlude span {
  background: linear-gradient(-45deg, red 15%, blue);
  opacity: 0.8;
  mix-blend-mode: lighten;
  background-attachment: fixed;
}

.bios {
  color: transparent;
  display: block;
  height: 35rem;
  margin-left: -21rem;
  width: 100vw;
  background-size: 100% auto !important;
}
.bios:hover {
  opacity: 0.5;
}

#header {
  margin-left: 21rem;
  margin-top: 10rem;
  font-size: 2.56em;
/*margin-right: 10rem;*/
  margin-bottom: 6rem;
  text-align: right;
}
#header p {
  margin-top: -0.25em;
  line-height: 1.65;
  font-weight: 600;
  transition: all 0.1s linear;
  display: inline-block;
/*  background-color: rgba(192, 192, 192, .5);*/
  padding-left: 5px;
  padding-right: 100px;
  position: relative;
  top: 14rem;
}
#header:after {
  content: "";
  position: fixed;
  display: block;
  top: 0;
  left: 20rem;
  right: 0;
  height: 10rem;
  background: #fff;
  background: linear-gradient(to bottom, white 5rem, rgba(255, 255, 255, 0));
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

body.fold #header:after {
  opacity: 1;
}
#navigation {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 20rem;
  transition: background 0.1s linear;
}
#navigation:hover {
  z-index: 99999999999999;
}
#navigation h1.logo {
  display: block;
  height: 10rem;
  width: 20rem;
  background: #fff;
  transition: background 0.1s linear;
  position: relative;
}
#navigation h1.logo:hover span,
#navigation h1.logo:hover a.link {
  background-color: #000;
}
#navigation h1.logo span {
  position: absolute;
  top: 0em;
  bottom: 0;
  margin: auto;
  left: 1.5rem;
  content: "";
  width: 2em;
  background: #362c92;
  -webkit-mask-size: 2em auto !important;
  height: 2em;
  z-index: 999;
  pointer-events: none;
  transition: all 0.1s linear;
}
#navigation h1.logo a.link {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  background: #362c92;
  -webkit-mask-size: 13rem auto !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  transition: all 0.1s linear;
}
#navigation .menu {
  width: 20rem;
  transition: all 0.1s linear;
  height: 100vh;
}
#navigation .menu .item {
  display: block;
}
#navigation .menu .item .link {
  display: inline-block;
  font-size: 1.25em;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5em 0.5em 0.33em 4.4rem;
  transition: all 0.1s linear;
  position: relative;
}
#navigation .menu .item .link:hover {
  color: #362c92;
}
#navigation .menu .item.active .link {
  color: #fff !important;
  background: #362c92;
}
#navigation .menu .item.contact .link {
  transform: none !important;
  right: 0;
  width: 18rem;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  font-size: 1.25em;
  font-weight: 600;
  position: fixed;
  z-index: 500;
  text-shadow: 0 0 1.5em #000;
  left: 0;
  border-top: 1rem solid white;
  color: #fff;
  padding: 1.75em 0rem 1.5em 1rem;
  bottom: 0rem;
  margin: 1rem 0 1rem 1rem;
  transition: all 0.1s linear;
}

#navigation .menu .item.contact .link:hover {
  background: #362c92;
  color: #fff;
}
#navigation .menu .item.contact .link:hover:after {
  color: #fff;
  margin-left: 0.5em;
}
#navigation .menu .item.contact .link:before {
  display: none;
}

body main#main > section h2 {
  margin-left: -22rem;
}

body.scrolled:not(#bio) #navigation .menu {
  opacity: 0;
  pointer-events: none;
}
body.scrolled:not(#bio) #navigation h1.logo a.link {
  -webkit-mask-position: 3.5rem 50% !important;
}
body.scrolled:not(#bio) #navigation h1.logo:before {
  opacity: 0;
}
body.scrolled:not(#bio) #navigation:hover {
  background: #f8f8f8;
}
body.scrolled:not(#bio) #navigation:hover h1.logo {
  background: transparent;
}
body.scrolled:not(#bio) #navigation:hover h1.logo:before,
body.scrolled:not(#bio) #navigation:hover h1.logo a.link {
  background-color: #666;
}
body.scrolled:not(#bio) #navigation:hover h1.logo:hover:before,
body.scrolled:not(#bio) #navigation:hover h1.logo:hover a.link {
  background-color: #362c92;
}
body.scrolled:not(#bio) #navigation:hover .menu {
  opacity: 1;
  pointer-events: auto !important;
}
body.scrolled:not(#bio) #navigation:hover .menu .item .link {
  transform: translateY(0);
}
body.scrolled:not(#bio) #navigation:hover .menu .contact .link {
  opacity: 1;
}
body.scrolled:not(#bio) #navigation .item .link {
  transform: translateY(-0.25rem);
}
body.scrolled:not(#bio) #navigation .item.contact .link {
  opacity: 0;
  left: 1rem;
  width: 15rem;
  background: #ddd;
  border-top: 0rem solid #f8f8f8;
  color: black;
  padding: 1.62em 0 1.5em 1rem;
  text-shadow: none;
  margin-bottom: 2rem;
}
body.scrolled:not(#bio) #navigation .item.contact .link:hover {
  background: #362c92;
  color: #fff !important;
  cursor:pointer;
}

#hero {
  position: relative;
  display: grid;
  grid-auto-columns: 19em;
  grid-auto-rows: 33%;
  width: calc(100vw - 2em);
  margin-right: 1em;
  overflow: hidden;
  padding-left: 1em;
  grid-gap: 1em;
  height: calc(100vh - 26.5rem);
  background: #fff;
  grid-template-areas: "tall wide wide wide wide" "tall small large large large" "tall medium large large large";
}
#hero:after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(-45deg, red 5%, blue);
  background-attachment: fixed;
  mix-blend-mode: lighten;
  pointer-events: none;
}
#hero .block {
  width: 100%;
  height: 100%;
  position: relative;
  background: #f9b5a0;
}
#hero .block .video, #hero .block img, #hero .block .videoz {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
#hero .block img {
  object-position: 50% 62.5%;
}
#hero .block.tall {
  grid-area: tall;
}
#hero .block.wide {
  grid-area: wide;
}
#hero .block.small {
  grid-area: small;
}
#hero .block.medium {
  grid-area: medium;
}
#hero .block.large {
  grid-area: large;
}
#hero .block:before, #hero .block:after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#hero .block:before {
  background: #362c92;
  mix-blend-mode: lighten;
  z-index: 10;
}
#hero .block:after {
  background: url(inc/img/noise.png) 0% 0%;
  animation: noise 0.5s steps(10) infinite;
  z-index: 30;
  opacity: 0.15;
  filter: grayscale(1);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  image-rendering: pixelated;
  background-attachment: fixed;
}
@keyframes noise {
  0% {
    background-position: 0 0%;
  }
  100% {
    background-position: 256px 256px;
  }
}

body#video.scrolled #navigation {
  mix-blend-mode: initial;
}
body#video.scrolled #navigation .logo .link, body#video.scrolled #navigation .logo:before {
  background: #362c92;
}
body#video.scrolled #navigation .link {
  color: #362c92 !important;
}

body#video.fold #navigation {
  mix-blend-mode: unset;
}
body#video.fold #navigation .logo {
  background: #fff;
}
body#video.fold #navigation .link {
  color: #000 !important;
}
body#video.fold #navigation .link:hover {
  color: #362c92 !important;
}
body#video.fold #navigation .item.active .link {
  color: #fff !important;
  pointer-events: none;
  cursor: pointer;
}

body#video #header {
  position: relative;
  z-index: 999;
  color: #fff;
}
body#video #header p {
  text-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
}
body#video #header p em.circle:before, body#video #header p em.circle:after {
  filter: contrast(1.5) invert(1);
}
body#video #header:before {
  position: absolute;
  width: 100vw;
  height: 32rem;
  display: block;
/*top: -9.5rem;*/
  left: -21rem;
  bottom: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  z-index: -1;
}
body#video #navigation {
  z-index: 999;
}
body#video #navigation .logo {
  background: transparent;
}
body#video #navigation .logo .link, body#video #navigation .logo span {
  background: #fff;
}
body#video #navigation .link:hover {
  background: #fff;
  color: #362c92;
}
body#video .menu .item .link {
  color: #fff;
}
body#video #hero {
  display: block;
  margin-top: -25.55rem;
  height: 100vh;
  max-height: 50vw;
  width: 100vw;
  padding: 0;
  z-index: 10;
  margin-bottom: -5rem;
}

body#video .contact {
  opacity: 0;
}

body#video.scrolled .contact {
  opacity: 1;
}

body {
  font-family: Work Sans, sans-serif;
  letter-spacing: -0.05em;
}

body#font-one {
  font-family: proxima-nova, sans-serif;
  letter-spacing: 0;
}

body#font-two {
  font-family: "Nunito Sans";
  letter-spacing: 0;
}

main#main p {
  line-height: 1.75;
  margin-bottom: 1em;
}
main#main p:last-child {
  margin-bottom: unset;
}
main#main h3 {
  font-weight: 600;
  letter-spacing: 0;
  margin: 0em 0 0.25em 0;
}

#misc #photos {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  width: 100vw;
  margin-left: -22vw;
  transform: rotate(-2deg);
  transform-origin: 100%;
  margin-top: 2rem;
  padding-bottom: 1em;
  margin-bottom: 6rem;
  position: relative;
  z-index: 9999999;
}
#misc #photos .photo {
  color: transparent;
  scroll-snap-align: start;
  border: 1px solid #333;
  flex: 0 0 33vw;
  width: 33vw;
  margin-right: 1vw;
  height: 33vw;
  background-size: cover !important;
  background-position: 0% 50% !important;
  filter: saturate(0);
  transform: translate3d(0, 0, 0);
  transition: all 0.05s linear;
}
#misc #photos .photo:hover {
  filter: saturate(1);
  cursor: grab;
}

#bio #navigation .contact .link {
  opacity: 1;
  left: 1rem;
  width: 15rem;
  background: #ddd;
  border-top: 0rem solid #f8f8f8;
  color: black;
  padding: 1.62em 0 1.5em 1rem;
  text-shadow: none;
  margin-bottom: 2rem;
}
#bio #navigation .contact .link:hover {
  background: #362c92;
  color: #fff;
}
#bio #main {
  position: relative;
  margin-top: -1.5rem;
}
#bio #main p {
  margin-right: 25rem;
  text-align: left;
}
#bio #main figure {
  width: 30rem;
  height: 44rem;
  /*position: relative;*/
  /*position: absolute;*/
  position:fixed;
  top: 9rem;
  right: 10rem;
  background: #f9b5a0;
}
#bio #main figure figcaption {
  position: absolute;
  top: -4rem;
  right: 0;
}
#bio #main figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

}
#bio #main figure:before, #bio #main figure:after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  z-index: 999;
}
#bio #main figure:before {
  background: linear-gradient(-50deg, red 0%, blue);
  mix-blend-mode: lighten;
  opacity: 0.75;
}
#bio #main figure:after {
  background: #362c92;
  mix-blend-mode: lighten;
}
#bio #main .name {
  font-style: normal;
  display: inline-block;
  font-weight: 500;
  font-size: 2em;
  border-radius: 5% 6% 7% 8%;
  padding: 0em 0.2em;
  margin: 0 -0.2em;
  background-position: 0 0, 0 0;
  color: #000;
  background-size: 200% auto, 200% auto;
  background-image: linear-gradient(to right, transparent 50%, rgba(255, 255, 0, 0.5) 50%), linear-gradient(to right, transparent 50%, #fff176 50%);
  animation: highlight 1s ease forwards;
  animation-delay: 1s;
}
@keyframes highlight {
  0% {
    background-position: 0 0, 0 0;
  }
  50% {
    background-position: -100% 0, 0 0;
    color: #000;
  }
  100% {
    background-position: -100% 0, 100% 0;
    color: #000;
  }
}
#bio #main h3 {
  margin-bottom: 2rem;
}

#footer {
  padding: 15rem 20rem 8rem;
  width: 60rem;
}

#bio #footer {
  padding: 15rem 30rem 8rem !important;
}

#footer .cities {
  display: flex;
  padding: 0 1em;
  justify-content: center;
}
#footer .cities .city {
  font-style: normal;
  line-height: 1.5rem;
  font-size: 1.2em;
  padding: 0em 0;
  width: 50%;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0.015em;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 500;
}
#footer p {
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.005em;
}
#footer p a {
  text-decoration: none;
  color: #362c92;
  transition: all 0.05s linear;
}
#footer p a:hover {
  text-decoration: underline;
  opacity: 1;
  color: #000;
}

.divider {
  width: 100%;
  height: 0.2rem;
  position: relative;
  height: 4rem;
  opacity: 0.25;
  margin: 1.5rem 0;
}
.divider:before, .divider:after {
  left: 0;
  right: 0;
  margin: auto;
  display: block;
  position: absolute;
  content: "";
}
.divider:before {
  height: 1px;
  background: black;
  top: 0;
  bottom: 0;
}
/*.divider:after {
  height: 3rem;
  width: 3rem;
  background: #fff url(inc/img/fenway-logomark.svg) 50% no-repeat;
  padding: 0.5rem;
  background-size: 3rem;
}*/

#main .underline {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.015em;
  position: relative;
  display: inline-block;
  color: #362c92;
  transition: color 0.3s linear;
}
#main .underline:before, #main .underline:after {
  content: "";
  left: 0;
  position: absolute;
  height: 0.5em;
  border-bottom: 0.125em solid #362c92;
  width: 100%;
  bottom: 0;
  transform-origin: 100%;
  opacity: 0;
  transition: opacity 0.1s linear, clip-path 0s 0.1s;
  pointer-events: none;
}
#main .underline:before {
  border-radius: 0 0 33% 15%;
  transform: rotate(0.5deg);
  clip-path: inset(0 100% 0 0);
}
#main .underline:after {
  border-radius: 0 0 10% 2px;
  transform: rotate(-0.5deg);
  transform-origin: 0;
  clip-path: inset(0 0 0 100%);
}
#main .underline:hover:before, #main .underline:hover:after {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
#main .underline:hover:before {
  transition: clip-path 0.15s ease-in 0s;
}
#main .underline:hover:after {
  transition: clip-path 0.15s ease-out 0.15s;
}

#main section em:not(.circle) {
  font-style: normal;
  border-radius: 5% 6% 7% 8%;
  padding: 0.15em 0.2em;
  margin: 0 -0.2em;
  background-position: 0 0, 0 0;
  background-size: 200% auto, 200% auto;
  background-image: linear-gradient(to right, transparent 50%, rgba(255, 255, 0, 0.5) 50%), linear-gradient(to right, transparent 50%, #fff176 50%);
  transition: text-shadow 1s linear 1s;
  letter-spacing: -0.005em;
}
@keyframes highlight {
  0% {
    background-position: 0 0, 0 0;
  }
  50% {
    background-position: -100% 0, 0 0;
  }
  100% {
    background-position: -100% 0, 100% 0;
  }
}
#main section.visible em:not(.circle) {
  animation: highlight 1s ease forwards;
  animation-delay: 1s;
  text-shadow: 0.5px 0 currentColor;
}

#main section em.circle, #header em.circle {
  text-decoration: none;
  color: currentColor;
  font-style: normal;
  font-weight: 600;
  padding: 0.5em 0.5em;
  margin: -0.5em -0.5em;
  position: relative;
  display: inline-block;
}
#main section em.circle:before, #main section em.circle:after, #header em.circle:before, #header em.circle:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 98% 98%;
  clip-path: polygon(0 0, 50% 50%, 0 0, 0 0, 0 0, 0 0);
}
#main section em.circle:before, #header em.circle:before {
  background-image: url(../../images/inc/circle-1.svg);
  animation-delay: 1.5s !important;
}
#main section em.circle:after, #header em.circle:after {
  background-image: url(../../images/inc/circle-2.svg);
  animation-delay: 2s !important;
}
@keyframes wipe {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}
#main section.visible em.circle:after, #main section.visible em.circle:before, #header.visible em.circle:after, #header.visible em.circle:before {
  animation: wipe 0.5s ease-out both;
}
ul#photos::-webkit-scrollbar {
  display: none;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
  background:#362c92 !important;
}
a.owl-lb-link{
  display:block;
  width:100%;
  height:100%;
}
/********************** Popup **********************/
.popup{display: none;}
.popup.active{display:block;}
.popup-overlay {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background: linear-gradient(-45deg, #ff00b1 5%, #7a00ff 20%);
  opacity: .8;
}
.popup-container {
  z-index: 9999999;
  background: #fff;
  border-radius: 5px;
  position: fixed;
  width: fit-content;
  height: fit-content;
  top: 10vh;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 2em;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.popup-logo {
  display: flex;
  justify-content: center;
  height: 3em;
  align-items: center;
}
.popup-logo .logo-icon {
  width: 4em;
  height: 3em;
  background: #362c92;
  -webkit-mask-size: 3em auto !important;
}
.popup-logo .logo-text {
  margin: 0 .5em;
  height: 100%;
  width: 18em;
  -webkit-mask-size: auto 1.7em !important;
  background: #362c92;
}
p.popup-text {
  text-align: center;
  color: #362C91;
  font-size: 1.6em;
  font-weight: 300;
}
.popup input[type="text"], .popup input[type="tel"], .popup input[type="email"], .popup textarea {
  width: calc(100% - 2em);
  background: #eee;
  padding: 1em;
  font-style: italic;
  font-weight: 900;
  border-radius: 3px;
  margin: .3em 0;
  font-family: monospace;
}
.popup textarea{
  resize: none;
}
.popup input[type="submit"] {
  padding: .8em;
  width: 100%;
  background: #362c92;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 3px;
  cursor: pointer;
}
.popup .ajax-loader {
  display: none !important;
}
.popup .wpcf7-response-output {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
span#close {
  position: absolute;
  top: .3em;
  right: .7em;
  color: #362c92;
  font-size: 1.3em;
  font-weight: 600;
  cursor: pointer;
}
a#popup{cursor:pointer;}
.popup input[type="text"]:focus, 
.popup input[type="tel"]:focus, 
.popup input[type="email"]:focus, 
.popup textarea:focus, 
.popup input[type="submit"]:focus{
  outline: -webkit-focus-ring-color auto 0px;
}
/********************** Who we are **********************/
section#who {
  width: calc(100% + 20rem);
}
#who .who-container {
  display: flex;
  flex-flow: wrap;
}
#who .team {
  position: relative;
  width: calc(28% - 4.5em);
  height: 30rem;
  margin: 0 .25em;
  background-size: cover;
  padding: 2em;
  display: grid;
  align-content: flex-end;
  flex-flow: wrap;
  color: #FFFFFF;
  filter: saturate(0);
  
}
#who p.position {
  z-index:1;
  margin: 0;
  font-size: .8em;
  text-shadow: 1px 1px 2px black, 0 0 1em;
 
}
#who h4.name {
  z-index:1;
  font-size: 1.5em;
  font-family: Arial;
  text-shadow: 1px 1px 2px black, 0 0 1em;
}
#who p.description {
  z-index:1;
  font-size: 1em;
  line-height: 1.5em;
  font-weight: 300;
  text-shadow: 1px 1px 2px black, 0 0 1em;
}
#who .go-to-who {
  display: flex;
  align-items: center;
  width: 13%;
}
#who .go-to-who a {
  font-size: 4em;
  line-height: 100%;
  margin: 0 auto;
  color: #9c9c9c;
  text-decoration: none;
  position:relative;
}
#who .team:hover {
  transition-duration: 1s;
  color: #fff;
/*  align-content: flex-end; */
  filter: none;
}
#who .team:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
#who .team:hover:before{
  opacity: 0;
  transition-duration: 2s;
}
@-moz-document url-prefix(){
  body#video #hero{margin-top:-29rem;}
}
body#video.scrolled #navigation .logo span {
  display: none;
}
/********************** Responsive **********************/
.burger-menu{display:none;}
@media (max-width:991px){
  .burger-menu {
    width: 7em;
    height: 7em;
    display: block;
    position: absolute;
    z-index: 1000;
    top: 4em;
    right: 4em;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
  }
  #navigation {
    width: 100%;
    height: 15em;
    background: #fff;
  }
  body#video #navigation .logo .link, body#video #navigation .logo span {
    background: #362c92;
  }
  #navigation h1.logo {
    height: 15em;
    width: 55em;
  }
  #who .go-to-who p {
    transform: scaleY(2.0);
  }
  body #navigation .logo span {
    width: 15em;
    height: 15em;
    -webkit-mask-size: 7em auto !important;
    left: 0;
  }
  body #navigation h1.logo a.link {
    margin-left: 15em;
    -webkit-mask-size: 40em auto !important;
    -webkit-mask-position-x: 0 !important;
  }
  .burger-menu span {
    display: block;
    width: 7em;
    height: 1em;
    background: #362c92;
    border-radius: 25%;
    transition-duration: 1s;
  }
  body#video.scrolled #navigation{
    mix-blend-mode: normal;
  }
  body.scrolled #navigation:hover{
    background: #fff;
  }
  body.scrolled #navigation .logo span {
    display: block;
  }
  body.scrolled #navigation:hover h1.logo {
    background: #fff;
  }
  body.scrolled #navigation h1.logo a.link{
    -webkit-mask-position: 0 50% !important;
  }

  body.scrolled:not(#bio) #navigation .menu {
    opacity:1;
  }
   
  body.scrolled:not(#bio) #navigation .item.contact .link {     
     opacity:1;
  }


  #navigation .menu {
    display: none;
    position: fixed;
    width: 100%;
    text-align: center;
    font-size: 5em;
    z-index: 1000;
    background: #fff;
    color: #362c92;
    padding: 1em 0;
    overflow-y: auto;
  }
  body#video.fold #navigation .link {
    color: #362c92 !important;
  }
  body.scrolled:not(#bio) #navigation:hover h1.logo:before, body.scrolled:not(#bio) #navigation:hover h1.logo a.link {
    background-color: #362c92;
  }
  body#video .menu .item .link {
    color: #362c92;
  }
  body#video .contact{
    opacity:1;
  }
   #navigation .menu .item.contact .link, body.scrolled #navigation .item.contact .link {
    width: 80% !important;
    margin: auto;
    background: #ddd;
    margin-bottom: 1em;
    padding: 1em 0;
    text-shadow: none;
    color: #362c92;
    position: initial;
  }
  #navigation .menu.active{display:block;}
  .burger-menu.close span:nth-child(2) {
    display: none;
  }
  .burger-menu.close span:last-child {
    transform: rotate(-45deg);
    position: absolute;
  }
  .burger-menu.close span:first-child {
    transform: rotate(45deg);
  }
}
@media (max-width:767px) {
  p {
    font-size: 2.5em;
  }
  body#video #hero {
    height: 100vh;
    margin-top: -100em;
    min-height: 120em
  }
  #header {
    padding: 0 rem;  
    margin: 12em 0 0 0;
		padding-top: 70%;
  }

   #header p {
	   font-size: 1.5em;
	   text-align: left;
	   padding-right: 35%;
   }

  body#video #header:before{
    top: -16rem;
    left: 0;
  }
  main#main {
    padding: 0 5rem;
    overflow: hidden;
  }
  body main#main > section h2 {
    margin-left: 0;
  }
  main#main > section h2 {
    float: none;
    width: auto;
    text-align: center;
    font-size: 4em;
    position: relative;
    top: 0;
    margin-bottom: 0;
  }
  #who .who-container {
    display: block;
    padding: 0 5rem;
  }

  #who .go-to-who p {
    transform: scaleY(2.0);
  }
  section#who {
    width: 100%;
  }
  #who .team {
    width: calc(100% - 4.5em);
    margin: auto;
  }
  #who .team {
    height: 90rem;
    width: calc(100% - 4.5em);
    margin: auto;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    font-size: 3em;
    text-align: left;
    margin-bottom: 10px;
  }

#main .team-2 {
    height: 90rem;
    width: calc(100% - 4.5em);
    margin: auto;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    font-size: 3em;
    text-align: left;
    margin-bottom: 10px;
  }

  #who p.position, #who h4.name, #who p.description, #main p.position-2, #main h4.name-2 {
    width: 100%;
  }
  #who .team:hover {
/*   justify-content: flex-end; */
  }

  #bio #main .team-members p {
     margin-right: 0 !important;
  }

  #who .go-to-who {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 6em;
    transform: scaleY(.5);
  }
  main#main h3 {
    font-size: 4em;
    padding-top: 1em;
  }
  .interlude {
    margin-left: -5rem;
  }
  main#main > section#approach ol section li {
    font-size: 3em;
  }
  #main section#approach .underline {
    font-size: 3em;
  }
  #misc #photos {
    margin-left: -5rem;
  }
  #misc #photos .photo {
    width: 95vw;
    height: 95vw;
    margin: auto;
  }
  main#main > section#approach ol section li:before {
    position: relative;
    font-size: 5em;
    background-position: 0;
    background-size: 100%;
    display: block;
    text-align: center;
    left: 0;
  }
  main#main > .contact {
    font-size: 3.5em;
    padding: 1.5em 5em;
  }
  #footer {
    padding: 5rem;
    width: calc(100% - 10rem);
  }
  #footer .cities {
    display: block;
  }
  #footer .cities .city {
    font-size: 4em;
    text-align: center;
    width: 100%;
    line-height: 2;
  }
  #footer p {
    font-size: 4em;
  }
  .popup-container {
    padding: 5rem;
  }
  .popup-logo {
    height: 7em;
  }
  .popup-logo .logo-icon {
    width: 7em;
    height: 7em;
    -webkit-mask-size: 7em auto !important;
  }
  .popup-logo .logo-text {
    width: 50em;
    -webkit-mask-size: 50em auto !important;
    margin: 0 3em;
  }
  p.popup-text {
    font-size: 4.5em;
  }
  span#close {
    font-size: 5em;
    right: .5em;
  }
  main#main > section{
    margin-top: -15rem;
    padding-top: 25rem;
  }

#bio #footer {
    padding: 5rem !important;
}

}


@media (min-width:768px) and (max-width:991px){
  #navigation {
    height: 10em;
  }
  #navigation h1.logo {
    height: 10em;
  }
  body#video #navigation .logo span {
    width: 10em;
    height: 10em;
    -webkit-mask-size: 6em auto !important;
  }
  body#video #navigation .logo .link {
    margin-left: 10em;
    -webkit-mask-size: 35em auto !important;
  }
  .burger-menu {
    width: 5em;
    height: 5em;
    top: 2.5em;
    right: 13.5em;
  }
  .burger-menu span {
    width: 5em;
  }
  #navigation .menu {
    font-size: 3em;
  }
  #navigation .menu .item.contact .link, body.scrolled:not(#bio) #navigation .item.contact .link {
    width: 60%;
  }
/* #header {
    margin: 25rem 10rem 0;
  }
*/
  body#video #header:before{
    top: -15rem;
    left: -10rem;
  }
  p {
    font-size: 1.5em;
  }
  body#video #hero{
    margin-top:-34rem;
  }
  main#main {
    padding: 0 5rem;
  }
  body main#main > section h2 {
    margin-left: 0;
  }
  main#main > section h2 {
    float: none;
    width: auto;
    text-align: center;
    font-size: 2.5em;
    position: relative;
    top: 0;
    margin-bottom: 0;
  }
  section#who {
    width: 100%;
  }
  #who .go-to-who p {
    transform: scaleY(2.0);
  }
  #who .team {
    height: 50rem;
    width: calc(50% - 4.5em);
    margin: .5em auto;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    font-size: 2em;
    text-align: left;
  }
  #bio #main .team-2 {
    height: 50rem;
    width: calc(45% - 4.5em);
    margin: .5em auto;
    flex-flow: column;
    align-items: initial;
    justify-content: flex-end;
    font-size: 2em;
    text-align: left;
  }
  #who p.position, #who h4.name, #who p.description{
    width: 100%;
  }
  #who .team:hover {
/*  justify-content: flex-end;*/
  }
  #who .go-to-who {
    display: flex;
    text-align: center;
    width: 50%;
    font-size: 4em;
    transform: scaleY(.5);
  }
  #who .go-to-who a {
    font-size: 4em;
    line-height: 100%;
    margin: 0 auto;
    color: #9c9c9c;
    text-decoration: none;
  }


  main#main h3 {
    font-size: 2em;
  }
  .interlude {
    margin-left: -5rem;
  }
  main#main > section#approach ol section li {
    font-size: 1.5em;
  }
  #main section#approach .underline {
    font-size: 1.5em;
  }
  main#main > section#approach ol section li:before {
    position: relative;
    font-size: 5em;
    background-position: 0;
    background-size: 100%;
    display: block;
    text-align: center;
    left: 0;
  }
  #misc #photos {
    margin-left: -5rem;
  }
  #misc #photos .photo {
    width: 50vw;
    height: 50vw;
  }
  main#main > .contact {
    font-size: 2.5em;
    padding: 1.5em 3em;
  }
  #footer {
    padding: 5rem;
    width: calc(100% - 10rem);
  }
  #footer .cities .city {
    font-size: 2em;
    text-align: center;
    width: 100%;
    line-height: 2;
  }
  #footer p {
    font-size: 2em;
  }
  .popup-container {
    padding: 5rem;
  }
  .popup-logo {
    height: 7em;
  }
  .popup-logo .logo-icon {
    width: 5em;
    height: 5em;
    -webkit-mask-size: 5em auto !important;
  }
  .popup-logo .logo-text {
    width: 40em;
    -webkit-mask-size: 40em auto !important;
    margin: 0 3em;
  }
  p.popup-text {
    font-size: 3em;
  }
  span#close {
    font-size: 3em;
    right: .5em;
  }
  main#main > section{
    margin-top: -10rem;
    padding-top: 20rem;
  }
}
main.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  max-width: 80%;
  margin: auto;
}
article.type-team {
    width: calc(33.3% - 1em);
    padding: .5em;
}
.type-team img {
  border: 1px solid #333;
  max-width: 100%;
  max-height: auto;
  object-fit: cover;
  filter: saturate(0);
  object-position: 80% 20%;
}
.type-team:hover img {
  filter: none;
}
.type-team a{
  text-decoration: none;
}
#bio #main p.tm_name_page {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25em;
  color: black;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}
#bio #main p.tm_position_page {
  text-align: center;
  font-size: 1em;
  color: #9c9c9c;
  text-transform: uppercase;
  margin: 0;
}
.entry-content {
  margin: 1em 0;
}
.page-template-who-page main#main,
.post-type-archive-team main#main{
  padding-right: 0;
}
.post-type-archive-team main.team-members{
  padding-top:5em;
}
h2.tm_subtitle_page {
  text-align: center;
  font-size: 3em;
  font-weight: 400;
  margin: 1.5em 0 .5em;
}
header.tm_page_header {
  background: #eee;
  padding: 4em 0;
}
h1.tm_title_page {
  text-align: center;
  text-transform: uppercase;
  font-size: 3em;
  font-weight: 400;
  color: #362c92;
  margin-bottom: .5em;
}
#bio #main p.tm_description_page {
  text-align: center;
  color: #9c9c9c;
  margin: 0;
}
}
@media (max-width: 991px) and (min-width: 768px){
  #bio #main{
    padding: 0;
    margin-top: 10em;
  }
}
@media (max-width:767px){
  #bio #main{
    padding: 0;
    margin-top: 15em;
  }
  h1.tm_title_page, h2.tm_subtitle_page {
    font-size: 6em;
  }
  article.type-team {
    width: calc(100% - 1em);
  }
  #bio #main p.tm_name_page {
    font-size: 4em;
  }
  #bio #main p.tm_position_page {
    font-size: 3em;
  }
  .entry-content {
    margin: 3em 0;
  }
}
@media (min-width:768px) and (max-width:991px){
  section.single-member {
    padding-left: 5%;
    padding-right: 5%;
  }

#bio #footer {
    padding: 5rem !important;
}
  #bio #main figure {
    top: 21em;
    right: 5%;
  }
  #bio #main p {
    margin-right: 35rem;
  }
}
@media (max-width:767px){
  main#main section.single-member.visible {
    padding-left: 5%;
    padding-right: 5%;
    /*padding-top: 20em;*/
    text-align: center;
  }
  #bio #main figure {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
  }
  #bio #main h3 {
    font-size: 3em;
    padding-top: .5em;
    margin-bottom: 1em;
  }
  #bio #main .name {
    font-size: 6em;
  }
  #bio #main p {
    margin: 1em 0 0;
  }
}
a.team-link {
  display: contents;
  text-decoration: none;
}

#first-text p {
font-size: 1.75rem;
}

@media (max-width:767px){
#first-text p {
    font-size: 2.5em;
}
}

@media (max-width: 991px) and (min-width: 768px) {
#first-text p {
    font-size: 1.8em;
}
}

@media (max-width: 1280px) and (min-width: 1024px) {
  #bio #footer
 { 
  padding: 15rem 20rem 8rem !important;
 }
}

.team-2 {
position: relative;
width: calc(28% - 4.5em);
height: 18rem;
margin: 0 .25em;
background-size: cover;
padding: 1em;
display: flex;
align-content: flex-end;
flex-flow: wrap;
color: #FFFFFF;
filter: saturate(0);
margin-bottom: 10px;
}


.position-2 {
z-index: 1;
margin: 0;
font-size: 1.0em;
text-shadow: 1px 1px 2px black, 0 0 1em;
font-family: Work Sans, sans-serif;
letter-spacing: -0.05em;
line-height: 1.75;
margin-right: 0;
}

.name-2 {
z-index: 1;
font-size: 1.4em;
font-family: Arial;
text-shadow: 1px 1px 2px black, 0 0 1em;
}

#bio #main .team-members p {
margin-right: 5rem;
}

.team-2:hover {
    transition-duration: 1s;
    color: #fff;
    align-content: flex-end;
    filter: none;
}

.exaltmainlogo {
  width: 70%; /* Set the width of the logo */
  margin-top: 4rem;
  margin-left: 4rem;
  content: url(../../images/ExaltLogo_White-2.png); /* Set the initial logo image */
  background-size: contain; /* Adjust background size as needed */
  transition: transform 0.3s ease-in-out; /* Add a smooth transition effect */
}

.scrolled .exaltmainlogo {
  width: 50%; /* Change the width of the logo when scrolled */
  margin-top: 2rem; /* Adjust margins as needed */
  margin-left: 2rem; /* Adjust margins as needed */
  content: url(../../images/ExaltLogo_Black-2.png); /* Change the logo image when scrolled */
}

/* Media query for screens up to 768 pixels wide (adjust as needed) */
@media (max-width: 768px) {
  /* Override default logo styles with the new logo */
  .exaltmainlogo {
      content: url(../../images/ExaltLogo_Black-2.png);
          margin-top: 2rem;
    width: 60%;
      /* Add any other necessary styles for mobile logo */
  }
  .scrolled .exaltmainlogo {
       content: url(../../images/ExaltLogo_Black-2.png);
          margin-top: 2rem;
          margin-left:4rem;
    width: 60%;
  }
  
  body.scrolled:not(#bio) #navigation:hover h1.logo {
      background:#f8f8f8!important;
  }
}

.sidemenumargin {
  margin-top: 2rem!important;
}


