/* En åpen eventyrscene, med kort vei til påmeldingen rett nedenfor. */
.hero { display: flex; align-items: center; padding: 64px max(7vw,24px) 110px; min-height: 810px; }
.hero-copy { width: 42%; max-width: 510px; padding: 0; z-index: 4; }
.hero h1 { font-size: clamp(52px,5.4vw,78px); margin-top: 25px; margin-bottom: 24px; }
.hero-intro { margin-bottom: 9px; font-size: 20px; }
.hero-date { font-size: 19px; font-weight: 900; line-height: 1.5; }
.hero-meta { margin-top: 6px; font-size: 15px; gap: 11px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 27px; }
.hero-rsvp-link { font-size: 15px; min-height: 57px; padding: 13px 22px; gap: 17px; }
.hero-wish-link { display: inline-flex; align-items: center; gap: 12px; background: #fff7e7e8; border: 2px solid #fffaf1; border-radius: 100px; padding: 8px 17px; text-decoration: none; font-size: 13px; font-weight: 900; box-shadow: 0 3px 0 #d799bd44; }
.hero-wish-link:hover { background: #fff1b9; }
.hero-illustration { inset: 0; background-size: cover; background-position: center 55%; }
.hero:before { background: linear-gradient(90deg,#ffe0eddb 0%,#ffe0eda6 25%,#ffe0ed28 45%,transparent 62%); }
.hero-olivia { position: absolute; left: 57.5%; bottom: 35px; width: clamp(260px,25vw,365px); margin: 0; transform: translateX(-50%); z-index: 2; }
.olivia-storybook { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(3px 7px 0 #b882b23b); }
.hero-olivia svg { stroke: none; }
.olivia-cloud { position: absolute; width: 136%; height: auto; left: -18%; bottom: -5%; filter: drop-shadow(2px 6px 0 #d9a9c353); }
.hero-olivia figcaption { position: absolute; bottom: 1%; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 5px 15px; border: 2px solid #fff; border-radius: 15px; white-space: nowrap; color: #985177; background: #fff0bb; font-size: 13px; font-weight: 900; }
.hero-olivia figcaption span { color: #c24d85; }
.story-star { position: absolute; color: #f4c54d; text-shadow: 2px 3px 0 #fff8e9; pointer-events: none; }
.story-star-one { font-size: 55px; right: -11%; top: 11%; transform: rotate(12deg); }
.story-star-two { font-size: 44px; left: -6%; top: 28%; color: #b181c5; transform: rotate(-12deg); }
.story-ball { position: absolute; width: 27px; height: 27px; border: 3px solid #fffaf3; border-radius: 50%; box-shadow: inset -4px -4px 0 #be77ae29,2px 3px 0 #a47dac2e; }
.story-ball-one { background: #d3bce9; left: -9%; bottom: 13%; }
.story-ball-two { background: #b8daca; right: -11%; bottom: 22%; width: 22px; height: 22px; }
.quick-rsvp.rsvp-section { padding: 55px 24px 60px; background: #fae5f0; overflow: hidden; }
.quick-rsvp.rsvp-section:before { background-image: radial-gradient(#fff9fc 2px,transparent 2.5px); opacity: .65; }
.quick-rsvp.rsvp-section:after { display: none; }
.quick-rsvp .reply-card { width: 100%; max-width: 540px; margin: auto; padding: 28px 31px; border-radius: 28px 33px 30px 34px; background: #fffaf5; }
.quick-reply-heading { text-align: center; margin-bottom: 22px; }
.quick-reply-heading h2 { font-size: 30px; line-height: 1.35; letter-spacing: -1px; }
.quick-reply-heading>p { font-size: 14px; font-weight: 900; margin-top: 7px; color: #9a5080; }
.invitation-status { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.saved-rsvp { min-width: 0; padding: 21px; border: 2px solid #efd2e1; border-radius: 23px 27px 25px 22px; background: #f9eaf2; overflow-wrap: anywhere; }
.saved-rsvp:focus-visible { outline: 3px solid #8e477f; outline-offset: 5px; }
.saved-rsvp-attendance { color: #824766; font-size: 16px; font-weight: 900; }
.saved-rsvp-names { display: grid; gap: 5px; margin: 11px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.saved-rsvp-names li { min-width: 0; }
.saved-rsvp-count { margin-top: 10px; color: #7e5471; font-size: 13px; font-weight: 800; }
.saved-rsvp-dietary { margin-top: 16px; padding: 11px 13px; border-radius: 13px; background: #fffaf5; font-size: 14px; white-space: pre-line; }
.saved-rsvp-time { margin-top: 13px; color: #7e5471; font-size: 12px; }
.saved-rsvp-edit { width: 100%; min-height: 48px; margin-top: 20px; }
.original-invitation { margin-top: 21px; border-top: 1px solid #dfc4d4; padding-top: 6px; }
.original-invitation summary { min-height: 44px; padding: 11px 0; color: #7e5471; font-size: 13px; font-weight: 800; cursor: pointer; }
.original-invitation summary:focus-visible { outline: 3px solid #8e477f; outline-offset: 4px; border-radius: 5px; }
.original-invitation .saved-rsvp-names { margin-top: 2px; color: #7e5471; font-size: 13px; }
.cancel-response { width: 100%; min-height: 44px; margin-top: 12px; border: 1px solid #dfc4d4; color: #824766; background: #f9eaf2; font-size: 14px; font-weight: 800; }
.cancel-response:hover { background: #efd2e1; }
.rsvp-fields { min-width: 0; }
.attendance-options { margin-bottom: 20px; }
.quick-rsvp .attendance-option>span { font-size: 13px; min-height: 49px; padding: 8px 5px; }
.count-field { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 14px; margin-bottom: 22px; background: #f9eaf2; border-radius: 18px; }
.count-field>label { margin: 0; font-size: 14px; }
.count-field .number-stepper { flex-shrink: 0; width: 142px; height: 49px; padding: 4px; gap: 4px; justify-content: space-between; background: #fffdfa; }
.count-field .number-stepper button { width: 36px; height: 36px; min-width: 36px; }
.count-field .number-stepper input { width: 36px; min-width: 0; font-size: 16px; }
.guest-names-fieldset { min-width: 0; margin-bottom: 21px; }
.guest-names-fieldset>legend { margin-bottom: 0; font-size: 16px; }
.guest-names-hint { font-size: 12px; color: #82667d; margin: 4px 0 14px; }
.guest-name-fields { display: grid; gap: 13px; margin-top: 12px; }
.guest-name-fields .form-field { min-width: 0; margin: 0; }
.guest-name-fields label { font-size: 13px; margin-bottom: 6px; }
.guest-name-fields input { display: block; width: 100%; height: 49px; min-height: 49px; font-size: 16px; padding: 10px 12px; }
.guest-name-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 10px; }
.guest-name-row>label { grid-column: 1 / -1; }
.guest-name-row .remove-person { align-self: stretch; min-height: 44px; padding: 8px 12px; border: 1px solid #dfc4d4; border-radius: 14px; background: #f6e8ef; color: #824766; font-size: 13px; font-weight: 800; white-space: nowrap; }
.guest-name-row .remove-person:hover { background: #efd2e1; }
.guest-name-row .remove-person:disabled { opacity: .45; cursor: default; }
.dietary-details { margin-bottom: 19px; }
.dietary-details summary { font-size: 13px; color: #7e5471; cursor: pointer; width: fit-content; padding: 6px 0; }
.dietary-details summary:focus-visible { outline: 3px solid #8e477f; outline-offset: 4px; border-radius: 5px; }
.dietary-details summary>span { font-size: 11px; color: #927b8b; margin-left: 5px; }
.dietary-details textarea { width: 100%; min-height: 75px; margin-top: 9px; border: 2px solid #e3cede; border-radius: 14px; background: #fffdfa; color: var(--ink); padding: 11px; font-size: 15px; resize: vertical; }
.quick-rsvp .submit-button { min-height: 52px; }
.quick-rsvp .form-privacy { font-size: 11px; margin-top: 12px; }
.quick-rsvp .setup-notice { font-size: 11px; padding: 7px 10px; margin-top: 12px; }
.quick-rsvp .form-feedback { font-size: 12px; padding: 10px; }
.quick-rsvp .rsvp-success { padding: 28px 3px 24px; }
.quick-rsvp .rsvp-success h3 { font-size: 26px; }
.birthday-seal { top: 38px; bottom: auto; right: 5%; left: auto; width: 94px; height: 94px; z-index: 3; }
.birthday-seal strong { font-size: 39px; }
.birthday-seal span { font-size: 6px; }
.celebration-message { top: 151px; bottom: auto; right: 4%; left: auto; font-size: 14px; max-width: 230px; }
.cloud-one { display: none; }
.cloud-two { display: none; }
.scroll-note { left: max(7vw,24px); bottom: 31px; transform: none; font-size: 11px; padding: 5px 15px; }
.scroll-note>span { display: none; }
.invitation { max-width: 830px; padding-top: 70px; padding-bottom: 68px; }
.invitation h2 { font-size: 34px; margin: 23px 0 20px; }
.invitation>p:not(.eyebrow) { max-width: 580px; font-size: 17px; }
.portrait-frame { margin-bottom: 30px; }
.world-heading h2 { margin-top: 0; margin-bottom: 15px; font-size: 39px; }
.world-heading>p:last-child { font-size: 16px; }
.world-card>p { font-size: 16px; }
.world-card { padding-bottom: 25px; }
.practical { padding-top: 62px; padding-bottom: 70px; }
.section-heading h2 { margin-top: 0; font-size: 38px; }
.detail-card { min-height: 275px; }
.travel-directions { margin-top: 10px; font-size: 13px; text-align: left; width: 100%; }
.travel-directions summary { min-height: 44px; padding: 10px 0; font-weight: 800; cursor: pointer; }
.travel-directions summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 5px; }
.travel-directions p { margin-top: 6px; line-height: 1.65; }
.wishlist-section { padding: 62px max(7vw,24px) 70px; background: #fff0c6; position: relative; }
.wishlist-heading { max-width: 900px; margin: auto; text-align: center; }
.gift-flower { display: inline-block; font: 57px/1 Georgia,serif; color: #cc7aa3; margin-bottom: 13px; }
.wishlist-heading h2 { font-size: 38px; margin-bottom: 27px; line-height: 1.3; }
.wishlist-link { min-width: 230px; }
.facebook-event-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 29px auto 0; text-decoration: none; font-size: 14px; font-weight: 900; }
.facebook-event-link>span:first-child { font: 900 20px/1 var(--sans); color: #5d76a8; background: #fffaf1; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; }
.closing { padding-top: 32px; padding-bottom: 32px; background: var(--cream); }
.closing p { font-size: 25px; }
.site-footer { border-top: 1px solid #eedde6; }
.mobile-rsvp { display: none; }
@media(min-width:1600px) { .hero { min-height: 880px; padding-top: 80px; padding-bottom: 110px; } .hero-copy { padding-top: 0; } .hero h1 { font-size: 87px; } .hero-olivia { width: 390px; } }
@media(max-width:1180px) and (min-width:901px) {
  .hero { padding-left: 5vw; padding-right: 5vw; min-height: 770px; }
  .hero-copy { width: 40%; max-width: 400px; }
  .hero h1 { font-size: 56px; }
  .hero-date { font-size: 17px; }
  .hero-meta { font-size: 13px; }
  .hero-olivia { left: 58.5%; width: 270px; }
  .hero-actions { gap: 16px; }
  .hero-rsvp-link { font-size: 14px; padding: 12px 18px; }
  .birthday-seal { right: 4%; transform: rotate(11deg) scale(.85); }
  .scroll-note { left: 5vw; }
}
@media(max-width:900px) {
  .hero { display: block; min-height: 810px; padding: 31px 27px 465px; }
  .hero-copy { width: 100%; padding: 0; max-width: 560px; }
  .hero-copy .eyebrow { display: none; }
  .hero h1 { font-size: clamp(35px,7.8vw,54px); line-height: 1.2; margin-top: 0; margin-bottom: 17px; }
  .hero h1 br { display: none; }
  .hero h1 em { font-size: 1.05em; line-height: 1.15; }
  .hero-intro { font-size: 16px; margin-bottom: 9px; }
  .hero-date { font-size: 18px; }
  .hero-meta { font-size: 13px; margin-top: 4px; }
  .hero-actions { margin-top: 21px; gap: 15px; }
  .hero .hero-rsvp-link { font-size: 14px; padding: 12px 18px; min-height: 55px; }
  .hero-wish-link { font-size: 12px; padding: 7px 14px; gap: 11px; }
  .hero-illustration { inset: auto 0 0; height: 530px; background-size: auto 530px; background-position: 74% bottom; }
  .hero:before { background: linear-gradient(180deg,#ffdeed 0%,#ffdeed 31%,#ffdeedb8 40%,transparent 53%); }
  .hero-olivia { width: 235px; left: 30%; bottom: 38px; }
  .hero-olivia figcaption { font-size: 11px; }
  .story-star-one { font-size: 40px; right: -4%; }
  .story-star-two { font-size: 32px; }
  .birthday-seal { position: absolute; top: auto; bottom: 354px; left: auto; right: 23px; margin: 0; width: 77px; height: 77px; border-width: 3px; outline-width: 1px; outline-offset: -7px; transform: rotate(11deg); }
  .birthday-seal strong { font-size: 32px; }
  .birthday-seal span { font-size: 5px; letter-spacing: .4px; }
  .celebration-message { top: auto; bottom: 268px; left: auto; right: 17px; font-size: 12px; max-width: 190px; }
  .scroll-note { display: none; }
}
@media(max-width:760px) {
  /* Keep the fantasy sky behind the invitation and reserve space for Olivia. */
  .hero { min-height: 720px; padding-top: 24px; padding-bottom: 380px; }
  .hero-illustration { inset: 0; height: auto; background-size: cover; background-position: 74% bottom; }
  .hero:before { background: linear-gradient(180deg,#ffdeedc9 0%,#ffdeedc9 46%,#ffdeed66 65%,transparent 82%); }
  .hero-olivia { left: 33%; bottom: 30px; }
  .quick-rsvp.rsvp-section { padding: 37px 22px 45px; }
  .quick-rsvp .reply-card { padding: 23px 21px; border-radius: 25px 31px 27px 30px; }
  .quick-reply-heading { margin-bottom: 16px; }
  .quick-reply-heading h2 { font-size: 26px; }
  .quick-reply-heading>p { font-size: 13px; }
  .saved-rsvp { padding: 18px 16px; }
  .count-field { padding: 10px 12px; gap: 10px; }
  .count-field>label { font-size: 13px; }
  .count-field .number-stepper { width: 130px; }
  .count-field .number-stepper button { width: 32px; min-width: 32px; }
  .dietary-details textarea { font-size: 16px; }
  .quick-rsvp .attendance-option>span { font-size: 12px; }
  .dietary-details summary { font-size: 12px; }
  .cloud-one { display: none; }
  .invitation { padding-top: 56px; padding-bottom: 53px; }
  .invitation h2 { font-size: 28px; }
  .invitation>p:not(.eyebrow) { font-size: 16px; }
  .portrait-frame { margin-bottom: 28px; }
  .world-heading h2 { font-size: 32px; }
  .world-heading>p:last-child { font-size: 15px; }
  .world-card>p { font-size: 16px; }
  .practical { padding-top: 52px; padding-bottom: 55px; }
  .section-heading h2 { font-size: 32px; }
  .wishlist-section { padding: 46px 24px 52px; }
  .wishlist-heading h2 { font-size: 30px; }
  .gift-flower { font-size: 47px; }
  .wishlist-link { font-size: 15px; min-height: 53px; min-width: 215px; }
  .facebook-event-link { font-size: 13px; }
  .site-footer { padding-bottom: 104px; }
  .mobile-rsvp { position: fixed; display: flex; align-items: center; justify-content: space-between; gap: 12px; left: 14px; right: 14px; bottom: max(13px,env(safe-area-inset-bottom)); z-index: 20; padding: 10px 11px 10px 17px; background: #fffaf3fa; border: 2px solid #fff; border-radius: 21px; box-shadow: 0 6px 25px #75436635; text-decoration: none; transition: opacity .15s,translate .15s; }
  .mobile-rsvp>span { font-size: 11px; font-weight: 800; }
  .mobile-rsvp>strong { background: var(--rose); color: white; border-radius: 14px; padding: 10px 16px; display: flex; gap: 13px; align-items: center; font-size: 13px; }
  .mobile-rsvp.is-hidden { opacity: 0; translate: 0 110px; pointer-events: none; visibility: hidden; }
}
@media(max-width:380px) {
  .hero { padding-left: 22px; padding-right: 22px; min-height: 720px; }
  .hero h1 { font-size: 33px; max-width: none; }
  .hero h1 em { display: inline-block; }
  .hero-actions { gap: 12px; }
  .hero-olivia { width: 215px; left: 33%; bottom: 30px; }
  .hero-olivia figcaption { font-size: 10px; }
  .quick-rsvp .reply-card { padding: 21px 16px; }
  .count-field { padding: 9px 10px; gap: 8px; }
  .count-field>label { font-size: 12px; }
  .count-field .number-stepper { width: 118px; padding: 3px; gap: 2px; }
  .count-field .number-stepper button { width: 30px; min-width: 30px; }
  .dietary-details summary>span { font-size: 10px; margin-left: 3px; }
  .birthday-seal { right: 20px; bottom: 350px; }
}
@media(prefers-reduced-motion:reduce) { .mobile-rsvp { transition: none; } }
