/* A short illustrated threshold before the existing seven-step finder. */
body.finder-page:has(#quiz[hidden]):has(#results[hidden]){background:#14262c}
.finder-layout:not(:has(#quiz:not([hidden]))){max-width:none;background:#152a32}
.finder-layout:not(:has(#quiz:not([hidden]))) .immersive-scene{z-index:-1;container-type:normal}
.immersive-layer{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;overflow:hidden}
.immersive-layer.is-current{opacity:1}
#scene-passage .ambient-glow{right:37%;top:6%;width:25%;height:36%}
#scene-threshold .ambient-glow{right:46%;top:2%;width:19%;height:30%}
.scene-fade{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;background:#13252d;transition:opacity .76s ease-in-out}
.finder-layout.is-fading .scene-fade{opacity:1}
.finder-layout.is-traveling .immersive-layer{transition:none}
.finder-layout .finder-copy{transition:opacity .55s ease}
.finder-layout.is-traveling .finder-copy{opacity:0;pointer-events:none}
.immersive-layer img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 54%;transform:scale(1.08) translate3d(calc(var(--px,0)*-1.1%),calc(var(--py,0)*-1.1%),0);transition:transform .25s ease-out}
.immersive-layer .ambient-glow{position:absolute;top:30%;right:27%;width:20%;height:30%;background:radial-gradient(ellipse,#ffbd6d66,transparent 67%);filter:blur(22px);animation:ambient-pulse 5s ease-in-out infinite}
#scene-bath .ambient-glow{right:15%;top:44%}
.bath-mist{position:absolute;left:-15%;bottom:1%;width:130%;height:38%;background:radial-gradient(ellipse at 48% 90%,#d8eeeb88,transparent 58%);filter:blur(32px);opacity:.65;animation:mist-drift 9s ease-in-out infinite}
.immersive-veil{position:absolute;inset:0;background:linear-gradient(180deg,#0a1b264d 0%,transparent 30%,#07191e32 57%,#091c23a8 100%)}
#snowfall{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
body.finder-page:has(#quiz[hidden]):has(#results[hidden]) .site-header{top:max(13px,env(safe-area-inset-top));padding:10px clamp(18px,4vw,54px);justify-content:flex-start}
body.finder-page:has(#quiz[hidden]):has(#results[hidden]) .brand{font-family:var(--serif);color:#fff3d9;text-shadow:0 2px 12px #081a1e;font-size:20px}
.ambient-toggle{position:absolute;top:max(23px,env(safe-area-inset-top));right:clamp(17px,4vw,54px);z-index:5;border:1px solid #efe2c977;background:#1c3337b8;backdrop-filter:blur(10px);color:#fff0d6;padding:10px 15px;border-radius:24px;font-size:12px;cursor:pointer}
.ambient-toggle[aria-pressed=true]{background:#6e503cbc}
.scene-chapter{position:absolute;right:clamp(21px,4vw,54px);top:43%;z-index:2;color:#f5e6d2d9;font-size:11px;letter-spacing:.15em;writing-mode:vertical-rl;text-shadow:0 2px 8px #111}
.scene-hint{position:absolute;left:50%;transform:translateX(-50%);top:13%;z-index:2;color:#f5e8d8d6;font-size:11px;text-shadow:0 2px 9px #0b1c20;white-space:nowrap;transition:opacity .5s}
.scene-hint.is-dismissed{opacity:0}
.finder-layout:has(#quiz:not([hidden])) .ambient-toggle,.finder-layout:has(#quiz:not([hidden])) .scene-chapter,.finder-layout:has(#quiz:not([hidden])) .scene-hint{display:none}
.finder-layout:not(:has(#quiz:not([hidden]))) .finder-copy{left:clamp(14px,4vw,54px);right:auto;width:min(590px,calc(100% - 28px));padding:0;bottom:max(28px,env(safe-area-inset-bottom))}
.finder-layout:not(:has(#quiz:not([hidden]))) .intro{background:linear-gradient(135deg,#162a30d9,#1a2c2cba);border:1px solid #f2dfbd73;border-bottom:0;border-radius:16px 16px 0 0;backdrop-filter:blur(15px);padding:23px 27px 8px;text-align:left}
.finder-layout:not(:has(#quiz:not([hidden]))) .intro .journey-title{text-align:left}
.finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-lead,.finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-accent{color:#fff7e9;text-align:left;font-size:clamp(28px,3.4vw,42px);line-height:1.28;font-weight:600;text-shadow:0 2px 14px #091b1e;letter-spacing:-.04em}
.finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-accent{color:#f1d8ab}
.finder-layout:not(:has(#quiz:not([hidden]))) .start-panel{justify-content:flex-start;text-align:left;background:#1a2c2cc6;border:1px solid #f2dfbd73;border-top:0;border-radius:0 0 16px 16px;backdrop-filter:blur(15px);padding:12px 27px 23px}
.finder-layout:not(:has(#quiz:not([hidden]))) .start-panel .primary{min-width:0;width:auto;min-height:49px;padding:10px 22px;color:#233631;text-shadow:none;background:#efd2a2;border:1px solid #ffdfad;box-shadow:0 4px 14px #061b1b55;font-family:inherit;font-weight:700;font-size:15px}
.finder-layout:not(:has(#quiz:not([hidden]))) .start-panel .primary:hover{background:#ffe3b4}
.finder-layout:not(:has(#quiz:not([hidden]))) .start-panel{align-items:center;gap:12px}
.finder-layout:not(:has(#quiz:not([hidden]))) .scene-back{min-height:49px;padding:9px 15px;border:1px solid #f2dfbd7d;border-radius:9px;background:#172b30b5;color:#fff0d8;font:inherit;font-size:13px;cursor:pointer;backdrop-filter:blur(9px)}
.scene-back[hidden]{display:none!important}
.scene-back:focus-visible{outline:2px solid #fff4c9;outline-offset:3px}
.finder-layout.is-traveling .scene-back{pointer-events:none}
.finder-layout:not(:has(#quiz:not([hidden]))) .start-panel .primary:disabled{opacity:.72;cursor:wait}
.ambient-toggle:focus-visible,.finder-layout .start-panel .primary:focus-visible{outline:2px solid #fff4c9;outline-offset:3px}
/* The result introduces the recommendation with the same quiet sense of place. */
#results .result-heading{min-height:300px;display:flex;align-items:flex-end;padding:44px;background-image:linear-gradient(90deg,#132c36df,#102a35a1 50%,#102a3535),url('assets/immersive/snow-bath.webp');background-size:cover;background-position:center 54%;border:0;border-radius:13px;color:#fff9e9}
#results .result-heading .eyebrow{color:#f1d7a9;border-color:#f1d7a9}
#results .result-heading .title-lead,#results .result-heading .title-accent{color:#fff7e8;text-shadow:0 2px 13px #092329}
#results .result-heading .result-trip{background:#1b3033c9;color:#fff4df;border-color:#f6dfba77}
#results .result-heading .result-trip:before{background:#e7ca98}
@keyframes ambient-pulse{50%{opacity:.58;transform:scale(1.12)}}
@keyframes mist-drift{50%{transform:translateY(-6%) scale(1.05);opacity:.48}}
@media(max-width:680px){
 .finder-layout:not(:has(#quiz:not([hidden]))){height:100svh;min-height:0}
 .immersive-layer img{object-position:center 48%;transform:scale(1.03) translate3d(calc(var(--px,0)*-1%),0,0)}
 #scene-alley img{object-position:64% center}
 #scene-passage img{object-position:50% center}
 #scene-threshold img{object-position:54% center}
 #scene-bath img{object-position:52% center}
 .immersive-veil{background:linear-gradient(180deg,#0b1b294d 0%,transparent 18%,transparent 59%,#0c202977 76%,#0b1e27dc 100%)}
 .finder-layout:not(:has(#quiz:not([hidden]))) .finder-copy{left:12px;width:calc(100% - 24px);bottom:calc(14px + env(safe-area-inset-bottom))}
 .finder-layout:not(:has(#quiz:not([hidden]))) .intro{padding:15px 16px 3px;background:linear-gradient(180deg,#122a2b86,#142a2ca8);border-color:#f2dfbd60;backdrop-filter:blur(7px)}
 .finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-lead,.finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-accent{font-size:clamp(21px,6vw,29px);line-height:1.28}
 .finder-layout:not(:has(#quiz:not([hidden]))) .start-panel{padding:8px 12px 12px;gap:7px;background:#142a2ca8;border-color:#f2dfbd60;backdrop-filter:blur(7px)}
 .finder-layout:not(:has(#quiz:not([hidden]))) .start-panel .primary{flex:1;width:auto;font-size:13px;min-height:47px;padding:8px 10px}
 .finder-layout:not(:has(#quiz:not([hidden]))) .scene-back{min-height:47px;padding:8px 10px;font-size:11px;white-space:nowrap}
 .ambient-toggle{top:max(23px,env(safe-area-inset-top));right:14px;padding:8px 11px;font-size:11px}
 body.finder-page:has(#quiz[hidden]):has(#results[hidden]) .brand{font-size:16px}
 .scene-chapter{display:block;right:16px;top:auto;bottom:calc(168px + env(safe-area-inset-bottom));writing-mode:horizontal-tb;font-size:10px;background:#162d30a6;border-radius:30px;padding:6px 10px}
 .scene-hint{top:16%;font-size:11px;background:#1329319c;border-radius:20px;padding:7px 12px}
 #results .result-heading{min-height:260px;padding:25px 22px;background-image:linear-gradient(90deg,#122c37de,#112a35a9 70%,#132e3866),url('assets/immersive/snow-bath.webp');background-position:center}
}
@media(max-width:680px) and (max-height:700px){
 .finder-layout:not(:has(#quiz:not([hidden]))) .intro{padding:9px 14px 2px}
 .finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-lead,.finder-layout:not(:has(#quiz:not([hidden]))) .intro .title-accent{font-size:20px;line-height:1.2}
 .finder-layout:not(:has(#quiz:not([hidden]))) .start-panel{padding:5px 10px 8px}
 .scene-chapter{bottom:138px}
}
@media(prefers-reduced-motion:reduce){.immersive-layer,.immersive-layer img,.ambient-glow,.bath-mist,.scene-fade{animation:none!important;transition:none!important}.finder-layout.is-traveling .finder-copy{opacity:1;transform:none}}
