:root {
  --bg: #0b0709;
  --bg-2: #140c10;
  --ink: #e9dfd6;
  --muted: #a8988c;
  --blood: #9e1b2b;
  --blood-bright: #c8283c;
  --gold: #c9a35a;
  --line: rgba(201, 163, 90, 0.25);
  --display: "Cinzel Decorative", "Times New Roman", serif;
  --body: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(158, 27, 43, 0.28), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: 0.03em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 16px;
  background: rgba(11, 7, 9, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.mask { width: 40px; height: 18px; fill: var(--blood); }
.mask .eye { fill: var(--bg); }
.nav nav { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a { text-decoration: none; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 16px 5rem;
}
.moon {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: min(70vw, 420px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, rgba(233, 223, 214, 0.18), rgba(158, 27, 43, 0.15) 55%, transparent 70%);
  filter: blur(2px); pointer-events: none;
}
.eyebrow { position: relative; color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.85rem; margin: 0 0 1.2rem; }
.hero h1 { position: relative; font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1.1; text-shadow: 0 0 30px rgba(158, 27, 43, 0.6); }
.tagline { position: relative; font-family: var(--display); color: var(--blood-bright); font-size: clamp(1.1rem, 3.5vw, 1.6rem); margin: 1.2rem 0 0.4rem; }
.lede { position: relative; max-width: 34rem; color: var(--muted); font-style: italic; margin: 0.5rem auto 2rem; }

.actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; position: relative; }
.btn {
  display: inline-block; padding: 0.75rem 1.6rem; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.06em;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn.primary { background: var(--blood); border-color: var(--blood); color: var(--ink); }
.btn.primary:hover { background: var(--blood-bright); border-color: var(--blood-bright); color: #fff; }

/* Sections */
.section-title { text-align: center; color: var(--gold); font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 1.5rem; }
.section-title::after { content: "✦"; display: block; color: var(--blood); font-size: 0.9rem; margin-top: 0.6rem; }
.center { text-align: center; }
.panel, .cards { max-width: 1000px; margin: 0 auto; padding: 5rem 16px; border-top: 1px solid var(--line); }
.panel > p.center { max-width: 38rem; margin-left: auto; margin-right: auto; color: var(--muted); }

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  display: block; text-decoration: none; padding: 2rem 1.5rem; text-align: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--blood); box-shadow: 0 10px 30px rgba(158, 27, 43, 0.25); }
.sigil { display: block; font-size: 1.8rem; color: var(--blood-bright); margin-bottom: 0.6rem; }
.card h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin: 0 0 1rem; }
.more { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.05em; }

/* Events */
.rites { list-style: none; padding: 0; margin: 2.5rem auto; max-width: 40rem; display: grid; gap: 1.5rem; }
.rites li { display: flex; gap: 1.2rem; align-items: flex-start; }
.rites span { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--blood); color: var(--blood-bright); font-family: var(--display); }
.rites h3 { font-size: 1.15rem; color: var(--ink); }
.rites p { margin: 0.2rem 0 0; color: var(--muted); }

/* Gallery */
.frames { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 2rem; }
.frame { aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; }
.frame::after { content: "☾"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(201, 163, 90, 0.25); font-size: 2rem; }
.f1 { background: radial-gradient(circle at 30% 30%, rgba(158,27,43,.35), var(--bg-2) 70%); }
.f2 { background: radial-gradient(circle at 70% 40%, rgba(201,163,90,.18), var(--bg-2) 70%); }
.f3 { background: radial-gradient(circle at 50% 70%, rgba(158,27,43,.25), var(--bg-2) 70%); }
.f4 { background: radial-gradient(circle at 20% 80%, rgba(201,163,90,.15), var(--bg-2) 70%); }
.f5 { background: radial-gradient(circle at 60% 20%, rgba(158,27,43,.3), var(--bg-2) 70%); }
.f6 { background: radial-gradient(circle at 80% 70%, rgba(201,163,90,.2), var(--bg-2) 70%); }

/* Lore */
.lore p { max-width: 40rem; margin: 0 auto 1.2rem; }
.dropcap::first-letter { float: left; font-family: var(--display); font-size: 3.6rem; line-height: 0.9; padding: 0.3rem 0.5rem 0 0; color: var(--blood-bright); }

/* Invite */
.invite { text-align: center; }
.soon { font-family: var(--display); color: var(--gold) !important; letter-spacing: 0.08em; }

/* Footer */
footer { border-top: 1px solid var(--line); text-align: center; padding: 3rem 16px 2.5rem; color: var(--muted); }
.motto { font-family: var(--display); color: var(--gold); margin: 0 0 1rem; }
blockquote { font-style: italic; max-width: 32rem; margin: 0 auto 1.5rem; }
.copy { font-size: 0.95rem; margin: 0; }

@media (max-width: 560px) {
  .nav { flex-direction: column; gap: 0.4rem; }
  .nav nav { justify-content: center; gap: 0.9rem; }
  .nav nav a { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
