.demo-ready .hero { display: block; padding-top: 28px; }
.mood-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; margin-bottom: 44px; border: 1px solid #bddcca20; border-radius: 22px; background: #19342b70; }
.mood-bar p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: #d0ded5; }
.mood-bar>div { display: flex; flex-wrap: wrap; gap: 8px; }
.mood-choice, .portal-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #b7dcc21c; border-radius: 999px; background: #d8e7dc05; color: #c9dcd0; padding: 10px 17px; min-height: 44px; font-size: 12px; cursor: pointer; transition: background .25s, color .25s; }
.mood-choice[aria-pressed=true], .portal-controls button[aria-pressed=true] { background: #a3d5b6; color: #0b2119; border-color: #a3d5b6; }
.mood-choice:hover, .portal-controls button:hover { border-color: #b7dcc266; }
.mood-choice>span { font-size: 18px; line-height: 1; }
.demo-ready .hero-explore { display: none; }
.sound-preview { border: 1px solid #c3dfcb26; border-radius: 22px; background: #182d267a; max-width: 425px; margin-top: 24px; padding: 18px 20px 14px; }
.sound-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.preview-kicker { font-size: 9px; letter-spacing: .13em; color: #a3c8b1; font-weight: 600; }
.sound-heading p { font-size: 15px; font-weight: 500; margin: 3px 0 0; }
.sound-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #afd4bc38; border-radius: 999px; background: #cee6d407; color: #d9e9de; padding: 8px 13px; font-size: 11px; cursor: pointer; }
.sound-toggle[aria-pressed=true] { background: #a3d5b6; border-color: #a3d5b6; color: #0b2119; }
.sound-icon { font-size: 18px; line-height: 1; }
.sound-controls { border-bottom: 0; margin-top: 8px; }
.sound-controls summary { font-size: 11px; min-height: 38px; padding-block: 8px; color: #aac6b6; }
.sound-controls summary>span { font-size: 18px; }
.mixer-channels { display: grid; gap: 15px; padding-block: 10px 15px; }
.mixer-channels label { display: block; font-size: 12px; color: #c8d9cf; }
.mixer-channels label>span { display: flex; justify-content: space-between; gap: 15px; }
.mixer-channels output { color: var(--accent); font-variant-numeric: tabular-nums; }
.mixer-channels input { width: 100%; accent-color: #a3d5b6; min-height: 28px; margin: 2px 0 0; cursor: pointer; }
.sound-preview .sound-note { font-size: 10px; color: #a5bbae; line-height: 1.5; margin: 4px 0 0; }
.sound-error { font-size: 12px; color: #ebd5b1; margin: 10px 0 0; }
.demo-ready .hero-content { padding-bottom: 16px; }
.demo-ready .hero h1 { font-size: clamp(48px, 4.7vw, 68px); }
.demo-ready .hero-visual { align-self: stretch; display: flex; align-items: center; }
.demo-ready .landscape-frame { width: 100%; height: clamp(570px, 49vw, 700px); }
.demo-ready .scene-top { top: 27px; }
.portal-controls { position: absolute; z-index: 5; top: 80px; left: 24px; right: 24px; display: flex; width: fit-content; max-width: calc(100% - 48px); gap: 2px; padding: 4px; background: #091d17d9; border: 1px solid #d8ead52e; border-radius: 999px; }
.portal-controls button { padding: 7px 13px; font-size: 11px; border-color: transparent; min-height: 38px; }
.landscape-frame figcaption { transition: opacity .25s; }
.landscape-frame[data-mode=water] figcaption, .landscape-frame[data-mode=breathe] figcaption { opacity: 0; pointer-events: none; }
.water-experience, .water-demo, .light-demo { position: absolute; inset: 0; }
.water-experience { z-index: 2; }
.water-demo { overflow: hidden; background: radial-gradient(ellipse at 48% 42%, #24464d, #112a33 50%, #091c24 85%); }
.water-demo:before { content: ''; position: absolute; inset: 0; opacity: .4; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 35px, #8abfba10 37px 39px, transparent 41px 70px); transform: scale(1.3); pointer-events: none; }
.portal-water { z-index: 2; }
.water-tap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: transparent; cursor: pointer; touch-action: pan-y; }
.zen-stone { position: absolute; z-index: 2; width: 65px; height: 43px; border-radius: 46% 55% 43% 52%; border: 1px solid #a8cdc235; background: radial-gradient(ellipse at 32% 20%, #72978a, #3c5b53 28%, #263f39 65%, #132b27); box-shadow: inset 0 3px 5px #c1d9cb23, 4px 10px 10px #0006; transform: translate(-50%, -50%) rotate(-12deg); touch-action: none; cursor: grab; }
.stone-2 { width: 53px; height: 35px; transform: translate(-50%, -50%) rotate(17deg); }
.stone-3 { width: 42px; height: 28px; transform: translate(-50%, -50%) rotate(-5deg); }
.zen-stone.dragging { cursor: grabbing; box-shadow: inset 0 3px 5px #c1d9cb23, 5px 14px 18px #0008; }
.demo-water-hint { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 60px; color: #c7e3d7; font-size: 11px; line-height: 1.7; pointer-events: none; text-align: left; }
.portal-water .demo-water-hint { bottom: 105px; }
.touch-ripple { position: absolute; z-index: 1; width: 130px; height: 75px; margin: -37px 0 0 -65px; border: 2px solid #b5e2d7a8; border-radius: 50%; pointer-events: none; animation: touch-water 1.4s ease-out forwards; box-shadow: inset 0 0 0 5px #abd5d20d; }
@keyframes touch-water { from { transform: scale(.1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.light-demo { z-index: 2; width: 100%; height: 100%; overflow: hidden; border: 0; background: transparent; cursor: pointer; color: inherit; touch-action: pan-y; }
.light-spot { position: absolute; left: 50%; top: 45%; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, #e9ecda44, #b6d6b717 40%, transparent 70%); transform: translate(-50%, -50%); pointer-events: none; }
.experience-image>.experience-mark, .experience-image>span { pointer-events: none; z-index: 4; }
.portal-breath { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #071b197d; }
.demo-breathing { display: grid; place-items: center; width: 165px; height: 165px; padding: 20px; border-radius: 50%; text-align: center; background: radial-gradient(circle at 32% 25%, #8dbd9c, #365f4a 55%, #17372d); border: 1px solid #bddcb66b; box-shadow: 0 0 0 24px #a2c8ac0c, 0 0 0 48px #a2c8ac09; transform: scale(.9); transition: transform 6s ease-in-out; }
.demo-breathing.inhale { transform: scale(1.12); transition-duration: 4s; }
.demo-phase { font-size: 16px; color: #f0f5ed; font-weight: 500; line-height: 1.35; }
.sanctuary { color: #eaf3ec; background: #091b15; padding: 0; border: 1px solid #abc9b540; border-radius: 32px; width: min(860px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overscroll-behavior: contain; }
.sanctuary::backdrop { background: #020b08ed; }
.sanctuary-shell { min-height: min(700px, calc(100dvh - 44px)); display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 50%, #284b354d, transparent 65%); }
.sanctuary header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 28px; }
.sanctuary-close { min-height: 44px; min-width: 44px; border: 1px solid #bdd9c52e; border-radius: 50%; background: #cce4cc0a; color: #d4e4d8; cursor: pointer; }
.sanctuary-body { text-align: center; padding: 12px 35px 25px; margin-block: auto; }
.sanctuary h2 { font-size: clamp(26px, 4vw, 39px); }
.sanctuary-body>p:first-of-type { max-width: 475px; margin: 20px auto 0; color: #b0c9ba; font-size: 14px; }
.sanctuary-orbits { min-height: 310px; display: grid; place-items: center; }
.sanctuary-time { color: #a5c9b0; font-size: 12px; margin: 0; font-variant-numeric: tabular-nums; }
.sanctuary-message { color: #d5e9d7; font-size: 14px; margin: 10px 0 0; }
.sanctuary-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.sanctuary-actions .button { font-size: 12px; min-height: 44px; padding: 8px 16px; }
.sanctuary footer { text-align: center; font-size: 10px; color: #99b3a2; padding: 16px 20px; border-top: 1px solid #c2d9bf17; }
.sanctuary-active { overflow: hidden; }
.sanctuary-active .landing * { animation-play-state: paused !important; }
@media (max-width: 1100px) {
  .mood-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .demo-ready .hero h1 { font-size: clamp(45px, 5vw, 60px); }
  .portal-controls { left: 16px; right: 16px; max-width: calc(100% - 32px); }
  .portal-controls button { padding-inline: 11px; }
  .sound-heading { gap: 12px; }
}
@media (max-width: 760px) {
  .demo-ready .hero { padding-top: 18px; }
  .mood-bar { padding: 16px; margin-bottom: 28px; border-radius: 20px; }
  .mood-bar p { font-size: 12px; }
  .mood-bar>div { gap: 6px; }
  .mood-choice { padding: 8px 11px; font-size: 11px; min-height: 40px; gap: 6px; }
  .mood-choice>span { font-size: 15px; }
  .demo-ready .hero h1 { font-size: clamp(42px, 8vw, 59px); }
  .demo-ready .hero-visual { display: block; }
  .demo-ready .landscape-frame { height: 440px; }
  .sound-preview { margin-top: 20px; padding: 15px; max-width: 100%; }
  .sound-heading p { font-size: 14px; }
  .sound-toggle { font-size: 10px; gap: 7px; padding-inline: 10px; }
  .portal-controls { top: 76px; left: 14px; right: 14px; max-width: calc(100% - 28px); }
  .portal-controls button { font-size: 10px; min-height: 38px; padding-inline: 11px; }
  .demo-water-hint { font-size: 10px; bottom: 55px; }
  .sanctuary { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 24px; }
  .sanctuary-shell { min-height: 0; }
  .sanctuary header { padding: 12px 16px; }
  .sanctuary-body { padding: 12px 20px 24px; }
  .sanctuary-orbits { min-height: 270px; }
  .sanctuary .demo-breathing { width: 150px; height: 150px; }
}
@media (max-width: 360px) {
  .demo-ready .hero h1 { font-size: 38px; }
  .mood-choice { padding-inline: 9px; font-size: 10px; }
  .mood-choice>span { display: none; }
  .sound-heading { flex-wrap: wrap; }
  .portal-controls button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .touch-ripple { animation: none; opacity: .5; transform: scale(.7); }
  .demo-breathing, .demo-breathing.inhale { transform: none; }
}
