/* KCY concept "under one umbrella": the journey, in the manner of SeenSilver concept 2 "The Signal". Inline in the two concept pages only. site.css is untouched. */
@font-face{font-family:"Cormorant Garamond";src:url(/assets/signal/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"J Serif Fallback";src:local("Georgia"),local("Times New Roman");size-adjust:86%}

/* --jt = concept ribbon + header (journey.js sets the measured value); --jh = the height of the stage under them */
:root{--jt:96px}
.j{position:relative;background:#021a33;color:#fff;--jh:calc(100vh - var(--jt));overflow:clip}
@supports (height:100svh){.j{--jh:calc(100svh - var(--jt))}}
.j-stage{position:sticky;top:var(--jt);height:var(--jh);margin-bottom:calc(-1*var(--jh));overflow:hidden;z-index:0;background:#021a33}
.j-canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .4s linear}
.j-prog{position:absolute;right:9px;top:50%;width:2px;height:120px;margin-top:-60px;background:rgba(203,233,255,.24);opacity:0;transition:opacity .4s}
.j-prog i{position:absolute;left:0;top:0;width:2px;height:calc(var(--p,0)*100%);background:#8cc6ff}
.j-prog b{position:absolute;left:-2px;width:6px;height:1px;background:rgba(203,233,255,.7)}
.j-fps{position:fixed;left:8px;top:108px;z-index:95;background:rgba(2,26,51,.86);color:#fff;font:600 12px/1.35 ui-monospace,Consolas,monospace;padding:6px 8px;border:1px solid #4797dd;border-radius:6px;white-space:pre;pointer-events:none}

.j-rooms{list-style:none;margin:0;padding:0;position:relative;z-index:1}
.j-room{position:relative;height:calc(var(--jh)*1.25);margin:0;padding:0}
.j-still{position:sticky;top:var(--jt);height:var(--jh);margin-bottom:calc(-1*var(--jh));overflow:hidden;transition:opacity .4s linear;background:radial-gradient(120% 90% at 50% 42%,#07325c,#021a33 62%,#01101f)}
.j-still svg{position:absolute;left:0;top:-9%;width:100%;height:100%;display:block;max-width:none;overflow:visible}

.j-text{position:absolute;left:0;right:0;bottom:calc(var(--jh)*.25);padding:0 22px;z-index:2}
.j-room[data-room="1"] .j-text{bottom:calc(var(--jh)*.25 + 92px)}
.j-text::before{content:"";position:absolute;left:8px;right:8px;top:-12px;bottom:-14px;z-index:-1;border-radius:26px;background:rgba(2,22,44,.7);box-shadow:0 0 46px 34px rgba(2,22,44,.7);pointer-events:none}
.j .j-text h1,.j .j-text h2{font:500 clamp(40px,11.6vw,52px)/1.04 "Cormorant Garamond","J Serif Fallback",Georgia,serif;letter-spacing:-.01em;text-transform:none;margin:0 0 14px;color:#fff;max-width:11em;text-wrap:balance;text-shadow:0 1px 22px rgba(2,22,44,.55)}
.j .j-text p{font:400 17.5px/1.5 var(--sans);margin:0;color:#dcefff;max-width:31ch;text-shadow:0 1px 14px rgba(2,22,44,.7)}
html[lang="zh-Hans"] .j .j-text h1,html[lang="zh-Hans"] .j .j-text h2{font-family:var(--sans);font-weight:300;font-size:clamp(32px,9.2vw,42px);line-height:1.28;letter-spacing:.02em;max-width:9.5em}
html[lang="zh-Hans"] .j .j-text p{line-height:1.7;max-width:19em}

.j-on .j-canvas{opacity:1}
.j-on .j-prog{opacity:1}
.j-on .j-still{opacity:0}
.j-gone .j-still svg{display:none}
.j-cap .j-text,.j-cap .j-prog,.j-cap .ribbon,.j-cap .site-header,.j-cap .wa-float{visibility:hidden}

/* meet Kim Choy (the v7 home name card) */
.ju-meet{background:var(--navy);color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.ju-meet h2{color:#fff;font-size:clamp(30px,7.4vw,46px);line-height:1.1;margin-bottom:14px}
html[lang="zh-Hans"] .ju-meet h2{line-height:1.3}
.ju-meet p{color:var(--ice)}
.ju-meet .actions{margin:22px 0 18px}
.ju-meet .ju-fine{font-size:13.5px;color:#9fbad1;max-width:36em}
.ju-meet-grid{display:grid;gap:30px;align-items:center}
.ju-meet .hero-art{margin:0 auto}

@media (min-width:768px){
.j-text{padding:0 40px}
.j .j-text h1,.j .j-text h2{font-size:clamp(52px,7.4vw,68px)}
.j .j-text p{font-size:19px}
html[lang="zh-Hans"] .j .j-text h1,html[lang="zh-Hans"] .j .j-text h2{font-size:clamp(42px,6vw,56px)}
}
@media (min-width:900px){
.j-room{height:calc(var(--jh)*1.4)}
.j-text{left:6vw;right:auto;width:36vw;padding:0;bottom:auto;top:50%;transform:translateY(-50%)}
.j-room[data-room="1"] .j-text{bottom:auto;top:calc(var(--jh)*.5)}
.j .j-text h1,.j .j-text h2{font-size:clamp(56px,6.1vw,96px);max-width:none}
html[lang="zh-Hans"] .j .j-text h1,html[lang="zh-Hans"] .j .j-text h2{font-size:clamp(44px,4.6vw,72px);max-width:none}
.j-text::before{left:-14px;right:-6px;top:-14px;bottom:-16px;background:rgba(2,22,44,.34);box-shadow:0 0 70px 60px rgba(2,22,44,.34)}
.j-prog{right:22px;height:160px;margin-top:-80px}
.j-still svg{left:17%;top:0}
.ju-meet-grid{grid-template-columns:1.15fr .85fr;gap:60px}
}
@media (prefers-reduced-motion:reduce){.j-canvas,.j-prog{display:none}.j-still{transition:none}}

/* room 6: daylight. The v7 name card sits on the sun; dark words on a soft light shade */
.j-light .j-still{background:linear-gradient(#dcebfa,#f4f9ff 55%,#e6f1fc)}
.j-room.j-light{height:auto;min-height:calc(var(--jh)*1.25)}
.j-end{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:30px;padding:calc(var(--jh)*.2) 22px 84px}
.j-end .hero-art{order:0;margin:0 auto;max-width:300px;animation:none}
.j-end .j-text{position:relative;left:auto;right:auto;bottom:auto;top:auto;transform:none;padding:0;width:100%;max-width:560px}
.j-light .j-text::before{background:rgba(244,249,255,.72);box-shadow:0 0 46px 34px rgba(244,249,255,.72)}
.j .j-light .j-text h2{color:var(--navy);text-shadow:0 1px 22px rgba(244,249,255,.7)}
.j .j-light .j-text p{color:var(--ink);text-shadow:none;max-width:34ch}
.j-end .btn{margin:22px 0 16px}
.j .j-light .j-text .ju-fine{font-size:13.5px;line-height:1.5;color:var(--muted);max-width:40ch}
@media (min-width:900px){
.j-room.j-light{min-height:calc(var(--jh)*1.4)}
.j-end{display:grid;grid-template-columns:36vw 1fr;gap:6vw;align-items:center;min-height:calc(var(--jh)*1.4);padding:0 6vw}
.j-end .j-text{order:-1;max-width:none}
.j-end .hero-art{max-width:360px}
.j-light .j-text::before{background:rgba(244,249,255,.5);box-shadow:0 0 70px 60px rgba(244,249,255,.5)}
}

/* the v7 header is 72px from 768px up (68px below): measured 22 Nov 2026 at 390, 768, 1024, 1366 */
@media (min-width:768px){:root{--jt:100px}}

/* v15 (ORDER 145): the opening still has a phone and a wide version of the floor + point (same places as the 3D) */
.j-still .st-wd{display:none}
@media (min-width:900px){.j-still .st-ph{display:none}.j-still .st-wd{display:inline}}

/* v16 (ORDER 146): the KCY mark in the opening still. Faint while the 3D is on its way (the light then signs over it);
   full when the still is the final picture (reduced motion, no WebGL, slow phone: journey.js adds .j-final) */
.j-still .lg{opacity:.2;transition:opacity .4s}
.j-final .j-still .lg{opacity:1}
@media (prefers-reduced-motion:reduce){.j-still .lg{opacity:1}}
