/* Decorative-only layer travels with the existing garage-door transform. */
.holiday-decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;user-select:none;z-index:1}.holiday-decor *{pointer-events:none!important}.holiday-corner{position:absolute;width:clamp(64px,14vw,160px);height:clamp(64px,14vw,160px);left:2%;bottom:3%}.holiday-corner.right{left:auto;right:2%;transform:scaleX(-1)}.holiday-corner svg{width:100%;height:100%}.holiday-lights{position:absolute;top:28px;left:2%;right:2%;display:flex;justify-content:space-between;border-top:3px solid #293b2c;border-radius:0 0 50% 50%;padding-top:5px}.holiday-lights i{width:clamp(7px,1.1vw,14px);height:clamp(13px,1.8vw,23px);border-radius:45%;background:var(--bulb);box-shadow:0 0 12px 4px var(--bulb);animation:holiday-twinkle 3s ease-in-out infinite;animation-delay:calc(var(--n)*-.37s)}.holiday-garland{position:absolute;inset:0 0 auto;height:33px;background:repeating-linear-gradient(125deg,#143e2c 0 7px,#2b6546 8px 15px,#1d4932 16px 22px);border-bottom:5px solid #b4a169;border-radius:0 0 35% 35%}.wreath{border:16px solid #295338;border-radius:50%;background:radial-gradient(circle at 20% 40%,#e7b958 0 4px,transparent 5px),radial-gradient(circle at 70% 60%,#c35b48 0 6px,transparent 7px);box-shadow:inset 0 0 0 3px #71835b,0 4px 10px #0004}.harvest-vine,.celebration-strand,.clover-strand{position:absolute;top:10px;left:3%;right:3%;display:flex;justify-content:space-between;align-items:center}.harvest-vine{border-bottom:3px solid #7a5834}.harvest-vine i{display:block;width:25px;height:45px;border-radius:0 90% 0 90%;background:#ca743b;transform:rotate(25deg)}.harvest-vine i:nth-child(even){background:#e6bd62;transform:rotate(-25deg)}.holiday-web{position:absolute;top:0;left:0;width:140px;height:140px;background:repeating-radial-gradient(circle at 0 0,transparent 0 23px,#d2d3bd88 24px 25px,transparent 26px 32px);clip-path:polygon(0 0,100% 0,0 100%)}.holiday-web.right{left:auto;right:0;transform:scaleX(-1)}.patriotic-bunting{display:flex;justify-content:space-around;position:absolute;top:0;left:3%;right:3%}.patriotic-bunting span{width:30%;height:80px;border-radius:0 0 50% 50%;border-bottom:12px solid #9a4845;background:#334759;color:#e8dfc9;text-align:center;font-size:30px;box-shadow:0 8px 0 #e8dfc9}.celebration-strand{border-top:2px solid #bca266;color:#e5bd68;font-size:30px}.celebration-strand i{font-style:normal;padding-top:calc(8px + mod(var(--n),3)*8px)}.gold-ribbon{border:3px solid #b99654;border-radius:50%;box-shadow:inset 0 0 0 9px #cfb27344,inset 0 0 0 12px #b99654;transform:rotate(-20deg)}.clover-strand{font-size:42px;color:#91ac6c;border-top:2px solid #9f925b}.clover-strand i{font-style:normal}
@keyframes holiday-twinkle{0%,100%{opacity:.65;filter:brightness(.8)}50%{opacity:1;filter:brightness(1.3)}}
/* Width-based proportions survive iPad rotation; never vh-compress the windows. */
#entry-gate .garage-windows{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px;margin-inline:auto;gap:clamp(16px,3vw,28px)}#entry-gate .garage-windows i{aspect-ratio:2.8/1;min-width:0}
@media(max-height:500px){.holiday-corner{width:60px;height:60px}.patriotic-bunting span{height:45px;font-size:18px}.holiday-lights{top:17px}.holiday-garland{height:20px}.holiday-web{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){.holiday-decor *{animation:none!important}}
/* Approved scenic artwork sits below controls; original windows remain untouched. */
#entry-gate[data-illustrated=true]{--story-height:clamp(155px,27dvh,245px)}
#entry-gate[data-illustrated=true] .garage-door{min-height:100%}
#entry-gate[data-illustrated=true] .entry-content{padding-top:var(--window-bottom,250px);padding-bottom:calc(var(--story-height) + 26px);background:radial-gradient(ellipse at 50% 45%,#111b1666,transparent 65%)}
#entry-gate[data-illustrated=true] .entry-logo{width:clamp(100px,16dvh,155px);margin-bottom:8px}
#entry-gate[data-illustrated=true] .entry-content h1{font-size:clamp(28px,4vw,44px);margin:8px 0 14px}
#entry-gate[data-illustrated=true] .entry-content h2{font-size:clamp(20px,3vw,28px);margin-bottom:12px}
#entry-gate[data-illustrated=true] .eyebrow{margin-bottom:8px}
.holiday-decor.illustrated{visibility:hidden;mask-mode:luminance;mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%}
.holiday-decor.illustrated[data-windows-protected=true]{visibility:visible}
.holiday-story{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);height:var(--story-height);display:flex;justify-content:center;align-items:flex-end;mask-image:linear-gradient(to bottom,transparent,black 8%);-webkit-mask-image:linear-gradient(to bottom,transparent,black 8%)}
.holiday-story img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}
.holiday-header-art{position:absolute;top:0;left:0;width:100%;height:clamp(38px,7dvh,62px);object-fit:fill;mask-image:linear-gradient(black 75%,transparent);-webkit-mask-image:linear-gradient(black 75%,transparent)}
.illustrated .holiday-lights{top:12px;left:0;right:0;border:0;padding:0}
.holiday-edge{position:absolute;top:60px;bottom:12px;left:1%;display:flex;flex-direction:column;justify-content:space-between;border-left:2px solid #4b603d}
.holiday-edge.right{left:auto;right:1%}
.holiday-edge i{width:8px;height:12px;border-radius:60%;background:var(--bulb);box-shadow:0 0 7px 2px var(--bulb);animation:holiday-twinkle 3s ease-in-out infinite;animation-delay:calc(var(--n)*-.37s)}
@media(max-height:600px){#entry-gate[data-illustrated=true]{--story-height:150px}#entry-gate[data-illustrated=true] .garage-door{min-height:720px}#entry-gate[data-illustrated=true] .entry-content{min-height:720px}#entry-gate[data-illustrated=true] .entry-logo{width:100px}}
@media(prefers-reduced-motion:reduce){.holiday-decor *{animation:none!important}}
#entry-gate[data-illustrated=true] .entry-logo{width:clamp(90px,12dvh,130px);margin-bottom:6px}
#entry-gate[data-illustrated=true] .entry-content h1{margin:6px 0 8px}
#entry-gate[data-illustrated=true] .entry-content h2{margin-bottom:8px}

/* Approved seasonal entrance borders. Never intercept input or cover the glass. */
.holiday-decor.festive-season{z-index:1}
.festive-season .festive-border{position:absolute;inset:clamp(8px,2.8%,28px);border:2px solid var(--frame);border-radius:clamp(9px,2vw,18px);box-shadow:0 0 12px color-mix(in srgb,var(--accent) 74%,transparent),inset 0 0 18px color-mix(in srgb,var(--accent) 38%,transparent)}
.festive-season .festive-border::after{content:'';position:absolute;inset:4px;border:1px solid var(--accent);border-radius:inherit;opacity:.78}
.festive-season .festive-border.dashed::after{border-style:dashed}
.festive-season .festive-border.marquee::after{border-style:dotted;border-width:2px}
.festive-season svg[viewBox]{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%) rotate(var(--rot,0deg));width:calc(var(--size) * 1.22);height:calc(var(--size) * 1.22);filter:drop-shadow(0 2px 2px #17211e85)}
.festive-season .bulb{display:block;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);height:6px;width:5px;border-radius:50%;background:var(--c);box-shadow:0 0 8px 2px var(--c);animation:holiday-twinkle 3.5s ease-in-out infinite;animation-delay:calc(var(--n) * -.33s)}
@media(max-width:520px){.festive-season svg[viewBox]{width:var(--size);height:var(--size)}}
@media(prefers-reduced-motion:reduce){.festive-season .bulb{animation:none!important}}
