/* Wazalead · coming soon. One idea: among many quiet signals, one lights up. */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Fond noir (choix d'Anthony, 07/11) : un seul thème. */
  --ground: #0b0c0f;
  --ink: #f1f3f6;
  --muted: #9aa3b0;
  --tick: #2b313b;
  --hue: #5b93ea;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ground);
  color: var(--ink);
  font: 400 15px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--hue); outline-offset: 4px; border-radius: 4px; }

.bar, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--gutter);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.mark svg { fill: var(--ink); }
.mark svg .lit { fill: var(--hue); }
.contact, .foot a { color: var(--muted); transition: color 120ms ease; }
.contact:hover, .foot a:hover { color: var(--ink); }
.contact { font-size: 14px; }

/* The stage: a wordmark set big, left-aligned on the grid, resting on a row of signals. */
.stage {
  align-self: center;
  padding: 0 var(--gutter);
  width: 100%;
}
.word {
  margin: 0;
  font-weight: 620;
  /* Set to span the grid from gutter to gutter: the name is the page. */
  font-size: clamp(64px, 21.2vw, 340px);
  line-height: 0.84;
  letter-spacing: -0.058em;
  margin-left: -0.045em; /* optical alignment of the W with the gutter */
  white-space: nowrap;
}
/* A row of quiet signals; one of them is the account that matters. */
.signal {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: clamp(44px, 6.5vw, 88px);
  margin-top: clamp(28px, 3.6vw, 52px);
}
.signal span {
  display: block;
  width: 2px;
  height: var(--h);
  background: var(--tick);
  border-radius: 1px;
}
.signal .lit {
  width: 3px;
  background: var(--hue);
  transform-origin: bottom;
  animation: rise 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 350ms both;
}
@keyframes rise { from { transform: scaleY(0.24); } to { transform: scaleY(1); } }

.soon {
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 450;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.foot { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .signal span:nth-child(even):not(.lit) { display: none; }
  .contact { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .signal .lit { animation: none; }
}

/* Legal notice: plain reading page on the same grid. */
.legal { padding: 24px var(--gutter) 64px; max-width: 72ch; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; margin: 24px 0 4px; }
.legal .lang { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 15px; font-weight: 600; margin: 28px 0 6px; }
.legal p { margin: 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
