/* ==========================================================================
   Coming Soon — "(01) Brewing sooooooon." in the BiCafe brand theme:
   black ground, white type, red asterisk and plus marks. Tokens in theme.css.
   ========================================================================== */

.soon {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100svh;
  padding: 1.8rem var(--gutter) 1.6rem var(--gutter);
  overflow: hidden;
  isolation: isolate;
  /* The guidelines' "one gradient, top to bottom": Noir Black fading into Deep Maroon */
  background: linear-gradient(180deg, var(--noir) 0%, var(--noir) 38%, #22060A 66%, #4A0810 86%, var(--maroon) 100%);
}

/* A soft BiCafe Red glow rising from the bottom edge, breathing slowly */
.soon::after {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -38%;
  z-index: -1;
  height: 75%;
  background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(200, 16, 46, 0.5) 0%, rgba(200, 16, 46, 0.12) 55%, transparent 75%);
  pointer-events: none;
  animation: glow 9s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* Red plus marks pin the four corners of the frame */
.soon-plus {
  position: absolute;
  color: var(--red);
  font-family: var(--font-label);
  font-size: 1rem;
  line-height: 1;
}

.soon-plus--tl { top: 4.6rem; left: calc(var(--gutter) - 0.3rem); }
.soon-plus--tr { top: 4.6rem; right: calc(var(--gutter) - 0.3rem); }
.soon-plus--bl { bottom: 4.6rem; left: calc(var(--gutter) - 0.3rem); }
.soon-plus--br { bottom: 4.6rem; right: calc(var(--gutter) - 0.3rem); }

/* Top row */
.soon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  animation: fadeIn 1.2s var(--ease) 0.2s backwards;
}

.soon-logo {
  display: flex;
  align-items: flex-start;
}

.soon-logo img {
  height: 1.2rem;
  width: auto;
}

.soon-logo .ast {
  margin: -0.4rem 0 0 0.15rem;
  font-size: 1rem;
  line-height: 1;
}

/* Headline */
.soon-main {
  align-self: end;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.soon-title {
  font-family: 'Inter', var(--font-head); /* Inter's tighter fit keeps "sooooooon." on one line */
  font-size: clamp(3.8rem, 16.5vw, 18rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.soon-title > span {
  display: block;
  white-space: nowrap; /* the asterisk never drops to its own line */
}

.soon-title > span:first-child {
  animation: rise 1s var(--ease) 0.45s backwards;
}

/* "sooooooon." — the o's pop in one by one, so the word stretches as it loads */
.soon-title .stretch i,
.soon-title .stretch b {
  display: inline-block;
  font-style: normal;
  font-weight: inherit;
  animation: rise 0.7s var(--ease) backwards;
}

.soon-title .stretch i:nth-child(1) { animation-delay: 0.60s; }
.soon-title .stretch i:nth-child(2) { animation-delay: 0.68s; }
.soon-title .stretch i:nth-child(3) { animation-delay: 0.76s; }
.soon-title .stretch i:nth-child(4) { animation-delay: 0.84s; }
.soon-title .stretch i:nth-child(5) { animation-delay: 0.92s; }
.soon-title .stretch i:nth-child(6) { animation-delay: 1.00s; }
.soon-title .stretch i:nth-child(7) { animation-delay: 1.08s; }
.soon-title .stretch i:nth-child(8) { animation-delay: 1.16s; }

/* The red asterisk lands last, raised like a footnote mark */
.soon-title .stretch b {
  font-size: 0.42em;
  vertical-align: 0.95em;
  margin-left: 0.04em;
  letter-spacing: 0;
  animation-delay: 1.35s;
}

/* Location */
.soon-place {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(2.5rem, 8vh, 5.5rem);
  animation: fadeIn 1.2s var(--ease) 1.2s backwards;
}

.soon-place small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Bottom rule */
.soon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  animation: fadeIn 1.2s var(--ease) 1.4s backwards;
}

.soon-handle {
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  transition: color 0.2s ease;
}

.soon-handle:hover {
  color: var(--red);
}

/* Phones */
@media (max-width: 640px) {
  .soon {
    padding-top: 1.3rem;
  }
  .soon-coords {
    display: none;
  }
  .soon-logo img {
    height: 1rem;
  }
  .soon-plus--tl,
  .soon-plus--tr {
    top: 3.8rem;
  }
  .soon-title {
    font-size: 15.8vw;
  }
  .soon-foot .tagline {
    letter-spacing: 0.35em;
  }
}
