/* ── byilona · coming soon ───────────────────────────────────────────── */

body.home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: hidden;
}

/* ── хедър / футър ── */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bar--foot { color: #8a8a8a; }
.bar a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.bar a:hover { color: var(--accent); }

.dot {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
}

/* ── сцена ── */
.stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 3vh, 2.5rem);
}

/* Всичко под goo филтъра се слепва, когато размажем стойността. */
.goo { filter: url(#goo); }

.wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3.5rem, 17vw, 15rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  /* line-height 0.86 свива кутията под глифите; опашката на „y" излиза извън
     нея и опира чертата отдолу. Компенсираме с падинг. */
  padding-bottom: 0.16em;
  /* Буквите се анимират поотделно, затова са inline-block. */
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.wordmark span { display: inline-block; will-change: transform, opacity; }

.rotator {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.35rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule {
  width: clamp(60px, 9vw, 130px);
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ── по-малки екрани ── */
@media (max-width: 700px) {
  .bar { font-size: 0.8rem; }
  .bar--foot { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* ── уважаваме системната настройка за намалено движение ── */
@media (prefers-reduced-motion: reduce) {
  .goo { filter: none; }
  .wordmark span { opacity: 1 !important; transform: none !important; }
  .rule { transform: scaleX(1); }
}
