@font-face {
  font-family: "BH Tagline";
  src: url("/fonts/tagline-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #E6EDEF;
  overflow: hidden;
}

video,
.noscript-poster {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #E6EDEF;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

h1,
.caption {
  position: fixed;
  z-index: 2;
  left: 50%;
  top: 47%;
  margin: 0;
}

h1 {
  width: clamp(300px, 62vw, 1400px);
  transform: translate(-50%, -50%);
  line-height: 0;
}

h1 svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.caption {
  transform: translateX(-50%);
  padding-top: calc(0.5 * (1250 / 7544) * clamp(300px, 62vw, 1400px));
  text-align: center;
}

.tagline {
  margin: max(36px, 5.4vw) 0 0;
  font-family: "BH Tagline", Palatino, "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-synthesis: none;
  font-size: max(12px, 1.04vw);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #6A727B;
  white-space: nowrap;
}

.caption .tagline + .tagline {
  margin-top: 0.8em;
}

.tagline a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.tagline a:focus-visible {
  outline: 2px solid #142028;
  outline-offset: 3px;
}

#l-b,
#l-l,
#l-c,
#l-k,
#l-h,
#l-a2,
#l-v,
#l-e,
#l-n {
  transform-box: fill-box;
  transform-origin: center bottom;
}

@media (max-width: 599px) {
  h1 {
    width: 86vw;
  }

  .caption {
    padding-top: calc(0.5 * (1250 / 7544) * 86vw);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .veil {
    opacity: 1;
  }

  html.js #mark,
  html.js #company,
  html.js #l-b,
  html.js #l-l,
  html.js #l-c,
  html.js #l-k,
  html.js #l-h,
  html.js #l-a2,
  html.js #l-v,
  html.js #l-e,
  html.js #l-n,
  html.js .tagline span,
  html.js .tagline.home {
    opacity: 0;
  }

  html.js #l-b,
  html.js #l-l,
  html.js #l-c,
  html.js #l-k,
  html.js #l-h,
  html.js #l-a2,
  html.js #l-v,
  html.js #l-e,
  html.js #l-n {
    transform: translateY(6%);
  }

  html.js.reveal .veil {
    opacity: 0;
    transition: opacity 1.2s linear;
  }

  html.js.reveal #mark {
    opacity: 1;
    transition: opacity 0.8s ease 0.4s;
  }

  html.js.reveal #l-b,
  html.js.reveal #l-l,
  html.js.reveal #l-c,
  html.js.reveal #l-k,
  html.js.reveal #l-h,
  html.js.reveal #l-a2,
  html.js.reveal #l-v,
  html.js.reveal #l-e,
  html.js.reveal #l-n {
    opacity: 1;
    transform: translateY(0);
  }

  html.js.reveal #l-b { transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s; }
  html.js.reveal #l-l { transition: opacity 0.7s ease 0.96s, transform 0.7s ease 0.96s; }
  html.js.reveal #l-c { transition: opacity 0.7s ease 1.02s, transform 0.7s ease 1.02s; }
  html.js.reveal #l-k { transition: opacity 0.7s ease 1.08s, transform 0.7s ease 1.08s; }
  html.js.reveal #l-h { transition: opacity 0.7s ease 1.14s, transform 0.7s ease 1.14s; }
  html.js.reveal #l-a2 { transition: opacity 0.7s ease 1.2s, transform 0.7s ease 1.2s; }
  html.js.reveal #l-v { transition: opacity 0.7s ease 1.26s, transform 0.7s ease 1.26s; }
  html.js.reveal #l-e { transition: opacity 0.7s ease 1.32s, transform 0.7s ease 1.32s; }
  html.js.reveal #l-n { transition: opacity 0.7s ease 1.38s, transform 0.7s ease 1.38s; }

  html.js.reveal #company {
    opacity: 1;
    transition: opacity 0.8s ease 1.9s;
  }

  html.js.reveal .tagline span:first-child {
    opacity: 1;
    transition: opacity 0.9s ease 2.7s;
  }

  html.js.reveal .tagline span:last-child:not(:first-child) {
    opacity: 1;
    transition: opacity 0.9s ease 3.5s;
  }

  html.js.reveal .tagline.home {
    opacity: 1;
    transition: opacity 0.9s ease 3.5s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veil {
    display: none;
  }

  #mark,
  #l-b,
  #l-l,
  #l-c,
  #l-k,
  #l-h,
  #l-a2,
  #l-v,
  #l-e,
  #l-n,
  .tagline span,
  .tagline.home {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #company {
    opacity: 1;
    transition: none;
  }
}

@media (max-width: 1000px) and (min-width: 601px) {
  #company {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.4);
  }
}

@media (max-width: 600px) {
  #company {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.8);
  }
}
