.slide-up {
  opacity: 0;
  transform: translateY(8px);
  animation: slideup .7s ease .2s forwards;
}

@keyframes slideup {
  to { opacity: 1; transform: none; }
}
/* Google Fonts import suggestion in HTML: Playfair Display + Inter */
/* Self-hosted font: Million Astteroids */
@font-face {
  font-family: "DalgonaBestolen";
  src: url("/public/fonts/dalgona-bestolen/Dalgona Bestolen.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
    font-family: "JohnFoster";
    src: url("/public/fonts/johnfoster-font/Johnfoster-qZjj6.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
:root {
  --bg: #ffffff;
  --text: #1a1c1a;
  --muted: #5f6561;
  --accent: #8aa889; /* sage aligned to photo greens */
  --accent-2: #f5e7ec; /* soft blush */
  --border: #e7e7e7;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 24px;
}

.hero {
  position: relative;
  padding: 96px 24px 56px 24px;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-family: 'DalgonaBestolen', 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.hero p.subtitle {
  color: var(--muted);
  margin: 0 0 24px 0;
  font-size: 18px;
}

.floral {
  position: absolute;
  inset: -40px -40px auto -40px;
  height: 480px;
  background: radial-gradient(160px 100px at 20% 60%, rgba(243, 232, 238, 0.7), transparent),
              radial-gradient(140px 70px at 80% 40%, rgba(135, 169, 127, 0.15), transparent);
  filter: blur(12px);
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(245,231,236,.95), rgba(245,231,236,0) 70%) , #fff;
  z-index: 9999;
  pointer-events: none;
  transform: scale(1);
  opacity: 0;
  transition: opacity .5s ease, clip-path 1s ease;
  clip-path: circle(0% at 50% 50%);
}
.page-transition.show {
  opacity: 1;
  clip-path: circle(150% at 50% 50%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-photo-wrap {
  position: relative;
  max-width: 980px;
  margin: 24px auto 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.18), 0 6px 20px rgba(0,0,0,.08);
  aspect-ratio: 3 / 4; /* portrait container */
}
.
.lqip-bg {
  position:absolute;
  inset:0;
  background-size: cover;
  background-position:center;
  filter: blur(20px);
  transform: scale(1.06);
  transition: opacity .6s ease;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.0), rgba(255,255,255,.25) 60%, rgba(255,255,255,.55) 100%);
  pointer-events: none;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.0), rgba(255,255,255,.12) 70%, rgba(255,255,255,.45)),
              radial-gradient(100% 100% at 50% 100%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: kenburns 26s ease-out forwards;
  will-change: transform;
  position: relative;
  z-index: 1;
}

@keyframes kenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.07); }
}

.hero-caption {
  position:absolute;
  left: 16px;
  bottom: 16px;
  display:flex;
  gap:12px;
  align-items: center;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(231,231,231,.8);
  border-radius: 999px;
  padding: 8px 14px;
  z-index: 2;
}

.monogram {
  font-family: 'DalgonaBestolen', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--accent);
}

.caption-text {
  font-size: 14px;
  color: var(--text);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail {
  background: linear-gradient(180deg, #fff, #fff), var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.detail h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.detail p {
  margin: 0;
  font-size: 18px;
}

form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 6px 0;
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

textarea { min-height: 96px; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(135,169,127,.15);
}

.btn {
  appearance: none;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 20px rgba(135,169,127,.25);
  position: relative;
  overflow: hidden;
}

.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.btn .sparkle {
  position:absolute;
  width:6px; height:6px;
  background: radial-gradient(circle at center, #fff, rgba(255,255,255,0));
  pointer-events:none;
  animation: sparkle .8s ease-out forwards;
}

@keyframes sparkle {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 12px 16px;
  border-radius: 10px;
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fade 0.6s ease forwards;
}

@keyframes fade {
  to { opacity: 1; transform: none; }
}

.hero-ornament {
  position:absolute;
  right:-40px;
  top:-20px;
  width:420px;
  opacity:.65;
  transform: translateZ(0);
  pointer-events:none;
}

.hero canvas#petals-canvas,
.hero canvas#confetti-canvas {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}

/* Global petals overlay */
#global-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.reveal { opacity: 0; transform: translateY(12px); }
.reveal.show { opacity: 1; transform: none; transition: all .6s ease; }

/* Save page title override */
.save-title { font-family: 'DalgonaBestolen', 'Playfair Display', serif; }

@media (max-width: 720px) {
  .details { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-photo-wrap { border-radius: 14px; }
}

