@font-face {
  font-family: "Excelsior LT Std";
  src: url("assets/ExcelsiorLTStd.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/*
  CUSTOMIZE THE ANIMATION HERE
  --font-size: desktop type size (responsive scaling is applied below)
  --animation-speed: time each letter stays visible; use ms or s, e.g. 100ms
*/
:root {
  --wordmark-color: #BA541F;
  --font-size: 300pt;
  --animation-speed: 100ms;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: #fff;
  overflow: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  padding: 0;
}

.letter {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--wordmark-color);
  font-family: "Excelsior LT Std", serif;
  font-size: clamp(72pt, 24vw, var(--font-size));
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: pre;
  text-align: center;
  font-kerning: none;
  user-select: none;
  /* Grid centers the same typographic box for every glyph. */
  justify-self: center;
  align-self: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
