/* Wedding day seating guide — shared invitation palette and typography. */
.seating-document, .seating-page { overflow-x: clip; }
.seating-script-heading:focus { outline: none; }
.seating-page { background: radial-gradient(ellipse at 4% 28%, #e6dced 0, transparent 45%), radial-gradient(ellipse at 100% 65%, #dfe8d8 0, transparent 46%), var(--ivory); }
.seating-page [hidden] { display: none !important; }
.celebration-banner { padding: 1.25rem max(1rem, calc((100vw - 1080px) / 2)); color: #fffdf8; background: #596b53; }
.celebration-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.banner-kicker { display: block; font: 600 .64rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .16em; opacity: .85; }
.celebration-message p { margin: .15rem 0; font-size: clamp(1.15rem, 3vw, 1.55rem); line-height: 1.35; }
.celebration-message > span:last-child { font: .8rem/1.5 var(--sans); color: #f0e8f6; }
.seating-timer { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.seating-timer > div { display: grid; min-width: 2.3rem; text-align: center; }
.seating-timer strong { font: 400 clamp(1.6rem, 5vw, 2.5rem)/1.1 var(--serif); }
.seating-timer div span { margin-top: .35rem; font: 600 .55rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.timer-colon { align-self: flex-start; opacity: .45; font-size: 1.4rem; }
.married-signature { margin: 0; text-align: right; font: 1.8rem/1.2 var(--script); }
.married-signature span { font: .7rem/1.4 var(--sans); letter-spacing: .07em; }
.seating-navigation { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 4.5rem; padding: .65rem max(1rem, calc((100vw - 1080px) / 2)); background: rgba(255,253,248,.96); border-bottom: 1px solid #ded7c5; backdrop-filter: blur(10px); }
.seating-brand { flex-shrink: 0; color: var(--sage-deep); font: 1.6rem/1 var(--serif); text-decoration: none; }
.seating-brand span { font-family: var(--script); color: #735f83; }
.seating-navigation > div { display: flex; gap: clamp(.75rem, 3vw, 2rem); align-items: center; }
.seating-navigation > div a { padding: .6rem 0; color: #53634c; text-decoration: none; font: 600 .7rem/1.2 var(--sans); letter-spacing: .06em; }
.seating-navigation a:hover { color: #735f83; }
.seating-main { width: min(1080px, calc(100% - 2rem)); margin: 2rem auto 0; outline: none; }
.seating-main section[id] { scroll-margin-top: 5.5rem; }
.seating-hero { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 31rem; margin-bottom: 2rem; overflow: hidden; background: #fffdf8; border: 1px solid #d9cfb7; border-radius: 10rem 10rem .5rem .5rem; box-shadow: 0 20px 45px rgba(66,58,44,.1); }
.seating-portrait { position: relative; display: flex; margin: 0; min-width: 0; overflow: hidden; }
.seating-portrait::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent 55%, rgba(31,33,27,.65)); }
.seating-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.seating-portrait figcaption { position: absolute; z-index: 1; bottom: 1.5rem; left: 0; width: 100%; text-align: center; color: #fffdf8; font: 2.6rem/1.3 var(--script); }
.seating-hero-copy { align-self: center; padding: 3rem 2.4rem; text-align: center; }
.seating-hero-copy .section-kicker { max-width: 22rem; margin: 0 auto 1rem; font-size: .65rem; }
.seating-hero h1 { margin: .5rem 0 1rem; font: 400 clamp(2.7rem, 5.5vw, 4.7rem)/1.1 var(--script); color: #735f83; }
.seating-flourish { display: flex; justify-content: center; align-items: center; gap: .8rem; color: #9b80b1; }
.seating-flourish span { width: 3.5rem; height: 1px; background: #c4aa75; }
.seating-hero-copy > p:not(.section-kicker) { margin: 1.1rem auto; max-width: 27rem; color: var(--ink-soft); font-size: 1.05rem; }
.seating-hero-copy > .seating-hero-small { font-size: .92rem !important; }
.seating-hero-copy > .venue-caption { font: 600 .65rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 0; }
.seat-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .8rem 1.35rem; border: 1px solid #806532; border-radius: 999px; background: linear-gradient(140deg, #b19865, #876e3f); color: #fffdf8; font: 600 .8rem/1.25 var(--sans); letter-spacing: .035em; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.seat-button:hover { transform: translateY(-2px); box-shadow: 0 7px 14px rgba(74,65,46,.18); }
.seat-button:disabled { opacity: .65; cursor: wait; transform: none; }
.seat-button-sage { border-color: #53684a; background: #62745b; }
.paper-section { position: relative; padding: clamp(2rem, 6vw, 4rem) clamp(1.3rem, 5vw, 3rem); margin-bottom: 2rem; border: 1px solid #d9cfb7; background: rgba(255,253,248,.96); box-shadow: 0 12px 36px rgba(68,61,48,.08); text-align: center; border-radius: .55rem; }
.paper-section::before { position: absolute; content: ""; inset: .55rem; border: 1px solid rgba(165,138,85,.26); border-radius: .2rem; pointer-events: none; }
.seating-script-heading { margin: .4rem 0 1rem; color: #735f83; font: 400 clamp(2.25rem, 6vw, 3.8rem)/1.2 var(--script); }
.paper-section > p, #seat-empty > p, #guest-message { max-width: 36rem; margin-right: auto; margin-left: auto; color: var(--ink-soft); }
#seat-empty .seat-button { margin-top: .7rem; }
.table-pass { display: flex; align-items: center; flex-direction: column; justify-content: center; width: min(100%, 22rem); padding: 1.7rem 1.2rem; margin: 1.5rem auto 1.2rem; border: 1px solid #bfa4ce; border-radius: 6rem 6rem .5rem .5rem; color: #735f83; background: linear-gradient(150deg, #f3edf7, #fbf8ef 55%, #edf3e8); }
.table-pass-label { color: var(--sage-deep); font: 600 .62rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
#guest-table-number { font: 400 5.5rem/1.25 var(--serif); }
#guest-table-name { font-size: 1.5rem; }
.table-pass.has-number #guest-table-name { font: 600 .65rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .18em; }
.seat-direction { max-width: 34rem; margin: .8rem auto; font-size: 1.05rem; }
.seat-arrival-note { max-width: 36rem; margin: .8rem auto; color: var(--ink-soft); font-size: .9rem; }
.seat-result-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; margin-top: 1.2rem; border-top: 1px solid #e5dcc7; }
.seat-result-actions a, .text-button { border: 0; background: none; color: var(--sage-deep); font: 600 .75rem/1.6 var(--sans); text-decoration: underline; text-underline-offset: .23em; padding: .35rem 0; cursor: pointer; }
.arrival-feedback { min-height: 1.5rem; font: .85rem/1.5 var(--sans); color: var(--sage-deep); max-width: 34rem; margin: .7rem auto; }
.menu-section { background: radial-gradient(ellipse at 0% 100%, #e7ecdf 0, transparent 44%), radial-gradient(ellipse at 100% 0%, #eee4f3 0, transparent 43%), #fffdf8; }
.menu-serving { margin: .6rem auto 0; font-size: .9rem; }
.menu-divider { margin: 1.4rem auto; width: 9rem; color: #a58a55; border-top: 1px solid #cfbd96; padding-top: .5rem; }
.menu-pending { margin: 1.5rem auto 2rem; color: #665b6b; font-size: 1.2rem; font-style: italic; }
.menu-course { margin: 1.7rem auto; max-width: 35rem; }
.menu-course-time { margin: -.3rem 0 .5rem; color: var(--ink-soft); font: .75rem/1.5 var(--sans); }
.menu-course h3 { font: 600 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); }
.menu-course ul { list-style: none; padding: 0; margin: .7rem 0; }
.menu-course li { padding: .2rem 0; color: #554c5b; font-size: 1.15rem; }
.dietary-note { padding-top: 1.1rem; margin-top: 2rem; border-top: 1px solid #d9cfb7; font: .76rem/1.7 var(--sans); }
.schedule-intro { margin-bottom: 2rem; }
.reception-timeline { max-width: 38rem; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.reception-timeline li { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1.5rem; }
.reception-timeline time { padding-top: .12rem; color: #735f83; font: 400 1.6rem/1.2 var(--serif); white-space: nowrap; }
.reception-timeline time span { font: 600 .58rem/1.2 var(--sans); }
.reception-timeline li > div { position: relative; padding: 0 0 2rem 1.3rem; border-left: 1px solid #b8c6ae; }
.reception-timeline li:last-child > div { border-color: transparent; padding-bottom: 0; }
.timeline-dot { position: absolute; top: .35rem; left: -.3rem; width: .55rem; height: .55rem; border-radius: 50%; background: #b8a1c9; box-shadow: 0 0 0 4px #f5eff8; }
.reception-timeline h3 { margin: 0 0 .4rem; font: 400 1.3rem/1.3 var(--serif); }
.reception-timeline p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.seating-help { max-width: 36rem; padding: .5rem 1rem 2.5rem; text-align: center; margin: 0 auto; color: var(--ink-soft); }
.seating-help h2 { font: 400 1.4rem/1.5 var(--serif); color: var(--sage-deep); }
.seating-help p:last-child { font: .78rem/1.65 var(--sans); }
.seating-footer { padding: 2.5rem 1rem 3rem; border-top: 1px solid #d1c3a7; text-align: center; }
.seating-footer p { color: var(--sage-deep); }
.seating-footer > span { display: block; font: 2.8rem/1.3 var(--script); color: #735f83; margin: .7rem 0; }
.seating-footer a { display: inline-block; color: var(--gold-deep); font-size: .85rem; margin-top: .9rem; }
.welcome-dialog { position: fixed; max-height: calc(100dvh - 2rem); width: min(34rem, calc(100% - 2rem)); padding: 2.3rem 2rem 1.6rem; margin: auto; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #bda87e; border-radius: 1.5rem; background: radial-gradient(ellipse at 100% 0, #ece1f1, transparent 55%), #fffdf8; color: var(--ink); box-shadow: 0 30px 90px rgba(37,35,29,.28); text-align: center; }
.welcome-dialog[open] { animation: welcome-arrive .45s cubic-bezier(.16,.8,.3,1) both; }
.welcome-dialog::backdrop { background: rgba(43,47,39,.5); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: .6rem; right: .8rem; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; padding: 0; background: transparent; color: var(--sage-deep); border: none; border-radius: 50%; font: 1.9rem/1 var(--sans); cursor: pointer; }
.dialog-close:hover { background: #e8eede; }
.dialog-flower { color: #a388b7; font-size: 2.5rem; line-height: 1.2; margin-bottom: .6rem; }
.welcome-dialog h2 { font: 400 clamp(2.3rem, 8vw, 3.4rem)/1.1 var(--script); color: #735f83; margin: .6rem 0 .9rem; }
.welcome-dialog > p:not(.section-kicker) { color: var(--ink-soft); font-size: .95rem; }
#guest-search-form { margin-top: 1.4rem; text-align: left; }
#guest-search-form label { display: block; margin-bottom: .45rem; font: 600 .7rem/1.5 var(--sans); color: var(--sage-deep); letter-spacing: .08em; text-transform: uppercase; }
.name-search-row { display: flex; gap: .55rem; }
#guest-name { min-width: 0; flex: 1; width: 100%; min-height: 3.2rem; padding: .75rem 1rem; border: 1px solid #aebba5; border-radius: .65rem; background: #fffefa; color: var(--ink); font: 1rem/1.3 var(--sans); }
.name-search-row .seat-button { flex-shrink: 0; border-radius: .65rem; padding: .8rem 1rem; }
.search-hint { font: .72rem/1.5 var(--sans); color: var(--ink-soft); margin: .5rem 0; }
.search-status { margin: .9rem 0; min-height: 1.5rem; font: .8rem/1.5 var(--sans); }
.guest-matches { display: grid; gap: .55rem; }
.guest-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.7rem; padding: .7rem .9rem; border: 1px solid #c6cebF; border-radius: .7rem; text-align: left; background: #f4f7f0; color: var(--ink); cursor: pointer; }
.guest-choice:hover { border-color: #9476a9; background: #f0e8f5; }
.guest-choice strong { display: block; font: 600 1rem/1.4 var(--sans); }
.guest-choice small { color: var(--ink-soft); font: .75rem/1.5 var(--sans); }
.guest-choice > span:last-child { flex-shrink: 0; color: var(--sage-deep); font: 600 .67rem/1.4 var(--sans); text-align: right; }
.browse-guide { margin-top: 1.3rem; }
.seating-noscript { position: fixed; z-index: 20; bottom: 1rem; left: 1rem; right: 1rem; padding: 1rem; border: 1px solid #a58a55; border-radius: 1rem; background: #fffdf8; color: var(--ink); }
.seat-pass.is-personalized { animation: seat-arrive .6s ease both; }
@keyframes welcome-arrive { from { opacity: 0; transform: translateY(-2rem) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes seat-arrive { from { opacity: .2; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .celebration-banner-inner { flex-direction: column; gap: .85rem; text-align: center; }
  .seating-timer { gap: .85rem; }
  .married-signature { text-align: center; }
  .seating-main { margin-top: 1rem; }
  .seating-hero { grid-template-columns: 1fr; border-radius: 8rem 8rem .5rem .5rem; }
  .seating-portrait { height: 21rem; }
  .seating-portrait img { object-position: 50% 36%; }
  .seating-hero-copy { padding: 2rem 1.4rem; }
  .seating-hero h1 { font-size: clamp(2.9rem, 11vw, 4rem); }
  .seating-navigation > div { gap: .85rem; }
  .seating-navigation > div a { font-size: .65rem; }
  .seating-brand { font-size: 1.4rem; }
  .reception-timeline li { grid-template-columns: 4.3rem 1fr; gap: .6rem; }
  .reception-timeline time { font-size: 1.35rem; }
  .reception-timeline h3 { font-size: 1.15rem; }
  .welcome-dialog { padding: 2rem 1.2rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-dialog[open], .seat-pass.is-personalized { animation: none; }
  .seat-button { transition: none; }
}
