/*
  QWAKU. COMING SOON PAGE - layout only (qwaku.com, until the full website is finished).
  Colours, fonts, weights, spacing and motion come from the design system copy in ../design-system/
  (semantic names only). No new colours are set in this file.
  The one exception: the giant "Coming soon." headline is sized to the screen width (page-only size,
  bigger than the largest type token, so it reads as a poster).
*/
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg-page); color: var(--text-primary);
  font-family: var(--font-body), system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
h1, p { margin: 0; }

.soon {
  min-height: 100%; width: 100%; max-width: 1440px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--spacing-xl);
  padding: var(--spacing-l) var(--spacing-xl);
}
.soon__top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-m); }
.soon__logo { display: block; width: 160px; }
.soon__logo svg { display: block; width: 100%; height: auto; }

.soon__main {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: var(--spacing-xl);
}

/* The headline: big and bold, fills the width of the screen */
.soon__title {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: var(--font-weight-extrabold);
  font-size: clamp(var(--font-size-56), 14.5vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-left: -0.05em; /* lines the C up optically with the logo */
}
.soon__dot { color: var(--icon-brand); } /* same family as the dot in the logo */

.soon__sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--spacing-l); padding-top: var(--spacing-l);
  border-top: var(--border-width-default) solid var(--border-subtle);
}
.soon__line { max-width: 560px; }
.soon__line em { font-style: normal; color: var(--text-brand); }
.soon__lede { color: var(--text-secondary); max-width: 420px; }
.soon__foot { color: var(--text-secondary); }

/* Gentle entrance: the headline rises in once when the page opens */
@media (prefers-reduced-motion: no-preference) {
  .soon__title, .soon__sub { animation: soon-rise 900ms var(--ease-enter) both; }
  .soon__sub { animation-delay: 150ms; }
}
@keyframes soon-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Light / Dark switch shows the moon in Light and the sun in Dark */
.site-theme-toggle .site-theme-toggle__sun { display: none; }
[data-theme="dark"] .site-theme-toggle .site-theme-toggle__sun { display: block; }
[data-theme="dark"] .site-theme-toggle .site-theme-toggle__moon { display: none; }

/* Light / Dark cross-dissolve (the script uses the browser's View Transition, 500ms) */
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: var(--motion-page-change-duration, 500ms);
  animation-timing-function: var(--ease-standard);
}

.theme-fading, .theme-fading * {
  transition: background-color 500ms var(--ease-standard), color 500ms var(--ease-standard),
              border-color 500ms var(--ease-standard), fill 500ms var(--ease-standard) !important;
}

@media (max-width: 699px) {
  .soon { padding: var(--spacing-m); gap: var(--spacing-l); }
  .soon__logo { width: 128px; }
  .soon__title { font-size: 21vw; }
  .soon__sub { flex-direction: column; align-items: flex-start; }
  .soon__line { font-size: var(--font-size-24); }
}
