/* Modular keepsake section; photographic room, product, sprite and type stay independent. */
.ks-section{--ks-paper:#faf7ef;--ks-ink:#14111e;--ks-purple:#7848c7;display:grid;grid-template-columns:52% 48%;grid-template-areas:"scene intro" "scene options" "scene closing";grid-template-rows:auto auto 1fr;background:var(--ks-paper);color:var(--ks-ink);overflow:hidden;scroll-margin-top:100px;isolation:isolate}
.ks-intro{grid-area:intro;padding:56px 8% 0}
.ks-eyebrow{display:flex;align-items:center;gap:17px;font:400 12px/1.5 var(--mono,'DM Mono',monospace);letter-spacing:.19em;color:#6534b0;margin:0 0 17px;max-width:none}
.ks-eyebrow span{width:66px;height:2px;background:#b68cfc}
.story-home .ks-section h2,.ks-section h2{font:800 clamp(40px,4.25vw,72px)/.99 var(--text,'Bricolage Grotesque',sans-serif);letter-spacing:-.055em;margin:0 0 22px;max-width:none;text-transform:none}
.ks-section h2 span{color:var(--ks-purple);white-space:nowrap}
.ks-body{font:400 clamp(17px,1.45vw,23px)/1.47 var(--text,'Bricolage Grotesque',sans-serif);margin:0;max-width:37ch}
.ks-section .ks-scene{grid-area:scene;position:relative;margin:0;min-height:880px;overflow:hidden;background:#d9ccae}
.ks-room{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:48% center}
.ks-trophy{position:absolute;width:55%;left:30%;bottom:8%;filter:drop-shadow(3px 6px 5px #2e200b20)}
.ks-frame{position:relative;width:100%;height:auto;display:block;z-index:2;rotate:-4deg;transform-origin:50% 100%}
.ks-lu-ground{position:relative;width:49%;margin:-10% auto 0}
.ks-lu-ground::after{content:"";position:absolute;bottom:-2%;left:-24%;width:148%;height:8%;background:#38281570;border-radius:50%;filter:blur(6px);z-index:-1}
.ks-lu{display:block;width:100%;height:auto;image-rendering:pixelated;position:relative;z-index:3}
.ks-bubble{position:absolute;left:5%;bottom:26%;padding:23px 20px 25px;background:#fffdf7;color:#15101f;border-radius:50%;font:500 clamp(17px,1.6vw,26px)/1.24 var(--hand,'Shantell Sans',cursive);text-align:center;rotate:-9deg;max-width:42%;box-shadow:0 3px 12px #4836170a}
.ks-bubble::after{content:"";position:absolute;right:14%;bottom:-16px;width:30px;height:36px;background:#fffdf7;clip-path:polygon(0 0,100% 100%,65% 0)}
.ks-sparks{position:absolute;width:12%;top:15%;left:23%;fill:none;stroke:#ffcf20;stroke-width:7;stroke-linecap:round;rotate:-12deg}
.ks-options{grid-area:options;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:28px 8% 0}
.ks-option{min-width:0;padding:18px 20px 24px;border-radius:17px;background:#f1ede9}
.ks-option>img{display:block;width:100%;height:auto;margin:0 auto 17px;filter:drop-shadow(0 5px 4px #3d291417)}
.story-home .ks-option h3,.ks-option h3{font:750 25px/1.15 var(--text,'Bricolage Grotesque',sans-serif);letter-spacing:-.045em;margin:0 0 7px;max-width:none;text-transform:none}
.ks-option>p{font:400 17px/1.4 var(--text,'Bricolage Grotesque',sans-serif);color:#554c60;margin:0;max-width:none}
.ks-closing{grid-area:closing;padding:26px 8% 30px}
.ks-annotation{position:relative;margin:0 0 27px 35px;display:inline-block;font:500 21px/1.25 var(--hand,'Shantell Sans',cursive);rotate:-6deg;color:#21172f;max-width:none}
.ks-annotation>span{display:block;background:#e8d6ff;border-radius:23px;padding:13px 23px}
.ks-annotation svg{position:absolute;left:-40px;top:-13px;width:43px;height:63px;fill:none;stroke:#241931;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.ks-availability{font:400 12px/1.5 var(--text,'Bricolage Grotesque',sans-serif);color:#726777;margin:0;max-width:none}
@media(min-width:1600px){.ks-section .ks-scene{min-height:1020px}.ks-intro{padding-top:70px}.ks-option>p{font-size:20px}.ks-option h3{font-size:28px!important}}
@media(min-width:801px) and (max-width:1100px){.ks-intro{padding:40px 6% 0}.ks-eyebrow{font-size:10px;gap:10px;letter-spacing:.12em}.ks-eyebrow span{width:30px}.ks-section h2{font-size:clamp(34px,4.3vw,47px)!important}.ks-body{font-size:17px}.ks-options{padding:24px 6% 0;gap:12px}.ks-option{padding:14px 13px 19px}.ks-option>p{font-size:15px}.ks-option h3{font-size:22px!important}.ks-closing{padding:25px 6%}.ks-annotation{font-size:18px}.ks-section .ks-scene{min-height:820px}.ks-trophy{width:66%;left:24%;bottom:10%}.ks-bubble{bottom:23%;left:3%;padding:17px 12px;font-size:17px}.ks-sparks{top:26%;left:13%}}
@media(max-width:800px){.ks-section{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"intro" "scene" "options" "closing";scroll-margin-top:85px}.ks-intro{padding:44px 24px 30px}.ks-eyebrow{font-size:10px;gap:14px;letter-spacing:.15em;margin-bottom:17px}.ks-eyebrow span{width:48px}.ks-section h2{font-size:clamp(38px,10.7vw,65px)!important;line-height:1!important;margin-bottom:19px!important}.ks-body{font-size:18px;line-height:1.48;max-width:38ch}.ks-section .ks-scene{min-height:0;height:140vw;max-height:820px}.ks-room{object-position:48% 58%}.ks-trophy{width:57%;left:32%;bottom:8%}.ks-bubble{left:4%;bottom:24%;padding:20px 15px;font-size:clamp(17px,4.4vw,25px);max-width:43%}.ks-sparks{top:14%;left:24%;width:12%}.ks-options{padding:28px 20px 0;gap:12px}.ks-option{padding:13px 13px 18px;border-radius:13px}.ks-option>img{margin-bottom:14px}.ks-option h3{font-size:23px!important}.ks-option>p{font-size:16px;line-height:1.4}.ks-closing{padding:26px 24px 36px}.ks-annotation{font-size:20px;margin-left:34px;margin-bottom:26px}.ks-availability{font-size:12px}}
@media(max-width:360px){.ks-intro{padding-inline:20px}.ks-body{font-size:17px}.ks-options{padding-inline:15px;gap:10px}.ks-option{padding:10px 10px 16px}.ks-option h3{font-size:20px!important}.ks-option>p{font-size:15px}.ks-bubble{font-size:15px}.ks-eyebrow{font-size:9px;letter-spacing:.11em}.ks-annotation{font-size:18px}}

/* Gallery wall revision: preserve approved section layout; replace only lifestyle scene. */
.ks-gallery-art{position:absolute;inset:0;width:100%;height:100%;display:block}
.ks-framed-quote{font:500 27px var(--hand,'Shantell Sans',cursive)}
.ks-framed-lu{image-rendering:pixelated}

/* Existing framed background retained. Label art, title, Lu and quote are independent page layers. */
.ks-closeup-art{position:absolute;inset:0;width:100%;height:100%;display:block}
.ks-closeup .ks-framed-quote{font-size:28px;font-weight:500}

/* Preserve the approved table photograph when the river transition is present. */
.ks-section.river-keepsake.ks-restored{padding-top:0;background:var(--ks-paper)}
.ks-restored.river-keepsake::before{display:none}
.ks-restored.river-keepsake .ks-scene{min-height:880px;overflow:hidden;background:#d9ccae}
.ks-restored.river-keepsake .ks-intro{padding-top:162px}
@media(min-width:1800px){.ks-restored.river-keepsake .ks-scene{min-height:1020px}.ks-restored.river-keepsake .ks-intro{padding-top:192px}}
@media(min-width:761px) and (max-width:1100px){.ks-restored.river-keepsake .ks-scene{min-height:820px}}
@media(max-width:760px){.ks-restored.river-keepsake .ks-scene{min-height:0;height:140vw;max-height:820px}.ks-restored.river-keepsake .ks-intro{padding-top:22px}}

/* The sealed display includes a separate cartridge the owner can actually play. */
.ks-sealed-set{position:relative;margin:0 0 17px;aspect-ratio:1122/1402}
.ks-sealed-frame{display:block;width:100%;height:auto;filter:drop-shadow(0 5px 4px #3d291417)}
.ks-playable-cartridge{position:absolute;width:51%;right:-7%;bottom:-1%;height:auto;rotate:8deg;filter:drop-shadow(1px 5px 3px #241d2b35)}
.river-keepsake .ks-sealed-set{width:78%;max-width:172px;margin-inline:auto}
@media(max-width:760px){.river-keepsake .ks-sealed-set{width:90%;max-width:none}}
