@font-face {
  font-family: "URW Antiqua Cond";
  src: url("fonts/urwantiquacon-reg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1d1d1d;
  --label: #ffffff;
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--label);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow: hidden;
  display: grid;
  place-items: center;
}

.frame {
  width: min(100vw, calc(100vh * 1920 / 1080));
  height: min(100vh, calc(100vw * 1080 / 1920));
  overflow: hidden;
  display: grid;
  place-items: stretch;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  container-type: size;
}

.wordmark {
  position: absolute;
  left: calc(54 * 100% / 1920);
  top: calc(848 * 100% / 1080);
  width: calc(1181 * 100% / 1920);
  height: calc(177 * 100% / 1080);
  margin: 0;
  overflow: hidden;
}

.wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0.801729;
}

.labels,
.mail {
  position: absolute;
  margin: 0;
  padding: 0;
  font-family: "URW Antiqua Cond", serif;
  font-weight: 400;
  font-style: normal;
  color: var(--label);
  opacity: 0.802876;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.labels {
  left: calc(1264 * 100% / 1920);
  top: calc(889 * 100% / 1080);
  font-size: calc(18 * 100cqw / 1920);
  line-height: calc(30 * 100cqw / 1920);
  text-align: left;
  text-transform: none;
}

.mail {
  left: calc(1636 * 100% / 1920);
  top: calc(77 * 100% / 1080);
  font-size: calc(15 * 100cqw / 1920);
  line-height: calc(20 * 100cqw / 1920);
  text-transform: uppercase;
  text-decoration: none;
}

.mail:link,
.mail:visited,
.mail:hover,
.mail:focus-visible {
  color: var(--label);
}

.mail:hover,
.mail:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 767px) {
  html,
  body {
    display: block;
    place-items: unset;
    overflow: hidden;
    width: 100%;
    height: 100%;
    height: 100svh;
    --u: calc(100vw / 430);
  }

  .frame {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100svh;
    overflow: hidden;
  }

  .mail {
    left: auto;
    right: calc(37.56 * var(--u));
    top: calc(50 * var(--u));
    font-size: calc(12 * var(--u));
    line-height: calc(20 * var(--u));
  }

  .wordmark {
    left: calc(-22 * var(--u));
    top: auto;
    width: calc(474 * var(--u));
    height: calc(175 * var(--u));
    bottom: calc(89 * var(--u));
    overflow: hidden;
  }

  .wordmark img {
    opacity: 1;
    mix-blend-mode: lighten;
    object-position: center;
  }

  .labels {
    left: calc(52 * var(--u));
    top: auto;
    bottom: calc(38 * var(--u));
    font-size: calc(15 * var(--u));
    line-height: calc(20 * var(--u));
  }
}
