:root {
  --gold: #795009;
  --sage: #678264;
  --ink: #0a0a0a;
  --cream: #faf8f5;
  --white: #ffffff;
  --line: #e4e4e4;
  --muted: #6b6b6b;
  --field: #cfcfcf;
  --col: 560px;
  --sans: "Inter", "Inter UI", Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --gotham: "Gotham SSm", "Inter", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }

.menu-btn {
  position: fixed;
  z-index: 40;
  top: 20px;
  left: 20px;
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 21px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.menu-btn .menu-label { display: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.page-inner .menu-btn,
body.is-scrolled .menu-btn {
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 0 16px 0 12px;
  background: #fff;
}
.page-inner .menu-btn .menu-label,
body.is-scrolled .menu-btn .menu-label { display: inline; }
.burger, .burger:before, .burger:after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  content: "";
}
.burger:before { position: absolute; top: -5px; }
.burger:after { position: absolute; top: 5px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, .45);
  z-index: 50;
}
.scrim[hidden], .drawer[hidden] { display: none; }
.drawer {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(420px, 88vw);
  background: #fff;
  padding: 36px 40px 32px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #444;
}
.drawer h2 {
  margin: 36px 0 40px;
  max-width: 240px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.12;
  color: var(--sage);
}
.drawer a.nav-link {
  display: block;
  text-decoration: none;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 22px;
}
.drawer .drawer-rsvp {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 26px;
  border: 1px solid var(--sage);
  color: var(--sage);
  text-decoration: none;
  letter-spacing: .08em;
  font-size: 14px;
}

.aloha { display: flex; align-items: flex-start; min-height: 100vh; }
.photo-col {
  position: sticky;
  top: 0;
  height: 100vh;
  width: calc(100% - var(--col));
  flex: none;
  overflow: hidden;
  background: #1c1c1c;
}
.photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .6s ease;
}
.photo.is-active { opacity: 1; }
.photo-welcome { background-image: url("../assets/hero.jpg"); background-position: center top; }
.photo-schedule { background-image: url("../assets/schedule.jpg"); background-position: center center; }
.photo-faq { background-image: url("../assets/faq.jpg"); background-position: center center; }
.photo-copy {
  position: absolute;
  left: 88px;
  right: 48px;
  bottom: 72px;
  z-index: 2;
  color: #fff;
}
.photo-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 70px;
}
.photo-copy p {
  margin: 10px 0 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.45;
}

.content-col { width: var(--col); flex: none; background: #fff; }
.hero-panel {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 64px 24px;
}
.date-range {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 40px;
  color: var(--gold);
}
.place {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.15;
  color: var(--gold);
}
.countdown {
  margin: 48px 0 0;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .01em;
}
.btn-rsvp-outline {
  margin-top: 36px;
  width: 115px;
  height: 48px;
  border-radius: 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gotham);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.view-details {
  margin-top: 28px;
  color: var(--gold);
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.chev {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  display: block;
}
.gold {
  height: 148px;
  background: url("../assets/gold.webp") center / cover no-repeat;
}

.block { padding: 72px 64px 40px; }
.block h2 {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 45px;
}
.day {
  margin: 8px 0 28px;
  font-family: var(--gotham);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.events { position: relative; margin: 0 0 12px; }
.event {
  position: relative;
  padding: 0 0 28px 36px;
}
.event:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: #d9d9d9;
}
.event:last-child:before { bottom: 18px; }
.event .dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #bdbdbd;
}
.when {
  margin: 0;
  font-family: var(--gotham);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}
.event h3 {
  margin: 6px 0 8px;
  font-family: var(--gotham);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.36;
}
.where {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage);
  text-decoration: none;
  font-size: 16px;
}
.where svg { flex: none; }
.desc { margin: 10px 0 0; font-size: 16px; line-height: 1.45; }
.cal { position: relative; margin-top: 18px; }
.cal-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--sage);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cal-menu {
  position: absolute;
  z-index: 5;
  top: 28px;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px 0;
}
.cal-menu[hidden] { display: none; }
.cal-menu a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
}
.cal-menu a:hover { background: #f6f6f6; }

.faq-intro { margin: 0 0 28px; font-size: 16px; line-height: 1.5; }
.qa { margin: 0 0 26px; }
.qa h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.qa p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; color: #222; }
.qa a { color: inherit; }

.site-footer {
  padding: 48px 24px 72px;
  text-align: center;
  color: var(--ink);
}
.site-footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: 14px; font-family: var(--gotham); }
.wordmark {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: #333;
}

.dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 28px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
body.is-scrolled .dock { display: flex; }
.dock-rsvp {
  background: #111;
  color: #fff;
  border-radius: 22px;
  padding: 10px 18px;
  font-weight: 600;
}

.mobile-tabs, .section-photo { display: none; }

@media (max-width: 900px) {
  .aloha { display: block; }
  .photo-col { position: relative; width: 100%; height: 100vh; height: 100dvh; }
  .photo-copy { left: 24px; right: 24px; bottom: 36px; }
  .photo-copy h1 { font-size: 48px; line-height: 1.15; }
  .content-col { width: 100%; }
  .hero-copy { padding: 72px 28px 28px; }
  .date-range { font-size: 28px; line-height: 1.25; }
  .view-details { display: none; }
  .gold { height: 96px; }
  .block { padding: 36px 24px 16px; }
  .day { letter-spacing: 2px; font-size: 18px; }
  .mobile-tabs {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 25;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    border-bottom: 1px solid #eee;
  }
  .mobile-tabs button {
    border: 0;
    background: transparent;
    width: 42px;
    height: 48px;
    color: var(--ink);
  }
  .mobile-tabs a {
    text-decoration: none;
    font-size: 14px;
    padding: 14px 10px 12px;
    color: #222;
    border-bottom: 2px solid transparent;
  }
  .mobile-tabs a.is-active { border-bottom-color: var(--sage); font-weight: 600; }
  .section-photo {
    display: block;
    height: 280px;
    background-size: cover;
    background-position: center;
  }
  .page-home .content-col .section-photo { margin-top: 0; }
  .menu-btn { display: none; }
  .page-home .menu-btn { display: inline-flex; }
  body.is-scrolled .menu-btn { display: none; }
  .page-inner .photo-col { display: none; }
  .page-inner .menu-btn { display: none; }
  .dock { left: 16px; right: 16px; transform: none; justify-content: space-between; }
}

/* RSVP */
.rsvp-body { background: #fff; min-height: 100vh; }
.rsvp-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 0;
}
.rsvp-back {
  color: var(--sage);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  align-self: flex-start;
}
.rsvp-main { width: min(520px, 100%); margin: 0 auto; flex: 1; padding-bottom: 40px; }
.rsvp-head { text-align: center; margin-top: 28px; }
.rsvp-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
}
.rsvp-head .sub { margin: 14px 0 0; font-size: 16px; }
.rsvp-kicker {
  margin: 48px 0 18px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input, .answer, .choice {
  width: 100%;
}
.field input, .answer {
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .answer:focus { outline: 1px solid var(--sage); border-color: var(--sage); }
.answer { min-height: 110px; resize: vertical; display: block; margin-top: 12px; }
.btn-solid, .btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  margin-left: auto;
  margin-right: auto;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: var(--sage);
  color: #fff;
  font-size: 16px;
  margin-top: 28px;
}
.btn-solid:disabled, .btn-next:disabled, .is-loading {
  background: #d5d5d5;
  color: transparent;
  position: relative;
}
.is-loading:after, .btn-solid:disabled:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { color: #9d1c32; text-align: center; margin-top: 12px; font-size: 14px; }
.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
  margin-top: 36px;
}
.match-row strong { font-weight: 600; }
.btn-respond {
  height: 40px;
  padding: 0 22px;
  border-radius: 20px;
  border: 1px solid var(--sage);
  background: #fff;
  color: var(--sage);
}
.btn-continue { width: 280px; margin-left: auto; margin-right: auto; }
.responding {
  text-align: center;
  font-weight: 700;
  margin: 36px 0 0;
}
.rule { border: 0; border-top: 1px solid #ddd; margin: 10px 0 18px; }
.q { margin: 0 0 22px; }
.q p.prompt { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.choice {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid #d5d5d5;
  color: #333;
  border-radius: 24px;
  min-height: 46px;
  padding: 12px 16px;
  margin: 0 0 10px;
  font-size: 16px;
}
.choice.is-selected {
  border: 1.5px solid var(--sage);
  color: var(--sage);
}
.required-note { text-align: center; color: #666; font-size: 13px; margin: 8px 0 0; }
.cancel {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 16px;
}
.guest-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  text-align: center;
  padding: 16px 16px 18px;
}
.rsvp-wrap { padding-bottom: 130px; }
.guest-bar strong { display: block; }
.guest-bar span { color: #555; font-size: 15px; }
.rsvp-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 28px 0 36px;
}
.rsvp-footer a { color: var(--ink); text-decoration: none; font-size: 15px; }
.thanks h2 {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  margin: 48px 0 12px;
}
.thanks p, .error-panel p { text-align: center; font-size: 16px; }
.error-panel {
  border: 1px solid #e7c3c8;
  background: #fff6f7;
  padding: 18px 16px;
  margin-top: 18px;
}
.try-again { width: auto; padding: 0 28px; margin: 8px auto 0; }

.invite-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin: 28px auto 0;
  padding: 10px 14px 10px 10px;
  max-width: 420px;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #e6d7c3;
  border-radius: 16px;
}
.invite-card img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}
.invite-card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
}
.invite-card em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 14px;
  color: #5c5348;
}

.invite-body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}
.invite-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: var(--cream);
}
.invite-bar .rsvp-back { align-self: center; font-size: 15px; }
.invite-brand { text-align: center; }
.invite-brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
}
.invite-count { color: var(--gold); font-size: 13px; }
.invite-pager { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; }
.invite-pager button {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
.invite-bar-rsvp {
  color: var(--sage);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: 14px;
}
.invite-deck {
  height: calc(100dvh - 72px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.invite-deck::-webkit-scrollbar { display: none; }
.invite-slide {
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 16px;
  box-sizing: border-box;
}
.invite-slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  max-width: min(100%, 520px);
}
.invite-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 520px);
  max-height: calc(100dvh - 104px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(80, 50, 10, .14);
  background: #fff;
}
@media (min-width: 900px) {
  .invite-slide { padding: 12px 24px 36px; }
  .invite-slide picture,
  .invite-slide img { max-width: 460px; }
}

@media (max-width: 700px) {
  .name-grid { grid-template-columns: 1fr; }
  .rsvp-head h1 { font-size: 40px; }
  .btn-continue, .btn-next, .btn-solid { width: 100%; }
  .photo-copy h1 { font-size: 44px; }
}
