@font-face {
  font-family: "Staur";
  src: url("../fonts/Staur-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --staur-bg: #0a0a0a;
  --staur-text: #f4f3ef;
  --edge: clamp(24px, 3.333vw, 64px);
  --wordmark-width: clamp(96px, 7.5vw, 132px);
  --headline-size: clamp(88px, 10vw, 176px);
  --headline-leading: 0.91;
  --headline-measure: 8.05em;
  --bottom-edge: var(--edge);
}

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

html {
  min-height: 100%;
  background: var(--staur-bg);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--staur-bg);
  color: var(--staur-text);
  font-family: "Staur", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

.staur-field {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100svh;
  max-height: 100dvh;
  overflow: hidden;
  padding: var(--edge);
  padding-block-end: var(--bottom-edge);
  background: var(--staur-bg);
}

.staur-datum {
  color: var(--staur-text);
}

.staur-wordmark {
  display: block;
  width: var(--wordmark-width);
  height: auto;
}

.frontiers {
  align-self: end;
  max-width: min(100%, var(--headline-measure));
  margin: 0;
  color: var(--staur-text);
  font-family: "Staur", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--headline-size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--headline-leading);
}

.frontiers span {
  display: inline;
}

.frontiers span:last-child {
  display: block;
}

@media (min-width: 1680px) {
  :root {
    --headline-size: clamp(160px, 8.9vw, 180px);
  }
}

@media (max-width: 900px) {
  :root {
    --edge: clamp(22px, 5.8vw, 32px);
    --wordmark-width: clamp(90px, 22vw, 104px);
    --headline-size: clamp(72px, 11.2vw, 96px);
    --headline-leading: 0.92;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  :root {
    --headline-size: clamp(54px, 14vw, 60px);
    --headline-leading: 0.94;
    --bottom-edge: clamp(50px, 7svh, 68px);
  }

  .frontiers span {
    display: block;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  :root {
    --headline-size: clamp(104px, 9.4vw, 142px);
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  :root {
    --edge: clamp(24px, 3.2vw, 28px);
    --wordmark-width: 96px;
    --headline-size: clamp(72px, 11.4vw, 96px);
    --headline-leading: 0.9;
  }
}
