/* Christmas accents inherit the box's typography and orange palette. */
.christmas-lights {
  position: absolute; top: calc(var(--nav-h) + 2px); left: 0; right: 0;
  height: 23px; z-index: 3; display: flex; justify-content: space-around;
  border-top: 1px solid rgba(214, 183, 122, .18); pointer-events: none;
}
.christmas-lights span {
  position: relative; width: 5px; height: 9px; margin-top: 4px;
  border-radius: 2px 2px 50% 50%; background: #f2d6a1;
  box-shadow: 0 0 9px 2px #f2d6a155, 0 0 22px 6px #f2d6a118;
  animation: christmas-glow 4s ease-in-out infinite alternate;
}
.christmas-lights span::before { content: ''; position: absolute; bottom: 100%; left: 2px; height: 5px; width: 1px; background: #887953; }
.christmas-lights span:nth-child(3n) { background: var(--accent2); animation-delay: -2s; }
.christmas-lights span:nth-child(3n + 1) { margin-top: 9px; animation-delay: -1s; }
.christmas-lights span:nth-child(3n + 1)::before { height: 10px; }
.christmas-ornaments { position: absolute; top: 0; right: 9%; width: 230px; height: 340px; z-index: 2; pointer-events: none; }
.christmas-ornament { position: absolute; top: 0; width: 68px; height: 235px; transform-origin: top center; animation: christmas-sway 9s ease-in-out infinite alternate; }
.christmas-ornament::before { content: ''; position: absolute; top: 0; bottom: 67px; left: 50%; width: 1px; background: linear-gradient(transparent, #d5b77b99); }
.christmas-ornament span { position: absolute; bottom: 0; display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid #d5b77b70; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #d5b77b26, #d5b77b03 65%); color: #d5b77b; font-size: 30px; box-shadow: inset -8px -8px 20px #0003, 0 0 35px #d5b77b08; }
.christmas-ornament span::before { content: ''; position: absolute; top: -6px; width: 12px; height: 6px; border: 1px solid #d5b77b70; border-radius: 2px 2px 0 0; }
.ornament-orange { left: 98px; height: 310px; animation-delay: -4s; }
.ornament-orange span { color: var(--accent2); border-color: #ff6b3560; background: radial-gradient(circle at 30% 25%, #ff6b3526, #ff6b3503 65%); }
.ornament-small { left: 188px; height: 195px; width: 38px; animation-delay: -2s; }
.ornament-small::before { bottom: 38px; }
.ornament-small span { width: 38px; height: 38px; font-size: 20px; }
.christmas-note { display: flex; align-items: flex-start; gap: 18px; margin-top: 24px; max-width: 540px; }
.christmas-greeting { flex: 1; min-width: 0; }
.christmas-greeting summary { display: flex; align-items: center; gap: 9px; width: fit-content; list-style: none; color: #d5bd91; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.3px; cursor: pointer; min-height: 36px; }
.christmas-greeting summary::-webkit-details-marker { display: none; }
.christmas-star { font-size: 20px; }
.christmas-plus { font-size: 16px; transition: transform .2s; }
.christmas-greeting[open] .christmas-plus { transform: rotate(45deg); }
.christmas-card { border-left: 1px solid #d5bd9155; padding: 12px 16px; margin-top: 6px; background: #0a0a0fdb; }
.christmas-eyebrow { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; color: #d5bd91; }
.christmas-card p { font-size: 16px; line-height: 1.5; margin: 8px 0; color: var(--text); }
.christmas-another, .christmas-switch { border: 0; background: none; font: inherit; cursor: pointer; }
.christmas-another { color: #e6c790; font-size: 14px; padding: 5px 0; }
.christmas-switch { flex-shrink: 0; color: var(--gray2); font-size: 12px; min-height: 36px; padding: 0 4px; }
.christmas-switch[hidden] { display: none; }
.christmas-switch > span:first-child { color: #d5bd91; font-size: 17px; vertical-align: middle; }
.christmas-greeting summary:hover, .christmas-another:hover, .christmas-switch:hover { color: #fff0cf; }
.christmas-note :focus-visible { outline: 2px solid #d5bd91; outline-offset: 5px; border-radius: 2px; }
.christmas-lights-off .christmas-lights span { animation: none; background: #73634c; box-shadow: none; }
.christmas-lights-off .christmas-ornament { animation: none; }
.hero:has(.christmas-greeting[open]) { height: auto; min-height: max(100vh, 850px); padding-bottom: 95px; }
@keyframes christmas-glow { from { opacity: .5; } to { opacity: 1; } }
@keyframes christmas-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (max-width: 900px) { .christmas-ornaments { right: 5%; opacity: .6; transform: scale(.65); transform-origin: top right; } }
@media (max-width: 600px) {
  .christmas-ornaments { display: none; }
  .christmas-lights span:nth-child(even) { display: none; }
  .christmas-note { flex-direction: column; gap: 0; margin-top: 18px; }
  .christmas-greeting summary { font-size: 9px; letter-spacing: .8px; }
  .hero { min-height: 800px; }
  .hero:has(.christmas-greeting[open]) { min-height: max(100svh, 1000px); }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-lights span, .christmas-ornament { animation: none; }
  .christmas-plus { transition: none; }
}
