/* Integrity Custom Built · grand opening RSVP page. Builds on site.css (same colors and type). */

/* hero: the photo and the words side by side (stacked on a phone), so nothing is printed over
   the house and its sign, and the form is one thumb-scroll away */
.hero.hero-rsvp { display: block; min-height: 0; }
.hero.hero-rsvp picture { position: relative; display: block; aspect-ratio: 16 / 11; }
.hero.hero-rsvp picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero.hero-rsvp .hero-copy { padding-block: 22px 26px; }
.hero.hero-rsvp h1 { font-size: clamp(34px, 9.4vw, 44px); max-width: none; }
.hero.hero-rsvp .when { margin-top: 10px; font-size: 17px; }
.hero.hero-rsvp .when strong { font-size: 24px; }
.hero.hero-rsvp .perks { margin-top: 14px; gap: 6px; }
.hero.hero-rsvp .perks li { font-size: 14px; padding: 5px 12px; }
.hero.hero-rsvp .ctas { margin-top: 18px; }
.hero.hero-rsvp .when .hrs { color: #fff; font-weight: 700; font-size: 19px; }
.done .where .hrs { display: block; font-weight: 700; }
.perks li strong { font-weight: 700; }
.btn-wide { width: 100%; }
/* the burger buttons: a soft, slow glow (none for people who turn motion off) */
@keyframes burger-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,179,156,0), 0 4px 14px rgba(138,90,68,.35); }
  50% { box-shadow: 0 0 0 6px rgba(226,179,156,.35), 0 4px 22px rgba(226,140,100,.55); }
}
.btn-glow { animation: burger-glow 2.2s ease-in-out infinite; }
.btn-glow[disabled] { animation: none; }
@media (prefers-reduced-motion: reduce) { .btn-glow { animation: none; box-shadow: 0 0 0 4px rgba(226,179,156,.35); } }
.hero-note { margin: 12px 0 0; font-size: 14px; color: #D6DBE1; }

/* the RSVP card */
.rsvp-zone { background: var(--paper); padding-block: 28px 8px; scroll-margin-top: 76px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px 20px; box-shadow: 0 10px 30px rgba(29,34,41,.08); max-width: 560px; margin-inline: auto; }
.card h2 { font-size: clamp(28px, 6.4vw, 36px); }
.card .sub { margin: 8px 0 18px; color: var(--muted); font-size: 16px; }
.field { display: block; margin-top: 14px; }
.field > span, fieldset.pick > legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.field input { width: 100%; min-height: 52px; border: 1.5px solid #B9B0A2; border-radius: 10px; padding: 0 14px; font: 500 17px/1.2 var(--body); color: var(--ink); background: #fff; -webkit-appearance: none; appearance: none; }
.field input:focus-visible, .pick label:focus-within, .btn:focus-visible { outline: 3px solid #C98A6E; outline-offset: 2px; }
.field input::placeholder { color: #8B929B; }
fieldset.pick { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.pick .opts { display: grid; gap: 8px; }
.pick .opts.four { grid-template-columns: repeat(4, 1fr); }
.pick label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 10px; border: 1.5px solid #B9B0A2; border-radius: 10px; font-weight: 500; font-size: 16px; line-height: 1.25; cursor: pointer; background: #fff; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick label:has(input:checked) { border-color: var(--blue); background: #F6ECE6; box-shadow: inset 0 0 0 1px var(--blue); font-weight: 700; }
.card .btn-main { margin-top: 20px; border: 0; cursor: pointer; font-family: var(--body); min-height: 56px; font-size: 18px; }
.card .btn-main[disabled] { opacity: .7; cursor: default; }
.fine { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.err { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #FBEAE5; color: #7A2414; font-weight: 600; font-size: 15px; }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* after the RSVP */
.done h2 { font-size: clamp(30px, 7vw, 40px); }
.done .tick { width: 54px; height: 54px; border-radius: 50%; background: #E7F2E9; color: #1F6B36; display: grid; place-items: center; margin-bottom: 14px; }
.done .where { margin: 12px 0 0; font-size: 17px; }
.done .where strong { display: block; font: 700 22px/1.2 var(--display); }
.done .stack { display: grid; gap: 10px; margin-top: 20px; }
.done .btn { width: 100%; text-align: center; }
.done .btn-soft { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.done .after { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

/* what's happening */
.day { padding-block: 44px 16px; }
.day h2 { font-size: clamp(28px, 6vw, 42px); margin-bottom: 18px; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.day li { padding: 16px 0; border-top: 1px solid var(--line); }
.day li:last-child { border-bottom: 1px solid var(--line); }
.day h3 { font-size: 21px; margin-bottom: 4px; }
.day p { margin: 0; color: var(--muted); max-width: 48ch; }
.shots { display: grid; gap: 14px; padding-block: 28px 8px; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.shots figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* find us */
.find { padding-block: 36px 56px; }
.find-in { background: var(--siding); color: #fff; border-radius: 14px; padding: 26px 20px; }
.find .kicker { color: var(--copper-light); }
.find h2 { font-size: clamp(26px, 5.6vw, 36px); }
.find p { margin: 10px 0 0; color: #D6DBE1; }
.find .ctas { margin-top: 20px; }

/* the phone's bottom bar: one tap back to the form */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(35,40,47,.96); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; transform: translateY(110%); transition: transform .2s ease; }
.stick.on { transform: none; }
.stick span { font-size: 14px; line-height: 1.3; }
.stick span strong { display: block; font-size: 15px; }
.stick .btn { min-height: 46px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .stick { transition: none; } html { scroll-behavior: auto; } }
html { scroll-behavior: smooth; }
body.has-stick { padding-bottom: 76px; }

@media (min-width: 760px) {
  .hero.hero-rsvp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .hero.hero-rsvp picture { order: 2; aspect-ratio: auto; min-height: 560px; }
  .hero.hero-rsvp picture img { object-position: 96% 50%; }
  .hero.hero-rsvp .hero-copy { order: 1; align-self: center; width: auto; max-width: 620px; margin: 0 0 0 auto; padding: 56px 48px 56px 32px; }
  .hero.hero-rsvp h1 { font-size: clamp(44px, 4.6vw, 64px); }
  .hero.hero-rsvp .when strong { font-size: 30px; }
  .hero.hero-rsvp .perks li { font-size: 15px; padding: 6px 14px; }
  .rsvp-zone { padding-block: 48px 16px; }
  .card { padding: 32px 30px 28px; }
  .top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .shots { grid-template-columns: 1fr 1fr; }
  .find-in { padding: 40px 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
  .find .ctas { margin-top: 0; }
  .stick { display: none; }
  body.has-stick { padding-bottom: 0; }
}
