/* V8 — actual in-page YouTube embeds, elegant note movement, quiet ambient sparkle. */
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.2vw,28px);align-items:start;margin-top:26px}
.video-embed-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.video-embed-frame{width:100%;max-width:330px;aspect-ratio:9 / 16;overflow:hidden;border-radius:12px;background:#111;margin-inline:auto;box-shadow:0 12px 28px #0002}
.video-embed-frame iframe{width:100%;height:100%;display:block;border:0}
.video-embed-card h3{font:600 clamp(12px,1.15vw,16px)/1.35 Arial,sans-serif;text-align:center;max-width:330px;margin:0 auto}
@media(max-width:700px){.video-grid{grid-template-columns:1fr;gap:30px}.video-embed-frame{max-width:min(75vw,340px)}.video-embed-card h3{font-size:14px}}
/* Rock the SVG note very gently in place; do not rock the clickable button's hit box. */
.note-trigger[aria-expanded="false"] svg{animation:tave-note-rock 3.6s ease-in-out infinite;transform-origin:50% 60%}
@keyframes tave-note-rock{0%,24%,100%{transform:rotate(0)}37%{transform:rotate(-9deg)}52%{transform:rotate(6deg)}65%{transform:rotate(-3deg)}79%{transform:rotate(0)}}
.note-trigger:hover svg,.note-trigger:focus-visible svg{animation-play-state:paused}
/* One non-interactive ambient field per interior scene, behind its content. */
.screen{isolation:isolate}
.interior-sparkles{position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;transform:none!important;opacity:.85}
.interior-sparkles .glimmer{box-shadow:0 0 5px 2px var(--glow),0 0 14px 2px var(--glow);}
.screen>.interior{position:relative;z-index:1}
/* On desktop, the figure stays intact when the navigation opens; the scenery and UI scatter. */
@media(min-width:601px){
 body.menu-expanded .screen-home.active .hero-subject,
 body.menu-expanded .screen-home.active .hero-subject img{transform:none!important;opacity:1!important}
 body.menu-expanded .screen-home.active .hero-subject{transition:none!important}
}
@media(prefers-reduced-motion:reduce){.note-trigger svg,.interior-sparkles .glimmer{animation:none!important}}

/* Desktop homepage: replace GO with a compact glowing orb, centered in the opened canvas. */
@media(min-width:601px){
body.desktop-go-ready .menu-paper.directional-paper .orb-entry{
  display:grid!important;place-items:center!important;position:relative!important;
  width:clamp(82px,8vw,128px)!important;height:clamp(82px,8vw,128px)!important;
  min-width:0!important;min-height:0!important;padding:0!important;border-radius:50%!important;
  border:1px solid rgba(239,222,153,.9)!important;
  background:radial-gradient(circle at 35% 30%,#e2e9ed 0%,#9ce1df 10%,#3296a1 29%,#1b3550 55%,#080d1e 80%)!important;
  box-shadow:inset -10px -18px 23px #050918bd,inset 4px 6px 12px #ffffff79,0 0 18px #57aeb6a8,0 0 56px #44afbf6e,0 0 100px #e7bd5560!important;
  transform:translateY(-7vh);animation:orb-breathe 3.8s ease-in-out infinite;cursor:pointer;
}
body.desktop-go-ready .orb-entry::before{content:''!important;position:absolute!important;inset:-13px!important;border-radius:50%!important;border:1px solid #e4c78066!important;clip-path:none!important;box-shadow:0 0 17px #e1ae3660!important}
body.desktop-go-ready .orb-entry::after{content:''!important;position:absolute!important;inset:0!important;border-radius:50%!important;background:radial-gradient(ellipse at 27% 20%,#fff8,transparent 41%)!important;animation:none!important;pointer-events:none}
body.desktop-go-ready .orb-entry-core{display:block;width:58%;height:58%;border-radius:50%;background:radial-gradient(circle,#e6f7fa5c,transparent 72%);box-shadow:0 0 17px #95d7d4aa}
body.desktop-go-ready .orb-entry:hover,body.desktop-go-ready .orb-entry:focus-visible{transform:translateY(-7vh) scale(1.08)!important;box-shadow:0 0 25px #9fe8ed,0 0 66px #5ec5c6,0 0 100px #eac85880!important}
@keyframes orb-breathe{0%,100%{filter:brightness(.95)}50%{filter:brightness(1.2)}}
}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media(prefers-reduced-motion:reduce){.orb-entry{animation:none!important}}
