@font-face {
  font-family: "Hermes Intro Thin";
  src: url("./assets/hermes-intro-thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}
@font-face {
  font-family: "Hermes Intro XThin";
  src: url("./assets/hermes-intro-xthin.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: block;
}
html { scrollbar-gutter: stable; }
html.intro-playing, .intro-playing body { overflow: hidden; }
/* The real page stays painted beneath the opaque opening, ready for the dissolve. */
.intro-playing:not(.intro-revealing) .architecture-form { animation-play-state: paused; }
.site-intro {
  position: fixed; inset: 0; right: auto; width: 100vw; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: #fff; opacity: 1;
  transition: opacity 1500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-intro.is-fading { opacity: 0; }
.intro-mark {
  display: flex; flex-direction: column; align-items: center;
  opacity: 1; transition: opacity 800ms ease;
}
.is-fading .intro-mark { opacity: 0; }
.intro-word {
  position: relative; font-family: "Hermes Intro Thin", "Helvetica Neue", Arial, sans-serif;
  font-size: 44px; font-weight: 300; line-height: 1;
  letter-spacing: -0.035em; text-transform: uppercase; color: #1f292b;
  /* 35 Thin: center the glyph ink, compensating tracking and side bearings. */
  transform: translateX(-0.0315em);
}
/* Reserve the complete word so its center does not jump as each letter appears. */
.intro-word::before { content: "HERMES"; visibility: hidden; }
.intro-typed { position: absolute; left: 0; top: 0; white-space: nowrap; }
.intro-dot {
  position: absolute; bottom: 0.15em; left: calc(100% + 0.215em);
  display: inline-block; width: 0.286em; height: 0.286em;
  background: #f0643d; opacity: 0;
  transition: opacity 160ms ease;
}
.intro-dot.is-visible { opacity: 1; }
.intro-system {
  font-family: "Hermes Intro XThin", "Helvetica Neue", Arial, sans-serif;
  margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 200;
  letter-spacing: 0.35em; text-transform: uppercase; color: #000;
  /* 25 XThin: balance trailing tracking without moving the orange cursor. */
  position: relative; left: 0.1965em;
  opacity: 0; transform: translateY(7px);
  transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1), transform 1300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-system.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  /* Keep the requested dissolve, with opacity only and no sliding motion. */
  .site-intro { transition: opacity 1500ms cubic-bezier(0.4, 0, 0.2, 1) !important; }
  .intro-mark { transition: opacity 800ms ease !important; }
  .intro-system { transform: none; transition: opacity 1100ms ease !important; }
  .intro-dot { transition: opacity 160ms ease !important; }
}
