/* ==========================================================================
   Content sections — invitation, schedule, couple, dress code,
   photo breaks, venue, wishes, footer
   ========================================================================== */

/* ---------- Invitation ---------- */
.invite { padding: 52px 30px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.invite__mono { width: 96px; opacity: .95; }
.invite__guest { font-size: 14px; font-weight: 300; color: var(--sand); letter-spacing: .04em; }
.invite__guest b { font-weight: 400; color: #F6EBD6; }
.parents { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; width: 100%; font-size: 14px; line-height: 1.75; }
.parents__col { display: flex; flex-direction: column; gap: 2px; }
.parents__col--left { text-align: right; }
.parents__col--right { text-align: left; }
.parents__en { font-family: var(--serif); font-size: 13px; color: var(--sand); line-height: 1.4; margin-top: 4px; }
.amp { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); padding-top: 14px; }
.invite__text { font-size: 15px; line-height: 1.9; color: var(--sand-light); }
.couple-name { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.couple-name__th {
  font-weight: 200; font-size: clamp(21px, 6.2vw, 26px); line-height: 1.5;
  letter-spacing: .04em; white-space: nowrap;
}
.couple-name__en { font-family: var(--serif); font-size: 16px; letter-spacing: .14em; color: var(--sand); }
.and { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); line-height: 1; }
.invite__venue { font-size: 14px; line-height: 1.8; color: var(--sand-light); }

/* ---------- Schedule ---------- */
.schedule { padding: 56px 24px 32px; display: flex; flex-direction: column; gap: 28px; }
.schedule .title { font-size: 24px; }
.group { display: flex; flex-direction: column; gap: 10px; }
.group__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 4px; }
.group__th { font-size: 15px; font-weight: 500; color: var(--wine); }
.group__en { font-size: 12px; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* morning ceremony: gold vertical timeline */
.timeline { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.timeline::before {
  content: ''; position: absolute; left: 86px; top: 14px; bottom: 14px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line) 12%, var(--gold-line) 88%, transparent);
}
.tl-item { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 32px; align-items: center; padding: 14px 4px; }
.tl-item::before {
  content: ''; position: absolute; left: 82px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--cream); border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}
.tl-item.is-visible::before { background: var(--gold); transition: background .6s ease .3s; }
.tl-time { text-align: right; font-size: 26px; font-weight: 200; line-height: 1; color: var(--burgundy); font-variant-numeric: tabular-nums; }
.tl-time small { display: block; margin-top: 4px; font-size: 10px; font-weight: 300; letter-spacing: .2em; color: #A07A7F; }
.tl-body { display: flex; flex-direction: column; gap: 3px; }
.tl-th { font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--wine-deep); }
.tl-en { font-size: 12px; font-weight: 300; color: var(--muted-2); letter-spacing: .02em; }

/* evening reception card */
.reception {
  border-radius: 20px; padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  box-shadow: 0 16px 32px -18px rgba(74, 14, 30, .6);
}
.reception__time { font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: .04em; }
.reception__time span { font-size: 14px; color: var(--sand); letter-spacing: .1em; }
.reception__th { font-size: 16px; font-weight: 500; }
.reception__en { font-size: 12px; font-weight: 300; color: var(--sand); letter-spacing: .06em; }

/* ---------- Bride & groom ---------- */
.couple { padding: 40px 30px 12px; display: flex; flex-direction: column; gap: 28px; }
.couple__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person--offset { padding-top: 36px; }
.person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 120px 120px 16px 16px; }
.person__info { display: flex; flex-direction: column; gap: 3px; text-align: center; }
.person__role { font-family: var(--serif); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.person__name { font-size: 17px; font-weight: 300; color: var(--wine); line-height: 1.5; letter-spacing: .02em; }
.person__nick { font-size: 13px; color: var(--burgundy); }
.person__parents { font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* ---------- Dress code ---------- */
.dress { padding: 48px 30px 52px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.swatches span { width: 40px; height: 40px; border-radius: 50%; }
.dress p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---------- Full-width photo breaks (parallax: js/scroll.js) ---------- */
.photo-break { position: relative; margin: 0; height: min(78vw, 340px); overflow: hidden; background: var(--wine); }
.photo-break img {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%;
  object-fit: cover; will-change: transform;
  transform: translate3d(0, var(--parallax, 0px), 0);
}
.photo-break::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 5, 11, .05) 30%, rgba(30, 5, 11, .6) 100%);
}
.photo-break figcaption {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; text-align: center;
  color: #F6EBD6; display: flex; flex-direction: column; gap: 4px;
}
.photo-break figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; }
.photo-break figcaption span { font-size: 12px; font-weight: 300; letter-spacing: .18em; color: #EADFD2; }

/* ---------- Venue & wishes ---------- */
.venue, .wishes { padding: 52px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.venue__en { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; color: var(--sand); }
.qr { padding: 12px; background: var(--cream); }
.qr--light { background: #fff; border: 1px solid var(--sand); }
.qr img { width: 150px; height: 150px; object-fit: cover; }
.hint { font-size: 13px; color: var(--sand); }
.wishes p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---------- Footer (extra bottom space for the dock) ---------- */
.footer { padding: 20px 30px 110px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer img { width: 150px; }
.footer__quote { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--burgundy); }
.footer__meta { font-size: 13px; color: var(--muted-2); letter-spacing: .04em; }

@media (max-width: 380px) {
  .couple-name__en { font-size: 14px; letter-spacing: .08em; }
  .invite, .venue, .wishes, .dress, .couple { padding-left: 20px; padding-right: 20px; }
  .parents { gap: 8px; font-size: 13px; }
  .group__en { letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-break img { transform: none; }
}
