/* Christmas at The Frug: a seasonal layer over the finished site. Everything is scoped to html.xmas, so removing the
   class (or not running make.mjs) leaves the site exactly as it is. Colours come from her own things: the deep green of
   her beaded evening clutch, the oxblood behind her Louboutin photograph, the gold of the trees in her window. */

html.xmas{
  --paper:#F8F2E6; --paper-2:#FFFBF2; --stone:#EFE5D3; --line:#E1D1B3;
  --accent:#8C1520; --accent-lt:#A3222D; --accent-txt:#8C1520; --accent-2:#8A6A28;
  --lume:#E3C07A; --lume-hot:#F0D59C;
  --chat-ink:#0F2619; --chat-accent:#8C1520; --chat-dot-a:#C23640; --chat-dot-b:#E3C07A;
  --xm-pine:#0F2619; --xm-pine-d:#0A1B11; --xm-velvet:#5C0E17; --xm-gold:#E3C07A; --xm-ivory:#FBF5E8;
}
html.xmas body.light .nav.hotel{border-bottom:1px solid #CDAE6B}
html.xmas main{position:relative}

/* ── the garland and the snow ───────────────────────────────────────────── */
html.xmas .xm-garland{display:block;position:relative;width:100%;height:clamp(64px,6vw,96px);background:url(/assets/holiday/garland.svg?v=4f5074e7) repeat-x 50% 0/auto 100%;pointer-events:none;user-select:none;z-index:6;margin:0}   /* 12/4 6:35 PM (Adam: "still showing cut off" on his wide screen): the whole garland, bows and drape, drawn at one height and repeated across, so no width can slice the bows or flatten the swag */
/* 12/4 4:45 PM (Adam: "there shouldnt be the white gap at the top"): over a dark first section (the home cover, About, Shop) the garland hangs over its top edge, so no cream band shows; the section keeps its exact live size and place under the menu. Over the light page headers it stays a strip, so it never covers the "Home" line on a phone. */
html.xmas .xm-garland:has(+ .fr-cover),html.xmas .xm-garland:has(+ .fr-sc){margin-bottom:calc(-1 * clamp(64px,6vw,96px))}
html.xmas .xm-garland:has(+ .fr-open){background-color:#F1ECE4}   /* the strip takes the light header's own colour, so no paler band */
html.xmas .xm-snow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
html.xmas .xm-snow i{position:absolute;top:-14px;left:var(--x);width:var(--s);height:var(--s);border-radius:50%;background:#fff;opacity:var(--o);box-shadow:0 0 6px rgba(255,255,255,.65);animation:xm-fall var(--t) linear var(--d) infinite}
@keyframes xm-fall{to{transform:translate3d(var(--dx),1150px,0)}}
@media (prefers-reduced-motion:reduce){html.xmas .xm-snow{display:none}}

/* ── kickers and greetings ──────────────────────────────────────────────── */

/* ── the cover: pine and candle gold ────────────────────────────────────── */
html.xmas body.light .fr-hero.fr-cover{background:radial-gradient(120% 95% at 20% 44%,#1C4431 0,#0F2619 46%,#0A1B11 100%)}
html.xmas body.light .fr-cover .fr-rackshot.fr-muse::after{background:linear-gradient(90deg,#0F2619 0,rgba(15,38,25,.6) 14%,rgba(15,38,25,.14) 36%,rgba(15,38,25,0) 60%),linear-gradient(0deg,rgba(15,38,25,.42) 0,rgba(15,38,25,0) 30%)}
/* her portrait starts just under the garland, so the greenery drapes the frame and never sits on her hair */
html.xmas body.light .fr-cover .fr-entry h1 em{color:var(--xm-gold)}
html.xmas body.light .fr-cover .fr-h1k{color:var(--xm-gold)}
@media (max-width:1000px){
  /* the photograph fades itself out at the bottom, so no sliver of it can show as a line under the fade */
  html.xmas body.light .fr-cover .fr-rackshot.fr-muse::after{background:linear-gradient(180deg,rgba(15,38,25,0) 0,rgba(15,38,25,0) 58%,rgba(15,38,25,.72) 84%,#0F2619 100%)}
}
@media (max-width:760px){
  html.xmas body.light .fr-cover .fr-rackshot.fr-muse::after{background:linear-gradient(180deg,rgba(15,38,25,0) 0,rgba(15,38,25,0) 48%,rgba(15,38,25,.7) 70%,rgba(15,38,25,.94) 88%,#0F2619 100%)}
  html.xmas .xm-garland{height:74px}
  html.xmas .xm-garland:has(+ .fr-cover),html.xmas .xm-garland:has(+ .fr-sc){margin-bottom:-74px}
}

/* ── her window, between the two gold trees ─────────────────────────────── */
html.xmas body.light .xm-window{background:radial-gradient(80% 60% at 50% 0,#1B4030 0,#0F2619 55%,#0C2015 100%);color:var(--xm-ivory);padding:clamp(30px,4.4vw,66px) 0 clamp(60px,7vw,104px);text-align:center;border-top:1px solid rgba(227,192,122,.7)}
/* framed like a shop window, sized so the whole display (both trees) sits on one laptop screen under the header */
html.xmas .xm-window figure{margin:0 auto;width:min(1160px,92vw,calc((100vh - 300px) * 16 / 9));min-width:min(92vw,720px);border:1px solid rgba(227,192,122,.85);padding:8px;outline:1px solid rgba(227,192,122,.35);outline-offset:7px;box-shadow:0 34px 60px rgba(0,0,0,.42)}
html.xmas .xm-window figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
html.xmas .xm-window .xm-window-t{max-width:820px;margin:0 auto;padding:clamp(36px,4vw,58px) 22px 0}
html.xmas body.light .xm-window h2{font-family:var(--serif);color:var(--xm-ivory);font-weight:400;font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.1;margin:0 0 18px}
html.xmas body.light .xm-window h2 em{color:var(--xm-gold)}
html.xmas body.light .xm-window p.xm-line{color:#E9E2D0;font-size:18px;line-height:1.7;max-width:56ch;margin:0 auto 30px}
html.xmas body.light .xm-window .btn.btn-accent{background-color:#F4E2BC;color:#17130F;background-image:repeating-linear-gradient(90deg,rgba(140,21,32,.6) 0 6px,transparent 6px 11px),repeating-linear-gradient(90deg,rgba(140,21,32,.6) 0 6px,transparent 6px 11px)}

/* ── the strip and the designer wall ────────────────────────────────────── */
html.xmas body.light .fr-wallph{position:relative}
html.xmas body.light .fr-wallph::before{content:"";position:absolute;z-index:3;top:-16px;left:50%;width:76px;height:62px;margin-left:-38px;background:url(/assets/holiday/bow.svg?v=4f5074e7) center/contain no-repeat;filter:drop-shadow(0 6px 6px rgba(60,20,10,.22));pointer-events:none}

/* ── the dark scenes go pine ────────────────────────────────────────────── */
html.xmas body.light .fr-film,html.xmas body.light .fr-scene{background:var(--xm-pine-d)}
html.xmas body.light .fr-abb,html.xmas body.light .fr-reel,html.xmas body.light .fr-sc{background-color:var(--xm-pine-d)}
@media (min-width:1000px){
  /* on a computer the Shop page's four scenes put their words beside the photograph, not on it: on pine they must be light */
  html.xmas body.light .fr-take .fr-take-n{color:rgba(251,245,232,.74)}
  html.xmas body.light .fr-take .fr-take-n b{color:var(--xm-gold)}
  html.xmas body.light .fr-take h2{color:var(--xm-ivory)}
  html.xmas body.light .fr-take h2::after{background:var(--xm-gold)}
  html.xmas body.light .fr-take .fr-take-p{color:#E9E2D0}
  html.xmas body.light .fr-take:not(:last-child){border-bottom-color:rgba(227,192,122,.3)}
  html.xmas body.light .fr-take-ph::after{background:linear-gradient(90deg,#0A1B11 0,rgba(10,27,17,0) 16%)}
  html.xmas body.light .fr-reel.is-on .fr-reel-bar{background:rgba(251,245,232,.24)}
  html.xmas body.light .fr-reel.is-on .fr-reel-bar i{background:var(--xm-gold)}
}
html.xmas body.light .fr-hero:not(.fr-cover){background:#0F2619 linear-gradient(115deg,#1B4030 0,#0F2619 48%,#0A1B11 100%)}
html.xmas body.light .fr-scene h2 em,html.xmas body.light .fr-sc h1 em,html.xmas body.light .fr-abb-q em{color:#EACB86}
@media (max-width:760px){
  /* room under the garland for the "Home / ..." line on the plain inner pages */
  /* About: the photograph fades into the same pine it sits on, with no hard edge under the headline */
  html.xmas body.light .fr-sc-one{background:var(--xm-pine-d)}
  html.xmas body.light .fr-sc-one .fr-sc-ph::after{background:linear-gradient(0deg,#0A1B11 0,rgba(10,27,17,.74) 18%,rgba(10,27,17,.14) 46%,rgba(10,27,17,0) 70%)}
}

/* ── the small labels that sit on photographs get a pine tag behind them ─── */

/* ── the review, on velvet ──────────────────────────────────────────────── */

/* ── the close: her bag, tied up ────────────────────────────────────────── */
html.xmas body.light .fr-close{background:radial-gradient(85% 140% at 22% 28%,#1C4431 0,#0F2619 54%,#0A1B11 100%)}
html.xmas .fr-bagface .xm-bow{position:absolute;z-index:3;top:-40px;left:50%;width:142px;height:auto;margin-left:-71px;filter:drop-shadow(0 8px 8px rgba(0,0,0,.35));max-width:none}
@media (max-width:760px){
  /* the bag is small on a phone: the bow sits on its handle, clear of her logo */
  html.xmas .fr-bagface .xm-bow{width:78px;margin-left:-39px;top:-40px}
}

/* ── the label at the bottom ────────────────────────────────────────────── */
