@charset "UTF-8";
@font-face {
  font-family: Neutraface;
  font-weight: 400;
  src: url("/wp-content/themes/em-22/src/hf/NeutrafaceText-Light.woff");
}
@font-face {
  font-family: Neutraface;
  font-weight: 500;
  src: url("/wp-content/themes/em-22/src/hf/NeutrafaceText-Book.woff");
}
@font-face {
  font-family: Neutraface;
  font-weight: 600;
  src: url("/wp-content/themes/em-22/src/hf/NeutrafaceText-Bold.woff");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --open-sans: Open Sans, sans-serif;
  --neutraface: Neutraface, sans-serif;
  --black: #333;
  --gray: rgb(129, 119, 119);
  --br: 5px;
  --fast: 300ms;
  --slow: 600ms;
  --padding: min(3rem, 5vw);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Open Sans, sans-serif;
}
.header select {
  font-size: 1rem;
}

.stories__meta, .stories__size {
  font-size: 0.9rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--fast);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  background-color: gray;
}
.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.splash {
  background-image: url("/wp-content/themes/em-22/src/hf/bg-home.jpg");
}

.pick-size {
  background-image: url("/wp-content/themes/em-22/src/hf/bg-shoeSize.jpg");
}

.loading {
  background-image: url("/wp-content/themes/em-22/src/hf/bg-home.jpg");
  z-index: 6000;
}
.loading img {
  max-width: 70%;
}

.size__selector {
  display: flex;
  flex-flow: column;
  color: white;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
@media (min-width: 1400px) {
  .size__selector {
    margin-top: 0;
  }
}
.size__selector label {
  display: block;
  margin-bottom: 0.25rem;
}
.size__selector input {
  display: block;
  background: transparent;
  border: 0;
  width: 2em;
  color: white;
  border: 0;
  margin-top: -0.2em;
  margin-bottom: -0.25em;
  font-weight: 800;
  font-family: var(--neutraface);
  font-feature-settings: "aalt";
  font-size: 6rem;
}
@media (min-width: 800px) {
  .size__selector input {
    font-size: 8rem;
  }
}
.size__selector input:focus {
  background: rgba(255, 255, 255, 0);
  outline: 0;
}

.splash__inner {
  width: 80%;
  color: white;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
@media (min-width: 800px) {
  .splash__inner {
    align-items: center;
    flex-flow: row;
  }
}

.splash__copy {
  font-family: var(--neutraface);
  line-height: 0.9;
  letter-spacing: -0.02em;
  position: relative;
  font-size: 2rem;
  flex-basis: 60%;
  margin-bottom: 2em;
}
@media (min-width: 500px) {
  .splash__copy {
    font-size: 3.5rem;
  }
}
@media (min-width: 800px) {
  .splash__copy {
    margin-bottom: 0;
  }
}

.slider p {
  transition: var(--fast);
  opacity: 0;
}
.slider p.active {
  opacity: 1;
}
.slider p:last-of-type {
  position: absolute;
  top: 0;
}

.footer {
  padding: 0 var(--padding);
  padding-bottom: 2rem;
  color: var(--gray);
}
.story__container .footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
}
@media (min-width: 800px) {
  .story__container .footer {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
  }
}

.footer__nav ul {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  list-style: none;
}
@media (min-width: 800px) {
  .footer__nav ul {
    flex-flow: row;
  }
}
.footer__nav li:after {
  margin-left: 0.5em;
  margin-right: 0.5em;
}
@media (min-width: 800px) {
  .footer__nav li:after {
    content: "|";
  }
}
.footer__nav li:last-of-type:after {
  display: none;
}
.footer__nav a {
  color: inherit;
}

.header {
  background: var(--black);
  color: white;
  display: flex;
  font-size: 0.9rem;
  padding: var(--padding);
  padding-bottom: 0.5rem;
}
@media (min-width: 800px) {
  .header {
    padding: 1.5rem var(--padding);
  }
}
.header .input {
  display: block;
  margin-bottom: 0.75rem;
}
@media (min-width: 800px) {
  .header .input {
    margin-right: 1.5rem;
    margin-bottom: 0;
    display: inline-block;
  }
}
.header select {
  font-size: 0.9rem;
  background: transparent;
  -webkit-appearance: button;
     -moz-appearance: button;
          appearance: button;
  border: 1px solid white;
  color: white;
  padding: 0.3em;
  border-radius: var(--br);
  font-family: var(--open-sans);
}
.header option {
  font-family: var(--open-sans);
  background-color: var(--black);
}
.header .taxonomy {
  display: none;
}
.header .taxonomy.active {
  display: inline-block;
}

.button, .button--small, .page__container .mc4wp-form [type=submit], .button--big {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: none;
  color: white;
  font-family: var(--open-sans);
  font-weight: 100;
  text-transform: uppercase;
  border-radius: var(--br);
  border: 1px solid white;
  padding: 0.75em 1em;
  display: inline-block;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  cursor: pointer;
  transition: var(--fast);
  text-decoration: none;
  font-size: 1rem;
}
@media (min-width: 1400px) {
  .button, .button--small, .page__container .mc4wp-form [type=submit], .button--big {
    font-size: 1.5rem;
  }
}
.button:hover, .button--small:hover, .page__container .mc4wp-form [type=submit]:hover, .button--big:hover, .button:focus, .button--small:focus, .page__container .mc4wp-form [type=submit]:focus, .button--big:focus {
  background: white;
  color: var(--black);
}

.button--big {
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
}
@media (min-width: 1400px) {
  .button--big {
    font-size: 2rem;
  }
}

.button--small, .page__container .mc4wp-form [type=submit] {
  font-size: 0.9rem;
  padding: 0.2em 0.5em;
}

.splash__controls {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}
@media (min-width: 800px) {
  .splash__controls {
    padding-left: 3em;
  }
}
.splash__controls .pick {
  margin-bottom: 1rem;
}

.stories {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
  gap: calc(var(--padding) / 2);
  padding: var(--padding);
}

.stories__item {
  display: block;
  border-radius: 5px;
  background-image: var(--thumbnail);
  background-size: cover;
  background-position: center;
  background-color: gray;
}
.stories__item.hidden {
  display: none;
}
.stories__item:hover .stories__inner, .stories__item:focus-within .stories__inner {
  background-color: transparent;
}
.stories__item:hover .stories__size,
.stories__item:hover .stories__meta, .stories__item:focus-within .stories__size,
.stories__item:focus-within .stories__meta {
  opacity: 1;
  transform: translateY(0);
}
.stories__item:hover .stories__title, .stories__item:focus-within .stories__title {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.stories__inner {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  height: 15rem;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  position: relative;
  color: white;
  transition: var(--fast);
  text-decoration: none;
}
.stories__inner:hover .stories__view, .stories__inner:focus .stories__view {
  background-color: white;
}

.stories__size {
  transition: var(--fast);
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
}
.stories__size .label {
  display: block;
  margin-bottom: -1em;
}
.stories__size .figure {
  display: block;
  font-family: var(--neutraface);
  font-weight: 600;
  font-style: normal;
  font-size: 4rem;
  line-height: 1;
  text-align: right;
}

.stories__title {
  font-family: var(--neutraface);
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: var(--fast);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0);
  text-transform: uppercase;
  max-width: 10em;
}

.stories__meta {
  transition: var(--fast);
  opacity: 0;
  display: block;
  transform: translateY(5px);
}

.stories__job {
  margin-bottom: 0.5em;
  display: block;
}

.stories__controls {
  display: flex;
}
.stories__controls .button--small, .stories__controls .page__container .mc4wp-form [type=submit], .page__container .mc4wp-form .stories__controls [type=submit] {
  margin-right: 0.5em;
  border: 0;
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--black);
}
.stories__controls .button--small:hover, .stories__controls .page__container .mc4wp-form [type=submit]:hover, .page__container .mc4wp-form .stories__controls [type=submit]:hover, .stories__controls .button--small:focus, .stories__controls .page__container .mc4wp-form [type=submit]:focus, .page__container .mc4wp-form .stories__controls [type=submit]:focus {
  background: white;
}

.story__container {
  background-color: var(--black);
  color: white;
}
@media (min-width: 800px) {
  .story__container {
    padding-bottom: 2rem;
  }
}

.story__header {
  height: 100vh;
  background-image: var(--thumbnail);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  position: relative;
  flex-flow: column;
  padding: var(--padding);
}
@media (min-width: 800px) {
  .story__header {
    padding: 0;
    align-items: center;
    flex-flow: row;
  }
}
.story__header:before {
  content: "";
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.story__meta {
  position: relative;
  z-index: 1000;
  font-family: var(--neutraface);
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 4rem;
}
@media (min-width: 800px) {
  .story__meta {
    margin-bottom: 0;
    flex-basis: 50%;
  }
}
.story__meta span {
  display: block;
  font-weight: 500;
  font-size: 1.5rem;
}
@media (min-width: 800px) {
  .story__meta span {
    font-size: 2rem;
  }
}
.story__meta .button, .story__meta .button--big, .story__meta .button--small, .story__meta .page__container .mc4wp-form [type=submit], .page__container .mc4wp-form .story__meta [type=submit] {
  margin-bottom: 1rem;
}

.story__controls {
  position: relative;
  z-index: 1000;
}

.story__title {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 3rem;
  line-height: 1;
}
@media (min-width: 800px) {
  .story__title {
    font-size: 5rem;
  }
}

.story__buttons {
  max-width: 18rem;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}

.story__credits {
  margin-bottom: 1em;
}

.story__body {
  padding: var(--padding);
  font-family: var(--open-sans);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.story__body p {
  margin-bottom: 0.9em;
}

.body__info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
  flex-flow: column;
  align-items: flex-start;
}
@media (min-width: 800px) {
  .body__info {
    align-items: flex-end;
    flex-flow: row;
  }
}
.body__info .title {
  font-family: var(--neutraface);
  font-weight: 500;
  font-size: 3rem;
}
.body__info .credits {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.body__info .credits span {
  display: block;
}
@media (min-width: 800px) {
  .body__info .credits {
    margin-bottom: 0;
  }
}
.body__info .size {
  display: block;
  font-size: 1.5rem;
}

.help__open {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 1500;
  border: 0;
  width: 78px;
  font-size: 0;
  height: 148px;
  background: url("/wp-content/themes/em-22/src/hf/side-infoTab.png");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.sidebar {
  background: white;
  color: var(--black);
  padding: var(--padding);
  position: fixed;
  top: 0;
  width: 30rem;
  max-width: 90vw;
  z-index: 2000;
  text-align: center;
  transition: var(--fast);
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
  transform: translateX(100%);
  bottom: 0;
  visibility: hidden;
}
.sidebar a {
  color: inherit;
}
.sidebar p {
  margin-bottom: 1rem;
}
.sidebar.active {
  visibility: visible;
  transform: translateX(0);
}

.sidebar__image {
  margin-bottom: 2rem;
  max-width: 90%;
}

.sidebar__background {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  opacity: 0;
  pointer-events: none;
  transition: var(--fast);
}
.sidebar-active .sidebar__background {
  pointer-events: all;
  opacity: 1;
}

.sidebar__nav a {
  color: var(--black);
  display: block;
  text-decoration: none;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.sidebar__nav a:hover, .sidebar__nav a:focus {
  text-decoration: underline;
}

.menu {
  right: 0;
}

.menu__open {
  position: absolute;
  top: 1.5rem;
  right: var(--padding);
  z-index: 900;
  background: url("/wp-content/themes/em-22/src/hf/icon-menu.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  color: white;
  border: 0;
  padding: 0.15rem;
  padding-right: 3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: var(--open-sans);
  cursor: pointer;
}

.sidebar__logo {
  width: 257px;
}

.menu__logos {
  display: flex;
  flex-wrap: wrap;
}
.menu__logos p {
  margin-bottom: 2rem;
}
.menu__logos a {
  flex-basis: 50%;
}
.menu__logos img {
  display: block;
  width: 100%;
}

.help {
  left: 0;
  transform: translateX(-100%);
}

.story__back {
  display: block;
  position: absolute;
  left: var(--padding);
  color: white;
  text-decoration: none;
  padding-left: 2rem;
  background: url("/wp-content/themes/em-22/src/hf/icon-back.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  top: 1.5rem;
}
.story__back:hover, .story__back:focus {
  text-decoration: underline;
}

.help__header {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-family: var(--neutraface);
}
.help__header span {
  display: block;
}
.help__header .credits {
  padding-top: 0.5rem;
  font-size: 1.2rem;
}

.help__copy {
  margin-bottom: 2rem;
}

.sidebar__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  font-family: var(--open-sans);
  color: var(--gray);
  border: 1px solid currentColor;
  font-size: 0;
  border-radius: 100%;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}
.sidebar__close:hover, .sidebar__close:focus {
  color: var(--black);
}
.sidebar__close:after {
  content: "X";
  font-size: 1.3rem;
}

.button--play {
  background: transparent;
  color: white;
  border: 0;
  cursor: pointer;
  opacity: 0.6;
  font-family: var(--open-sans);
  transition: var(--fast);
}
.button--play span {
  display: block;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.button--play.active .triangle {
  display: none;
}
.button--play.active .pause {
  display: block;
}
.button--play .circle,
.button--play .triangle {
  stroke: white;
  stroke-width: 8px;
}
.button--play .pause {
  stroke-width: 8px;
  stroke: white;
  fill: white;
  stroke-linejoin: round;
  display: none;
}
.button--play .animated {
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  stroke-width: 10px;
  transition: var(--slow);
}
.button--play:hover, .button--play:focus {
  opacity: 1;
}
.button--play:hover .animated, .button--play:focus .animated {
  stroke-width: 16px;
  stroke-dashoffset: 0;
}
.button--play svg {
  overflow: visible;
  margin-bottom: 1rem;
}

.page__container {
  color: var(--black);
  padding: var(--padding);
}
.page__container h1,
.page__container h2,
.page__container h3,
.page__container h4,
.page__container h5,
.page__container h6,
.page__container p,
.page__container li,
.page__container blockquote,
.page__container details, .page__container .mc4wp-form {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
.page__container h1,
.page__container h2,
.page__container h3 {
  font-family: var(--neutraface);
}
.page__container a {
  color: inherit;
}
.page__container h1 {
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2rem;
}
.page__container h2 {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.page__container h3 {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.page__container p,
.page__container li {
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.page__container blockquote {
  font-style: italic;
  padding-left: 2rem;
  position: relative;
}
.page__container blockquote:before {
  content: "“";
  top: -0.2em;
  left: 0;
  font-size: 3rem;
  position: absolute;
  color: gray;
}
.page__container cite {
  display: block;
}
.page__container img {
  display: block;
  height: auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
  width: calc(100% + 2 * var(--padding));
  margin-left: calc(var(--padding) * -1);
}
.page__container details[open] summary {
  background-color: var(--black);
}
.page__container summary {
  color: white;
  background-color: var(--gray);
  border-radius: var(--br);
  transition: var(--fast);
  padding: 0.75rem 1rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin-bottom: 0.5rem;
}
.page__container summary:hover, .page__container summary:focus {
  text-decoration: underline;
}
.page__container .mc4wp-form {
  margin-bottom: 2rem;
}
.page__container .mc4wp-form [type=email] {
  width: 100%;
}
.page__container .mc4wp-form [type=checkbox] {
  margin-right: 0.5rem;
}
.page__container .mc4wp-form [type=submit] {
  color: var(--black);
  border-color: var(--black);
}
.page__container .mc4wp-form .mc4wp-response {
  padding-top: 1rem;
}
.page__container .mc4wp-form input {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  padding: 0.5rem;
}
