:root {
  --frame-x: 4.64vw;
  --content-x: 21.1vw;
  --center-width: 40.45vw;
  --copy-width: 52.2vw;
  --logo-width: 11.399vw;
  --mark-x: 82.35vw;
  --mark-width: 5.15vw;
  --mark-height: 3.19vw;
  --email-x: 69.73vw;
  --wa-x: 89.35vw;
  --headline-size: 1.9792vw;
  --body-size: 1.15vw;
  --copy-size: 1.15vw;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: #090d12;
  color: #fff;
  font-family: 'AficalStd-Medium', 'Helvetica Neue', Arial, sans-serif;
}

a {
  color: inherit;
}

.bg,
.stage {
  position: fixed;
  inset: 0;
}

.bg {
  z-index: 0;
}

.bg--image {
  background: url('../images/videoframe_0.png') center / cover no-repeat;
  filter: saturate(1.18) contrast(1.08) brightness(0.95);
}

.bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.stage {
  z-index: 1;
}

.strip {
  position: relative;
  width: 100%;
  height: 100%;
}

.bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  padding: 0 var(--frame-x);
  transform: translateY(-50%);
}

.bar__logo {
  position: absolute;
  left: var(--frame-x);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.bar__logo img {
  display: block;
  width: var(--logo-width);
  height: auto;
}

.bar__center {
  position: absolute;
  left: var(--content-x);
  top: 50%;
  width: var(--center-width);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bar__headline-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bar__headline-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 10px;
}

.bar__tagline {
  display: block;
  font-size: var(--headline-size);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

.bar__actions {
  position: absolute;
  left: var(--email-x);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.bar__email,
.bar__mark,
.bar__wa {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bar__email,
.bar__wa {
  font-size: var(--body-size);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.bar__email {
  left: 0;
}

.bar__mark {
  left: calc(var(--mark-x) - var(--email-x));
  width: var(--mark-width);
  height: var(--mark-height);
}

.bar__mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bar__wa {
  left: calc(var(--wa-x) - var(--email-x));
}

.bar__email:hover,
.bar__wa:hover {
  opacity: 0.72;
}

.copy {
  position: absolute;
  left: 0;
  width: var(--copy-width);
  font-size: var(--copy-size);
  line-height: 1.375vw;
  color: #fff;
  letter-spacing: -0.01em;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 320ms var(--ease-out);
}

.copy--top {
  bottom: calc(100% + 4.35vw);
  transform: translateY(-0.84vw);
}

.copy--bottom {
  top: calc(100% + 4.05vw);
  transform: translateY(0.84vw);
}

.copy .kicker {
  display: block;
  margin-top: 1.81vw;
}

.strip.is-hover .copy--top,
.strip.is-open .copy--top,
.strip.is-hover .copy--bottom,
.strip.is-open .copy--bottom {
  opacity: 1;
}

.strip.is-hover .copy--top,
.strip.is-open .copy--top {
  transform: translateY(0);
}

.strip.is-hover .copy--bottom,
.strip.is-open .copy--bottom {
  transform: translateY(0);
}



@media (max-width: 1024px) {

  html,
  body {
    height: 100%;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .bg,
  .stage {
    position: fixed;
    min-height: 100svh;
  }

  .stage,
  .strip,
  .bar {
    width: 100vw;
    min-height: 100svh;
  }

  .strip {
    height: 100svh;
  }

  .bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-items: center;
    padding: 3.4vw 4vw calc(3.8vw + env(safe-area-inset-bottom));
    transform: none;
  }

  .bar__logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
  }

  .bar__logo img {
    width: min(24vw, 220px);
  }

  .bar__center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(68vw, 680px);
    max-width: min(68vw, 680px);
    min-width: 0;
    height: min(50vh, 420px);
    min-height: 300px;
    margin: 0;
    align-self: center;
    overflow: hidden;
  }

  .bar__headline-trigger {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(58vw, 540px);
    max-width: min(58vw, 540px);
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .bar__tagline {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.02;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .bar__actions {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    transform: none;
    width: min(78vw, 760px);
    max-width: min(78vw, 760px);
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-self: center;
    text-align: left;
    column-gap: clamp(28px, 5vw, 64px);
    align-self: end;
  }

  .bar__mark {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: clamp(64px, 7vw, 84px);
    height: auto;
    justify-self: center;
  }

  .bar__email,
  .bar__wa {
    min-width: 0;
    position: relative;
    top: auto;
    font-size: clamp(14px, 1.45vw, 18px);
    transform: none;
    left: auto;
  }

  .bar__email {
    justify-self: start;
    margin: 0;
  }

  .bar__wa {
    justify-self: end;
    margin-left: 0;
    text-align: right;
  }

  .copy {
    position: absolute;
    left: 50%;
    top: auto;
    width: min(58vw, 560px);
    max-width: min(58vw, 560px);
    padding: 0;
    font-size: clamp(11px, 1vw, 13px);
    line-height: 1.28;
    overflow-wrap: break-word;
    word-break: break-word;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
    transition:
      opacity 240ms ease,
      max-height 360ms var(--ease-out);
  }

  .copy--top {
    bottom: calc(50% + clamp(20px, 2vw, 28px));
  }

  .copy--bottom {
    top: calc(50% + clamp(20px, 2vw, 28px));
  }

  .copy .kicker {
    margin-top: clamp(14px, 1.6vw, 20px);
  }

  .strip.is-hover .copy,
  .strip.is-open .copy {
    opacity: 1;
  }

  .strip.is-hover .copy--top,
  .strip.is-open .copy--top {
    max-height: min(17vh, 190px);
    transform: translate(-50%, 0%);
  }

  .strip.is-hover .copy--bottom,
  .strip.is-open .copy--bottom {
    max-height: min(22vh, 250px);
    transform: translate(-50%, 0%);
  }

  .copy__break {
    display: none;
  }
}

@media (max-width: 900px) {

  .bar {
    padding: 5vw 6vw calc(5.5vw + env(safe-area-inset-bottom));
  }

  .bar__logo img {
    width: min(48vw, 220px);
  }

  .bar__center {
    width: 50vw;
    max-width: 50vw;
    height: 58vh;
    min-height: 55vh;
  }

  .bar__headline-trigger {
    width: 50vw;
    max-width: 50vw;
  }

  .bar__tagline {
    font-size: clamp(20px, 4.6vw, 28px);
  }

  .bar__actions {
    width: calc(100vw - 12vw);
    max-width: calc(100vw - 12vw);
    grid-template-columns: 1fr 1fr;
    column-gap: 4vw;
  }

  .bar__mark {
    /* display: none; */
  }

  .bar__email,
  .bar__wa {
    font-size: clamp(13px, 2.75vw, 17px);
  }

  .copy {
    width: 50vw;
    max-width: 57vw;
    font-size: 2.5vw;
    line-height: 3.28vw;
    left: 0;
  }

  .copy--top {
    bottom: calc(50% + 3.5vw);
    padding-bottom: 7vw;
  }

  .copy--bottom {
    top: calc(50% + 3.5vw);
    padding-top: 7vw;
  }

  .strip.is-hover .copy--top,
  .strip.is-open .copy--top {
    max-height: 50vh;
  }

  .strip.is-hover .copy--bottom,
  .strip.is-open .copy--bottom {
    max-height: 22vh;

  }

  .copy {
    transform: translate(-50%, 0%);
    left: 50%;
    overflow: hidden;
  }

  .bar__actions {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 4vw;
  }

}

@media (max-width: 620px) {

  .bar__center {
    width: min(84vw, 312px);
    max-width: min(84vw, 312px);
    height: 63vh;
    min-height: 50vh;
  }

  .bar__headline-trigger {
    width: min(76vw, 312px);
    max-width: min(76vw, 312px);
  }

  .bar__actions {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 4vw;
  }

  .bar__mark {
    display: block;
    width: 12vw;
    max-width: 56px;
  }

  .copy {
    width: min(76vw, 312px);
    max-width: min(76vw, 312px);
    font-size: clamp(13px, 2.9vw, 16px);
    line-height: 1.28;
    left: 0;
    transform: translate(-50%, 0%);
    left: 50%;
    /* padding: 7vw 0; */
  }

  .strip.is-hover .copy--top,
  .strip.is-open .copy--top {
    max-height: 50vh;
  }

  .strip.is-hover .copy--bottom,
  .strip.is-open .copy--bottom {
    max-height: 28vh;
  }
}

.bg:after {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/layer_mask.png);
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  content: '';
}

;