/* The page every domain shows until it has its own site. One file for all of
   them, served by the studio server under the strictest rules: no script at
   all, fonts from the site itself, nothing from anywhere else. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #0A0908;
  color: #E8E4DF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Subtle animated grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Warm ambient glow */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.glow-1 {
  top: -200px;
  right: -100px;
  background: #C4A882;
}

.glow-2 {
  bottom: -200px;
  left: -100px;
  background: #8B6E4E;
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px;
  max-width: 600px;
}

.mark {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #C4A882, transparent);
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.3s forwards;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #F5F2EE;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.6s forwards;
}

h1 em {
  font-style: italic;
  color: #C4A882;
}

p {
  font-size: 15px;
  font-weight: 300;
  color: #8B8580;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.9s forwards;
}

.divider {
  width: 40px;
  height: 1px;
  background: #C4A882;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.2s forwards;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slow breathing pulse on the glow */
.glow-1 {
  animation: breathe 8s ease-in-out infinite;
}

.glow-2 {
  animation: breathe 8s ease-in-out 4s infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.06; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(1.1); }
}

.footnote {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4A4540;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.5s forwards;
}
.footnote a { color: #8B7A66; text-decoration: none; border-bottom: 1px solid rgba(196, 168, 130, .35); }
.footnote a:hover { color: #C4A882; }

/* Someone who asked for less motion still sees the words, not a blank page:
   everything starts invisible and fades in, so switching the fades off alone
   would leave it empty. */
@media (prefers-reduced-motion: reduce) {
  .mark, h1, p, .divider, .footnote { animation: none; opacity: 1; }
  .glow { animation: none; }
}
