:root {
  color-scheme: light;
  --cream: #fcfbf7;
  --cream-2: #f5f1e6;
  --paper: #ffffff;
  --ink: #252220;
  --ink-soft: #544f49;
  --muted: #726b62;
  --line: #e6dfd0;
  --olive: #5b7056;
  --olive-deep: #384a36;
  --olive-soft: #dde5d8;
  --aegean: #2c4c63;
  --aegean-soft: #e3ecf2;
  --gold: #b68d40;
  --gold-soft: #f6edd9;
  --terra: #b5654d;
  --terra-deep: #894633;
  --terra-soft: #f3dcd3;
  --shadow: 0 24px 70px rgba(42, 36, 28, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hidden { display: none !important; }

a { color: var(--aegean); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--aegean);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  color: var(--olive-deep);
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

p { margin: 0 0 12px; color: var(--ink-soft); }
p.muted { color: var(--muted); font-size: 0.92rem; }
p.small { font-size: 0.92rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 10px;
}

/* Decorative Mediterranean olive branch SVG corners */
.leaf {
  position: fixed;
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%235b7056' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M18 182 Q44 118 88 78 Q128 42 182 18'/%3E%3Cpath d='M44 156 Q72 110 112 80'/%3E%3C/g%3E%3Cg fill='%235b7056' opacity='0.82'%3E%3Cellipse cx='56' cy='132' rx='15' ry='5' transform='rotate(-40 56 132)'/%3E%3Cellipse cx='90' cy='102' rx='16' ry='5' transform='rotate(-35 90 102)'/%3E%3Cellipse cx='126' cy='70' rx='15' ry='4.5' transform='rotate(-30 126 70)'/%3E%3Cellipse cx='158' cy='46' rx='13' ry='4' transform='rotate(-24 158 46)'/%3E%3C/g%3E%3Cg fill='%23b68d40' opacity='0.85'%3E%3Ccircle cx='76' cy='112' r='4.5'/%3E%3Ccircle cx='128' cy='82' r='3.8'/%3E%3Ccircle cx='168' cy='38' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.leaf--tl { top: -36px; left: -36px; }
.leaf--br { bottom: -36px; right: -36px; transform: scaleX(-1) scaleY(-1); }

@media (max-width: 600px) {
  .leaf { width: 170px; height: 170px; opacity: 0.35; }
}

/* Sticky Language Switcher Bar */
.langbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 251, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.langbar__inner {
  width: min(820px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.langbar__brand {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--olive-deep);
  letter-spacing: 0.02em;
}

.langbar__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lang-btn {
  min-width: 44px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.lang-btn:hover {
  border-color: var(--aegean);
  color: var(--aegean);
}

.lang-btn.is-active {
  background: var(--aegean);
  border-color: var(--aegean);
  color: #fff;
}

@media (max-width: 480px) {
  .langbar__inner { justify-content: center; }
  .langbar__brand { display: none; }
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(44px, 8vw, 88px) 20px 36px;
  z-index: 1;
}

.hero__welcome {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--terra-deep);
  margin: 0 0 12px;
  animation: fadeUp 750ms ease 120ms both;
}

.hero__date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--olive-deep);
  margin: 0 0 6px;
  animation: fadeUp 750ms ease 220ms both;
}

.hero__loc {
  font-size: 0.86rem;
  color: var(--aegean);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
  animation: fadeUp 750ms ease 280ms both;
}

.hero__names {
  font-family: 'Pinyon Script', 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.1rem, 10.5vw, 6rem);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ink);
  animation: fadeUp 900ms ease 360ms both;
}

html[lang="ru"] .hero__names,
html[lang="bg"] .hero__names,
html[lang="uk"] .hero__names,
html[lang="ru"] .signature,
html[lang="bg"] .signature,
html[lang="uk"] .signature {
  font-family: 'Marck Script', 'EB Garamond', Georgia, serif;
}

html[lang="el"] .hero__names,
html[lang="el"] .signature {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.hero__names .script { display: inline-block; }
.hero__names .amp {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.58em;
  margin: 0 0.14em;
  color: var(--gold);
  vertical-align: middle;
}

.ornament {
  margin: 8px auto 18px;
  display: flex;
  justify-content: center;
  animation: fadeUp 750ms ease 460ms both;
}

.hero__intro {
  max-width: 580px;
  margin: 0 auto 28px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.12rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--ink-soft);
  animation: fadeUp 750ms ease 540ms both;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 20px);
  margin: 0 auto 28px;
  max-width: 480px;
  animation: fadeUp 750ms ease 640ms both;
}

.countdown > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px;
  flex: 1;
  min-width: 62px;
  box-shadow: 0 6px 20px rgba(42, 36, 28, 0.05);
}

.countdown b {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 500;
  color: var(--olive-deep);
  line-height: 1;
}

.countdown span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 750ms ease 720ms both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: var(--olive-deep);
  color: #fff;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 150ms ease, background-color 150ms ease;
}

.hero__cta:hover {
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--cal { min-height: 46px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Main Cards Container */
main {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 24px));
  margin: 0 auto 72px;
  display: grid;
  gap: 24px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.card--ornate {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--paper) 90%);
  text-align: center;
}

.card--center { text-align: center; }

.card--support {
  background: linear-gradient(180deg, #faf7ef 0%, var(--paper) 100%);
  border-color: #dfd2b5;
}

.card--gift {
  background: linear-gradient(180deg, #f8f5ec 0%, var(--paper) 85%);
  border-color: #e4d4be;
}

.card--spoiler {
  background: linear-gradient(135deg, #fdf3ee 0%, #fcf9f1 100%);
  border: 1.5px dashed var(--terra);
  text-align: center;
}

/* Family */
.family-grid,
.godparents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 18px 0;
}

.godparents-grid {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
  .family-grid, .godparents-grid { grid-template-columns: 1fr; }
}

.family-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.family-names {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0;
  white-space: pre-line;
}

.family-names.is-tba {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

.family-names u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Two-part Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

@media (max-width: 680px) {
  .events-grid { grid-template-columns: 1fr; }
}

.event-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.event-box--church { border-top: 3px solid var(--aegean); }
.event-box--party { border-top: 3px solid var(--olive); }

.event-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.event-badge--aegean {
  background: var(--aegean-soft);
  color: var(--aegean);
}

.event-badge--olive {
  background: var(--olive-soft);
  color: var(--olive-deep);
}

.event-place {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.event-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1;
}

.venue-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.venue-qr, .gift-qr { margin-top: 18px; text-align: center; }
.venue-qr svg, .gift-qr svg {
  width: 190px;
  height: 190px;
  background: #fff;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* Support & Cost Breakdown */
.support-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.support-highlight {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-weight: 500;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 560px) {
  .cost-grid { grid-template-columns: 1fr; }
}

.cost-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.cost-icon { font-size: 1.35rem; display: block; margin-bottom: 6px; }
.cost-tile h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--olive-deep); }
.cost-tile p { font-size: 0.88rem; margin: 0; color: var(--muted); }

.contribution-pill {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--olive-soft);
  color: var(--olive-deep);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
}

/* Schedule */
.schedule {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.schedule li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

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

.schedule .time {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--terra-deep);
  display: flex;
  align-items: center;
}

.schedule .time:empty::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive-soft);
  border: 1.5px solid var(--olive);
  margin-left: 6px;
}

.schedule .title { font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.schedule .desc { font-size: 0.9rem; color: var(--muted); }

/* Menu & Bar */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr; } }

.menu-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--cream);
}

.menu-grid h3 { margin-bottom: 6px; color: var(--olive-deep); }
.menu-grid p { margin: 0; font-size: 0.92rem; }

.bar-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--aegean-soft);
  border: 1px solid #cddce6;
}

.bar-box h3 { color: var(--aegean); margin-bottom: 6px; }
.bar-box p { margin: 0; font-size: 0.94rem; color: var(--ink); }

.menu-custom-note {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--cream-2);
  border-radius: 10px;
  font-size: 0.92rem;
}

/* Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }

.info-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.info-item--full { grid-column: 1 / -1; }
.info-item h3 { color: var(--olive-deep); margin-bottom: 6px; font-size: 1.1rem; }
.info-item p { margin: 0; font-size: 0.92rem; }
.organizer-contact {
  margin-top: 10px;
  font-weight: 600;
  color: var(--aegean);
}

/* RSVP Form */
.rsvp-deadline {
  background: var(--terra-soft);
  color: var(--terra-deep);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  margin: 8px 0 20px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 18px;
  background: var(--cream);
}

legend {
  padding: 0 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--olive-deep);
}

legend em, label > span em { color: var(--terra-deep); font-style: normal; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 600px) {
  .grid, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 500;
}

label.full { grid-column: 1 / -1; }

.inline {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.inline input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--olive-deep);
}

input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
select, textarea, output {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  transition: border-color 150ms, box-shadow 150ms;
}

output {
  display: flex;
  align-items: center;
  background: var(--olive-soft);
  color: var(--olive-deep);
  font-weight: 600;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--aegean);
  box-shadow: 0 0 0 3px rgba(44, 76, 99, 0.14);
}

textarea { resize: vertical; min-height: 84px; line-height: 1.5; }

/* 4-Choice Cards */
.choice--four {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 560px) {
  .choice--four { grid-template-columns: 1fr; }
}

.choice__card {
  position: relative;
  padding: 20px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 124px;
}

.choice__card:hover {
  transform: translateY(-2px);
  border-color: var(--olive);
  box-shadow: 0 10px 26px rgba(42, 36, 28, 0.07);
}

.choice__card input { position: absolute; opacity: 0; pointer-events: none; }

.choice__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

.choice__card b {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}

.choice__card small {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.choice__card:has(input:checked) {
  border-color: var(--olive-deep);
  background: linear-gradient(180deg, var(--olive-soft) 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(56, 74, 54, 0.16);
}

.choice__card--church:has(input:checked) {
  border-color: var(--aegean);
  background: linear-gradient(180deg, var(--aegean-soft) 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(44, 76, 99, 0.16);
}

.choice__card--no:has(input:checked) {
  border-color: var(--terra);
  background: linear-gradient(180deg, var(--terra-soft) 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(181, 101, 77, 0.16);
}

/* Declined Note */
.declined-note {
  background: linear-gradient(135deg, var(--terra-soft) 0%, #faf6ec 100%);
  border: 1px solid #e6bfb2;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 18px;
}

.declined-note p { margin: 0 0 12px; color: var(--terra-deep); }
.declined-note p strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.declined-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn--primary {
  background: var(--olive-deep);
  color: #fff;
  border-color: var(--olive-deep);
  padding: 12px 28px;
}
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }

.btn--ghost { background: #fff; color: var(--olive-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--olive); }

.rsvp-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.rsvp-status { font-size: 0.92rem; color: var(--muted); }
.rsvp-status.is-ok { color: var(--olive-deep); }
.rsvp-status.is-err { color: var(--terra-deep); font-weight: 500; }

/* Confirmation Banner */
.thanks-banner {
  background: linear-gradient(180deg, var(--olive-soft) 0%, var(--cream) 100%);
  border: 1px solid var(--olive);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  margin-top: 12px;
}

.thanks-banner .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--olive-deep);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 12px;
  font-size: 26px;
}

.thanks-banner h3 { font-size: 1.55rem; color: var(--olive-deep); margin-bottom: 6px; }
.thanks-banner p { margin: 0; color: var(--ink); }

/* Gift Columns */
.gift-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 680px) {
  .gift-columns { grid-template-columns: 1fr; }
}

.gift-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.gift-box h3 {
  color: var(--aegean);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.gift-details { display: grid; gap: 8px; margin: 0 0 14px; }
.gift-details > div {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.gift-details > div:last-child { border-bottom: none; }

.gift-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.gift-details dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}

.gift-details dd.iban {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.gift-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pending-note { font-style: italic; margin: 6px 0 0; }

/* Spoiler Alert Card */
.spoiler-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--terra-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card--spoiler h2 { color: var(--terra-deep); }
.spoiler-body {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink);
}

/* Signature & Footer */
.signature {
  font-family: 'Pinyon Script', 'EB Garamond', serif;
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  color: var(--terra-deep);
  margin: 8px 0;
  line-height: 1.1;
}

.footer {
  text-align: center;
  padding: 24px 16px 56px;
  color: var(--muted);
  font-size: 0.84rem;
  position: relative;
  z-index: 1;
}

.notice--warn {
  background: #fff5d6;
  color: #6b4f12;
  border: 1px solid #ead19a;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.reveal.is-visible,
.hero.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
