/* Home page (Christmas, D78/D79): adapted by the Webmaster from Marketing's #97.
   Self-hosted fonts (SIL OFL 1.1, marketing/LICENSES.md); no outside requests. */
/* VOICE: a festive party flyer, warm and a little cheeky, never pushy.
   IDEA: a Christmas ticket stub tucked in a stocking, under a string of lights you can pop.
   PICTURE: carol-book Santa beside a tilting ticket stub; lights and snow you control.
   COLOUR+TYPE: cream and coral from the Jimmy Can't Dance promo (D69); League Spartan Black, Anton, Archivo.
   LAYOUT: lights, hero (headline + ticket | Santa), coral party band with countdown, gift and phone cards, footer. */
@font-face{font-family:"League Spartan";font-weight:900;font-display:swap;src:url(/assets/home/fonts/league-spartan-900.woff2) format("woff2")}
@font-face{font-family:Anton;font-display:swap;src:url(/assets/home/fonts/anton-400.woff2) format("woff2")}
@font-face{font-family:Archivo;font-weight:500;font-display:swap;src:url(/assets/home/fonts/archivo-500.woff2) format("woff2")}
@font-face{font-family:Archivo;font-weight:700;font-display:swap;src:url(/assets/home/fonts/archivo-700.woff2) format("woff2")}
@font-face{font-family:Archivo;font-weight:800;font-display:swap;src:url(/assets/home/fonts/archivo-800.woff2) format("woff2")}
:root{color-scheme:light dark;--bg:light-dark(#fff0c1,#2a100c);--ink:light-dark(#231f20,#fff0c1);--soft:light-dark(#5b4a3a,#e9cfa8);--coral:#ea3829;--coralink:light-dark(#c4281b,#ff7a66);--card:light-dark(#fffaf0,#3a1712);--band:light-dark(#ea3829,#7d1c14)}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:var(--bg);color:var(--ink);font:500 17px/1.55 Archivo,Arial,sans-serif;overflow-x:clip}
h1,h2,h3,p{margin:0}.band{padding:clamp(28px,4vw,64px) max(5vw,16px)}.wrap{max-width:1240px;margin:0 auto}
.disp{font-family:Anton,Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:1.05}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 26px;border-radius:999px;border:0;background:var(--coral);color:#fff;font:400 22px/1 Anton,Impact,sans-serif;text-transform:uppercase;text-decoration:none;cursor:pointer}
.btn:hover{background:#c4281b}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.lights{position:relative;height:84px;overflow:hidden}
.lights svg{position:absolute;inset:0;width:100%;height:100%}
.bulb{cursor:pointer}
.bulb .glass{transition:fill .25s,filter .25s}
.bulb.on .glass{animation:tw 2.4s ease-in-out infinite;filter:drop-shadow(0 0 7px currentColor)}
.bulb:not(.on) .glass{fill:#8f8577!important;filter:none}
.bulb:focus-visible{outline:none}.bulb:focus-visible .glass{stroke:var(--ink);stroke-width:3}
@keyframes tw{50%{opacity:.38}}  /* Owner 20:00: a visible twinkle (was .72); still off under reduced motion */
.lightsnote{position:absolute;right:max(5vw,16px);top:54px;font-size:14px;color:var(--soft)}
.lightsnote button{font:700 14px Archivo,sans-serif;color:var(--coralink);background:none;border:0;text-decoration:underline;cursor:pointer;min-height:32px}
.hero{position:relative;overflow:hidden;padding-top:8px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(20px,4vw,56px);align-items:center}
.top{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.top img{width:84px;height:84px;border-radius:50%;background:#ef5a46;padding:6px;object-fit:contain}
.top p{font-weight:700;color:var(--soft);font-size:15px;line-height:1.35}
.eyebrow{color:var(--coralink);font-size:clamp(22px,2.6vw,30px)}
h1{font:900 clamp(40px,6vw,76px)/1 "League Spartan","Arial Black",sans-serif;text-transform:uppercase;color:var(--coralink);text-wrap:balance;margin:6px 0 14px}
.lede{max-width:34em;font-size:clamp(17px,1.6vw,19px)}
.ticket{--rx:0deg;--ry:0deg;position:relative;margin-top:26px;display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:560px;background:var(--card);border-radius:18px;box-shadow:0 18px 40px -18px #7d1c1466,0 2px 0 #00000014;transform:perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));transition:transform .15s ease-out}
.ticket::before,.ticket::after{content:"";position:absolute;right:146px;width:28px;height:28px;border-radius:50%;background:var(--bg)}
.ticket::before{top:-14px}.ticket::after{bottom:-14px}
.tmain{padding:22px 24px}
.tmain .disp{color:var(--coralink);font-size:26px}
.tmain h2{font:800 18px/1.35 Archivo,sans-serif;margin:4px 0 10px}
.price{font:800 clamp(34px,4vw,44px)/1 Archivo,sans-serif;white-space:nowrap}.price small{font-weight:500;font-size:18px}
.tnote{font-size:14px;color:var(--soft);margin-top:6px}
.stub{width:146px;border-left:3px dashed light-dark(#e8c98a,#7d4a3a);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 12px;text-align:center}
.stub .disp{font-size:18px;color:var(--soft)}
.stub .btn{padding:10px 16px;font-size:19px;white-space:nowrap}
.pic{position:relative;justify-self:center;width:min(100%,440px)}
.pic>img{display:block;width:100%;height:auto;position:relative;z-index:1}
.pic .halo{position:absolute;inset:6% 4% 18%;border-radius:50%;background:radial-gradient(closest-side,light-dark(#ffffffb0,#ea382940),transparent)}
.pic .badge{position:absolute;z-index:2;left:-6%;bottom:12%;width:34%;aspect-ratio:1;border-radius:50%;background:#ef5a46;padding:4%;box-shadow:0 0 0 5px var(--bg)}
.pic .badge img{width:100%;height:100%;object-fit:contain}
.pic svg.bow{position:absolute;z-index:3;left:-1%;bottom:40%;width:22%}
#snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.snowbtn{position:absolute;z-index:5;right:max(5vw,16px);top:4px;min-height:40px;padding:6px 14px;border-radius:999px;border:2px solid var(--coralink);background:transparent;color:var(--coralink);font:700 14px Archivo,sans-serif;cursor:pointer}
@media(max-width:760px){.hero .wrap{grid-template-columns:minmax(0,1fr)}.pic{order:-1;width:min(52%,240px)}.snowbtn{top:8px}}
@media(max-width:480px){.ticket{grid-template-columns:minmax(0,1fr)}.ticket::before,.ticket::after{display:none}.stub{width:auto;border-left:0;border-top:3px dashed light-dark(#e8c98a,#7d4a3a);flex-direction:row;justify-content:space-between}}
.party{background:var(--band);color:#fff0c1}
.party .wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(18px,3vw,40px);align-items:center}
.party .jcd{width:clamp(110px,14vw,170px);height:auto;border-radius:50%;box-shadow:0 0 0 5px #fff0c1}
.party h2{font:900 clamp(32px,4.2vw,52px)/1.02 "League Spartan","Arial Black",sans-serif;text-transform:uppercase;text-wrap:balance}
.party .when{font-size:clamp(22px,2.4vw,30px);margin-top:4px}
.party .where{margin-top:8px;font-weight:700}
.party .where span{font-weight:500}
.count{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:center;min-width:300px}
.count div{background:#fff0c1;color:#c4281b;border-radius:12px;padding:10px 4px}
.count b{display:block;font:400 clamp(30px,3.6vw,44px)/1 Anton,Impact,sans-serif}
.count small{font-size:13px;font-weight:700;color:#5b4a3a}
.countlabel{grid-column:1/-1;font-weight:700;color:#fff0c1;font-size:15px}
@media(max-width:860px){.party .wrap{grid-template-columns:auto minmax(0,1fr)}.count{grid-column:1/-1;min-width:0}}
@media(max-width:520px){.party .wrap{grid-template-columns:minmax(0,1fr)}.party .jcd{width:110px}}
.cards .wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,32px)}
.tag{perspective:1000px;min-height:250px}
.tag button{all:unset;display:block;width:100%;height:100%;min-height:250px;cursor:pointer;position:relative;transform-style:preserve-3d;transition:transform .6s;border-radius:20px}
.tag button[aria-pressed=true]{transform:rotateY(180deg)}
.face{position:absolute;inset:0;backface-visibility:hidden;border-radius:20px;padding:26px;display:flex;flex-direction:column;justify-content:center;gap:10px;background:var(--card);box-shadow:0 12px 30px -16px #7d1c1455}
.face.back{transform:rotateY(180deg);background:var(--coral);color:#fff}
.face .disp{font-size:30px;color:var(--coralink)}.face.back .disp{color:#fff0c1}
.face small{font-weight:700;color:var(--soft)}.face.back small{color:#fff0c1}
.tag button:focus-visible .face{outline:3px solid var(--ink);outline-offset:3px}
.phone{background:var(--card);border-radius:20px;padding:26px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;box-shadow:0 12px 30px -16px #7d1c1455}
.phone .qr{width:170px;height:170px;background:#fff;padding:8px;border-radius:12px}
.phone .qr img{width:100%;height:100%;image-rendering:pixelated;display:block}
.phone .disp{font-size:30px;color:var(--coralink)}
.phone a{color:var(--coralink);font-weight:800;overflow-wrap:anywhere}
@media(max-width:760px){.cards .wrap{grid-template-columns:minmax(0,1fr)}}
@media(max-width:440px){.phone{grid-template-columns:minmax(0,1fr)}.phone .qr{width:150px;height:150px}}
footer{border-top:3px solid var(--coral);font-size:15px;color:var(--soft)}
footer .wrap{display:flex;flex-wrap:wrap;gap:10px 28px;justify-content:space-between;align-items:center}
footer nav{display:flex;flex-wrap:wrap;gap:6px 20px}
footer a{color:var(--coralink);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.lightsnote{z-index:6;background:var(--bg);border-radius:999px;padding:0 10px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:.5rem 1rem;z-index:10}.skip:focus{left:0}
/* Owner (Dec 2): Santa pulls out and holds up the tickets (his AI video; checkerboard background
   replaced with the page cream, sound removed). Plays once and holds; poster = the last frame. */
.pic .santa-video{display:block;position:relative;z-index:1;width:100%;height:auto;border-radius:28px;background:#fff0c1}
/* Light theme: fade the video's edges into the page, so the few levels of colour drift from video/WebP
   compression can't draw a visible box. Dark theme keeps the rounded cream frame. */
@media (prefers-color-scheme: light){
  .pic .santa-video{border-radius:0;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 97%,transparent);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 97%,transparent);
    mask-composite:intersect}
}
