/* Wildly Her: The Playground (working prototype, revised 17 Oct 2026, develop only).
   One continuous landscape she travels through sideways: the falls, then the sunlit stream, with three moments
   placed along the water. Only transform and opacity move; nothing is blurred or blended while she travels.
   To reconsider the interaction, only this file and wildly-playground.js need to change. */

/* ---------- in the Haven: the invitation at the foot of the falls ---------- */
.wa-follow-spot { position: absolute; top: var(--top); width: 0; height: 0; opacity: 0; transition: opacity 1s ease 3.4s; } /* after the welcome, never alongside it */
.wa[data-scene="haven"] .wa-follow-spot { opacity: 1; }
.wa-glint { position: absolute; left: -38px; bottom: 6px; width: 76px; height: 220px; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220,250,245,.45), rgba(183,228,225,0)); opacity: 0; animation: waGlint 7s ease-in-out 4s infinite; }
@keyframes waGlint { 0%, 100% { opacity: 0; transform: translateY(-40px) scaleY(.7); } 35% { opacity: .6; } 70% { opacity: 0; transform: translateY(30px) scaleY(1.1); } }
.wa-follow { position: absolute; left: -22px; top: -22px; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px 0 0; border: 0; background: none; color: #F1FBF8; cursor: pointer; white-space: nowrap; }
.wa-follow-dot { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.wa-follow-dot::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; border: 1.5px solid rgba(183,228,225,.95); box-shadow: 0 0 14px rgba(183,228,225,.7); animation: waMark 3.6s ease-in-out 1.6s infinite; }
.wa-follow-t { font-family: var(--display); font-style: italic; font-size: 19px; text-shadow: 0 1px 14px rgba(8,4,6,.85); opacity: .85; }
.wa-follow:hover .wa-follow-t, .wa-follow:focus-visible .wa-follow-t { opacity: 1; }
.wa-follow:hover .wa-follow-dot::before, .wa-follow:focus-visible .wa-follow-dot::before { inset: 12px; background: rgba(183,228,225,.18); }
.wa-follow:focus-visible { outline: 2px solid var(--ch); outline-offset: 2px; border-radius: 22px; }

/* following the water: a short push toward the falls, no blur */
.wa-haven.wp-in { transition: transform .55s cubic-bezier(.5,0,.4,1); transform: scale(1.4); }
.wa.wp-gone .wa-stage > :not(.wp) { visibility: hidden; }
.wa.wp-gone .wa-stage * { animation-play-state: paused; }
.wa.wp-away .wa-stage > :not(.wa-layer):not(.wa-grade) { opacity: 0; transition: opacity .25s ease; pointer-events: none; }

/* ---------- The Playground ---------- */
.wp { position: absolute; inset: 0; z-index: 8; overflow: hidden; color: #fff; background: #10120d; opacity: 0; transition: opacity .4s ease;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.wp.on { opacity: 1; }
.wp.drag { cursor: grabbing; }
.wp[hidden] { display: none; }
.wp-bg { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.wp-falls, .wp-ground { position: absolute; top: 0; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.wp-falls { left: 0; width: 62%; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.wp-ground { right: 0; width: 52%; object-position: 55% 55%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%); }
/* one still gradient for legibility, painted once */
.wp-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(12,10,8,.72) 0%, rgba(12,10,8,.12) 42%, rgba(12,10,8,0) 64%, rgba(12,10,8,.35) 100%); }

.wp-track { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.wp-st { position: absolute; top: 0; bottom: 0; box-sizing: border-box; margin: 0; }
.wp-open { display: flex; flex-direction: column; justify-content: flex-end; padding: 80px clamp(22px, 6vw, 110px) clamp(70px, 13vh, 130px); text-shadow: 0 1px 20px rgba(8,4,6,.7); }
.wp-kick { margin: 0 0 14px; font: 600 12px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--t1); }
.wp-h { margin: 0; outline: none; font-family: var(--display); font-weight: 300; font-size: clamp(50px, 7.4vw, 112px); line-height: .95; color: #fff; }
.wp-h span { display: block; margin-top: .3em; font-style: italic; font-size: .36em; line-height: 1.1; color: var(--t1); }
.wp-q { margin: clamp(16px, 3vh, 28px) 0 0; max-width: 22ch; font-family: var(--display); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; color: #F7F1E8; }
.wp-hint { display: flex; align-items: center; gap: 14px; margin: clamp(22px, 4vh, 40px) 0 0; font: 500 13px/1.4 var(--text); letter-spacing: .06em; color: rgba(255,255,255,.88); }
.wp-hint svg { flex: none; color: var(--ch); animation: wpNudge 2.2s ease-in-out infinite; }
.wp.moved .wp-hint svg { animation: none; }
@keyframes wpNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.wp-hint .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-hint-touch { display: none; }
@media (hover: none) { .wp-hint-touch { display: inline; } .wp-hint-mouse { display: none; } }

/* the moments along the water: always present, sharpening as she arrives (opacity and scale only) */
.wp-m { display: grid; align-items: center; gap: clamp(18px, 3vw, 44px); grid-template-columns: auto minmax(0, 1fr); padding: 70px 0 110px; }
.wp-ph { position: relative; overflow: hidden; height: min(62vh, 620px); background: rgba(255,255,255,.06); box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); will-change: transform, opacity; }
.wp-ph img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.wp-m figcaption { max-width: 30ch; text-shadow: 0 1px 20px rgba(8,4,6,.85); will-change: opacity; }
.wp-m h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; color: #fff; }
.wp-m h3::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 14px; background: var(--ch); }
.wp-m p { margin: 12px 0 0; font-family: var(--display); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; color: #F1EAE2; }
.wp-m-curiosity .wp-ph { aspect-ratio: 770 / 900; border-radius: 200px 200px 14px 14px; align-self: start; margin-top: 4vh; }
.wp-m-curiosity figcaption { align-self: end; }
.wp-m-pleasure { grid-template-columns: minmax(0, 1fr) auto; }
.wp-m-pleasure figcaption { order: -1; text-align: right; justify-self: end; align-self: start; margin-top: 8vh; }
.wp-m-pleasure h3::after { margin-left: auto; }
.wp-m-pleasure .wp-ph { aspect-ratio: 3 / 2; height: min(46vh, 440px); border-radius: 14px 160px 14px 160px; align-self: end; }
.wp-m-possibility .wp-ph { aspect-ratio: 941 / 1671; height: min(70vh, 680px); border-radius: 14px 14px 170px 170px; }

.wp-close { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 80px clamp(22px, 5vw, 80px) 120px; text-shadow: 0 1px 22px rgba(8,4,6,.85); }
.wp-between { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: #EDE5DC; }
.wp-last { margin: 0; max-width: 26ch; font-family: var(--display); font-size: clamp(26px, 2.7vw, 40px); line-height: 1.22; color: #fff; }
.wp-home { align-self: flex-start; margin-top: 6px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.75); background: rgba(14,10,8,.35); color: #fff; font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.wp-home:hover { background: var(--ch); border-color: var(--ch); color: #1d1a10; }

/* orientation along the water: a fine line, three small points, and where she is now */
.wp-way { position: absolute; z-index: 3; left: 50%; bottom: clamp(14px, 3.4vh, 28px); transform: translateX(-50%); width: min(260px, 60vw); height: 44px; }
.wp-way-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.35); }
/* where she is along the water: the orb, keeping her company (17 Oct 2026) */
.wp-way-here { position: absolute; top: -6px; left: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 36% 32%, #fff 0, #F6FAE0 18%, #D6EC80 48%, #7CCDC2 80%, #3E8088 100%); box-shadow: 0 0 10px 2px rgba(214,236,120,.6), 0 0 24px 6px rgba(124,205,194,.3); }
.wp-way-dot { position: absolute; top: 0; width: 44px; height: 44px; margin-left: -22px; padding: 0; border: 0; background: none; cursor: pointer; }
.wp-way-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: rgba(255,255,255,.8); transition: transform .2s ease; }
.wp-way-dot:hover::before, .wp-way-dot:focus-visible::before { transform: scale(1.8); }
.wp-way-l { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--display); font-style: italic; font-size: 15px; color: #fff; text-shadow: 0 1px 10px rgba(8,4,6,.9); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.wp-way-dot:hover .wp-way-l, .wp-way-dot:focus-visible .wp-way-l { opacity: 1; }
.wp-way-dot:focus-visible { outline: 2px solid var(--ch); outline-offset: -6px; border-radius: 50%; }

.wp-back { position: absolute; z-index: 4; left: clamp(16px, 4vw, 40px); top: clamp(14px, 3vh, 26px); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45); background: rgba(14,10,8,.55); color: #fff; font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.wp-back:hover { background: rgba(14,10,8,.75); }
.wp-back:focus-visible, .wp-home:focus-visible { outline: 2px solid var(--ch); outline-offset: 3px; }

@media (max-width: 760px) {
  .wa-follow-spot { top: var(--top-phone); }
  .wa-follow { left: -70px; width: 140px; flex-direction: column; gap: 0; padding: 0; }
  .wa-follow-t { font-size: 17px; text-align: center; }
  .wp-m, .wp-m-pleasure { grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 64px 0 96px; }
  .wp-m .wp-ph, .wp-m-pleasure .wp-ph { height: auto; width: 100%; max-height: 52vh; margin: 0; align-self: auto; }
  .wp-m-curiosity .wp-ph { width: 84%; }
  .wp-m-possibility .wp-ph { width: 66%; justify-self: end; }
  .wp-m-pleasure figcaption { order: 0; text-align: left; justify-self: start; margin: 0; }
  .wp-m-pleasure h3::after { margin-left: 0; }
  .wp-m h3 { font-size: 30px; }
  .wp-m p { font-size: 18px; }
}

/* reduced motion: no travel. The same landscape and words, laid out calmly to read down the page. */
.wp.wp-static { touch-action: auto; cursor: auto; user-select: auto; -webkit-user-select: auto; }
.wp-static .wp-bg { right: 0; transform: none !important; }
.wp-static .wp-falls { width: 100%; -webkit-mask-image: none; mask-image: none; }
.wp-static .wp-ground { display: none; }
.wp-static .wp-track { position: absolute; inset: 0; overflow-y: auto; transform: none !important; }
.wp-static .wp-st { position: relative; top: auto; bottom: auto; left: auto !important; width: auto !important; padding-left: clamp(22px, 6vw, 110px); padding-right: clamp(22px, 6vw, 110px); }
.wp-static .wp-open { min-height: 100%; }
.wp-static .wp-ph, .wp-static figcaption, .wp-static .wp-st { opacity: 1 !important; transform: none !important; }
.wp-static .wp-hint, .wp-static .wp-way { display: none; }
.wp-static .wp-m .wp-ph { height: auto; max-height: 70vh; max-width: 420px; }
@media (prefers-reduced-motion: reduce) {
  .wa-glint, .wp-hint svg { animation: none; }
  .wa-haven.wp-in { transition: none; transform: none; }
  .wp, .wa.wp-away .wa-stage > * { transition: none; }
}

/* ---------- what the Playground is within Wildly Her (17 Oct 2026, copy for review) ---------- */
.wp-intro { margin: clamp(16px, 3vh, 26px) 0 0; max-width: 30ch; font-family: var(--display); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; color: #F7F1E8; }
.wp-open .wp-q { margin-top: 10px; max-width: 26ch; font-style: italic; color: var(--t1); }
.wp-why { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 80px clamp(18px, 2.4vw, 40px) 130px; text-shadow: 0 1px 22px rgba(8,4,6,.9);
  background: radial-gradient(60% 46% at 46% 50%, rgba(10,9,7,.42), rgba(10,9,7,0) 100%); }
.wp-why p { margin: 0; max-width: 34ch; font-family: var(--display); font-size: clamp(19px, 1.65vw, 24px); line-height: 1.45; color: #F4EDE4; }
.wp-why .wp-canvas { margin-top: 8px; font-style: italic; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; color: #fff; }
.wp-why .wp-canvas::before { content: ""; display: block; width: 46px; height: 2px; margin-bottom: 14px; background: var(--ch); }
.wp-close-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 6px; }
.wp-close-go .wp-home { margin-top: 0; }
.wp-discover { min-height: 44px; padding: 6px 0; border: 0; background: none; cursor: pointer; color: #fff; font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: rgba(183,228,225,.7); text-underline-offset: 6px; text-shadow: 0 1px 12px rgba(8,4,6,.9); }
.wp-discover:hover { text-decoration-color: var(--ch); }
.wp-discover:focus-visible { outline: 2px solid var(--ch); outline-offset: 3px; }
@media (max-width: 760px) {
  .wp-open .wp-h { font-size: clamp(44px, 12vw, 56px); }
  .wp-intro { font-size: 19px; }
  .wp-open .wp-q { font-size: 19px; }
  .wp-why { padding: 70px 4px 110px; gap: 14px; background: radial-gradient(80% 50% at 50% 50%, rgba(10,9,7,.5), rgba(10,9,7,0) 100%); }
  .wp-why p { font-size: 18px; }
  .wp-why .wp-canvas { font-size: 25px; }
}

/* ---------- after the closing: the invitation into the full experience (17 Oct 2026, copy for review) ---------- */
.wp-next { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 80px clamp(18px, 2.4vw, 40px) 120px; text-shadow: 0 1px 22px rgba(8,4,6,.88);
  background: radial-gradient(60% 46% at 40% 52%, rgba(10,9,7,.4), rgba(10,9,7,0) 100%); }
.wp-next p { margin: 0; max-width: 34ch; font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: #F4EDE4; }
.wp-next .wp-next-h { font-style: italic; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; color: #fff; }
.wp-next .wp-next-h::before { content: ""; display: block; width: 46px; height: 2px; margin-bottom: 16px; background: var(--ch); }
.wp-next .wp-close-go { margin-top: 12px; flex-direction: column; align-items: flex-start; gap: 14px; }
.wp-experience { text-shadow: none; }
.wp-experience:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* walking back is the quieter choice now */
.wp-next .wp-home { min-height: 44px; padding: 6px 0; border: 0; border-radius: 0; background: none; font-size: 12px; text-decoration: underline; text-decoration-color: rgba(183,228,225,.7); text-underline-offset: 6px; }
.wp-next .wp-home:hover { background: none; color: #fff; text-decoration-color: var(--ch); }
@media (max-width: 760px) {
  .wp-next { padding: 70px 4px 100px; background: radial-gradient(80% 50% at 50% 50%, rgba(10,9,7,.5), rgba(10,9,7,0) 100%); }
  .wp-next p { font-size: 18px; } .wp-next .wp-next-h { font-size: 26px; }
  .wp-experience { padding: 0 20px; font-size: 12px; letter-spacing: .12em; }
}
