:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #dedede;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body {
  overscroll-behavior: none;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.ascii {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  pointer-events: none;
  user-select: none;
}

.scene-source {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.brand-lockup {
  position: fixed;
  z-index: 1;
  top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 2vw, 36px));
  left: calc(env(safe-area-inset-left, 0px) + clamp(18px, 2vw, 36px));
  right: calc(env(safe-area-inset-right, 0px) + clamp(18px, 2vw, 36px));
  width: max-content;
  max-width: calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px) - clamp(36px, 4vw, 72px));
  color: #f4f4f4;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  user-select: none;
}

.brand-lockup.is-visible {
  opacity: 0.98;
}

.brand-lockup__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 600;
  line-height: 0.9;
  text-shadow:
    -1px -1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px 1px 0 var(--ink),
    1px 1px 0 var(--ink);
}

.brand-lockup__descriptor {
  margin-top: 7px;
  padding-left: 0.12em;
  font-family: var(--mono);
  font-size: clamp(12px, 0.72vw, 14px);
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1;
  text-shadow:
    -1px -1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px 1px 0 var(--ink),
    1px 1px 0 var(--ink);
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  .brand-lockup {
    transition: none;
  }
}
