/* ══════════════════════════════
   VARIABLES
══════════════════════════════ */
:root {
  --parchment: #F5F0E8;
  --parchment-dark: #EDE5D8;
  --parchment-deeper: #E2D9C8;
  --espresso: #28201A;
  --walnut: #4A3828;
  --gold: #9A7D58;
  --gold-light: #C4A882;
  --gold-muted: #B8A080;
  --ink: #3A2E24;
  --mist: #8A7A68;
  --cream-white: #FAF7F2;
}

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

html {
  overflow-x: hidden;
}
body {
  max-width: 100%;
}

html { scroll-behavior: smooth; overflow-anchor: none; }

body {
  background: none;
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('Background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: -1;
}

.invitation {
  width: 100%;
  max-width: 520px;
  background: rgba(245, 240, 232, 0.45);
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════
   ENTRANCE — fixed full-screen overlay
   Sits above everything, locks scroll
══════════════════════════════ */
.entrance {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #EDE8DF;
}

.entrance-bg {
  position: absolute;
  inset: 0;
  background-image: url('Entrance.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeIn 2.5s ease 0.3s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.entrance-overlay {
  position: absolute;
  inset: 0;
  background: rgba(237, 232, 223, 0.38);
}

.entrance-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
  width: 100%;
  max-width: 430px;
  animation: fadeUp 1.8s 1.2s ease both;
}

.entrance-eyebrow {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #6A5840;
  margin-bottom: 20px;
}

.entrance-rule {
  width: 50px;
  height: 0.5px;
  background: #9A7D58;
  opacity: 0.5;
  margin: 16px auto;
}

.entrance-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #3A2810;
  line-height: 1;
  margin-bottom: 4px;
}

.entrance-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(20px, 5vw, 28px);
  color: #7A6040;
  line-height: 1.4;
  margin-bottom: 4px;
}

.entrance-hint {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6A5840;
  text-transform: lowercase;
  margin-top: 330px;
  animation: floatHint 2.5s ease-in-out infinite;
}

@keyframes floatHint {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(-6px); opacity: 0.85; }
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  max-height: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform-origin: center center;
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  33%  { transform: scale(1.06) translateX(0.4%)  translateY(-0.3%); }
  66%  { transform: scale(1.04) translateX(1%)   translateY(-0.5%); }
  100% { transform: scale(1.08) translateX(-0.3%) translateY(0.5%); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(40,32,26,0.00) 0%,
    rgba(40,32,26,0.00) 40%,
    rgba(40,32,26,0.45) 75%,
    rgba(40,32,26,0.68) 100%
  );
}

.hero-botanical {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 200px;
  opacity: 0.10;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 28px 52px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.902);
  display: block;
  margin-bottom: 14px;
}

.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: 44px;
  color: #F5F0E8;
  line-height: 1.05;
  text-shadow: 0 3px 20px rgba(40,32,26,0.5);
  display: block;
}
.hero-amp {
  display: block;
  font-size: 30px;
  opacity: 0.8;
  margin: 2px 0;
  line-height: 1.2;
}

.hero-date-line {
  margin-top: 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: rgba(245,240,232,0.7);
}

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
.sec {
  padding: 44px 36px;
  text-align: center;
  background: transparent;
}

.sec-label {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  letter-spacing: 5.5px;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 20px;
}

.ornament-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 36px;
  background: transparent;
}
.ornament-row::before,
.ornament-row::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.4;
}
.ornament-center {
  padding: 0 16px;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 8px;
  opacity: 0.6;
}

/* ══════════════════════════════
   TYPOGRAPHY
══════════════════════════════ */
.verse {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 2.1;
  color: var(--walnut);
  font-style: italic;
}

.verse-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--mist);
  line-height: 1.95;
}

.script-pull {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--gold-muted);
  line-height: 1.4;
}

.script-xl {
  font-family: 'Great Vibes', cursive;
  font-size: 38px;
  color: var(--gold);
  line-height: 1.1;
}

/* ══════════════════════════════
   PHOTO BLOCKS
══════════════════════════════ */
.photo-block {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.photo-block img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 0.85;
}

.photo-caption-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(40,32,26,0.72) 0%, transparent 100%);
  padding: 48px 28px 24px;
  text-align: center;
  color: #F5F0E8;
}

.cap-role {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 8.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.65;
  display: block;
  margin-bottom: 5px;
}

.cap-name {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  line-height: 1;
}

/* ══════════════════════════════
   PARCHMENT CARD
══════════════════════════════ */
.parchment-card {
  margin: 0 24px;
  padding: 28px 24px;
  background: rgba(226, 217, 200, 0.75);
  border: 0.5px solid rgba(154,125,88,0.35);
  position: relative;
}

.parchment-card::before {
  content: '✦';
  position: absolute;
  top: 10px; left: 12px;
  font-size: 8px;
  color: var(--gold);
  opacity: 0.45;
}
.parchment-card::after {
  content: '✦';
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 8px;
  color: var(--gold);
  opacity: 0.45;
}

/* ══════════════════════════════
   DARK PANEL
══════════════════════════════ */
.dark-panel {
  background: rgba(245, 240, 232, 0.55);
  color: var(--ink);
  position: relative;
}

.dark-panel::before {
  content: none;
}

.dark-panel > * {
  position: relative;
  z-index: 1;
}

.dark-panel .sec-label { color: var(--gold); }
.dark-panel .verse     { color: var(--walnut); }
.dark-panel .verse-en  { color: var(--mist); }



/* ══════════════════════════════
   CALENDAR
══════════════════════════════ */
.cal-wrap {
  padding: 36px 28px;
  background: transparent;
}

.cal-month-script {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: var(--gold);
  display: block;
  text-align: center;
  line-height: 1;
  margin-bottom: 4px;
}

.cal-year-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  display: block;
  text-align: center;
  margin-bottom: 22px;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  color: var(--walnut);
}

.cal-table th {
  font-size: 8.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 0 8px;
  font-weight: 400;
  text-align: center;
}

.cal-table td {
  text-align: center;
  padding: 6px 2px;
  color: var(--walnut);
  opacity: 0.8;
}

.cal-table td.dim    { opacity: 0.28; }
.cal-table td.marked { opacity: 1; }

.cal-table td.marked span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--walnut);
  color: var(--parchment);
  font-size: 13px;
}

/* ══════════════════════════════
   COUNTDOWN
══════════════════════════════ */
.countdown-row {
  display: flex;
  justify-content: center;
}

.cd-cell {
  text-align: center;
  padding: 0 16px;
  border-right: 0.5px solid rgba(154,125,88,0.25);
}
.cd-cell:last-child { border-right: none; }

.cd-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 40px;
}

.cd-unit {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 8.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 6px;
}

/* ══════════════════════════════
   VENUE & MAP
══════════════════════════════ */
.venue-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--walnut);
  margin: 12px 0 6px;
}

.venue-detail {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--mist);
  line-height: 1.9;
}

.map-box {
  margin: 24px 0 0;
  height: 130px;
  border: 0.5px solid rgba(154,125,88,0.3);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: var(--parchment-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,125,88,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,125,88,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-pin-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.map-pin-head {
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 10px;
  box-shadow: 0 0 0 4px rgba(196,168,130,0.18);
}

.map-pin-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════════════════
   RSVP FORM
══════════════════════════════ */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  position: relative;
  transform: none;
}

.rsvp-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--parchment);
  border: 0.5px solid rgba(154,125,88,0.35);
  border-radius: 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}

.rsvp-input::placeholder { color: var(--mist); }
.rsvp-input:focus         { border-color: var(--gold); }

.rsvp-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #C4A882 0%, #9A7D58 50%, #7A6040 100%);
  border: none;
  border-radius: 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--parchment);
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.25s, transform 0.15s;
}

.rsvp-btn:hover  { background: var(--gold); }
.rsvp-btn:active { transform: scale(0.98); }

.rsvp-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A7D58' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: transparent;
  padding: 18px 36px 16px;
  text-align: center;
}

/* ══════════════════════════════
   UTILITIES
══════════════════════════════ */
  width: 50px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.35;
  margin: 18px auto;


/* ══════════════════════════════
   UTILITIES
══════════════════════════════ */
.pt0  { padding-top: 0; }
.pb0  { padding-bottom: 0; }
.mt8  { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.text-left  { text-align: left; }
.text-right { text-align: right; }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.32s; }
.d4 { transition-delay: 0.46s; }

/* ══════════════════════════════
   SCRATCH TO REVEAL
══════════════════════════════ */
.scratch-section {
  padding: 28px 10px;
  text-align: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scratch-instruction {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  font-style: italic;
  margin-top: -8px;
}

.scratch-card-outer {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: visible;
  border: 0.5px solid rgba(154,125,88,0.35);
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
}

canvas.scratch-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 10px;
  touch-action: none;
  overflow: hidden;
}

.scratch-reveal {
  position: absolute;
  inset: 0;
  background: var(--parchment-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1;
}

.scratch-day {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--walnut);
}

.scratch-date {
  font-family: 'Great Vibes', cursive;
  font-size: 72px;
  color: var(--walnut);
  line-height: 1;
}

.scratch-month-year {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--walnut);
}

.scratch-venue {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  font-style: italic;
  margin-top: 2px;
}



.scratch-done {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-style: italic;
  opacity: 0;
  transition: opacity 0.6s;
  height: 18px;
}

.scratch-done.show { opacity: 1; }

/* ══════════════════════════════
   NAMES PANEL
══════════════════════════════ */
.names-panel {
  padding: 36px 36px 10px;
  text-align: center;
}

.names-eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 8.5px;
  letter-spacing: 5.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.names-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--walnut);
  line-height: 1.5;
  margin-bottom: 20px;
}

.names-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.names-rule::before,
.names-rule::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.4;
}

.names-ornament {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 7px;
  color: var(--gold);
  opacity: 0.6;
}

.names-big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(50px, 14vw, 66px);
  font-weight: 300;
  letter-spacing: 10px;
  color: var(--espresso);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.names-formal {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--walnut);
  display: block;
  margin-bottom: 5px;
}

.names-script {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: var(--gold);
  display: block;
  line-height: 1.3;
}

.names-amp-block {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.names-short-rule {
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.35;
}

.names-amp {
  font-family: 'Great Vibes', cursive;
  font-size: 54px;
  color: var(--gold);
  line-height: 1;
  display: block;
}

/* ══════════════════════════════
   PHOTO GRID — OFFSET PORTRAIT
══════════════════════════════ */
.pg-wrap {
  padding: 0px 0px 0px;
}

.pg-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pg-col {
  flex: 1;
}

.pg-col-right {
  margin-top: 48px;
}

.pg-photo {
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
  margin-top:20px;
}

.pg-label {
  padding: 12px 20px 0;
  margin-top: 15px;
}

.pg-label-right {
  text-align: right;
}

.pg-role {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.pg-slash {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--gold-light);
  margin: 0 5px;
}

.pg-name {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: var(--mist);
  display: block;
  margin-top: 2px;
  line-height: 1.2;
}

/* ══════════════════════════════
   VENUE / TIMELINE / DRESS CODE TABS
══════════════════════════════ */
.vs { padding-bottom: 40px; }

.vs-tab-hint {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 11px;
  font-style: italic;
  color: var(--gold);
  opacity: 0.7;
  text-align: center;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.vs-tabs {
  display: flex;
  border-bottom: 0.5px solid rgba(154,125,88,0.3);
  margin-bottom: 0;
}

.vs-tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  cursor: pointer;
  border: none;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -0.5px;
  background: none;
  transition: opacity 0.2s, border-color 0.2s;
}

.vs-tab.active {
  opacity: 1;
  border-bottom: 1.5px solid var(--gold);
  color: var(--walnut);
}

.vs-panel { display: none; padding: 32px 29px 0; }
.vs-panel.active { display: block; }

.vs-header {
  font-family: 'Great Vibes', cursive;
  font-size: 38px;
  color: var(--gold);
  text-align: center;
  display: block;
  margin-bottom: 6px;
}

.vs-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--walnut);
  text-align: center;
  display: block;
  margin-bottom: 4px;
}

.vs-detail {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.9;
  text-align: center;
}

.vs-hint {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 11px;
  font-style: italic;
  color: var(--gold);
  text-align: center;
  display: block;
  margin: 18px 0 12px;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.vs-nav-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.vs-btn {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  border: 0.5px solid rgba(154,125,88,0.5);
  background: transparent;
  color: var(--walnut);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.vs-btn:hover { background: rgba(154,125,88,0.08); }

.vs-map {
  width: 100%;
  height: 130px;
  border: 0.5px solid rgba(154,125,88,0.3);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: var(--parchment-deeper);
}

.vs-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,125,88,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,125,88,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.vs-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  text-align: center;
}

.vs-pin-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 8px;
  box-shadow: 0 0 0 4px rgba(154,125,88,0.2);
}

.vs-pin-txt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.vs-save {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.45;
  text-align: center;
  display: block;
  margin-top: 18px;
}

.vs-timeline { list-style: none; margin-top: 8px; }

.vs-timeline li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(154,125,88,0.15);
}

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

.vs-tl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  margin-top: 6px;
  flex-shrink: 0;
}

.vs-time {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  min-width: 60px;
  padding-top: 2px;
}

.vs-event-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--walnut);
  display: block;
}

.vs-event-sub {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 12px;
  font-style: italic;
  color: var(--mist);
  display: block;
  margin-top: 1px;
}

.vs-dc-cards {
  display: flex;
  gap: 10px;
}

.vs-dc-card {
  flex: 1;
  border: 0.5px solid rgba(154,125,88,0.3);
  padding: 20px 12px;
  text-align: center;
}

.vs-dc-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 0.5px solid rgba(154,125,88,0.25);
}

.vs-dc-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.vs-dc-desc {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 12px;
  font-style: italic;
  color: var(--mist);
  line-height: 1.6;
}

.vs-dc-note {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 12px;
  font-style: italic;
  color: var(--mist);
  text-align: center;
  margin-top: 18px;
  line-height: 1.8;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245,240,232,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.slide-dot.active {
  background: rgba(245,240,232,0.95);
}

.footer {
  padding-bottom: 0;
}

/* ══════════════════════════════
   MUSIC BUTTON
══════════════════════════════ */
#music-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#music-btn.visible {
  opacity: 1;
}

#music-btn svg {
  width: 80%;
  height: 80%;
  display: block;
}

#music-btn.playing svg {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ══════════════════════════════
   DESKTOP
══════════════════════════════ */
@media(min-width:480px) {
  body {
    background: #EDE8DF;
    background-image: none;
  }
  .wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 32px rgba(0,0,0,.28), 0 20px 80px rgba(0,0,0,.20);
  }
  .wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 100vh;
    background-image: url('Background.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.5;
  }
  .invitation {
    position: relative;
    z-index: 1;
    background: transparent;
  }
  .entrance {
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    max-width: 100%;
  }
}

/* CHANGE CURSOR */
* { cursor: url('images/cursor.svg') 16 16, auto; }
a, button { cursor: url('images/cursor.svg') 16 16, pointer; }

/* STOP HIGHLIGHTING */
* { -webkit-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
#slideshow img { -webkit-user-drag: none; user-drag: none; draggable: false; touch-action: none; }

/* ══ NAME REVEAL ANIMATION ══ */
.name-reveal {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.name-reveal.name-visible {
  opacity: 1;
  transform: scale(1);
}
.name-reveal-delay-1 { transition-delay: 0.35s; }
.name-reveal-delay-2 { transition-delay: 0.7s; }

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}