:root {
  --dark: #080817;
  --paper: #f7f4ff;
  --soft-gold: #e8dcff;
  --edge: #d6c9ff60;
  --panel: #161629;
  --muted: #e0dff2;
  --line: #d4d0f342;
  --nav-h: 4.25rem;
}
html { scroll-padding-top: var(--nav-h); }
html.snow-snap { scroll-snap-type: y proximity; }
html.guided-flight { scroll-snap-type:none; scroll-behavior:auto; }
html.snow-snap:has(input:focus, select:focus, textarea:focus, dialog[open]) { scroll-snap-type: none; }
.event-page { background: #080817; overflow-x: clip; }
.snow-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 57% 24%, #201b44, #080817 72%);
  touch-action: pan-y;
}
.snow-world img, .snow-world canvas, .snow-world::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.snow-world img { object-fit: cover; }
.world-backdrop { opacity: .91; object-position: 56% 53%; filter: brightness(.79) saturate(.88); transform: translateX(var(--sky-shift,0px)) scale(1.08); }
.snow-world canvas { visibility: hidden; }
.snow-world[data-mode="live"] .world-backdrop { opacity: .97; }
.snow-world[data-mode="live"] canvas { visibility: visible; }
.snow-world::after {
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 79% 39%, var(--world-tint, #782cca22), transparent 66%),
    linear-gradient(90deg,#0b091bd4 0%,#0c0b2059 44%,#0b091b11 72%),
    linear-gradient(0deg,#080715a6 0%,transparent 48%,#0b091b2e 100%);
  transition: background .65s ease;
}
.top-bar,.party-footer { position: relative; z-index: 7; border-color: #c4b6f042; background: #0c0a1be8; }
.top-bar { position: sticky; top: 0; min-height: var(--nav-h); }
.top-bar::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; transform-origin: left; transform: scaleX(var(--route-progress,0)); background: #e0ceff; box-shadow: 0 0 .85rem #afb8ff; }
.top-actions { display: flex; align-items: center; gap: .54rem; }
.top-actions a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .34rem; }
.top-actions a span { color: #f1d4ff; font-weight: 800; }
.brand span { color: #e4ceff; }
.quiet-button,.scene-action,.sound-toggle {
  min-height: 2.75rem; border-radius: 9rem; border-color: #d1bdf176;
  background: #1e1b37e8; color: #f9f1ff;
}
.quiet-button:hover,.scene-action:hover,.sound-toggle:hover { background: #382b56; }
.sound-toggle { width: 2.75rem; padding: 0; font-size: 1.06rem; border-style: solid; border-width: 1px; }
.sound-toggle[aria-pressed="true"] { background: #ecdcff; color: #282045; box-shadow: 0 0 1.25rem #c285fc63; }
.snow-story { position: relative; z-index: 1; pointer-events: none; }
.chapter {
  --crystal: #e1c6ff;
  --crystal-glow: #ad78f4;
  --settle: 0;
  --approach: 0;
  --side: 1;
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(2.3rem,5.8vh,4.65rem) max(5vw,1.1rem);
  display: grid;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.chapter-wrap { width: min(100%, 76rem); margin-inline: auto; position: relative; display: flex; align-items: center; }
.chapter-wrap > * { pointer-events: auto; }
.hero-chapter { padding-bottom: clamp(3rem,8vh,6.5rem); }
.hero-story { max-width: min(100%, 37rem); }
.hero-chapter h1 {
  margin: .95rem 0 1.1rem;
  color: #fff8ff;
  font: 400 clamp(4.75rem,8.9vw,9rem)/.83 var(--serif);
  letter-spacing: -.071em;
  text-shadow: 0 .36rem 2rem #06041a;
}
.hero-chapter h1 em { color: #e7d4ff; text-shadow: 0 0 2.5rem #9a64d482,0 .45rem 2rem #000a; }
.event-date,.hero-note { color: #f2e9ff; text-shadow: 0 .12rem .65rem #070516; }
.gold-button,.reply-card .submit { background: #e8d9ff; color: #231837; border-color: #fbebff; box-shadow: 0 0 1.6rem #b775fa4c; }
.gold-button:hover,.reply-card .submit:hover { background: #f3e7ff; }
.hero-actions { gap: .7rem 1.15rem; }
.scroll-cue { color: #f2e1ff; font-weight: 700; font-size: .93rem; text-underline-offset: .24em; }
.scroll-cue span { color: #dfc3ff; margin-inline-end: .2rem; }
.hero-chapter .scene-action { bottom: auto; right: 0; top: calc(50% + 12.8rem); }
.chapter .party-card {
  position: relative;
  z-index: 1;
  width: min(100%, 35rem);
  padding: clamp(1.37rem,3.35vw,2.65rem);
  border-radius: 1.28rem;
  border: 1px solid color-mix(in srgb,var(--crystal) 46%,#1e2340);
  background:
    linear-gradient(142deg,#ffffff11 0%,transparent 28%),
    radial-gradient(ellipse at 95% 2%,color-mix(in srgb,var(--crystal-glow) 20%,transparent),transparent 60%),
    linear-gradient(132deg,#15162deb,#111123f2 65%);
  box-shadow: inset 0 1px 0 #fff4ff3d,0 1.3rem 4.75rem #040316bd, 0 0 2.8rem color-mix(in srgb,var(--crystal-glow) 18%,transparent);
  translate: calc(var(--approach) * .95rem * var(--side)) calc(1.37rem * (1 - var(--settle)));
  rotate: y calc(var(--approach) * 9deg * var(--side));
  transform-origin: center center;
}
.chapter .party-card::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(121deg,transparent 29%,#b8a5ed06 40%,#f3e7ff1c 50%,transparent 66%);
  translate:calc((var(--approach) * 68%) - 20%);
  opacity:calc(.34 + var(--settle) * .5);
}
.chapter .party-card:focus-within { translate: none; rotate: none; }
.chapter .party-card:focus-within::before { opacity:.25; }
.chapter .party-card h2 { color: #fcf6ff; }
.chapter .section-label { color: var(--crystal); }
.chapter-guests { --crystal: #c6e8ff; --crystal-glow: #638ded; --side:-1; }
.chapter-details { --crystal: #ffe4b7; --crystal-glow: #d8a357; }
.chapter-album { --crystal: #ffd0ee; --crystal-glow: #cc78be; --side:-1; }
.chapter-guests .chapter-wrap,.chapter-album .chapter-wrap { justify-content: flex-end; }
.fields input,.fields select { background-color: #0d0d20ed; }
.fields option { background: #171630; }
.comments-field { grid-column: 1 / -1; }
.comments-field .optional-label { color: var(--muted); font-weight: 400; }
.comments-field textarea {
  width: 100%; min-width: 0; padding: .65rem .77rem; color: #fcf6ff;
  background: #0d0d20ed; border: 1px solid var(--line); border-radius: .55rem; resize: vertical;
  font-size: 1rem; font-weight: 400;
}
.fields input,.fields select,.comments-field textarea {
  transition: border-color .18s ease, box-shadow .22s ease, background-color .2s ease;
}
.fields input:focus,.fields select:focus,.comments-field textarea:focus {
  border-color:#dfd1ff; background-color:#211936; box-shadow:0 0 0 .18rem #ad94ee37,inset 0 0 1rem #c3aaff15;
}
.choice span,.guest-groups > div,.plan-links a { background: #211c3c; }
.choice input:checked + span { color: #f0dfff; border-color: #d4c5ff; background: #7d5fbf45; }
.plan-links a:hover { background: #362757; }
.guest-groups { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guest-groups h3 { font-size: .91rem; line-height: 1.35; }
.guest-groups h3 span { color: #eddbff; }
.guest-groups li { font-size: .92rem; overflow-wrap: anywhere; }
.confirmation { background: #211b36; }
.confirmed-mark { color: #f0dfff; border-color: #d6b7f49b; }
#rsvp-privacy { margin-top: .95rem; }
.opening {
  position: fixed; z-index: 20; inset: 0; display: grid; place-content: center; justify-items: center;
  color: #fbf6ff; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse at center,#20143e 0%,#080718 59%,#050511 100%);
  animation: opening-exit 2.38s ease both;
}
.opening canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening p { position: relative; margin-top: 15vh; font: 400 clamp(1.85rem,7vw,4.2rem)/1 var(--serif); letter-spacing: -.05em; padding: 0 1rem; text-align: center; animation: opening-title 2.23s ease both; }
.opening button { position: absolute; pointer-events: auto; right: 1rem; top: max(1rem,env(safe-area-inset-top)); min-height: 2.75rem; padding: .45rem .8rem; border: 1px solid #d6c5f086; border-radius: 5rem; background: #211535; color: #f7efff; }
.opening #opening-music { right: auto; left: 50%; top: auto; bottom: max(11vh,env(safe-area-inset-bottom)); transform: translateX(-50%); white-space: nowrap; }
@keyframes opening-exit { 0%,77% { opacity: 1; } 100% { opacity: 0; } }
@keyframes opening-title { 0%,23% { opacity: 0; transform: translateY(.85rem); clip-path: inset(85% 0 0); } 61%,100% { opacity: 1; transform: translateY(0); clip-path: inset(0); } }
@media (max-width: 830px) {
  :root { --nav-h: 3.75rem; }
  .chapter { padding-inline: max(4.5vw,.95rem); }
  .chapter-guests .chapter-wrap,.chapter-album .chapter-wrap { justify-content: flex-start; }
}
@media (max-width: 580px) {
  .brand { letter-spacing: .045em; font-size: .67rem; gap: .29rem; white-space: nowrap; }
  .brand span { font-size: 1.12rem; }
  .top-bar { padding-inline: .57rem; gap: .34rem; }
  .top-actions { gap: .24rem; }
  .top-actions .quiet-button { padding: .32rem .45rem; font-size: .73rem; white-space: nowrap; min-height: 2.75rem; }
  .sound-toggle { width: 2.75rem; min-width: 2.75rem; }
  .chapter { min-height: calc(100svh - var(--nav-h)); align-items: end; padding: clamp(5.55rem,17svh,10.3rem) max(4.1vw,.85rem) clamp(2.05rem,7vh,3.65rem); }
  .hero-chapter { padding-top: max(12rem,36svh); padding-bottom: 2.9rem; }
  .snow-world::after { background: radial-gradient(ellipse at 75% 35%,var(--world-tint,#782cca18),transparent 68%), linear-gradient(0deg,#080719ed 0%,#09091bb5 17%,#0b0a193d 46%,transparent 77%); }
  .world-backdrop { object-position: 61% 43%; }
  .hero-chapter h1 { font-size: clamp(3.45rem,14.7vw,5.55rem); }
  .hero-chapter .scene-action { top: auto; bottom: calc(100% + .65rem); right: 0; font-size: .78rem; min-height: 2.75rem; }
  .chapter .party-card { width: 100%; padding: 1.2rem; border-radius: 1rem; }
  .guest-groups { gap: .41rem; }
  .guest-groups > div { padding: .57rem .42rem; }
  .guest-groups h3 { font-size: .84rem; gap: .25rem; }
}
@media (max-width: 350px) {
  .top-actions .quiet-button { padding-inline: .35rem; }
  .brand { font-size: .61rem; }
  .guest-groups { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html.snow-snap { scroll-snap-type: none; }
  .opening { display: none; }
  .chapter:not(.hero-chapter) { min-height: 0; padding-block: 2.2rem; }
  .chapter .party-card { translate: none; rotate: none; }
  .fields input,.fields select,.comments-field textarea { transition: none; }
}

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/cg-italic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/cg-roman.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
:root { --serif:"Cormorant Garamond", Georgia, serif; --paper:#fff9ef; --muted:#ccd8d9; --soft-gold:#f9d9a0; --line:#c9ddda40; }
.event-page { background:#051318; }
.snow-world { background:#051318; }
.snow-world .world-backdrop,.snow-world[data-mode="live"] .world-backdrop { opacity:1; filter:none; object-position:53% 46%; transform:none; }
.snow-world::after { background:linear-gradient(90deg,#021216d9 0%,#05151b88 32%,transparent 68%),linear-gradient(0deg,#051316a8,transparent 30%); }
.top-bar { border:0; background:linear-gradient(#031319ed,#031319aa); color:#fff9ed; }
.top-bar::after { background:#f6d9a1; box-shadow:0 0 .8rem #f8e0b5; }
.top-actions { gap:.45rem; }
.brand { letter-spacing:.14em; font-size:.81rem; }
.brand span,.top-actions a span { color:#fed8a1; }
.quiet-button,.sound-toggle,.scene-action { border:1px solid #cedfd94d; background:#071e25bd; color:#fff9ec; }
.quiet-button:hover,.sound-toggle:hover,.scene-action:hover { background:#254047; }
.sound-toggle[aria-pressed="true"] { background:#ead3ab; color:#172728; box-shadow:none; }
.snow-story { overflow-anchor:none; }
.chapter { --crystal:#f3d79c; --crystal-glow:#af8d56; }
.chapter:not(:last-child) { margin-bottom:clamp(12rem,42svh,28rem); }
.hero-chapter { padding-bottom:clamp(3rem,9vh,7rem); }
.hero-story { width:min(35rem,47vw); text-align:center; }
.hero-chapter h1 { display:flex; flex-direction:column; align-items:center; margin:0 0 1.35rem; text-shadow:0 2px 24px #001017; font-weight:500; }
.hero-chapter h1 .title-leader { width:70%; display:flex; align-items:center; gap:.9em; font:650 clamp(.85rem,1.2vw,1.08rem)/1.5 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.46em; color:#ffdfad; }
.title-leader::before,.title-leader::after { content:""; height:1px; flex:1; background:linear-gradient(90deg,transparent,#f0cc91); }
.title-leader::after { transform:scaleX(-1); }
.hero-chapter h1 em { font:italic 500 clamp(5.3rem,8.9vw,9.4rem)/.97 var(--serif); letter-spacing:-.065em; color:#fff3d6; text-shadow:0 3px 19px #031b1e,0 0 30px #e9a84b40; }
.hero-chapter h1 .title-party { color:#fffaf0; font:500 clamp(3.05rem,5vw,5rem)/.80 var(--serif); letter-spacing:-.055em; }
.event-date { color:#fff9ec; font-size:clamp(.95rem,1.26vw,1.12rem); font-weight:650; letter-spacing:.015em; }
.event-date span,.hero-note span { color:#eed3a4; }
.hero-note { color:#d4e1df; max-width:none; font-size:1rem; margin-top:.20rem; }
.hero-actions { flex-direction:column; justify-content:center; gap:.6rem; margin-top:1.35rem; }
.gold-button,.reply-card .submit { color:#122827; border:1px solid #fae8c5; border-radius:.5rem; background:linear-gradient(112deg,#ffeaca,#eac891); box-shadow:inset 0 1px #fff6,0 .26rem 1.2rem #00171d66; }
.gold-button:hover,.reply-card .submit:hover { background:#ffedcd; }
.gold-button { min-width:12.2rem; }
.scroll-cue { display:inline-flex; min-height:2.75rem; align-items:center; gap:.6rem; color:#edf3eb; font-size:.86rem; font-weight:540; text-decoration:none; }
.swipe-mark { width:.7rem; height:1.23rem; border:1px solid #dbe9de; border-radius:.49rem; display:inline-flex; justify-content:center; }
.swipe-mark::before { content:""; margin-top:.18rem; height:.3rem; width:2px; border-radius:2rem; background:#ffe7ad; animation:swipe-guide 2s ease-in-out infinite; }
@keyframes swipe-guide { 0%,100% { transform:translateY(0); } 65% { transform:translateY(.40rem); } }
.hero-chapter .scene-action { top:auto; bottom:0; right:0; }
.chapter .party-card { background:linear-gradient(138deg,#102d34f5,#061921f4 63%); color:#faf6e9; border:1px solid #d4bd8e80; box-shadow:inset 0 0 0 4px #071c23,inset 0 0 0 5px #e4d3b026,0 1.4rem 4rem #00111670; border-radius:.78rem; padding:clamp(1.6rem,3.5vw,2.7rem); }
.chapter .party-card::before { background:linear-gradient(121deg,transparent 38%,#fbe4ad09 44%,#fff2bd1c 49%,transparent 55%); }
.chapter .section-label { display:flex; align-items:center; gap:.65rem; color:#f3d298; letter-spacing:.17em; }
.chapter .section-label::before { content:"✧"; font-size:1.1rem; line-height:1; }
.chapter .party-card h2 { color:#fff4dd; font-weight:500; letter-spacing:-.04em; line-height:1; font-size:clamp(2.65rem,4.6vw,4.45rem); }
.chapter-guests { --crystal:#cceae7; } .chapter-album { --crystal:#ffe1b3; }
.fields input,.fields select,.comments-field textarea { color:#fff8ec; border-color:#688085; background-color:#061a21; }
.fields option { background:#10272d; }
.fields input:focus,.fields select:focus,.comments-field textarea:focus { background-color:#112f36; border-color:#f5d7a5; box-shadow:0 0 0 3px #dcb47b33; }
.choice span,.guest-groups > div,.plan-links a,.confirmation,.plan-links a:hover { background:#143139; color:#f8efdb; }
.choice input:checked + span { background:#305052; border-color:#e9ca91; color:#ffe5b3; }
.confirmed-mark,.guest-groups h3 span { color:#f4d8a4; }
.journey-nav { position:fixed; z-index:8; bottom:max(.7rem,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); display:flex; padding:.15rem .3rem; border-radius:3rem; border:1px solid #abbcb87a; background:#071921f5; box-shadow:0 3px 15px #00101670; }
.journey-nav a { min-height:2.75rem; display:grid; place-items:center; padding:0 clamp(.68rem,1.55vw,1.05rem); text-decoration:none; font-size:.85rem; color:#e0e9e2; border-radius:3rem; }
.journey-nav a[aria-current] { color:#ffe3ad; background:#21393c; }
body:has(input:focus,select:focus,textarea:focus,dialog[open]) .journey-nav { display:none; }
.party-footer { color:#d8e3dd; background:#06171e; padding-bottom:4.6rem; }
.opening { background:linear-gradient(#061920d9,#04181dd6),url("/assets/flight-valley.webp") center 43%/cover; }
.opening p { color:#fff0d2; font:italic 500 clamp(2.2rem,7.5vw,5.4rem)/1 var(--serif); }
.opening small { display:block; font:600 .78rem/1.3 system-ui; text-transform:uppercase; letter-spacing:.3em; color:#e6ca98; margin-bottom:.75rem; }
.opening button { background:#071c23; border-color:#d9c79e77; color:#f8e9cb; }
@media(max-width:830px) {
  .hero-story { width:min(28rem,64vw); }
}
@media(max-width:580px) {
  .top-bar { background:linear-gradient(#031820ed,#031820b3); padding-inline:.8rem; }
  .brand { font-size:.71rem; letter-spacing:.10em; }
  .top-actions { gap:.25rem; }
  .top-actions .quiet-button { font-size:.78rem; padding-inline:.55rem; }
  .snow-world::after { background:linear-gradient(to top,#021318fa 0%,#03171dec 12%,#051b20b0 32%,#051b2040 52%,transparent 67%); }
  .hero-story { width:100%; max-width:100%; }
  .hero-chapter .chapter-wrap { justify-content:center; }
  .hero-chapter { padding:clamp(11rem,36svh,28rem) 1rem max(2rem,4svh); }
  .hero-chapter h1 { margin-bottom:1.05rem; }
  .hero-chapter h1 em { font-size:clamp(4.45rem,21.5vw,7.35rem); }
  .hero-chapter h1 .title-party { font-size:clamp(2.8rem,11vw,4rem); }
  .hero-chapter h1 .title-leader { max-width:13.7rem; margin-bottom:.24rem; font-size:.81rem; }
  .hero-note { font-size:.95rem; }
  .hero-actions { gap:.24rem; margin-top:1rem; }
  .hero-chapter .scene-action { top:auto; bottom:calc(100% + 1.1rem); right:0; background:#071c238c; font-weight:500; }
  .chapter:not(.hero-chapter) { padding-top:clamp(8.4rem,24svh,14rem); padding-bottom:4.5rem; }
  .chapter .party-card { padding:1.4rem; }
}
@media(prefers-reduced-motion:reduce) {
  .chapter:not(:last-child) { margin-bottom:0; }
  .chapter:not(.hero-chapter) { padding-block:2.2rem; }
  .swipe-mark::before { animation:none; }
}

.chapter:not(:last-child) { margin-bottom:clamp(3rem,11svh,7.5rem); }
.chapter:not(.hero-chapter) { min-height:78svh; padding-block:clamp(3rem,8svh,5.2rem) clamp(3rem,8svh,5.2rem); }
.scroll-cue > span:last-child { color:#fff7e8; display:grid; text-align:left; gap:.14rem; }
.scroll-cue small { color:#c6dcd9; font-size:.75rem; }
.hero-actions .scroll-cue { margin-top:.15rem; }
.chapter .party-card { --emboss:#ceb17c; border-radius:1.65rem .55rem 1.65rem .55rem; }
.plaque-heading { position:relative; display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:.7rem; }
.plaque-heading > div { min-width:0; }
.chapter .plaque-heading h2 { margin:0; text-wrap:balance; }
.plaque-heading h2 span,.plaque-heading h2 em { display:inline-block; }
.plaque-heading h2 em { color:#f1d39b; font-weight:500; }
.plaque-window { display:block; flex:0 0 clamp(3.75rem,7vw,5.1rem); height:clamp(4.5rem,8.5vw,6.1rem); border-radius:50% 50% .2rem .2rem; border:1px solid #ddcc9f; background-image:var(--window); background-size:cover; background-position:50% calc(50% + var(--approach)*10%); box-shadow:0 0 0 3px #0b2026,0 0 0 4px #cfb7807d,inset 0 0 0 2px #f1dfb23b; }
.chapter-reply { --window:url("/assets/window-woods.webp"); }
.chapter-guests { --window:url("/assets/window-grotto.webp"); }
.chapter-details { --window:url("/assets/window-lake.webp"); }
.chapter-album { --window:url("/assets/window-lodge.webp"); }
.chapter .party-card::after { content:""; position:absolute; top:.5rem; left:.5rem; width:1.65rem; height:1.65rem; border-top:1px solid var(--emboss); border-left:1px solid var(--emboss); border-radius:1.24rem 0 0; pointer-events:none; }
.chapter .party-card::before { background:linear-gradient(117deg,transparent 35%,#dbc99708 40%,#d7ece613 43%,#f6e4b61f 45%,transparent 53%); }
.next-plaque { display:flex; align-items:center; gap:.8rem; min-height:3.6rem; position:relative; padding:.85rem .15rem .05rem; margin-top:1.2rem; border-top:1px solid #ddca993f; text-decoration:none; color:#fff4da; }
.next-plaque .swipe-mark { color:#eed09e; }
.next-plaque > span:nth-child(2) { display:grid; gap:.13rem; }
.next-plaque small { color:#bfcecd; font-size:.77rem; }
.next-plaque strong { color:#f8dfa9; font-size:.94rem; }
.next-plaque i { margin-left:auto; color:#e2bd7c; }
.guest-groups { display:grid; grid-template-columns:1fr; gap:.48rem; }
.guest-fold { border:1px solid #aacbc23e; border-radius:.45rem; background:#0c252d; overflow:hidden; }
.guest-fold[open] { border-color:#dcc59490; }
.guest-fold summary { display:flex; align-items:center; gap:.6rem; padding:.72rem .88rem; min-height:2.9rem; list-style:none; cursor:pointer; color:#f2eee0; font-weight:640; }
.guest-fold summary::-webkit-details-marker { display:none; }
.guest-fold summary::after { content:""; width:.43rem; height:.43rem; border:solid #e4ceaa; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin:0 .1rem .25rem .15rem; transition:transform .2s; }
.guest-fold[open] summary::after { transform:rotate(225deg); margin-top:.35rem; }
.fold-count { margin-left:auto; min-width:1.7rem; text-align:center; line-height:1.65rem; color:#f7dfa9; background:#294044; border-radius:1rem; font-variant-numeric:tabular-nums; }
.guest-fold ul,.guest-fold .fold-empty { padding:0 .9rem .7rem; margin:0; }
.guest-fold .fold-empty { color:#becdcb; font-size:.91rem; }
.guest-fold li { border-top:1px solid #b3d8c91c; padding:.4rem 0; }
.fields label:focus-within { color:#ffe1a6; }
.guest-fold summary:focus-visible { outline-offset:-3px; }
.journey-nav { display:grid; grid-template-columns:repeat(5,1fr); max-width:calc(100vw - 1.2rem); border-radius:1rem; padding:.12rem .34rem; }
.journey-nav .route-prompt { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:.5rem; min-height:2.1rem; color:#f4dbac; border-radius:0; border-bottom:1px solid #b7cdba27; font-size:.78rem; }
.route-prompt .swipe-mark { height:.95rem; width:.56rem; }
.journey-nav a:not(.route-prompt) { min-height:2.65rem; padding-inline:.62rem; }
.party-footer { padding-bottom:6.75rem; }
@media (max-width:370px) {
  .top-bar { padding-inline:.48rem; gap:.3rem; }
  .top-bar .brand { min-width:0; min-height:2.75rem; white-space:normal; line-height:1.15; font-size:.68rem; letter-spacing:.075em; }
  .top-actions { flex:none; gap:.18rem; }
  .top-actions .quiet-button { padding-inline:.4rem; font-size:.73rem; }
  .photo-input { grid-template-columns:minmax(0,1fr); min-width:0; }
  .photo-input input { width:100%; min-width:0; }
}
@media(prefers-reduced-motion:no-preference) {
  .plaque-heading h2 em { transform:translateY(calc(var(--approach)*.45rem)) rotate(calc(var(--approach)*-3deg)); transform-origin:left bottom; }
  .chapter .party-card { transform:perspective(65rem) rotateX(calc(var(--approach)*-5deg)); }
  .chapter .party-card:focus-within { transform:none; }
}
@media(max-width:580px) {
  .chapter:not(.hero-chapter) { min-height:76svh; padding-top:clamp(5.7rem,15svh,9rem); padding-bottom:3.5rem; }
  .plaque-window { flex-basis:3.35rem; height:4.4rem; }
  .plaque-heading { gap:.65rem; }
  .chapter .plaque-heading h2 { font-size:clamp(2.15rem,9.8vw,3.1rem); }
}
@media(prefers-reduced-motion:reduce) {
  .chapter:not(:last-child) { margin-bottom:0; }
  .chapter:not(.hero-chapter) { min-height:0; padding-block:2.2rem; }
  .guest-fold summary::after { transition:none; }
}
