/* Accessible, responsive Christmas landing page. The background art is purely decorative. */
:root {
  color-scheme: dark;
  --forest: #10251b;
  --cream: #fff5e6;
  --gold: #f4d99e;
  --cranberry: #650815;
  --focus: #ffe26a;
  --text-muted: #fff1d9;
}
*,*::before,*::after {box-sizing:border-box}
html {font-size:100%; scroll-behavior:auto}
body {margin:0; background:var(--forest); color:var(--cream); font-family:Georgia, 'Times New Roman', serif; line-height:1.5}
a {color:inherit}
button {font:inherit}
.page {position:relative; isolation:isolate; min-height:100svh; overflow-x:clip; padding:clamp(1rem,2.5vw,2rem) 1rem 3rem; background:#10251b}
.page::before {content:""; position:absolute;inset:0;z-index:-2;background:url('assets/christmas-room.webp') center center/cover no-repeat fixed}
/* Text always lives on a solid-backed content panel, not directly over unpredictable bright pixels. */
.page::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,25,18,.70),rgba(9,25,18,.42) 55%,rgba(9,25,18,.45))}
.content {position:relative;z-index:1;max-width:61rem;margin:0 auto;padding:clamp(1rem,3.5vw,2.75rem);text-align:center;background:rgba(10,31,22,.97);border:2px solid #cba85d;border-radius:1.25rem;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.holly-corner {position:absolute;z-index:0; width:clamp(6rem,18vw,17rem); aspect-ratio:1; background:url('assets/holly-corner.webp') top left/contain no-repeat;pointer-events:none}
.holly-left {top:0;left:0}
.holly-right {top:0;right:0;transform:scaleX(-1)}
.star {font-size:clamp(2.4rem,4.8vw,3.8rem); color:var(--gold);line-height:1.1}
h1 {font-size:clamp(2.05rem,5.5vw,4.75rem); line-height:1.14; letter-spacing:-.025em; color:var(--cream); margin:.5rem auto 1rem;max-width:19ch;overflow-wrap:normal}
h1 span {display:block; font-size:.76em}
.greeting-subtitle {font:clamp(1rem,1.6vw,1.22rem)/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text-muted);margin:0 auto;max-width:42rem}
.ornament {height:3rem;max-width:24rem;margin:1rem auto 1.25rem;background:url('assets/holly-divider.webp') center/contain no-repeat}
.video-shell {position:relative;isolation:isolate;aspect-ratio:16/9;width:100%;overflow:hidden;background:#06130e;border:3px solid var(--gold);border-radius:.85rem;box-shadow:0 7px 24px rgba(0,0,0,.5)}
.video-poster {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.video-shade {position:absolute;inset:0;background:rgba(0,0,0,.85);z-index:-1}
.video-actions {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(.4rem,1.5vw,.9rem);height:100%;padding:1rem}
.video-label {font:600 clamp(1rem,2vw,1.3rem)/1.4 system-ui,sans-serif;margin:0;color:white}
.play-button {display:inline-flex;align-items:center;justify-content:center;gap:.7rem;border:2px solid #fff2d6;border-radius:999px;color:#fff;background:#650815;padding:.8rem 1.2rem;min-height:3.5rem;min-width:3.5rem;font:700 clamp(.875rem,1.4vw,1.1rem)/1.4 system-ui,sans-serif;cursor:pointer;transition:background .15s}
.play-button:hover,.channel-button:hover {background:#500510}
.play-triangle {font-size:1rem}
.video-hint {font:clamp(.78rem,1.2vw,.94rem)/1.5 system-ui,sans-serif;max-width:36rem;color:white;margin:0}
.video-shell iframe {display:block;width:100%;height:100%;border:0}
.setup-note,.transcript-note,.link-note {max-width:46rem;margin:1rem auto;color:var(--cream);font:1rem/1.65 system-ui,sans-serif}
.transcript-note a {text-decoration-thickness:2px;text-underline-offset:.2em}
.more-music {margin-top:1.75rem}
h2 {font-size:clamp(1.65rem,3.5vw,2.3rem);line-height:1.25;margin:0 0 1rem}
.channel-button {display:inline-flex;align-items:center;justify-content:center;gap:.85rem;max-width:100%;min-height:3.5rem;padding:.9rem 1.25rem;border:2px solid var(--gold);border-radius:1rem;background:var(--cranberry);color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.19em;font:700 clamp(.95rem,1.6vw,1.15rem)/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
.youtube-mark {background:#fff;color:#650815;border-radius:.3rem;padding:.15rem .6rem;flex:none}
.arrow {font-size:1.4rem;flex:none}
footer {margin-top:2rem;font-size:1rem;color:var(--cream)}
:where(a,button):focus-visible {outline:4px solid var(--focus);outline-offset:5px;box-shadow:0 0 0 7px var(--forest)}
.skip-link {position:fixed;z-index:20;top:.5rem;left:.5rem;padding:.8rem 1rem;background:#fff5e6;color:#10251b;border:3px solid #10251b;transform:translateY(-180%);font:700 1rem system-ui,sans-serif}
.skip-link:focus {transform:none}
.visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:40rem) {.page {padding:.65rem .5rem 1.25rem}.page::before {background-attachment:scroll}.content {padding:1.1rem .65rem;border-radius:.7rem}.holly-corner {width:5rem;opacity:.6}.ornament {height:2rem}.video-actions {gap:.4rem;padding:.5rem}.video-hint {display:none}.play-button {font-size:.85rem;padding:.5rem .7rem;min-height:2.75rem}.video-label {font-size:.9rem}.channel-button {width:100%}.youtube-mark {display:none}}
@media(max-width:23rem) {.video-label {display:none}.channel-button {padding:.7rem}.arrow {display:none}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(forced-colors:active) {.content,.video-shell,.channel-button,.play-button {border:2px solid CanvasText}.page::before,.page::after,.holly-corner,.ornament {display:none}.play-button,.channel-button {forced-color-adjust:auto}}
