/* MYNDWURM — coming soon landing */

:root {
  --bg-0: #0a0806;
  --bg-1: #140f0b;
  --ink: #f3ecdd;
  --ink-dim: rgba(243, 236, 221, 0.56);
  --ink-fade: rgba(243, 236, 221, 0.32);
  --accent: #b45a1e;
  --blood: #9c2318;
}

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

html, body {
  min-height: 100vh;
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(180, 90, 30, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(156, 35, 24, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 1.2s ease-out;
  position: relative;
}


body.loaded { opacity: 1; }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.92 0 0 0 0 0.84 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Stage: center column */
.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 120px;
  gap: 28px;
  text-align: center;
}

.symbol-mark {
  width: clamp(80px, 10vw, 140px);
  margin-bottom: 8px;
  opacity: 0.86;
  transform: translateZ(0);
}
.symbol-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(0,0,0,0.6));
}

.wordmark {
  width: 100%;
  max-width: 1200px;
  padding: 0 12px;
}
.wordmark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}

.hero-symbol {
  width: clamp(260px, 32vw, 460px);
  margin-bottom: -40px;
}
.wordmark { margin-top: -20px; }
.hero-symbol img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6));
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.88;
  margin-top: 4px;
}
.tag .dot { opacity: 0.4; letter-spacing: 0; }

.blurb {
  max-width: 680px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 8px auto 0;
}

.call {
  max-width: 560px;
  font-family: 'EB Garamond', serif;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.92;
  margin: 18px auto 0;
}
.call a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 90, 30, 0.5);
  transition: color .2s, border-color .2s;
}
.call a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.links a {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink-fade);
  transition: color .2s, border-color .2s;
}
.links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.links .sep { color: var(--ink-fade); }

/* Footer */
.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-fade);
  padding: 0 24px;
}
.foot a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.foot .sep { opacity: 0.6; }

@media (max-width: 640px) {
  .stage { padding: 32px 20px 100px; gap: 22px; }
  .tag { letter-spacing: 0.32em; }
  .blurb { font-size: 16px; }
  .links { flex-wrap: wrap; row-gap: 8px; font-size: 13px; }
  .foot { font-size: 11px; position: static; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1 !important; transition: none; }
}
