:root{
  /* matched to the PulseMesh web player: near-black, lavender pill buttons, Roboto */
  --bg:#121216;--panel:#1e1e26;--fg:#f2f1f6;--muted:#a6a4b3;
  --gold:#e6a846;--gold-2:#f2d08f;--line:#2e2a20;
  --max:720px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--fg);
  font:16px/1.55 Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust:100%}
a{color:var(--gold-2)}
header.top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px;border-bottom:1px solid var(--line);background:var(--bg)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--fg)}
.brand svg{width:28px;height:28px;flex:none}
.brand b{font-weight:700;letter-spacing:.2px;white-space:nowrap}
.status{font-size:14px;color:var(--muted);text-align:right}
.status b{color:var(--gold);font-weight:600}
.status.on b{color:#7ee0a0}
body.app{min-height:100vh;min-height:100dvh}
main.player{position:relative;flex:1;min-height:0;background:#000}
main.player iframe{width:100%;height:100%;border:0;display:block}
.fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;padding:24px;text-align:center;background:var(--bg)}
.fallback.hidden{display:none}
.btn{display:inline-block;padding:14px 22px;border-radius:12px;color:#2a1403;
  font-weight:700;text-decoration:none;font-size:17px;
  background:linear-gradient(180deg,#edbc7f 0%,#cf9a5c 30%,#af641d 52%,#b8722c 64%,#dba76a 100%);
  border:4px solid #cf9a5c;
  box-shadow:0 0 0 1px #553e16, inset 0 0 0 1px #7c4a1b, inset 0 -2px 5px rgba(80,35,0,.45), 0 2px 7px rgba(0,0,0,.5);
  text-shadow:0 1px 0 rgba(255,236,185,.45)}
footer.bar{flex:none;height:44px;display:flex;align-items:center;justify-content:center;
  gap:18px;border-top:1px solid var(--line);background:var(--bg);font-size:14px}
footer.bar a{color:var(--muted);text-decoration:none}
footer.bar a:hover{color:var(--fg)}
/* about page */
.wrap{max-width:var(--max);margin:0 auto;padding:24px 16px 64px}
h1{font-size:30px;line-height:1.15;margin:8px 0 6px}
h2{font-size:20px;margin:36px 0 8px;color:var(--gold-2)}
p,li{color:#dcd8cc}
.lead{font-size:18px;color:var(--fg)}
.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:18px 0}
.hours{display:flex;gap:16px;flex-wrap:wrap}
.hours div{flex:1 1 160px}
.hours small{display:block;color:var(--muted)}
.hours strong{font-size:22px;color:var(--fg)}
ul{padding-left:20px}
.songs li{margin:4px 0}
.fine{color:var(--muted);font-size:14px}
.cta{margin:28px 0;text-align:center}
@media (max-width:420px){.status{font-size:13px}.brand b{font-size:15px}}

/* the two big buttons */
.btns{display:flex;flex-direction:column;gap:10px;margin:0 0 10px;max-width:none}
.btn.big{display:block;padding:11.5px 16px 7px;font-size:15px;font-weight:700;border-radius:12px;text-transform:uppercase;-webkit-text-stroke:.6px currentColor}

/* holiday dressing: a string of bulbs under the header, snow in December */
.bulbs{position:relative;height:34px;overflow:hidden;pointer-events:none}
.bulbs svg{display:block;width:100%;height:34px}
.bulbs path{stroke:#2b2b36}
.bulb{animation:tw 1.6s ease-in-out infinite}
.bulb:nth-child(5n+1){animation-delay:0s}.bulb:nth-child(5n+2){animation-delay:.3s}.bulb:nth-child(5n+3){animation-delay:.6s}
.bulb:nth-child(5n+4){animation-delay:.9s}.bulb:nth-child(5n+5){animation-delay:1.2s}
@keyframes tw{0%,100%{opacity:1;filter:drop-shadow(0 0 4px currentColor)}50%{opacity:.35;filter:none}}
.snow{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.snow i{position:absolute;top:-10px;width:5px;height:5px;border-radius:50%;background:#fff;opacity:.7;animation:fall linear infinite}
@keyframes fall{to{transform:translateY(110vh)}}




@media (prefers-reduced-motion:reduce){.bulb,.snow i{animation:none}}



/* home page with the player docked at the bottom */
body.dock{padding-bottom:0}
main.home{padding:0 12px 0;text-align:center;max-width:560px;width:100%;margin:0 auto}
main.home .house{display:block;width:100%;border-radius:14px;margin:6px 0 14px}
main.home h1{font-size:22px;line-height:1.14;margin:4px 0 6px}
main.home .line{color:#e6d6b4;font-size:15px;letter-spacing:.02em;line-height:1.45;margin:0}
main.home .dates{margin-top:5px}
main.home .hrs{margin-top:7px}
main.home .addr{margin-top:7px}
main.home .line b{color:var(--gold);text-transform:uppercase;letter-spacing:.06em;font-weight:700}
main.home .line a{color:#e6d6b4;text-decoration-color:rgba(232,173,62,.75);text-decoration-thickness:1px;text-underline-offset:3px}
main.home .btns{margin-bottom:10px}
main.home .btns.below{margin:10px 0 0}   /* About sits under the house; the dates' own 5px top margin makes the 10px ink gap */
main.home .rules{font-family:'Playfair Display', Georgia, serif;font-style:italic;font-weight:500;color:#c4ab7a;font-size:13.5px;line-height:1.5;margin:9px auto 5px;max-width:400px}
/* a short gold rule under the season dates, above the hours (Andrew moved it here from above the note) */
main.home .dates::after{content:"";display:block;width:56px;height:1px;margin:9px auto 0;background:linear-gradient(90deg,transparent,#cf9a5c 30%,#cf9a5c 70%,transparent)}
/* in flow and sticky: sits 10px under the note when the page fits the screen, sticks to the bottom edge when it does not */
.player-dock{position:sticky;bottom:10px;width:calc(100% - 24px);max-width:536px;margin:0 auto 10px;z-index:5;height:96px;overflow:hidden;border-radius:12px;background:#0f0b06}   /* same width as the 560px column (12px padding each side) on every screen */
.player-dock iframe{position:absolute;left:0;right:0;bottom:0;width:100%;height:100vh;height:100dvh;border:0}
.player-dock .backbar{position:absolute;top:0;left:0;right:0;z-index:3;display:none}
.backbar{display:block;width:100%;height:60px;cursor:pointer;border:0;border-bottom:4px solid #cf9a5c;text-decoration:none;text-align:center;line-height:56px;box-sizing:border-box;
  font-weight:700;font-size:16px;letter-spacing:.12em;text-transform:uppercase;color:#2a1403;-webkit-text-stroke:.6px currentColor;
  background:linear-gradient(180deg,#edbc7f 0%,#cf9a5c 30%,#af641d 52%,#b8722c 64%,#dba76a 100%)}
body.expanded .player-dock{position:fixed;left:0;right:0;bottom:0;margin:0;width:auto;max-width:none;height:100vh;height:100dvh;border:0;border-radius:0}
body.expanded .player-dock .backbar{display:block}
/* leftward chevron on the Back bar, drawn (no glyph) */
.backbar::before{content:"";display:inline-block;width:11px;height:11px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;
  transform:rotate(45deg);margin:0 14px 0 0;vertical-align:middle;position:relative;top:-2px}
body.expanded main.home{display:none}

/* live roofline hero on the landing page */
.roofwrap{width:100%;margin:0;border-radius:12px;overflow:hidden;background:#0b0d14}
.roofwrap canvas{display:block;width:100%;aspect-ratio:1774/830;height:auto}   /* a little shorter than the drawing: the house scales down a few px inside the full-width frame */

/* banner masthead */
.masthead{margin:10px 0 0}
.masthead img{display:block;width:100%;height:auto;max-height:26vh;object-fit:contain;border-radius:12px}
.statusbar{text-align:center;font-size:15px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;line-height:1.3;color:var(--gold-2);padding:5.1px 12px 6.4px}
.statusbar b{color:var(--gold);font-weight:700}
.statusbar.on b{color:#6ec07f}
/* announcement: a pilot lamp (amber; green while the show is on) and a glint that sweeps the highlighted words */
.statusbar{display:flex;align-items:center;justify-content:center;gap:9px}
.statusbar .lamp{flex:none;width:9px;height:9px;margin-top:0;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#ffe9a8,#e8ad3e 45%,#8a5a10);
  box-shadow:0 0 6px 1px rgba(232,173,62,.75), inset 0 0 2px rgba(0,0,0,.6);animation:flash 4s ease-in-out infinite}
/* both lamps pulse together (Andrew tried alternating and preferred them in sync) */
.statusbar.on .lamp{background:radial-gradient(circle at 35% 35%,#d8ffe0,#6ec07f 45%,#1f6b33);box-shadow:0 0 7px 1px rgba(110,192,127,.8), inset 0 0 2px rgba(0,0,0,.6)}
@keyframes flash{0%,100%{filter:brightness(1.1)}50%{filter:brightness(.5)}}
.statusbar #status-text{background:linear-gradient(100deg,var(--gold) 0 40%,#fff3c4 50%,var(--gold) 60% 100%) no-repeat;background-size:300% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;animation:glint 9s ease-in-out infinite}
.statusbar #status-text b{color:inherit;background:none}
.statusbar.on #status-text{background-image:linear-gradient(100deg,#6ec07f 0 40%,#e6ffe9 50%,#6ec07f 60% 100%)}
@keyframes glint{0%,70%{background-position:100% 0}100%{background-position:0% 0}}
@media (prefers-reduced-motion:reduce){.statusbar .lamp,.statusbar #status-text{animation:none}}

/* logo palette: gold + green headline, gold accents */
h1 .r{color:#d8382c}
h1 .g{color:#6ec07f}
.btn.alt{color:#f0c25a;border:4px solid #cf9a5c;text-shadow:none;
  background:linear-gradient(180deg,#1b150c,#0e0a05);
  box-shadow:0 0 0 1px #553e16, inset 0 0 0 1px #7c4a1b, 0 2px 5px rgba(0,0,0,.4)}

body.expanded .player-dock .dockbar{display:none}

/* after the first listen, the collapsed strip shows the now-playing bar (tap to reopen) */
body.played .player-dock .dockbar{display:none}
.player-dock .reopen{display:none;position:absolute;inset:0;z-index:1;background:transparent;border:0;cursor:pointer}
body.played:not(.expanded) .player-dock .reopen{display:block}

/* ---- vintage radio theme ---- */
.btn, .backbar, .card h2{font-family:'Josefin Sans',Futura,'Trebuchet MS',sans-serif}
.statusbar, main.home .line{font-family:'Playfair Display', Georgia, serif}
.btn.big{letter-spacing:.1em}
.statusbar{letter-spacing:.01em}
/* house panel framed in brass like the header */
.roofwrap{border:4px solid #cf9a5c;
  box-shadow:0 0 0 1px #553e16, inset 0 0 0 1px #7c4a1b, inset 0 2px 14px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.5)}

/* The Tune In bar is Andrew's generated 1930s brass panel (site/tuner.webp, cropped to its frame, 2000x476 = 4.202:1).
   The bar is inset like the other blocks, at most the column's 536px wide, and exactly the panel's own height at
   that width (128px at most), so `cover` never crops it (an earlier 120px cap shaved the rounded edges on desktop).
   A point at fraction f of the panel's height sits at calc(hd/2 + (f - .5) * h), h the panel's scaled height and
   hd the bar's (equal now, kept separate in case a cap ever returns). Glass: y .25-.72, x .157-.84; ticks from y .60 (read off a grid overlay).
   Until the image arrives the bar is plain dark with the lettering; the old CSS-drawn tuner is gone. */
.player-dock{--h:calc(min(100vw - 24px, 536px) / 4.202);--hd:var(--h);height:var(--hd);border:0;box-shadow:0 2px 8px rgba(0,0,0,.5);background:#000}
.player-dock .dockbar{position:absolute;inset:0;z-index:3;border:0;cursor:pointer;padding:0;background:#000 url(tuner.webp?v=50) center/cover no-repeat}
.player-dock .dockbar .dial{position:absolute;left:15.7%;right:16%;top:max(0px,calc(var(--hd) / 2 - .25 * var(--h)));bottom:max(0px,calc(var(--hd) / 2 - .22 * var(--h)));z-index:2;
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0;padding:0 0 calc(.09 * var(--h))}
.player-dock .dockbar .dial b,.player-dock .dockbar .dial small{flex:none;position:relative;z-index:1;font-family:'Josefin Sans',Futura,'Trebuchet MS',sans-serif;font-weight:700;
  font-size:clamp(11px, 3.4vw, 14px);line-height:1;letter-spacing:.14em;text-transform:uppercase;color:#f3d383;text-shadow:0 0 10px rgba(255,190,80,.55), 0 1px 0 rgba(0,0,0,.7)}
.player-dock .dockbar .dial small::before{content:"\00B7";margin:0 .55em;color:#e8c070}
.player-dock .dockbar .needle{position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:2px;border-radius:1px;background:#e0302a;
  box-shadow:0 0 6px rgba(224,48,42,.9), 0 0 2px #ff6a5a;animation:tune 18s ease-in-out infinite alternate}
.player-dock .dockbar .needle::after{content:"";position:absolute;left:-5px;right:-5px;bottom:-2px;height:10px;border-radius:50%;background:rgba(255,110,60,.55);filter:blur(3px)}
@keyframes tune{from{left:20%}to{left:79%}}
@media (prefers-reduced-motion:reduce){.player-dock .dockbar .needle{animation:none}}
body.expanded .player-dock .dockbar{display:none}
/* once music plays the bar is a brass-rimmed box holding PulseMesh's now-playing strip (their bar sits high in the
   bottom 96px of their page, so the frame is nudged down to centre it) */
body.played:not(.expanded) .player-dock{height:96px;border:4px solid #cf9a5c;box-shadow:0 0 0 1px #553e16, inset 0 0 0 1px #7c4a1b, 0 2px 8px rgba(0,0,0,.5);background:#0f0b06}
body.played:not(.expanded) .player-dock iframe{bottom:-18px}

/* About: cards in the same brass, shown in a panel over the landing page (or standalone at about.html) */
.about-panel{position:fixed;inset:0;z-index:4;display:none;overflow:auto;-webkit-overflow-scrolling:touch;background:var(--bg)}
.about-panel .backbar{position:sticky;top:0;z-index:2}
main.about-body{padding:10px 12px 130px}
body.about-open .about-panel{display:block}
body.about-open main.home{display:none}
body.about-open .about-panel main.home{display:block}
body.about-open .player-dock{position:fixed;left:50%;bottom:10px;margin:0;transform:translateX(-50%)}
body.about-open.expanded .player-dock{left:0;transform:none}
body.standalone main.home{padding-top:10px;padding-bottom:24px}
.card{border:4px solid #cf9a5c;border-radius:12px;padding:12px 14px 14px;margin:0 0 10px;background:#15110b;text-align:left;
  box-shadow:0 0 0 1px #553e16, inset 0 0 0 1px #7c4a1b, 0 2px 8px rgba(0,0,0,.5)}
.card .shot{display:block;width:100%;height:auto;border-radius:8px;margin:0 0 12px;background:#0b0d14}
.card h2{font-weight:700;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:0 0 6px}
.card p{font-family:'Playfair Display',Georgia,serif;color:#e6d6b4;font-size:15px;line-height:1.5;margin:0}
.card p.small{color:#c4ab7a;font-style:italic;font-weight:500;font-size:13.5px;margin-top:10px}
.specs{font-family:'Playfair Display',Georgia,serif;display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:15px;line-height:1.4}
.specs dt{color:var(--gold);font-weight:700}
.specs dd{color:#e6d6b4;margin:0}
.songs{list-style:none;margin:0;padding:0;font-family:'Playfair Display',Georgia,serif}
.songs li{padding:9px 0;border-top:1px solid rgba(207,154,92,.25)}
.songs li:first-child{padding-top:2px;border-top:0}
.songs b{display:block;color:#f2d08f;font-size:16px;font-weight:700}
.songs i{display:block;color:var(--gold);font-style:normal;font-size:13px;letter-spacing:.03em;margin:1px 0 3px}
.songs span{display:block;color:#e6d6b4;font-size:14.5px;line-height:1.45}
.card .line{text-align:center}
.card .dates{margin-top:4px}
.card .dates b{font-size:14px;letter-spacing:.04em}   /* the card is 36px narrower than the page block; keeps the Christmas line on one row */
.card .rules{text-align:center;margin-bottom:0}
