/* A quieter retro layout: memories first, with existing choices easy to find. */
.nav-links a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
body{background:radial-gradient(ellipse 80% 500px at 100% 0,#702f6d1c,transparent),var(--paper)}
:root[data-theme="light"] body{background:radial-gradient(ellipse 80% 500px at 100% 0,#f8d8ed45,transparent),var(--paper)}
.memory-card,.side-track,.collection-card,.article-aside,.timeline-end{background:var(--surface);border-color:var(--line);box-shadow:none}
.memory-card.is-remembered{border-color:var(--green);box-shadow:inset 3px 0 var(--green)}
.memory-card .memory-image{border-color:var(--line)}
.card-bottom,.story-content{border-color:var(--line)}
.site-header{border-color:var(--line)}
.capsule-intro{padding:26px 0 22px}
.capsule-intro .timeline-top{margin:0;align-items:center;gap:20px}
.capsule-intro h1{font-size:clamp(29px,3.4vw,40px);margin-top:6px}
.capsule-intro .timeline-top p{margin-top:7px;font-size:14px}
.capsule-intro .timeline-top .eyebrow{margin:0;font-size:10px}
.change-year{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;font-size:13px}
.capsule-intro .memory-goal{display:block;margin:10px 0 0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--muted);font-size:14px;line-height:1.6;max-width:none}
.memory-goal [data-goal-count]{font-family:Consolas,monospace;color:var(--green);white-space:nowrap;margin-left:6px}
.capsule-intro .timeline-resume{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:start;align-items:center;gap:0 14px;margin:8px 0 0;padding:0;border:0;background:transparent;color:var(--muted);font-size:13px}
.goal-progress{white-space:nowrap}
.timeline-resume .text-link{min-height:44px;font-size:13px}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 14px;padding:0 0 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.filters input{flex:1 1 220px;width:auto;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:14px}
.filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;flex:1 1 340px}
.chip{min-height:44px;padding:9px 12px;font-size:13px}
.filter-chips #visibleCount{font-size:12px;white-space:nowrap}
.phase-title{margin:28px 0 14px;padding:12px 0 12px 13px;border-left:3px solid currentColor}
.phase-title:first-child{margin-top:0}
.phase-title:after{display:none}
.phase-title .eyebrow{font-size:12px;line-height:1.6;letter-spacing:.055em}
.memory-milestone{display:block;padding:12px 16px;margin:0 0 16px;border:1px solid var(--line);border-left:3px solid var(--green);border-radius:7px;background:var(--surface);color:var(--green);font-size:14px;line-height:1.5}
.score-box p{margin-bottom:8px}.score-box .side-explored{margin-bottom:12px!important}
.timeline-end{padding:26px 20px;background:var(--surface)}
.timeline-end .share-tools{align-items:center;gap:14px 20px}
.timeline-end .text-link{min-height:44px}
.hero{gap:42px;padding:42px 0 30px}
.hero-copy h1{text-shadow:2px 2px 0 #472750}
:root[data-theme="light"] .hero-copy h1{text-shadow:2px 2px 0 #edcfe7}
.hero-display{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;align-content:center;gap:24px 18px;min-height:0;padding:35px 6px 10px;transform:none;max-width:100%;background:none}
.hero-display:before{display:none}
.hero-display .preview-kicker{top:0;font-size:12px}
.hero-display .hero-photo{position:relative;inset:auto;width:100%;min-width:0;padding:9px 9px 14px;box-shadow:0 5px 14px #0002;border-color:#d5c8df}
.hero-display .hero-photo.one{transform:rotate(-4deg)}
.hero-display .hero-photo.two{transform:rotate(4deg);margin-top:22px}
.hero-display .hero-photo.three{grid-column:1 / -1;width:56%;justify-self:center;transform:rotate(-2deg);margin-top:0}
.hero-display .hero-photo .photo-well{height:155px;padding:9px}
.hero-display .hero-photo.three .photo-well{height:145px}
.hero-display .hero-photo .photo-well img{inset:9px;width:calc(100% - 18px);height:calc(100% - 18px)}
.hero-display .polaroid-label{display:block;min-height:0;font-size:17px;line-height:1.25;margin:10px 2px 5px;overflow:visible;overflow-wrap:anywhere}
.hero-display .hero-photo .eyebrow{font-size:10px;margin-left:2px;line-height:1.6}
.preview-foot{grid-column:1 / -1;text-align:center;font-size:12px;color:var(--muted);line-height:1.6}
.home-resume{display:flex;align-items:center;flex-wrap:wrap;gap:0 14px;padding:10px 0 0;margin:8px 0 0;border:0;background:transparent;font-size:13px;color:var(--muted)}
.home-resume .text-link{min-height:44px;display:inline-flex;align-items:center;width:auto;justify-content:start;font-size:13px}
.home-explore{border-top:1px solid var(--line);padding:30px 0 38px}
.collection-teaser{display:flex;align-items:center;gap:25px;max-width:780px;text-decoration:none}
.collection-teaser img{width:140px;height:110px;object-fit:contain;background:#fff;border-radius:8px;border:1px solid var(--line);padding:10px;flex-shrink:0}
.collection-teaser h2{font-size:27px;line-height:1.2;margin:7px 0}
.collection-teaser p:not(.eyebrow){color:var(--muted);font-size:15px;margin-bottom:10px}
.collection-teaser .eyebrow{color:var(--pink);font-size:10px}
.explore-all{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;line-height:1.5}
.explore-shortcuts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:16px;font-size:14px;color:var(--cyan)}
.explore-shortcuts a{display:inline-flex;min-height:44px;align-items:center}
.explore-section{padding-bottom:16px}.explore-section h2{font-size:30px;margin-bottom:24px}
body[data-page="explore"] .section{padding:32px 0;border-top:1px solid var(--line)}
body[data-page="explore"] .section>.eyebrow{color:var(--pink);margin-bottom:8px}
body[data-page="explore"] .section>h2{font-size:30px}
body[data-page="explore"] .occasion-grid{margin-top:24px}
.occasion-card h3{font-size:22px;line-height:1.25;margin-top:0}
.explore-weekly{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);padding:32px 0 45px}
.explore-weekly h2{font-size:30px;margin:8px 0 12px}.explore-weekly p{color:var(--muted);font-size:15px}.explore-weekly .eyebrow{color:var(--pink);font-size:10px}
.explore-weekly .btn{flex-shrink:0}
.explore-section,.section[id],.explore-weekly{scroll-margin-top:90px}
@media(max-width:1050px){.hero{gap:28px}.hero-display{gap:24px 15px}.hero-display .hero-photo .photo-well{height:135px}.hero-display .hero-photo.three .photo-well{height:125px}}
@media(max-width:800px){
 .hero{gap:35px}.hero-display{max-width:480px;margin:0 auto;padding-top:35px}.hero-display .hero-photo .photo-well{height:165px}.hero-display .hero-photo.three .photo-well{height:155px}
 .capsule-intro{padding:20px 0 18px}.capsule-intro .timeline-top{margin:0}.capsule-intro h1{font-size:32px}
 .mobile-progress{grid-template-columns:1fr auto;align-items:center;gap:2px 10px}
 .mobile-score-copy{font-size:12px;line-height:1.4}.mobile-score-share{min-height:44px;display:inline-flex;align-items:center;font-size:12px;white-space:nowrap}
 .mobile-progress .exploration-rail{grid-column:1 / -1}
 .explore-weekly{align-items:start;flex-direction:column;gap:18px}
}
@media(max-width:560px){
 .hero{padding-top:28px}.hero-copy h1{font-size:43px}.hero-display{gap:24px 15px}
 .hero-display .hero-photo .photo-well{height:120px}.hero-display .hero-photo.three .photo-well{height:120px}.hero-display .hero-photo.three{width:62%}
 .hero-display .polaroid-label{font-size:16px}.hero-display .hero-photo .eyebrow{font-size:10px}.hero-display .preview-kicker{font-size:11px}
 .home-explore{padding:25px 0}.collection-teaser{gap:16px;align-items:start}.collection-teaser img{width:90px;height:95px}.collection-teaser h2{font-size:22px}.collection-teaser p:not(.eyebrow){font-size:14px}
 .capsule-intro .timeline-top{display:flex;align-items:start;flex-direction:column;gap:3px}.capsule-intro h1{font-size:29px}.capsule-intro .timeline-top .change-year{font-size:13px;min-height:44px}
 .capsule-intro .timeline-top .eyebrow{display:none}
 .capsule-intro .timeline-top p{font-size:13px}.capsule-intro .memory-goal{margin-top:1px;font-size:13px}
 .filters{gap:8px;padding-bottom:10px;margin-bottom:10px}.filters input{flex-basis:100%;font-size:14px}.filter-chips{flex-basis:100%;gap:5px}.chip{padding:8px 9px;min-height:44px;font-size:12px}
 .filter-chips #visibleCount{width:100%;margin:2px 0 0!important;font-size:12px}
 .phase-title{padding:9px 0 9px 10px;margin-bottom:12px}.phase-title .eyebrow{font-size:11px;letter-spacing:.025em}
 .mobile-tracker{row-gap:0}.mobile-score-copy{font-size:11px}.mobile-score-share{font-size:11px}.mobile-progress{gap:0 8px}
 .capsule-intro .timeline-resume{margin-top:6px;font-size:12px;gap:0 10px}.timeline-resume .text-link{font-size:12px;width:auto;justify-content:start}
 .explore-weekly h2,body[data-page="explore"] .section>h2,.explore-section h2{font-size:27px}
 .explore-shortcuts{gap:0 18px;font-size:13px}
}
@media(max-width:360px){.hero-display{column-gap:12px}.hero-display .hero-photo{padding:7px 7px 11px}.hero-display .hero-photo .photo-well{height:95px}.hero-display .polaroid-label{font-size:15px}.hero-display .hero-photo .eyebrow{font-size:9px}.collection-teaser{flex-direction:column}.collection-teaser img{width:115px;height:90px}.filter-chips .chip{padding-inline:8px}}
@media print{.capsule-intro .memory-goal,.timeline-resume,.memory-milestone,.explore-shortcuts{display:none!important}body{background:#fff!important}}
