/* ─────────────────────────────────────────────
   centtrois.ca: landing page
   Pixelated point-break clip behind everything, slowed to 18%.
   Just the name and three words on top.
   ───────────────────────────────────────────── */

.page-home {
  height: 100vh; height: 100dvh;
  overflow: hidden;
  background: #000;
}

/* ── Name + three words ── */
.landing {
  flex: 1;
  max-width: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(1.2rem, 3vh, 2rem);
  padding: 2rem;
  text-align: center;
  animation: landing-in .9s ease-out both;
}
@keyframes landing-in { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
.landing-title {
  font-size: clamp(3rem, 11vw, 8rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.landing-title span { color: var(--accent); }
.landing-nav { display: flex; gap: clamp(1.8rem, 6vw, 4.5rem); }
.landing-nav a {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  letter-spacing: .1em;
  text-transform: lowercase;
  color: rgba(240,230,216,.75);
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
  padding-bottom: .2rem;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  transition: color .3s, background-size .3s;
}
.landing-nav a:hover { color: var(--text); background-size: 100% 1px; }
.landing-lang {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(1.2rem + env(safe-area-inset-bottom));
  border-color: transparent;
}

/* Name stays in the page for search engines + screen readers, just not visible */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "103" in water, above the three words (drawn by ripple.js) */
.tag {
  position: fixed;
  left: 50%; top: 50%;
  z-index: 0;
  width: min(86vw, 691px);              /* +8% */
  aspect-ratio: 1.9 / 1;
  transform: translate(-50%, -62%);      /* lifted a bit above centre */
  pointer-events: none;
  opacity: 0;
}
.tag.ready { animation: tag-in 1.4s ease-out both; }
@keyframes tag-in { from { opacity: 0; } to { opacity: .9; } }
.landing { position: relative; z-index: 1; }

/* debug: centtrois.ca/#still shows the finished state with no animation */
.still *, .still *::before, .still *::after { animation-duration: 0s !important; animation-delay: 0s !important; }
.still .tag { opacity: .9; }

/* Links sit about two-thirds of the way down */
.landing-nav {
  position: fixed;
  left: 50%; top: 66.6%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
