
/* Sunday, passed down. The same story page fits the desktop stage and the mobile walkthrough. */
.sunday-viewer{width:100%;height:100%;display:flex;flex-direction:column;min-height:0;border:1px solid #d2c8e5;border-radius:18px;overflow:hidden;background:#f3f0fd;color:#160f2b;box-shadow:0 16px 38px #26114c20;text-align:left;font-family:var(--sans)}
.sunday-toolbar{display:flex;align-items:center;justify-content:space-between;padding:7px 14px;background:#fff;flex-shrink:0;color:#4c16d8;border-bottom:1px solid #dcd3f5}
.sunday-toolbar strong{font-size:15px}
.sunday-viewer button{cursor:pointer;font:600 .82rem/1.25 var(--sans);color:#4c16d8;background:#fff;border:1px solid #d4c9f0;border-radius:999px;padding:7px 10px;min-height:32px}
.sunday-viewer button:hover,.sunday-viewer button[aria-pressed=true]{background:#ece5ff}
.sunday-screen{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#ad98db transparent}
.sunday-screen:focus-visible{outline:2px solid #5c27fa;outline-offset:-3px}
.sunday-memory{container-type:inline-size;padding:clamp(12px,3%,20px);font-size:14px;line-height:1.5}
.sunday-cover{display:flex;justify-content:center;background:#dfd7fa;border-radius:11px;overflow:hidden;margin-bottom:18px}
.sunday-cover img{display:block;width:min(73%,600px);aspect-ratio:3/2;object-fit:cover}
.sunday-kicker{margin:0 0 5px;color:#4c16d8;font-size:.73rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.sunday-memory h3,.sunday-memory h4{font:600 1.15rem/1.22 var(--sans);letter-spacing:-.025em;margin:0 0 9px}
.sunday-memory h3{font-size:clamp(1.38rem,3.6vw,1.75rem)}
.sunday-memory p{margin-top:0}
.sunday-meta{font-size:.82rem;color:#4d4165;margin-bottom:12px}
.sunday-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0}
.sunday-tabs button{padding:5px 7px;min-height:28px;background:transparent;border-color:transparent}
.sunday-summary{margin:0 0 16px}
.sunday-part{border-top:1px solid #ddd3ef;margin-top:16px;padding-top:16px}
.sunday-chapter{display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:12px;background:#fff;border:1px solid #e1d8f0;border-radius:11px;padding:11px;margin:8px 0}
.sunday-chapter h4{font-size:1rem}
.sunday-chapter p{margin:0 0 7px}
.sunday-chapter>img,.sunday-thumbs img,.sunday-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;background:#e4daf8}
.sunday-thumbs,.sunday-grid{display:grid;gap:5px}
.sunday-thumbs{grid-template-columns:repeat(4,1fr);margin-bottom:7px}
.sunday-grid{grid-template-columns:repeat(3,1fr)}
.sunday-clips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}
.sunday-clips video{display:block;width:100%;aspect-ratio:16/9;border-radius:7px;background:#1a0f2e}
.sunday-voices{display:flex;flex-wrap:wrap;gap:6px}
.sunday-people{display:flex;gap:9px;flex-wrap:wrap}
.sunday-people figure{margin:0;text-align:center;font-size:.78rem}
.sunday-people img{display:block;width:44px;aspect-ratio:1;object-fit:cover;border-radius:50%;margin:0 auto 3px}
.sunday-part ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.sunday-part li{padding:7px 10px;background:#fff;border:1px solid #e1d8f0;border-radius:7px}
#chapter-3 .chapter-copy{min-width:0}
.scroll-experience[data-scene="3"] .scene-page{pointer-events:auto}
.scroll-chapter{scroll-margin-top:5rem}
.scroll-recap-dialog .recap-video-theater{height:auto;min-height:0}
.recap-video-theater h2{margin:0;padding:14px 110px 14px 20px;font:600 1.12rem/1.2 var(--sans);color:#fff}
.recap-video-theater video{display:block;width:100%;max-height:calc(91dvh - 68px);background:#100917;aspect-ratio:16/9}
.recap-video-theater p{margin:0;padding:10px 20px;color:#eadff5}
.movie-preview-art.photo-sunday{background-image:url("assets/sunday-recap-poster.jpg")!important;background-position:center}
.store-link-from-qr{outline:3px solid #6c2bff;outline-offset:4px}
.remi-example-logo{display:block;width:77px;height:27px;object-fit:contain;object-position:left center}
.scroll-experience[data-memory-phase="assembled"] #chapter-2 .chapter-copy{visibility:hidden}
@media(min-width:821px){
  #chapter-4 .chapter-copy{transform:translateY(calc(-1 * clamp(32px,12svh,100px)))}
  body.scrolling-home{isolation:isolate}
  body.scrolling-home[data-memory-scene="4"]{background:var(--journey-bg)}
  body.scrolling-home::before{content:"";position:fixed;inset:86px 0 0 51%;z-index:-1;pointer-events:none;background:#1d0626;opacity:0;transition:opacity .55s ease}
  body.scrolling-home[data-memory-scene="4"]::before{opacity:1}
}
@media(prefers-reduced-motion:reduce){body.scrolling-home::before{transition:none}}
@container (max-width:330px){.sunday-chapter{grid-template-columns:1fr}.sunday-chapter>img{aspect-ratio:2/1}.sunday-cover img{width:100%}}
@media(max-width:820px){.mobile-memory-page{height:min(520px,74svh);min-height:320px;margin-bottom:30px}.scroll-chapter{scroll-margin-top:4rem}}

.site-footer .footer-utility{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 22px;padding:10px 0;border-top:1px solid var(--line);font:400 .875rem/1.45 var(--sans);color:var(--muted)}
.footer-utility nav{display:flex;align-items:center;flex-wrap:wrap;gap:2px clamp(10px,1.6vw,24px)}
.footer-utility nav a{display:inline-flex;align-items:center;min-height:30px}
.footer-utility nav a:hover{text-decoration:underline;text-underline-offset:3px}
@media(min-width:821px){
  .scroll-chapter.chapter-yours{min-height:max(0px,calc(100svh - var(--closing-chrome-height,140px)));padding-block:24px}
}
@media(max-width:600px){.footer-utility nav a{min-height:40px}}

