:root {
      --plum: #57365e;
      --plum-dark: #392447;
      --lilac: #d9c4ed;
      --pink: #f5c5df;
      --rose: #b65e8c;
      --cream: #fffaf7;
      --gold: #c49b58;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0; color: var(--plum-dark); background: var(--cream);
      font-family: Georgia, "Times New Roman", serif; line-height: 1.55;
    }
    a { color: inherit; }
    .hero {
      min-height: 690px; padding: 28px 22px 74px; position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center; text-align: center;
      background: radial-gradient(ellipse at 50% 78%, #fff8fc 0, #f9e8f6 48%, #e7d7f1 100%);
    }
    .hero::before, .hero::after { content: "✦"; position: absolute; color: #fff; opacity: .82; font-size: 28px; text-shadow: 0 0 20px #b48bc9; }
    .hero::before { top: 16%; left: 14%; }
    .hero::after { top: 29%; right: 16%; font-size: 20px; }
    .hero-inner { position: relative; z-index: 1; max-width: 760px; }
    .eyebrow { text-transform: uppercase; letter-spacing: .24em; font: 600 11px/1.4 Arial, sans-serif; color: var(--rose); }
    h1 { margin: 15px 0 8px; font-size: clamp(48px, 9vw, 92px); line-height: .98; font-weight: 500; color: var(--plum); }
    .name { display: block; color: #a44d7a; font-style: italic; }
    .turning { margin: 16px auto 25px; font-size: clamp(18px, 3vw, 24px); }
    .ornament { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--gold); font-size: 15px; }
    .ornament::before, .ornament::after { content: ""; width: 74px; height: 1px; background: #c6a96f; }
    .castle { width: min(440px, 82vw); height: 150px; margin: 17px auto 10px; }
    .details { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0; font-size: 17px; }
    .details span { white-space: nowrap; }
    .button { display: inline-block; border: 0; border-radius: 999px; background: var(--plum); color: white; padding: 13px 25px; text-decoration: none; font: 600 13px Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px #57365e30; }
    .button:hover { background: #744879; transform: translateY(-1px); }
    .section { padding: 74px 22px; }
    .section-inner { width: min(920px, 100%); margin: 0 auto; }
    .intro { text-align: center; background: #fffdfb; }
    h2 { margin: 0 0 12px; color: var(--plum); font-size: clamp(30px, 5vw, 45px); font-weight: 500; text-align: center; }
    .intro p { max-width: 620px; margin: 0 auto; font-size: 18px; }
    .event { background: linear-gradient(135deg, #f2e7f7, #fdebf3); }
    .event-card { background: #fffaf8ed; border: 1px solid #e8d5e8; border-radius: 22px; padding: clamp(24px, 5vw, 46px); text-align: center; box-shadow: 0 14px 38px #603c6420; }
    .event-card p { margin: 12px auto; max-width: 660px; font-size: 18px; }
    .event-card .label { font: 600 10px Arial,sans-serif; text-transform: uppercase; letter-spacing: .18em; color: var(--rose); }
    .deadline { margin-top: 25px !important; padding-top: 20px; border-top: 1px solid #eadce9; font-size: 15px !important; }
    .photos { background: #fffdfb; }
    .photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
    .photo-slot { aspect-ratio: 4/5; border-radius: 18px; border: 1px dashed #c4a3cb; background: linear-gradient(145deg, #fbecf6, #ede4f8); display: grid; place-items: center; padding: 18px; text-align: center; color: #805c85; }
    .photo-slot span { display:block; font-size: 30px; margin-bottom: 8px; }
    .photo-note { text-align: center; color: #745d75; font: 13px Arial,sans-serif; margin-top: 16px; }
    .rsvp { background: linear-gradient(145deg, #eee2f5, #fce8f2); }
    .rsvp-box { max-width: 610px; margin: 28px auto 0; padding: 28px; border-radius: 20px; background: #fffdfb; text-align: center; border: 1px solid #ead8ea; }
    .rsvp-box p { margin: 0; }
    .rsvp-status { margin-top: 18px !important; font: 600 12px Arial,sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #976b9b; }
    footer { padding: 27px 20px; text-align: center; color: #755b79; background: #fffaf7; font-size: 14px; }
    @media (max-width: 620px) {
      .hero { min-height: 640px; padding-bottom: 55px; }
      .details { flex-direction: column; gap: 4px; }
      .photo-grid { grid-template-columns: 1fr; max-width: 330px; margin-left: auto; margin-right: auto; }
      .photo-slot { aspect-ratio: 5/3; }
      .section { padding: 56px 18px; }
    }


.hero-photo { display: block; width: min(296px, 85vw); height: auto; margin: 18px auto 8px; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 8px 24px #603c641a; }
.photo-card { margin: 0; overflow: hidden; border-radius: 18px; background: #f7eaf5; box-shadow: 0 8px 24px #603c641a; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.photo-card figcaption { padding: 12px; text-align: center; color: var(--plum); font-style: italic; }
.rsvp-form { display: grid; gap: 9px; margin-top: 24px; text-align: left; }
.rsvp-form label { font: 600 13px Arial, sans-serif; color: var(--plum); margin-top: 7px; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #d9c4df; border-radius: 10px; background: #fff; color: var(--plum-dark); font: 16px Arial, sans-serif; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { outline: 2px solid #a978b2; outline-offset: 1px; }
.rsvp-form button { justify-self: center; margin-top: 10px; cursor: pointer; }
.form-status { text-align: center; color: #745d75; font: 13px Arial, sans-serif; margin-top: 7px !important; }

.rsvp-form button:disabled { opacity: .55; cursor: not-allowed; }



@media (max-width: 620px) {
  .hero-photo { width: min(330px, calc(100vw - 36px)); height: auto; }
}






.footer-credit { display: block; margin-top: 4px; font-size: 12px; }

