/* ==========================================================================
   Fulgas Fringale — temporary "coming soon" page.
   Builds on site.css (fonts, colours, video frame). Only koningsblauw and peach.
   ========================================================================== */

.soon__hero {
  justify-content: center;
  align-items: center;
  padding-top: 0;
  text-align: center;
}

/* Legibility: the koningsblauw logo and line sit on a soft peach glow, strongest in the middle
   (blue on peach, an approved brand pair; hero.shade in content.js, 0 = off). The brand guide asks
   not to put the colour logo on busy pictures, so calm footage works best here. */
.soon .hero__media::after {
  top: 0;
  height: 100%;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, var(--peach) 0%, rgba(243, 180, 143, 0.6) 45%, rgba(243, 180, 143, 0) 100%);
}

.soon__center {
  position: relative;
  z-index: 2;
  width: 100%;
}

.soon__word {
  margin: 0 auto;
  line-height: 0;
}
/* Big: as wide as the screen allows, the logo's own clear space (4.55% each side) falls in the gutters */
.soon__word img {
  width: min(calc(100% * var(--word-box)), 150vh, 82rem);
  max-width: none;
  height: auto;
  margin: 0 auto;
  margin-left: 50%;
  transform: translateX(-50%);
}

.soon__line {
  max-width: 36em;
  margin: clamp(0.5rem, 2vh, 1.5rem) auto 0;
  color: var(--blue);
  font-size: clamp(0.8rem, 0.55rem + 1.1vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
}

.soon__foot {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 3rem;
  /* A soft peach band so the blue copyright line and button stay legible on any footage */
  background: linear-gradient(to top, rgba(243, 180, 143, 0.85) 0%, rgba(243, 180, 143, 0.5) 45%, rgba(243, 180, 143, 0) 100%);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* One moment of motion: the signature is written from left to right, then the line appears */
@media (prefers-reduced-motion: no-preference) {
  .soon__word img {
    animation: soon-sign 1.6s cubic-bezier(0.55, 0, 0.25, 1) 0.2s both;
  }
  .soon__line {
    animation: soon-fade 0.8s ease 1.6s both;
  }
  @keyframes soon-sign {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes soon-fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* Copyright line bottom left, small and quiet; the pause button bottom right */
.soon__rights {
  margin: 0;
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.soon__foot button {
  margin-left: auto;
}

/* The pause button in blue, like the logo and the line */
.soon__foot button {
  color: var(--blue);
}
