/* Therapy Sound brand kit (Dec 2026) on the homepage (therapy/landing.html).
   Loaded only when therapy_brand26.brand26_on() is true (on by default; THERAPY_BRAND_2026=off turns it off, ?brand26=0 previews the old look).
   Loads after the page's own inline .hp rules and after therapy-brand26.css, which already restyles the
   shared footer, bottom bar, player and the Folder card. Sections, copy and links are unchanged; this file
   only moves colour, type, shape and the card style. Tokens (--k-*) come from therapy-brand26.css. */

/* ── Tokens: remap the page's own palette to the kit ─────────────────── */
body.tb26 .hp{
  --n:var(--k-midnight);--n2:var(--k-deep);--paper:var(--k-ivory);--fog:var(--k-mist);--smoke:var(--k-mist);
  --day:var(--k-ivory);--stone:var(--k-stone);--ink:var(--k-midnight);--char:var(--k-deep);--mute:var(--k-ash);
  --rust:var(--k-dune);--teal:var(--k-dune);
  --bk-cream:var(--k-ivory);--bk-teal:var(--k-dune);
  font-family:var(--k-body);background:var(--k-midnight);color:var(--k-ivory);
}
body.tb26 .hp .cx{font-family:var(--k-display);font-weight:400;font-stretch:normal;text-transform:uppercase}
body.tb26 .hp :focus-visible{outline:3px solid var(--k-dune);outline-offset:3px}
body.tb26 .hp-day :focus-visible,body.tb26 .hp-stone :focus-visible{outline-color:var(--k-tidal)}
body.tb26 .hp .lnk{font-family:var(--k-body);font-weight:600;letter-spacing:.14em}

/* ── Header: transparent over the hero, solid Midnight once scrolled ── */
body.tb26 #tsHeadCream{--ts-head-acc:var(--k-dune);--ts-head-acc-lt:var(--k-dune);--ts-head-font:var(--k-body);--ts-head-nav-font:var(--k-body);background:var(--k-midnight)}
body.tb26 #tsHeadCream.is-overlay{background:linear-gradient(180deg,rgba(31,45,51,.7),rgba(31,45,51,0))}
body.tb26 #tsHeadCream.is-scrolled{background:var(--k-midnight);box-shadow:none}
body.tb26 #tsHeadCream .ts-head-nav a{color:var(--k-mist);font-weight:600}
body.tb26 #tsHeadCream .ts-head-nav a:hover,body.tb26 #tsHeadCream .ts-head-nav a.on{color:var(--k-ivory)}
body.tb26 #tsHeadCream .ts-head-rsvp{font-family:var(--k-display);font-weight:400;font-size:15px;letter-spacing:.06em;color:var(--k-ivory)}
body.tb26 #tsHeadCream .ts-head-rsvp:hover,body.tb26 #tsHeadCream .ts-head-soc:hover,body.tb26 #tsHeadCream .ts-head-burger:hover{color:var(--k-dune)}

/* ── Hero: same B&W photos, halftone dots rising into Midnight, no teal wash ── */
body.tb26 .hp-hero-img{filter:grayscale(1) brightness(.62) contrast(1.15)}
body.tb26 .hp-hero-scrim{background:linear-gradient(90deg,var(--k-midnight) 34%,rgba(31,45,51,.6) 52%,rgba(31,45,51,.1) 78%),linear-gradient(0deg,var(--k-midnight) 0%,rgba(31,45,51,0) 34%)}
body.tb26 .hp-hero-scrim::after{content:"";position:absolute;inset:0;background:radial-gradient(circle,rgba(31,45,51,.8) 0 .9px,transparent 1.3px) 0 0/4px 4px,radial-gradient(circle,rgba(31,45,51,.8) 0 .9px,transparent 1.3px) 2px 2px/4px 4px;-webkit-mask-image:linear-gradient(0deg,#000 0,transparent 55%);mask-image:linear-gradient(0deg,#000 0,transparent 55%)}
/* No kicker line above the headline: the H1 text stays in the page for search and screen readers only. */
/* A1 headline: tight stack, Ivory letters, hard angled cut in Midnight on the top edge, Dune last word. */
body.tb26 .hp .hp-h1.cx,body.tb26 .hp .bk-h{
  --cut:var(--k-midnight);
  font-family:var(--k-display)!important;text-transform:uppercase!important;letter-spacing:-.014em!important;line-height:.8!important;color:var(--k-ivory)!important;
  text-shadow:-.005em -.005em 0 var(--cut),-.010em -.010em 0 var(--cut),-.015em -.015em 0 var(--cut),-.020em -.020em 0 var(--cut),-.025em -.025em 0 var(--cut),-.030em -.030em 0 var(--cut),-.035em -.035em 0 var(--cut)}
body.tb26 .hp .hp-h1 .bk-tt,body.tb26 .hp .hp-h1 .hp-where{color:var(--k-ivory)!important}
body.tb26 .hp .hp-h1 .bk-tt{color:var(--k-dune)!important}
body.tb26 .hp-lede{font-weight:400;color:var(--k-ivory);opacity:.88;font-size:17px}
body.tb26 .hp-row .lnk{color:var(--k-dune)}
body.tb26 .hp .rule{background:rgba(255,244,229,.22)}
body.tb26 .hp .rule i{background:var(--k-dune)}
@media (max-width:900px){body.tb26 .hp-hero-scrim{background:linear-gradient(0deg,var(--k-midnight) 8%,rgba(31,45,51,.25) 55%,rgba(31,45,51,.65) 100%)}}

/* ── Section headings: Anton caps, clean gap ─────────────────────────── */
body.tb26 .hp-h2n,body.tb26 .hp-rooms h2,body.tb26 .hp-contact h2,body.tb26 .hp-journal h2,body.tb26 .hp-genres h2,body.tb26 .hp-serif,body.tb26 .hp-block h2{
  font-family:var(--k-display);font-weight:400;font-stretch:normal;text-transform:uppercase;letter-spacing:.02em;line-height:1.02}
body.tb26 .hp-h2n{font-size:clamp(34px,4.4vw,52px);color:var(--k-ivory)}
body.tb26 .hp-list-sub{color:var(--k-mist)}

/* ── This week: Folder card on wide screens, Small card in a swipe row below ── */
body.tb26 .hp-kt{display:none}
body.tb26 .hp-kf{margin-top:48px;display:grid;grid-auto-flow:column;grid-auto-columns:max(250px,calc((100% - 36px) / 4));gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
body.tb26 .hp-kf::-webkit-scrollbar{display:none}
body.tb26 .hp-kf .fx{scroll-snap-align:start}
body.tb26 .hp-kf .fx{width:auto;aspect-ratio:3/4.6}
body.tb26 .hp-kf .fx a.fx-go{text-decoration:none}
body.tb26 .hp .tile{--t-frame:6px;--t-card:28px;--t-ph:calc(var(--t-card) - var(--t-frame));--t-chip:12px;display:flex;flex-direction:column;background:var(--k-midnight);color:var(--k-ivory);border-radius:var(--t-card);padding:var(--t-frame);text-decoration:none;transition:transform .15s ease;border:1px solid rgba(255,244,229,.12)}
body.tb26 .hp .tile.deep{background:var(--k-deep)}
body.tb26 .hp .tile .tp{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--t-ph);overflow:hidden;background:var(--k-deep)}
body.tb26 .hp .tile .tp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;filter:grayscale(1);transition:filter .35s ease}
body.tb26 .hp .tile:hover .tp img,body.tb26 .hp .tile:focus-visible .tp img{filter:none}
body.tb26 .hp .tile .chip{position:absolute;left:10px;top:10px;background:var(--k-dune);color:var(--k-midnight);border-radius:var(--t-chip);padding:5px 9px 4px;font-family:var(--k-display);text-transform:uppercase;font-size:13px;line-height:1;letter-spacing:.04em}
body.tb26 .hp .tile .tc{display:block;padding:10px 10px 12px}
body.tb26 .hp .tile .tc b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--k-display);font-weight:400;text-transform:uppercase;font-size:20px;line-height:1.02;letter-spacing:.02em}
body.tb26 .hp .tile .tm{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:12px;color:var(--k-mist)}
body.tb26 .hp .tile .tm span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.tb26 .hp .tile .tm i{font-style:normal;color:var(--k-ivory);opacity:.7;font-size:13px}
body.tb26 .hp .tile:hover{transform:translateY(-2px)}
@media (max-width:1240px){
  body.tb26 .hp-kf{display:none}
  /* Tablet: three full cards and a faded fourth. Never a 3 + 1 wrap. */
  body.tb26 .hp-kt{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:48px -24px 0;padding:0 24px;scroll-padding:0 24px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 64px),transparent)}
  body.tb26 .hp-kt::-webkit-scrollbar{display:none}
  body.tb26 .hp-kt .tile{flex:0 0 calc((100vw - 24px - 36px) / 3.35);max-width:260px;scroll-snap-align:start}
}
@media (max-width:700px){
  /* Phone: two full cards and a faded third. */
  body.tb26 .hp-kt .tile{flex:0 0 calc((100vw - 24px - 24px) / 2.35);max-width:none}
  body.tb26 .hp-kt .tile .tc b{font-size:18px}
}

/* ── Coming up: rows, tabs, buttons ──────────────────────────────────── */
body.tb26 .hp-list-head{border-bottom-color:rgba(255,244,229,.22)}
body.tb26 .hp-tabs button{font-family:var(--k-body);font-weight:600;color:var(--k-mist)}
body.tb26 .hp-tabs button:hover,body.tb26 .hp-tabs button.on{color:var(--k-ivory)}
body.tb26 .hp-tabs button.on{border-bottom-color:var(--k-dune)}
body.tb26 .hp-tabs button small{color:var(--k-mist)}
body.tb26 .hp-rows li{border-bottom-color:rgba(255,244,229,.14)}
body.tb26 .hp-row .d b{font-family:var(--k-display);font-weight:400;letter-spacing:.02em}
body.tb26 .hp-row .d span,body.tb26 .hp-row .t span{color:var(--k-mist)}
body.tb26 .hp-row .t strong{font-weight:600}
body.tb26 .hp-row .p{color:var(--k-ivory)}
body.tb26 .hp-row .fly{border-radius:0;border:1.5px solid rgba(255,244,229,.4);filter:grayscale(1);transition:filter .35s ease;background:var(--k-deep)}
body.tb26 .hp-row:hover .fly,body.tb26 .hp-row:focus-visible .fly{filter:none}
body.tb26 .hp-seeall{height:48px;padding:0 24px;border:2px solid var(--k-ivory);border-radius:var(--k-r-btn);background:var(--k-dune);color:var(--k-midnight);font-family:var(--k-display);font-size:19px;font-weight:400;letter-spacing:.06em;transition:transform .12s ease,background .12s ease}
body.tb26 .hp-seeall:hover{background:#C9A06C;border-color:var(--k-ivory);transform:translateY(-2px)}
body.tb26 .hp-more a{font-family:var(--k-body);font-weight:600;letter-spacing:.14em}
body.tb26 .hp-more a:first-child{border-bottom:0;padding-bottom:0;font-weight:700}
body.tb26 .hp-more a+a{color:var(--k-mist)}
body.tb26 .hp-empty{color:var(--k-mist)}

/* ── Moments: A1 stacked headline over a B&W photo that turns colour on hover ── */
body.tb26 .hp-moments>img{filter:grayscale(1) brightness(.7);transition:filter .5s ease}
body.tb26 .hp-moments:hover>img{filter:brightness(.8)}
body.tb26 .hp-moments .scrim{background:linear-gradient(90deg,rgba(31,45,51,.92) 20%,rgba(31,45,51,.2) 60%,rgba(31,45,51,0) 100%),linear-gradient(180deg,var(--k-midnight) 0%,rgba(31,45,51,0) 22%,rgba(31,45,51,0) 78%,var(--k-midnight) 100%)}
body.tb26 .hp-moments h2{--cut:var(--k-midnight);font-size:clamp(72px,11vw,150px);line-height:.8;letter-spacing:-.014em;color:var(--k-ivory);
  text-shadow:-.005em -.005em 0 var(--cut),-.010em -.010em 0 var(--cut),-.015em -.015em 0 var(--cut),-.020em -.020em 0 var(--cut),-.025em -.025em 0 var(--cut),-.030em -.030em 0 var(--cut),-.035em -.035em 0 var(--cut)}
body.tb26 .hp-play{font-family:var(--k-display);font-size:19px;letter-spacing:.06em;text-transform:uppercase}
body.tb26 .hp-play span{border:2px solid var(--k-dune);color:var(--k-dune)}
body.tb26 .hp-moments p{color:var(--k-mist)!important}
@media (max-width:700px){body.tb26 .hp-moments h2{font-size:clamp(60px,19vw,88px)}}

/* ── Day sections: Ivory Sand and Stone, Midnight type ───────────────── */
body.tb26 .hp-day,body.tb26 .hp-stone{color:var(--k-midnight);font-family:var(--k-body)}
body.tb26 .hp-day{background:var(--k-ivory)}
body.tb26 .hp-stone{background:var(--k-ivory)}
body.tb26 .hp-day .lnk,body.tb26 .hp-stone .lnk{color:var(--k-midnight);text-decoration:none}
body.tb26 .hp-day .lnk:hover,body.tb26 .hp-stone .lnk:hover{color:var(--k-deep)}
body.tb26 .hp-serif{font-size:clamp(40px,5.4vw,72px);color:var(--k-midnight)}
body.tb26 .hp-vrule span{font-family:var(--k-body);font-weight:600;letter-spacing:.14em}
body.tb26 .hp-vrule i{background:var(--k-midnight)}
body.tb26 .hp-intro-main p{font-size:17px;line-height:1.7}
body.tb26 .hp-intro-side img{border-radius:50%}

/* Featured artists: clean B&W rectangles (colour on hover) and a Deep Ocean panel, 20px corners */
body.tb26 .hp-collage>img{border-radius:0;filter:grayscale(1);transition:filter .35s ease}
body.tb26 .hp-collage:hover>img{filter:none}
body.tb26 .hp-block{background:var(--k-deep);color:var(--k-ivory);border-radius:var(--k-r-panel);padding:36px 28px 30px}
body.tb26 .hp-block h2{font-size:34px;color:var(--k-ivory)}
body.tb26 .hp-block li strong{font-weight:600}
body.tb26 .hp-block .av{filter:grayscale(1);transition:filter .3s ease}
body.tb26 .hp-block li a:hover .av{filter:none}
body.tb26 .hp-block .ini{border-color:rgba(255,244,229,.4)}
body.tb26 .hp-block .lnk{color:var(--k-dune);text-decoration-color:var(--k-dune)}

/* Rooms */
body.tb26 .hp-rooms h2{font-size:clamp(32px,3.8vw,48px);color:var(--k-midnight)}
body.tb26 .hp-rooms-main>p{font-weight:400;font-size:16px;line-height:1.7;color:var(--k-midnight)}
body.tb26 .hp-rooms-grid>div{border-top-color:var(--k-midnight)}
body.tb26 .hp-rooms-grid h3{font-family:var(--k-body);font-weight:600}
body.tb26 .hp-rooms-grid strong{font-weight:600}
body.tb26 .hp-rooms-grid span{font-weight:400;color:var(--k-ash)}
body.tb26 .hp-rooms-tabs{border-bottom-color:var(--k-midnight)}
body.tb26 .hp-rooms-tabs button{font-family:var(--k-body);font-weight:600;color:var(--k-ash)}
body.tb26 .hp-rooms-tabs button:hover,body.tb26 .hp-rooms-tabs button.on{color:var(--k-midnight)}
body.tb26 .hp-rooms-tabs button.on{border-bottom-color:var(--k-midnight)}
body.tb26 .hp-rooms-tabs button small{color:var(--k-ash)}
body.tb26 .hp-links,body.tb26 .hp-links a{font-family:var(--k-body);font-weight:600;letter-spacing:.14em;color:var(--k-midnight)}
body.tb26 .hp-links a{text-decoration:none;font-weight:700;letter-spacing:.14em}
/* "This is Therapy" card: Midnight card (28px), 8px frame, 20px photo. The photo is already B&W with one teal sleeve, so it keeps its colour. */
body.tb26 .hp-rooms figure.hp-tit{container-type:inline-size;background:var(--k-midnight);border-radius:var(--k-r-card);padding:8px;max-width:460px;box-shadow:0 18px 40px -22px rgba(31,45,51,.6)}
body.tb26 .hp-tit-ph{position:relative;border-radius:var(--k-r-panel);overflow:hidden;background:var(--k-deep)}
body.tb26 .hp-rooms .hp-tit img{width:100%;height:auto;aspect-ratio:4/3.4;object-fit:cover;object-position:center 62%;border-radius:0;display:block}
body.tb26 .hp-rooms figure.hp-tit{position:relative;margin-bottom:22cqi}
body.tb26 .hp-tit-b{position:absolute;z-index:3;right:-4%;bottom:-17cqi;width:52%;background:var(--k-ivory);border-radius:20px;padding:6px;box-shadow:0 16px 32px -14px rgba(31,45,51,.7)}
body.tb26 .hp-rooms .hp-tit-b img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:14px;display:block}
body.tb26 .hp-tit-ph::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,rgba(31,45,51,.55) 0,rgba(31,45,51,0) 55%);pointer-events:none}
body.tb26 .hp-tit-h{--cut:var(--k-midnight);position:absolute;z-index:3;left:6cqi;top:5cqi;margin:0;font-family:var(--k-display);font-weight:400;text-transform:uppercase;font-size:12.5cqi;line-height:.8;letter-spacing:-.014em;color:var(--k-ivory);
  text-shadow:-.005em -.005em 0 var(--cut),-.010em -.010em 0 var(--cut),-.015em -.015em 0 var(--cut),-.020em -.020em 0 var(--cut),-.025em -.025em 0 var(--cut),-.030em -.030em 0 var(--cut),-.035em -.035em 0 var(--cut)}

/* Contact */
body.tb26 .hp-contact{border-top-color:rgba(31,45,51,.18)}
body.tb26 .hp-contact h2{font-size:clamp(30px,3.4vw,42px);color:var(--k-midnight)}
body.tb26 .hp-contact p{font-size:16px}
body.tb26 .hp-pill{height:52px;padding:0 24px;border:2px solid var(--k-midnight);border-radius:var(--k-r-btn);background:var(--k-dune);color:var(--k-midnight);font-family:var(--k-display);font-size:20px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;transition:transform .12s ease,background .12s ease}
body.tb26 .hp-pill:hover{background:#C9A06C;transform:translateY(-2px)}

/* Journal: photo on top, title below on a paper panel (the pre-kit layout in kit colours), kit 28px corners */
body.tb26 .hp-journal h2{font-size:clamp(34px,4.2vw,52px);color:var(--k-midnight)}
body.tb26 .hp-journal .lnk{font-family:var(--k-body);font-weight:600;color:var(--k-midnight);text-decoration-color:var(--k-tidal)}
body.tb26 .hp-journal .lnk b{color:var(--k-midnight)}
body.tb26 .hp .ts-jcard{position:relative;display:flex;flex-direction:column;height:100%;border:1px solid rgba(31,45,51,.12);border-radius:var(--k-r-card);background:var(--k-paper);color:var(--k-midnight);overflow:hidden}
body.tb26 .hp .ts-jthumb{position:relative;display:block;aspect-ratio:4/3;background:var(--k-deep);border-radius:0}
/* The journal featured images are already black and white with one colour (Sam, 3 Dec 2026): keep them as they are. */
body.tb26 .hp .ts-jthumb img{transition:transform .5s ease}
body.tb26 .hp .ts-jcard:hover .ts-jthumb img,body.tb26 .hp .ts-jcard:focus-visible .ts-jthumb img{transform:scale(1.04)}
body.tb26 .hp .ts-jthumb .glyph{font:400 40px/1 var(--k-display);color:var(--k-dune)}
body.tb26 .hp .ts-jbody{display:block;padding:14px 16px 18px}
body.tb26 .hp .ts-jbody small{display:none}
body.tb26 .hp .ts-jbody strong{font:400 22px/1.05 var(--k-display);letter-spacing:.02em;text-transform:uppercase;color:var(--k-midnight);margin-top:0}
body.tb26 .hp .ts-jcard:hover strong,body.tb26 .hp .ts-jcard:focus-visible strong{color:var(--k-tidal)}
@media (max-width:720px){
  body.tb26 .hp .ts-jswipe>li{flex:0 0 calc((100vw - 24px - 12px) / 2.35)}
  body.tb26 .hp .ts-jbody strong{font-size:18px}
  body.tb26 .hp .ts-jbody{padding:12px 14px 16px}
}

/* Other genres */
body.tb26 .hp-genres h2{font-size:clamp(28px,3vw,36px);color:var(--k-midnight)}
body.tb26 .hp-genres .hp-more a{border-bottom:0;padding-bottom:0;color:var(--k-midnight);font-family:var(--k-body);font-weight:600}

/* Trust strip */
body.tb26 .ts-strip-scroll{border-color:rgba(31,45,51,.16);background:var(--k-ivory)}
body.tb26 .ts-strip-item{font-family:var(--k-body);font-weight:600;color:var(--k-midnight)}
body.tb26 .ts-strip-item svg{color:var(--k-tidal)}

@media (prefers-reduced-motion:reduce){body.tb26 .hp .tile,body.tb26 .hp-seeall,body.tb26 .hp-pill{transition:none}body.tb26 .hp .tile:hover,body.tb26 .hp-seeall:hover,body.tb26 .hp-pill:hover{transform:none}}

/* ── Featured artists: a horizontal row of Tall Photo cards on a Deep Ocean band (Sam, 3 Dec 2026, option A) ── */
body.tb26 .hp-ak{padding:96px 0;background:var(--k-deep);color:var(--k-ivory);overflow:hidden}
body.tb26 .hp-ak-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
body.tb26 .hp-ak-head h2{margin:0;font-family:var(--k-display);font-weight:400;font-stretch:normal;text-transform:uppercase;letter-spacing:.02em;line-height:1.02;font-size:clamp(44px,5vw,68px);color:var(--k-ivory)}
body.tb26 .hp-ak-ctl{display:flex;align-items:center;gap:10px;flex:none}
body.tb26 .hp-ak-arrow{display:none;width:52px;height:52px;border-radius:var(--k-r-btn);border:2px solid var(--k-ivory);background:transparent;color:var(--k-ivory);font:400 22px var(--k-display);cursor:pointer;transition:background .12s ease,color .12s ease}
body.tb26 .hp-ak-arrow:hover{background:var(--k-dune);color:var(--k-midnight);border-color:var(--k-dune)}
@media (min-width:981px){body.tb26 .hp-ak-arrow{display:inline-flex;align-items:center;justify-content:center}}
body.tb26 .hp-ak-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:2px solid var(--k-ivory);border-radius:var(--k-r-btn);background:var(--k-dune);color:var(--k-midnight);font-family:var(--k-display);font-size:19px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;transition:transform .12s ease,background .12s ease}
body.tb26 .hp-ak-btn:hover{background:#C9A06C;transform:translateY(-2px)}
body.tb26 .hp-ak-row{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 24px 4px;scroll-padding:0 24px}
body.tb26 .hp-ak-row::-webkit-scrollbar{display:none}
@media (min-width:1241px){body.tb26 .hp-ak-row{padding-left:max(24px,calc((100vw - 1240px) / 2 + 24px));scroll-padding-left:max(24px,calc((100vw - 1240px) / 2 + 24px))}}
body.tb26 .hp-ak-card{position:relative;flex:0 0 auto;width:min(44vw,260px);aspect-ratio:3/4;border-radius:var(--k-r-card);overflow:hidden;background:var(--k-midnight);color:var(--k-ivory);text-decoration:none;scroll-snap-align:start}
body.tb26 .hp-ak-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;filter:grayscale(1);transition:filter .35s ease,transform .5s ease}
body.tb26 .hp-ak-card:hover img,body.tb26 .hp-ak-card:focus-visible img{filter:none;transform:scale(1.04)}
body.tb26 .hp-ak-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,45,51,0) 45%,rgba(31,45,51,.92));pointer-events:none}
body.tb26 .hp-ak-card .ph0{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:400 64px var(--k-display);color:var(--k-dune);background:var(--k-midnight)}
body.tb26 .hp-ak-card b{position:absolute;left:16px;right:44px;bottom:14px;z-index:1;font:400 30px/1 var(--k-display);text-transform:uppercase;letter-spacing:.02em;overflow-wrap:anywhere}
body.tb26 .hp-ak-card i{position:absolute;right:14px;bottom:16px;z-index:1;font:normal 24px var(--k-display);color:var(--k-dune);transition:transform .25s ease}
body.tb26 .hp-ak-card:hover b{color:var(--k-dune)}
body.tb26 .hp-ak-card:hover i{transform:translate(3px,-3px)}
body.tb26 .hp-ak :focus-visible{outline-color:var(--k-dune)}
@media (max-width:700px){
  body.tb26 .hp-ak{padding:72px 0}
  body.tb26 .hp-ak-head{flex-direction:column;align-items:flex-start;gap:20px}
  /* Phone: two full cards and a faded third. */
  body.tb26 .hp-ak-row{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
  body.tb26 .hp-ak-card{width:calc((100vw - 24px - 24px) / 2.35)}
  body.tb26 .hp-ak-card b{font-size:22px;left:12px;right:34px;bottom:12px}
  body.tb26 .hp-ak-card i{right:10px;bottom:13px;font-size:20px}
}
@media (prefers-reduced-motion:reduce){body.tb26 .hp-ak-btn,body.tb26 .hp-ak-card img,body.tb26 .hp-ak-card i{transition:none}}
@media (max-width:1199px){body.tb26 .hp-rooms figure.hp-tit{margin:0;flex:1 1 100%;max-width:520px}}
@keyframes tb26-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes tb26-float2{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(7px) rotate(.6deg)}}
@media (prefers-reduced-motion:no-preference){body.tb26 .hp-rooms figure.hp-tit{animation:tb26-float 7s ease-in-out infinite}body.tb26 .hp-tit-b{animation:tb26-float2 6s ease-in-out infinite}}
/* Sam 3 Dec: "like motion". The two cards drift with scroll (small card moves more) on top of the idle float. */
@keyframes tb26-drift-a{from{translate:0 18px}to{translate:0 -10px}}
@keyframes tb26-drift-b{from{translate:-14px 46px}to{translate:6px -14px}}
@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){
body.tb26 .hp-rooms figure.hp-tit{animation:tb26-float 7s ease-in-out infinite,tb26-drift-a linear both;animation-timeline:auto,view();animation-range:normal,entry 0% cover 55%}
body.tb26 .hp-tit-b{animation:tb26-float2 6s ease-in-out infinite,tb26-drift-b linear both;animation-timeline:auto,view();animation-range:normal,entry 10% cover 60%}}}

/* Folder cards: a long unbroken name or a card with no flyer must not spill out or run under the day label. */
body.tb26 .hp .fx h5{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.tb26 .hp .fx-nofl{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-width:0;max-width:100%;overflow-wrap:anywhere;padding-right:96px}
/* Visible h1 (the focus phrase): the small line the page had before, as wide as WHERE (the page script fits the size), Ivory at reduced opacity (Sam, 3 Dec 2026). */
body.tb26 .hp .hp-kick26{margin:0 0 14px;font-family:var(--k-body);font-weight:600;font-size:9px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:rgba(255,244,229,.78)}
/* Desktop: the hero text clears the header with more room (Sam, 3 Dec 2026). Phone and tablet keep their spacing. */
@media (min-width:901px){body.tb26 .hp-hero-mid{padding-top:136px}}

/* Mobile: the "this week" heading lines up left with the cards below it */
@media (max-width:900px){body.tb26 .hp .hp-wk-h{text-align:left!important}}

/* Colour sunglasses: touch and tablet only (desktop already turns photos colour on hover) */
body.tb26{--k-wave:linear-gradient(100deg,rgba(196,120,170,0) 25%,rgba(196,120,170,.55) 62%,rgba(150,110,210,.6) 100%),linear-gradient(100deg,rgba(217,179,130,0) 10%,rgba(217,179,130,.55) 100%),linear-gradient(0deg,var(--k-mist) 0,var(--k-dune) 45%,var(--k-tidal) 100%)}
body.tb26 .hp-week{position:relative;isolation:isolate;z-index:50}
body.tb26 .hp-shades-slot,body.tb26 .hp-shades{display:none}
@media (hover:none) and (pointer:coarse){
  body.tb26 .hp-shades-slot{display:block;position:absolute;top:14px;right:12px;width:44px;height:44px}
  body.tb26 .hp-shades{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;z-index:40;width:44px;height:44px;padding:0;border:2px solid var(--k-ivory);border-radius:50%;background:rgba(31,45,51,.88);box-shadow:0 6px 16px -6px rgba(0,0,0,.6);cursor:pointer;-webkit-tap-highlight-color:transparent}
  body.tb26 .hp-shades.is-stuck{position:fixed;inset:78px 12px auto auto;z-index:600}
  body.tb26 .hp-shades{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:transform .22s ease,opacity .22s ease}
  body.tb26 .hp-shades.is-drag{transition:none}
  /* Hold, then drag anywhere (Sam, 4 Dec 2026); the spot is remembered */
  body.tb26 .hp-shades.is-moved{position:fixed;inset:auto;z-index:600}
  body.tb26 .hp-shades.is-parked{position:absolute;inset:auto 12px 16px auto;z-index:40}
  body.tb26 .hp-shades.is-grab{cursor:grabbing}
  body.tb26 .hp-shades.is-grab svg{transform:scale(1.35);filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}
  body.tb26 .hp-shades-slot[hidden],body.tb26 .hp-shades[hidden]{display:none}
  body.tb26 .hp-shades svg{width:30px;height:18px;overflow:visible;fill:none;stroke:var(--k-ivory);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))}
  body.tb26 .hp-shades .l1{fill:var(--k-dune)}
  body.tb26 .hp-shades .l2{fill:var(--k-tidal)}
  body.tb26 .hp-shades[aria-pressed="true"] svg{stroke:var(--k-mist)}
  body.tb26 .hp-shades[aria-pressed="true"]{border-color:var(--k-mist)}
  body.tb26 .hp-shades[aria-pressed="true"] .l1,body.tb26 .hp-shades[aria-pressed="true"] .l2{fill:var(--k-ash)}
  body.tb26 .hp-shades:focus-visible{outline:2px solid var(--k-dune);outline-offset:3px}
}
@media (hover:none) and (pointer:coarse) and (prefers-reduced-motion:no-preference){
  body.tb26 .hp-shades{animation:hpShadesWiggle 7s ease-in-out 3s infinite;transform-origin:50% 60%}
  body.tb26 .hp-shades[aria-pressed="true"]{animation:none}
}
@keyframes hpShadesWiggle{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-14deg)}92%{transform:rotate(12deg)}95%{transform:rotate(-8deg)}98%{transform:rotate(4deg)}}

/* Colour on: every B&W photo and flyer loses its grayscale (the hero keeps its darkening for legible text) */
body.tb26.tb26-color .hp .hp-hero-img{filter:brightness(.62) contrast(1.15)}
body.tb26.tb26-color .hp img:not(.hp-hero-img),body.tb26.tb26-color .fx-ph img,body.tb26.tb26-color .ov img{filter:none}
body.tb26.tb26-color .hp .hp-moments>img{filter:brightness(.7)}

/* ── This week: the flyer opens the event; next/previous arrows scroll the row (Sam, 4 Dec 2026) ── */
body.tb26 .hp-kf .fx-ph{z-index:0}
body.tb26 .fx-phl{position:absolute;inset:0;z-index:1;border-radius:inherit}
body.tb26 .fx-phl:focus-visible{outline:3px solid var(--k-dune);outline-offset:-3px}
body.tb26 .fx-lb{pointer-events:none}
body.tb26 .hp-kw{position:relative}
body.tb26 .hp-kn{position:absolute;z-index:5;top:calc(48px + (100% - 48px) / 2);transform:translateY(-50%);width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;border:2px solid var(--k-ivory);border-radius:999px;background:var(--k-dune);color:var(--k-midnight);cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.6);transition:background .12s ease,transform .12s ease}
body.tb26 .hp-kn[hidden]{display:none}
body.tb26 .hp-kn:hover{background:#C9A06C}
body.tb26 .hp-kn:focus-visible{outline:3px solid var(--k-ivory);outline-offset:3px}
body.tb26 .hp-kn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.tb26 .hp-kn.next{right:-10px}
body.tb26 .hp-kn.prev{left:-10px}
@media (max-width:1240px){body.tb26 .hp-kn.next{right:12px}body.tb26 .hp-kn.prev{left:12px}}
@media (max-width:700px){body.tb26 .hp-kn{display:none}}
@media (prefers-reduced-motion:reduce){body.tb26 .hp-kn{transition:none}}

/* ── Upcoming house music events: light Ivory Sand band, full width (Sam, 4 Dec 2026) ── */
body.tb26 .hp-lightband{background:var(--k-ivory);color:var(--k-midnight)}
body.tb26 .hp-lightband :focus-visible{outline-color:var(--k-tidal)}
body.tb26 .hp-lightband .hp-h2n{color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-list-head{border-bottom-color:rgba(31,45,51,.28)}
body.tb26 .hp-lightband .hp-tabs button,body.tb26 .hp-lightband .hp-tabs button small{color:var(--k-ash)}
body.tb26 .hp-lightband .hp-tabs button:hover,body.tb26 .hp-lightband .hp-tabs button.on{color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-tabs button.on{border-bottom-color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-rows li{border-bottom-color:rgba(31,45,51,.16)}
body.tb26 .hp-lightband .hp-row .d span,body.tb26 .hp-lightband .hp-row .t span{color:var(--k-ash)}
body.tb26 .hp-lightband .hp-row .p{color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-row .lnk{color:var(--k-midnight);font-weight:700}
body.tb26 .hp-lightband .hp-row .fly{border-color:rgba(31,45,51,.4);background:var(--k-stone)}
body.tb26 .hp-lightband .hp-seeall{border-color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-seeall:hover{border-color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-more a:first-child{color:var(--k-midnight)}
body.tb26 .hp-lightband .hp-more a+a,body.tb26 .hp-lightband .hp-empty,body.tb26 .hp-lightband .hp-list-sub{color:var(--k-ash)}

/* ── Where to hear house music: desktop. The photo card is bigger and the section no longer carries a ~320px empty
   tail (margin-bottom:22cqi on the card resolved against the page width, not the card). Sam, 4 Dec 2026 ── */
@media (min-width:1200px){
  body.tb26 .hp-rooms{align-items:center;padding-top:80px;padding-bottom:64px;gap:72px}
  body.tb26 .hp-rooms figure.hp-tit{flex:0 0 min(560px,46%);max-width:none;margin-bottom:calc(min(560px,46%) * .17)}
}

/* Links read by weight and colour, not underlines (Sam, 4 Dec 2026). The closed folder's Details is a real link. */
body.tb26 .hp .lnk,body.tb26 .hp .lnk a,body.tb26 .hp-more a{text-decoration:none}
body.tb26 .fx-ft a.fx-ftl{margin-left:auto;padding:8px 0 2px 16px;font-weight:600;font-size:14px;color:inherit;text-decoration:none}
body.tb26 .fx-ft a.fx-ftl:hover,body.tb26 .fx-ft a.fx-ftl:focus-visible{color:var(--k-dune)}

/* ── Spectrum bands (Sam, 4 Dec 2026): glasses on, more of the page lights up. CSS gradients only, no images.
   At rest: nothing. Glasses on (body.tb26-color): a halftone wave of dots (Tidal, Mist, Dune) rises from the bottom of the
   section, fading out well before the top, so no edge or line shows; each card gets a small colour drop shadow. Full width via 100vw; .hp already clips the overflow. ── */
body.tb26 .hp-week{padding-bottom:48px}
/* room inside the scroll rows so the card colour shadow is not clipped into a straight line (net layout zero) */
body.tb26 .hp-kf,body.tb26 .hp-kt{padding-bottom:18px;margin-bottom:-18px}
body.tb26 .hp-week::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;pointer-events:none;opacity:0;transition:opacity .6s ease;
  /* Halftone wave (Sam's reference, 4 Dec 2026): one tiny repeating SVG of wavy dots, big and low, small and fading higher. The SVG is the mask; the colour is a CSS gradient. */
  background:var(--k-wave) bottom/100% 120px no-repeat;
  -webkit-mask:url("../img/therapy-wave-halftone.svg") bottom/800px 120px repeat-x;mask:url("../img/therapy-wave-halftone.svg") bottom/800px 120px repeat-x}
body.tb26.tb26-color .hp-week::after{opacity:.78;animation:hpWaveIn 1.6s cubic-bezier(.22,.8,.3,1) backwards}
/* Same halftone wave hanging from the top of the "Vancouver house music DJs" band, running down and fading out before the bottom (Sam, 4 Dec 2026). The wave tile is flipped; the colour gradient is written bottom-up so it reads Mist at the edge to Dune further down. */
body.tb26 .hp-ak{position:relative;isolation:isolate}
body.tb26 .hp-ak::after{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;height:120px;pointer-events:none;opacity:0;transition:opacity .6s ease;transform:scaleY(-1);
  background:linear-gradient(100deg,rgba(196,120,170,0) 25%,rgba(196,120,170,.55) 62%,rgba(150,110,210,.6) 100%),linear-gradient(0deg,var(--k-mist) 0,var(--k-dune) 40%,color-mix(in srgb,var(--k-tidal) 60%,var(--k-mist)) 100%) bottom/100% 120px no-repeat;
  -webkit-mask:url("../img/therapy-wave-halftone.svg") bottom/800px 120px repeat-x;mask:url("../img/therapy-wave-halftone.svg") bottom/800px 120px repeat-x}
body.tb26.tb26-color .hp-ak::after{opacity:.92;animation:hpWaveInFlip 1.6s cubic-bezier(.22,.8,.3,1) .12s backwards}
/* Dots slide in from the left in one quick wave when the glasses are pressed (Sam, 4 Dec 2026). */
/* Fade in already full width while the dots shift about 90px sideways into place, then rest (no slide-in, no bounce; Sam, 4 Dec 2026). The tile repeats, so no edge is ever empty. */
@keyframes hpWaveIn{from{opacity:0;-webkit-mask-position:calc(50% - 90px) 100%;mask-position:calc(50% - 90px) 100%}}
@keyframes hpWaveInFlip{from{opacity:0;-webkit-mask-position:calc(50% - 90px) 100%;mask-position:calc(50% - 90px) 100%}}
body.tb26 .hp-kf .fx{transition:box-shadow .4s ease}
body.tb26 .hp .hp-kt .tile{transition:transform .15s ease,box-shadow .4s ease,background-color .4s ease}
body.tb26.tb26-color .hp-kf .fx,body.tb26.tb26-color .hp-kt .tile{box-shadow:0 6px 16px -6px rgba(217,179,130,.55)}
body.tb26.tb26-color .hp-kf .fx:nth-child(even),body.tb26.tb26-color .hp-kt .tile.deep{box-shadow:0 6px 16px -6px rgba(156,183,199,.55)}
/* Glass cards with the glasses on: a translucent fill and a soft blur, so the dots behind show through the card surface. The flyer photo stays solid. */
body.tb26.tb26-color .hp .hp-kt .tile{background-color:rgba(31,45,51,.42);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25);border-color:rgba(255,244,229,.22)}
body.tb26.tb26-color .hp .hp-kt .tile.deep{background-color:rgba(21,76,86,.42)}
@media (prefers-reduced-motion:reduce){body.tb26.tb26-color .hp-week::after,body.tb26.tb26-color .hp-ak::after{animation:none}
body.tb26 .hp-week::after,body.tb26 .hp-ak::after,body.tb26 .hp-kf .fx,body.tb26 .hp .hp-kt .tile{transition:none}}

/* Tighter gap between the contact block and the journal, all light sections ivory (Sam, 4 Dec 2026). */
body.tb26 .hp .hp-contact{padding-bottom:48px}
body.tb26 .hp .hp-journal{padding-top:48px}

/* ── Thin pink-to-purple line (3px) wherever the section colour changes, sliding in from the left as it scrolls into view (Sam, 4 Dec 2026).
   Breaks: events band, moments photo, About, teal DJs band, rooms, footer. Ivory neighbours (contact, journal, genres) get none. ── */
body.tb26 .hp-lightband,body.tb26 .hp-day:has(.hp-rooms),body.tb26 .hp-moments+.hp-day,body.tb26 .ts-sfoot{position:relative}
body.tb26 .hp-lightband::before,body.tb26 .hp-moments::before,body.tb26 .hp-moments+.hp-day::before,body.tb26 .hp-ak::before,body.tb26 .hp-day:has(.hp-rooms)::before,body.tb26 .ts-sfoot::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;z-index:3;pointer-events:none;background:linear-gradient(90deg,#C478AA,#966ED2);transform-origin:0 50%;transition:transform .9s cubic-bezier(.22,.8,.3,1)}
body.tb26.tb26-lines-js .hp-brk:not(.lit)::before{transform:scaleX(0)}
@media (prefers-reduced-motion:reduce){body.tb26 .hp-brk::before{transition:none}body.tb26.tb26-lines-js .hp-brk:not(.lit)::before{transform:none}}

/* Waves are drawn on canvas when the script runs; the old CSS-mask layers stay only as the no-script fallback. */
body.tb26.tb26-wave-js .hp-week::after,body.tb26.tb26-wave-js .hp-ak::after{display:none}
body.tb26 .hp-wave{position:absolute;z-index:-1;height:120px;pointer-events:none;opacity:0;transition:opacity .6s ease}
body.tb26 .hp-wave-wk{bottom:0;left:calc(50% - 50vw);width:100vw}
body.tb26 .hp-wave-ak{top:0;left:0;width:100%}
@media (prefers-reduced-motion:reduce){body.tb26 .hp-wave{transition:none}}
/* On phones and tablets the section lines follow the glasses: they slide in with colour on and slide out when it is off */
body.tb26.tb26-glasses:not(.tb26-color) .hp-brk::before{transform:scaleX(0)}

/* DJs band: teal that gets darker lower down instead of one flat colour (Sam, 4 Dec 2026) */
body.tb26 .hp-ak{background:linear-gradient(180deg,var(--k-deep) 0%,color-mix(in srgb,var(--k-deep) 68%,#000) 55%,color-mix(in srgb,var(--k-deep) 36%,#000) 100%)}

/* Glasses mode: yellowish text turns the old Instagram teal #7CB7B5 (Sam, 6 Dec 2026). Text and text-like marks only; buttons and chips keep Dune. */
body.tb26.tb26-color{--k-glass-teal:#7CB7B5}
body.tb26.tb26-color .hp .hp-h1 .bk-tt,
body.tb26.tb26-color .hp-row .lnk,
body.tb26.tb26-color .hp-block .lnk,
body.tb26.tb26-color .hp .ts-jthumb .glyph,
body.tb26.tb26-color .hp-ak-card .ph0,
body.tb26.tb26-color .hp-ak-card i,
body.tb26.tb26-color .hp-ak-card:hover b,
body.tb26.tb26-color .fx-ft a.fx-ftl:hover,
body.tb26.tb26-color .fx-ft a.fx-ftl:focus-visible{color:var(--tvc,var(--k-glass-teal))!important}
body.tb26.tb26-color .hp-block .lnk{text-decoration-color:var(--k-glass-teal)}
body.tb26.tb26-color .hp-play span{color:var(--k-glass-teal);border-color:var(--k-glass-teal)}
/* Glasses mode: the teal accent word gets a purple pink shadow on its lower right edge, plus a soft glow (Sam, 5 Dec 2026). The up-left cut layers stay so the stack still reads. */
body.tb26.tb26-color .hp .hp-h1 .bk-tt{
  text-shadow:-.005em -.005em 0 var(--cut),-.010em -.010em 0 var(--cut),-.015em -.015em 0 var(--cut),-.020em -.020em 0 var(--cut),-.025em -.025em 0 var(--cut),-.030em -.030em 0 var(--cut),-.035em -.035em 0 var(--cut),
    .02em .02em 0 rgba(196,120,170,.95),.04em .04em 0 rgba(150,110,210,.9),0 0 .35em rgba(196,120,170,.45)}

/* Glasses on: the yellow to teal text change flickers like a TV for about half a second, then settles (Sam, 5 Dec 2026). The tb26-flick class is added by the toggle script only when the glasses are pressed, never on page load. */
@property --tvc{syntax:'<color>';inherits:false;initial-value:#7CB7B5}
@keyframes hpTv{
  0%{--tvc:var(--k-dune);filter:none}
  12%{--tvc:#7CB7B5;filter:brightness(1.8)}
  24%{--tvc:var(--k-dune);filter:brightness(.6)}
  38%{--tvc:#7CB7B5;filter:brightness(1.4)}
  52%{--tvc:var(--k-dune);filter:brightness(.8)}
  68%{--tvc:#7CB7B5;filter:brightness(1.2)}
  100%{--tvc:#7CB7B5;filter:none}}
body.tb26.tb26-color.tb26-flick .hp .hp-h1 .bk-tt,
body.tb26.tb26-color.tb26-flick .hp-row .lnk,
body.tb26.tb26-color.tb26-flick .hp-block .lnk,
body.tb26.tb26-color.tb26-flick .hp .ts-jthumb .glyph,
body.tb26.tb26-color.tb26-flick .hp-ak-card .ph0,
body.tb26.tb26-color.tb26-flick .hp-ak-card i{animation:hpTv .56s steps(1,end) both}
@media (prefers-reduced-motion:reduce){body.tb26.tb26-flick .hp *{animation:none!important}}
/* Glasses mode: the round logo disc in the header turns pink with a purple shadow (Sam, 5 Dec 2026). The round icon already sits exactly over the lockup's disc, so it is shown at the top too and tinted. */
body.tb26.tb26-color #tsHeadCream .ts-head-icon{opacity:1;transform:scale(.88);filter:brightness(.85) sepia(1) saturate(4.5) hue-rotate(270deg) drop-shadow(.05em .05em 0 rgba(150,110,210,.95)) drop-shadow(0 0 3px rgba(196,120,170,.6));transition:opacity .2s ease,filter .4s ease}
/* Glasses mode: the gold buttons, date chips and round arrow buttons turn the same teal as the text (Sam, 5 Dec 2026). They flicker with it. */
@keyframes hpTvBg{0%{background-color:var(--k-dune)}12%{background-color:#7CB7B5}24%{background-color:var(--k-dune)}38%{background-color:#7CB7B5}52%{background-color:var(--k-dune)}68%{background-color:#7CB7B5}100%{background-color:#7CB7B5}}
body.tb26.tb26-color .hp-seeall,body.tb26.tb26-color .hp-pill,body.tb26.tb26-color .hp-ak-btn,body.tb26.tb26-color .hp .tile .chip,body.tb26.tb26-color .hp-kn{background-color:#7CB7B5}
body.tb26.tb26-color .hp-seeall:hover,body.tb26.tb26-color .hp-pill:hover,body.tb26.tb26-color .hp-ak-btn:hover{background-color:#6AA6A4}
body.tb26.tb26-color.tb26-flick .hp-seeall,body.tb26.tb26-color.tb26-flick .hp-pill,body.tb26.tb26-color.tb26-flick .hp-ak-btn,body.tb26.tb26-color.tb26-flick .hp .tile .chip,body.tb26.tb26-color.tb26-flick .hp-kn{animation:hpTvBg .56s steps(1,end) both}
/* Glasses mode: a soft shine sweeps across the teal text and buttons every few seconds, and the gold buttons glow purple pink (Sam, 5 Dec 2026). Slow and never a flash. */
@keyframes hpShine{0%,55%{background-position:140% 0,0 0}100%{background-position:-40% 0,0 0}}
@keyframes hpSheen{0%,55%{left:-60%}100%{left:130%}}
@keyframes hpGlow{0%,100%{box-shadow:0 4px 14px -4px rgba(150,110,210,.45)}50%{box-shadow:0 6px 26px -2px rgba(196,120,170,.8)}}
body.tb26.tb26-color .hp .hp-h1 .bk-tt{position:relative}
body.tb26.tb26-color .hp .hp-h1 .bk-tt::after{content:attr(data-t);position:absolute;left:0;top:50%;transform:translateY(-50%);white-space:nowrap;line-height:.8;text-shadow:none;pointer-events:none;color:transparent;background:linear-gradient(105deg,transparent 43%,rgba(255,244,229,.95) 50%,transparent 57%) 140% 0/300% 100% no-repeat;-webkit-background-clip:text;background-clip:text;animation:hpShine 3.2s ease-in-out 1s infinite}
body.tb26.tb26-color .hp-row .lnk,body.tb26.tb26-color .hp-block .lnk{background:linear-gradient(105deg,transparent 43%,rgba(255,244,229,.95) 50%,transparent 57%) 140% 0/300% 100% no-repeat,linear-gradient(#7CB7B5,#7CB7B5) 0 0/100% 100% no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:hpShine 3.2s ease-in-out 1.4s infinite}
body.tb26.tb26-color .hp-seeall,body.tb26.tb26-color .hp-pill,body.tb26.tb26-color .hp-ak-btn{position:relative;overflow:hidden;animation:hpGlow 2.2s ease-in-out infinite}
body.tb26.tb26-color .hp-seeall::after,body.tb26.tb26-color .hp-pill::after,body.tb26.tb26-color .hp-ak-btn::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,244,229,.55),transparent);transform:skewX(-18deg);pointer-events:none;animation:hpSheen 2.8s ease-in-out infinite}
body.tb26.tb26-color.tb26-flick .hp-seeall,body.tb26.tb26-color.tb26-flick .hp-pill,body.tb26.tb26-color.tb26-flick .hp-ak-btn{animation:hpTvBg .56s steps(1,end) both,hpGlow 2.2s ease-in-out infinite}
/* Glasses button on-state: pink glow ring, teal frame, pink and teal lenses (Sam, 5 Dec 2026). */
@media (hover:none) and (pointer:coarse){
  body.tb26 .hp-shades[aria-pressed="true"]{border-color:#C478AA;box-shadow:0 0 18px rgba(196,120,170,.6),0 6px 16px -6px rgba(0,0,0,.6)}
  body.tb26 .hp-shades[aria-pressed="true"] svg{stroke:#7CB7B5}
  body.tb26 .hp-shades[aria-pressed="true"] .l1{fill:#C478AA}
  body.tb26 .hp-shades[aria-pressed="true"] .l2{fill:#7CB7B5}
}
@media (prefers-reduced-motion:reduce){body.tb26.tb26-color .hp .hp-h1 .bk-tt::after,body.tb26.tb26-color .hp-row .lnk,body.tb26.tb26-color .hp-block .lnk,body.tb26.tb26-color .hp-seeall,body.tb26.tb26-color .hp-pill,body.tb26.tb26-color .hp-ak-btn,body.tb26.tb26-color .hp-seeall::after,body.tb26.tb26-color .hp-pill::after,body.tb26.tb26-color .hp-ak-btn::after{animation:none!important}}
/* Glasses mode: no gold left. Everything that used the Dune accent (the old --rust and --teal aliases, rules, tabs, header accent, round arrows) turns the same teal (Sam, 5 Dec 2026). The waves keep their blend. */
body.tb26.tb26-color{--rust:#7CB7B5;--teal:#7CB7B5;--bk-teal:#7CB7B5}
body.tb26.tb26-color #tsHeadCream{--ts-head-acc:#7CB7B5;--ts-head-acc-lt:#7CB7B5}
body.tb26.tb26-color .hp .rule i{background:#7CB7B5}
body.tb26.tb26-color .hp-tabs button.on{border-bottom-color:#7CB7B5}
body.tb26.tb26-color .hp-ak-arrow:hover{background:#7CB7B5;border-color:#7CB7B5}
body.tb26.tb26-color .hp-play span{box-shadow:0 0 12px rgba(196,120,170,.45)}
/* Glasses button: a smaller round disc behind the glasses so the frame sticks out past its edges (Sam, 5 Dec 2026). The 44px button stays as the tap target; the disc is a pseudo-element. */
@media (hover:none) and (pointer:coarse){
  body.tb26 .hp-shades,body.tb26 .hp-shades[aria-pressed="true"]{border:0;background:none;box-shadow:none;overflow:visible}
  body.tb26 .hp-shades::before{content:"";position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;border:2px solid var(--k-ivory);background:rgba(31,45,51,.88);box-shadow:0 6px 16px -6px rgba(0,0,0,.6);transition:border-color .3s,box-shadow .3s}
  body.tb26 .hp-shades[aria-pressed="true"]::before{border-color:#C478AA;box-shadow:0 0 14px rgba(196,120,170,.65),0 6px 16px -6px rgba(0,0,0,.6)}
  body.tb26 .hp-shades svg{position:relative;width:40px;height:23px}
}

/* Glasses on: every other thing that changes colour flickers like the text (photos, play ring, rules, tab line, arrows, header logo disc). Only on press, short, off for reduced motion (Sam, 6 Dec 2026). */
@keyframes hpTvImg{0%{filter:grayscale(1)}12%{filter:none}24%{filter:grayscale(1) brightness(.8)}38%{filter:none}52%{filter:grayscale(1)}68%{filter:none}}
@keyframes hpTvImgHero{0%{filter:grayscale(1) brightness(.62) contrast(1.15)}12%{filter:brightness(.62) contrast(1.15)}24%{filter:grayscale(1) brightness(.5) contrast(1.15)}38%{filter:brightness(.62) contrast(1.15)}52%{filter:grayscale(1) brightness(.62) contrast(1.15)}68%{filter:brightness(.62) contrast(1.15)}}
@keyframes hpTvImgMom{0%{filter:grayscale(1) brightness(.7)}12%{filter:brightness(.7)}24%{filter:grayscale(1) brightness(.55)}38%{filter:brightness(.7)}52%{filter:grayscale(1) brightness(.7)}68%{filter:brightness(.7)}}
@keyframes hpTvRing{0%,24%,52%{color:var(--k-ivory);border-color:var(--k-ivory)}12%,38%,68%{color:#7CB7B5;border-color:#7CB7B5}}
@keyframes hpTvLine{0%,24%,52%{background-color:var(--k-dune);border-bottom-color:var(--k-dune)}12%,38%,68%{background-color:#7CB7B5;border-bottom-color:#7CB7B5}}
@keyframes hpTvLogo{0%,24%,52%{filter:none}12%,38%,68%{filter:brightness(1.5) sepia(1) saturate(4.5) hue-rotate(270deg)}}
body.tb26.tb26-color.tb26-flick .hp img:not(.hp-hero-img),body.tb26.tb26-color.tb26-flick .fx-ph img,body.tb26.tb26-color.tb26-flick .ov img{transition:none;animation:hpTvImg .56s steps(1,end) both}
body.tb26.tb26-color.tb26-flick .hp .hp-hero-img{transition:none;animation:hpTvImgHero .56s steps(1,end) both}
body.tb26.tb26-color.tb26-flick .hp .hp-moments>img{transition:none;animation:hpTvImgMom .56s steps(1,end) both}
body.tb26.tb26-color.tb26-flick .hp-play span{animation:hpTvRing .56s steps(1,end) both}
body.tb26.tb26-color.tb26-flick .hp .rule i,body.tb26.tb26-color.tb26-flick .hp-tabs button.on{animation:hpTvLine .56s steps(1,end) both}
body.tb26.tb26-color.tb26-flick #tsHeadCream .ts-head-icon{transition:none;animation:hpTvLogo .56s steps(1,end) both}
@media (prefers-reduced-motion:reduce){body.tb26.tb26-flick .hp img,body.tb26.tb26-flick .fx-ph img,body.tb26.tb26-flick .ov img,body.tb26.tb26-flick .hp-play span,body.tb26.tb26-flick #tsHeadCream .ts-head-icon{animation:none!important}}
