/* NEO Girona · En construcció. Colors d'Apple i el daurat del club (docs/05 §16). */
@font-face {
  font-family: 'Commissioner';
  src: url('/commissioner.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #1d1d1f;
  --muted: #515154;
  --subtle: #5f5f64;
  --gold: #7d5f28;
  --gold-line: #c9a86a;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  background: radial-gradient(120% 60% at 50% 0%, #f5f5f7 0%, #ffffff 60%);
  color: var(--text);
  font-family: 'Commissioner', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  min-height: 100dvh;
  padding: 3rem 1rem;
  text-align: center;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.neo {
  font-size: 1.125rem;
  font-weight: 460;
  font-variation-settings: 'FLAR' 100;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
}

.place {
  color: var(--subtle);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.title {
  max-width: 12em;
  font-size: clamp(2.5rem, 1.3rem + 5.2vw, 5.5rem);
  font-weight: 440;
  font-variation-settings: 'FLAR' 100;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.word {
  display: inline-block;
}

.rule {
  width: 3rem;
  height: 1px;
  margin-block: 0.75rem;
  background: var(--gold-line);
}

.status {
  color: var(--gold);
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem);
  line-height: 1.4;
}

.langs {
  display: grid;
  gap: 0.35rem;
  margin-top: 2.5rem;
  padding: 0;
  color: var(--subtle);
  font-size: 0.875rem;
  list-style: none;
}

@media (prefers-reduced-motion: no-preference) {
  .word {
    animation: word-in 0.8s cubic-bezier(0.44, 0, 0.56, 1) 0.2s both;
  }

  .word:nth-child(2) { animation-delay: 0.32s; }
  .word:nth-child(3) { animation-delay: 0.44s; }
  .word:nth-child(4) { animation-delay: 0.56s; }
  .word:nth-child(5) { animation-delay: 0.68s; }

  .rule,
  .status,
  .lead,
  .langs {
    animation: fade-in 0.9s cubic-bezier(0.23, 1, 0.32, 1) 1s both;
  }
}

@keyframes word-in {
  from {
    opacity: 0.001;
    filter: blur(3px);
    transform: translateY(2px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
