/* ---------------------------------------------------------------------------
   Com & Noei — wedding site
   Ported from the Claude Design export; no framework, no build step.
   --------------------------------------------------------------------------- */

:root {
  --ink: #3A3A34;
  --deep: #43382C;
  --forest: #3E4A3F;
  --sage: #5E8B71;
  --blue: #4A6B82;
  --gold: #D9A458;
  --brass: #B08A45;
  --sand: #A2916F;
  --taupe: #8A7B5E;
  --body: #6E6A5C;
  --cream: #FDFBF7;
  --rule: rgba(120, 105, 75, .26);
  --rule-soft: rgba(120, 105, 75, .2);
  --paper: linear-gradient(170deg, #FFFCF6, #F6F1E6);

  --serif: 'Cormorant Garamond', 'Trirong', serif;
  --sans: 'Karla', 'Sarabun', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}

html, body { margin: 0; padding: 0; background: #26313C; }
* { box-sizing: border-box; }

a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(74, 107, 130, .35); }
a:hover { color: var(--sage); border-bottom-color: rgba(94, 139, 113, .6); }

input, textarea, button { font-family: var(--sans); }

/* --- animations --------------------------------------------------------- */

@keyframes pulseSoft { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes cardIn { from { opacity: 0; transform: perspective(1400px) rotateX(-8deg) translateY(26px) scale(.97); } to { opacity: 1; transform: perspective(1400px) rotateX(0) translateY(0) scale(1); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes noteFloat { 0% { opacity: 0; transform: translate(0, 0) scale(.7); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(-26px, -64px) scale(1.1); } }
@keyframes petalBurst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(7px); opacity: 1; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(56px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* --- stage -------------------------------------------------------------- */

.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% 116%, rgba(224, 150, 74, .4), transparent 64%),
    radial-gradient(760px 520px at 84% 96%, rgba(196, 116, 74, .26), transparent 62%),
    radial-gradient(900px 640px at 10% 4%, rgba(74, 107, 130, .42), transparent 62%),
    radial-gradient(700px 500px at 92% 6%, rgba(94, 139, 113, .2), transparent 60%),
    linear-gradient(180deg, #223040 0%, #2E3B48 38%, #46464C 68%, #5E4E44 88%, #6B5442 100%);
}

.particles {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.grain {
  position: absolute; inset: 0;
  pointer-events: none; opacity: .35; z-index: 0;
  background-image: radial-gradient(rgba(255, 246, 225, .09) 1px, transparent 1px);
  background-size: 4px 4px;
}

.page {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 30px 20px 88px;
}

/* --- cover card --------------------------------------------------------- */

.hero { display: grid; place-items: center; }
.hero.is-cover { min-height: calc(100vh - 150px); }

.card-tilt {
  perspective: 1600px;
  width: min(86vw, 430px, 58vh);
  animation: heroRise 1.1s cubic-bezier(.2, .8, .2, 1) both;
}

.card-flip {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transition: transform .95s cubic-bezier(.4, 0, .2, 1);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(calc(var(--flip, 0deg) + var(--tilt-y, 0deg)));
}

.face { position: absolute; inset: 0; }
.face-front { opacity: 1; transition: opacity .18s linear .42s; }
.face-back { transform: rotateY(180deg); opacity: 0; transition: opacity .18s linear .42s; pointer-events: none; }

.is-flipped .face-front { opacity: 0; pointer-events: none; }
.is-flipped .face-back { opacity: 1; pointer-events: auto; }

.card-face {
  position: absolute; inset: 0;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow:
    0 50px 90px -34px rgba(10, 14, 20, .7),
    0 0 60px rgba(224, 164, 88, .14),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}
.card-face.front { background: linear-gradient(170deg, #FDFBF7, #F4ECE1 70%, #EFE5D6); }
.card-face.back { background: linear-gradient(170deg, #FDFBF7, #F1E8DB 70%, #EADFCD); }

.card-grain {
  position: absolute; inset: 0;
  opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(120, 105, 75, .16) 1px, transparent 1px);
  background-size: 3px 3px;
}
.card-rule {
  position: absolute; inset: 11px;
  border: 1px solid rgba(120, 105, 75, .18);
  border-radius: 3px; pointer-events: none;
}
.card-tone {
  position: absolute; inset: 0;
  pointer-events: none; mix-blend-mode: multiply; border-radius: 6px;
}

.card-inner {
  position: relative; height: 100%;
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  gap: clamp(8px, 2.2vw, 14px);
  padding: clamp(18px, 4.4vw, 26px) clamp(20px, 5vw, 28px) clamp(14px, 3.4vw, 20px);
  text-align: center;
}

.kicker-xs {
  font-size: 10px; letter-spacing: .42em;
  text-transform: uppercase; color: var(--sand);
}

.couple-art { width: 84%; transform: rotate(-1.2deg); margin: 0 auto; }
.couple-art img {
  display: block; width: 100%; height: auto;
  mix-blend-mode: multiply; filter: contrast(1.04) saturate(.96);
}

.card-mid { display: grid; gap: clamp(6px, 1.8vw, 10px); align-content: center; }

.rule-diamond {
  display: flex; align-items: center; justify-content: center;
  gap: 11px; color: rgba(120, 105, 75, .5);
}
.rule-diamond .line { width: 34px; height: 1px; background: currentColor; }
.rule-diamond .gem { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

.names {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 7vw, 39px); line-height: 1.02; color: var(--deep);
}
.names .and { font-style: italic; font-size: .52em; color: var(--taupe); }

.date-line {
  font-family: var(--sans); font-size: clamp(10px, 2.7vw, 12px);
  letter-spacing: .34em; text-transform: uppercase; color: #7A6A54;
}
.city-line {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(14px, 3.4vw, 17px); color: var(--taupe);
}

.flip-hint {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 9px 0 0; border-top: 1px dashed rgba(120, 105, 75, .3);
  animation: pulseSoft 2.9s ease-in-out infinite;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--sand);
}
.flip-hint .glyph { font-size: 14px; }

/* card back */

.card-back-inner {
  position: relative; height: 100%;
  display: grid; grid-template-rows: auto 1fr auto auto;
  gap: clamp(10px, 2.4vw, 16px);
  padding: clamp(22px, 5.4vw, 30px) clamp(20px, 5vw, 30px) clamp(16px, 4vw, 22px);
}

.monogram {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(176, 138, 69, .55);
  display: grid; place-content: center;
  font-family: var(--serif); font-size: 17px; color: #8A6A34;
}
.invited-line {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 3.8vw, 18px); line-height: 1.35;
  color: #6B5B45; max-width: 24ch; text-wrap: pretty;
}

.detail-rows { display: grid; align-content: center; gap: clamp(9px, 2.4vw, 14px); }
.detail-row {
  display: grid; grid-template-columns: 66px 1fr; gap: 12px;
  align-items: baseline; padding-bottom: clamp(8px, 2vw, 12px);
  border-bottom: 1px dashed rgba(120, 105, 75, .28);
}
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; align-items: center; }
.detail-row .lead { font-family: var(--serif); font-size: 17px; color: #8A6A34; text-align: right; }
.detail-row .lead.label {
  font-family: var(--sans); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sand);
}
.detail-row .label-sm {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand);
}
.detail-row .value { font-family: var(--serif); font-size: 18px; color: var(--deep); }

.swatches { display: flex; gap: 6px; }
.swatches span { width: 15px; height: 15px; border-radius: 50%; }

.card-actions { display: grid; gap: 8px; }
.card-actions .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.btn-solid {
  cursor: pointer; padding: 13px; border: 0; border-radius: 3px;
  background: var(--deep); color: var(--cream);
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 22px -12px rgba(67, 56, 44, .8); }

.btn-ghost {
  cursor: pointer; text-align: center; padding: 11px 6px;
  border: 1px solid rgba(120, 105, 75, .4); border-radius: 3px;
  background: rgba(255, 255, 255, .5); color: #6B5B45;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .9); }
a.btn-ghost { border-bottom: 1px solid rgba(120, 105, 75, .4); }

.flip-back-btn {
  cursor: pointer; background: none; border: 0; padding: 4px 0 0;
  display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--sand);
}
.flip-back-btn .glyph { font-size: 14px; }
.flip-back-btn .txt { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }

.scroll-cue {
  margin-top: clamp(18px, 3vh, 34px);
  background: none; border: 0; cursor: pointer;
  display: grid; gap: 8px; justify-items: center;
  animation: fadeUp 1s ease .6s both;
}
.scroll-cue .txt { font-family: var(--hand); font-size: 21px; color: rgba(242, 233, 216, .82); }
.scroll-cue .chevrons { display: grid; gap: 3px; justify-items: center; animation: bounceDown 2.2s ease-in-out infinite; }
.scroll-cue .chevrons i {
  width: 9px; height: 9px; transform: rotate(45deg);
  border-right: 1px solid rgba(242, 233, 216, .7);
  border-bottom: 1px solid rgba(242, 233, 216, .7);
}
.scroll-cue .chevrons i + i { border-color: rgba(242, 233, 216, .4); }

/* --- shared panels ------------------------------------------------------ */

.panel-wrap { animation: cardIn .8s cubic-bezier(.2, .8, .2, 1) both; }

.panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px rgba(10, 14, 20, .62);
  padding: clamp(26px, 4.4vw, 54px);
}

.panel-head { text-align: center; display: grid; gap: 8px; margin-bottom: 34px; }

.kicker {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--taupe);
}
.panel-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 6vw, 50px); color: var(--forest);
}
.panel-head .note { font-size: 13px; color: var(--taupe); }

/* --- invitation --------------------------------------------------------- */

.invite-wrap { width: min(94vw, 980px); }
.invite {
  position: relative;
  background: linear-gradient(170deg, #FFFCF6, #F7F0E2);
  border: 1px solid rgba(120, 105, 75, .24);
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px rgba(10, 14, 20, .62), 0 2px 0 rgba(255, 255, 255, .7) inset;
  padding: clamp(28px, 5vw, 62px);
}
.invite::after {
  content: ''; position: absolute; inset: 12px;
  border: 1px dashed rgba(94, 139, 113, .42); border-radius: 6px; pointer-events: none;
}
.invite-inner { position: relative; display: grid; gap: 34px; justify-items: center; text-align: center; }

.rule-wide { display: flex; align-items: center; gap: 14px; color: var(--sage); }
.rule-wide .line { width: 46px; height: 1px; background: currentColor; opacity: .5; }
.rule-wide .gem { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }

.invite-names {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 8vw, 68px); line-height: 1.05; color: var(--forest);
}
.invite-names .and { font-style: italic; font-size: .5em; color: var(--sage); }

.invite-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 3.4vw, 22px); color: var(--blue);
}

.invite-facts {
  width: 100%; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px; padding: 26px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.invite-facts .fact { display: grid; gap: 7px; }
.invite-facts .fact .k {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe);
}
.invite-facts .fact .v { font-family: var(--serif); font-size: 25px; color: var(--forest); }

.invite-foot {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--body); max-width: 46ch; text-wrap: pretty;
}

/* --- our story ---------------------------------------------------------- */

.story-wrap { position: relative; width: min(96vw, 1060px); }
.story {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 60% at 12% 0%, rgba(94, 139, 113, .16), transparent 60%),
    radial-gradient(110% 60% at 92% 100%, rgba(217, 164, 88, .2), transparent 62%),
    linear-gradient(170deg, #FFFCF6, #F7F1E4);
  border: 1px solid rgba(120, 105, 75, .24);
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(10, 14, 20, .62);
  padding: clamp(28px, 4.6vw, 58px) clamp(20px, 4vw, 48px) clamp(34px, 5vw, 56px);
}
.story::before, .story::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.story::before {
  left: -40px; top: -30px; width: 190px; height: 190px;
  background: radial-gradient(circle at 40% 40%, rgba(94, 139, 113, .18), transparent 68%);
}
.story::after {
  right: -50px; bottom: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle at 60% 60%, rgba(217, 164, 88, .2), transparent 68%);
}

.story-head {
  position: relative; text-align: center; display: grid; gap: 10px;
  justify-items: center; margin-bottom: clamp(30px, 4vw, 48px);
}
.story-head .chapter {
  display: flex; align-items: center; gap: 10px; color: var(--taupe);
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
}
.story-head .chapter .line { width: 22px; height: 1px; background: currentColor; opacity: .6; }
.story-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 6.4vw, 54px); color: var(--forest);
}
.story-head .hint { font-family: var(--hand); font-size: 20px; color: var(--sand); }

.story-list { position: relative; display: grid; gap: clamp(18px, 2.6vw, 30px); }

.story-spine {
  position: absolute; left: 50%; top: 10px; bottom: 10px;
  width: 2px; transform: translateX(-50%); pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(176, 138, 69, .55) 0 6px, transparent 6px 14px);
}

.story-row {
  display: grid; align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  animation: fadeUp .7s ease both;
}

.frame-wrap { grid-column: 1; grid-row: 1; display: flex; justify-content: flex-end; }
.text-wrap {
  grid-column: 3; grid-row: 1;
  display: grid; gap: 10px; align-content: center; justify-items: start; text-align: left;
}
/* Alternating sides. Set from JS rather than :nth-child, because .story-spine
   is a sibling and would throw the count off by one. */
.story-row.is-mirrored .frame-wrap { grid-column: 3; justify-content: flex-start; }
.story-row.is-mirrored .text-wrap { grid-column: 1; }

.dot-wrap { grid-column: 2; grid-row: 1; display: flex; justify-content: center; }
.dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: rgba(176, 138, 69, .5);
  transition: all .35s ease;
}
.is-open .dot {
  width: 20px; height: 20px;
  background: radial-gradient(circle at 35% 30%, #F0C97A, #C88C3C);
  box-shadow: 0 0 20px rgba(226, 178, 110, .9);
}

.frame {
  position: relative; width: min(100%, 300px); max-width: 300px;
  cursor: pointer; padding: 10px 10px 4px;
  background: linear-gradient(175deg, #FFFDF9, #F2E9D8);
  border: 1px solid var(--rule-soft); border-radius: 3px;
  transform: rotate(var(--rot, 0deg));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
  box-shadow: 0 18px 30px -20px rgba(10, 14, 20, .55);
}
.frame:hover { transform: rotate(0deg) translateY(-8px) scale(1.015); box-shadow: 0 30px 44px -22px rgba(10, 14, 20, .55); }
.is-open .frame {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 30px 46px -22px rgba(10, 14, 20, .6);
}

.frame .tape {
  position: absolute; left: 50%; top: -13px;
  transform: translateX(-50%) rotate(-4deg);
  width: 84px; height: 24px;
  background: rgba(217, 164, 88, .4);
  border: 1px dashed rgba(176, 138, 69, .5);
}
.slot {
  aspect-ratio: 4 / 3; border-radius: 2px;
  background-image: repeating-linear-gradient(135deg, rgba(94, 139, 113, .15) 0 8px, rgba(250, 247, 242, .92) 8px 16px);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px;
}
.slot span {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .1em;
  color: #5E7A66; background: rgba(250, 247, 242, .9); padding: 5px 9px; border-radius: 2px;
}
.frame-caption {
  padding: 9px 4px 2px; text-align: center;
  font-family: var(--hand); font-size: 19px; color: #6B5B45;
}

.year-badge {
  cursor: pointer; border: 1px solid rgba(176, 138, 69, .5); border-radius: 999px;
  padding: 5px 14px; background: rgba(255, 255, 255, .6); color: #8A6A34;
  font-family: var(--hand); font-size: 18px; letter-spacing: .04em;
  transform: rotate(var(--rot-badge, 0deg));
  transition: transform .35s ease, background .3s ease;
}
.year-badge:hover { transform: rotate(0deg) scale(1.05); }
.is-open .year-badge { background: rgba(217, 164, 88, .22); transform: rotate(0deg); }

.story-row h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; color: var(--forest);
}

.body-wrap {
  display: block; overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1), opacity .4s ease;
}
.is-open .body-wrap { max-height: 340px; opacity: 1; }
.body-wrap p {
  margin: 0; font-size: 15px; line-height: 1.7;
  color: var(--body); max-width: 46ch; text-wrap: pretty;
}

.more-btn {
  cursor: pointer; background: none; border: 0; padding: 0;
  font-family: var(--hand); font-size: 17px; color: var(--sage);
  border-bottom: 1px dashed rgba(94, 139, 113, .6);
}

.story-foot { display: flex; justify-content: center; margin-top: clamp(26px, 3.4vw, 40px); }
.story-foot .inner {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--hand); font-size: 22px; color: var(--taupe);
}
.story-foot .bead { width: 9px; height: 9px; border-radius: 50%; }
.story-foot .bead.gold { background: rgba(217, 164, 88, .8); box-shadow: 0 0 12px rgba(217, 164, 88, .8); }
.story-foot .bead.sage { background: rgba(94, 139, 113, .8); box-shadow: 0 0 12px rgba(94, 139, 113, .7); }

/* --- schedule ----------------------------------------------------------- */

.details-wrap { width: min(94vw, 900px); }
.details-panel { background: linear-gradient(170deg, #FFFCF6, #F6F1E6); }
.details-head { margin-bottom: 40px; }

.sched { display: grid; gap: 4px; }
.sched-row {
  display: grid; grid-template-columns: 76px 44px 1fr; gap: 16px;
  align-items: start; padding: 18px 0;
}
.sched-row .time {
  font-family: var(--serif); font-size: 22px; color: var(--blue);
  text-align: right; padding-top: 6px;
}
.sched-row .rail { position: relative; display: flex; justify-content: center; padding-top: 4px; }
.sched-row .rail .thread {
  position: absolute; top: 34px; bottom: -34px; width: 1px;
  background: repeating-linear-gradient(180deg, rgba(94, 139, 113, .5) 0 4px, transparent 4px 9px);
}
.sched-row:last-child .rail .thread { display: none; }
.sched-row .rail .bead {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(94, 139, 113, .5); background: rgba(255, 255, 255, .75);
  display: flex; align-items: center; justify-content: center; color: var(--sage);
}
.sched-row .txt { display: grid; gap: 5px; padding-top: 4px; }
.sched-row .txt h3 {
  margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--forest);
}
.sched-row .txt p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }

.rite-link {
  justify-self: start; margin-top: 2px;
  cursor: pointer; background: none; border: 0; padding: 0;
  font-family: var(--hand); font-size: 16px; color: var(--sage);
  border-bottom: 1px dashed rgba(94, 139, 113, .6);
}
.rite-link:hover { color: var(--forest); border-bottom-color: var(--forest); }

.section-head {
  margin: 0 0 18px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 3.4vw, 28px); color: var(--forest);
  text-align: center;
}

.section-rule {
  height: 1px; margin: clamp(34px, 5vw, 52px) 0 clamp(26px, 4vw, 38px);
  background: repeating-linear-gradient(90deg, rgba(120, 105, 75, .38) 0 6px, transparent 6px 14px);
}

.section-intro { display: grid; gap: 6px; justify-items: center; margin-bottom: 26px; }
.section-intro .section-head { margin: 0; }

/* Flash when a schedule entry links down to its explanation. */
@keyframes riteFlash {
  0% { background: rgba(217, 164, 88, .3); }
  100% { background: rgba(217, 164, 88, 0); }
}
.rite.is-flash { animation: riteFlash 1.8s ease-out; border-radius: 6px; }

.panel-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

.pill-solid {
  cursor: pointer; padding: 13px 26px; border-radius: 999px;
  border: 1px solid rgba(94, 139, 113, .6); background: var(--sage); color: #FAF7F2;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(94, 139, 113, .8); }

.pill-ghost {
  cursor: pointer; padding: 13px 26px; border-radius: 999px;
  border: 1px solid rgba(74, 107, 130, .45); background: rgba(255, 255, 255, .6);
  color: var(--blue); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .2s ease;
}
.pill-ghost:hover { transform: translateY(-2px); }

/* --- RSVP --------------------------------------------------------------- */

.rsvp-wrap { position: relative; width: min(94vw, 680px); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.confetti i {
  position: absolute; left: 50%; top: 42%;
  border-radius: 60% 40% 60% 40%; opacity: 0;
  animation-name: petalBurst; animation-timing-function: cubic-bezier(.15, .6, .3, 1);
  animation-fill-mode: forwards;
}

.rsvp-form { display: grid; gap: 26px; }
.rsvp-head { text-align: center; display: grid; gap: 8px; }
.rsvp-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 6vw, 48px); color: var(--forest);
}

.field { display: grid; gap: 8px; }
.field > span {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe);
}
.field input, .field textarea {
  padding: 13px 15px; border: 1px solid rgba(120, 105, 75, .34); border-radius: 4px;
  background: rgba(255, 255, 255, .7); font-size: 15px; color: var(--ink); outline: none;
}
.field textarea { line-height: 1.6; resize: vertical; font-family: var(--sans); }
.field input:focus, .field textarea:focus { border-color: var(--sage); }

.choices { display: flex; gap: 12px; flex-wrap: wrap; }
.choice {
  cursor: pointer; padding: 12px 22px; border-radius: 999px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(120, 105, 75, .34);
  background: rgba(255, 255, 255, .6); color: var(--body);
  transition: all .25s ease;
}
.choice.is-on {
  border-color: rgba(94, 139, 113, .7);
  background: rgba(94, 139, 113, .15);
  color: #43684F;
}

/* Party size appears only once someone says they are coming. */
.pax-field { display: none; }
.pax-field.is-shown { display: grid; animation: fadeUp .35s ease both; }
.pax-field input { width: 110px; text-align: center; font-size: 17px; }
.pax-field > span em {
  font-style: normal; text-transform: none;
  letter-spacing: .02em; color: var(--sand); margin-left: 6px;
}

.rsvp-error:empty { display: none; }
.rsvp-error {
  font-size: 13px; line-height: 1.5; color: #A6614B;
  padding: 11px 14px; border-radius: 4px;
  border: 1px solid rgba(166, 97, 75, .3);
  background: rgba(200, 131, 106, .1);
}

.field.is-missing > span { color: #A6614B; }
.field.is-missing input { border-color: rgba(166, 97, 75, .55); }
.field.is-missing .choice { border-color: rgba(166, 97, 75, .35); }

.side-choice { display: inline-flex; align-items: center; gap: 8px; }
.side-choice .side-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--tint); opacity: .45; transition: opacity .25s ease, box-shadow .25s ease;
}
.side-choice.is-on {
  border-color: var(--tint);
  background: color-mix(in srgb, var(--tint) 14%, transparent);
  color: var(--deep);
}
.side-choice.is-on .side-dot { opacity: 1; box-shadow: 0 0 10px var(--tint); }

.submit-btn {
  cursor: pointer; margin-top: 4px; padding: 15px 26px; border-radius: 999px; border: 0;
  background: linear-gradient(120deg, #5E8B71, #4A6B82); color: #FAF7F2;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(74, 107, 130, .75); }

.thanks { display: grid; gap: 18px; text-align: center; padding: 24px 0; }
.thanks .seal {
  justify-self: center; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(176, 138, 69, .6);
  display: flex; align-items: center; justify-content: center; color: var(--brass);
  animation: pulseSoft 3s ease-in-out infinite;
}
.thanks .seal i { width: 14px; height: 14px; background: currentColor; transform: rotate(45deg); }
.thanks h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 6vw, 46px); color: var(--forest);
}
.thanks p {
  margin: 0 auto; max-width: 44ch; font-size: 15px; line-height: 1.7;
  color: var(--body); text-wrap: pretty;
}
.edit-btn {
  justify-self: center; cursor: pointer; margin-top: 6px;
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid rgba(120, 105, 75, .4); background: rgba(255, 255, 255, .6);
  color: var(--body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}

/* --- gallery ------------------------------------------------------------ */

.gallery-wrap { width: min(94vw, 1020px); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.gallery-cell {
  border: 1px solid rgba(94, 139, 113, .35); border-radius: 6px;
  padding: 8px; background: rgba(255, 255, 255, .6);
}
.gallery-cell .slot { aspect-ratio: 3 / 4; }

/* --- guestbook ---------------------------------------------------------- */

.guest-wrap { width: min(94vw, 1000px); }
.guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.guest-note {
  position: relative; padding: 20px 18px 18px;
  background: linear-gradient(170deg, #FFFDF7, #F3EBDA);
  border: 1px solid var(--rule-soft); border-radius: 3px;
  box-shadow: 0 14px 26px -18px rgba(10, 14, 20, .5);
  display: grid; gap: 10px;
}
.guest-note .tape {
  position: absolute; left: 50%; top: -7px; transform: translateX(-50%);
  width: 34px; height: 12px;
  background: rgba(217, 164, 88, .35); border: 1px solid rgba(176, 138, 69, .35);
}
.guest-note p {
  margin: 0; font-family: var(--hand); font-size: 20px; line-height: 1.35;
  color: #5C4E3C; text-wrap: pretty;
}
.guest-note .who {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand);
}

/* --- travel / gifts ----------------------------------------------------- */

.travel-wrap { width: min(94vw, 940px); }
.gifts-wrap { width: min(94vw, 860px); }

.col-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.gifts-wrap .col-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }

.col {
  display: grid; gap: 10px; align-content: start;
  padding-top: 16px; border-top: 1px solid rgba(120, 105, 75, .25);
}
.col h3 {
  margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--forest);
}
.col .lines { display: grid; gap: 6px; }
.col .lines div { font-size: 14px; line-height: 1.6; color: var(--body); }

.palette { display: flex; gap: 12px; justify-content: center; margin-bottom: 34px; }
.palette span { width: 44px; height: 44px; border-radius: 50%; }

/* --- seating ------------------------------------------------------------ */

.seating-wrap { width: min(94vw, 940px); }

.seat-search { display: grid; gap: 10px; justify-items: center; margin-bottom: 34px; }
.seat-search input {
  width: min(100%, 360px);
  padding: 13px 18px; border-radius: 999px;
  border: 1px solid rgba(120, 105, 75, .34);
  background: rgba(255, 255, 255, .75);
  font-size: 15px; color: var(--ink); outline: none; text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.seat-search input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(94, 139, 113, .12);
}

.seat-result { min-height: 20px; font-size: 13px; letter-spacing: .04em; }
.seat-result.is-found { color: var(--sage); font-family: var(--hand); font-size: 19px; }
.seat-result.is-empty { color: var(--sand); }

/* The plan is drawn as a hand-made map: soft paper, wobbly ink, grass washes,
   everything hand-lettered. Nothing here is a hard geometric edge. */

.hall-frame {
  position: relative;
  padding: clamp(10px, 2vw, 18px);
  border-radius: 14px;
  background: linear-gradient(170deg, #FBF6EA, #F1E7D3);
  border: 1px solid rgba(120, 105, 75, .3);
  box-shadow: inset 0 2px 14px rgba(120, 105, 75, .16), 0 18px 30px -22px rgba(10, 14, 20, .5);
}
/* Torn-paper edge, drawn rather than cut. */
.hall-frame::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px dashed rgba(140, 122, 88, .35); border-radius: 10px;
  pointer-events: none;
}

.hall {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(140, 178, 150, .22), transparent 62%),
    radial-gradient(60% 45% at 8% 100%, rgba(196, 174, 126, .28), transparent 60%),
    linear-gradient(175deg, #FCFAF3, #F4EEDF);
}

/* Faint meadow texture — the floor of the room reads as ground, not a grid. */
.hall-grass {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(102deg, rgba(126, 156, 134, .12) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(78deg, rgba(126, 156, 134, .09) 0 2px, transparent 2px 17px);
}

.piece {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  cursor: pointer;
  transition: opacity .3s ease, filter .3s ease;
}

.piece-body {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-content: center; gap: 1px;
  text-align: center; padding: 4px;
}

.piece-label {
  font-family: var(--hand); font-size: clamp(12px, 1.5vw, 17px);
  line-height: 1.1; color: #52463A;
}
.piece-count {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: .18em; color: var(--sand);
}

/* Tables — round, tinted by side, with a soft pencil edge. */
.piece--table { aspect-ratio: 1; }
.piece--table .piece-body {
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--tint) 70%, #8A7B5E);
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .92), color-mix(in srgb, var(--tint) 14%, #FDFBF5));
  box-shadow: 0 6px 12px -7px rgba(10, 14, 20, .5), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.piece--table:hover .piece-body { box-shadow: 0 12px 18px -9px rgba(10, 14, 20, .55); }

/* Fixtures — soft rectangles, each with its own wash. */
.piece--stage .piece-body,
.piece--register .piece-body,
.piece--entrance .piece-body,
.piece--dancefloor .piece-body,
.piece--buffet .piece-body,
.piece--bar .piece-body,
.piece--photo .piece-body {
  width: 100%; height: 100%;
  border-radius: 8px;
  border: 1.5px solid rgba(138, 123, 94, .55);
  box-shadow: 0 5px 12px -8px rgba(10, 14, 20, .45);
}

.piece--stage .piece-body {
  background: linear-gradient(170deg, rgba(226, 178, 110, .5), rgba(203, 148, 82, .34));
  border-color: rgba(176, 138, 69, .7);
  border-radius: 8px 8px 26px 26px;
}
.piece--dancefloor .piece-body {
  background: repeating-linear-gradient(45deg, rgba(126, 156, 134, .2) 0 9px, rgba(250, 247, 240, .55) 9px 18px);
  border-color: rgba(94, 139, 113, .6);
}
.piece--register .piece-body {
  background: linear-gradient(170deg, rgba(122, 154, 180, .34), rgba(74, 107, 130, .22));
  border-color: rgba(74, 107, 130, .6);
}
.piece--entrance .piece-body {
  background: linear-gradient(170deg, rgba(255, 253, 247, .9), rgba(236, 226, 206, .8));
  border-style: dashed; border-color: rgba(138, 106, 52, .6);
}
.piece--buffet .piece-body,
.piece--bar .piece-body {
  background: linear-gradient(170deg, rgba(200, 131, 106, .3), rgba(176, 106, 82, .2));
  border-color: rgba(200, 131, 106, .6);
}
.piece--photo .piece-body {
  background: linear-gradient(170deg, rgba(200, 166, 160, .32), rgba(176, 138, 143, .2));
  border-color: rgba(190, 150, 150, .6);
}

/* Guest list, revealed on tap. Floats above the plan so it never reflows it. */
.piece-guests {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 6px);
  z-index: 4; min-width: 116px;
  display: grid; gap: 2px; padding: 0 10px;
  max-height: 0; opacity: 0; overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 253, 247, .97);
  border: 1px solid rgba(120, 105, 75, .3);
  box-shadow: 0 12px 22px -14px rgba(10, 14, 20, .6);
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, padding .3s ease;
}
.piece--table.is-open .piece-guests {
  max-height: 220px; opacity: 1; padding: 9px 10px;
}
.piece-guests .guest {
  font-size: 12px; line-height: 1.45; color: var(--body); white-space: nowrap;
}

.piece.is-dim { opacity: .28; filter: saturate(.4); }
.piece--table.is-match .piece-body {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--tint) 45%, transparent),
    0 0 22px color-mix(in srgb, var(--tint) 40%, transparent),
    0 12px 18px -9px rgba(10, 14, 20, .55);
}

.seat-hint {
  text-align: center; margin-top: 22px;
  font-family: var(--hand); font-size: 18px; color: var(--sand);
}

/* --- hall editor -------------------------------------------------------- */

.hall.is-editing { cursor: grab; }
.hall.is-editing .piece { cursor: grab; touch-action: none; }
.hall.is-editing .piece .piece-guests { display: none; }
.piece.is-dragging { cursor: grabbing; z-index: 6; filter: drop-shadow(0 10px 14px rgba(10, 14, 20, .4)); }
.piece.is-selected .piece-body {
  outline: 2px dashed rgba(138, 106, 52, .85);
  outline-offset: 4px;
}

.hall-tools { display: flex; justify-content: center; margin-top: 20px; }
.pill-solid.sm, .pill-ghost.sm { padding: 10px 20px; font-size: 11px; }

.editor {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px dashed rgba(120, 105, 75, .35);
  display: grid; gap: 18px;
}

.palette-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.palette-label {
  font-family: var(--hand); font-size: 18px; color: var(--sand); margin-right: 4px;
}
.add-btn {
  cursor: pointer; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(120, 105, 75, .35);
  background: rgba(255, 255, 255, .6); color: var(--body);
  font-size: 11px; letter-spacing: .1em;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.add-btn:hover {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(94, 139, 113, .6);
  transform: translateY(-2px);
}

.inspector {
  display: grid; gap: 14px;
  padding: 18px; border-radius: 8px;
  background: rgba(255, 253, 247, .8);
  border: 1px solid rgba(120, 105, 75, .28);
}
.ins-field { display: grid; gap: 7px; }
.ins-field > span {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe);
}
.ins-field input, .ins-field textarea {
  padding: 10px 13px; border-radius: 4px;
  border: 1px solid rgba(120, 105, 75, .34);
  background: rgba(255, 255, 255, .8);
  font-size: 14px; color: var(--ink); outline: none;
  font-family: var(--sans); line-height: 1.5; resize: vertical;
}
.ins-field input:focus, .ins-field textarea:focus { border-color: var(--sage); }

.ins-remove {
  justify-self: start; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(166, 97, 75, .4);
  background: rgba(200, 131, 106, .1); color: #A6614B;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.ins-remove:hover { background: rgba(200, 131, 106, .2); }

.editor-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.editor-note { font-size: 12px; color: var(--sand); max-width: 42ch; text-align: center; }

/* --- ceremony guide ----------------------------------------------------- */

.rites { display: grid; gap: 22px; }
.rite {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
  padding-bottom: 20px; border-bottom: 1px dashed rgba(120, 105, 75, .28);
}
.rite:last-child { border-bottom: 0; padding-bottom: 0; }
.rite .mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(176, 138, 69, .5);
  display: grid; place-content: center; color: var(--brass);
}
.rite .mark i { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.rite .txt { display: grid; gap: 6px; }
.rite h3 {
  margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--forest);
}
.rite p {
  margin: 0; font-size: 15px; line-height: 1.65;
  color: var(--body); max-width: 58ch; text-wrap: pretty;
}

/* --- tag navigation ----------------------------------------------------- */

.tags {
  display: grid; gap: 14px; justify-items: center;
  margin-top: 44px;
  animation: fadeUp 1.1s ease both;
}
.tags.is-cover { margin-top: clamp(30px, 8vh, 80px); }

.tags-hint {
  display: flex; align-items: center; gap: 10px; color: rgba(242, 233, 216, .7);
}
.tags.is-cover .tags-hint { display: none; }
.tags-hint .line { width: 26px; height: 1px; background: currentColor; opacity: .5; }
.tags-hint .txt { font-family: var(--hand); font-size: 19px; }

.tags-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; max-width: min(96vw, 880px);
}
.tag-col { display: grid; justify-items: center; gap: 0; }
.tag-string {
  width: 1px; height: 20px;
  background: linear-gradient(180deg, rgba(242, 233, 216, .05), rgba(242, 233, 216, .55));
}

.tag {
  cursor: pointer; border-radius: 4px; padding: 11px 14px 12px;
  border: 1px solid rgba(120, 105, 75, .3);
  background: linear-gradient(170deg, rgba(253, 251, 247, .94), rgba(240, 231, 215, .9));
  display: grid; gap: 5px; justify-items: center; min-width: 108px;
  transform: rotate(var(--rot, 0deg));
  animation: fadeUp .7s cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background .3s ease;
  box-shadow: 0 14px 26px -16px rgba(10, 14, 20, .7);
}
.tag:hover {
  transform: translateY(-9px) rotate(0deg);
  box-shadow: 0 22px 34px -16px rgba(10, 14, 20, .8), 0 0 26px rgba(226, 178, 110, .28);
}
.tag.is-active {
  border-color: rgba(120, 105, 75, .75);
  background: linear-gradient(170deg, rgba(255, 252, 246, 1), rgba(232, 220, 198, .98));
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 0 20px 32px -16px rgba(10, 14, 20, .8), 0 0 24px rgba(226, 178, 110, .3);
}
.tag .dot { width: 9px; height: 9px; border-radius: 50%; }
.tag .label {
  font-family: var(--serif); font-size: 18px; line-height: 1.15;
  color: var(--deep); white-space: nowrap;
}
.tag .sub { font-family: var(--hand); font-size: 14px; color: var(--sand); white-space: nowrap; }

/* --- floating controls -------------------------------------------------- */

.lang-btn {
  position: fixed; left: 18px; top: 18px; z-index: 7;
  cursor: pointer; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, .35);
  background: rgba(38, 49, 60, .55); backdrop-filter: blur(6px);
  color: #F2E9D8; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.lang-btn:hover { background: rgba(38, 49, 60, .8); }

.music-btn {
  position: fixed; right: 18px; top: 18px; z-index: 7;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(120, 105, 75, .3);
  background: radial-gradient(circle at 50% 50%, #3E4A3F 0 22%, #2C3630 22% 24%, #3E4A3F 24% 100%);
  box-shadow: 0 12px 24px -10px rgba(76, 68, 52, .6);
  display: flex; align-items: center; justify-content: center;
}
.music-btn .vinyl {
  position: absolute; inset: 6px; border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, .28);
  border-top-color: rgba(217, 164, 88, .85);
}
.music-btn .spindle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #FAF7F2;
}
.music-btn .note {
  position: absolute; left: -6px; top: -2px;
  font-size: 15px; color: var(--gold); opacity: 0;
}
.music-btn.is-on .vinyl { animation: spinSlow 3.4s linear infinite; }
.music-btn.is-on .note { opacity: 1; animation: noteFloat 2.6s ease-in-out infinite; }

/* --- narrow ------------------------------------------------------------- */

@media (max-width: 639px) {
  .story-spine { display: none; }

  .story-row {
    grid-template-columns: 1fr;
    gap: 14px; justify-items: center;
    padding: 0 0 24px;
    border-bottom: 1px dashed rgba(120, 105, 75, .3);
  }
  .story-row:last-child { border-bottom: 0; }

  .story-row .frame-wrap,
  .story-row.is-mirrored .frame-wrap {
    grid-column: 1; grid-row: auto;
    width: 100%; display: flex; justify-content: center;
  }
  .story-row .text-wrap,
  .story-row.is-mirrored .text-wrap {
    grid-column: 1; grid-row: auto;
    width: 100%; display: grid; gap: 10px;
    justify-items: center; text-align: center;
  }
  .dot-wrap { display: none; }
  .frame { width: 100%; }

  .sched-row { grid-template-columns: 60px 34px 1fr; gap: 12px; }
  .sched-row .time { font-size: 19px; }

  /* The plan gets taller than it is wide, so the room stays legible. */
  .hall { aspect-ratio: 3 / 4; }
  .piece-label { font-size: 11px; }
  .piece-guests .guest { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
