* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:"Helvetica Neue",Arial,"Apple SD Gothic Neo",sans-serif; }
button,input { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { cursor:pointer; color:inherit; }
a { color:inherit; }
button:disabled { cursor:default; opacity:.3; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip-link { position:fixed; top:-70px; left:16px; z-index:100; background:#fff; color:#222; padding:15px; }
.skip-link:focus { top:10px; }
.concept-nav { z-index:30; }
.concept-nav a,.concept-nav button { min-height:44px; display:inline-flex; align-items:center; }
.concept-nav button { background:none; border:0; }
.stage { position:sticky; top:0; height:100svh; min-height:560px; overflow:hidden; isolation:isolate; --progress:0; --turn:0deg; --drift:0px; }
[data-spacer] { height:1200svh; min-height:6720px; pointer-events:none; }
.photo-layers { position:relative; width:100%; height:100%; overflow:hidden; }
.photo-layers img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; will-change:opacity,transform; }
[data-photo=to] { opacity:0; }
.year-display { display:flex; justify-content:center; line-height:1; font-variant-numeric:lining-nums tabular-nums; }
.year-digit { position:relative; width:.55em; height:1em; overflow:hidden; }
.year-digit>span { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; will-change:transform,opacity; }
[data-digit=to] { opacity:0; }
.day-counter { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 12px; font-size:10px; }
.day-counter time { margin-left:5px; }
.day-counter strong { font-variant-numeric:tabular-nums; }
.caption-layers { position:relative; height:62px; min-height:0; }
.caption-layer { position:absolute; inset:0; }
.caption-layer h2 { margin:0 0 8px; word-break:keep-all; }
.caption-layer p { margin:0; word-break:keep-all; line-height:1.6; }
[data-caption=to] { opacity:0; }
.story-button { min-height:44px; }
.journey-controls { display:flex; align-items:center; gap:14px; }
.journey-controls>button { width:44px; height:44px; flex:0 0 44px; }
.year-scrubber { flex:1; min-width:0; }
.year-scrubber>span { display:flex; justify-content:space-between; align-items:center; font-size:9px; }
.year-scrubber i { font-size:8px; font-style:normal; letter-spacing:.1em; }
.year-scrubber b { font-weight:400; }
.year-scrubber input { appearance:none; -webkit-appearance:none; display:block; width:100%; height:40px; background:transparent; margin:0; cursor:ew-resize; }
.year-scrubber input::-webkit-slider-runnable-track { height:1px; background:currentColor; opacity:.45; }
.year-scrubber input::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:11px; height:11px; margin-top:-5px; background:currentColor; border-radius:50%; }
.year-scrubber input::-moz-range-track { height:1px; background:currentColor; }
.year-scrubber input::-moz-range-thumb { width:11px; height:11px; background:currentColor; border:0; border-radius:50%; }
.is-interactive .reading { display:none; }
.reading { padding:90px 24px 30px; max-width:1000px; margin:auto; }
.has-live-counter .static-date { display:none; }
.reading>.day-counter { padding:20px 0; }
.reading-notice { font-size:12px; text-align:center; margin:20px auto 50px; line-height:1.8; }
.reading-item { display:grid; grid-template-columns:1fr 1fr; gap:7%; align-items:center; margin:0 auto 90px; scroll-margin-top:90px; }
.reading-item img { width:100%; height:auto; aspect-ratio:2/3; object-fit:cover; }
.reading-year { font-size:64px; font-family:Georgia,serif; }
.reading-item h2 { font-weight:400; font-size:24px; word-break:keep-all; }
.reading-item p { font-size:13px; line-height:2; word-break:keep-all; }
.reading-item small { font-size:11px; opacity:.65; }
.ceremony { scroll-margin-top:0; }
.ceremony-names { display:flex; gap:18px; align-items:center; justify-content:center; }
.ceremony-names span { font-family:Georgia,serif; font-style:italic; }
.ceremony-date { line-height:1.9; }
.ceremony-venue small { display:block; font-size:11px; margin-top:10px; opacity:.7; }
.calendar-link,.back-to-start { min-height:44px; display:flex; justify-content:center; align-items:center; }
.photo-status { position:fixed; z-index:50; bottom:5px; left:50%; transform:translateX(-50%); font-size:11px; background:#fff; color:#222; border-radius:5px; padding:8px 14px; }
.photo-status:empty { display:none; }
.memory-dialog { border:0; padding:0; width:min(760px,calc(100vw - 30px)); max-height:90svh; background:#f7f3eb; color:#292f29; }
.memory-dialog::backdrop { background:#151d17a6; backdrop-filter:blur(7px); }
.memory-dialog[open] { display:grid; grid-template-columns:1fr 1fr; }
.memory-dialog>img { width:100%; height:100%; max-height:80svh; object-fit:contain; background:#e8e7df; }
.memory-copy { padding:50px 30px 35px; align-self:center; }
.memory-copy h2 { font-size:25px; line-height:1.45; font-weight:400; word-break:keep-all; }
.memory-copy p { font-size:12px; white-space:pre-line; line-height:1.9; }
.memory-copy small { font-size:10px; color:#73776f; }
.memory-meta { font-size:11px; letter-spacing:.08em; }
[data-memory-close] { position:absolute; right:10px; top:10px; width:44px; height:44px; border:0; border-radius:50%; background:#fffef4; font-size:28px; }
body.modal-open { overflow:hidden; }
@media(max-width:640px) {
 .reading-item { grid-template-columns:1fr; gap:18px; max-width:390px; }
 .reading-item>div { padding:0 12px; }
 .memory-dialog[open] { grid-template-columns:1fr; max-width:420px; }
 .memory-dialog>img { height:39svh; max-height:none; }
 .memory-copy { padding:20px 25px 24px; }
 .memory-copy h2 { margin:12px 0; font-size:22px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation:none!important; transition:none!important; }
}
