:root {
  --ink: #0b1412;
  --ink-mid: #14221e;
  --foam: #c8d9cf;
  --foam-soft: rgba(200, 217, 207, 0.62);
  --jade: #6f9b86;
  --jade-bright: #8fb89f;
}

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

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

body {
  background: var(--ink);
  color: var(--foam);
  font-family: "Noto Serif SC", "Songti SC", serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(111, 155, 134, 0.22), transparent 62%),
    radial-gradient(ellipse 60% 45% at 78% 78%, rgba(40, 72, 58, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 12% 70%, rgba(24, 48, 40, 0.5), transparent 50%),
    linear-gradient(165deg, #0b1412 0%, #101c18 48%, #0a1210 100%);
  animation: breathe 14s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}

.latin {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--jade-bright);
  opacity: 0;
  animation: rise 1.1s ease 0.15s forwards;
}

.name {
  margin-top: 1.1rem;
  font-size: clamp(4.2rem, 16vw, 8.5rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--foam);
  opacity: 0;
  animation: rise 1.15s ease 0.35s forwards;
}

.line {
  margin-top: 1.75rem;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--foam-soft);
  opacity: 0;
  animation: rise 1.15s ease 0.55s forwards;
}

.links {
  margin-top: 2.75rem;
  opacity: 0;
  animation: rise 1.15s ease 0.75s forwards;
}

.links a {
  display: inline-block;
  color: var(--foam);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  border-bottom: 1px solid rgba(143, 184, 159, 0.45);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.links a:hover {
  color: var(--jade-bright);
  border-color: var(--jade-bright);
}

.foot {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(200, 217, 207, 0.35);
  opacity: 0;
  animation: rise 1s ease 1s forwards;
}

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

@keyframes breathe {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere { animation: none; }
  .latin, .name, .line, .links, .foot {
    opacity: 1;
    animation: none;
  }
}
