@font-face {
  font-family: "seraphs";
  src: url("/seraphs.woff2") format("woff2");
}

@font-face {
  font-family: "vctr";
  src: url("/vctr.otf");
}

html {
  background: black;
  color: #212121;
  font-family: "vctr";
  font-variation-settings: "wght" 100, "SRFS" 5;
  font-weight: 100;
  text-align: center;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
#root {
  /* background: linear-gradient(#fee6bb, #f7d7e8, #78e5f9); */
  background: #c9dfff;
  margin: 0;
  min-height: 100vh;
}

main {
  padding: 0 0 0;
}

.gradient {
  background: linear-gradient(#c9dfff, #fff, #ffe8e4);
  padding-bottom: 2rem;
}

figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffe8e4;
  background-color: transparent;
  margin: 0;
  overflow: hidden;
  z-index: 2;
  /* box-shadow: 0 0 3rem rgba(0, 0, 0, 0.2); */
}

@keyframes flash {
  from {
    color: white;
    background: #212121;
  }
  to {
    background: #78e5f9;
    color: #212121;
  }
}

h1 {
  display: none;
  color: inherit;
  margin: 0;
  font-weight: 800;
  line-height: 1em;
  font-family: "vctr";

  justify-content: space-between;
  height: 100%;
  max-height: 90vh;
}

@media screen and (min-width: 800px) {
  .info div {
    flex: 1 1 33%;
  }
  .case-study {
    flex: 1 1 50% !important;
  }
  figure {
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 1rem 0 0.333rem;
    height: 100vh;
    /* animation: flash infinite alternate 2s; */
  }

  figure:nth-of-type(1) {
    left: 0;
  }

  figure:nth-of-type(2) {
    right: 0;
  }

  h1 {
    display: flex;
    padding-left: 0.5rem;
    font-size: clamp(1em, 8vh, 8em);
    text-orientation: sideways;
    writing-mode: vertical-lr;
  }
}

p {
  margin: 0 auto 1em;
}

figure small {
  text-orientation: sideways;
  writing-mode: vertical-lr;
  color: white;
}

h2 {
  display: flex;
  justify-content: space-between;
  font-weight: 100;
  font-size: 2rem;
  margin: 0 0 0.5em;

  font-variation-settings: "wght" 100, "SRFS" 5;
  line-height: 2.5rem;
}

h2 span {
  color: #ccc;
}

h2 strong {
  color: #fff;
}

h2 small {
  font-size: 1.75rem;
}

h3 {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0 0 1em 0;
  letter-spacing: 0.05em;
  font-variation-settings: "wght" 100, "SRFS" 5;
  position: relative;
  z-index: 3;
}

h4 {
  padding-bottom: 0.5rem;
  margin: 1rem auto 0rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

h5 {
  display: block;
  font-weight: 100;
  font-size: 100%;
  margin: 2rem 0 0;
}

hr {
  border: none;
  margin: 2rem auto;
  border-top: 2px solid white;
  background: none;
  height: 0;
  box-shadow: none;
}

.holder {
  margin: 0 auto 1rem;
  display: inline-block;
  max-width: 400px;
  box-sizing: border-box;
  width: 100%;
  /* background: linear-gradient(#f7d7e8, #78e5f9); */
  padding: 0.5rem 2rem;
  border-radius: 2rem;
}

.ticket {
  aspect-ratio: 4/6;
  border-radius: 3rem;
  width: 100%;
  margin: 2rem 0 0;
  border: 0.2rem solid #212121;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.33);
  background: #212121;
  isolation: isolate;
  color: white;
  box-sizing: border-box;
  overflow: hidden;
}

.ticket ol {
  margin: 0;
  padding: 1rem;
}

.ticket ol li {
  font-size: 1.5rem;
  position: relative;
  padding: 0.5rem 0 0;
  letter-spacing: 0.15rem;
  color: #ccc;
  border-top: 2px solid #333;
  text-transform: uppercase;
}

ol li:after {
  content: "";
  background-image: url("/down.svg");
  background-size: 150%;
  background-position: center center;
  height: 1em;
  width: 1em;
  position: absolute;
  right: 0;
}

.ticket .overlay {
  height: 50%;
  background: linear-gradient(#212121, #78e5f9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket img {
  width: 100%;
  height: auto;
  background: white;
}

.ticket .overlay img {
  max-width: 50%;
  max-height: 50%;
}

ol {
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

ol li {
  margin: 0 0 0.5em;
  display: flex;
  align-items: center;
}

.noise {
  height: 100%;
  background: linear-gradient(90deg, transparent, #78e5f9);
}

.overlay {
  background: moccasin;
  mix-blend-mode: multiply;
}

#cases {
  display: flex;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
}

.case-study {
  padding: 6em 2rem;
  flex: 1 1 100%;
  background-size: cover;
  background: currentColor;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.case-study img.bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
  filter: blur(8px);
}

.case-study img.tix {
  width: 100%;
  height: auto;
  max-width: 500px;
  max-height: 1000px;
  display: block;
  margin: auto;
  box-shadow: 0 0 5em rgba(0, 0, 0, 1);
  border-radius: 1em;
  position: relative;
  z-index: 2;
}

.case-study img.grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  z-index: 2;
  opacity: 0.2;
}

.logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em 2em 2em;
}

.logos svg {
  width: 130px;
  max-height: 95px;
  margin: 2em;
  flex: 0 1 130px;
}

.logos svg,
.logos path {
  fill: currentColor;
}

svg.svgwave {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 3em 0 0;
  overflow: visible;
}

svg.svgwave path {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1px;
}

svg.svgwave text {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  fill: currentColor;
}

.bin {
  max-width: 250px;
  margin: 2rem auto 0;
  display: block;
}

p a {
  color: currentColor;
}

.info {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0em auto 0em;
  font-size: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  align-items: flex-start;
  line-height: 1.2;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.info p {
  max-width: 500px;
}

.info div,
.info ol {
  flex: 1 1 100%;
  max-width: 500px;
  margin: 0 auto;
}

.contact {
  margin: 2rem auto;
  display: inline-block;
  padding: 1em 2em 0.85em;
  border-radius: 2em;
  background: #212121;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.contact:hover,
.contact:focus {
  background: #c9dfff;
  color: #212121;
}
