:root{scroll-behavior:smooth;--ink:#493849;--rose:#f6dce8;--lilac:#e9e2fb;--mint:#dff2e9;--gold:#fff0ca;--glass:rgba(255,255,255,.78)}
body{overflow-x:hidden;background-image:radial-gradient(ellipse at 8% 4%,rgba(255,214,231,.42),transparent 30%),radial-gradient(ellipse at 94% 24%,rgba(222,216,255,.32),transparent 28%)}
.skip-link{position:fixed;z-index:9999;left:1rem;top:-5rem;padding:.8rem 1rem;border-radius:1rem;background:#fff;color:#493849;box-shadow:0 8px 28px #4b29421f}.skip-link:focus{top:1rem}
.ambient{position:fixed;z-index:-1;width:20rem;height:20rem;border-radius:50%;filter:blur(55px);opacity:.22;pointer-events:none;animation:ambient-drift 18s ease-in-out infinite alternate}.ambient-one{top:10%;left:-9rem;background:#ffbad7}.ambient-two{right:-10rem;top:48%;background:#cfc2ff;animation-delay:-8s}
.site-header{backdrop-filter:blur(18px);background:rgba(255,250,252,.82);border-bottom:1px solid rgba(219,181,202,.28)}.brand{transition:transform .25s ease}.brand:hover{transform:translateY(-2px)}.brand small{max-width:28rem}.nav-links a{transition:background .2s ease,transform .2s ease,color .2s ease}.nav-links a:hover{transform:translateY(-2px)}
.hero,.page-heading,.feature,.panel,.entry-card,.art-tile{animation:soft-rise .65s both;animation-timing-function:cubic-bezier(.2,.75,.25,1)}.hero{position:relative;isolation:isolate;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto -3rem -7rem auto;width:18rem;height:18rem;background:url('/assets/img/01-flower.png') center/contain no-repeat;opacity:.15;z-index:-1;transform:rotate(-15deg);pointer-events:none}.hero-art .art-card{box-shadow:0 24px 70px #aa77922a;animation:float-gently 6s ease-in-out infinite}.spark{animation:sparkle 3.2s ease-in-out infinite}.spark.s2{animation-delay:.7s}.spark.s3{animation-delay:1.4s}.feature{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;will-change:transform}.feature:hover{transform:translateY(-6px) rotate(-.3deg);box-shadow:0 18px 44px rgba(100,65,95,.10)}.btn,.mini-btn{transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.btn:hover,.mini-btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(91,50,81,.12)}.entry-card,.gallery-item,.art-tile{transition:transform .25s ease,box-shadow .25s ease}.entry-card:hover,.gallery-item:hover,.art-tile:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(91,50,81,.09)}
.art-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:1rem;margin:1.5rem 0 3rem}.art-tile{margin:0;padding:1rem;text-align:center;display:flex;flex-direction:column;justify-content:space-between;gap:.7rem;min-width:0}.art-tile a{display:grid;place-items:center;min-height:135px;border-radius:1.1rem;background:linear-gradient(145deg,#fff9fc,#f8f4ff);padding:.5rem}.art-tile img{width:100%;max-width:180px;height:140px;object-fit:contain;transition:transform .35s cubic-bezier(.2,.8,.2,1)}.art-tile:hover img{transform:scale(1.07) rotate(-2deg)}.art-tile figcaption{text-transform:capitalize;color:#6f5870;font-size:.92rem;font-weight:650}.reveal{opacity:0;transform:translateY(16px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.75,.25,1)}.reveal.is-visible{opacity:1;transform:translateY(0)}
.page-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:.8rem}.page-control-card{display:flex;align-items:center;gap:.8rem;border:1px solid #f0e2eb;background:#fffafc;border-radius:1.1rem;padding:.9rem;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}.page-control-card:hover{transform:translateY(-2px);border-color:#e8bfd4;background:#fff}.page-control-icon{display:grid;place-items:center;flex:0 0 2.5rem;height:2.5rem;border-radius:.8rem;background:#f8e7ef;color:#9a5d7b;font-size:1.2rem}.page-control-copy{display:grid;gap:.2rem;min-width:0;flex:1}.page-control-copy strong{font-size:.93rem}.page-control-copy small{color:#9a8495;font-size:.76rem}.page-control-card input{accent-color:#bd7797;width:1.1rem;height:1.1rem}.page-state{font-size:.7rem;font-weight:700;border-radius:2rem;padding:.25rem .5rem}.page-state.enabled{background:#e5f6ec;color:#397858}.page-state.disabled{background:#f5e7e7;color:#a65b64}
.back-to-top{position:fixed;right:1rem;bottom:1rem;z-index:20;width:2.8rem;height:2.8rem;border:1px solid #efdce7;border-radius:50%;background:rgba(255,255,255,.88);color:#75506b;box-shadow:0 8px 24px #59314b20;opacity:0;pointer-events:none;transform:translateY(8px);transition:all .2s ease}.back-to-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.site-footer a{color:#9a5d7b;text-decoration:underline;text-underline-offset:3px}.site-footer small{line-height:1.9}
@keyframes soft-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes float-gently{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}@keyframes sparkle{0%,100%{opacity:.55;transform:scale(.88) rotate(0)}50%{opacity:1;transform:scale(1.12) rotate(12deg)}}@keyframes ambient-drift{from{transform:translate3d(0,0,0) scale(.9)}to{transform:translate3d(45px,-35px,0) scale(1.12)}}
@media(max-width:640px){.brand small{max-width:14rem}.art-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.art-tile{padding:.65rem}.art-tile img{height:115px}.page-control-card{gap:.55rem;padding:.7rem}.page-state{display:none}.ambient{opacity:.12}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* Whole-site illustration ribbon: uses the local PNG library, no third-party requests. */
.art-ribbon{display:flex;align-items:center;justify-content:center;gap:clamp(.45rem,2vw,1.25rem);padding:.6rem 1rem .2rem;max-width:1120px;margin:0 auto;overflow:hidden;pointer-events:none}.art-ribbon img{width:clamp(28px,4.2vw,54px);height:clamp(28px,4.2vw,54px);object-fit:contain;opacity:.78;animation:art-float 5.5s ease-in-out infinite;animation-delay:var(--art-delay,0s);filter:drop-shadow(0 5px 8px #9c6e8b12)}.art-ribbon img:nth-child(even){transform:translateY(5px)}.hero-png{position:absolute;width:clamp(52px,9vw,100px);height:auto;object-fit:contain;filter:drop-shadow(0 8px 14px #9c6e8b18);z-index:1;pointer-events:none;animation:float-gently 6s ease-in-out infinite}.hero-png-one{left:0;top:10%;animation-delay:-1.5s}.hero-png-two{right:-3%;top:18%;width:clamp(62px,10vw,115px);animation-delay:-3s}.hero-png-three{left:7%;bottom:5%;width:clamp(60px,9vw,100px);animation-delay:-.8s}
.timeline-tools{margin-top:1.25rem;padding:1rem;border:1px solid #f0dce8;border-radius:1.25rem;background:linear-gradient(135deg,#fffafd,#f8f5ff);display:grid;gap:.65rem}.timeline-tools label{font-size:.86rem;font-weight:750;color:#78576f}.timeline-tools select{width:100%;max-width:100%;padding:.8rem 1rem;border:1px solid #e9d5e2;border-radius:.85rem;background:#fff;color:#493849;font:inherit}.timeline-order{display:flex;flex-wrap:wrap;gap:.55rem}.timeline-item{scroll-margin-top:2rem}.memory-arrival .timeline-card{animation:memory-glow 1.3s ease both}.ritual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem;margin:1.3rem 0 2rem}.ritual-card{position:relative;overflow:hidden;padding:1.2rem;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}.ritual-card>img{width:96px;height:96px;object-fit:contain;align-self:flex-end;transition:transform .35s ease}.ritual-card:hover>img{transform:rotate(-8deg) scale(1.08)}.ritual-card h2{margin:.1rem 0}.ritual-card p{flex:1}.ritual-hero-art{position:absolute;right:1.5rem;top:1rem;width:100px;height:100px;object-fit:contain;opacity:.8;animation:float-gently 6s ease-in-out infinite}.ritual-quote{display:flex;align-items:center;gap:1rem;padding:1.2rem 1.5rem}.ritual-quote img{width:72px;height:72px;object-fit:contain}.ritual-quote p{font-family:Georgia,serif;font-size:clamp(1.05rem,2.5vw,1.4rem);line-height:1.7}.small{font-size:.85rem}
@keyframes art-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(3deg)}}@keyframes memory-glow{0%,100%{box-shadow:0 0 0 rgba(223,157,191,0)}35%{box-shadow:0 0 0 5px rgba(223,157,191,.24),0 18px 44px rgba(100,65,95,.10)}}
@media(max-width:640px){.art-ribbon{gap:.45rem;padding:.45rem .6rem}.art-ribbon img{width:31px;height:31px}.hero-png-two{right:0;top:10%}.ritual-hero-art{width:68px;height:68px;right:.75rem;top:.8rem}.timeline-order .btn{flex:1;text-align:center;justify-content:center}.ritual-quote{align-items:flex-start}.ritual-quote img{width:48px;height:48px}}

.settings-nav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem}.settings-nav-grid label{display:grid;gap:.35rem;font-weight:700;font-size:.88rem}.settings-nav-grid input{min-width:0;width:100%;padding:.7rem .8rem;border:1px solid #ead7e2;border-radius:.8rem;font:inherit;background:#fff}

/* v6 visual restraint: illustration as a considered accent, never a wall of stickers. */
.page-art-accent{width:100%;max-width:1120px;margin:.25rem auto .6rem;padding:0 1rem;display:flex;justify-content:flex-end;min-height:0;pointer-events:none}
.page-art-accent img{width:clamp(34px,4.5vw,54px);height:clamp(34px,4.5vw,54px);object-fit:contain;opacity:.74;filter:drop-shadow(0 5px 8px #9c6e8b12);animation:art-float 6s ease-in-out infinite}
.hero-keepsake{display:block;width:clamp(115px,19vw,210px);height:clamp(115px,19vw,210px);object-fit:contain;margin:0 auto .4rem;filter:drop-shadow(0 10px 22px #9c6e8b18);animation:float-gently 7s ease-in-out infinite}
.hero-art .art-card{padding:1.6rem 1.3rem 1.3rem;min-width:clamp(210px,28vw,300px);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,248,252,.90));border:1px solid rgba(230,201,218,.7)}
.more-rooms{margin:1.8rem 0 2.6rem;padding:0;overflow:hidden;border:1px solid #f0dce8;border-radius:1.35rem;background:rgba(255,255,255,.7)}
.more-rooms>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.3rem;cursor:pointer;list-style:none}
.more-rooms>summary::-webkit-details-marker{display:none}.more-rooms>summary>span:first-child{display:grid;gap:.25rem}.more-rooms>summary strong{font-size:1.1rem;color:#493849}.more-rooms>summary small{color:#8a7184;font-size:.88rem}
.more-rooms-plus{display:grid;place-items:center;flex:0 0 2.25rem;height:2.25rem;border-radius:50%;background:#f8e8f0;color:#9a5d7b;font-size:1.3rem;transition:transform .25s ease}.more-rooms[open] .more-rooms-plus{transform:rotate(45deg)}
.more-rooms-grid{padding:0 1rem 1rem;animation:soft-rise .35s ease both}.more-rooms-grid .feature{min-height:150px}
@media(max-width:640px){.page-art-accent{padding:0 .9rem;margin:.1rem auto .35rem}.page-art-accent img{width:34px;height:34px}.hero-art .art-card{min-width:0;width:min(100%,245px);padding:1rem}.hero-keepsake{width:112px;height:112px}.more-rooms>summary{padding:.95rem}.more-rooms-grid{padding:0 .7rem .7rem}}

/* v7: one clear call-to-action, no decorative image overload. */
.wish-feature{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(20px,3.5vw,34px);margin:24px 0;background:linear-gradient(120deg,#fff9fc,#fff 72%);border:1px solid #f0dce8}
.wish-feature h2{margin:.25rem 0 .45rem;font-size:clamp(1.3rem,2.6vw,1.9rem)}.wish-feature p{margin:0;color:#806b7b;max-width:60ch;line-height:1.7}
@media(max-width:620px){.wish-feature{align-items:flex-start;flex-direction:column}}

/* v8 timeline controls: beginning-first by default, with one clear alternate action. */
.timeline-tools{display:grid;gap:10px;max-width:100%}.timeline-tools>label{font-weight:650;color:var(--ink);margin-top:8px}.timeline-tools select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px 42px 12px 14px;border:1px solid #efd7e4;border-radius:15px;background:#fff;color:#493849;font:inherit;line-height:1.35;appearance:auto;white-space:normal}.timeline-order{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.timeline-order-label{font-size:.88rem;color:#8c7585}.timeline-order-label strong{color:#64495e}.timeline-order .btn{min-height:44px}.timeline-tools .quiet{margin:0;line-height:1.65}.timeline-item{scroll-margin-top:105px}.timeline-item.memory-arrival .timeline-card{outline:3px solid #e8a4bf;box-shadow:0 18px 50px #df94b52e;transition:outline-color .3s,box-shadow .3s}
@media(max-width:640px){.timeline-tools select{font-size:16px}.timeline-order{align-items:stretch}.timeline-order .btn{flex:1 1 auto}.timeline-order-label{width:100%}.timeline-item{padding-left:42px}.timeline:before{left:12px}.timeline-dot{left:-3px;width:30px;height:30px}.timeline-card{min-width:0;overflow-wrap:anywhere}}

/* v8 wish invitation: designed as a small scrapbook insert, not a second hero. */
.wish-feature{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:clamp(14px,2.5vw,26px);padding:clamp(18px,3vw,28px);margin:26px 0 34px;overflow:hidden;background:linear-gradient(115deg,#fff7fb 0%,#fffdfd 60%,#f8f4ff 100%);border:1px solid #f0dce8;border-radius:25px;box-shadow:0 12px 36px rgba(130,77,108,.055)}
.wish-feature:after{content:'✧';position:absolute;right:28%;top:7px;font-size:24px;color:#e8c4d6;pointer-events:none}.wish-feature-art{width:84px;height:84px;display:grid;place-items:center;border-radius:25px;background:#fff;border:1px solid #f4e3ec;box-shadow:0 8px 22px #a9668b10}.wish-feature-art img{width:64px;height:64px;object-fit:contain}.wish-feature-copy{min-width:0}.wish-feature-copy h2{font-size:clamp(1.25rem,2.5vw,1.8rem);margin:.35rem 0 .55rem;letter-spacing:-.035em}.wish-feature-copy p{font-size:14px;line-height:1.65;margin:0;max-width:58ch;color:#806b7b}.wish-feature-note{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#9b788d}.wish-feature-note>span{font-size:17px;color:#c56e92}.wish-feature-button{position:relative;z-index:1;white-space:nowrap;padding:13px 17px}.wish-feature-button span+span{font-size:16px}
@media(max-width:680px){.wish-feature{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:17px;border-radius:22px;margin:22px 0 30px}.wish-feature-art{width:54px;height:54px;border-radius:17px;grid-row:1;align-self:start}.wish-feature-art img{width:42px;height:42px}.wish-feature-copy h2{font-size:1.27rem;line-height:1.22}.wish-feature-copy p{font-size:13px;line-height:1.6}.wish-feature-copy .eyebrow{font-size:9px;letter-spacing:.12em}.wish-feature-note{font-size:10px;line-height:1.5;margin-top:9px}.wish-feature-button{grid-column:2;justify-self:start;margin-top:1px;padding:10px 14px;font-size:12px}.wish-feature:after{right:15px;top:10px}}

/* v9 reading nook entry: a calm secondary doorway, not another oversized hero. */
.reading-nook-teaser{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:16px;padding:clamp(18px,3vw,26px);margin:18px 0 28px;border:1px solid #e9e0f4;background:linear-gradient(115deg,#fbf8ff,#fffafd 70%);border-radius:22px}
.reading-nook-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:17px;background:#eee7fb;color:#9a79b4;font-size:2rem}
.reading-nook-teaser h2{margin:.25rem 0 .35rem;font-size:clamp(1.2rem,2.4vw,1.65rem)}
.reading-nook-teaser p{margin:0;max-width:62ch;color:#806b7b;line-height:1.65}
@media(max-width:620px){.reading-nook-teaser{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:17px}.reading-nook-icon{width:42px;height:42px}.reading-nook-teaser>.btn{grid-column:1/-1;width:100%}}

/* v10: iPhone layout repairs — long headings must wrap, never collide with the disclosure icon. */
.more-rooms>summary{display:grid;grid-template-columns:minmax(0,1fr) 2.25rem;align-items:center;gap:12px;min-width:0}
.more-rooms>summary>span:first-child{min-width:0;overflow-wrap:anywhere}
.more-rooms>summary strong{display:block;line-height:1.35;overflow-wrap:anywhere}
.more-rooms>summary .eyebrow{display:block;line-height:1.5;overflow-wrap:anywhere}
.more-rooms>summary small{display:block;line-height:1.5;overflow-wrap:anywhere}
.more-rooms-plus{grid-column:2;grid-row:1;align-self:center}
.more-rooms-grid{min-width:0}
.more-rooms-grid .feature{min-width:0;overflow-wrap:anywhere}
.reading-nook-teaser{grid-template-columns:46px minmax(0,1fr);align-items:start}
.reading-nook-icon{grid-column:1;grid-row:1;width:42px;height:42px;flex-shrink:0}
.reading-nook-teaser-copy{grid-column:2;min-width:0}
.reading-nook-teaser>.btn{grid-column:2;justify-self:start;max-width:100%;white-space:normal}
.reading-nook-teaser p,.reading-nook-teaser h2{overflow-wrap:anywhere}
@media(max-width:620px){
 .more-rooms>summary{padding:16px;gap:10px}
 .more-rooms>summary strong{font-size:1rem}
 .more-rooms>summary .eyebrow{font-size:9px;letter-spacing:.11em}
 .reading-nook-teaser{grid-template-columns:40px minmax(0,1fr);gap:10px}
 .reading-nook-teaser>.btn{grid-column:1/-1;justify-self:stretch;width:100%}
}

/* v11 — deliberate mobile composition, not just smaller desktop cards. */
.more-rooms{width:100%;max-width:100%;box-sizing:border-box}
.more-rooms>summary{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;align-items:center!important;gap:14px!important;padding:clamp(16px,3.5vw,24px)!important;min-height:92px;box-sizing:border-box}
.more-rooms-summary-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;min-width:0!important;width:100%;white-space:normal!important}
.more-rooms-summary-copy .eyebrow{font-size:.68rem!important;line-height:1.5!important;letter-spacing:.15em!important;margin:0!important}
.more-rooms-summary-copy strong{font-size:clamp(1rem,2.8vw,1.2rem)!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important}
.more-rooms-summary-copy small{font-size:.88rem!important;line-height:1.55!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important;max-width:58ch}
.more-rooms-plus{grid-column:2!important;grid-row:1!important;width:42px!important;height:42px!important;flex-basis:42px!important;align-self:center!important;justify-self:end!important;font-size:1.35rem!important}
.more-rooms-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;padding:0 clamp(12px,3vw,20px) clamp(12px,3vw,20px)!important;box-sizing:border-box}
.more-rooms-grid .feature{min-width:0!important;width:100%;box-sizing:border-box;padding:clamp(15px,3vw,22px)!important;min-height:170px}
.more-rooms-grid .feature h3,.more-rooms-grid .feature p{overflow-wrap:anywhere}
.reading-nook-teaser{width:100%;max-width:100%;box-sizing:border-box;display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;padding:clamp(18px,4vw,28px)!important;overflow:hidden}
.reading-nook-icon{grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:50px!important;height:50px!important;font-size:1.7rem!important;line-height:1!important;background:#f7e7f0!important;border-radius:16px!important}
.reading-nook-teaser-copy{grid-column:2!important;min-width:0!important}
.reading-nook-teaser-copy .eyebrow{display:block;line-height:1.5;overflow-wrap:anywhere}
.reading-nook-teaser-copy h2{line-height:1.25;overflow-wrap:anywhere}
.reading-nook-teaser-copy p{line-height:1.7;overflow-wrap:anywhere}
.reading-nook-teaser>.btn{grid-column:2!important;justify-self:start;max-width:100%;white-space:normal;line-height:1.35;text-align:center}
.personal-page-heading{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff9fc 0%,#fff 55%,#f7f1ff 100%)}
.personal-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.personal-meta span{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #f0dce8;border-radius:999px;background:#fff;color:#91627c;font-size:.78rem}
.postcard-toolbar{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap;margin:22px 0 14px}
.postcard-toolbar label{display:grid;gap:6px;flex:1;min-width:min(100%,240px);color:#6e5367;font-weight:600}
.postcard-toolbar input{width:100%;padding:12px 14px;border:1px solid #ecd7e3;border-radius:13px;background:#fff;font:inherit}
#postcardCount{font-size:.85rem;color:#8a7184}
.personal-postcard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.personal-postcard{position:relative;display:flex;flex-direction:column;min-width:0;min-height:270px;padding:clamp(18px,3vw,26px);border:1px solid #f0dce8;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#fff8fb 100%);box-shadow:0 10px 30px rgba(112,65,91,.045);transition:transform .22s ease,box-shadow .22s ease}
.personal-postcard:nth-child(4n+2){background:linear-gradient(145deg,#fff,#f7f3ff)}
.personal-postcard:nth-child(4n+3){background:linear-gradient(145deg,#fff,#f2fbf7)}
.personal-postcard:nth-child(4n+4){background:linear-gradient(145deg,#fff,#fff7e7)}
.personal-postcard:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(112,65,91,.09)}
.postcard-stamp{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.8);font-size:1.7rem;margin-bottom:18px}
.personal-postcard h2{font-size:clamp(1.15rem,2.5vw,1.45rem);line-height:1.25;margin:.45rem 0 .6rem}
.personal-postcard p{line-height:1.75;color:#786778;flex:1}
.postcard-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}
.postcard-actions .btn{white-space:normal;line-height:1.3}
.text-button{border:0;background:transparent;color:#9d5477;font:inherit;font-weight:650;padding:9px 3px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.kept-postcards{margin:24px 0;padding:clamp(18px,3vw,28px)}
.kept-postcards h2{margin:.25rem 0}
.kept-postcards p{color:#806b7b;line-height:1.65}
.kept-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.kept-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #efd9e5;border-radius:99px;background:#fff8fb;color:#7e5068}
.kept-pill button{border:0;background:transparent;font-size:1.15rem;color:#9d5477;cursor:pointer}
.reflection-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;margin:22px 0}
.reflection-prompts,.reflection-editor,.reflection-archive,.goal-footer{padding:clamp(18px,3vw,28px);min-width:0}
.reflection-prompt-list{display:grid;gap:9px;margin-top:16px}
.reflection-prompt{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:10px;text-align:left;width:100%;padding:12px;border:1px solid #f0dce8;border-radius:15px;background:#fff;cursor:pointer;color:#4f3b4d}
.reflection-prompt>span:first-child{display:grid;place-items:center;width:36px;height:36px;background:#fff0f6;border-radius:12px;font-size:1.2rem}
.reflection-prompt strong,.reflection-prompt small{display:block;line-height:1.45}
.reflection-prompt small{color:#8a7184;font-size:.82rem;margin-top:3px}
.reflection-prompt b{color:#bc7294}
.reflection-editor{display:grid;align-content:start;gap:12px}
.reflection-editor label,.goal-footer label{display:grid;gap:6px;color:#5c4658;font-weight:600}
.reflection-editor input,.reflection-editor textarea,.goal-footer textarea,.goal-note-label textarea{width:100%;min-width:0;box-sizing:border-box;padding:11px 13px;border:1px solid #ead7e3;border-radius:12px;background:#fffdfd;color:#493849;font:inherit}
.reflection-editor textarea,.goal-footer textarea,.goal-note-label textarea{resize:vertical}
.reflection-actions,.goal-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.local-note,.field-help{font-size:.82rem;line-height:1.6;color:#907c8d}
.reflection-archive{margin:20px 0}
.reflection-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.reflection-entry{min-width:0;padding:16px;border:1px solid #f0dce8;border-radius:16px;background:#fff}
.reflection-entry time{font-size:.78rem;color:#b45d82}
.reflection-entry h3{margin:.45rem 0;font-size:1.05rem;overflow-wrap:anywhere}
.reflection-entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#786778}
.reflection-entry button{margin-right:8px;border:1px solid #efd9e5;border-radius:9px;background:#fff;padding:7px 10px;color:#8d5471;cursor:pointer}
.goal-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.goal-card{min-width:0;padding:clamp(17px,3vw,24px);border:1px solid #f0dce8;border-radius:22px;background:linear-gradient(140deg,#fff,#fff8fb);animation:soft-rise .45s ease both;animation-delay:calc(var(--goal-index,0)*35ms)}
.goal-card:nth-child(3n+2){background:linear-gradient(140deg,#fff,#f8f4ff)}
.goal-card:nth-child(3n+3){background:linear-gradient(140deg,#fff,#f2fbf7)}
.goal-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.goal-emoji{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff;font-size:1.5rem}
.goal-check{display:flex;gap:7px;align-items:center;font-size:.78rem;color:#8a7184}
.goal-card h2{margin:15px 0 7px;font-size:1.2rem}
.goal-card p{color:#806b7b;line-height:1.65;min-height:3em}
.goal-note-label{display:grid;gap:6px;font-size:.88rem;color:#6e5367;font-weight:600}
.goal-footer{display:grid;gap:15px;background:linear-gradient(120deg,#fff9fc,#f8f4ff)}
.goal-footer h2{margin:.3rem 0}
@media(max-width:700px){
 .more-rooms-grid,.personal-postcard-grid,.reflection-layout,.goal-board,.reflection-archive-grid{grid-template-columns:minmax(0,1fr)!important}
 .more-rooms-grid .feature{min-height:145px}
 .reading-nook-teaser{grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important}
 .reading-nook-icon{width:40px!important;height:40px!important;font-size:1.35rem!important}
 .reading-nook-teaser>.btn{grid-column:1/-1!important;width:100%;justify-self:stretch}
 .personal-postcard{min-height:unset}
 .postcard-actions{align-items:stretch}
 .postcard-actions .btn{flex:1}
 .goal-card p{min-height:0}
}
@media(max-width:390px){.more-rooms>summary{grid-template-columns:minmax(0,1fr) 34px!important;gap:8px!important}.more-rooms-plus{width:34px!important;height:34px!important}.personal-meta span{font-size:.72rem}.postcard-actions{flex-direction:column}.postcard-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.personal-postcard,.goal-card{animation:none!important;transition:none!important}.personal-postcard:hover{transform:none}}

/* v11: bespoke postcard, quote and seasonal components. */
.personal-quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.personal-quote{min-width:0;display:flex;flex-direction:column;padding:clamp(18px,3vw,27px);border:1px solid #f0dce8;border-radius:22px;background:linear-gradient(145deg,#fff,#fff8fb);transition:transform .2s,border-color .2s}
.personal-quote:nth-child(3n+2){background:linear-gradient(145deg,#fff,#f7f3ff)}
.personal-quote:nth-child(3n){background:linear-gradient(145deg,#fff,#f2fbf7)}
.personal-quote.is-favourite{border-color:#d88baa;box-shadow:0 0 0 2px #f7e0eb inset}
.quote-mark{font:italic 3.5rem Georgia,serif;color:#d889aa;line-height:.9}
.personal-quote>p{font:500 clamp(1.05rem,2.4vw,1.35rem)/1.65 Georgia,serif;color:#594357;flex:1;margin:12px 0 22px}
.quote-bottom{display:flex;justify-content:space-between;align-items:end;gap:12px;border-top:1px solid #f0dce8;padding-top:13px}
.quote-bottom strong,.quote-bottom small{display:block;line-height:1.45}
.quote-bottom strong{font-size:.85rem;color:#9e5a7b}
.quote-bottom small{font-size:.76rem;color:#8a7184;margin-top:3px}
.quote-bottom button{border:1px solid #efd9e5;border-radius:99px;padding:8px 12px;background:#fff;color:#9d5477;font:inherit;font-size:.82rem;white-space:nowrap;cursor:pointer}
.quote-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0 12px;color:#8a7184}
.quote-toolbar label{display:grid;gap:6px;font-weight:600;color:#6e5367}
.quote-toolbar select{min-width:180px;padding:10px 12px;border:1px solid #ead7e3;border-radius:12px;background:#fff;font:inherit;color:#493849}
.season-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:22px 0}
.season-selector button{min-width:0;border:1px solid #efdce7;border-radius:14px;background:#fff;padding:12px 9px;color:#73566c;font:inherit;font-size:.88rem;line-height:1.4;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.season-selector button.active{background:#f9e9f1;border-color:#d88baa;color:#914e70;box-shadow:0 0 0 2px #f7dce8 inset}
.season-selector button:focus-visible,.personal-postcard button:focus-visible,.personal-quote button:focus-visible{outline:3px solid #b45d82;outline-offset:3px}
.season-feature{display:grid;grid-template-columns:130px minmax(0,1fr);gap:clamp(18px,4vw,32px);align-items:center;padding:clamp(22px,4vw,38px);background:linear-gradient(125deg,#fff9fc,#fff 58%,#f5f0ff);border:1px solid #f0dce8}
.season-art{display:grid;place-items:center;width:120px;height:120px;border-radius:34px;background:#fff0f6;font-size:3.4rem;box-shadow:0 12px 30px rgba(112,65,91,.06)}
.season-copy h2{font-size:clamp(1.5rem,4vw,2.2rem);line-height:1.2;margin:.35rem 0 .75rem}
.season-copy h3{font-size:1rem;color:#a6577b;margin:0 0 .4rem}
.season-copy p{line-height:1.8;color:#806b7b}
.season-copy blockquote{margin:16px 0 0;padding:12px 15px;border-left:3px solid #df9ab6;background:#fff8fb;color:#79566e;border-radius:0 12px 12px 0;line-height:1.65}
.season-enter{animation:soft-rise .35s ease both}
.season-note{margin:18px 0;padding:clamp(20px,3vw,30px)}
.season-note h2{margin:.3rem 0}
.season-note p{color:#806b7b;line-height:1.7}
.season-note textarea{width:100%;box-sizing:border-box;border:1px solid #ead7e3;border-radius:13px;padding:12px;font:inherit;resize:vertical}
.season-note-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
@media(max-width:620px){.personal-quote-grid{grid-template-columns:minmax(0,1fr)}.season-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.season-feature{grid-template-columns:1fr}.season-art{width:78px;height:78px;border-radius:24px;font-size:2.5rem}.quote-bottom{align-items:center}.quote-bottom button{white-space:normal}}
@media(prefers-reduced-motion:reduce){.personal-quote,.season-selector button{transition:none}.season-enter{animation:none}}


/* v13 visual finish — richer editorial scrapbook feel, with restrained motion. */
:root{--paper:#fffdfd;--rose-ink:#9d5273;--lavender-ink:#75628f;--soft-shadow:0 22px 65px rgba(109,69,91,.10)}
body{background-image:radial-gradient(ellipse at 8% 4%,rgba(255,220,234,.72),transparent 31rem),radial-gradient(ellipse at 94% 24%,rgba(230,222,250,.68),transparent 30rem),linear-gradient(180deg,#fffafd 0%,#fffdfd 48%,#fbf8ff 100%)}
.site-header{box-shadow:0 8px 28px rgba(101,66,85,.035);transition:padding .25s ease,background .25s ease}
.brand-mark{box-shadow:inset 0 1px 0 #fff,0 8px 22px rgba(200,95,134,.10);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.brand:hover .brand-mark{transform:rotate(-9deg) scale(1.06)}
main,.page-shell{animation:page-enter .55s cubic-bezier(.2,.7,.2,1) both}
.panel,.feature{box-shadow:var(--soft-shadow);border-color:rgba(255,255,255,.92);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease}
.feature{position:relative;isolation:isolate;overflow:hidden}
.feature:after{content:"";position:absolute;inset:auto -22% -70% auto;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.32);z-index:-1;transition:transform .45s ease}
.feature:hover{transform:translateY(-6px);box-shadow:0 26px 65px rgba(109,69,91,.14);border-color:#fff}
.feature:hover:after{transform:scale(1.45)}
.btn{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(165,89,124,.16)}
.btn:active{transform:translateY(0) scale(.985)}
.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,rgba(255,255,255,.94),rgba(255,246,251,.92) 55%,rgba(246,242,255,.92))}
.hero:before{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(220,157,185,.2);border-radius:50%;right:12%;top:-58%;pointer-events:none}
.hero-art{filter:drop-shadow(0 18px 24px rgba(129,78,105,.10))}
.art-card{animation:keepsake-float 6s ease-in-out infinite}
.spark{animation:sparkle-drift 4.8s ease-in-out infinite}
.spark.s2{animation-delay:-1.3s}.spark.s3{animation-delay:-2.4s}
.timeline-card{position:relative;overflow:hidden}
.timeline-card:after{content:"";position:absolute;right:-38px;top:-42px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(247,218,231,.44),transparent 70%);pointer-events:none}
.timeline-dot{box-shadow:0 0 0 6px rgba(248,226,237,.55),0 5px 15px rgba(170,94,130,.13)}
.media-grid img,.media-grid video{border-radius:18px;transition:transform .35s ease,filter .35s ease}
.media-grid a:hover img{transform:scale(1.025);filter:saturate(1.06)}
.page-heading{background:linear-gradient(125deg,#fff 0%,#fff8fb 60%,#f7f3ff 100%);border:1px solid #fff}
.section-title{margin-top:42px}
.more-rooms{background:rgba(255,255,255,.8);border:1px solid #fff;box-shadow:var(--soft-shadow)}
input,textarea,select{transition:border-color .2s ease,box-shadow .2s ease}
input:focus,textarea:focus,select:focus{outline:none;border-color:#d69ab5;box-shadow:0 0 0 4px rgba(232,142,174,.14)}
.reveal{animation:card-rise .65s cubic-bezier(.2,.7,.2,1) both}
@keyframes page-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes card-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes keepsake-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}
@keyframes sparkle-drift{0%,100%{transform:translateY(0) rotate(0);opacity:.72}50%{transform:translateY(-8px) rotate(14deg);opacity:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v13 chapter reading experience */
.timeline-full-story{margin:18px 0 2px;border:1px solid #efd9e5;border-radius:19px;background:linear-gradient(135deg,#fff9fc,#fff 70%);overflow:hidden}
.timeline-full-story>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:56px;padding:12px 16px;cursor:pointer;color:#985575;font-weight:700;transition:background .2s ease}
.timeline-full-story>summary::-webkit-details-marker{display:none}
.timeline-full-story>summary:hover{background:#fff1f7}
.timeline-full-story>summary:focus-visible{outline:3px solid #b45d82;outline-offset:-3px}
.story-summary-icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:11px;background:#f9e7f0;color:#b45d82}
.story-summary-arrow{margin-left:auto;display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#fff;color:#b45d82;font-size:1.2rem;transition:transform .22s ease,background .22s ease}
.timeline-full-story[open] .story-summary-arrow{transform:rotate(45deg);background:#f9e7f0}
.timeline-full-story-body{padding:5px 20px 22px 58px;color:#6f5b6c;line-height:1.95;overflow-wrap:anywhere;animation:story-reveal .3s ease both}
@keyframes story-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.admin-story-field{padding:20px;border:1px solid #ead8e4;border-radius:20px;background:linear-gradient(135deg,#fff8fb,#fff 65%,#f8f4ff)}
.admin-story-field>label{display:grid;gap:9px;font-weight:700;color:#594357}
.admin-story-field textarea{width:100%;box-sizing:border-box;min-height:280px;padding:16px;border:1px solid #e7d3df;border-radius:14px;background:#fff;color:#493849;font:inherit;line-height:1.8;resize:vertical}
.admin-story-field .field-help{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:9px}
.admin-story-field textarea:focus{outline:3px solid #f2d3e1;border-color:#c7799a}
.motion-off *, .motion-off *:before, .motion-off *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:620px){.timeline-full-story>summary{padding:11px 13px;min-height:54px}.timeline-full-story-body{padding:4px 15px 18px 18px;font-size:.97rem;line-height:1.85}.admin-story-field{padding:14px}.admin-story-field textarea{min-height:230px}}
@media(prefers-reduced-motion:reduce){.timeline-full-story>summary,.story-summary-arrow{transition:none}.timeline-full-story-body{animation:none}}

/* v14: compact first-screen home, month-led timeline, and animated message garden */
.hero-compact{min-height:0;padding:clamp(20px,3vw,36px);grid-template-columns:1.25fr .75fr;gap:18px}.hero-compact .hero-copy h1{font-size:clamp(2rem,4.8vw,3.55rem);margin:8px 0 10px}.hero-compact .lead{font-size:15px;margin-bottom:8px}.hero-compact .hero-copy>p:not(.lead){font-size:13px;margin-bottom:8px}.hero-compact .actions{margin:13px 0 8px}.hero-compact .hero-art{min-height:220px}.hero-compact .art-card{width:155px;height:190px}.hero-compact .hero-note{font-size:10px;margin:0;max-width:620px}.entry-grid.entry-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.entry-preview .entry-card{padding:15px 17px}.entry-preview .entry-card h3{font-size:15px;margin:2px 0 6px}.entry-preview .entry-card p{font-size:11px;line-height:1.5;margin-bottom:7px}.entry-preview .date{margin-bottom:7px;padding:3px 8px}.month-index{display:flex;gap:8px;overflow-x:auto;padding:8px 1px 3px;scrollbar-width:thin}.month-index a{display:flex;align-items:center;gap:10px;white-space:nowrap;padding:8px 11px;border:1px solid #f0dce5;border-radius:99px;background:#fff9fc;font-size:11px;color:#8e6175}.month-index b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#fbe8ef;color:#b65e7e;font-size:10px}.timeline-month{margin:0 0 32px}.timeline-month-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:24px 0 14px;padding:0 0 12px 63px;border-bottom:1px solid #f0dce5}.timeline-month-heading h2{font-size:clamp(20px,3vw,27px);margin:3px 0 0}.month-count{font-size:11px;color:#a76b83;background:#fff0f5;border-radius:99px;padding:6px 11px;white-space:nowrap}.timeline-item{scroll-margin-top:95px}.timeline-month{scroll-margin-top:90px}.message-heading{margin-bottom:20px}.message-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.message-card{display:grid;grid-template-columns:minmax(105px,.38fr) 1fr;gap:12px;padding:18px;overflow:hidden;position:relative}.message-art{min-height:190px;border-radius:18px;background:linear-gradient(145deg,#fff0f5,#f0eaff);display:grid;place-items:center;position:relative;overflow:hidden}.message-art>span{font-size:64px;filter:drop-shadow(0 10px 12px #b87e9630)}.message-art img{width:100%;height:100%;max-height:220px;object-fit:contain;padding:8px}.message-art i,.message-art b{position:absolute;color:#d987a8;font-style:normal;animation:message-drift 3.5s ease-in-out infinite}.message-art i{top:17px;right:20px;font-size:24px}.message-art b{bottom:20px;left:18px;font-size:22px;animation-delay:1s}.message-copy{align-self:center;min-width:0}.message-category{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#b86686;font-weight:800}.message-copy h2{font-size:21px;margin:6px 0}.message-subtitle{font-size:12px;color:#a17f91;margin-bottom:10px}.message-body{white-space:normal;font-size:13px;line-height:1.8;color:#6f5d69}.message-date{display:block;margin-top:12px;color:#a18a96;font-size:10px}.animation-petals .message-art:after,.animation-confetti .message-art:after,.animation-sparkles .message-art:after,.animation-float .message-art:after{content:'✧  ·  ♡  ·  ✦';position:absolute;inset:auto 0 12px;text-align:center;color:#d88daa;letter-spacing:10px;font-size:13px;animation:message-drift 4s ease-in-out infinite}.animation-petals .message-art:after{content:'❀   ✿   ❀';animation:petal-fall 5s ease-in-out infinite}.animation-confetti .message-art:after{content:'✦  ✧  ✦  ✧';animation:message-drift 1.8s ease-in-out infinite}.animation-float .message-art>span{animation:message-drift 3s ease-in-out infinite}@keyframes message-drift{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(4deg)}}@keyframes petal-fall{0%{transform:translateY(-8px);opacity:.4}50%{transform:translateY(7px);opacity:1}100%{transform:translateY(-8px);opacity:.4}}
@media(max-width:680px){.hero-compact{display:grid;grid-template-columns:1fr;padding:17px 16px;gap:7px}.hero-compact .hero-art{grid-row:auto;min-height:105px;order:2}.hero-compact .hero-copy{order:1;text-align:left}.hero-compact .hero-copy h1{font-size:clamp(1.75rem,8vw,2.45rem);line-height:1.08;margin:6px 0 8px}.hero-compact .lead{font-size:13px;line-height:1.45}.hero-compact .hero-copy>p:not(.lead){font-size:11px;line-height:1.45}.hero-compact .actions{justify-content:flex-start;margin:10px 0 0;gap:7px}.hero-compact .actions .btn{padding:9px 12px;font-size:10px}.hero-compact .hero-note{display:none}.hero-compact .halo{width:110px;box-shadow:0 0 0 10px #fff5f9,0 0 0 11px #f4d9e4}.hero-compact .art-card{width:76px;height:92px;border-width:4px;border-radius:40px 40px 14px 14px}.hero-compact .hero-keepsake{max-height:52px}.hero-compact .art-caption{font-size:11px}.hero-compact .art-caption small{font-size:6px}.hero-compact .spark{font-size:17px}.hero-compact .sticker{bottom:0;right:12%;font-size:9px;padding:5px 8px}.entry-grid.entry-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-preview .entry-card{padding:11px}.entry-preview .entry-card h3{font-size:12px}.entry-preview .entry-card p{font-size:10px;line-height:1.4}.entry-preview .text-link{font-size:10px}.month-index{margin-top:12px}.timeline-month-heading{padding-left:48px}.message-grid{grid-template-columns:1fr}.message-card{grid-template-columns:100px 1fr;padding:12px;gap:11px}.message-art{min-height:150px}.message-art>span{font-size:46px}.message-copy h2{font-size:17px}.message-body{font-size:12px;line-height:1.65}}
@media(prefers-reduced-motion:reduce){.message-art i,.message-art b,.message-art>span,.message-art:after{animation:none!important}}


/* v15 — all 56 seed records, separated by editorial meaning */
.timeline-intro .timeline-stats{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.timeline-stats span{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #f0e1e9;border-radius:999px;background:#fff9fc;color:#8b7180;font-size:11px}
.timeline-stats b{color:#a85d7e;font-size:13px}
.timeline-filters{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 4px}
.timeline-filter{border:1px solid #eadce5;border-radius:999px;background:#fff;padding:8px 12px;color:#816b7b;font:inherit;font-size:11px;cursor:pointer;transition:all .2s ease}
.timeline-filter span{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;border-radius:50%;background:#f7edf2;color:#a65e7e;font-size:10px}
.timeline-filter:hover,.timeline-filter.is-active{background:#6f4b62;border-color:#6f4b62;color:#fff}
.timeline-filter.is-active span{background:#ffffff28;color:#fff}
.month-index a{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:130px}
.month-index a small{font-size:9px;color:#a18b99;line-height:1.35}
.timeline-month-heading>div p{margin:4px 0 0;color:#9a8492;font-size:11px}
.timeline-record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:9px}
.timeline-kind-label{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f8edf3;color:#9e5e7c;font-size:9px;letter-spacing:.07em;text-transform:uppercase;font-weight:800}
.timeline-date-status{color:#a28d9a;font-size:9px}
.timeline-kind-detail .timeline-kind-label{background:#eef4f1;color:#648779}
.timeline-kind-artwork .timeline-kind-label{background:#f1eef9;color:#8272aa}
.timeline-kind-reflection .timeline-kind-label{background:#fdf2e9;color:#aa7c56}
.timeline-record[hidden],.timeline-month[hidden]{display:none!important}
.timeline-record .timeline-card{scroll-margin-top:90px}
@media(max-width:680px){
 .timeline-stats{gap:6px!important}.timeline-stats span{font-size:9px;padding:6px 8px}
 .timeline-filters{gap:5px}.timeline-filter{font-size:10px;padding:7px 9px}
 .month-index a{min-width:115px}.timeline-record-meta{gap:5px}
}


/* ============================================================
   v16 — considered mobile-first scrapbook redesign
   ============================================================ */
:root{--v16-ink:#3f3040;--v16-muted:#806f7e;--v16-rose:#b95f82;--v16-line:#f0dfe7;--v16-paper:#fffdfd}
.page-shell{width:min(1120px,calc(100% - 40px));margin:24px auto 64px}
.site-header{min-height:76px;padding:10px max(22px,calc((100% - 1120px)/2));gap:16px}
.brand{min-width:0}.brand>span:last-child{min-width:0}.brand small{max-width:370px;line-height:1.4}
/* Home: one calm focal point, not a poster-sized illustration */
.home-hero-v16{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);align-items:center;gap:clamp(18px,4vw,48px);min-height:390px;padding:clamp(28px,5vw,58px);overflow:hidden;background:linear-gradient(118deg,#fffdfd 0%,#fff8fb 56%,#f8f4ff 100%);border:1px solid #f1dfe8;border-radius:34px;box-shadow:0 20px 60px #9e5b7710}
.home-hero-v16:before{content:"";position:absolute;z-index:-1;width:360px;height:360px;border-radius:50%;right:-100px;top:-180px;background:radial-gradient(circle,#f4e8ff 0,transparent 70%)}
.home-hero-copy{max-width:650px;min-width:0}.home-hero-copy h1{max-width:720px;margin:12px 0 13px;font-size:clamp(2.7rem,6vw,5rem);line-height:.99;letter-spacing:-.065em;color:var(--v16-ink)}
.home-hero-lead{max-width:570px;margin:0 0 10px;font-size:clamp(15px,1.7vw,18px);line-height:1.65;color:#786777}
.home-hero-note{max-width:560px;margin:0;color:#9a8794;font-size:13px;line-height:1.7}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 14px}.home-hero-actions .btn{min-height:44px;padding:11px 17px;font-size:12px}
.home-hero-footnote{display:inline-flex;align-items:center;gap:7px;color:#a18b98;font-size:10px;letter-spacing:.035em}.home-hero-footnote span{color:#c36f91;font-size:15px}
.home-hero-art{position:relative;display:grid;place-items:center;min-height:275px;min-width:0}
.home-art-orbit{position:absolute;width:min(260px,90%);aspect-ratio:1;border:1px solid #efd3e0;border-radius:50%;box-shadow:0 0 0 13px #fff8fb,0 0 0 14px #f6e6ee,0 0 0 29px #fff9fc}
.home-art-paper{position:relative;width:178px;height:212px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:7px solid #fff;border-radius:90px 90px 28px 28px;background:linear-gradient(155deg,#fff0f6,#f0eaff);box-shadow:0 18px 45px #b77c9825;transform:rotate(-3deg)}
.home-art-paper img{width:84px;height:94px;object-fit:contain}.home-art-paper>span{font:italic 22px Georgia,serif;color:#594355}.home-art-paper small{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#9b8493}
.home-art-sticker{position:absolute;right:1%;bottom:12%;padding:9px 13px;border:1px solid #f0dce5;border-radius:13px;background:#fff;box-shadow:0 8px 25px #9e5b7710;font:italic 13px Georgia,serif;color:#8a6c7e;transform:rotate(5deg)}
.home-art-spark{position:absolute;color:#cb7d9b;font-size:23px}.home-spark-one{left:8%;top:15%}.home-spark-two{right:8%;top:25%;font-size:30px}
.home-recent-v16{margin:26px 0 8px}.home-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 3px 13px}.home-section-heading h2{margin:4px 0 3px;font-size:clamp(20px,3vw,27px)}.home-section-heading p{margin:0;color:#9a8794;font-size:12px}.home-section-heading>.text-link{white-space:nowrap;padding-bottom:4px}
.home-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-recent-card{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px 17px;border:1px solid #f0e1e8;border-radius:19px;background:#fffdfd;box-shadow:0 8px 24px #9e5b7709;transition:transform .2s ease,box-shadow .2s ease}.home-recent-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #9e5b7712}.home-recent-mark{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:12px;background:#fff0f5;color:#bd6b8b}.home-recent-content{min-width:0;flex:1}.home-recent-content time{display:block;margin-bottom:4px;color:#b16d89;font-size:10px;font-weight:700;letter-spacing:.04em}.home-recent-content h3{margin:0 0 4px;font-size:14px;line-height:1.3}.home-recent-content p{margin:0;color:#8e7c89;font-size:11px;line-height:1.5}.home-recent-card>a{align-self:center;color:#b36b88;font-size:18px}.home-recent-empty{align-items:center}.home-recent-empty>span{font-size:24px;color:#c77f9c}
/* Timeline: a compact index and distinct visual weight for actual events */
.timeline-hero-v16{padding:clamp(20px,4vw,38px);margin-bottom:28px;background:linear-gradient(135deg,#fffdfd,#fff8fb 70%,#f8f5ff);border-radius:30px}
.timeline-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.timeline-private-note{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #f0e1e8;border-radius:99px;background:#fff;color:#9b7c8c;font-size:10px}.timeline-private-note span{color:#c36f91}
.timeline-hero-v16 h1{margin:10px 0 7px;font-size:clamp(2.2rem,5vw,3.5rem)}.timeline-intro-copy{max-width:650px;margin:0;color:#857481;font-size:13px;line-height:1.7}
.timeline-overview-v16{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 17px}.timeline-overview-v16>div{display:flex;flex-direction:column;gap:2px;padding:11px 13px;border:1px solid #f0e1e8;border-radius:15px;background:#fffdfd}.timeline-overview-v16 strong{font-size:21px;line-height:1.1;color:#704c62}.timeline-overview-v16 span{font-size:10px;color:#988593}
.timeline-control-row{display:flex;align-items:end;justify-content:space-between;gap:12px}.timeline-jump-v16{display:grid;gap:5px;flex:1;max-width:440px;color:#927b8b;font-size:10px;font-weight:700}.timeline-jump-v16 select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #ead9e3;border-radius:12px;background:#fff;color:#594758;font-size:12px}.timeline-order-link{flex:0 0 auto;padding:10px 12px;border-radius:12px;background:#fff0f5;color:#a75d7c;font-size:10px;font-weight:700}
.timeline-filters-v16{display:flex;gap:7px;overflow-x:auto;padding:14px 0 3px;scrollbar-width:none}.timeline-filters-v16::-webkit-scrollbar{display:none}.timeline-filters-v16 .timeline-filter{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;border:1px solid #ecdee6;border-radius:99px;background:#fff;color:#816b7b;font-size:10px}.timeline-filters-v16 .timeline-filter b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:#f7edf2;color:#9d6480;font-size:9px}.timeline-filters-v16 .timeline-filter.is-active{border-color:#6f4b62;background:#6f4b62;color:#fff}.timeline-filters-v16 .timeline-filter.is-active b{background:#ffffff25;color:#fff}
.timeline-month-browser-v16{margin-top:14px;border-top:1px solid #f0e3e9;padding-top:12px}.timeline-month-browser-v16>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;list-style:none}.timeline-month-browser-v16>summary::-webkit-details-marker{display:none}.timeline-month-browser-v16>summary>span:first-child{display:grid;gap:1px}.timeline-month-browser-v16>summary b{font-size:12px;color:#604b5c}.timeline-month-browser-v16>summary small{font-size:10px;color:#9c8995}.month-browser-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#fff0f5;color:#a95e7c;font-size:18px;transition:transform .2s}.timeline-month-browser-v16[open] .month-browser-icon{transform:rotate(45deg)}
.month-index-v16{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.month-index-v16 a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:9px 10px;border:1px solid #f0e3e9;border-radius:12px;background:#fff;color:#806a79;font-size:10px;transition:background .2s,border-color .2s}.month-index-v16 a:hover{background:#fff1f6;border-color:#e7c8d7}.month-index-v16 a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.month-index-v16 a b{display:grid;place-items:center;flex:0 0 21px;height:21px;border-radius:50%;background:#f9edf2;color:#a55f7d;font-size:9px}
.timeline-v16{max-width:900px;margin:0 auto}.timeline-month-v16{margin:0 0 35px;scroll-margin-top:95px}.timeline-month-title-v16{display:flex;align-items:center;gap:12px;margin:0 0 13px;padding:0 4px 12px;border-bottom:1px solid #efdee6}.timeline-month-marker{display:grid;place-items:center;flex:0 0 38px;height:38px;border:1px solid #f0dce5;border-radius:14px;background:#fff4f8;color:#bd7290}.timeline-month-title-copy{min-width:0;flex:1}.timeline-month-title-copy .eyebrow{font-size:8px}.timeline-month-title-copy h2{margin:1px 0 1px;font-size:clamp(18px,3vw,23px)}.timeline-month-title-copy p{margin:0;color:#9b8995;font-size:10px}.timeline-month-total{padding:6px 9px;border-radius:99px;background:#fff1f6;color:#a56580;font-size:9px;white-space:nowrap}
.timeline-month-records{position:relative;display:grid;gap:9px}.timeline-month-records:before{content:"";position:absolute;left:17px;top:17px;bottom:17px;border-left:1px solid #efdce5}.memory-piece-v16{position:relative;display:grid;grid-template-columns:35px minmax(0,1fr);gap:0;scroll-margin-top:95px}.memory-piece-v16[hidden],.timeline-month-v16[hidden]{display:none!important}.memory-piece-rail{position:relative;z-index:1;display:flex;justify-content:center;padding-top:17px}.memory-piece-rail span{display:grid;place-items:center;width:27px;height:27px;border:3px solid #fff;border-radius:50%;background:#f9e7ef;color:#b96687;font-size:12px;box-shadow:0 0 0 1px #efdce5}.memory-piece-card{min-width:0;padding:15px 17px;border:1px solid #f0e2e9;border-radius:17px;background:#fff;box-shadow:0 5px 18px #9e5b7708;transition:border-color .2s,transform .2s}.memory-piece-card:hover{border-color:#e8cbd8;transform:translateY(-1px)}.memory-piece-top{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:7px}.memory-kind-pill{display:inline-flex;padding:4px 8px;border-radius:99px;background:#fff0f5;color:#a65f7d;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.memory-piece-top time{color:#a17f91;font-size:9px;font-weight:700}.memory-date-note{color:#a89aa2;font-size:8px}.memory-mood{display:inline-block;margin:0 0 5px;color:#a38a98;font-size:9px;font-style:italic}.memory-piece-card h3{margin:0 0 5px;color:#4d3b4c;font-size:15px;line-height:1.3;letter-spacing:-.02em}.memory-piece-summary{margin:0;color:#847482;font-size:11px;line-height:1.6}.memory-moment .memory-piece-card{background:linear-gradient(110deg,#fff 0%,#fff 78%,#fff9fb 100%)}.memory-moment .memory-piece-rail span{background:#f8e4ed;color:#ad587a}.memory-reflection .memory-piece-card{background:linear-gradient(110deg,#fffdf9,#fff 75%);border-color:#efe5d7}.memory-reflection .memory-kind-pill{background:#fbf1e6;color:#a27b53}.memory-detail .memory-piece-card{padding:12px 15px;background:#fcfdfc;border-color:#e8eee9;box-shadow:none}.memory-detail .memory-piece-rail span{background:#edf4ef;color:#668a78}.memory-detail .memory-kind-pill{background:#edf4ef;color:#668a78}.memory-detail .memory-piece-card h3{font-size:13px}.memory-detail .memory-piece-summary{font-size:10px}.memory-artwork .memory-piece-card{padding:12px 15px;background:#fbfaff;border-color:#ebe6f4;box-shadow:none}.memory-artwork .memory-piece-rail span{background:#f0edfa;color:#8675ae}.memory-artwork .memory-kind-pill{background:#f0edfa;color:#8272a8}.memory-artwork .memory-piece-card h3{font:italic 15px Georgia,serif}.memory-artwork .memory-piece-summary{font-size:10px}
.memory-story-v16{margin-top:10px;border-top:1px solid #f1e5eb}.memory-story-v16>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0 0;cursor:pointer;color:#a65f7d;font-size:10px;font-weight:800;list-style:none}.memory-story-v16>summary::-webkit-details-marker{display:none}.memory-story-v16>summary span:last-child{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff0f5;font-size:15px;transition:transform .2s}.memory-story-v16[open]>summary span:last-child{transform:rotate(45deg)}.memory-story-content-v16{padding:12px 0 3px;color:#726171;font-size:12px;line-height:1.85;white-space:normal;overflow-wrap:anywhere}.memory-story-content-v16 p{margin:0 0 12px}
/* Other sections keep the same calmer design language */
.wish-feature,.reading-nook-teaser{border-radius:22px}.feature{border-radius:19px}.more-rooms{border-radius:20px}
@media(max-width:760px){
 .page-shell{width:calc(100% - 24px);margin:13px auto 42px}.site-header{min-height:66px;padding:8px 12px;gap:10px}.brand{font-size:12px;gap:8px}.brand-mark{width:36px;height:36px;border-radius:12px;font-size:21px}.brand small{max-width:245px;font-size:8px;line-height:1.35}.menu-toggle{padding:8px 11px}
 .home-hero-v16{grid-template-columns:minmax(0,1fr) 88px;gap:6px;min-height:0;padding:20px 17px 17px;border-radius:24px}.home-hero-copy{grid-column:1/-1;grid-row:1}.home-hero-copy h1{max-width:520px;margin:8px 0 7px;font-size:clamp(2rem,8.2vw,2.8rem);line-height:1.02}.home-hero-lead{max-width:500px;margin-bottom:5px;font-size:12px;line-height:1.5}.home-hero-note{max-width:510px;font-size:10px;line-height:1.5}.home-hero-actions{gap:7px;margin:12px 0 8px}.home-hero-actions .btn{min-height:38px;padding:9px 11px;font-size:10px}.home-hero-footnote{font-size:8px}.home-hero-art{position:absolute;right:9px;top:12px;width:66px;height:66px;min-height:66px;opacity:.8;pointer-events:none}.home-art-orbit{width:58px;box-shadow:0 0 0 5px #fff8fb,0 0 0 6px #f6e6ee}.home-art-paper{width:42px;height:49px;border-width:3px;border-radius:24px 24px 9px 9px;gap:1px}.home-art-paper img{width:22px;height:23px}.home-art-paper>span{font-size:7px}.home-art-paper small{font-size:3px;letter-spacing:.1em}.home-art-sticker,.home-art-spark{display:none}
 .home-recent-v16{margin:18px 0 5px}.home-section-heading{align-items:center;margin-bottom:9px}.home-section-heading h2{font-size:19px}.home-section-heading p{font-size:10px}.home-section-heading>.text-link{font-size:10px}.home-recent-grid{gap:8px}.home-recent-card{gap:8px;padding:11px 10px;border-radius:15px}.home-recent-mark{flex-basis:27px;height:27px;border-radius:9px;font-size:12px}.home-recent-content time{font-size:8px}.home-recent-content h3{font-size:11px;line-height:1.3}.home-recent-content p{font-size:9px;line-height:1.4}.home-recent-card>a{font-size:14px}
 .timeline-hero-v16{padding:18px 15px;margin-bottom:21px;border-radius:22px}.timeline-hero-top{align-items:flex-start}.timeline-private-note{font-size:8px;padding:5px 8px}.timeline-hero-v16 h1{font-size:2.15rem;margin:8px 0 5px}.timeline-intro-copy{font-size:11px;line-height:1.55}.timeline-overview-v16{gap:6px;margin:13px 0 12px}.timeline-overview-v16>div{padding:8px 8px;border-radius:12px}.timeline-overview-v16 strong{font-size:17px}.timeline-overview-v16 span{font-size:8px;line-height:1.3}.timeline-control-row{align-items:stretch;gap:7px}.timeline-jump-v16{font-size:9px}.timeline-jump-v16 select{min-height:39px;font-size:10px;padding:8px}.timeline-order-link{display:flex;align-items:center;justify-content:center;padding:8px 9px;font-size:9px;max-width:112px;text-align:center}.timeline-filters-v16{gap:5px;padding-top:11px}.timeline-filters-v16 .timeline-filter{padding:7px 9px;font-size:9px}.timeline-filters-v16 .timeline-filter b{min-width:17px;height:17px;font-size:8px}.month-index-v16{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.month-index-v16 a{padding:8px;font-size:9px}.timeline-month-v16{margin-bottom:27px}.timeline-month-title-v16{gap:9px;margin-bottom:9px;padding-bottom:9px}.timeline-month-marker{flex-basis:32px;height:32px;border-radius:11px}.timeline-month-title-copy h2{font-size:18px}.timeline-month-title-copy p{font-size:8px}.timeline-month-total{font-size:8px;padding:5px 7px}.timeline-month-records{gap:7px}.timeline-month-records:before{left:13px}.memory-piece-v16{grid-template-columns:28px minmax(0,1fr)}.memory-piece-rail{padding-top:14px}.memory-piece-rail span{width:22px;height:22px;border-width:2px;font-size:10px}.memory-piece-card{padding:12px 12px;border-radius:14px}.memory-piece-top{gap:5px;margin-bottom:6px}.memory-kind-pill{font-size:7px;padding:4px 7px}.memory-piece-top time{font-size:8px}.memory-date-note{font-size:7px}.memory-piece-card h3{font-size:13px}.memory-piece-summary{font-size:10px;line-height:1.55}.memory-detail .memory-piece-card,.memory-artwork .memory-piece-card{padding:10px 11px}.memory-detail .memory-piece-card h3,.memory-artwork .memory-piece-card h3{font-size:12px}.memory-detail .memory-piece-summary,.memory-artwork .memory-piece-summary{font-size:9px}.memory-story-v16>summary{font-size:9px;padding-top:8px}.memory-story-content-v16{font-size:11px;line-height:1.75}
 .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.feature{min-height:140px;padding:13px}.feature-icon{font-size:23px;margin-bottom:12px}.feature h3{font-size:13px}.feature p{font-size:10px}.section-title{margin:26px 2px 12px}.section-title h2{font-size:20px}
}
@media(max-width:380px){.home-hero-v16{padding:17px 13px}.home-hero-copy h1{font-size:1.85rem}.home-hero-lead{max-width:calc(100% - 42px)}.home-hero-actions .btn{font-size:9px;padding:8px 9px}.timeline-overview-v16 span{font-size:7px}.timeline-order-link{max-width:95px}.timeline-private-note{font-size:7px}}
@media(prefers-reduced-motion:reduce){.home-recent-card,.month-browser-icon,.memory-piece-card,.memory-story-v16>summary span:last-child{transition:none!important}}

/* v17 — deliberate mobile navigation, tighter timeline rhythm and safe controls. */
.site-header{z-index:60}
.menu-toggle{min-width:44px;min-height:44px;display:none;align-items:center;justify-content:center;cursor:pointer}
.home-hero-v16{min-height:0}
.home-hero-copy{position:relative;z-index:2}
.home-hero-copy h1{max-width:14ch;text-wrap:balance}
.home-hero-note{max-width:62ch}
.home-recent-card{min-height:112px}
.home-recent-content h3{overflow-wrap:anywhere}
.home-recent-content p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.timeline-hero-v16{padding:clamp(18px,3.5vw,32px)}
.timeline-overview-v16{gap:7px;margin:15px 0 13px}
.timeline-overview-v16>div{padding:9px 11px}
.timeline-overview-v16 span{line-height:1.3}
.timeline-filters-v16{position:relative;gap:6px;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:12px 1px 5px}
.timeline-filters-v16 .timeline-filter{scroll-snap-align:start;flex:0 0 auto;min-height:36px}
.timeline-month-browser-v16>summary{min-height:42px;padding:2px 0}
.timeline-month-browser-v16>summary:focus-visible,.timeline-filters-v16 button:focus-visible,.nav-links a:focus-visible,.menu-toggle:focus-visible{outline:3px solid #d98cab;outline-offset:3px}
.timeline-month-title-v16{scroll-margin-top:100px}
.timeline-month-title-copy p{line-height:1.45}
.memory-piece-v16{scroll-margin-top:105px}
.memory-piece-card{padding:13px 15px}
.memory-piece-top{row-gap:5px}
.memory-kind-pill{font-size:8px;letter-spacing:.045em}
.memory-piece-card h3{overflow-wrap:anywhere}
.memory-story-v16>summary{min-height:32px}
.back-to-top{right:max(14px,env(safe-area-inset-right));bottom:calc(5.25rem + env(safe-area-inset-bottom));z-index:25}
@media(max-width:760px){
 .site-header{position:sticky;top:0;min-height:64px;padding:8px 13px;gap:10px;flex-wrap:nowrap;z-index:100}
 .brand{flex:1;min-width:0;gap:9px;font-size:13px}
 .brand>span:last-child{min-width:0}
 .brand small{max-width:calc(100vw - 112px);font-size:9px;line-height:1.35;letter-spacing:.035em}
 .brand-mark{flex:0 0 38px;width:38px;height:38px;border-radius:13px}
 .menu-toggle{display:inline-flex;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #f2e1e9;border-radius:14px;background:#fff1f6;font-size:19px}
 .nav-links,.nav-links.open{position:absolute;top:calc(100% + 8px);right:12px;left:auto;width:min(390px,calc(100vw - 24px));max-height:min(58dvh,390px);overflow-y:auto;overscroll-behavior:contain;display:none!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:5px;padding:11px;border:1px solid #f0dce6;border-radius:20px;background:rgba(255,253,254,.98);box-shadow:0 18px 48px rgba(75,43,65,.16);backdrop-filter:blur(18px);z-index:110}
 .nav-links.open{display:grid!important}
 .nav-links a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:42px;padding:8px 5px;border-radius:12px;background:#fff7fa;color:#74596b;font-size:10px;line-height:1.25;text-align:center;overflow-wrap:anywhere}
 .nav-links a:active{background:#f8e5ee}
 .page-shell{margin-top:12px}
 .home-hero-v16{padding:22px 18px 18px;border-radius:25px}
 .home-hero-copy h1{max-width:13ch;padding-right:0;font-size:clamp(2rem,8vw,2.7rem);line-height:1.02}
 .home-hero-lead{max-width:100%;font-size:13px;line-height:1.55}
 .home-hero-note{font-size:11px;line-height:1.55}
 .home-hero-art{opacity:.55}
 .home-hero-actions{display:flex;gap:8px}
 .home-hero-actions .btn{flex:1 1 auto;min-height:42px;padding:10px 12px;font-size:10px;white-space:normal;text-align:center}
 .home-hero-footnote{font-size:9px;line-height:1.4}
 .home-recent-v16{margin-top:22px}
 .home-section-heading{align-items:flex-end;gap:8px}
 .home-section-heading h2{font-size:20px}
 .home-section-heading p{font-size:11px}
 .home-section-heading>.text-link{font-size:11px}
 .home-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .home-recent-card{min-height:0;gap:8px;padding:12px 10px;border-radius:16px}
 .home-recent-mark{flex-basis:28px;height:28px}
 .home-recent-content time{font-size:9px}
 .home-recent-content h3{font-size:12px;line-height:1.32}
 .home-recent-content p{font-size:10px;line-height:1.45;-webkit-line-clamp:3}
 .home-recent-card>a{font-size:15px}
 .timeline-hero-v16{padding:17px 14px;margin-bottom:18px;border-radius:21px}
 .timeline-hero-v16 h1{font-size:2rem}
 .timeline-intro-copy{font-size:11px;line-height:1.5}
 .timeline-overview-v16{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0 11px}
 .timeline-overview-v16>div{padding:8px 6px;border-radius:11px;gap:3px}
 .timeline-overview-v16 strong{font-size:17px}
 .timeline-overview-v16 span{font-size:8px;line-height:1.2;overflow-wrap:anywhere}
 .timeline-control-row{align-items:stretch;gap:7px}
 .timeline-jump-v16{font-size:9px;min-width:0}
 .timeline-jump-v16 select{min-height:42px;font-size:12px}
 .timeline-order-link{max-width:112px;min-width:96px;font-size:9px;line-height:1.25}
 .timeline-filters-v16{margin-right:-14px;padding-right:14px;mask-image:linear-gradient(to right,#000 0%,#000 88%,transparent 100%)}
 .timeline-filters-v16 .timeline-filter{font-size:10px;padding:7px 10px}
 .timeline-month-browser-v16{margin-top:10px;padding-top:9px}
 .timeline-month-browser-v16>summary b{font-size:12px}
 .timeline-month-browser-v16>summary small{font-size:10px}
 .month-index-v16{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px;overflow:auto;padding-right:2px}
 .timeline-month-v16{margin-bottom:25px;scroll-margin-top:82px}
 .timeline-month-title-v16{gap:9px;margin-bottom:8px;padding:0 2px 9px}
 .timeline-month-marker{flex-basis:30px;height:30px;border-radius:10px}
 .timeline-month-title-copy h2{font-size:18px}
 .timeline-month-title-copy p{font-size:9px}
 .timeline-month-total{font-size:9px;padding:5px 8px}
 .timeline-month-records{gap:7px}
 .timeline-month-records:before{left:12px;top:14px;bottom:14px}
 .memory-piece-v16{grid-template-columns:26px minmax(0,1fr);scroll-margin-top:82px}
 .memory-piece-rail{padding-top:13px}
 .memory-piece-rail span{width:21px;height:21px}
 .memory-piece-card{padding:11px 12px;border-radius:14px}
 .memory-piece-top{gap:5px;margin-bottom:5px}
 .memory-kind-pill{font-size:7px;padding:4px 7px}
 .memory-piece-top time{font-size:9px}
 .memory-date-note{font-size:8px}
 .memory-mood{font-size:9px;margin-bottom:4px}
 .memory-piece-card h3{font-size:14px;margin-bottom:4px}
 .memory-piece-summary{font-size:11px;line-height:1.5}
 .memory-detail .memory-piece-card,.memory-artwork .memory-piece-card{padding:10px 11px}
 .memory-detail .memory-piece-card h3,.memory-artwork .memory-piece-card h3{font-size:13px}
 .memory-detail .memory-piece-summary,.memory-artwork .memory-piece-summary{font-size:10px}
 .memory-story-v16>summary{font-size:10px;padding-top:7px}
 .back-to-top{width:42px;height:42px;right:12px;bottom:calc(5.25rem + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
 .home-hero-v16{padding:19px 14px 16px}
 .home-hero-copy h1{font-size:1.95rem}
 .home-hero-actions .btn{font-size:9px;padding:9px 8px}
 .home-recent-grid{grid-template-columns:1fr}
 .home-recent-card{align-items:center;padding:11px 12px}
 .home-recent-content h3{font-size:13px}
 .timeline-overview-v16 span{font-size:7px}
 .timeline-order-link{min-width:88px;max-width:94px;padding:8px 7px}
}
@media(prefers-reduced-motion:reduce){.nav-links,.nav-links a,.back-to-top{transition:none!important}}


/* V19.2: expanded profile, access-request and many-to-many permission studio */
.admin-assignment-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;max-height:420px;overflow:auto;padding:12px;border:1px solid var(--line,#eadce4);border-radius:16px;background:rgba(255,255,255,.58)}
.admin-assignment-list .checkbox-line{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;margin:0;border:1px solid rgba(190,140,165,.18);border-radius:12px;background:rgba(255,255,255,.72);line-height:1.45}
.admin-assignment-list .checkbox-line small{display:block;color:var(--muted,#7d6c78);font-size:.78rem}
.admin-user-assignment{border:1px solid var(--line,#eadce4);border-radius:16px;padding:16px;display:grid;gap:8px}
.admin-user-assignment legend{font-weight:800;padding:0 8px}
.admin-user-assignment .checkbox-line{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.65)}
.access-request-card{max-width:760px;margin:20px auto}
@media(max-width:680px){.admin-assignment-list{grid-template-columns:1fr;max-height:360px}.admin-columns:has(.admin-assignment-list){grid-template-columns:1fr}}

/* V19.2.1 hotfix: prevent the visitor account actions from squeezing the brand on phones. */
@media(max-width:760px){
 .site-header{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:8px;flex-wrap:initial!important;padding:9px 13px!important;min-height:0!important}
 .site-header>.brand{grid-column:1;grid-row:1;min-width:0;width:100%;max-width:100%;flex:none!important;display:flex;align-items:center}
 .site-header>.brand>span:last-child{min-width:0;overflow-wrap:anywhere}
 .site-header>.brand small{max-width:100%;font-size:9px;line-height:1.35;white-space:normal}
 .site-header>.menu-toggle{grid-column:2;grid-row:1;justify-self:end;display:inline-flex!important;width:44px;height:44px;min-width:44px;flex:none!important}
 .site-header>.nav-links{grid-column:1/-1}
 .site-header>.visitor-account-link{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:7px;margin:0!important;min-width:0;white-space:normal;font-size:11px}
 .site-header>.visitor-account-link a{padding:7px 11px;font-size:11px;min-height:34px}
}

/* V19.3.1 palette refinement */
:root{--ink:#493746;--muted:#897785;--rose:#df83a6;--rose-dark:#bd5d83;--blush:#fff1f6;--lilac:#f1edfb;--line:#efdfe7;--shadow:0 14px 38px rgba(105,69,91,.09)}
.site-header{background:rgba(255,250,253,.92);border-bottom-color:#efdee7}.panel{border-color:#f0e1e8;box-shadow:0 12px 36px rgba(117,78,100,.07)}.btn.primary{background:linear-gradient(120deg,#e58cab,#c7a8d8);box-shadow:0 8px 22px rgba(198,128,159,.18)}.btn.soft{background:#fff4f8;border-color:#efd8e3;color:#a85678}.feature.f-lilac{background:linear-gradient(145deg,#f5f1ff,#eeebfa)}.feature.f-rose{background:linear-gradient(145deg,#fff2f6,#fdeaf1)}.feature.f-mint{background:linear-gradient(145deg,#f0faf4,#e8f6ee)}.feature.f-gold{background:linear-gradient(145deg,#fff9e9,#fff3db)}
