:root {
  --cream: #eee0cd;
  --gold: #ffcc85;
  --amber: #eba957;
  --terracotta: #b45625;
  --espresso: #4a2926;
  --white: #ffffff;
  --display: "amandine", "Palatino Linotype", Palatino, serif;
  --sans: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  background-color: var(--espresso);
  background-image: url("assets/fond/istock-2227616731.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

::selection {
  background: var(--espresso);
  color: var(--cream);
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(74, 41, 38, 0.12) 0%,
    rgba(74, 41, 38, 0.06) 40%,
    rgba(74, 41, 38, 0.22) 100%
  );
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 1.5rem 5.5rem;
}

.logo {
  display: block;
  width: min(200px, 42vw);
  height: auto;
  margin-bottom: 2.8rem;
  filter: drop-shadow(0 8px 24px rgba(74, 41, 38, 0.18));
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) both, breathe 5.6s 1.6s ease-in-out infinite;
}

.headline {
  margin: 0 0 1.15rem;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 5.8vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(74, 41, 38, 0.22);
  animation: rise 1.4s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lede {
  margin: 0 0 2.4rem;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  animation: rise 1.4s 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.disciplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  animation: rise 1.4s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.disciplines li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.disciplines li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 0.95rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.colophon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  z-index: 1;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  animation: rise 1.4s 0.66s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@media (max-height: 700px) {
  .stage {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .logo {
    width: min(160px, 36vw);
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 640px) {
  .stage {
    padding: 5rem 1.35rem 5rem;
  }

  .logo {
    width: min(156px, 44vw);
    margin-bottom: 2.2rem;
  }

  .headline {
    max-width: 12ch;
  }

  .lede {
    margin-bottom: 2rem;
  }

  .disciplines {
    flex-direction: column;
    gap: 0.65rem;
    letter-spacing: 0.18em;
  }

  .disciplines li:not(:last-child)::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .headline,
  .lede,
  .disciplines,
  .colophon {
    animation: none;
  }
}
