@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=Jost:wght@300;400;500&family=Great+Vibes&display=swap');

:root {
  --blush:    #F9F0F3;
  --rose-lt:  #F2D7E0;
  --rose:     #D9A8B8;
  --rose-dk:  #A86880;
  --mauve:    #7A4E5E;
  --mauve-lt: #C48EA0;
  --sage:     #B8C9B0;
  --warm-w:   #FDFAF8;
  --ink:      #2D1F28;
  --stone:    #7A6470;
  --border:   #EAD8DF;

  --script:  'Great Vibes', cursive;
  --serif:   'Lora', Georgia, serif;
  --sans:    'Jost', sans-serif;

  --max: 1060px;
  --sec: clamp(4.5rem, 9vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--warm-w);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── UTILS ── */
.container { width: min(var(--max), 100%); margin-inline: auto; padding-inline: clamp(1.25rem,5vw,3rem); }
.chip {
  display: inline-block;
  padding: .3rem 1.1rem;
  border: 1px solid var(--rose);
  border-radius: 20px;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 1rem;
}
.petal-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem auto;
  max-width: 200px;
  justify-content: center;
}
.petal-line::before, .petal-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rose);
}
.petal-line span { color: var(--rose-dk); font-size: .9rem; }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .45s; }
.d5 { transition-delay: .6s; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.05);
  animation: gentleZoom 16s ease forwards;
}
@keyframes gentleZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(217,168,184,.35) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(249,240,243,.2) 0%, rgba(249,240,243,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 820px;
}
.hero-intro {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mauve);
  opacity: 0;
  animation: softUp .8s .3s forwards;
  display: block;
  margin-bottom: 1.5rem;
}
.hero-script {
  font-family: var(--script);
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--mauve);
  line-height: 1;
  opacity: 0;
  animation: softUp 1s .55s forwards;
  display: block;
}
.hero-amp-r { color: var(--rose-dk); }
.hero-names-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--mauve-lt);
  letter-spacing: .05em;
  margin-top: .5rem;
  opacity: 0;
  animation: softUp .8s .8s forwards;
  display: block;
}
.hero-date-r {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: softUp .8s 1s forwards;
}
.hero-date-r span {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--mauve);
}
.hero-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.hero-petals {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: 0;
  animation: softUp .8s 1.3s forwards;
}
.petal-drops { display: flex; gap: 4px; }
.petal-drops span {
  width: 3px;
  border-radius: 2px;
  background: var(--rose);
  animation: petalPulse 1.8s ease-in-out infinite;
}
.petal-drops span:nth-child(1) { height: 16px; animation-delay: 0s; }
.petal-drops span:nth-child(2) { height: 24px; animation-delay: .2s; }
.petal-drops span:nth-child(3) { height: 16px; animation-delay: .4s; }
@keyframes petalPulse {
  0%,100% { opacity: .4; } 50% { opacity: 1; }
}
@keyframes softUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── STORY ── */
.story { padding: var(--sec) 0; background: var(--warm-w); }
.story-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.story-wrap h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--mauve);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.story-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--stone);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.story-sign {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--mauve-lt);
  display: block;
  margin-top: 1.5rem;
}

/* ── TIMELINE ── */
.timeline { padding: var(--sec) 0; background: var(--blush); }
.timeline h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem,5vw,3.8rem);
  color: var(--mauve);
  text-align: center;
  margin-bottom: 3rem;
}
.tl-soft {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-soft-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.tl-soft-item:last-child { border-bottom: none; }
.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.tl-time-r {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--mauve-lt);
  white-space: nowrap;
}
.tl-petal {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: var(--rose-lt);
  margin-top: 6px;
}
.tl-right h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mauve);
  margin-bottom: .2rem;
}
.tl-right p { font-size: .88rem; color: var(--stone); }

/* ── VENUE ── */
.venue { padding: var(--sec) 0; background: var(--warm-w); }
.venue-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,3rem);
}
.venue-img-wrap {
  position: relative;
}
.venue-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--rose-lt);
  z-index: 0;
  border-radius: 2px;
}
.venue-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.venue-text h2 {
  font-family: var(--script);
  font-size: clamp(2rem,4vw,3rem);
  color: var(--mauve);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.venue-subtitle {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mauve-lt);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.venue-addr-r { color: var(--stone); font-size: .92rem; line-height: 1.8; margin-bottom: 2rem; }
.btn-rose {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.75rem;
  border: 1px solid var(--rose);
  color: var(--mauve);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  transition: background .3s, color .3s;
}
.btn-rose:hover { background: var(--rose); color: var(--warm-w); }

/* ── INFO ── */
.info { padding: var(--sec) 0; background: var(--blush); }
.info h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem,5vw,3.6rem);
  color: var(--mauve);
  text-align: center;
  margin-bottom: 2.5rem;
}
.info-petals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.info-petal {
  background: var(--warm-w);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow .3s, border-color .3s;
}
.info-petal:hover { box-shadow: 0 8px 32px rgba(168,104,128,.12); border-color: var(--rose); }
.info-petal-icon { font-size: 1.5rem; display: block; margin-bottom: .75rem; }
.info-petal h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mauve-lt); margin-bottom: .6rem; }
.info-petal p { font-size: .88rem; color: var(--stone); line-height: 1.7; }

/* ── RSVP ── */
.rsvp { padding: var(--sec) 0; background: var(--warm-w); }
.rsvp-center { max-width: 520px; margin: 0 auto; text-align: center; }
.rsvp h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem,5vw,3.6rem);
  color: var(--mauve);
  margin-bottom: .5rem;
}
.rsvp-note-r { color: var(--stone); font-style: italic; margin-bottom: 2.5rem; }
.rsvp-note-r strong { color: var(--mauve-dk,var(--mauve)); }
.r-group { margin-bottom: 1rem; text-align: left; }
.r-group input, .r-group select {
  width: 100%;
  padding: .9rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--warm-w);
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
  appearance: none;
}
.r-group input:focus, .r-group select:focus { border-color: var(--rose); }
.r-group input::placeholder { color: var(--stone); }
.rsvp-btns { display: flex; gap: .75rem; margin-bottom: 1rem; }
.r-toggle {
  flex: 1;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--warm-w);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--stone);
  cursor: pointer;
  transition: all .25s;
}
.r-toggle.active { border-color: var(--rose-dk); background: var(--rose-lt); color: var(--mauve); }
.btn-rose-full {
  width: 100%;
  padding: .95rem;
  background: var(--mauve);
  color: var(--warm-w);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  cursor: pointer;
  margin-top: .5rem;
  transition: background .25s;
}
.btn-rose-full:hover { background: var(--rose-dk); }
.r-success { display: none; padding: 2.5rem 0; }
.r-success .s-script {
  font-family: var(--script);
  font-size: 2.5rem;
  color: var(--mauve);
  display: block;
  margin-bottom: .75rem;
}
.r-success p { color: var(--stone); font-style: italic; font-family: var(--serif); }

/* ── GALLERY ── */
.gallery { padding: var(--sec) 0; background: var(--blush); }
.gallery h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem,5vw,3.6rem);
  color: var(--mauve);
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-soft {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 280px 200px;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,3rem);
}
.gs-item { overflow: hidden; border-radius: 12px; }
.gs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gs-item:hover img { transform: scale(1.04); }
.gs-item:nth-child(1) { grid-column: 1/2; grid-row: 1/2; }
.gs-item:nth-child(2) { grid-column: 2/3; grid-row: 1/3; }
.gs-item:nth-child(3) { grid-column: 3/4; grid-row: 1/2; }
.gs-item:nth-child(4) { grid-column: 1/2; grid-row: 2/4; }
.gs-item:nth-child(5) { grid-column: 3/4; grid-row: 2/3; }
.gs-item:nth-child(6) { grid-column: 2/4; grid-row: 3/4; }

/* ── PHOTO UPLOAD ── */
.photo-upload { padding: var(--sec) 0; background: var(--warm-w); }
.photo-upload-c { max-width: 680px; margin: 0 auto; text-align: center; }
.photo-upload h2 {
  font-family: var(--script);
  font-size: clamp(2.4rem,5vw,3.6rem);
  color: var(--mauve);
  margin-bottom: .5rem;
}
.photo-upload-sub { font-family: var(--serif); font-style: italic; color: var(--stone); margin-bottom: 2.5rem; }
.pin-soft { max-width: 340px; margin: 0 auto; }
.pin-lbl { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve-lt); display: block; margin-bottom: .75rem; }
.pin-soft-row { display: flex; gap: .75rem; }
.pin-soft-row input {
  flex: 1;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: .25em;
  text-align: center;
  outline: none;
  color: var(--ink);
  background: var(--warm-w);
  transition: border-color .25s;
}
.pin-soft-row input:focus { border-color: var(--rose); }
.btn-pin-rose {
  padding: .85rem 1.25rem;
  background: var(--rose-dk);
  color: var(--warm-w);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s;
}
.btn-pin-rose:hover { background: var(--mauve); }
.pin-hint-r { font-size: .8rem; color: var(--stone); margin-top: .65rem; font-style: italic; }
.upload-soft { display: none; }
.upload-soft.open { display: block; animation: softUp .5s forwards; }
.drop-rose {
  border: 1px dashed var(--rose);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  margin: 2rem 0;
  cursor: pointer;
  background: var(--blush);
  transition: background .25s;
}
.drop-rose:hover { background: var(--rose-lt); }
.drop-icon-r { font-size: 1.75rem; display: block; margin-bottom: .6rem; }
.drop-text-r { font-family: var(--serif); font-style: italic; color: var(--mauve-lt); }
.drop-sub-r { font-size: .8rem; color: var(--stone); margin-top: .3rem; }
.preview-round {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 1.5rem;
}
.preview-round-item { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; border: 2px solid var(--rose-lt); }
.preview-round-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── FOOTER ── */
footer {
  background: var(--blush);
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}
.f-script {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--mauve);
  display: block;
  margin-bottom: .25rem;
}
.f-d { font-size: .78rem; letter-spacing: .18em; color: var(--mauve-lt); }
.f-c {
  font-size: .78rem;
  color: var(--stone);
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.f-c a { color: var(--rose-dk); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .venue-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .venue-img-wrap::before { display: none; }
  .gallery-soft { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gs-item { grid-column: auto !important; grid-row: auto !important; height: 200px; }
}
@media (max-width: 560px) {
  .gallery-soft { grid-template-columns: 1fr; }
  .gs-item { height: 220px; }
  .pin-soft-row { flex-direction: column; }
}
