/* Handmade homepage: oversize ribbon, floral seams, torn newsprint. */
.home-page > header{width:calc(100% - 48px);padding:25px 0 0;min-height:250px;position:relative;align-items:flex-start}
.home-page .brand{width:auto;max-width:80%;margin-left:55px;position:relative;z-index:5}
.home-page .brand-title{font-size:clamp(29px,3.4vw,49px)}
.home-page .brand-credit{font-size:12px;margin-top:7px}
.brand-flower{position:absolute;width:100px;left:510px;top:10px;transform:rotate(38deg);pointer-events:none;z-index:4}
.ribbon-viewport{position:absolute;left:0;top:60px;width:580px;height:310px;overflow:visible;pointer-events:none;z-index:3}
.has-secret-entry .ribbon-viewport .secret-entry{position:absolute;left:0;right:auto;top:0;width:530px;height:290px;margin:0;display:grid;place-items:center;pointer-events:auto}
.has-secret-entry .secret-entry pre{font-size:11px;line-height:1.02;transform:rotate(-5deg);transform-origin:center;pointer-events:auto;text-shadow:none}
.home.home-collage-layout{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;gap:28px;width:calc(100% - 48px);max-width:1800px;min-height:0;margin:-40px auto 28px;padding:0 0 20px}
.home-collage{position:relative;isolation:auto;width:100%;min-width:0;margin:0;padding:5% 8% 2% 0}
.home-collage>img:first-child{position:relative;z-index:1;width:100%;height:auto;filter:none;box-shadow:none;display:block}
.home-collage .collage-flower{display:none}
.childhood-photo{position:absolute;z-index:4;width:24%;right:0;bottom:15%;transform:rotate(8deg);padding:5px;background:#f1e6dd;opacity:1;filter:none;text-decoration:none}
.home-collage .childhood-photo img{width:100%;height:auto;display:block;filter:none;box-shadow:none}
.childhood-photo:before{content:'';position:absolute;width:39%;height:14px;top:-7px;left:30%;background:#e7dfd4bd;transform:rotate(-5deg)}
.home-collage .newspaper-scrap{position:absolute;z-index:0;width:36%;height:35%;object-fit:cover;object-position:50% 44%;filter:sepia(.16) saturate(.65);opacity:.94;pointer-events:none;clip-path:polygon(3% 3%,15% 2%,26% 4%,40% 1%,54% 3%,72% 1%,86% 3%,98% 1%,97% 20%,99% 34%,97% 53%,99% 70%,97% 88%,99% 98%,82% 96%,70% 99%,53% 96%,38% 99%,19% 97%,2% 99%,3% 80%,1% 64%,3% 45%,1% 26%)}
.newspaper-upper{right:0;top:8%;transform:rotate(10deg)}
.home-collage .newspaper-lower{left:1%;bottom:2%;width:38%;height:24%;transform:rotate(-13deg);object-position:42% 72%}
.home-collage-layout .home-links{min-width:0;gap:30px}
.home-collage-layout .home-link{isolation:isolate;min-height:100px;padding:15px 44px 15px 24px;gap:14px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.home-collage-layout .home-link:before{content:'';position:absolute;inset:0;z-index:-1;background:url('assets/navigation-newsprint.png') center 30%/cover;clip-path:polygon(0 8%,3% 5%,5% 8%,8% 3%,12% 7%,16% 4%,20% 7%,24% 2%,29% 6%,34% 3%,38% 7%,43% 3%,48% 6%,53% 2%,59% 6%,65% 3%,71% 7%,76% 3%,82% 7%,88% 3%,94% 6%,100% 3%,99% 25%,100% 45%,99% 65%,100% 93%,96% 96%,91% 92%,85% 98%,80% 94%,75% 98%,69% 94%,63% 98%,57% 94%,51% 98%,45% 94%,39% 98%,33% 94%,27% 98%,21% 94%,15% 98%,9% 94%,4% 98%,0 94%,1% 75%,0 55%,1% 32%);filter:brightness(1.1);opacity:.95}
.home-collage-layout .home-link:nth-child(2):before{background-position:center 70%;transform:rotate(-.6deg)}
.home-collage-layout .home-link:nth-child(3):before{background-position:center 95%;transform:rotate(.5deg)}
.home-collage-layout .home-link:after{display:none}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:clamp(26px,2.5vw,37px);font-weight:700;background:linear-gradient(110deg,#ffe0ee 10%,#f7e9f2 45%,#b8defa 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 1px 0 #3f4f64) drop-shadow(0 2px 2px #35465be6)}
.home-collage-layout .home-link:hover{transform:translateY(-3px)}
body.home-page{overflow-x:clip}
@media(min-width:1800px){.home-page>header{width:1752px}}
@media(max-width:760px){
.home-page>header{width:calc(100% - 32px);min-height:230px;padding-top:24px}
.home-page .brand{max-width:95%;margin:0 0 0 22px}
.home-page .brand-title{font-size:clamp(23px,6.4vw,36px)}
.home-page .brand-credit{font-size:10px}
.brand-flower{width:65px;right:-6px;left:auto;top:25px;transform:rotate(35deg)}
.ribbon-viewport{left:0;top:77px;width:100%;height:170px}
.has-secret-entry .ribbon-viewport .secret-entry{left:0;top:0;width:100%;height:150px}
.has-secret-entry .secret-entry pre{font-size:clamp(5.2px,1.72vw,9px);transform:rotate(-5deg);line-height:1.02}
.home-page .home.home-collage-layout{grid-template-columns:minmax(0,1fr);width:calc(100% - 32px);gap:20px;margin:-18px auto 24px;padding-top:0;padding-bottom:20px}
.home-collage{width:min(100%,520px);margin-inline:auto;padding-right:10%}
.home-collage-layout .home-links{width:min(100%,490px);margin-inline:auto;gap:19px}
.home-collage-layout .home-link{min-height:85px;padding-left:20px;padding-right:36px}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:clamp(24px,6.5vw,31px)}
.childhood-photo{right:1%;bottom:13%;padding:4px}
}
.photo-credit-link{display:block;text-align:right;margin:0 24px 12px;font-size:10px;color:#425969;text-decoration:none}
@media(max-width:760px){.brand-flower{right:0;width:50px;top:24px;transform:rotate(12deg)}}
.has-secret-entry .ribbon-viewport .secret-entry{width:600px}
.has-secret-entry .secret-entry pre{font-size:13px}
@media(max-width:760px){.has-secret-entry .ribbon-viewport .secret-entry{width:100%}.has-secret-entry .secret-entry pre{font-size:clamp(5.2px,1.72vw,9px)}}

/* Airy flower accents, a complete upper-right ribbon, and rough torn paper. */
.home-page>header{min-height:175px}
.ribbon-viewport{left:auto;right:0;top:5px;width:min(600px,46vw);height:310px}
.has-secret-entry .ribbon-viewport .secret-entry{left:auto;right:0;top:0;width:100%;height:290px}
.has-secret-entry .secret-entry pre{font-size:clamp(7px,.9vw,13px);transform:rotate(-5deg)}
.home.home-collage-layout{margin:0 auto 28px}
.brand-flower{left:490px;top:20px;width:65px;filter:url(#rose-paper-cut) saturate(.45);opacity:.7;clip-path:polygon(23% 0,65% 0,85% 21%,91% 79%,77% 98%,21% 94%,10% 67%,24% 38%);transform:rotate(18deg)}
.home-collage .collage-flower{display:block;position:absolute;z-index:3;width:15%;height:auto;mix-blend-mode:normal;filter:url(#rose-paper-cut) saturate(.45);opacity:.7;pointer-events:none;clip-path:polygon(23% 0,65% 0,85% 21%,91% 79%,77% 98%,21% 94%,10% 67%,24% 38%)}
.flower-upper{left:0;top:0;transform:rotate(-17deg)}
.home-collage .flower-side{width:12%;right:2%;top:29%;transform:rotate(23deg)}
.home-collage .flower-small-1{width:10%;left:29%;top:5%;transform:rotate(35deg);opacity:.62}
.home-collage .flower-small-2{width:11%;right:10%;top:9%;transform:rotate(-20deg)}
.home-collage .flower-small-3{width:10%;left:1%;bottom:10%;transform:rotate(-30deg);opacity:.6}
.home-collage .flower-small-4{width:9%;left:13%;top:45%;transform:rotate(50deg);opacity:.65}
.home-collage-layout .home-link{min-height:86px;padding-block:12px}
.home-collage-layout .home-link:before{clip-path:none;background-size:420px auto;background-repeat:repeat-x;mask:url('assets/torn-nav-1.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/torn-nav-1.svg') center/100% 100% no-repeat}
.home-collage-layout .home-link:nth-child(2):before{mask-image:url('assets/torn-nav-2.svg');-webkit-mask-image:url('assets/torn-nav-2.svg')}
.home-collage-layout .home-link:nth-child(3):before{mask-image:url('assets/torn-nav-3.svg');-webkit-mask-image:url('assets/torn-nav-3.svg')}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-family:'Times New Roman',Times,serif;font-size:clamp(24px,2vw,29px);font-weight:400;background:none;color:#fff;-webkit-text-fill-color:#fff;filter:none;text-shadow:0 1px 1px #293a50,0 2px 4px #293a50dc}
@media(max-width:760px){
.home-page>header{min-height:205px}
.home-page .brand{max-width:100%;margin-left:12px}
.home-page .brand-title{font-size:clamp(22px,6vw,34px)}
.ribbon-viewport{left:auto;right:0;top:65px;width:210px;height:135px}
.has-secret-entry .ribbon-viewport .secret-entry{left:auto;right:0;top:0;width:100%;height:125px}
.has-secret-entry .secret-entry pre{font-size:4.5px;transform:rotate(-5deg)}
.brand-flower{left:auto;right:1px;top:22px;width:40px;transform:rotate(18deg)}
.home-page .home.home-collage-layout{margin:0 auto 24px}
.home-collage-layout .home-link{min-height:75px}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:23px}
}
/* Album sleeves sit above the handmade poster in the supplied order. */
.collage-column{min-width:0;align-self:start}
.album-strip{display:flex;gap:clamp(10px,1.3vw,20px);align-items:flex-start;justify-content:center;padding:8px 8% 28px 0;margin-bottom:12px}
.album-strip img{display:block;width:clamp(46px,5.2vw,78px);height:auto;aspect-ratio:1;object-fit:cover;box-shadow:1px 3px 5px #45506625;transform:rotate(-4deg)}
.album-strip img:nth-child(even){transform:translateY(19px) rotate(5deg)}
.album-strip img:nth-child(3){transform:rotate(-2deg)}
.album-strip img:nth-child(5){transform:rotate(4deg)}
.has-secret-entry .secret-entry pre{transform:rotate(35deg)}
.ribbon-viewport{top:38px;right:25px}
.home-link .tiny-arrow .plain-arrow{display:block;width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #344e67)}
@media(max-width:760px){
.home-page>header{min-height:195px}
.home-page .brand{margin-left:4px;max-width:65%;padding-top:6px}
.home-page .brand-title{font-size:clamp(18px,5vw,29px)}
.home-page .brand-credit{font-size:10px}
.brand-flower{display:none}
.ribbon-viewport{top:2px;right:0;width:155px;height:180px}
.has-secret-entry .ribbon-viewport .secret-entry{width:155px;height:170px}
.has-secret-entry .secret-entry pre{font-size:4.5px;transform:rotate(35deg);line-height:1.02}
.album-strip{gap:10px;padding:0 0 27px;margin-bottom:12px}
.album-strip img{width:clamp(43px,13vw,67px)}
.album-strip img:nth-child(even){transform:translateY(15px) rotate(5deg)}
}
@media(max-width:360px){.ribbon-viewport{right:-7px;width:138px}.has-secret-entry .ribbon-viewport .secret-entry{width:138px}.has-secret-entry .secret-entry pre{font-size:4px}.home-page .brand-title{font-size:17px}}
@media(min-width:761px){.ribbon-viewport{top:100px}}
@media(max-width:360px){.ribbon-viewport{right:1px}}
/* Keep the complete homepage on a single viewport. */
body.home-page{height:100svh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.home-page>header{height:110px;min-height:110px;flex:0 0 110px;padding-top:18px}
.home-page .home.home-collage-layout{flex:1;min-height:0;height:calc(100svh - 110px);margin:0 auto;padding:0 0 16px;align-items:center}
.collage-column{height:100%;min-height:0;display:flex;align-items:flex-start;justify-content:center}
.home-collage{height:100%;max-height:100%;width:auto;max-width:100%;aspect-ratio:1200/1313;padding:5% 8% 2% 0;flex:0 1 auto;margin:0}
.home-collage>img:first-child{width:100%;height:100%;object-fit:fill}
.album-strip{position:absolute;z-index:6;left:5%;right:5%;top:2%;display:flex;justify-content:center;gap:1.4%;padding:0;margin:0;pointer-events:none}
.album-strip img{width:18.5%;height:auto;aspect-ratio:1;object-fit:cover;flex:0 0 18.5%;box-shadow:1px 3px 5px #45506625}
.album-strip img:nth-child(even){transform:translateY(13px) rotate(5deg)}
.ribbon-viewport{top:62px;right:6px}
@media(max-width:760px){
.home-page>header{height:112px;min-height:112px;flex-basis:112px;padding-top:17px}
.home-page .home.home-collage-layout{height:calc(100svh - 112px);grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:0 0 max(10px,env(safe-area-inset-bottom));margin:0 auto;align-items:stretch}
.collage-column{height:100%;min-height:0;justify-content:center}
.home-collage{height:100%;width:auto;max-width:100%;margin:0;aspect-ratio:1200/1313;padding:4% 7% 1% 0}
.home-collage-layout .home-links{gap:9px;width:min(100%,490px);align-self:end}
.home-collage-layout .home-link{min-height:52px;padding-block:8px}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:22px}
.album-strip{left:2%;right:2%;top:2%;gap:1.2%;padding:0;margin:0}
.album-strip img{width:18.8%;flex-basis:18.8%}
.album-strip img:nth-child(even){transform:translateY(9px) rotate(5deg)}
.ribbon-viewport{top:2px;right:0}
}
@media(max-width:760px) and (max-height:650px){.home-page>header{height:87px;min-height:87px;flex-basis:87px}.home-page .home.home-collage-layout{height:calc(100svh - 87px)}.home-collage-layout .home-link{min-height:44px}.home-collage-layout .home-links{gap:6px}.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:20px}.ribbon-viewport{transform:scale(.82);transform-origin:top right}}
@media(min-width:761px){.ribbon-viewport{top:100px}}
@media(min-width:761px) and (max-height:600px){
.home-page>header{height:80px;min-height:80px;flex-basis:80px;padding-top:12px}
.home-page .brand-title{font-size:30px}
.home-page .home.home-collage-layout{height:calc(100svh - 80px);padding-bottom:10px}
.home-collage-layout .home-links{gap:10px}
.home-collage-layout .home-link{min-height:55px}
.home-collage-layout .home-link>span:not(.home-symbol):not(.tiny-arrow){font-size:23px}
.ribbon-viewport{top:0;transform:scale(.55);transform-origin:top right}
}
/* Soft, timeworn record sleeves and shorter newspaper links. */
.album-strip img{filter:sepia(.22) saturate(.66) contrast(.84) brightness(1.08) blur(.22px);opacity:.91;box-shadow:0 0 0 1px #efe3ce55,1px 3px 5px #655c4c24}
.home-collage-layout .home-links{width:82%;max-width:640px;justify-self:center}
@media(max-width:760px){.home-collage-layout .home-links{width:92%;max-width:440px}.home-collage-layout .home-link{padding-left:16px;padding-right:34px;gap:10px}}
/* A small pale peony softens the formula-paper seam. */
.home-collage{transform:scale(.95);transform-origin:top center}
.home-collage .seam-peony{position:absolute;z-index:5;left:61%;top:45%;width:17%;height:auto;pointer-events:none;transform:rotate(-14deg);filter:saturate(.42) brightness(1.28);opacity:.88}
.home-collage .seam-peony{filter:saturate(.5) brightness(1.6) sepia(.12);opacity:.83}
/* Bring the existing paper layers together without rearranging the page. */
@media(min-width:761px){
.collage-column{position:relative;z-index:2;transform:translateX(clamp(45px,7.4vw,125px))}
.home-collage-layout .home-links{position:relative;z-index:3;transform:translateX(-12px)}
.home-collage-layout .home-link:nth-child(1):before{transform:rotate(-.7deg)}
.home-collage-layout .home-link:nth-child(2):before{transform:rotate(.35deg)}
.home-collage-layout .home-link:nth-child(3):before{transform:rotate(-.4deg)}
}
@media(max-width:760px){
.collage-column{position:relative;z-index:2;transform:translateX(5px)}
.home-collage-layout .home-links{position:relative;z-index:3}
}
/* Record sleeves tucked vertically underneath the paper and sculpture. */
.home-collage{isolation:isolate}
.home-collage .album-strip{z-index:-1;left:3%;right:auto;top:22%;bottom:auto;width:20%;height:71%;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:0;justify-items:start;align-items:start;padding:0;margin:0}
.home-collage .album-strip img{width:100%;height:auto;max-width:100%;flex:none;aspect-ratio:1;transform:rotate(-5deg)}
.home-collage .album-strip img:nth-child(2){transform:rotate(4deg)}
.home-collage .album-strip img:nth-child(3){transform:rotate(-3deg)}
.home-collage .album-strip img:nth-child(4){transform:rotate(5deg)}
.home-collage .album-strip img:nth-child(5){transform:rotate(-4deg)}
@media(min-width:761px){.home-collage .album-strip{left:-7%}}
@media(max-width:760px){.home-collage .album-strip{left:-3%}}
/* Move the sleeve stack up by one overlapping album position. */
.home-collage .album-strip{top:6%}
/* Keep full-resolution record sleeves crisp, especially in mobile browsers. */
.home-collage .album-strip img{filter:sepia(.16) saturate(.8) contrast(.94) brightness(1.04);opacity:1;image-rendering:auto}
@media(max-width:760px){.home-collage .album-strip img{filter:none;-webkit-filter:none;opacity:1}}

/* Fit the scrapbook as one proportional composition, including in split view. */
.collage-column{container-type:size}
.home-page .home-collage{
 width:min(100cqw,calc(100cqh * 1200 / 1313));
 height:auto;
 max-height:none;
 aspect-ratio:1200/1313;
 flex:none;
 padding:0;
}
.home-collage>img:first-child{width:92%;height:auto;margin-top:5%;object-fit:contain}
.home-collage .album-strip{height:auto;display:flex;flex-direction:column;align-items:flex-start}
.home-collage .album-strip img{flex:none;margin-top:-22%}
.home-collage .album-strip img:first-child{margin-top:0}
@media(min-width:761px){.collage-column{align-items:center}}
