/* Jubilee: identity, address, story, film. */
.hero-copy .brand-intro{width:105%;max-width:760px;margin:0 -2.5% 6px}
.hero-copy .hero-lettering{width:91%;margin:0 auto 6px}
.hero-under-photo .address-shelf-display{margin:8px auto 0;width:108%;max-width:none;left:-4%}
.hero-under-photo .story-punk{margin:5px auto 24px;gap:5px;flex-wrap:nowrap}
.hero-under-photo .story-punk span{position:relative;isolation:isolate;padding:9px 12px;box-shadow:inset 0 0 12px #42240b25;clip-path:polygon(1% 3%,18% 0,34% 3%,53% 1%,75% 4%,98% 0,100% 22%,98% 43%,100% 72%,97% 100%,74% 97%,52% 100%,29% 97%,0 100%,2% 75%,0 48%);background-image:repeating-linear-gradient(4deg,transparent 0 2px,#24170a0d 2px 3px),linear-gradient(120deg,#fff8 0%,transparent 32%,#4b2c1322 70%,#fff5);}
.hero-under-photo .story-punk span:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23n)'/%3E%3C/svg%3E");mix-blend-mode:multiply}
.hero .hero-under-photo .welcome-photo{position:relative;width:100%;margin:15px auto 30px;transform:none}
.hero .welcome-photo .welcome-gold-plaque{position:relative;display:table;z-index:3;margin:-5.7% auto 0;padding:9px 35px;max-width:90%;border:3px double #a86b19;border-radius:8px;background:linear-gradient(165deg,#fff0b7 0%,#deb758 22%,#ffe8a1 44%,#c38b2f 77%,#f3d785 100%);box-shadow:inset 0 0 0 2px #fff1b780,0 2px 2px #39200755;color:#50300b;font:italic clamp(19px,2.3vw,32px)/1.15 Georgia,serif;text-shadow:0 1px #ffe9a6;transform:none}
.welcome-gold-plaque:before,.welcome-gold-plaque:after{content:"";position:absolute;top:48%;width:5px;height:5px;border-radius:50%;background:#95621b;box-shadow:0 1px #fff0ab}
.welcome-gold-plaque:before{left:11px}.welcome-gold-plaque:after{right:11px}
@media(max-width:700px){.hero-copy .brand-intro{width:118%;max-width:none;margin:0 -9% 8px}.hero-copy .hero-lettering{width:100%;margin:0 auto 10px}.hero-under-photo .address-shelf-display{width:114%;left:auto;margin:8px -7% 0}.hero-under-photo .story-punk{font-size:clamp(11px,3.2vw,17px);gap:3px;margin-bottom:16px}.hero-under-photo .story-punk span{padding:7px 6px}.hero .welcome-photo .welcome-gold-plaque{font-size:18px;padding:7px 22px;margin-top:-7%}.hero .hero-under-photo .welcome-photo{width:106%;margin-left:-3%;margin-right:-3%}}

.hero-under-photo .centre-knobs{position:relative;width:66%;margin:8px auto 22px}
.hero-under-photo .centre-knobs .shop-knobs{position:static;display:block;width:100%;height:auto;margin:0;filter:none}
.hero .welcome-photo .welcome-aged-plaque{position:relative;z-index:3;width:31%;max-width:235px;margin:-4% auto 0;padding:0;border:0;background:none;box-shadow:none;transform:none}
.hero .welcome-photo .welcome-aged-plaque:before,.hero .welcome-photo .welcome-aged-plaque:after{content:none}
.hero .welcome-photo .welcome-aged-plaque img{position:static;display:block;width:100%;height:auto;padding:0;border:0;background:none;filter:none;transform:none}
@media(max-width:700px){.hero-under-photo .centre-knobs{width:72%;margin:4px auto 16px}.hero .welcome-photo .welcome-aged-plaque{width:43%;margin-top:-5%}}

.hero .welcome-photo .welcome-aged-plaque{aspect-ratio:2172/320;overflow:hidden}
.hero .welcome-photo .welcome-aged-plaque img{position:absolute;left:0;top:-69%;max-width:none}

#story>.jubilee-radio{grid-column:1/-1;grid-row:4;order:3;justify-self:center;margin:24px auto 32px}
#story .radio-label h2{color:#285b91;font:bold 23px/1.2 Georgia,serif;letter-spacing:.02em;text-shadow:none;margin:0 0 8px}
@media(max-width:700px){#story .radio-label h2{font-size:21px}}

.hero-under-photo .address-shelf-display{margin-top:42px}
@media(max-width:700px){.hero-under-photo .address-shelf-display{margin-top:28px}}

#story>#treasures{grid-column:1/-1;grid-row:4;order:3;width:100%;max-width:none;margin:0;padding:32px 0 24px}
#story>.jubilee-radio{grid-row:5;order:4}

#story #treasures>.shop-oddities-sign{width:68%;max-width:600px;margin:0 auto 26px;transform:none}
@media(max-width:700px){#story #treasures>.shop-oddities-sign{width:92%;margin:0 auto 20px}}

#story>#treasures{padding-top:0;margin-top:-24px}
@media(max-width:700px){#story>#treasures{margin-top:-14px}}

/* Original knobs and Open sign beneath the shop photograph caption. */
#treasures .shop-photo-with-knobs .centre-knobs{position:relative;width:82%;max-width:330px;margin:18px auto 0;transform:none}
#treasures .shop-photo-with-knobs .centre-knobs .shop-knobs{position:static;display:block;width:100%;height:auto;max-width:none;margin:0;transform:none;filter:none}

#treasures .shop-photo-with-knobs{grid-column:1;grid-row:2;width:100%;align-self:start}

/* Jay and Bonnie's full story: readable letterpress-inspired pages. */
#story>.jubilee-biography{grid-column:1/-1;grid-row:2;order:1;width:100%;color:#332c22;font:18px/1.75 Georgia,serif;text-align:left}
#story .jubilee-biography p{font:inherit;color:inherit;max-width:none;margin:0 0 1.15em;text-shadow:none}
#story .biog-opening{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin:12px 0 35px}
#story .jubilee-biography .biog-eyebrow{font:11px/1.6 Georgia,serif;letter-spacing:.16em;color:#775f39;margin-bottom:20px}
#story .jubilee-biography .biog-lead{font-size:21px;line-height:1.7}
#story .biog-lead:first-letter{float:left;font:80px/.85 Georgia,serif;padding:8px 9px 0 0;color:#315d65}
#story .biog-portrait{width:100%;margin:0;transform:rotate(1deg)}
#story .biog-portrait figcaption{font-size:14px}
#story .biog-paper{padding:42px 38px;background-color:#f4edda;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23p)'/%3E%3C/svg%3E");border:1px solid #aa946e55;box-shadow:inset 0 0 45px #9c793317,0 2px 3px #362b161a}
#story .biog-lives{display:grid;grid-template-columns:1fr 1fr;gap:36px}
#story .biog-lives>section+section{border-left:1px solid #a28c6655;padding-left:30px}
#story .jubilee-biography h3{font:italic 38px/1.2 Georgia,serif;color:#315d65;margin:0 0 20px}
#story .biog-new-chapter{border-top:1px solid #a28c6655;margin-top:22px;padding-top:30px}
#story .jubilee-biography .biog-turn{font-style:italic;font-size:23px;margin-bottom:0}
#story .biog-manifesto{padding:50px 6% 30px;text-align:center}
#story .jubilee-biography .biog-crave{font-size:29px;line-height:1.5}
#story .biog-crave em{color:#325d68}
#story .jubilee-biography .biog-stories{font:italic 48px/1.2 Georgia,serif;color:#9a472b;margin:12px 0 24px}
#story .jubilee-biography .biog-stuff{font:bold clamp(32px,4.5vw,56px)/1.15 Georgia,serif;letter-spacing:-.04em;color:#a23d24;margin:28px 0 18px}
#story .jubilee-biography .biog-birth{font-style:italic}
#story .biog-arrival{max-width:680px;margin:0 auto;text-align:center}
#story .jubilee-biography .biog-opening-date{display:table;margin:25px auto 0;padding:11px 25px;border:3px double #8e7344;background:#bda46c;color:#32291d;font:small-caps 18px/1.3 Georgia,serif;box-shadow:inset 0 0 18px #58432333}
#story .biog-finale{text-align:center;padding:40px 0 5px}
#story .jubilee-biography .biog-vote{font:30px/1.45 Georgia,serif;margin-bottom:24px}
#story .biog-vote em{color:#a23d24}
#story .jubilee-biography .biog-maxims{font-style:italic;line-height:1.9}
#story .jubilee-biography .biog-sclub{font:23px/1.5 'Caveat','Comic Sans MS',cursive;color:#315d65;transform:rotate(-2deg);margin:20px 0 30px}
#story .jubilee-biography .biog-now{font:bold 30px/1.2 Georgia,serif;letter-spacing:.08em;margin:0}
@media(max-width:700px){#story>.jubilee-biography{font-size:17px}#story .biog-opening,#story .biog-lives{grid-template-columns:1fr;gap:26px}#story .biog-opening{margin-top:0}#story .biog-portrait{width:94%;margin:auto}#story .biog-paper{padding:26px 21px}#story .biog-lives>section+section{border-left:0;border-top:1px solid #a28c6655;padding-left:0;padding-top:25px}#story .jubilee-biography .biog-lead{font-size:19px}#story .jubilee-biography .biog-crave{font-size:25px}#story .biog-manifesto{padding:35px 3% 15px}#story .jubilee-biography .biog-vote{font-size:25px}#story .jubilee-biography .biog-now{font-size:25px}}

/* Give desktop content eighteen per cent more room inside the doorway. */
@media(min-width:1000px){.doorway{width:83.6%;max-width:1375px;padding-top:calc(20.9% + 10px)}.hero-copy{max-width:836px}}
@media(min-width:1600px){.doorway{padding-top:308px}}

/* Centre the main logo even when its maximum width applies. */
.hero-copy .brand-intro{left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}

/* Keep the enquiry panel compact until opened. */
#contact .contact-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;cursor:pointer;list-style:none;text-align:left}
#contact .contact-fold>summary::-webkit-details-marker{display:none}
#contact .contact-fold>summary h2{margin:0;font-size:clamp(25px,3vw,38px)}
#contact .contact-fold-hint{font:15px/1.4 Georgia,serif;color:#365b69;white-space:nowrap}
#contact .contact-fold-hint span{display:inline-block;font-size:24px;margin-left:8px;transition:transform .2s}
#contact .contact-fold[open] .contact-fold-hint span{transform:rotate(45deg)}
#contact .contact-fold-body{padding-top:24px}
@media(max-width:700px){#contact .contact-fold>summary{flex-wrap:wrap;gap:6px}#contact .contact-fold-hint{font-size:14px}}

/* A tactile correspondence case, with the stationery tucked inside. */
#contact #message-panel{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;filter:none!important;max-width:760px;width:100%;transform:none!important}
#contact #message-panel:before,#contact #message-panel:after{display:none!important}
#contact .contact-fold>summary{display:block;position:relative;text-align:center;padding:0;outline-offset:6px}
#contact .contact-case{display:block;width:100%;height:auto;margin:0;filter:none}
#contact .contact-case-title{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#contact .contact-fold-hint{display:block;color:#493926;font-size:16px;margin:4px auto 0;white-space:normal}
#contact .contact-fold-hint .case-open-label,#contact .contact-fold-hint .case-close-label{font:inherit;margin:0;transform:none}
#contact .contact-fold-hint .case-close-label{display:none}
#contact .contact-fold[open] .case-open-label{display:none}
#contact .contact-fold[open] .case-close-label{display:inline}
#contact .contact-fold-body{margin:12px 3% 0;padding:25px clamp(18px,4vw,40px) 30px;background:#f1e7cf;border:1px solid #b29a6d;border-radius:2px;text-align:center}
#contact .contact-fold-body p{color:#403528}
@media(max-width:700px){#contact .contact-fold-hint{font-size:14px}#contact .contact-fold-body{margin-left:0;margin-right:0}}

#contact #message-panel{margin:0 auto!important}

/* The lid lifts before the letter unfurls; its rolled edge follows the paper. */
#contact .contact-case-stage{display:block;position:relative;perspective:1000px;isolation:isolate}
#contact .contact-case-stage:before{content:'';position:absolute;inset:8% 2% 3%;background:#30201d;border:6px ridge #74513a;border-radius:10px;z-index:-1;opacity:0;transition:opacity .35s}
#contact .contact-fold.is-opening .contact-case-stage:before,#contact .contact-fold.case-open .contact-case-stage:before{opacity:1}
#contact .contact-case{transform-origin:center top;backface-visibility:hidden;position:relative;z-index:2}
#contact .contact-fold.case-open .contact-case{transform:rotateX(64deg)}
#contact .contact-paper-roll{position:relative;overflow:hidden;margin:0 3%;transform-origin:top center}
#contact .contact-paper-roll:after{content:'';position:absolute;bottom:0;left:0;right:0;height:25px;border-radius:40% 40% 45% 45% / 30%;background:linear-gradient(#bba479,#e7d9b7 22%,#fff5db 48%,#d5c197 77%,#aa9063);border-bottom:1px solid #927b55;pointer-events:none}
#contact .contact-fold-body{margin:0;padding:30px clamp(18px,4vw,40px) 45px;background:#eee3c8 url('jubilee/assets/rag-paper.webp') center/cover;border:0;border-radius:0}
#contact .contact-fold-hint{position:relative;z-index:3;margin:3px auto 12px}
#contact .contact-fold-body input,#contact .contact-fold-body textarea{background:rgba(255,253,240,.65)!important}
@media(prefers-reduced-motion:reduce){#contact .contact-case-stage:before{transition:none}}

/* Keep the surrounding wall and the case anchored while paper opens below. */
html,body{overflow-anchor:none}
#contact .contact-case-stage{height:auto!important}
#contact .contact-paper-roll{margin:24px 5% 0}
#contact .contact-case-stage:before{inset:8% 2% 3%}

/* Enter the orange interior beneath the parrot shelf. */
.orange-room-wall{position:absolute;left:6.8%;right:6.8%;z-index:0;pointer-events:none;background:#df621e;mask-image:linear-gradient(transparent,#000 70px,#000 calc(100% - 150px),transparent);-webkit-mask-image:linear-gradient(transparent,#000 70px,#000 calc(100% - 150px),transparent)}
/* The sheet feeds from behind the front lip of the case. */
#contact .contact-fold>summary{z-index:auto}
#contact .contact-fold-hint{position:absolute;bottom:10%;left:0;right:0;margin:0;color:#f3e5c7;opacity:0;pointer-events:none}
#contact .contact-fold:not([open]) .contact-fold-hint{position:relative;bottom:auto;color:#493926;opacity:1;margin:4px 0 0}
#contact .contact-fold[open] .contact-fold-hint{opacity:1;top:27%;bottom:auto;color:#f3e5c7}
#contact .contact-paper-roll{z-index:1;margin:0 8%;top:clamp(-110px,-10vw,-40px);margin-bottom:clamp(-110px,-10vw,-40px)}
#contact .contact-fold-body{padding-top:65px}

.orange-room-wall:before{content:'';position:absolute;inset:0 0 auto;aspect-ratio:3/2;background:url('orange-plaster.png') center top/100% auto no-repeat;mask-image:linear-gradient(#000 65%,transparent);-webkit-mask-image:linear-gradient(#000 65%,transparent)}

/* Faint painted masonry continues through the coloured interior. */
.orange-room-wall:after{content:'';position:absolute;inset:0;background:url('white-brick-edges.webp') center top/180% auto repeat-y;mix-blend-mode:multiply;opacity:.48;pointer-events:none}

/* Ground the orange-room objects with close contact and softer cast shadows. */
#story .people-wide-shelf img,#treasures .people-wide-shelf img,.gallery-exit-shelf img{filter:drop-shadow(0 3px 2px rgba(45,23,9,.40)) drop-shadow(3px 12px 8px rgba(52,26,12,.27))}
#gallery .people-lamp img,#treasures .shop-knobs,#story .jubilee-radio img,#treasures .mounted-art-sign img,#gallery .mounted-art-sign img{filter:drop-shadow(1px 3px 2px rgba(45,23,9,.35)) drop-shadow(3px 7px 5px rgba(52,26,12,.22))!important}
#gallery .fixed-frame{filter:drop-shadow(1px 3px 2px rgba(45,23,9,.4)) drop-shadow(3px 9px 6px rgba(52,26,12,.25))}
.gallery-exit-shelf{position:relative;z-index:2;width:83.6%;max-width:1375px;margin:20px auto 55px;padding:0}
.gallery-exit-shelf img{display:block;width:100%;height:auto}
.orange-room-exit{position:absolute;left:0;right:0;bottom:0;aspect-ratio:3/2;background:url('orange-plaster.png') center top/100% auto no-repeat;transform:rotate(180deg);mask-image:linear-gradient(#000 65%,transparent);-webkit-mask-image:linear-gradient(#000 65%,transparent)}
.orange-room-wall{mask-image:linear-gradient(transparent,#000 70px,#000 calc(100% - 45px),transparent);-webkit-mask-image:linear-gradient(transparent,#000 70px,#000 calc(100% - 45px),transparent)}
@media(max-width:700px){.gallery-exit-shelf{width:90%;margin:12px auto 32px}}
