@media(max-width:680px){
 .village-page .winter-opening::after{background-image:linear-gradient(180deg,#0d2244ad 0%,#102c5094 26%,#113b7870 max(34%,calc(100% - 56.25vw - 108px)),#0c3574 calc(100% - 56.25vw - 17px),#0c3574 100%),url('assets/snow-desktop-whorl-canon.webp')}
 .village-page .winter-opening>.winter-sky::before{background-image:url('assets/snow-desktop-whorl-canon.webp')}
}

.text-for-assistive-tech{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap!important}
.welcome h1.exact-lettering{display:grid;gap:.17em}
.exact-lettering img{filter:drop-shadow(0 4px 11px #08192ea0)}
.exact-lettering .heading-first{width:6.96em;max-width:none;height:auto}
.exact-lettering .heading-second{width:2.51em;height:auto}
.brand-words-exact img{width:10.95em;height:auto}
@media(max-width:680px){
 .village-header::before{height:23px;opacity:1;background-size:152px 23px}
 .village-header .topbar{padding-block:22px .29rem}
 .exact-lettering .heading-first{max-width:100%}
 .brand-words-exact img{width:min(10em,42vw);min-width:0}
}
@media(max-width:370px){
 .brand-words-exact img{width:min(9.4em,41vw)}
}
@media(forced-colors:active){
 .brand-words-exact img,.exact-lettering img{display:none}
 .brand-words-exact .text-for-assistive-tech,.exact-lettering .text-for-assistive-tech{position:static!important;width:auto!important;height:auto!important;margin:0!important;clip-path:none;white-space:normal!important}
}
@media(max-width:370px){
 .brand-words-exact img{width:min(8.7em,35vw)}
 .village-header .topbar .nameplate{min-width:0}
}

/* The village's own painted lantern, alongside the same lettering. */
.nameplate .lantern-brand-art{width:clamp(40px,3.1vw,54px);height:auto;flex:none;object-fit:contain;max-height:54px;filter:drop-shadow(0 2px 4px #061b22cc)}
@media(max-width:680px){
 .nameplate .lantern-brand-art{width:33px;max-height:39px}
}
@media(max-width:370px){
 .nameplate .lantern-brand-art{width:28px;max-height:35px}
 .brand-words-exact img{width:min(8.7em,32vw)}
}

/* Give the full garland room at the top; the art is physically hung from it. */
.village-header::before{
 inset:3px 0 auto;height:28px;opacity:1;
 background:url('assets/spruce-lights-full.svg') repeat-x center top / 152px 28px;
}
.village-header .topbar{padding-block:22px .32rem}
.village-header .nameplate{align-self:start}
.lantern-hanger{position:relative;display:flex;align-self:start;flex:none;overflow:visible}
.lantern-hanger::before{
 content:"";position:absolute;z-index:1;left:50%;transform:translateX(-50%);top:-13px;
 width:2px;height:16px;background:linear-gradient(90deg,#76522b,#ffd895,#91623c);
 border-radius:1px;pointer-events:none;
}
.lantern-hanger::after{
 content:"";position:absolute;z-index:2;left:50%;transform:translateX(-50%);top:-17px;
 width:35px;height:17px;background:url('assets/lantern-garland-tie.svg') center/contain no-repeat;
 pointer-events:none;
}

/* Phone portrait concept: one uninterrupted artwork with no collage edge. */
@media(max-width:680px){
 .village-page .winter-opening>.winter-sky{
  position:absolute;inset:0;grid-row:auto;height:100%;width:100%;z-index:-2;mask-image:none
 }
 .village-page .winter-opening>.winter-sky img{height:100%;object-fit:cover;object-position:50% 100%}
 .village-page .winter-opening>.winter-sky::before{display:none}
 .village-page .winter-opening::after{
  display:block;z-index:-1;
  background:linear-gradient(90deg,#071a3473 0%,#0c244750 38%,#0d29482c 73%,transparent),
   linear-gradient(180deg,#061b3460 0%,#0b23464a 40%,transparent 71%);
 }
}
@media(max-width:680px){
 .village-page .winter-opening::after{mask-image:linear-gradient(to bottom,#000 0 39%,transparent 61%)}
}
