
:root{
  --cream:#FBF3E7; --cream-2:#F3E6D2; --ink:#2E2A24; --navy:#233A5C; --navy-deep:#151F33;
  --coral:#E8734A; --coral-deep:#A74B2B; --gold:#E0A937; --teal:#3E8E82; --plum:#8A5A8C;
  --line:rgba(46,42,36,0.12); --radius-lg:28px; --radius-md:18px;
  /* deeper coral for white text on a solid fill -- --coral is 3.0:1, fails WCAG AA for normal text */
  --coral-btn:#CE491A; --coral-btn-shadow:#A93C15;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; font-family:'Nunito Sans', sans-serif; color:var(--ink); background:var(--cream); -webkit-font-smoothing:antialiased; overflow-x:clip;}
/* Screen-reader-only text. Mirrored from theme.css 4 Oct 2026 (11: keep the shared
   primitives in step). styles.css did not define it, so any .visually-hidden heading on
   its 28 pages rendered visibly - the same bug that was fixed in theme.css. */
.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;}
.skip-link{position:absolute; top:-100px; left:12px; z-index:1000; background:var(--ink); color:var(--cream); padding:12px 20px; border-radius:8px; font-weight:700; text-decoration:none; transition:top .15s ease;}
.skip-link:focus{top:12px;}
h1,h2,h3,.display{font-family:'Baloo 2', sans-serif; font-weight:700; margin:0;}
a{color:inherit; text-decoration:none;}
img,svg,video,canvas{display:block; max-width:100%; height:auto;}
button{font-family:inherit; cursor:pointer; border:none;}
ul{list-style:none; margin:0; padding:0;}
.wrap{max-width:1180px; margin:0 auto; padding:0 clamp(16px, 4vw, 28px);}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
  .js .reveal{opacity:1; transform:none; transition:none;}
}
.credit{font-size:.72rem; color:#6D6559; text-align:center; margin-top:6px;}

.reveal{opacity:1; transform:none;}
.js .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; transition-delay:var(--reveal-delay, 0s);}
.js .reveal.is-visible{opacity:1; transform:translateY(0);}

@supports (content-visibility: auto){
  .story,
  .room-grid,
  .peek-grid,
  .why-grid,
  .foot-grid{
    content-visibility:auto;
    contain-intrinsic-size:1px 640px;
  }
}

/* ---------- Header ---------- */
header{position:sticky; top:0; z-index:50; background:rgba(251,243,231,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line);}
.nav-row{display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:16px;}
.logo img{height:56px; width:auto;}
nav.primary-nav{display:flex; gap:24px; font-weight:700; font-size:.92rem; color:var(--navy); flex-wrap:wrap;}
nav.primary-nav a{opacity:.82; padding:6px 2px; border-bottom:2px solid transparent; transition:opacity .15s, border-color .15s;}
nav.primary-nav a:hover{opacity:1; border-color:var(--coral);}
.header-right{display:flex; align-items:center; gap:14px;}
/* Social icons + account button, added 4 Sep 2026 so the homepage header matches the other
   22 content pages. theme.css already had these; styles.css did not. Colours use this
   stylesheet's own tokens rather than theme.css's. */
.social-row{display:flex; gap:8px;}
.social-row a{width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--navy); color:var(--cream); transition:transform .2s ease, background .2s ease;}
.social-row a:hover{transform:translateY(-2px); background:var(--coral-btn);}
.social-row svg{width:16px; height:16px;}
.icon-btn{width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--cream-2); border:1px solid var(--line); color:var(--navy); transition:background .2s ease, transform .2s ease;}
.icon-btn:hover{background:var(--gold); transform:translateY(-2px);}
.icon-btn svg{width:16px; height:16px;}
.icon-btn svg circle, .icon-btn svg path{stroke:currentColor;}
/* current-page marker: theme.css had this, styles.css did not */
nav.primary-nav a[aria-current="page"]{opacity:1; color:var(--coral-deep); border-color:var(--coral);}
/* mirrors theme.css: social icons drop out on small screens so the header does not wrap */
@media (max-width:480px){
  .header-right .social-row{display:none;}
  .icon-btn{width:30px; height:30px;}
}
.btn{display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:999px; font-weight:800; font-size:.95rem;}
.btn-coral{background:var(--coral-btn); color:#fff; box-shadow:0 6px 0 var(--coral-btn-shadow); transition:transform .12s;}
.btn-coral:hover{transform:translateY(-2px);}
.btn-coral:active{transform:translateY(2px); box-shadow:0 2px 0 var(--coral-btn-shadow);}
.btn-ghost{border:2px solid var(--navy); color:var(--navy); background:transparent; font-weight:800;}
.btn-sm{padding:9px 18px; font-size:.82rem;}
.nav-toggle{display:none; background:none; border:none;}
@media (max-width:900px){
  .js nav.primary-nav{position:fixed; inset:64px 0 auto 0; height:calc(100vh - 64px); height:calc(100dvh - 64px); background:var(--cream); flex-direction:column; padding:30px 28px; gap:22px; clip-path:inset(0 0 0 100%); visibility:hidden; transition:clip-path .3s ease, visibility 0s linear .3s; overflow-y:auto; z-index:40; font-size:1.05rem;}
  .js nav.primary-nav.open{clip-path:inset(0); visibility:visible; transition:clip-path .3s ease, visibility 0s;}
  .js .nav-toggle{display:block;}
}

/* ---------- Hero ---------- */
.hero{position:relative; overflow:hidden; padding:56px 0 60px;}
.hero-inner{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; position:relative; z-index:2;}
.eyebrow{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); padding:7px 14px; border-radius:999px; font-weight:800; font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; color:var(--coral-deep);}
.hero h1{font-size:clamp(2.2rem,4.6vw,3.3rem); line-height:1.08; color:var(--navy); margin:18px 0 16px;}
.hero h1 span{color:#D76A44;}
.hero p{font-size:1.06rem; line-height:1.6; color:#4a4438; max-width:48ch; margin-bottom:26px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
.hero-step{font-weight:800; color:var(--navy); margin-bottom:14px;}   /* client line, now leading into the buttons */
.hero-art{position:relative; border-radius:32px; overflow:hidden; box-shadow:0 30px 60px -20px rgba(46,42,36,.35); z-index:2;}
.hero-art img{width:100%; height:380px; object-fit:cover; object-position:center 30%;}
.butterfly-layer{position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:1; opacity:1; visibility:visible; transition:opacity .2s ease, visibility .2s ease;}
.butterfly-layer.is-hidden{opacity:0; visibility:hidden;}
.butterfly{position:absolute; width:var(--size, 28px); height:auto; opacity:.95; filter:drop-shadow(0 8px 12px rgba(35,58,92,.16)); will-change:transform, opacity; z-index:2;}
.butterfly svg{width:100%; height:100%; display:block;}
.butterfly .left-wing,
.butterfly .right-wing{transform-box:fill-box; transform-origin:12px 8px; animation-duration:1.15s; animation-timing-function:ease-in-out; animation-iteration-count:infinite; animation-direction:alternate;}
.butterfly .left-wing{animation-name:butterfly-flap-left;}
.butterfly .right-wing{animation-name:butterfly-flap-right;}
@keyframes butterfly-flap-left{0%{transform:rotate(10deg) scale(.96);} 100%{transform:rotate(-20deg) scale(1.02);} }
@keyframes butterfly-flap-right{0%{transform:rotate(-10deg) scale(.96);} 100%{transform:rotate(20deg) scale(1.02);} }
@media (prefers-reduced-motion: reduce){.butterfly .left-wing, .butterfly .right-wing{animation:none;}}
@media (max-width:900px){ .hero-inner{grid-template-columns:1fr;} .hero-art{order:-1;} }

/* ---------- Bear cast strip ---------- */
.cast{padding:10px 0 54px;}
.cast-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:8px;}
.cast-head h2{font-size:1.5rem; color:var(--navy);}
.cast-head p{margin:0; color:#6b6252; font-weight:600; font-size:.92rem;}
.cast-scroll{display:flex; gap:16px; overflow-x:auto; padding:8px 2px 14px; scrollbar-width:thin;}
.cast-chip{flex:none; width:128px; text-align:center;}
.cast-avatar{width:104px; height:104px; border-radius:50%; margin:0 auto 8px; overflow:hidden; background:var(--cream-2); border:3px solid #fff; box-shadow:0 8px 16px -8px rgba(46,42,36,.35); position:relative;}
.cast-avatar img{width:100%; height:100%; object-fit:cover; object-position:top center;}
.cast-avatar.placeholder{display:flex; align-items:center; justify-content:center; font-family:'Baloo 2'; font-weight:800; color:#fff; font-size:1.6rem;}
.cast-avatar.coming-soon{font-size:2.1rem; opacity:.85;}
.cast-chip span{font-size:.78rem; font-weight:800; color:var(--navy); display:block;}
.cast-chip small{font-size:.66rem; color:#6D6559; font-weight:700; text-transform:uppercase; letter-spacing:.02em;}
.cast-chip q{display:block; font-size:.7rem; color:#6D6559; font-style:italic; margin-top:2px; line-height:1.3; min-height:2.4em;}

/* ---------- Whispering Woods interactive scene ---------- */
.ww-scene{position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 30px 60px -24px rgba(46,42,36,.35);}
.ww-scene img{width:100%; height:auto; display:block;}
.ww-hotspots{position:absolute; inset:0;}
.ww-hotspot{position:absolute; background:rgba(255,255,255,0); border:2px solid rgba(255,255,255,0); border-radius:16px; cursor:pointer; transition:background .2s ease, border-color .2s ease;}
.ww-hotspot:hover{background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.65); outline:none;}
/* Keyboard focus must be easy to see over the busy picture (WCAG 2.4.7 / 2.4.11): white ring + navy halo. */
.ww-hotspot:focus-visible{background:rgba(255,255,255,.18); border-color:#fff; outline:3px solid #fff; outline-offset:0; box-shadow:0 0 0 6px var(--navy);}
.ww-modal{position:fixed; inset:0; background:rgba(21,31,51,.6); backdrop-filter:blur(3px); display:flex; align-items:center; justify-content:center; padding:24px; z-index:200; opacity:0; pointer-events:none; transition:opacity .25s ease;}
.ww-modal.open{opacity:1; pointer-events:auto;}
.ww-modal-card{background:var(--cream); border-radius:28px; padding:32px; max-width:340px; width:100%; text-align:center; position:relative; box-shadow:0 40px 80px -30px rgba(0,0,0,.5); transform:scale(.92); transition:transform .25s ease;}
.ww-modal.open .ww-modal-card{transform:scale(1);}
.ww-modal-close{position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; background:#fff; border:1px solid var(--line); font-size:1.3rem; line-height:1; color:var(--navy); display:flex; align-items:center; justify-content:center;}
.ww-modal-img{width:120px; height:120px; border-radius:50%; overflow:hidden; margin:0 auto 16px; border:4px solid #fff; box-shadow:0 10px 20px -8px rgba(46,42,36,.4);}
.ww-modal-img img{width:100%; height:100%; object-fit:cover; object-position:top center;}
.ww-modal-card h3{color:var(--navy); font-size:1.3rem; margin-bottom:4px;}
.ww-modal-role{color:var(--coral-deep); font-weight:800; font-size:.8rem; text-transform:uppercase; letter-spacing:.03em; margin-bottom:10px;}
.ww-modal-quote{color:#584f40; font-style:italic; font-size:.95rem; line-height:1.5;}

/* ---------- Section shell ---------- */
section{padding:64px 0;}
.section-head{max-width:640px; margin:0 auto 34px; text-align:center;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h1, .section-head h2{font-size:clamp(1.7rem,3vw,2.3rem); color:var(--navy); margin-bottom:10px;}
.section-head p{color:#584f40; line-height:1.6; font-size:1.02rem;}
/* club.html intro (page created 4 Sep 2026 - club material moved off the homepage) */
.page-intro{padding:44px 0 8px; text-align:center;}
.page-intro h1{font-size:clamp(1.9rem,4vw,2.7rem); color:var(--navy); margin-bottom:12px;}
.page-intro p{max-width:62ch; margin:0 auto; color:#584f40; line-height:1.65; font-size:1.04rem;}
.light-band{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

/* Our story */
.story{display:grid; grid-template-columns:.85fr 1.15fr; gap:44px; align-items:center;}
.story-imgs{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.story-imgs img{border-radius:22px; object-fit:cover; height:230px; width:100%; box-shadow:0 16px 30px -16px rgba(46,42,36,.3);}
.story-imgs img:first-child{grid-row:1/3; height:100%;}
.story h2{color:var(--navy); font-size:1.9rem; margin-bottom:14px;}
.story p{color:#4a4438; line-height:1.65; margin-bottom:14px;}
.story ul{margin:0 0 18px; padding-left:20px; color:#4a4438; line-height:1.7; list-style:disc;}
.story-social-card{margin-top:18px; display:grid; grid-template-columns:140px 1fr; gap:14px; align-items:center; padding:14px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(135deg, #fffaf2, #fff); box-shadow:0 16px 32px -22px rgba(46,42,36,.3);}
.story-social-media img{width:100%; height:120px; object-fit:cover; object-position:center; border-radius:14px; display:block;}
.story-social-body h3{font-size:1.05rem; color:var(--navy); margin:2px 0 6px;}
.story-social-body p{margin:0 0 10px; font-size:.93rem; color:#4a4438;}
.story-social-stats{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px;}
.story-social-stats span{display:inline-block; padding:6px 10px; border-radius:999px; background:#f7efe0; color:#6b5e41; font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.02em;}
.story-social-body .btn{margin-top:2px;}
@media (max-width:820px){ .story{grid-template-columns:1fr;} .story-imgs img:first-child{height:230px;} .story-social-card{grid-template-columns:1fr;} .story-social-media img{height:160px;} }

/* Room cards grid */
.room-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px;}
.room-card{background:var(--cream); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px 18px; display:flex; flex-direction:column; gap:10px; transition:transform .15s, box-shadow .15s, border-color .15s;}
.room-card:hover{transform:translateY(-4px); box-shadow:0 14px 26px -14px rgba(46,42,36,.28); border-color:transparent;}
.room-card.soon{opacity:.72; cursor:default;}
.room-ic{width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; color:#fff;}
.room-card h3{font-size:1.02rem; color:var(--navy);}
.room-card p{margin:0; font-size:.86rem; color:#665c4c; line-height:1.45;}

/* ---------- Door section ---------- */
.door-section{position:relative; background:linear-gradient(180deg, var(--cream) 0%, #efe0c8 100%); text-align:center;}
.doorway{position:relative; width:min(220px, 70vw); aspect-ratio:11 / 15; height:auto; margin:0 auto 20px; perspective:1400px;}
.doorway::before{content:""; position:absolute; inset:auto 18px 8px 18px; height:22px; background:radial-gradient(ellipse at center, rgba(0,0,0,.26), transparent 70%); filter:blur(8px); opacity:.8; pointer-events:none;}
.frame{position:absolute; inset:-14px -14px 0 -14px; border-radius:110px 110px 10px 10px; background:linear-gradient(180deg,#6b4a30,#4a3220); box-shadow:0 24px 40px -18px rgba(20,14,8,.5);}
.glow{position:absolute; inset:6px; border-radius:100px 100px 4px 4px; background:radial-gradient(circle at 50% 35%, #ffe9b8, #e0a937 70%); opacity:0; transition:opacity .55s ease .2s, transform .8s ease; transform:scale(.98);}
.doorway.open .glow{opacity:1; transform:scale(1.01);}
.door{position:absolute; inset:6px; border-radius:100px 100px 4px 4px; background:linear-gradient(160deg,#7a5335,#5b3c24 60%,#4a3220); transform-origin:left center; transform:rotateY(0deg); transform-style:preserve-3d; overflow:hidden; transition:transform 1.1s cubic-bezier(.2,.75,.25,1), box-shadow .45s ease, filter .45s ease; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 6px rgba(0,0,0,.18), inset 0 0 30px rgba(0,0,0,.25); appearance:none; -webkit-appearance:none; border:0; padding:0; color:inherit;}
.door:focus-visible{outline:3px solid var(--coral); outline-offset:4px;}
.door::before{content:""; position:absolute; inset:0; background:linear-gradient(130deg, rgba(255,246,222,.25) 0%, rgba(255,246,222,0) 24%, rgba(0,0,0,.08) 100%); pointer-events:none;}
.door::after{content:""; position:absolute; inset:12px 14px 18px 14px; border:1px solid rgba(255,255,255,.18); border-radius:92px 92px 6px 6px; pointer-events:none;}
.doorway.open .door{transform:perspective(1400px) rotateY(-118deg) translateX(10px); box-shadow:inset 0 0 0 6px rgba(0,0,0,.18), inset 0 0 30px rgba(0,0,0,.28), -16px 12px 36px -20px rgba(20,14,8,.4); filter:drop-shadow(0 16px 22px rgba(20,14,8,.18));}
.door .panel{position:absolute; border:3px solid rgba(255,255,255,.14); border-radius:14px; transition:transform .55s ease, opacity .55s ease;}
.door .panel.top{top:16%; left:14%; right:14%; height:32%;}
.door .panel.bottom{bottom:12%; left:14%; right:14%; height:32%;}
.doorway.open .door .panel{opacity:.95;}
.doorway.open .door .panel.top{transform:translateY(-4px) translateX(2px);}
.doorway.open .door .panel.bottom{transform:translateY(4px) translateX(2px);}
.door .knob{position:absolute; right:14px; top:50%; width:14px; height:14px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(224,169,55,.25); transition:transform .45s ease, box-shadow .45s ease;}
.doorway.open .door .knob{transform:scale(1.16); box-shadow:0 0 0 4px rgba(224,169,55,.25), 0 0 12px rgba(224,169,55,.35);}
.door .plaque{position:absolute; top:26px; left:50%; transform:translateX(-50%); background:var(--gold); color:#3a2a10; font-family:'Baloo 2'; font-weight:800; font-size:.72rem; padding:5px 10px; border-radius:8px; white-space:nowrap; box-shadow:0 2px 4px rgba(0,0,0,.25); transition:transform .45s ease, box-shadow .45s ease;}
.doorway.open .door .plaque{transform:translateX(-50%) translateY(-3px); box-shadow:0 4px 8px rgba(0,0,0,.2);}
.door-caption{font-weight:800; color:var(--navy); font-size:1.02rem; margin-top:6px;}
.door-sub{color:#6b6252; font-size:.9rem; margin-top:4px;}
.door-welcome-img{max-width:420px; width:100%; margin:28px auto 0; border-radius:24px; overflow:hidden; box-shadow:0 20px 40px -22px rgba(46,42,36,.4);}
.door-welcome-img img{width:100%; height:auto; display:block;}
/* Reveal behind the clubhouse door. Was `max-height:0 -> 2400px`, which silently CLIPPED the
   content: at one column (phones) the 14 room cards plus heading and CTA come to ~2570px, so
   the last card and the "Join the club" button were cut off with no scrollbar to reach them.
   grid-template-rows 0fr -> 1fr animates to the element's natural height instead, so it can
   never be capped no matter how many rooms are added. */
.members-preview{display:grid; grid-template-rows:0fr; overflow:hidden; opacity:0;
  transition:grid-template-rows .7s ease, opacity .6s ease .1s;}
.members-preview.show{grid-template-rows:1fr; opacity:1;}
.members-preview > *{min-height:0;}

/* ---------- Clubhouse map (member-rooms.html) + individual room pages, 4 Sep 2026 ----------
   Drawn in CSS so it needs no artwork and stays a real list of links: tabbable, readable by
   screen readers, translatable. Swappable for hotspots over an illustration later. */
.clubhouse-map{background:linear-gradient(180deg,var(--cream-2) 0%,var(--cream) 60%); padding:52px 0 64px;}
.cm-grid{list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:22px 20px;}
.cm-room a{display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:10px; text-decoration:none; padding:10px 6px 16px; border-radius:var(--radius-md);
  transition:transform .18s ease;}
.cm-room a:hover{transform:translateY(-5px);}
.cm-room a:focus-visible{outline:3px solid var(--gold); outline-offset:4px;}

/* the door itself */
.cm-door{width:92px; height:118px; border-radius:46px 46px 8px 8px; position:relative;
  background:linear-gradient(180deg,#8a5a33,#6d452663); background-color:#7d5130;
  border:3px solid #5b3a22; box-shadow:inset 0 -8px 16px -8px rgba(0,0,0,.5), 0 10px 20px -12px rgba(46,42,36,.6);
  display:flex; align-items:center; justify-content:center;}
.cm-door::after{content:""; position:absolute; right:11px; top:50%; width:9px; height:9px;
  border-radius:50%; background:var(--gold); box-shadow:0 0 0 2px rgba(0,0,0,.25);}
.cm-icon{font-size:2rem; line-height:1; filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));}
.cm-room a:hover .cm-door{background-color:#8d5c36;}

.cm-label{font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1rem; color:var(--navy); line-height:1.2;}
.cm-blurb{font-size:.82rem; line-height:1.45; color:#6f6455; max-width:22ch;}
.cm-note{margin-top:34px; text-align:center; font-size:.88rem; color:#6f6455;}

/* breadcrumb + back link on each room page */
.room-crumb{display:flex; gap:8px; align-items:center; padding-top:20px;
  font-size:.82rem; color:#6f6455;}
.room-crumb a{color:var(--coral-deep); font-weight:700; text-decoration:none; display:inline-block; padding:4px 0;}   /* 26px tap height (WCAG 2.5.8) */
.room-crumb a:hover{text-decoration:underline;}
.room-foot{padding:8px 0 56px;}

@media (max-width:520px){
  .cm-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:18px 14px;}
  .cm-door{width:76px; height:98px;}
  .cm-icon{font-size:1.7rem;}
}
.members-inner{background:var(--navy-deep); border-radius:32px; margin-top:40px; padding:48px 32px; position:relative; overflow:hidden;}
.members-inner::before{content:""; position:absolute; inset:0; background:radial-gradient(circle at 20% 0%, rgba(224,169,55,.18), transparent 55%),radial-gradient(circle at 80% 100%, rgba(62,142,130,.18), transparent 55%); pointer-events:none;}
.members-inner .section-head h2, .members-inner .section-head p{color:var(--cream);}
.members-inner .section-head p{color:#c7cfdd;}
.members-inner .eyebrow{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:var(--gold);}
.mroom{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius-md); padding:20px 18px; color:var(--cream); position:relative; display:block; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
.mroom:hover{transform:translateY(-3px); border-color:rgba(255,255,255,.22); box-shadow:0 14px 26px -16px rgba(0,0,0,.35);}
.mroom:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
.mroom .lock{position:absolute; top:16px; right:16px; font-size:1rem; opacity:.55;}
.mroom h3{font-size:.98rem; margin-bottom:6px; color:#fff;}
.mroom p{margin:0; font-size:.83rem; color:#b9c2d4; line-height:1.4;}
.door-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:12px;}
.door-tile{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; aspect-ratio:1; background:var(--cream); border:1px solid var(--line); border-radius:var(--radius-md); transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
.door-tile .day{font-family:'Baloo 2', sans-serif; font-weight:800; font-size:1.3rem; color:var(--navy); opacity:.7;}
.door-tile .lock{font-size:1.1rem; opacity:.55;}
.door-tile.unlocked{background:#fff; border-color:var(--coral); box-shadow:0 14px 26px -18px rgba(46,42,36,.35);}
.door-tile.unlocked .day{color:var(--coral-deep); opacity:1;}
.door-tile.unlocked .lock{opacity:1;}
.door-tile.unlocked:hover{transform:translateY(-3px);}
.door-tile .door-name{font-family:'Baloo 2', sans-serif; font-weight:700; font-size:.72rem; line-height:1.15; text-align:center; color:var(--coral-deep); padding:0 4px; overflow-wrap:anywhere;}
.door-tile .door-name:empty{display:none;}
.door-tile .door-art{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; opacity:0; transition:opacity .35s ease;}
.door-tile.unlocked .door-art{opacity:1;}
.door-tile.unlocked .day,.door-tile.unlocked .lock{position:relative; z-index:2; text-shadow:0 1px 3px rgba(255,255,255,.9);}
.door-tile.unlocked .door-name{position:relative; z-index:2; background:rgba(255,255,255,.88); border-radius:6px; padding:2px 5px;}
.join-cta{text-align:center; margin-top:36px; position:relative;}

/* Non-member rooms */
.peek-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:14px;}
.peek-card{background:#fff; border:1px dashed var(--line); border-radius:var(--radius-md); padding:18px; text-align:center;}
.peek-card:hover{transform:translateY(-3px); box-shadow:0 12px 22px -16px rgba(46,42,36,.3);}
.peek-card.soon{opacity:.72; cursor:default;}
.peek-card .tag{display:inline-block; background:var(--cream-2); color:var(--coral-deep); font-weight:800; font-size:.68rem; text-transform:uppercase; letter-spacing:.03em; padding:3px 9px; border-radius:999px; margin-bottom:10px;}
.peek-card h3{font-size:.94rem; color:var(--navy);}
/* "Enjoy a Taste of Whispering Woods" free-treats block (client copy, 4 Sep 2026).
   Reuses .peek-grid/.peek-card so the treats read as the same kind of "free" card
   as the taster rooms, rather than introducing a third card style. */
.treats-lead{text-align:center; max-width:640px; margin:0 auto 18px; font-weight:800;
  color:var(--navy); font-size:1.02rem;}
.treats-close{text-align:center; max-width:680px; margin:24px auto 0; color:#584f40;
  line-height:1.6; font-size:1.02rem;}

/* ---- 15 reasons to join (ported from demo/demo-why-join.html, 4 Sep 2026) ----
   The five "deep" accents below are the ones used for heading text and the white numerals.
   styles.css's own --coral/--gold/--teal sit at 2.1:1-3.9:1 on white and fail WCAG AA, so
   they are used here only for borders and tints. All five below pass at 4.5:1 or better. */
.reason-grid{--ra1:#CE491A; --ra2:#946609; --ra3:#2F6E64; --ra4:#7A4A7C; --ra5:#233A5C;
  list-style:none; margin:0; padding:0; counter-reset:reason;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(258px,1fr)); gap:20px;}
.reason{counter-increment:reason; position:relative; background:#fff; border:1px solid var(--line);
  border-top:5px solid var(--rac,var(--ra1)); border-radius:var(--radius-md);
  padding:26px 22px 22px; display:flex; flex-direction:column; gap:10px;}
.reason::before{content:counter(reason); position:absolute; top:-16px; left:22px;
  width:34px; height:34px; border-radius:50%; background:var(--rac,var(--ra1)); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.02rem; border:3px solid #fff;}
.reason h3{color:var(--rac,var(--ra1)); font-size:1.02rem; line-height:1.25; margin-top:6px;
  text-transform:uppercase; letter-spacing:.01em;}
.reason p{margin:0; font-size:.94rem; line-height:1.6; color:#584f40;}
.reason .ico{font-size:1.7rem; line-height:1; margin-top:auto; padding-top:8px;}
.reason:nth-child(5n+1){--rac:var(--ra1);} .reason:nth-child(5n+2){--rac:var(--ra2);}
.reason:nth-child(5n+3){--rac:var(--ra3);} .reason:nth-child(5n+4){--rac:var(--ra4);}
.reason:nth-child(5n+5){--rac:var(--ra5);}
.room-chips{list-style:none; margin:4px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:7px;}
.room-chips li{background:rgba(47,110,100,.10); color:#2F6E64; border:1px solid rgba(47,110,100,.25);
  border-radius:999px; padding:5px 11px; font-size:.74rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.02em;}

/* Why join */
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.why-card{background:var(--cream); border-radius:var(--radius-md); padding:24px; border:1px solid var(--line);}
.why-card .num{font-family:'Baloo 2'; font-weight:800; color:var(--coral); font-size:1.3rem; margin-bottom:8px;}
.why-card h3{color:var(--navy); font-size:1.05rem; margin-bottom:6px;}
.why-card p{margin:0; color:#665c4c; font-size:.9rem; line-height:1.5;}
@media (max-width:800px){ .why-grid{grid-template-columns:1fr;} }

/* Shop teaser */
.shop-band{background:linear-gradient(120deg,var(--coral),var(--coral-deep)); border-radius:32px; color:#fff; padding:48px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.shop-band h2{color:#fff; font-size:1.8rem; margin-bottom:8px;}
.shop-band p{color:#ffe4d6; margin:0; max-width:50ch;}
/* Shop artwork in the homepage shop band (added 4 Sep 2026). Source is only 509x407, so it is
   capped at its natural width - scaling it up would look soft. */
.shop-band-img{flex:0 0 auto; display:block; max-width:320px; width:100%;
  border-radius:18px; overflow:hidden; box-shadow:0 18px 34px -18px rgba(0,0,0,.45);
  transition:transform .2s ease;}
.shop-band-img:hover{transform:translateY(-3px);}
.shop-band-img img{width:100%; height:auto; display:block;}
@media (max-width:640px){ .shop-band-img{max-width:100%;} }

/* Footer */
footer{background:var(--navy-deep); color:#c7cfdd; padding:56px 0 26px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:40px;}
.foot-grid h2, .foot-grid h3, .foot-grid h4{color:#fff; font-family:'Baloo 2'; font-size:1rem; margin-bottom:14px;}
.foot-grid ul{display:flex; flex-direction:column; gap:9px; font-size:.88rem;}
.foot-grid ul a{opacity:.82; transition:opacity .15s;}
.foot-grid ul a:hover{opacity:1; color:var(--gold);}
.foot-logo img{height:40px; width:auto; max-width:140px; margin-bottom:12px;}
.socials{display:flex; gap:10px; margin-top:16px;}
.socials a{width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .15s;}
.socials a:hover{background:var(--coral);}
.socials svg{width:16px; height:16px; fill:#fff;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; justify-content:space-between; font-size:.8rem; flex-wrap:wrap; gap:10px; color:#8a92a6;}
.footer-credit{opacity:.95;}
@media (max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr;} }

@media (max-width:640px){
  section{padding:48px 0;}
  .btn{padding:10px 16px; font-size:.88rem;}
  .btn-sm{padding:8px 12px; font-size:.78rem;}
  .hero{padding:40px 0 44px;}
  .hero-art img{height:clamp(220px, 55vw, 320px);}
  .members-inner{padding:32px 18px;}
  .shop-band{padding:30px 22px; border-radius:24px;}
  .foot-grid{grid-template-columns:1fr;}
}

@media (max-width:480px){
  .wrap{padding:0 14px;}
  .nav-row, .header-inner{gap:10px;}
  .logo img{height:46px;}
  nav.primary-nav{font-size:.84rem; gap:14px;}
  .header-right{gap:8px; flex-wrap:wrap; justify-content:flex-end;}
  .header-right .btn{padding:8px 12px; font-size:.76rem;}
  .hero h1{font-size:clamp(1.7rem,8vw,2.2rem);}
  .hero p{font-size:.95rem;}
  .hero-ctas{gap:10px;}
  .room-grid, .peek-grid{grid-template-columns:1fr;}
  .members-inner{padding:24px 14px;}
  .foot-bottom{font-size:.72rem;}
  .page-shell, .taster, .page-intro{padding:28px 0 40px !important;}
  .feature-card, .taster-card, .content-card{padding:18px !important; border-radius:16px !important;}
  .feature-list, .preview-grid, .room-index-grid{grid-template-columns:1fr !important;}
   .page-intro h1, .feature-card h1, .taster-card h1{font-size:clamp(1.55rem,8vw,2rem) !important;}
  .door .plaque{white-space:normal; max-width:80%; font-size:.62rem; line-height:1.1; padding:4px 6px;}
  .story-social-stats span{font-size:.68rem; padding:5px 8px;}
}

@media (min-width:900px) and (max-width:1200px) and (orientation:landscape){
  .wrap{padding:0 22px;}
  nav.primary-nav{gap:16px; font-size:.86rem;}
  .hero-inner{gap:28px;}
  .shop-band{padding:40px 30px;}
  .room-index-grid{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
  .feature-list{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
}

/* ---------- Club page items 01-04 (club.html, 10 Oct 2026) ---------- */
.club-welcome-grid{display:grid; grid-template-columns:1fr 1.6fr; gap:22px; align-items:start;}
.club-panel{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:26px;}
.club-panel h3{color:var(--navy); font-size:1.35rem; margin-bottom:10px;}
.club-panel p{color:#584f40; line-height:1.65; margin:0 0 12px;}
.club-panel-links{display:flex; flex-wrap:wrap; gap:10px;}
.club-panel-founder{display:grid; grid-template-columns:170px 1fr; gap:22px; align-items:start;}
.club-badge{width:170px;}
.club-ticks{margin:0 0 14px; display:grid; gap:8px;}
.club-ticks li{position:relative; padding-left:28px; line-height:1.5;}
.club-ticks li::before{content:"\2665"; position:absolute; left:4px; top:0; color:var(--coral-deep);}
.club-everyone{font-family:'Baloo 2', sans-serif; font-size:1.3rem; font-weight:700; color:var(--navy); margin:0 0 6px;}
.club-welcome .join-cta p{margin:0 0 16px;}
.club-sheet{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:34px; align-items:start;}
.club-sheet figure, .club-rooms-img{margin:0;}
.club-sheet img, .club-rooms-img img{border-radius:var(--radius-md); box-shadow:0 18px 34px -24px rgba(46,42,36,.45);}
.club-sheet-text h3{color:var(--navy); font-size:1.25rem; margin:20px 0 10px;}
.club-sheet-text p{line-height:1.65; margin:0 0 10px;}
.club-price{font-family:'Baloo 2', sans-serif; font-size:1.7rem; font-weight:800; color:var(--coral-deep);}
.club-form{max-width:720px; margin:0 auto; display:grid; gap:22px;}
.club-form fieldset{border:0; margin:0; padding:0; display:grid; gap:14px; min-width:0;}
.club-form > fieldset > legend{font-family:'Baloo 2', sans-serif; font-weight:700; font-size:1.2rem; color:var(--navy); padding:0; margin-bottom:4px;}
.club-form .cf-choices legend{font-weight:800; font-size:.95rem; color:var(--ink); padding:0; margin-bottom:2px;}
.club-form .cf-choices{gap:8px;}
.cf-field{display:grid; gap:6px;}
.cf-field label{font-weight:800; font-size:.95rem;}
.cf-req{font-weight:600; color:#6b604e; font-size:.85rem;}
.cf-field input, .cf-field select{font:inherit; font-size:1rem; padding:12px 14px; border:1px solid rgba(46,42,36,.35); border-radius:12px; background:#fff; color:var(--ink); min-height:48px; width:100%; max-width:100%;}
.cf-choices label, .cf-check{display:flex; gap:10px; align-items:flex-start; line-height:1.5; cursor:pointer;}
.cf-choices input, .cf-check input{width:20px; height:20px; margin:2px 0 0; flex:none; accent-color:var(--coral-btn);}
.club-form input:focus-visible, .club-form select:focus-visible, .club-form button:focus-visible, .club-form a:focus-visible{outline:3px solid var(--navy); outline-offset:2px;}
.cf-hint{margin:0; font-size:.88rem; color:#6b604e; line-height:1.5;}
.cf-safe{margin:0; padding:12px 14px; background:var(--cream); border-radius:12px; line-height:1.55;}
.cf-wall{display:grid; gap:12px; padding:14px; background:var(--cream); border-radius:12px;}
.club-form a{color:var(--navy); font-weight:700; text-decoration:underline;}
.club-form .btn{justify-self:start;}
.cf-status{margin:0; font-weight:800; color:#2F6B61;}
.cf-status:empty, .club-form [hidden]{display:none;}
.cf-status.is-shown{padding:12px 14px; background:#E6F2EF; border-radius:12px;}
.club-rooms-img{max-width:820px; margin:0 auto;}
@media (max-width:860px){
  .club-welcome-grid, .club-sheet{grid-template-columns:1fr;}
  .club-sheet figure{max-width:460px; margin:0 auto;}
}
@media (max-width:520px){
  .club-panel-founder{grid-template-columns:1fr; justify-items:center;}
  .club-panel-founder > div{justify-self:stretch;}
  .club-badge{width:150px;}
}

/* Shop links (data-shop-hidden) are SHOWN again from 27 Oct 2026 (Jonathan): the shop page is a
   preview of what goes on sale on 1 Nov. The attribute is kept on the links in case they ever need
   hiding again: add back [data-shop-hidden]{display:none !important;} here AND in theme.css. */
/* WordPress-only / Netlify-only blocks. build-wordpress.py removes data-wp-only from the WordPress
   copy, and wp.css hides data-netlify-only there. */
[data-wp-only]{display:none !important;}
/* Dated releases (taster treat batches): hidden until script.js adds .is-released on the day.
   Only with JS on, so the content is never lost if the script fails to load. */
.js [data-release]:not(.is-released), .js [data-until].is-expired{display:none;}
/* Button row used by the 1 Nov switch-over (Club page, Members' Area) */
.members-cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:22px;}
.section-head .members-cta{justify-content:center;}
.cf-status.is-error{color:#8a2c0d; background:#FCE9E2;}
.nf-honeypot{display:none;}

/* Home-page strip: bears revealed behind the doors replace "Coming Soon" stars (12 Oct 2026) */
.cast-chip--new .cast-avatar{border-color:var(--gold);}
.cast-chip--new .cast-avatar img{object-position:center 28%;}
a.cast-chip:focus-visible{outline:3px solid var(--navy); outline-offset:4px; border-radius:12px;}

/* Members' rooms: printables grid (2 Nov 2026) - activities, crafting, learning rooms */
.pr-group{margin-top:34px; padding:0;}
.pr-group > h2{font-size:1.3rem; color:var(--navy); margin:0 0 4px;}
.pr-group > p{margin:0 0 14px; color:#584f40; max-width:64ch;}
.pr-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:16px; list-style:none; margin:0; padding:0;}
.pr-item{display:flex; flex-direction:column; background:var(--cream); border:1px solid var(--line); border-radius:16px; padding:10px; margin:0;}
.pr-shot{display:block; aspect-ratio:3/4; background:#fff; border:1px solid var(--line); border-radius:10px; overflow:hidden;}
.pr-shot img{width:100%; height:100%; object-fit:contain; display:block;}
.pr-item h3{font-size:.92rem; color:var(--navy); margin:10px 0 2px; line-height:1.3;}
.pr-item p{font-size:.8rem; color:#665c4c; margin:0; line-height:1.45;}
.pr-code{display:block; font-size:.68rem; color:#6D6559; letter-spacing:.03em; margin-top:4px;}
.pr-item .pr-dl{margin-top:auto; padding-top:10px;}
.pr-dl a{display:inline-block; font-weight:800; font-size:.8rem; color:#fff; background:var(--coral-btn); padding:7px 13px; border-radius:999px; text-decoration:none;}
.pr-dl a:hover{background:var(--coral-deep);}
.pr-dl a:focus-visible{outline:3px solid var(--navy); outline-offset:2px;}
.pr-item .pr-code{font-size:.68rem; color:#6D6559;}
.pr-grid--wide{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));}
.pr-shot--wide{aspect-ratio:5/4;}
.pr-banner{display:block; width:100%; max-width:640px; height:auto; border-radius:18px; margin:0 0 18px; border:1px solid var(--line);}
.pr-steps{margin-top:18px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px 18px; max-width:72ch;}
.pr-steps summary{font-weight:800; color:var(--navy); cursor:pointer; min-height:24px;}
.pr-steps ol{padding-left:1.3em; margin:10px 0;}
.pr-steps li, .pr-steps p{font-size:.92rem; line-height:1.55; margin:6px 0;}
@media (max-width:420px){ .pr-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;} .pr-item h3{font-size:.84rem;} }
@media (max-width:560px){ .pr-grid.pr-grid--wide{grid-template-columns:1fr;} }

/* Languages room songs + "coming" notes on rooms that wait for the nickname system (2 Nov 2026) */
.lang-sub{font-size:1.25rem; color:var(--navy); margin:28px 0 6px;}
.lang-songs{list-style:none; margin:10px 0 0; padding:0; display:grid; gap:10px; max-width:640px;}
.lang-songs li{display:grid; grid-template-columns:minmax(150px,200px) 1fr; align-items:center; gap:12px; background:var(--cream); border:1px solid var(--line); border-radius:14px; padding:8px 12px;}
.lang-songs span{font-weight:800; color:var(--navy);}
.lang-songs audio{width:100%; min-width:0;}
@media (max-width:520px){ .lang-songs li{grid-template-columns:1fr;} }
.room-soon{margin-top:26px; background:var(--cream); border:1px dashed var(--line); border-radius:18px; padding:16px 20px;}
.room-soon h2{font-size:1.2rem; color:var(--navy); margin:0 0 6px;}
.room-soon p{margin:6px 0;}

/* Kindness Missions checklist (missions-room.html, 2 Nov 2026) */
.km{margin-top:18px;}
.km-progress{font-weight:800; color:var(--navy); margin:0 0 12px; min-height:1.5em;}
.km-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px;}
.km-tick{position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:4px; width:100%; height:100%; min-height:132px; padding:14px 14px 12px; text-align:left; font:inherit; color:var(--ink,#2e2a24); background:#fff; border:2px solid var(--line); border-radius:18px; cursor:pointer; transition:background .2s, border-color .2s;}
.km-tick:hover{border-color:var(--coral);}
.km-tick:focus-visible{outline:3px solid var(--navy); outline-offset:3px;}
.km-emoji{font-size:1.8rem; line-height:1;}
.km-tick strong{color:var(--navy); font-size:1rem;}
.km-text{font-size:.88rem; line-height:1.4; color:#584f40;}
.km-state{margin-top:auto; padding-top:8px; font-size:.78rem; font-weight:800; color:#6D6559;}
.km-tick[aria-pressed="true"]{background:#EAF6EE; border-color:#2E7D4F;}
.km-tick[aria-pressed="true"] .km-state{color:#1F6B3F;}
.km-tick[aria-pressed="true"]::after{content:"✓"; position:absolute; top:10px; right:12px; width:30px; height:30px; border-radius:50%; background:#2E7D4F; color:#fff; font-weight:900; display:grid; place-items:center;}
.km-note{display:none; margin-top:14px; font-weight:800; color:#1F6B3F;}
.km.is-all-done .km-note{display:block;}
@media (prefers-reduced-motion:reduce){ .km-tick{transition:none;} }
@media (max-width:420px){ .km-list{grid-template-columns:1fr 1fr; gap:8px;} .km-tick{min-height:120px; padding:12px 10px;} }
/* Kindness Wheel (missions-room.html, 4 Nov 2026) - script.js builds it; uses the .km-* cards above */
.kw{margin-top:18px;}
.kw-head{text-align:center; margin-bottom:6px;}
.kw-theme{margin:0; font-weight:900; font-size:1.25rem; color:var(--navy);}
.kw-next{margin:4px 0 0; font-size:.9rem; color:#584f40;}
.kw-stage{display:flex; flex-direction:column; align-items:center; gap:14px; margin:14px 0 8px;}
.kw-wheel{width:min(320px,82vw); height:auto; display:block; filter:drop-shadow(0 14px 22px rgba(46,42,36,.25));}
.kw-spinner{transform-box:view-box; transform-origin:0 0;}
.kw-seg-emoji{font-size:30px; text-anchor:middle; dominant-baseline:central;}
.kw-wheel .is-done path{opacity:.35;}
.kw-wheel .is-done .kw-seg-emoji{opacity:.35;}
.kw-hub{fill:#fff; stroke:var(--navy); stroke-width:4;}
.kw-hub-text{font-size:24px; text-anchor:middle; dominant-baseline:central;}
.kw-pointer{fill:var(--navy); stroke:#fff; stroke-width:3; stroke-linejoin:round;}
.kw-spin{font-size:1.05rem; padding:14px 26px;}
.kw-spin:disabled{opacity:.7; cursor:default;}
.kw-controls{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px;}
.kw-playing{margin:0; font-size:.88rem; font-weight:700; color:var(--plum,#8A5A8C);}
.kw-result{display:flex; gap:16px; align-items:center; margin:8px auto 22px; max-width:560px; padding:16px 18px; background:var(--cream); border:2px solid var(--coral); border-radius:20px;}
.kw-result-bear{width:88px; height:88px; flex:none; border-radius:50%; object-fit:cover; background:#fff; border:3px solid #fff; box-shadow:0 8px 16px -10px rgba(46,42,36,.5);}
.kw-result-kicker{margin:0; font-size:.85rem; font-weight:800; color:var(--coral-deep);}
.kw-result-title{margin:2px 0 4px; font-size:1.3rem; color:var(--navy);}
.kw-result-title:focus{outline:none;}
.kw-result-text{margin:0; color:#4a4438; line-height:1.5;}
.kw-result-actions{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px;}
.kw-list-head{margin:20px 0 6px; font-size:1.1rem; color:var(--navy);}
.kw-card-top{display:flex; align-items:center; justify-content:space-between; width:100%;}
.kw-guide{width:40px; height:40px; border-radius:50%; object-fit:cover; background:var(--cream); border:2px solid #fff; box-shadow:0 4px 10px -6px rgba(46,42,36,.5);}
.km-tick[aria-pressed="true"] .kw-guide{margin-right:34px;}
.kw-by{font-size:.76rem; font-weight:700; color:#6D6559;}
.kw-print{margin-top:16px;}
@media (max-width:480px){
  .kw-result{flex-direction:column; text-align:center;}
  .kw-result-actions{justify-content:center;}
}
/* Printable Kindness Missions sheet: exactly one A4 side (script.js builds .kw-printsheet) */
.kw-printsheet{display:none;}
@media print{
  @page{size:A4 portrait; margin:10mm;}
  html, body.kw-print-page{background:#fff !important; margin:0 !important; padding:0 !important;}
  body.kw-print-page > :not(.kw-printsheet){display:none !important;}
  body.kw-print-page .kw-printsheet{display:block; width:190mm; margin:0; padding:0; color:#233A5C; font-family:"Nunito Sans",system-ui,sans-serif;
    -webkit-print-color-adjust:exact; print-color-adjust:exact;}
  .kps-head{display:flex; align-items:center; gap:6mm; height:29mm; padding-bottom:3mm; border-bottom:1.2mm solid #E8734A; margin-bottom:4mm; box-sizing:border-box;}
  .kps-logo{height:22mm; width:auto;}
  .kps-title{margin:0; font-family:"Baloo 2","Nunito Sans",sans-serif; font-weight:800; font-size:26pt; line-height:1;}
  .kps-sub{margin:1.5mm 0 0; font-size:12.5pt; font-weight:800; color:#A74B2B;}
  .kps-how{margin:1mm 0 0; font-size:10pt; color:#4a4438;}
  .kps-grid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:41mm; gap:3.5mm;}
  .kps-card{box-sizing:border-box; display:grid; grid-template-columns:10mm 1fr 20mm; gap:3mm; align-items:start; padding:3.5mm 3.5mm 3mm;
    background:#FBF3E7; border:.4mm solid #E3D6BF; border-left:2.5mm solid #E8734A; border-radius:4mm; overflow:hidden; break-inside:avoid;}
  .kps-box{width:9.5mm; height:9.5mm; margin-top:.5mm; background:#fff; border:.7mm solid #233A5C; border-radius:1.6mm; box-sizing:border-box;}
  .kps-name{margin:0; font-weight:900; font-size:14.5pt; line-height:1.15;}
  .kps-emoji{font-size:15pt;}
  .kps-text{margin:1.8mm 0 0; font-size:12pt; line-height:1.3; color:#3a342b;}
  .kps-who{display:flex; flex-direction:column; align-items:center; gap:1mm;}
  .kps-bear{width:19mm; height:19mm; border-radius:50%; object-fit:cover; background:#fff; border:.7mm solid #fff; box-shadow:0 0 0 .3mm #E3D6BF;}
  .kps-by{font-size:8.5pt; font-weight:800; color:#6D6559; text-align:center; line-height:1.1;}
  .kps-foot{display:flex; justify-content:space-between; align-items:center; margin-top:4mm; padding-top:2.5mm; border-top:.4mm dashed #E3D6BF; font-size:11pt; font-weight:800;}
  .kps-next{font-size:9pt; color:#6D6559;}
}


/* Members' badges + personal bests (Awards room) and the "New badge!" message (2 Nov 2026) */
.aw-board{margin-top:20px;}
.aw-summary{font-weight:700; color:var(--navy); background:var(--cream); border:1px solid var(--line); border-radius:14px; padding:12px 14px;}
.aw-head{font-size:1.3rem; color:var(--navy); margin:26px 0 10px;}
.aw-sub{font-size:1rem; color:var(--navy); margin:16px 0 8px;}
.aw-badges{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px;}
.aw-badge{display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; background:#f4f1ec; border:2px dashed #d8cfc2; border-radius:18px; padding:14px 10px; color:#6f6455;}
.aw-badge .aw-emoji{font-size:2.1rem; line-height:1; filter:grayscale(1); opacity:.45;}
.aw-badge strong{color:#5f574b; font-size:.95rem;}
.aw-how{font-size:.8rem; line-height:1.4;}
.aw-when{font-size:.74rem; font-weight:800; letter-spacing:.03em; text-transform:uppercase; margin-top:2px;}
.aw-badge.is-earned{background:#fffaf0; border:2px solid var(--gold, #E0A937); color:#4a4438; box-shadow:0 10px 20px -16px rgba(46,42,36,.5);}
.aw-badge.is-earned .aw-emoji{filter:none; opacity:1;}
.aw-badge.is-earned strong{color:var(--navy);}
.aw-badge.is-earned .aw-when{color:var(--coral-deep);}
.aw-bests{list-style:none; margin:0; padding:0; display:grid; gap:8px;}
.aw-bests li{background:var(--cream); border:1px solid var(--line); border-radius:12px; padding:10px 12px; display:flex; flex-wrap:wrap; gap:4px 12px; justify-content:space-between;}
.aw-bests li strong{color:var(--navy);}
.aw-bests li span{color:#584f40; font-size:.9rem;}
.aw-cta{margin-top:24px;}
.etb-toast{position:fixed; left:50%; bottom:20px; transform:translate(-50%,140%); z-index:1000; background:#fff; border:3px solid var(--gold, #E0A937); border-radius:18px; padding:12px 18px; box-shadow:0 14px 34px -12px rgba(0,0,0,.4); max-width:min(92vw,380px); text-align:center; transition:transform .25s ease; font-weight:800; color:var(--navy);}
.etb-toast p{margin:2px 0;}
.etb-toast a{display:inline-block; margin-top:6px; font-size:.85rem; color:var(--coral-deep);}
.etb-toast:not(.is-shown){visibility:hidden; transition:transform .25s ease, visibility 0s .25s;}
.etb-toast.is-shown{transform:translate(-50%,0); visibility:visible;}
@media (prefers-reduced-motion:reduce){ .etb-toast{transition:none;} }

/* Disclosure toggles ("Read the lyrics", word lists): at least 24px to tap (WCAG 2.5.8) */
details > summary{min-height:24px; padding-block:3px; cursor:pointer;}

/* Accessibility safety net (2 Nov 2026): any control without its own focus style still shows one.
   :where() has no specificity, so component styles that set their own ring win. */
:where(a, button, input, select, textarea, summary, audio, video, [tabindex]):focus-visible{outline:3px solid var(--navy, #233A5C); outline-offset:2px;}
/* Chromium does not match :focus-visible on the <audio>/<video> element itself. */
:where(audio, video):focus{outline:3px solid var(--navy, #233A5C); outline-offset:2px;}

/* Song lyrics as text (music room, taster treats; 2 Nov 2026 - WCAG 1.2.1 text version of audio) */
.lyrics-text{margin:8px 0 4px; text-align:left;}
.lyrics-text summary{cursor:pointer; font-weight:800; color:var(--navy); min-height:24px;}
details.lyrics-text p{margin:10px 0 0; font-size:.9rem; line-height:1.55; color:#3b3328; white-space:normal; text-align:left;}
.lyrics-text p strong{color:var(--coral-deep);}
.lyrics-body > p:first-child{margin-top:6px;}
@media (min-width:900px){ .lyrics-body{columns:2; column-gap:30px;} .lyrics-body > p{break-inside:avoid;} }

/* One-thing-at-a-time rooms (2 Nov 2026): big choice buttons, filters, back links (script.js). */
.ar-tabs{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 6px;}
.ar-tabs:has(> :nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr));}   /* Activities room: + Pocket Pal */
.ar-tabs > :nth-child(5){grid-column:1 / -1;}   /* Activities room: + Christmas games, full width */
.ar-tab--xmas{background:linear-gradient(100deg,#FDECEA,#FFF7E0 50%,#E9F3EC);}
@media (max-width:1000px){ .ar-tabs:has(> :nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ .ar-tabs:has(> :nth-child(4)){grid-template-columns:1fr;} }
.ar-tab{display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:18px; border-radius:20px; background:var(--cream); border:2px solid var(--line); color:var(--navy); text-decoration:none; transition:transform .15s ease, border-color .15s ease;}
.ar-tab:hover{border-color:var(--coral); transform:translateY(-2px);}
.ar-tab[aria-current="true"]{border-color:var(--coral-deep); background:#fff; box-shadow:0 0 0 3px rgba(167,75,43,.2);}
.ar-emoji{font-size:2rem; line-height:1;}
.ar-text{display:flex; flex-direction:column; gap:4px;}
.ar-text strong{font-family:var(--font-display); font-size:1.15rem;}
.ar-desc{color:#584f40; font-size:.9rem; line-height:1.4;}
.ar-switch{display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 4px;}
.ar-pill{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:8px 16px; border-radius:999px; border:2px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:800; font-size:.95rem; text-decoration:none; cursor:pointer;}
.ar-pill:hover{border-color:var(--coral);}
.ar-pill[aria-current="true"], .ar-pill[aria-pressed="true"]{background:var(--navy); border-color:var(--navy); color:#fff;}
.ar-back{display:inline-flex; align-items:center; min-height:44px; font-weight:800; color:var(--navy); margin:0 0 6px;}
.ar-panel, .ar-game, .wb-card, .ar-tabs, [data-ar-panel], [data-ar-item]{scroll-margin-top:96px;}
.ar-print-group > h3{font-size:1.15rem; color:var(--navy); margin-top:22px;}
.ar-ready .ar-off{display:none !important;}
@media (max-width:640px){
  .ar-tabs{grid-template-columns:1fr; gap:10px;}
  .ar-tab{flex-direction:row; align-items:center; gap:14px; padding:12px 14px;}
}
@media (prefers-reduced-motion:reduce){ .ar-tab{transition:none;} .ar-tab:hover{transform:none;} }
.ar-switch + *{margin-top:14px;}
/* Reading room bookshelf */
.book-shelf{list-style:none; margin:18px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:18px;}
.book-cover{display:flex; flex-direction:column; gap:8px; height:100%; padding:10px; border-radius:16px; background:var(--cream); border:2px solid var(--line); color:var(--navy); text-decoration:none; transition:transform .15s ease, border-color .15s ease;}
.book-cover:hover{border-color:var(--coral); transform:translateY(-3px);}
.book-cover img{width:100%; height:auto; aspect-ratio:1024/1450; object-fit:cover; border-radius:8px; box-shadow:0 10px 20px -14px rgba(46,42,36,.6); background:#fff;}
.book-cover-title{font-family:var(--font-display); font-weight:800; font-size:.95rem; line-height:1.25;}
.book-cover-pages{font-size:.8rem; color:#6D6559;}
@media (max-width:420px){ .book-shelf{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;} .book-cover-title{font-size:.85rem;} }
@media (prefers-reduced-motion:reduce){ .book-cover{transition:none;} .book-cover:hover{transform:none;} }

/* ---- Bear motion (3 Nov 2026). Mirrored in styles.css and theme.css (CLAUDE.md 11). Short, gentle
   moves only: nothing moves on its own for more than 5 seconds (WCAG 2.2.2), and nothing moves at all
   with "reduce motion" on. Code: script.js "Bear motion". Cut-outs: img/site/bears/cutouts/. ---- */
@keyframes bm-wave{0%,100%{transform:rotate(0)} 20%{transform:rotate(-7deg)} 40%{transform:rotate(6deg)} 60%{transform:rotate(-5deg)} 80%{transform:rotate(3deg)}}
@keyframes bm-hop{0%,100%{transform:translateY(0) scale(1,1)} 15%{transform:translateY(0) scale(1.05,.93)} 45%{transform:translateY(-22px) scale(.97,1.04)} 70%{transform:translateY(0) scale(1.04,.96)} 85%{transform:translateY(-5px)}}
@keyframes bm-wiggle{0%,100%{transform:rotate(0)} 25%{transform:rotate(-5deg)} 75%{transform:rotate(5deg)}}
@keyframes bm-dance{0%,100%{transform:translateY(0) rotate(0)} 20%{transform:translateY(-16px) rotate(-8deg)} 40%{transform:translateY(0) rotate(0)} 60%{transform:translateY(-16px) rotate(8deg)} 80%{transform:translateY(0) rotate(0)}}
@keyframes bm-leaf{to{transform:rotateY(-110deg)}}
@keyframes bm-pop{0%{transform:translate(-50%,105%)} 65%{transform:translate(-50%,-5%)} 100%{transform:translate(-50%,0)}}
@keyframes bm-fade{to{opacity:0}}
@keyframes bm-fall{0%{opacity:1; transform:translateY(0) rotate(0)} 100%{opacity:0; transform:translateY(170px) rotate(540deg)}}
.bm-hello{animation:bm-wave 1.1s ease-in-out 2; transform-origin:50% 100%;}
.bm-hop{animation:bm-hop .9s ease-out 1; transform-origin:50% 100%;}
.bio-card:hover .bio-avatar, .bio-card:focus-visible .bio-avatar,
.cast-chip:hover .cast-avatar, .cast-chip:focus-visible .cast-avatar{animation:bm-wiggle .7s ease-in-out 1; transform-origin:50% 100%;}
/* Door reveal: the newest open door swings open once and its bear pops out (home page). */
.door-tile.is-revealing{perspective:600px; overflow:hidden;}
.door-leaf{position:absolute; inset:0; z-index:3; border-radius:inherit; display:flex; align-items:center; justify-content:center; background:repeating-linear-gradient(90deg,#9c6332 0 18px,#8a5629 18px 21px); box-shadow:inset 0 0 0 3px #6d4220; color:#fff7e6; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.6rem; transform-origin:0 50%; animation:bm-leaf 1s .3s cubic-bezier(.5,.1,.2,1) forwards;}
.door-pop{position:absolute; left:50%; bottom:0; z-index:2; height:88%; width:auto; transform:translate(-50%,105%); filter:drop-shadow(0 6px 6px rgba(46,42,36,.25)); animation:bm-pop .8s .9s cubic-bezier(.3,1.5,.5,1) forwards, bm-fade .5s 2.9s forwards;}
/* Puzzle finished: a bear dances in the corner of the game for a moment. */
.bear-cheer{position:absolute; left:8px; bottom:8px; z-index:30; width:130px; height:160px; display:flex; align-items:flex-end; justify-content:center; pointer-events:none; animation:bm-fade .5s 3.3s forwards;}
.bear-cheer img{height:140px; width:auto; transform-origin:50% 100%; filter:drop-shadow(0 8px 6px rgba(46,42,36,.25)); animation:bm-dance 1.4s ease-in-out 2;}
.bear-cheer .bm-confetto{position:absolute; top:0; width:7px; height:12px; border-radius:2px; opacity:0; animation:bm-fall 1.5s ease-in forwards;}
@media (prefers-reduced-motion: reduce){
  .bm-hello, .bm-hop, .bio-card .bio-avatar, .cast-chip .cast-avatar{animation:none !important;}
  .door-leaf, .door-pop, .bear-cheer{display:none !important;}
}

/* ---------- Scene magic (9 Nov 2026) - script.js "Scene magic" ----------
   Decorative layer on the clubhouse map (.club-scene-map) and the home Whispering Woods (.ww-scene).
   Sizes and travel use container units (cqw/cqh) so they scale with the picture.
   .sparkles-paused = Pause button, .sparkles-away = off screen, .sparkles-still = reduce motion. */
.scene-fx{position:absolute; inset:0; container-type:size; pointer-events:none; overflow:hidden;}
.scene-fx > span{position:absolute; display:block;}
.scene-sparkle-toggle{display:block; margin:12px 0 0 auto; padding:10px 16px; min-height:44px; border-radius:999px;
  border:2px solid var(--navy); background:#fff; color:var(--navy); font:inherit; font-weight:700; cursor:pointer;}
.scene-sparkle-toggle:hover{background:#fdf3dc;}
.scene-sparkle-toggle:focus-visible{outline:3px solid var(--coral-deep); outline-offset:3px;}

/* Fireflies */
.fx-firefly{width:max(4px,.45cqw); height:max(4px,.45cqw); margin:-2px 0 0 -2px; border-radius:50%;
  background:radial-gradient(circle,#fff 0%,#fffbd0 40%,rgba(240,250,150,0) 75%);
  box-shadow:0 0 5px 2px rgba(255,255,220,.95), 0 0 12px 4px rgba(240,250,140,.7), 0 0 22px 6px rgba(220,240,120,.35);
  animation:fx-wander var(--wander) ease-in-out var(--d1) infinite, fx-blink var(--blink) ease-in-out var(--d2) infinite;}
@keyframes fx-wander{
  0%,100%{transform:translate(0,0);} 25%{transform:translate(var(--dx1),var(--dy1));}
  50%{transform:translate(var(--dx2),var(--dy2));} 75%{transform:translate(var(--dx3),var(--dy3));}
}
@keyframes fx-blink{ 0%,100%{opacity:.15;} 45%{opacity:1;} 60%{opacity:.85;} }

/* Music notes rising in the Music room */
.fx-note{font-size:max(11px,1.5cqw); line-height:1; color:#ffe39a; font-weight:700; opacity:0;
  text-shadow:0 0 6px rgba(255,220,120,.9), 0 0 12px rgba(255,170,80,.6);
  animation:fx-note 4.6s ease-out var(--d1) infinite;}
@keyframes fx-note{
  0%{opacity:0; transform:translate(0,0) rotate(-10deg) scale(.7);}
  15%{opacity:1;}
  100%{opacity:0; transform:translate(var(--dx),-9cqh) rotate(12deg) scale(1.1);}
}

/* ON AIR light in the News room */
.fx-onair{border-radius:6px; mix-blend-mode:screen;
  background:radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255,90,70,.55) 0%, rgba(255,60,40,.18) 55%, rgba(255,60,40,0) 80%);
  box-shadow:0 0 1.2cqw .3cqw rgba(255,70,50,.45); animation:fx-onair 2.6s ease-in-out infinite;}
@keyframes fx-onair{ 0%,100%{opacity:.35;} 50%{opacity:1;} }

/* Birthday candle flames */
.fx-flame{width:1.1cqw; height:1.5cqw; margin:-.75cqw 0 0 -.55cqw; border-radius:50% 50% 45% 45%; mix-blend-mode:screen;
  background:radial-gradient(ellipse 50% 60% at 50% 60%, rgba(255,250,210,.95) 0%, rgba(255,200,90,.6) 45%, rgba(255,150,50,0) 80%);
  transform-origin:50% 90%; animation:fx-flame .9s ease-in-out var(--d1) infinite;}
@keyframes fx-flame{
  0%,100%{opacity:.75; transform:scale(1,1) rotate(0);} 25%{opacity:1; transform:scale(.9,1.12) rotate(-4deg);}
  50%{opacity:.85; transform:scale(1.05,.95) rotate(3deg);} 75%{opacity:1; transform:scale(.95,1.08) rotate(-2deg);}
}

/* Shimmer across the Welcome sign, once when the map is first seen */
.fx-shimmer{overflow:hidden; border-radius:1.5cqw; mix-blend-mode:screen;}
.fx-shimmer::after{content:""; position:absolute; top:-20%; bottom:-20%; left:-40%; width:30%;
  background:linear-gradient(100deg, rgba(255,240,190,0) 0%, rgba(255,240,190,.55) 50%, rgba(255,240,190,0) 100%);
  transform:translateX(0) skewX(-12deg); opacity:0;}
.fx-seen .fx-shimmer::after{animation:fx-shimmer 2.4s ease-in-out .4s 1 both;}
@keyframes fx-shimmer{ 0%{opacity:0; transform:translateX(0) skewX(-12deg);} 15%{opacity:1;}
  85%{opacity:1;} 100%{opacity:0; transform:translateX(520%) skewX(-12deg);} }

/* Seasonal weather over the clubhouse map */
.fx-fall{top:-4%; width:var(--size); height:var(--size); opacity:.85;
  animation:fx-fall var(--fall) linear var(--d1) infinite;}
@keyframes fx-fall{
  0%{transform:translate(0,-5cqh) rotate(0);}
  50%{transform:translate(var(--sway),52cqh) rotate(calc(var(--spin) / 2));}
  100%{transform:translate(0,110cqh) rotate(var(--spin));}
}
.fx-fall--snow{border-radius:50%; background:radial-gradient(circle,#fff 0%,rgba(255,255,255,.85) 45%,rgba(255,255,255,0) 72%);}
.fx-fall--leaf{height:calc(var(--size) * .6); border-radius:0 100% 0 100%; background:var(--colour); opacity:.8;
  box-shadow:inset 0 0 0 1px rgba(80,40,10,.25);}
.fx-fall--petal{height:calc(var(--size) * .7); border-radius:100% 0 100% 0; background:#f7c6d6; opacity:.85;}

/* Lanterns on the home picture */
.fx-lantern{width:10cqw; height:10cqw; margin:-5cqw 0 0 -5cqw; border-radius:50%; mix-blend-mode:screen;
  background:radial-gradient(circle, rgba(255,220,140,.5) 0%, rgba(255,190,90,.2) 35%, rgba(255,170,70,0) 68%);
  animation:fx-lantern 4.8s ease-in-out var(--d1, 0s) infinite;}
@keyframes fx-lantern{ 0%,100%{opacity:.7;} 20%{opacity:.95;} 24%{opacity:.78;} 50%{opacity:1;} 72%{opacity:.82;} }

/* "Opening the door" glow on the room just chosen */
.scene-room.is-opening::after{content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(circle at 50% 55%, rgba(255,244,200,.9) 0%, rgba(255,214,130,.45) 45%, rgba(255,200,100,0) 78%);
  animation:fx-door .38s ease-out forwards;}
@keyframes fx-door{ from{opacity:0; transform:scale(.85);} to{opacity:1; transform:scale(1.02);} }

/* Paused, off screen, reduce motion */
.sparkles-paused .scene-fx *, .sparkles-away .scene-fx *,
.sparkles-paused .scene-fx *::after, .sparkles-away .scene-fx *::after{animation-play-state:paused !important;}
.sparkles-still .fx-firefly{animation:none; opacity:.6;}
.sparkles-still .fx-note, .sparkles-still .fx-fall, .sparkles-still .fx-shimmer{display:none;}
.sparkles-still .fx-onair, .sparkles-still .fx-flame, .sparkles-still .fx-lantern{animation:none; opacity:.8;}
@media (prefers-reduced-motion:reduce){ .scene-fx *, .scene-fx *::after{animation:none !important;} }

/* ---------- Site magic (9 Nov 2026) - script.js "Site magic". Mirrored in styles.css AND theme.css
   (CLAUDE.md 11). html.magic-off = paused by the visitor; html.magic-still / reduce motion = still. ---------- */

/* Soft fade between pages; the header stays put. Browsers without it change pages as before. */
@view-transition{navigation:auto;}
header{view-transition-name:etb-header;}
::view-transition-old(root), ::view-transition-new(root){animation-duration:.28s;}
@media (prefers-reduced-motion:reduce){ @view-transition{navigation:none;} }

/* 1. Footer switch */
.magic-switch{padding:8px 14px; min-height:44px; border-radius:999px; border:1px solid rgba(255,255,255,.35);
  background:transparent; color:#e6e9f0; font:inherit; font-weight:700; cursor:pointer;}
.magic-switch:hover{background:rgba(255,255,255,.08);}
.magic-switch:focus-visible{outline:3px solid #F4C542; outline-offset:3px;}

/* 2. Peekaboo bear over the top edge of the footer */
.peek-bear{position:absolute; right:6%; bottom:100%; width:120px; height:126px; overflow:hidden; pointer-events:none; z-index:2;}
.peek-bear img{position:absolute; left:50%; bottom:0; height:118px; width:auto; transform:translate(-50%,105%);
  transform-origin:50% 100%; filter:drop-shadow(0 -2px 4px rgba(46,42,36,.2));}
.peek-bear.is-peeking img{animation:peek-up 4.6s ease-in-out forwards;}
.peek-bubble{position:absolute; right:0; top:4px; padding:3px 8px; border-radius:10px; background:#fff; color:var(--navy, #233A5C);
  font-size:.72rem; font-weight:800; white-space:nowrap; box-shadow:0 2px 6px rgba(46,42,36,.2); opacity:0;}
.peek-bear.is-peeking .peek-bubble{animation:peek-bubble 4.6s ease-in-out forwards;}
@keyframes peek-up{
  0%{transform:translate(-50%,105%);} 18%{transform:translate(-50%,30%);}
  28%{transform:translate(-50%,30%) rotate(-7deg);} 36%{transform:translate(-50%,30%) rotate(6deg);}
  44%{transform:translate(-50%,30%) rotate(-5deg);} 52%,72%{transform:translate(-50%,30%) rotate(0);}
  100%{transform:translate(-50%,105%);}
}
@keyframes peek-bubble{ 0%,22%{opacity:0;} 30%,66%{opacity:1;} 76%,100%{opacity:0;} }
@media (max-width:640px){ .peek-bear{width:90px; height:96px;} .peek-bear img{height:88px;} }

/* 3. A bear dancing beside a playing song */
.music-bear{position:absolute; width:44px; height:44px; pointer-events:none; z-index:3; opacity:0; transition:opacity .3s ease;}
.music-bear img{width:100%; height:100%; object-fit:contain; object-position:50% 100%; transform-origin:50% 100%;
  filter:drop-shadow(0 3px 3px rgba(46,42,36,.25));}
.music-bear--photo img{border-radius:50%; object-fit:cover; border:2px solid #fff; box-shadow:0 2px 6px rgba(46,42,36,.25);}
.music-bear.is-dancing{opacity:1;}
.music-bear.is-dancing img{animation:music-bob .9s ease-in-out infinite;}
@keyframes music-bob{ 0%,100%{transform:translateY(0) rotate(-6deg);} 50%{transform:translateY(-5px) rotate(6deg);} }

/* 4. Heart bursts and the basket bump */
.heart-burst{position:fixed; z-index:9999; width:0; height:0; pointer-events:none;}
.heart-bit{position:absolute; left:-9px; top:-9px; font-size:18px; line-height:1; opacity:0;
  animation:heart-out .9s ease-out forwards;}
@keyframes heart-out{ 0%{opacity:0; transform:translate(0,0) scale(.4);} 20%{opacity:1;}
  100%{opacity:0; transform:translate(var(--hx),var(--hy)) rotate(var(--hr)) scale(1.1);} }
.heart-fly{position:fixed; z-index:9999; margin:-10px 0 0 -10px; font-size:20px; line-height:1; pointer-events:none;
  animation:heart-fly .65s cubic-bezier(.5,0,.7,1) forwards;}
@keyframes heart-fly{ to{transform:translate(var(--fx),var(--fy)) scale(.5); opacity:.6;} }
.etb-basket.is-bumped{animation:basket-bump .5s ease-out;}
@keyframes basket-bump{ 0%,100%{transform:scale(1);} 35%{transform:scale(1.18) rotate(-6deg);} 65%{transform:scale(.95) rotate(4deg);} }

/* 5. Seasonal weather inside the header (behind the links), falls twice then stops */
.header-fx{position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none;}
.header-fx > span{position:absolute; display:block;}
.hfx-fall{top:-14px; width:var(--size); height:var(--size); opacity:0; animation:hfx-fall var(--fall) linear 2;}
@keyframes hfx-fall{
  0%{opacity:0; transform:translate(0,0) rotate(0);} 8%{opacity:.85;}
  50%{transform:translate(var(--sway),48px) rotate(calc(var(--spin) / 2));}
  90%{opacity:.85;} 100%{opacity:0; transform:translate(0,100px) rotate(var(--spin));}
}
.hfx-fall--snow{border-radius:50%; background:radial-gradient(circle,#fff 0%,#fff 40%,rgba(255,255,255,0) 72%);
  box-shadow:0 0 3px 1px rgba(90,115,160,.55);}
.hfx-fall--leaf{height:calc(var(--size) * .6); border-radius:0 100% 0 100%; background:var(--colour);}
.hfx-fall--petal{height:calc(var(--size) * .7); border-radius:100% 0 100% 0; background:#f2a9c2;}
.hfx-bulb{bottom:1px; width:6px; height:9px; margin-left:-3px; border-radius:50% 50% 45% 45%; background:var(--bulb);
  box-shadow:0 0 6px 1px var(--bulb); animation:hfx-twinkle 1.5s ease-in-out var(--tw-delay) 4;}
.header-fx::after{content:""; position:absolute; left:0; right:0; bottom:9px; height:1px; background:rgba(60,70,60,.25);}
.header-fx:not(:has(.hfx-bulb))::after{display:none;}
@keyframes hfx-twinkle{ 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* 6. Logo bounce (first page of a visit) and hover wiggle */
.logo img{transform-origin:50% 90%;}
.logo-hello{animation:logo-hello 1.1s cubic-bezier(.3,1.4,.5,1) .3s 1 both;}
@keyframes logo-hello{ 0%{transform:translateY(0) scale(1);} 30%{transform:translateY(-8px) scale(1.04);}
  55%{transform:translateY(0) scale(.98,1.03);} 75%{transform:translateY(-3px);} 100%{transform:translateY(0) scale(1);} }
.logo:hover img, .logo:focus-visible img{animation:logo-wiggle .6s ease-in-out 1;}
@keyframes logo-wiggle{ 0%,100%{transform:rotate(0);} 25%{transform:rotate(-4deg);} 75%{transform:rotate(4deg);} }

/* 7. Today's door */
.door-today{position:absolute; top:-9px; left:50%; transform:translateX(-50%); z-index:4; padding:2px 9px; border-radius:999px;
  background:var(--coral-deep, #A74B2B); color:#fff; font-size:.68rem; font-weight:800; white-space:nowrap;
  box-shadow:0 2px 6px rgba(46,42,36,.2);}
.door-tile.is-today{border-color:var(--coral, #E8734A); box-shadow:0 0 0 2px rgba(232,115,74,.35);}
.door-tile.door-wiggle{animation:door-wiggle .8s ease-in-out 3; transform-origin:50% 100%;}
@keyframes door-wiggle{ 0%,100%{transform:rotate(0);} 20%{transform:rotate(-3deg);} 40%{transform:rotate(3deg);}
  60%{transform:rotate(-2deg);} 80%{transform:rotate(1deg);} }

/* 8. Fresh "New" taster labels sparkle */
.treat-date--fresh{position:relative; overflow:hidden;}
.treat-date--fresh::before{content:"✨ ";}
.treat-date--fresh.is-sparkling::after{content:""; position:absolute; top:0; bottom:0; left:-60%; width:50%;
  background:linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0));
  animation:treat-sparkle 1.3s ease-in-out .2s 3;}
@keyframes treat-sparkle{ to{left:120%;} }

/* 9. Home picture by time of day */
.fx-tint{position:absolute; inset:0; display:block; pointer-events:none;}
.tod-morning .fx-tint{background:linear-gradient(180deg, rgba(255,236,190,.22), rgba(255,246,220,0) 60%); mix-blend-mode:screen;}
.tod-evening .fx-tint{background:linear-gradient(180deg, rgba(255,150,80,.22), rgba(120,60,120,.14)); mix-blend-mode:multiply;}
.tod-night .fx-tint{background:linear-gradient(180deg, rgba(25,35,90,.42), rgba(25,35,90,.24)); mix-blend-mode:multiply;}
.tod-morning .fx-firefly, .tod-day .fx-firefly, .tod-morning .fx-lantern, .tod-day .fx-lantern{display:none;}

/* Paused and still */
html.magic-off .peek-bear, html.magic-off .music-bear, html.magic-off .heart-burst, html.magic-off .heart-fly,
html.magic-off .header-fx, html.magic-off .door-leaf, html.magic-off .door-pop, html.magic-off .bear-cheer{display:none !important;}
html.magic-off .logo img, html.magic-off .door-tile, html.magic-off .bm-hello, html.magic-off .bm-hop,
html.magic-off .bio-avatar, html.magic-off .cast-avatar, html.magic-off .etb-basket,
html.magic-off .treat-date--fresh::after{animation:none !important;}
html.magic-off .scene-fx *, html.magic-off .scene-fx *::after{animation-play-state:paused !important;}
@media (prefers-reduced-motion:reduce){
  .peek-bear, .music-bear, .heart-burst, .heart-fly, .header-fx{display:none !important;}
  .logo img, .door-tile, .etb-basket, .treat-date--fresh::after{animation:none !important;}
}

/* ---------- Header fit (10 Nov 2026). Mirrored in styles.css AND theme.css. The menu never wraps onto a
   second line: the header row is a little wider than the page (1320px), the social icons leave the header
   below 1400px (they are in the footer), the WordPress Basket becomes an icon below 1200px, and the spacing
   tightens before the phone menu takes over at 900px. ---------- */
header .wrap.nav-row, .header-inner{max-width:1320px;}
.logo{flex-shrink:0;}
nav.primary-nav{flex-wrap:nowrap; white-space:nowrap;}
.header-right{flex-wrap:nowrap; flex-shrink:0;}
.header-right .btn{white-space:nowrap;}
@media (max-width:1399px){ .header-right .social-row{display:none;} }
@media (max-width:1199px){
  nav.primary-nav{gap:16px; font-size:.86rem;}
  .nav-row, .header-inner{gap:12px;}
  .header-right{gap:10px;}
  .header-right .etb-basket{width:34px; padding:0; justify-content:center;}
  .header-right .etb-basket .etb-basket__label{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
}
@media (min-width:901px) and (max-width:1060px){
  nav.primary-nav{gap:11px; font-size:.8rem;}
  .logo img{height:46px;}
  .header-right .btn{padding:8px 12px; font-size:.76rem;}
}

/* ---------- Full screen games (23 Nov 2026) - script.js "Full screen games" ---------- */
.fs-bar{display:flex; justify-content:flex-end; margin:0 0 6px;}
.fs-btn{display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:4px 14px; border-radius:999px; border:2px solid var(--navy,#233A5C); background:#fff; color:var(--navy,#233A5C); font:inherit; font-weight:800; font-size:.9rem; cursor:pointer;}
.fs-btn:hover{background:#FFF0E8;}
.fs-btn span{font-size:1.1rem; line-height:1;}
.fs-btn:focus-visible, .fs-exit:focus-visible{outline:3px solid var(--coral-deep,#A74B2B); outline-offset:3px;}
html.fs-active, html.fs-active body{overflow:hidden !important;}
/* the game fills the window; its content width is capped by the window height so it fits without scrolling */
.fs-on{--fs-ratio:1.5; position:fixed !important; inset:0 !important; justify-self:stretch !important; align-self:stretch !important; /* a game centred with justify-self would otherwise shrink to its content (27 Nov 2026) */ z-index:10050 !important; margin:0 !important; width:auto !important; height:auto !important; max-width:none !important; max-height:none !important;
  overflow:auto !important; overscroll-behavior:contain; border-radius:0 !important; border:0 !important; box-shadow:none !important;
  background:var(--cream,#FBF3E7) !important; box-sizing:border-box;
  padding:68px max(16px, calc((100vw - min(100vw - 32px, (100dvh - 150px) * var(--fs-ratio))) / 2)) 28px !important;}
.eb-hearthunt.fs-on{--fs-ratio:1.2;} .eb-bearblocks.fs-on{--fs-ratio:.95;} .eb-cbn.fs-on{--fs-ratio:.9;} .eb-xmas.fs-on{--fs-ratio:1.45;}
.pz-stage.fs-on, .eb-jigsaw.fs-on{--fs-ratio:1.3;} .eb-wordsearch.fs-on, .eb-maze.fs-on{--fs-ratio:1.25;} .tb-tool.fs-on{--fs-ratio:1.3;}
.fs-on .xg-canvas{max-width:min(100%, calc((100dvh - 330px) * var(--xg-ar, 1.5))) !important;}   /* room for the title, counters and the control pad */
.fs-exit{position:fixed; top:12px; right:12px; z-index:10060; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:6px 18px; border-radius:999px; border:0;
  background:var(--navy,#233A5C); color:#fff; font:inherit; font-weight:800; cursor:pointer; box-shadow:0 4px 14px rgba(35,58,92,.3);}
.fs-exit:hover{background:#1A2D49;}
@media print{ .fs-bar, .fs-exit{display:none !important;} }

/* XT-9 Christmas pointer on the home page hero (26 Nov 2026). No motion. Remove after 1 Jan 2027. */
.xmas-pointer{margin:0 0 14px;}
.xmas-pointer a{display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:8px 16px; border-radius:999px; background:var(--navy); color:#fff; font-weight:800; font-size:.92rem; line-height:1.3; text-decoration:none;}
.xmas-pointer a:hover{background:var(--coral-deep);}
.xmas-pointer a:focus-visible{outline:3px solid var(--gold); outline-offset:3px;}


/* ==========================================================================================
   Growth (27 Nov 2026): Founder banner, search icon, testimonials, welcome steps, home steps,
   shop promos. Same block at the end of styles.css AND theme.css - keep them in step.
   ========================================================================================== */
.fb-banner{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 16px; margin:0; padding:10px 16px;
  background:#233A5C; color:#FBF3E7; font-size:.92rem; text-align:center;}
.fb-banner p{margin:0;}
.fb-banner strong{color:#FFE8B4;}
.fb-sub{opacity:.92;}
.fb-go{display:inline-flex; align-items:center; min-height:36px; padding:6px 16px; border-radius:999px; background:#E0A937; color:#1d1a14; font-weight:800; text-decoration:none;}
.fb-go:hover, .fb-go:focus-visible{background:#FFE8B4;}
.fb-go:focus-visible, .fb-x:focus-visible{outline:3px solid #FFE8B4; outline-offset:2px;}
.fb-x{background:none; border:0; color:#FBF3E7; font-size:1.4rem; line-height:1; min-width:36px; min-height:36px; border-radius:50%; cursor:pointer;}
.fb-x:hover{background:rgba(255,255,255,.12);}
.fb-banner--last{background:#A74B2B;}
.ss-icon svg{display:block;}
body.etb-kid-mode [data-shop-promo], body.etb-kid-mode .fb-banner{display:none !important;}

/* "What families say" (printed by etb_testimonials() on WordPress) */
.tm-band{padding:44px 0;}
.tm-title{font-family:var(--font-display); font-weight:800; font-size:clamp(1.4rem,3vw,1.9rem); color:var(--ink, #2E2A24); text-align:center; margin:0 0 20px;}
.tm-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px;}
.tm-card{background:#fff; border:1px solid var(--line, #E6DAC6); border-radius:20px; padding:20px 22px; display:flex; flex-direction:column; gap:8px;}
.tm-stars{margin:0; color:#C98A12; letter-spacing:2px; font-size:1.05rem;}
.tm-stars-off{color:#DCCFB8;}
.tm-quote{margin:0;}
.tm-quote p{margin:0; font-size:1rem; line-height:1.6; color:#3d382f;}
.tm-quote p::before{content:'\201C';} .tm-quote p::after{content:'\201D';}
.tm-who{margin:auto 0 0; font-size:.9rem; color:#6D6559;}
.tm-who strong{color:var(--navy, #233A5C);}
.tm-more{text-align:center; margin:20px 0 0; font-weight:800;}
.tm-more a{color:var(--coral-deep, #A74B2B);}
.tm-empty{text-align:center; color:#6D6559; margin:0 0 10px;}

/* New-member welcome steps (clubhouse) */
.ob-box{max-width:880px; margin:0 auto 30px; background:#fff; border:2px solid #E0A937; border-radius:22px; padding:20px clamp(16px,3vw,28px);}
.ob-title{font-family:var(--font-display); font-size:1.35rem; color:var(--navy, #233A5C); margin:0 0 12px; display:flex; flex-wrap:wrap; gap:6px 12px; align-items:baseline;}
.ob-title span{font-family:var(--font-body); font-size:.85rem; font-weight:800; color:#2F6B61;}
.ob-steps{list-style:none; margin:0; padding:0; display:grid; gap:12px;}
.ob-steps li{display:flex; gap:14px; align-items:flex-start;}
.ob-steps h3{font-size:1rem; margin:2px 0 2px; color:var(--ink, #2E2A24);}
.ob-steps p{margin:0 0 8px; color:#6D6559; font-size:.92rem;}
.ob-tick{flex:none; width:30px; height:30px; border-radius:50%; border:2px solid #E0A937; display:flex; align-items:center; justify-content:center; font-weight:900; color:#fff;}
.ob-steps li.is-done .ob-tick{background:#3E8E82; border-color:#3E8E82;}
.ob-steps li.is-done h3{color:#6D6559; text-decoration:line-through;}
.ob-hide{margin-top:12px; background:none; border:0; color:#6D6559; text-decoration:underline; cursor:pointer; font:inherit; font-size:.88rem; min-height:24px;}

/* Home: three steps under the hero */
.steps3{padding:10px 0 34px;}
.steps3-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; counter-reset:st;}
.steps3-list li{position:relative; background:#fff; border:1px solid var(--line, #E6DAC6); border-radius:22px; padding:22px 20px 20px 68px;}
.steps3-list li::before{counter-increment:st; content:counter(st); position:absolute; left:18px; top:20px; width:36px; height:36px; border-radius:50%;
  background:var(--coral-btn, #C4552F); color:#fff; font-weight:900; display:flex; align-items:center; justify-content:center; font-family:var(--font-display);}
.steps3-list h2{font-family:var(--font-display); font-size:1.15rem; margin:0 0 4px; color:var(--navy, #233A5C);}
.steps3-list p{margin:0 0 10px; color:#6D6559; font-size:.92rem;}
.steps3-list a{font-weight:800; color:var(--coral-deep, #A74B2B);}
@media (max-width:820px){ .steps3-list{grid-template-columns:1fr;} }

/* "Want the whole set?" shop links on free treats and bear pages */
.shop-promo{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 18px; margin:24px 0 0; padding:16px 20px;
  background:#FFF6E0; border:2px dashed #E0A937; border-radius:18px;}
.shop-promo p{margin:0; color:#3d382f;}
.shop-promo strong{color:var(--navy, #233A5C);}

/* ---- Grown-ups' email sign-up (30 Nov 2026) --------------------------------------------------
   Taster treats page + Parents' Lounge ([data-newsletter], WordPress only: data-wp-only hides it on
   Netlify; wp.css shows it only once Brevo is set up, never in Kid Mode). */
.nl-box{max-width:1100px; margin:40px auto 24px; padding:0 16px;}
.nl-card{display:grid; grid-template-columns:1fr 1fr; gap:24px 32px; align-items:start; background:#fff;
  border:2px solid var(--gold); border-radius:24px; padding:24px 26px;}
.nl-text h2{font-family:var(--font-display); color:var(--navy); font-size:clamp(1.4rem,3vw,1.9rem); margin:4px 0 8px;}
.nl-text p{margin:0;}
.nl-form{display:flex; flex-direction:column; gap:12px;}
.nl-row{display:flex; flex-direction:column; gap:6px;}
.nl-row label{font-weight:800; color:var(--navy);}
.nl-row input{padding:12px 14px; border-radius:12px; border:1px solid #9a917f; font:inherit; font-size:1rem; min-height:48px;}
.nl-check{display:flex; gap:10px; align-items:flex-start; line-height:1.45;}
.nl-check input{width:22px; height:22px; margin-top:2px; flex:0 0 auto;}
.nl-form .btn{align-self:flex-start;}
.nl-small{font-size:.88rem; color:#6D6559; margin:0;}
.nl-small a{color:var(--navy); text-decoration:underline; text-underline-offset:2px;}
@media (max-width:760px){ .nl-card{grid-template-columns:1fr; padding:20px 18px;} }
