/* The "I'm in!" sign-up (draft, 2026-10-25). Built by js/signup.js.
   A cream band at the end of Pricing: one big button opens the form
   inline (room, who's coming, why, name, email). After sending, a
   celebration replaces the form. */
.su { background: #f7f2e8; color: #16241c; }
.su__inner { max-width: 52rem; margin: 0 auto; padding: var(--s5) var(--pad); display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.su__head { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0; }
.su__lede { margin: 0; max-width: 36rem; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); line-height: 1.65; color: #4a5a50; }

/* The big button. */
.su__go { display: inline-block; text-decoration: none; font: inherit; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; padding: 1.1rem 2.6rem 1.25rem; border: 0; border-radius: 999px; background: #e0a63a; color: #16241c; cursor: pointer; box-shadow: 0 6px 0 #9a6a14; transition: transform .15s, box-shadow .15s; }
.su__go:hover { transform: translateY(-2px) rotate(-2deg); box-shadow: 0 8px 0 #9a6a14; }
.su__go:active { transform: translateY(4px); box-shadow: 0 2px 0 #9a6a14; }
.su__go:focus-visible { outline: 2px solid #16241c; outline-offset: 4px; }
.su[data-open] .su__go { display: none; }

/* The form. */
.su__form { width: 100%; display: grid; gap: var(--s3); text-align: left; }
.su__form[hidden], .su__done[hidden] { display: none; }
.su fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .75rem; }
.su legend, .su .su__label { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); line-height: 1.1; padding: 0; margin-bottom: .75rem; }
.su__step { display: inline-block; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: #9a6a14; margin-right: .5rem; vertical-align: .35em; }

.su__rooms { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.su__card { position: relative; cursor: pointer; }
.su__card input, .su__pill input { position: absolute; opacity: 0; pointer-events: none; }
.su__card span { display: grid; gap: .3rem; align-content: start; height: 100%; box-sizing: border-box; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid rgba(22, 36, 28, .25); background: #fff; transition: background .15s, color .15s, transform .15s; }
.su__card b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.su__card small { font-size: .9rem; line-height: 1.45; color: #5b6a60; }
.su__card em { font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9a6a14; }
.su__card:hover span { transform: translateY(-2px); }
.su__card input:checked + span { background: #16241c; color: #fff; border-color: #16241c; }
.su__card input:checked + span small { color: rgba(255, 255, 255, .75); }
.su__card input:checked + span em { color: #e0a63a; }
.su__card input:checked + span::after { content: "\2713"; position: absolute; top: .7rem; right: .9rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e0a63a; color: #16241c; display: grid; place-items: center; font-size: .9rem; font-weight: 700; }
.su__card input:focus-visible + span, .su__pill input:focus-visible + span { outline: 2px solid #16241c; outline-offset: 3px; }

.su__pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.su__pill { position: relative; cursor: pointer; }
.su__pill span { display: inline-block; padding: .7rem 1.2rem; border: 1px solid rgba(22, 36, 28, .35); border-radius: 999px; background: #fff; font-size: 1rem; }
.su__pill input:checked + span { background: #16241c; color: #fff; border-color: #16241c; }
.su__pill input:disabled + span { opacity: .35; cursor: not-allowed; }

.su__field { display: grid; gap: .4rem; }
.su__field > span:first-child:not(.su__label) { font-size: .9rem; color: #4a5a50; }
.su__field input, .su__field textarea { font: inherit; font-size: 16px; padding: .85rem .95rem; border: 1px solid rgba(22, 36, 28, .3); background: #fff; color: #16241c; border-radius: 0; }
.su__field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.su__field input:focus, .su__field textarea:focus { outline: 2px solid #e0a63a; outline-offset: 0; border-color: #e0a63a; }
.su__two { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

.su__send { justify-self: start; font: inherit; font-family: var(--serif); font-size: 1.75rem; line-height: 1; padding: .9rem 2rem 1rem; border: 0; border-radius: 999px; background: #e0a63a; color: #16241c; cursor: pointer; box-shadow: 0 5px 0 #9a6a14; }
.su__send:active { transform: translateY(3px); box-shadow: 0 2px 0 #9a6a14; }
.su__send[disabled] { opacity: .6; cursor: wait; }
.su__note { margin: 0; font-size: .95rem; color: #a3341f; }
.su__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* After sending. */
.su__done { display: grid; gap: var(--s3); justify-items: center; }
.su__yay { font-family: var(--serif); font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: 1; margin: 0; color: #16241c; }
.su__yay i { color: #9a6a14; }
.su__line { margin: 0; max-width: 34rem; font-size: 1.1rem; line-height: 1.6; color: #4a5a50; }

/* The boarding pass. */
.su__pass { width: min(40rem, 100%); display: grid; grid-template-columns: 1fr 9rem; background: #16241c; color: #fff; border-radius: 14px; text-align: left; position: relative; box-shadow: 0 18px 40px rgba(22, 36, 28, .25); animation: su-print .7s cubic-bezier(.2, .9, .3, 1.2) both; }
.su__pass[hidden] { display: none; }
.su__pass-main { padding: 1.4rem 1.5rem 1.5rem; display: grid; gap: 1.1rem; }
.su__route { display: flex; align-items: center; gap: .9rem; }
.su__code { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: .9; }
.su__code small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: .35rem; }
.su__plane { flex: 1; border-top: 2px dashed rgba(255, 255, 255, .35); position: relative; height: 0; }
.su__plane::after { content: "\2708"; position: absolute; left: 50%; top: -.85rem; transform: translateX(-50%); color: #e0a63a; font-size: 1.3rem; background: #16241c; padding: 0 .3rem; }
.su__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .9rem 1.2rem; }
.su__rows div { display: grid; gap: .2rem; }
.su__rows dt { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.su__rows dd { margin: 0; font-size: 1rem; }
.su__stub { border-left: 2px dashed rgba(255, 255, 255, .3); display: grid; place-items: center; position: relative; padding: 1rem .5rem; }
.su__stub::before, .su__stub::after { content: ""; position: absolute; left: -.85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #f7f2e8; }
.su__stub::before { top: -.8rem; } .su__stub::after { bottom: -.8rem; }
.su__stamp { font-family: var(--serif); font-size: 1.7rem; line-height: .95; text-align: center; color: #e0a63a; border: 3px solid #e0a63a; border-radius: 8px; padding: .5rem .6rem; transform: rotate(-12deg); animation: su-stamp .45s .55s cubic-bezier(.3, 1.6, .5, 1) both; }
@media (max-width: 30rem) {
  .su__pass { grid-template-columns: 1fr; }
  .su__stub { border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .3); }
  .su__stub::before, .su__stub::after { top: -.8rem; bottom: auto; }
  .su__stub::before { left: -.8rem; } .su__stub::after { left: auto; right: -.8rem; }
}
@keyframes su-print { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes su-stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* Marigold petals. */
.su-petals { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.su-petal { position: absolute; top: -2rem; width: .9rem; height: 1.3rem; border-radius: 60% 0 60% 0; animation: su-fall linear forwards; }
@keyframes su-fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  .su__pass, .su__stamp { animation: none; }
  .su__go, .su__card span { transition: none; }
}

/* Pricing (Lotte's idea, 2026-10-25): Reserve opens the form in a dialog. */
.su-dlg { border: 0; padding: 0; width: min(54rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); background: #f7f2e8; color: #16241c; overflow: auto; font-family: var(--sans); }
.su-dlg::backdrop { background: rgba(10, 18, 14, .72); }
.su-dlg__in { padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem); display: grid; gap: var(--s3); }
.su-dlg__head { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); line-height: 1; letter-spacing: -0.01em; }
.su-dlg__x { position: sticky; top: 0; float: right; z-index: 2; margin: .6rem .6rem 0 0; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(22, 36, 28, .08); color: #16241c; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.su-dlg__x:hover { background: rgba(22, 36, 28, .15); }
.su-dlg .su__done { padding-block: var(--s2); }
.su-dlg .su__stub::before, .su-dlg .su__stub::after { background: #f7f2e8; }
@media (max-width: 40rem) {
  .su-dlg { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
}
.su-dlg:has(.su__done:not([hidden])) .su-dlg__head { display: none; }
.su-dlg .su__inner, .su-dlg { text-align: left; }
.su__gmail { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: .9rem 1.8rem; border: 1px solid #16241c; color: #16241c; text-decoration: none; }
.su__gmail:hover { background: #16241c; color: #fff; }
.su__line p { margin: 0 0 .8em; } .su__line p:last-child { margin-bottom: 0; } .su__line b { font-weight: 600; color: #16241c; }
