/* Fit the landing as a complete composition, not a half-visible line of card titles. */
#story-shelf .shelf-room{padding-block:0 clamp(2.5rem,6vw,5rem)}
.lane-shelf-opening{--lane-header-h:6rem;min-block-size:max(0px,calc(100svh - var(--lane-header-h)));display:flex;flex-direction:column;justify-content:center;gap:.28rem;padding-block:clamp(.9rem,3.4svh,2.1rem) clamp(1.3rem,3.5svh,2.5rem)}
.lane-shelf-opening h1{font-size:clamp(2.15rem,4.4vw,4.15rem);line-height:.99;text-wrap:balance;margin:.18rem 0}
.lane-shelf-opening .shelf-intro{max-width:54ch;margin:.45rem 0 .7rem;font-size:clamp(.96rem,1.65vw,1.2rem)}
.lane-shelf-opening .lane-picks{margin:clamp(.55rem,1.65svh,1.2rem) 0 0}
.lane-shelf-opening .lane-picks h2{margin:0 0 .7rem;font-size:clamp(1.5rem,3vw,2.5rem)}
.lane-shelf-opening .lane-pick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.55rem,1.6vw,1.3rem);max-width:61rem}
.lane-shelf-opening .lane-pick{display:flex;flex-direction:column;padding:.46rem .54rem .58rem 1.15rem;margin-inline-end:6px;height:auto;min-width:0}
.lane-shelf-opening .lane-pick>img{aspect-ratio:3/2;max-height:clamp(7rem,26svh,13.2rem);min-height:0;width:100%;height:auto;object-fit:contain}
.lane-shelf-opening .lane-pick>div{padding:.48rem .06rem .12rem;min-width:0}
.lane-shelf-opening .lane-pick h3{font-size:clamp(1.03rem,2vw,1.72rem);line-height:1.1;text-wrap:balance;overflow-wrap:normal}
.lane-shelf-opening .lane-pick .chapter-label{line-height:1.13;font-size:clamp(.61rem,1vw,.78rem)}
#story-shelf .lane-shelf-all{margin-top:clamp(1.6rem,4vw,3.5rem)}
@media(max-width:620px){
 .lane-shelf-opening{justify-content:center}
 .lane-shelf-opening .lane-pick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}
 .lane-shelf-opening .lane-pick{padding:.32rem .3rem .35rem .56rem;margin-inline-end:4px}
 .lane-shelf-opening .lane-pick::before{width:.39rem;border-right:1px solid #dfb276}
 .lane-shelf-opening .lane-pick>div{padding:.35rem 0 .1rem}
 .lane-shelf-opening .lane-pick h3{font-size:clamp(.88rem,3.6vw,1.08rem)}
 .lane-shelf-opening .lane-pick>img{min-height:0;border-width:1px}
 .lane-shelf-opening .lane-pick .chapter-label{font-size:.62rem;margin-bottom:.25rem;letter-spacing:.025em}
}
@media(max-width:340px){.lane-shelf-opening .lane-pick h3{font-size:.82rem}.lane-shelf-opening .lane-pick .chapter-label{font-size:.59rem}}
@media(max-height:680px){.lane-shelf-opening .lane-pick>img{max-height:22svh}.lane-shelf-opening .gold-label{line-height:1.17}}
body:has(.lane-route-nav) :is(main [id],.lane-crossroads a):target{scroll-margin-block:clamp(5.5rem,13svh,8rem) 1rem}
body:has(.lane-route-nav) :is(button,a):focus-visible{scroll-margin-block-end:1rem}
/* Advent: 24 house-fronts, six per block, using the books' exact illustrations as window views. */
.lane-days.advent-street{isolation:isolate;position:relative;padding:clamp(.7rem,2vw,1.6rem);border-radius:1rem;border:1px solid #e8be7a85;background:linear-gradient(#1e3655b8,#111f33d9),url("assets/lane-map.webp") center/cover no-repeat;gap:clamp(.65rem,1.4vw,1.35rem)}
.advent-street .advent-house{display:flex;align-items:stretch;min-width:0;--roof:#784453;--face:#653347;--arch:36% 36% .25rem .25rem}
.advent-street .advent-house:nth-child(3n+2){--roof:#2d5b5a;--face:#244c45;--arch:.2rem .2rem .2rem .2rem}
.advent-street .advent-house:nth-child(3n){--roof:#3c5874;--face:#243b60;--arch:45% 45% .28rem .28rem}
.advent-street .advent-house:is(.house-2,.house-4){--roof:#8a6038;--face:#5f422f}
.advent-street .advent-house>a{position:relative;isolation:isolate;display:grid;grid-template-rows:auto auto 1fr;text-align:center;width:100%;height:auto;overflow:visible;margin-top:clamp(1.35rem,3vw,2.35rem);padding:.5rem .45rem .7rem;border:2px solid #ddb378;border-radius:.35rem;background:repeating-linear-gradient(0deg,transparent 0 12px,#fff1b914 13px,transparent 14px 25px),linear-gradient(var(--face),#14283b);box-shadow:0 3px 0 #d9e7ed,#111e2d 0 6px 8px}
.advent-street .advent-house>a::before{content:"";position:absolute;z-index:-1;left:-4%;right:-4%;bottom:calc(100% - 1px);height:clamp(1.45rem,3.5vw,3.05rem);clip-path:polygon(0 100%,16% 60%,50% 0,84% 60%,100% 100%);background:linear-gradient(148deg,#e6f2fa 0 22%,transparent 23%),linear-gradient(212deg,#c4d6e9 0 22%,transparent 23%),repeating-linear-gradient(0deg,var(--roof) 0 6px,#3b3745 7px,var(--roof) 8px 13px);filter:drop-shadow(0 1px 4px #071827)}
.advent-street .advent-house:is(.house-1,.house-4)>a::before{clip-path:polygon(0 100%,17% 32%,38% 32%,50% 0,63% 32%,83% 32%,100% 100%)}
.advent-street .advent-house:is(.house-2,.house-5)>a::before{clip-path:polygon(0 100%,10% 60%,25% 17%,75% 17%,90% 60%,100% 100%)}
.advent-street .advent-window{position:relative;display:block;aspect-ratio:1.25;overflow:hidden;border:4px double #f7d087;border-radius:var(--arch);background:#0f2739;box-shadow:0 0 9px #ffcf7c60}
.advent-street .advent-window img{height:100%;width:100%;object-fit:contain;aspect-ratio:auto;border:0}
.advent-street .lane-date{display:block;justify-self:center;margin:.45rem 0 .25rem;padding:.29rem .38rem;color:#2c1d22;background:#ffdb96;border-radius:.23rem;border:1px solid #ffe8b3;font-size:clamp(.7rem,1.2vw,.89rem);line-height:1.14}
.advent-street .lane-date::before{display:none}
.advent-street .advent-house>a strong{color:#fff3d6;font:700 clamp(.91rem,1.5vw,1.23rem)/1.13 Georgia,serif;padding:0;text-wrap:balance}
.advent-street .advent-house>a:is(:hover,:focus-visible){outline:2px solid #fff0bf;outline-offset:3px;filter:brightness(1.13)}
.advent-street .advent-house>a[aria-current]{box-shadow:0 0 0 3px #ffe0a1,0 0 24px #ffd07d91}
@media(max-width:680px){.lane-days.advent-street{grid-template-columns:repeat(3,minmax(0,1fr));padding:.65rem;gap:.6rem}.advent-street .advent-house:nth-child(6n+7){margin-top:1rem}.advent-street .advent-house:nth-child(6n+8),.advent-street .advent-house:nth-child(6n+9){margin-top:1rem}}
/* Same map, enlarged to show the landmark at each stop; frames read as village postcards. */
.lane-stop>.lane-stop-window{position:relative;display:block;overflow:hidden;aspect-ratio:1.55;background:#1d3449;border-bottom:3px double #e8c989}
.lane-stop>.lane-stop-window img{position:absolute;left:50%;top:50%;width:var(--stop-zoom);max-width:none;height:auto;transform:translate(var(--stop-x),var(--stop-y))}
.lane-stop>.lane-stop-window::after{content:"";position:absolute;inset:7px;border:1px solid #ffdf9d8f;border-radius:.4rem;pointer-events:none}
@media(max-width:650px){.lane-stop>.lane-stop-window{min-height:9.5rem;aspect-ratio:auto;border-bottom:0;border-right:3px double #e8c989}}
/* Character rooms: all photographs and approved marks stay exactly as supplied. */
.portrait-room{--room-color:#573344;--room-art:url("assets/moment-nick.webp")}
.portrait-room.room-pip{--room-color:#2d5345;--room-art:url("assets/moments-workshop.webp")}
.portrait-room.room-peppermint{--room-color:#274f63;--room-art:url("assets/following-the-hoofprints-canon-whorl.webp")}
.portrait-room .character-details{background:linear-gradient(100deg,#fff6dcf5,#fcf0d8de),var(--room-art) center 56%/cover}
.portrait-room .room-story{background:linear-gradient(115deg,#0c2236f5,#122f44c7),var(--room-art) center/cover}
.portrait-room .room-story figure{padding:.45rem;background:var(--room-color);border:3px double #eec383;box-shadow:0 10px 20px #05182791}
.portrait-room .room-story figure img{border:1px solid #f1cf8a91}
.portrait-room .room-story .village-rail>div{padding:clamp(.85rem,2.5vw,1.6rem);background:color-mix(in srgb,var(--room-color),#0e263b 58%);border:1px solid #e3bc807d;border-radius:.6rem}
.portrait-room .lane-keepsake figure{border:3px double #e1b271;background:var(--room-color)}
/* Motif printed into the book's title spread rather than generic frame embellishment. */
.book-title-mark{display:block;inline-size:clamp(2.3rem,5vw,4rem);block-size:auto;flex:none;fill:none;stroke:#9c693d;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;opacity:.93}
.book-title-mark.cover-family-1{stroke:#3d6653}.book-title-mark.cover-family-2{stroke:#6c485a}.book-title-mark.cover-family-3{stroke:#375d76}.book-title-mark.cover-family-4{stroke:#886637}
.leaf[data-leaf="1"] .words{position:relative;background:radial-gradient(ellipse at 50% 30%,#fffbec,transparent 70%),linear-gradient(105deg,#e7d3a7,#fffae7 25%,#f7edd3)}
@media(min-width:681px){.enhanced .leaf[data-leaf="1"] .words h1{font-size:clamp(1.85rem,4.3vw,4rem);text-wrap:balance}.enhanced .leaf[data-leaf="1"] .words{box-shadow:inset 0 0 0 1px #b3854f55}}
@media(max-width:680px){.book-title-mark{position:absolute;inset:.42rem .6rem auto auto;inline-size:1.62rem}.leaf[data-leaf="1"] .words .chapter-label{padding-inline-end:1.85rem}}
/* Wayfinding plaques planted in the shared snowy backdrop. Their approved labels are unchanged. */
.village-page .lane-crossroads .lane-cross-grid{position:relative;isolation:isolate;gap:clamp(1.1rem,3vw,2.3rem);padding-block:1.1rem clamp(2.5rem,6vw,4.35rem)}
.village-page .lane-crossroads .lane-cross-grid a{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:.58rem;min-height:5rem;overflow:visible;padding:.82rem .75rem;border:3px double #e6b776;border-radius:.4rem .9rem .9rem .4rem;background:repeating-linear-gradient(3deg,#ffebbf10 0 1px,transparent 2px 11px),linear-gradient(120deg,#7c4630,#3a231c);box-shadow:0 4px 0 #261e1b,0 7px 10px #0e1d28b2;color:#fff1cc;text-align:center;text-decoration:none}
.village-page .lane-crossroads .lane-cross-grid a:nth-child(2){background-color:#315541;background-image:repeating-linear-gradient(3deg,#ffebbf10 0 1px,transparent 2px 11px),linear-gradient(120deg,#3d6350,#203f3b)}
.village-page .lane-crossroads .lane-cross-grid a:nth-child(3){background-color:#793949;background-image:repeating-linear-gradient(3deg,#ffebbf10 0 1px,transparent 2px 11px),linear-gradient(120deg,#7a4349,#4d2835)}
.village-page .lane-crossroads .lane-cross-grid a::after{content:"";position:absolute;z-index:-1;left:50%;top:calc(100% + 3px);height:1.8rem;width:.58rem;background:linear-gradient(90deg,#3a251e,#a16d45,#513226);transform:translateX(-50%);border-inline:1px solid #ffcb7f65}
.village-page .lane-crossroads .lane-cross-grid a span{display:inline;padding:0;background:none;font:700 clamp(1.08rem,2.25vw,1.6rem)/1.17 Georgia,serif;color:inherit}
.path-sign-icon{width:2.35rem;height:2.35rem;color:#ffdb92;flex:0 0 auto}
@media(max-width:640px){.village-page .lane-crossroads .lane-cross-grid{gap:1.15rem}.village-page .lane-crossroads .lane-cross-grid a{min-height:4.3rem}.village-page .lane-crossroads .lane-cross-grid a:not(:last-child)::after{display:none}}
/* The existing painted spruce ties the Advent façades into this specific village. */
.advent-street .advent-house>a::after{content:"";pointer-events:none;position:absolute;inset:-.47rem .08rem auto;height:clamp(.55rem,1.15vw,1rem);background:url("assets/spruce-lights-full.svg") center top / auto 100% repeat-x;filter:drop-shadow(0 2px 3px #102439)}
.advent-street .advent-house:nth-child(6n+1)>a,.advent-street .advent-house:nth-child(6n+2)>a,.advent-street .advent-house:nth-child(6n+3)>a,.advent-street .advent-house:nth-child(6n+4)>a,.advent-street .advent-house:nth-child(6n+5)>a,.advent-street .advent-house:nth-child(6n+6)>a{margin-bottom:.22rem}
.advent-street .advent-house:nth-child(n+7):nth-child(-n+12)>a{box-shadow:0 3px 0 #e4e3fa,#111e2d 0 6px 8px}
.advent-street .advent-house:nth-child(n+13):nth-child(-n+18)>a{box-shadow:0 3px 0 #c7dce9,#111e2d 0 6px 8px}
.advent-street .advent-house:nth-child(n+19)>a{box-shadow:0 3px 0 #e4cba2,#111e2d 0 6px 8px}
.village-page .lane-crossroads::before{display:none}
