@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:wght@400;600&family=Work+Sans:wght@300;400;600&display=swap");

:root {
  --emerald-900: #0b1f18;
  --emerald-800: #0e3b2e;
  --emerald-700: #1b4f3e;
  --moss-600: #556b3d;
  --moss-500: #6f7f4a;
  --fern-400: #879b5b;
  --gold-400: #c2a86c;
  --sand-200: #e7efe8;
  --mist-100: #f4f8f3;
  --ink-900: #0f1712;

  --shadow-soft: 0 22px 45px rgba(10, 30, 20, 0.28);
  --shadow-hard: 0 10px 24px rgba(10, 30, 20, 0.45);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--mist-100);
  background: var(--emerald-900);
  min-height: 100vh;
  position: relative;
}

a {
  color: var(--gold-400);
}

a:hover {
  color: #e3c889;
}

.backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 10% 20%, rgba(111, 127, 74, 0.35), transparent 60%),
    radial-gradient(900px 700px at 85% 15%, rgba(194, 168, 108, 0.25), transparent 55%),
    radial-gradient(1200px 900px at 70% 85%, rgba(14, 59, 46, 0.9), transparent 60%),
    linear-gradient(120deg, #08130f 0%, #0b231a 45%, #0f2b21 100%);
  filter: saturate(1.1);
  z-index: -2;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%232a3a2f' stroke-width='1.3' opacity='0.35'%3E%3Cpath d='M35 80c18 20 40 30 65 30 30 0 54-20 78-45'/%3E%3Cpath d='M55 140c20-10 45-20 70-15 25 5 40 15 60 35'/%3E%3Cpath d='M35 35c15 10 25 25 35 45'/%3E%3Cpath d='M145 60c-15 15-25 35-28 55'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: screen;
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  z-index: -1;
}

.fae-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.fae-light {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 239, 232, 0.55) 0%, rgba(231, 239, 232, 0.2) 40%, rgba(231, 239, 232, 0) 70%);
  filter: blur(2px);
  opacity: 0.35;
  animation: floatGlow 18s ease-in-out infinite;
  mix-blend-mode: screen;
}

.fae-light:nth-child(1) { top: 6%; left: 8%; animation-delay: 0s; }
.fae-light:nth-child(2) { top: 14%; left: 66%; animation-delay: 2s; transform: scale(0.7); }
.fae-light:nth-child(3) { top: 40%; left: 12%; animation-delay: 4s; transform: scale(0.8); }
.fae-light:nth-child(4) { top: 46%; left: 60%; animation-delay: 6s; transform: scale(0.6); }
.fae-light:nth-child(5) { top: 28%; left: 38%; animation-delay: 8s; transform: scale(0.9); }
.fae-light:nth-child(6) { top: 10%; left: 46%; animation-delay: 10s; transform: scale(0.5); }
.fae-light:nth-child(7) { top: 48%; left: 22%; animation-delay: 12s; transform: scale(0.7); }
.fae-light:nth-child(8) { top: 34%; left: 78%; animation-delay: 14s; transform: scale(0.6); }
.fae-light:nth-child(9) { top: 22%; left: 18%; animation-delay: 16s; transform: scale(0.8); }
.fae-light:nth-child(10) { top: 42%; left: 84%; animation-delay: 18s; transform: scale(0.7); }

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(0.7); opacity: 0.25; }
  50% { transform: translate(10px, -14px) scale(1); opacity: 0.45; }
  100% { transform: translate(0, 0) scale(0.7); opacity: 0.25; }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw 12px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.brand-text {
  display: grid;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 1.8rem;
  color: var(--gold-400);
  font-family: "Cinzel Decorative", var(--font-serif);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.38em;
  color: var(--mist-100);
}

.raven-banner {
  width: min(160px, 30vw);
  margin-top: -10px;
  height: auto;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 8px 18px rgba(8, 18, 14, 0.6));
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-link {
  text-decoration: none;
  color: var(--mist-100);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: rgba(231, 239, 232, 0.5);
  background: rgba(11, 31, 24, 0.6);
  color: var(--gold-400);
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 40px 8vw 70px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  margin: 12px 0 16px;
  color: var(--mist-100);
}

.couple-photo {
  width: min(440px, 100%);
  border-radius: var(--radius-lg);
  margin: 18px 0 8px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(231, 239, 232, 0.2);
  object-fit: cover;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 520px;
  color: rgba(231, 239, 232, 0.85);
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--gold-400);
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: rgba(231, 239, 232, 0.6);
}

.meta-value {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  color: var(--mist-100);
}

.hero-card,
.details-panel,
.memories-card {
  background: rgba(9, 20, 15, 0.82);
  border: 1px solid rgba(194, 168, 108, 0.25);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-card h2,
.details-panel h1,
.details-panel h2,
.memories-card h1,
.memories-card h2 {
  font-family: var(--font-serif);
  color: var(--gold-400);
  margin-top: 0;
}

.hero-card p,
.details-panel p,
.memories-card p {
  color: rgba(231, 239, 232, 0.82);
  line-height: 1.6;
}

.embed-shell,
.map-shell {
  border-radius: var(--radius-md);
  background: rgba(14, 59, 46, 0.4);
  border: 1px dashed rgba(194, 168, 108, 0.4);
  padding: 24px;
  margin: 18px 0;
  text-align: center;
}

.map-embed {
  padding: 0;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.embed-placeholder {
  color: rgba(231, 239, 232, 0.7);
  margin: 0;
}

.hero-note {
  font-style: italic;
  color: rgba(231, 239, 232, 0.7);
  margin-top: 10px;
}

.details-layout,
.memories-layout {
  display: grid;
  gap: 26px;
  padding: 30px 8vw 70px;
}

.details-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(231, 239, 232, 0.1);
}

.details-list li:last-child {
  border-bottom: none;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-400), #e3c889);
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
  margin-top: 14px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 18, 0.5);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(231, 239, 232, 0.6);
  color: var(--mist-100);
  text-decoration: none;
  font-weight: 500;
  margin-top: 12px;
  background: rgba(11, 31, 24, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.qr-shell {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.parking-shell {
  border-radius: var(--radius-md);
  background: rgba(14, 59, 46, 0.35);
  border: 1px dashed rgba(194, 168, 108, 0.4);
  padding: 18px;
  margin: 18px 0;
}

.parking-placeholder {
  min-height: 220px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(231, 239, 232, 0.4);
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(231, 239, 232, 0.7);
  padding: 16px;
  line-height: 1.5;
}

.parking-placeholder span {
  display: block;
  margin-top: 6px;
  color: var(--gold-400);
  font-weight: 600;
}

.qr-image {
  width: min(320px, 100%);
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 239, 232, 0.25);
  background: #ffffff;
  padding: 12px;
}

.muted {
  color: rgba(231, 239, 232, 0.65);
}

.small {
  font-size: 0.85rem;
}

.site-footer {
  padding: 24px 8vw 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(231, 239, 232, 0.6);
  position: relative;
  z-index: 2;
}

main {
  position: relative;
  z-index: 2;
}

.wolf-guardian {
  position: fixed;
  right: 4vw;
  bottom: 0;
  width: min(360px, 38vw);
  max-height: 46vh;
  height: auto;
  opacity: 0.82;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 18px 35px rgba(8, 18, 14, 0.6));
}

@media (max-width: 780px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }

  .wolf-guardian {
    width: min(260px, 58vw);
  }
}
