:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --terracotta: #98563f;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; color: #282721; background: var(--paper); }
.entrance {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.entrance-content {
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(44px, 8vh, 76px);
}
.entrance-logo {
  position: relative;
  margin: 0;
  width: 100%;
  line-height: 0;
}
.entrance-logo svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 790 / 85;
  overflow: hidden;
}
.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 166px;
  min-height: 54px;
  padding: 16px 24px;
  border: 1px solid var(--terracotta);
  border-radius: 2px;
  color: var(--terracotta);
  text-decoration: none;
  font: 500 13px/1.4 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .19em;
  transition: background-color .2s ease, color .2s ease;
}
.enter-button span { font-size: 18px; line-height: 1; letter-spacing: 0; }
.enter-button:hover { background: var(--terracotta); color: var(--paper); }
.enter-button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 6px; }
@media (max-width: 600px) {
  .entrance { padding: 32px 22px; }
  .entrance-content { gap: 52px; }
  .enter-button { min-width: 154px; }
}
@media (prefers-reduced-motion: no-preference) {
  .entrance-logo.is-typing svg {
    clip-path: inset(0 calc(100% - var(--typed-width, 100%)) 0 0);
  }
  .entrance-logo.is-typing::after {
    content: "";
    position: absolute;
    left: var(--typed-width, 100%);
    top: 11%;
    bottom: 13%;
    width: clamp(1px, .18vw, 2px);
    background: var(--terracotta);
    pointer-events: none;
    animation: typing-cursor .65s steps(1, end) infinite;
  }
  @keyframes typing-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .enter-button { transition: none; }
}
