@font-face { font-family: Wedding Bubble; src: url('/fonts/coiny-latin.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Wedding Comic; src: url('/fonts/comic-neue-bold-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: #1b4332; background: #ffe4c4; line-height: 1.65; }
.hero { min-height: 28rem; min-height: min(70svh, 38rem); display: grid; place-items: center; text-align: center; color: white; background: linear-gradient(rgb(20 48 39 / 30%), rgb(20 48 39 / 45%)), url('/coming-soon-landscape.jpg') 60% center / cover; padding: 4rem 1.25rem; }
.hero__copy { text-shadow: 0 2px 8px rgb(24 52 43 / 60%); }
.eyebrow { letter-spacing: .16em; font-size: .875rem; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.12; margin: .3em 0 .1em; }
.names { font: 500 clamp(1.75rem, 5vw, 2.6rem)/1.3 var(--letter); margin: 0; }
.hero__subtitle { font-size: 1rem; margin: 1.25rem 0 0; }
.paper { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 6vw, 4rem); }
.intro { text-align: center; margin-bottom: 3rem; }
h2 { margin: 0 0 1.5rem; }
.intro p { margin: .6rem 0; }
.required-note, .hint { font-size: .875rem; color: #496a59; }
form { display: grid; gap: 1.75rem; }
fieldset { padding: 0; margin: 0; border: 0; }
legend, .field > label { display: block; font-weight: 700; margin-bottom: .65rem; }
legend span, .field > label span { margin-left: .4rem; }
.choices { display: flex; flex-wrap: wrap; gap: .75rem; }
.choices label { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; background: rgb(255 255 255 / 55%); border: 1px solid #9ab6a6; border-radius: .6rem; cursor: pointer; }
input[type=radio] { accent-color: #28614b; width: 1.1rem; height: 1.1rem; }
.field input, textarea { display: block; width: 100%; border: 1px solid #9ab6a6; border-radius: .45rem; background: #fffdf8; color: #1b4332; padding: .85rem; font: inherit; }
textarea { resize: vertical; }
.hint { margin: .4rem 0 0; }
button { justify-self: center; border: 0; border-radius: .5rem; padding: 1rem 2rem; background: #28614b; color: white; font: 700 1rem/1.5 var(--reading); cursor: pointer; }
button span { margin-left: .5rem; }
a { color: #1b4332; }
:focus-visible { outline: 3px solid #8451a8; outline-offset: 3px; }
.back { text-align: center; margin: 3rem 0 0; }
@media (max-width: 480px) { .choices { flex-direction: column; } .hero { min-height: 26rem; } }

/* Event and shuttle choices retain the invitation's warm, natural palette. */
.section-heading { text-align: center; margin: 1.25rem 0 0; }
.section-heading h2 { margin-bottom: .75rem; }
.section-heading p { margin: .4rem 0; }
.shuttle__group { font-weight: 700; margin: 1.5rem 0 .75rem; }
.choices--stacked { flex-direction: column; }
.choices + .choices { margin-top: .75rem; }
.choices--stacked label { align-items: flex-start; }
.choices--stacked input { flex: 0 0 auto; margin-top: .3rem; }
.choices--stacked label > span { min-width: 0; }
.change-note { border-top: 1px solid #9ab6a6; padding-top: 1.25rem; text-align: center; }
.change-note p { margin: .5rem 0; }

[hidden] { display: none !important; }
.extra-guests { display: grid; gap: 1rem; }
.extra-guests__row { display: grid; gap: .5rem; margin: 1rem 0; }
.extra-guests__row label { font-weight: 700; }
.extra-guests__row button { justify-self: end; padding: .6rem 1rem; }
.extra-guests__add { margin-top: 1rem; }

.field > label [data-copy],
legend [data-copy],
button [data-copy] { margin-left: 0; }
.extra-guests__row input { margin-top: .35rem; }
:root[lang="ja"] h1,
:root[lang="ja"] h2 { line-height: 1.3; }

.rsvp-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .125rem .375rem;
  margin-bottom: 1.5rem;
}
.rsvp-heading h2 { margin: 0; }
.rsvp-heading .rsvp-deadline {
  margin: 0;
  position: relative;
  top: .18em;
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
}

/* Keep the verified receipt in view independently of the long form's scroll position. */
#rsvp-confirmation {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(28rem, calc(100% - 2rem));
  height: fit-content;
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: clamp(1.5rem, 5vw, 2.25rem);
  border: 1px solid #9ab6a6;
  border-radius: 1.25rem;
  background: #fff8ec;
  color: #1b4332;
  text-align: center;
  box-shadow: 0 18px 60px #112b2650;
}
#rsvp-confirmation::backdrop { background: rgb(19 37 30 / 55%); }
#rsvp-confirmation h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; }
#rsvp-confirmation p { margin: 0 0 1.5rem; }
