:root {
  --bg: #d7c8b6;
  --panel: rgb(81, 13, 11);
  --panel-soft: rgb(98, 21, 17);
  --accent: #ead8c2;
  --accent-strong: #f4e7d7;
  --text: #f7eee4;
  --text-muted: rgba(247, 238, 228, 0.8);
  --card: rgba(255, 248, 239, 0.08);
  --border: rgba(236, 216, 194, 0.22);
  --shadow: 0 28px 80px rgba(35, 10, 8, 0.25);
  --hero-dark: rgba(19, 11, 10, 0.68);
  --paper: #efe2d2;
  --paper-strong: #f6ede2;
  --paper-line: rgba(90, 12, 8, 0.18);
  --ink: #411612;
  --ink-soft: rgba(65, 22, 18, 0.74);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(body.intro-locked) {
  overflow: hidden;
}
body.intro-locked {
  overflow: hidden;
  height: 100dvh;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 22px auto;
  background: linear-gradient(180deg, var(--panel) 0%, #64120d 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
}

.brand-mark,
.eyebrow,
.card-label,
.footer a,
.nav a,
.button,
.date-meta span,
.timeline-item span,
.countdown small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  line-height: 1;
}

.brand-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.77rem;
}

.nav a { color: var(--accent); }
.nav a:hover { color: var(--accent-strong); }


.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1rem;
}

.hero {
  position: relative;
  padding: 0;
  text-align: center;
}

.hero-slider {
  min-height: 620px;
  background: transparent;
}

.hero-slides {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.active .hero-media {
  transform: scale(1);
}

.hero-media-gradient {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 30%);
}

.hero-media-photo-1 {
  background-image:
    linear-gradient(rgba(34, 16, 14, 0.3), rgba(34, 16, 14, 0.3)),
    url('assets/photo-4.svg');
}

.hero-media-photo-2 {
  background-image:
    linear-gradient(rgba(34, 16, 14, 0.28), rgba(34, 16, 14, 0.38)),
    url('assets/photo-5.svg');
}

.hero-overlay {
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(920px, 90%);
  margin: 0 auto;
  padding: 88px 28px 150px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  margin: 0 0 14px;
}

.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-cta {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}

.hero-slide.active .hero-kicker,
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-cta {
  animation: heroReveal 0.9s ease forwards;
}

.hero-slide.active .hero-title { animation-delay: 0.08s; }
.hero-slide.active .hero-subtitle { animation-delay: 0.22s; }
.hero-slide.active .hero-cta { animation-delay: 0.34s; }

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title,
.section h2,
.date-number,
.timeline-item strong,
.card h3,
.rsvp-invite-heading h2,
.rsvp-form-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  margin: 0;
  font-weight: 600;
  line-height: 0.95;
}

.hero-title-small {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.hero-title span { color: #f0cfb5; font-style: italic; }
.hero-copy {
  max-width: 760px;
  margin: 18px auto 28px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 0.74rem;
  transition: transform .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--accent);
  color: #4b1712;
  font-weight: 700;
  border: 1px solid transparent;
}

.hero-timeline {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 4;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 56px));
  display: grid;
  grid-template-columns: 1fr auto auto 1fr auto auto auto;
  align-items: center;
  gap: 14px;
}

.hero-dots {
  height: 2px;
  background-image: radial-gradient(circle, rgba(234,216,194,0.6) 1.5px, transparent 1.5px);
  background-size: 18px 2px;
  background-repeat: repeat-x;
}

.hero-arrow,
.hero-stage {
  border: 1px solid rgba(234,216,194,0.55);
  background: rgba(255, 248, 239, 0.06);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
}

.hero-arrow:hover,
.hero-stage:hover {
  transform: scale(1.05);
  background: rgba(255, 248, 239, 0.12);
}

.hero-arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.7rem;
}

.hero-stage {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.hero-stage-small {
  width: 42px;
  height: 42px;
}

.hero-stage.active {
  background: rgba(255, 248, 239, 0.16);
  border-color: rgba(244,231,215,0.95);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.03);
}

.film-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.film-strip img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Couple hero photo на едином фоне сайта ── */
.couple-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
  padding: 50px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: transparent;
}

.couple-hero__photo {
  position: relative;
  width: auto;
  max-width: min(420px, 78%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  z-index: 1;
}

@media (max-width: 767px) {
  .couple-hero {
    min-height: 460px;
    padding-top: 34px;
  }
  .couple-hero__photo {
    max-width: 86%;
    max-height: 500px;
  }
}

.section {
  padding: 70px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  margin: 0;
  font-weight: 600;
}

.two-col,
.story-layout,
.dress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.two-col p,
.story-text p,
.dress-grid p,
.card p,
.timeline-item p,
.form-note,
.footer p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.date-card {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 34px;
}

.date-number {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
}

.date-meta p {
  margin: 0;
  font-size: 1.15rem;
}

.date-meta span {
  color: var(--accent);
  font-size: 0.68rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.timeline-item,
.story-image,
.countdown {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.card {
  border-radius: 22px;
  padding: 28px;
}

.card-label {
  color: var(--accent);
  font-size: 0.68rem;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  font-weight: 600;
}

.story-image {
  border-radius: 24px;
  min-height: 420px;
  object-fit: cover;
  overflow: hidden;
}

.timeline-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.timeline-item {
  border-radius: 20px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px 24px;
  align-items: start;
}
.timeline-item span { color: var(--accent); font-size: 0.72rem; }
.timeline-item strong { font-size: 1.7rem; font-weight: 600; }
.timeline-item p { grid-column: 2; }

.palette {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: start;
}
.palette span {
  width: 72px;
  height: 120px;
  border-radius: 999px;
  background: var(--swatch);
  border: 1px solid rgba(255,255,255,0.12);
}

.countdown {
  border-radius: 26px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.countdown div {
  text-align: center;
  padding: 12px;
}

.countdown span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

.countdown small {
  color: var(--accent);
  font-size: 0.7rem;
}

.rsvp {
  background: linear-gradient(180deg, rgba(97, 19, 14, 0.42), rgba(75, 12, 9, 0.2));
}

.rsvp-shell {
  display: grid;
  gap: 28px;
}

.rsvp-invite-card,
.rsvp-panel {
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--ink);
  border-radius: 32px;
  overflow: hidden;
}

.rsvp-invite-card {
  padding: 54px 56px;
  text-align: center;
}

.rsvp-invite-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--ink);
}

.rsvp-invite-heading h2 span {
  font-style: italic;
  margin-right: 10px;
}

.rsvp-invite-heading p,
.rsvp-help,
.rsvp-form-intro,
.field-hint {
  color: var(--ink-soft);
}

.rsvp-invite-heading p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 28px auto 0;
}

.rsvp-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 38px 0 32px;
}

.rsvp-choice {
  min-width: 220px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--paper-strong);
  padding: 18px 28px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rsvp-choice:hover,
.rsvp-choice.is-active {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(65, 22, 18, 0.12);
}

.rsvp-choice-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(65, 22, 18, 0.5);
}

.rsvp-choice-outline.is-active {
  background: rgba(90, 12, 8, 0.06);
}

.rsvp-help {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.rsvp-help strong {
  color: var(--ink);
  font-weight: 600;
}

.rsvp-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1fr);
}

.rsvp-media {
  min-height: 620px;
  background-position: center top;
  background-size: cover;
}

.rsvp-media-dark {
  background-image:
    linear-gradient(rgba(18, 10, 9, 0.18), rgba(18, 10, 9, 0.26)),
    url('assets/photo-4.svg');
  background-color: #1a0d0b;
}

.rsvp-form-card {
  padding: 42px 40px 46px;
}

.rsvp-form-card h3 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 600;
  text-align: center;
  color: var(--ink);
}

.rsvp-form-intro {
  margin: 14px auto 30px;
  max-width: 560px;
  text-align: center;
  line-height: 1.7;
}

.rsvp-form {
  display: grid;
  gap: 22px;
}

.rsvp-form label {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.field-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.87rem;
  line-height: 1.6;
}

.rsvp-form input[type="text"],
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid var(--paper-line);
  background: rgba(255,255,255,0.28);
  color: var(--ink);
  padding: 15px 16px;
  resize: vertical;
}

.rsvp-form input[type="text"]::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(65, 22, 18, 0.42);
}

.rsvp-radio-list,
.rsvp-check-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.rsvp-radio-list-inline {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.rsvp-radio-list label,
.rsvp-check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.rsvp-radio-list input,
.rsvp-check-list input {
  width: 18px;
  height: 18px;
  accent-color: #4b1712;
  margin: 0;
}

.rsvp-submit {
  width: 100%;
  margin-top: 6px;
  border-radius: 0;
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--paper-strong);
  letter-spacing: 0.08em;
}

.rsvp-form-card-decline {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rsvp-form-intro-decline {
  text-align: left;
  max-width: 520px;
  margin: 18px 0 26px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .film-strip { grid-template-columns: repeat(2, 1fr); }
  .two-col,
  .story-layout,
  .dress-grid,
  .cards,
  .cards-three,
  .countdown,
  .rsvp-panel { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item p { grid-column: auto; }
  .hero-slider,
  .hero-slides,
  .hero-content { min-height: 560px; }
  .hero-timeline {
    grid-template-columns: 1fr auto auto 1fr auto auto auto;
    gap: 10px;
    width: calc(100% - 34px);
  }
  .hero-arrow { width: 48px; height: 48px; }
  .hero-stage { width: 60px; height: 60px; }
  .hero-stage-small { width: 36px; height: 36px; }
  .rsvp-media { min-height: 420px; }
}

@media (max-width: 720px) {
  .site-shell { width: min(100%, calc(100% - 16px)); margin: 8px auto; border-radius: 14px; }
  .topbar { flex-wrap: wrap; padding: 16px 16px 10px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 4px;
  }
  .nav.open { display: flex; }
  .section { padding-left: 16px; padding-right: 16px; }
  .hero-content { padding: 62px 16px 142px; }
  .hero-timeline {
    bottom: 26px;
    grid-template-columns: 1fr auto auto 1fr auto;
  }
  .hero-stage-small { display: none; }
  .hero-title,
  .hero-title-small { line-height: 1.02; }
  .rsvp-invite-card {
    padding: 34px 18px;
    border-radius: 22px;
  }
  .rsvp-invite-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    line-height: 1.05;
  }
  .rsvp-choice {
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
  }
  .rsvp-panel { border-radius: 22px; }
  .rsvp-media { min-height: 320px; }
  .rsvp-form-card {
    padding: 28px 18px 30px;
  }
  .rsvp-form-card h3 {
    font-size: 2.3rem;
  }
  .footer { flex-direction: column; align-items: flex-start; padding-inline: 16px; }
}


.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.rsvp-modal[hidden] {
  display: none !important;
}

.rsvp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 8, 8, 0.74);
  backdrop-filter: blur(8px);
}

.rsvp-modal-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(40, 16, 16, 0.96), rgba(28, 11, 11, 0.98));
  border: 1px solid rgba(217, 204, 183, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.rsvp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 204, 183, 0.35);
  background: rgba(217, 204, 183, 0.1);
  color: #f4eadc;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.rsvp-modal-close:hover {
  background: rgba(217, 204, 183, 0.18);
}

.rsvp-panels {
  min-height: 640px;
}

.rsvp-panel.is-active {
  display: grid;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .rsvp-modal {
    padding: 12px;
  }

  .rsvp-modal-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 22px;
  }

  .rsvp-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}


body.modal-open {
  overflow: hidden;
}

.site-shell-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
}

.site-shell {
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.site-shell.site-shell-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.intro-slider-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 28%),
    radial-gradient(circle at 80% 35%, rgba(255,255,255,0.06), transparent 24%),
    linear-gradient(135deg, rgb(63, 10, 8) 0%, rgb(81, 13, 11) 52%, rgb(48, 8, 7) 100%);
}

.intro-slider-screen.hidden {
  display: none;
}

.intro-slider-screen__inner {
  max-width: 860px;
  text-align: center;
  color: var(--text);
}

.intro-slider-screen__eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
}

.intro-slider-screen__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.98;
}

.intro-slider-screen__hint {
  margin: 22px auto 0;
  max-width: 520px;
  color: var(--text-muted);
  line-height: 1.7;
}

.intro-unlock {
  width: min(336px, 74vw);
  margin: 44px auto 0;
}

.intro-unlock__track {
  position: relative;
  height: 68px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 239, 0.08);
  overflow: hidden;
}

.intro-unlock__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18));
  border-radius: inherit;
  transition: width 0.25s ease;
}

.intro-unlock__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  pointer-events: none;
}

.intro-unlock__handle {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-strong);
  color: var(--panel);
  cursor: grab;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.intro-unlock__handle:active {
  cursor: grabbing;
}

.rsvp-panel-single-modal {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

@media (max-width: 900px) {
  .rsvp-panel-single-modal {
    grid-template-columns: 1fr;
  }
}



.details-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.calendar-card {
  background: rgba(255, 248, 239, 0.9);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 16px 40px rgba(45, 13, 10, 0.14);
}

.calendar-card__month {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-card__weekdays,
.calendar-card__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 6px;
  text-align: center;
}

.calendar-card__weekdays {
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(65, 22, 18, 0.72);
}

.calendar-card__grid .day,
.calendar-card__grid .muted {
  min-height: 30px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  position: relative;
}

.calendar-card__grid .muted {
  opacity: 0;
}

.day-heart {
  position: relative;
  color: var(--panel);
  font-weight: 700;
}

.day-heart svg {
  position: absolute;
  width: 42px;
  height: 38px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -38%);
  overflow: visible;
  animation: heartPulse 1.8s ease-in-out infinite;
}

.day-heart svg path {
  fill: none;
  stroke: #b32a2a;
  stroke-width: 6;
  filter: drop-shadow(0 2px 4px rgba(179, 42, 42, 0.18));
}

.day-heart strong {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

@keyframes heartPulse {
  0%, 100% { transform: translate(-50%, -38%) scale(1); }
  50% { transform: translate(-50%, -38%) scale(1.08); }
}

/* ── Telegram chat section ── */
.tg-chat-section {
  padding: 60px 28px;
}

.tg-chat-card {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 48px 36px;
  border-radius: 22px;
  background: rgba(255, 248, 239, 0.06);
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(20, 6, 5, 0.3);
}

.tg-chat-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(34, 158, 217, 0.35);
}

.tg-chat-icon svg {
  margin-left: -3px;
}

.tg-chat-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 6px 0 14px;
  color: var(--accent-strong);
  font-weight: 600;
}

.tg-chat-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 18px;
}

.tg-chat-button {
  min-width: 200px;
}

@media (max-width: 560px) {
  .tg-chat-card {
    padding: 36px 22px;
  }
  .tg-chat-icon {
    width: 68px;
    height: 68px;
  }
  .tg-chat-icon svg {
    width: 38px;
    height: 38px;
  }
}

.venue-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.map-button {
  margin-top: 10px;
}

.telegram-chat-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: center;
  background: rgba(255, 248, 239, 0.85);
  color: var(--ink);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(45, 13, 10, 0.14);
}

.telegram-chat .section-heading h2,
.telegram-chat .eyebrow,
.telegram-chat-text {
  color: var(--ink);
}

.telegram-chat-text {
  max-width: 430px;
  line-height: 1.8;
  font-size: 1.22rem;
  margin: 0 0 24px;
}

.telegram-button {
  min-width: 190px;
  text-align: center;
}

.telegram-chat-visual {
  min-height: 420px;
}

.telegram-scene {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(70, 12, 10, 0.08), rgba(70, 12, 10, 0.14)),
    linear-gradient(145deg, #fbf6ef 0%, #efe6da 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(81,13,11,0.08);
}

.telegram-scene__frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(81,13,11,0.12);
}

.telegram-scene__card {
  position: absolute;
  background: #1b1312;
  border-radius: 8px;
}

.telegram-scene__card--top {
  width: 142px;
  height: 164px;
  right: 42px;
  bottom: 68px;
  transform: rotate(-8deg);
}

.telegram-scene__card--mid {
  width: 118px;
  height: 96px;
  left: 48px;
  bottom: 52px;
  background: rgba(81,13,11,0.08);
  border: 1px solid rgba(81,13,11,0.1);
}

.telegram-scene__flower {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff 0%, #f6f0e8 55%, #d9cfbf 100%);
  box-shadow: 0 10px 25px rgba(81,13,11,0.12);
}

.telegram-scene__flower--one {
  width: 96px;
  height: 96px;
  top: 36px;
  right: 34px;
}

.telegram-scene__flower--two {
  width: 74px;
  height: 74px;
  top: 118px;
  left: 42px;
}

.telegram-scene__ribbon {
  position: absolute;
  width: 220px;
  height: 18px;
  background: #140f0e;
  left: 86px;
  bottom: 114px;
  transform: rotate(16deg);
  border-radius: 999px;
}

.telegram-scene__tag {
  position: absolute;
  right: 80px;
  bottom: 84px;
  width: 74px;
  height: 88px;
  background: #231817;
  color: var(--accent-strong);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .details-layout,
  .telegram-chat-card {
    grid-template-columns: 1fr;
  }

  .calendar-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .telegram-chat-visual {
    min-height: 320px;
  }

  .telegram-scene {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .calendar-card {
    padding: 16px 12px 18px;
  }

  .calendar-card__grid .day,
  .calendar-card__grid .muted {
    min-height: 28px;
    font-size: 0.95rem;
  }

  .day-heart svg {
    width: 38px;
    height: 34px;
  }

  .telegram-chat-card {
    padding: 18px;
  }

  .telegram-chat-text {
    font-size: 1rem;
  }
}





/* Luxury RSVP modal */
.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(18px, 4vw, 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.rsvp-modal[hidden] {
  display: none !important;
}

.rsvp-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rsvp-modal-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08), transparent 30%),
    rgba(16, 6, 6, 0.68);
  backdrop-filter: blur(10px) saturate(110%);
  opacity: 0;
  transition: opacity .35s ease;
}

.rsvp-modal.is-open .rsvp-modal-backdrop {
  opacity: 1;
}

.rsvp-modal-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100dvh - 2 * clamp(18px, 4vw, 34px));
  margin: 0 auto;
  overflow: hidden auto;
  border-radius: 30px;
  border: 1px solid rgba(244, 231, 215, 0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
    linear-gradient(180deg, rgba(42, 13, 12, 0.98), rgba(26, 8, 8, 0.985));
  box-shadow:
    0 30px 90px rgba(13, 4, 4, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(28px) scale(.975);
  opacity: 0;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform, opacity;
}

.rsvp-modal.is-open .rsvp-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.rsvp-modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(244,231,215,0.1), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 22%);
}

.rsvp-modal-dialog::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.03);
}

.rsvp-panel-single-modal {
  display: grid;
  grid-template-columns: minmax(300px, 0.94fr) minmax(380px, 1.06fr);
  min-height: min(760px, calc(100dvh - 90px));
}

.rsvp-media {
  position: relative;
  min-height: 100%;
  isolation: isolate;
}

.rsvp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,6,6,0.08), rgba(11,6,6,0.28)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 24%);
}

.rsvp-form-card {
  position: relative;
  padding: 54px 48px 48px;
  background:
    linear-gradient(180deg, rgba(245, 235, 225, 0.985), rgba(237, 221, 206, 0.985));
  color: var(--ink);
}

.rsvp-form-card h3 {
  text-align: left;
  line-height: .98;
  letter-spacing: 0.01em;
}

.rsvp-form-intro {
  margin: 16px 0 30px;
  max-width: 560px;
  text-align: left;
  color: rgba(65, 22, 18, 0.78);
}

.rsvp-form label {
  display: grid;
  gap: 10px;
  font-size: .98rem;
}

.rsvp-form input[type="text"],
.rsvp-form textarea,
.rsvp-form select {
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid rgba(65, 22, 18, 0.14);
  background: rgba(255,255,255,0.46);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rsvp-form input[type="text"]:focus,
.rsvp-form textarea:focus,
.rsvp-form select:focus {
  outline: none;
  border-color: rgba(81, 13, 11, 0.35);
  box-shadow: 0 0 0 4px rgba(81, 13, 11, 0.08);
  background: rgba(255,255,255,0.72);
}

.rsvp-radio-list,
.rsvp-check-list {
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(65, 22, 18, 0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.32);
}

.rsvp-radio-list label,
.rsvp-check-list label {
  padding: 4px 0;
}

.rsvp-submit {
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(98, 21, 17), rgb(81, 13, 11));
  box-shadow: 0 16px 30px rgba(81, 13, 11, 0.22);
}

.rsvp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(81, 13, 11, 0.28);
}

.rsvp-modal-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244, 231, 215, 0.22);
  background: rgba(244, 231, 215, 0.08);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.rsvp-modal-close:hover {
  transform: rotate(90deg) scale(1.04);
  background: rgba(244, 231, 215, 0.16);
  border-color: rgba(244, 231, 215, 0.36);
}

.rsvp-choice {
  border-radius: 999px;
  padding-inline: 30px;
}

.rsvp-choice.is-active {
  box-shadow: 0 14px 30px rgba(81, 13, 11, 0.18);
}

.rsvp-choice-outline {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .rsvp-modal {
    padding: 12px;
  }

  .rsvp-modal-dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }

  .rsvp-panel-single-modal {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rsvp-media {
    min-height: 260px;
  }

  .rsvp-form-card {
    padding: 34px 22px 24px;
  }

  .rsvp-form-card h3,
  .rsvp-form-intro {
    text-align: left;
  }

  .rsvp-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-modal,
  .rsvp-modal-backdrop,
  .rsvp-modal-dialog,
  .rsvp-modal-close {
    transition: none !important;
  }
}



/* ── Экран «Спасибо» после отправки RSVP ── */
.rsvp-thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 54px 40px;
  min-height: 340px;
  gap: 18px;
}

.rsvp-thankyou__icon {
  font-size: 2.8rem;
  color: #4b1712;
  opacity: 0.55;
  margin: 0;
  line-height: 1;
}

.rsvp-thankyou h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.rsvp-thankyou .rsvp-form-intro {
  margin: 0;
  max-width: 420px;
}

/* ── Гостевая фотогалерея ── */
/* Кнопка музыки — FAB снизу слева */
.music-fab[hidden] {
  display: none !important;
}

.music-fab {
  position: fixed;
  left: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--accent-strong);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(20, 6, 5, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.music-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(20, 6, 5, 0.65);
}

.music-fab__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

/* По умолчанию (выключено) — перечёркнутая нота */
.music-fab__icon--on  { display: none; }
.music-fab__icon--off { display: grid; }

/* Включено — обычная нота */
.music-fab[aria-pressed="true"] .music-fab__icon--on  { display: grid; }
.music-fab[aria-pressed="true"] .music-fab__icon--off { display: none; }

/* Когда музыка играет — чуть ярче, иконка анимирована */
.music-fab[aria-pressed="true"] {
  opacity: 1;
}

.music-fab[aria-pressed="false"] {
  opacity: 0.72;
}

@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.music-fab[aria-pressed="true"] .music-fab__icon {
  animation: musicPulse 2s ease-in-out infinite;
}

@media (max-width: 560px) {
  .music-fab {
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 12px 14px;
    font-size: 0.7rem;
  }
  .music-fab__label { display: none; }
}

.guest-gallery-fab[hidden],
.guest-gallery-modal [hidden] {
  display: none !important;
}

.guest-gallery-fab {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--accent-strong);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(20, 6, 5, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.guest-gallery-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(20, 6, 5, 0.65);
}

.guest-gallery-fab__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.guest-gallery-fab--locked {
  opacity: 0.7;
  background: linear-gradient(180deg, #3a1310, #220a09);
}

.guest-gallery-fab--locked:hover {
  opacity: 0.9;
}

@media (max-width: 560px) {
  .guest-gallery-fab {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 12px 14px;
    font-size: 0.7rem;
  }
  .guest-gallery-fab__label { display: none; }
}

/* ── Модалка галереи ── */
.guest-gallery-modal .gg-dialog {
  max-width: 720px;
  width: min(720px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f6ede2 0%, #ead8c2 100%);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.guest-gallery-modal .gg-content {
  padding: 36px 32px 28px;
  overflow-y: auto;
  flex: 1;
}

.guest-gallery-modal .rsvp-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  font-size: 2rem;
  color: var(--ink);
  cursor: pointer;
  z-index: 5;
  line-height: 1;
}

.gg-header {
  text-align: center;
  margin-bottom: 26px;
}

.gg-header .eyebrow {
  color: var(--panel);
  margin-bottom: 8px;
}

.gg-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1;
}

.gg-subtitle {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 460px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Locked state */
.gg-locked {
  text-align: center;
  padding: 30px 20px 50px;
}

.gg-locked__icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.gg-locked h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: var(--ink);
}

.gg-locked p {
  color: var(--ink-soft);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Capture */
.gg-capture {
  margin-bottom: 28px;
}

.gg-capture__trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border-radius: 18px;
  background: rgba(75, 23, 18, 0.06);
  border: 2px dashed rgba(75, 23, 18, 0.3);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gg-capture__trigger:hover {
  background: rgba(75, 23, 18, 0.1);
  border-color: rgba(75, 23, 18, 0.5);
}

.gg-capture__plus {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.gg-capture__text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.gg-capture__hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gg-capture__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gg-capture__preview img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 6, 5, 0.25);
}

.gg-capture__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.gg-btn-secondary {
  background: transparent;
  border: 1px solid rgba(75, 23, 18, 0.4);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.gg-btn-secondary:hover {
  background: rgba(75, 23, 18, 0.06);
}

.gg-btn-send {
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--accent-strong);
  border: 0;
  letter-spacing: 0.08em;
}

.gg-btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Gallery */
.gg-gallery {
  border-top: 1px solid rgba(75, 23, 18, 0.18);
  padding-top: 22px;
}

.gg-gallery__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gg-gallery__heading h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
}

.gg-gallery__count {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
}

.gg-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(75, 23, 18, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gg-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(20, 6, 5, 0.25);
}

.gg-gallery__empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 22px 12px;
  font-size: 0.95rem;
  font-style: italic;
}

/* Lightbox */
.gg-lightbox {
  position: absolute;
  inset: 0;
  background: rgba(20, 6, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
}

.gg-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.gg-lightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 11;
}

/* Toast */
.gg-toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #4a1712, #2d0f0d);
  color: var(--accent-strong);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 40px rgba(20, 6, 5, 0.55);
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gg-toast.is-visible {
  opacity: 1;
}

.gg-toast--error {
  background: linear-gradient(180deg, #6b1f1a, #401110);
}

@media (max-width: 560px) {
  .guest-gallery-modal .gg-content {
    padding: 28px 20px 22px;
  }
  .gg-capture__trigger {
    padding: 22px 14px;
  }
  .gg-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guest-gallery-fab,
  .gg-grid img,
  .gg-toast {
    transition: none;
  }
}

/* ── Print styles ── */
@media print {
  .intro-slider-screen { display: none !important; }
  .site-shell {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
  }
  .topbar, .nav-toggle, .hero-cta, .rsvp, .countdown-section, .film-strip { display: none !important; }
  .hero-slider { min-height: auto !important; background: #fff !important; }
  .hero-content { min-height: auto !important; padding: 24px !important; }
  .hero-title, .hero-subtitle, .hero-kicker {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    color: #111 !important;
  }
  .section { padding: 24px 16px !important; border: none !important; }
  .section h2, .card h3, .timeline-item strong { color: #111 !important; }
  .card, .timeline-item {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    backdrop-filter: none !important;
  }
  .two-col p, .story-text p, .card p, .timeline-item p { color: #333 !important; }
  .eyebrow, .card-label, .timeline-item span { color: #7a2b26 !important; }
  .palette span { border: 1px solid #ccc !important; }
  a[href]::after { content: none !important; }
}
