:root {
  --font-display: "Cinzel", "Palatino Linotype", serif;
  --bg: #08060a;
  --text: #f3e8ef;
  --muted: #9a8798;
  --accent: #c94b7a;
  --border: #2d1f30;
  --panel: #151018;
  --shadow-glow: rgba(201, 75, 122, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -25%, rgba(92, 26, 58, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(45, 20, 55, 0.4) 0%, transparent 45%),
    linear-gradient(180deg, #0c080e 0%, var(--bg) 40%, #060408 100%);
  color: var(--text);
  line-height: 1.55;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 10, 22, 0.97) 0%, rgba(10, 6, 12, 0.92) 100%);
  box-shadow: 0 1px 0 rgba(201, 75, 122, 0.12), 0 12px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 20;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.login-wrap {
  position: relative;
}

.login-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(201, 75, 122, 0.12);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  box-shadow: 0 0 20px var(--shadow-glow);
}

.login-btn:hover,
.login-btn[aria-expanded="true"] {
  border-color: rgba(201, 75, 122, 0.45);
  background: rgba(201, 75, 122, 0.18);
}

.login-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 11rem;
  padding: 0.35rem 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  display: none;
}

.login-menu.is-open {
  display: block;
}

.login-menu a,
.login-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.login-menu a:hover,
.login-menu button:hover {
  background: rgba(201, 75, 122, 0.12);
}

.login-menu .muted {
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.35rem 1rem 0.5rem;
  cursor: default;
}

.login-menu .muted:hover {
  background: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    min-height: min(78vh, 820px);
    padding: 1.5rem 1.5rem 3rem;
    gap: 2rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 52vh;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(201, 75, 122, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
  .hero-visual {
    border-radius: 14px;
    min-height: 100%;
  }
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 52vh;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

@media (min-width: 900px) {
  .hero-img {
    min-height: 100%;
    position: absolute;
    inset: 0;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(8, 6, 10, 0.55) 78%,
    rgba(8, 6, 10, 0.92) 100%
  );
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(8, 6, 10, 0.1) 0%,
      rgba(8, 6, 10, 0.45) 45%,
      rgba(8, 6, 10, 0.88) 100%
    );
  }
}

.hero-copy {
  padding: 1.75rem 1.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-copy {
    padding: 2rem 0.5rem 2rem 0;
    text-align: left;
  }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
  text-shadow: 0 0 40px var(--shadow-glow);
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
  max-width: 32rem;
}

@media (min-width: 900px) {
  .lede {
    margin: 0;
  }
}

.strip {
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.moon-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 75, 122, 0.45) 20%,
    rgba(212, 165, 201, 0.35) 50%,
    rgba(201, 75, 122, 0.45) 80%,
    transparent
  );
  margin: 0.5rem 0 2.5rem;
}

/* Gallery */
.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.gallery-intro {
  text-align: center;
  margin-bottom: 2.25rem;
}

.gallery-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.gallery-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 auto;
  max-width: 36rem;
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .gallery-card--tall {
    grid-row: span 2;
  }
}

.gallery-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: min(72vh, 640px);
}

.gallery-card--tall img {
  max-height: min(92vh, 900px);
}

.gallery-card figcaption {
  padding: 0.85rem 1.1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid rgba(45, 31, 48, 0.6);
}

.cta-band {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background: linear-gradient(180deg, transparent, rgba(74, 15, 36, 0.22) 40%, rgba(74, 15, 36, 0.12));
}

.cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: #e8c4d4;
  margin: 0;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer strong {
  color: #d4a5c9;
  font-weight: 600;
}

.footer-muted {
  font-size: 0.75rem;
  opacity: 0.85;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 30;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
