@import url("/world/assets/fonts/korean.css");
:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',Arial,sans-serif;color:#f8f0e5;background:#181c20;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #efbf92;outline-offset:5px}.skip{position:fixed;top:-90px;z-index:30;background:#181c20;padding:20px}.skip:focus{top:0}.experience{height:100svh;height:100dvh;min-height:550px;position:relative;overflow:hidden;isolation:isolate}.fallback,#world,.shade{position:absolute;inset:0;width:100%;height:100%}.fallback{background:#343738 url('/world/assets/yokohama-portrait.webp') center/cover no-repeat}#world{display:block;opacity:0;transition:opacity 1.4s;touch-action:none}.ready #world{opacity:1}.shade{pointer-events:none;background:linear-gradient(180deg,#10151970,transparent 31%,transparent 59%,#101519b5 100%);z-index:1}.masthead{position:absolute;z-index:3;top:calc(25px + env(safe-area-inset-top));left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:26px}.masthead img{display:block;width:143px;height:auto;filter:invert(1);opacity:.93}.text-button{border:0;background:none;padding:12px 0;font-size:9px;font-weight:500;letter-spacing:.14em;min-height:44px}.masthead span{margin-left:8px;font-size:15px}.location{position:absolute;top:calc(103px + env(safe-area-inset-top));left:26px;font-size:8px;letter-spacing:.18em;z-index:2;display:flex;gap:9px;align-items:center}.location-divider{opacity:.5;margin:0 3px}.light-dot{width:4px;height:4px;border-radius:50%;background:#f0c795;box-shadow:0 0 10px #f4b976}.chapter-copy{position:absolute;z-index:2;top:calc(151px + env(safe-area-inset-top));left:25px;right:18px;pointer-events:none;transition:opacity .5s,transform .7s}.chapter-copy>p:first-child{font-size:8px;letter-spacing:.23em;margin:0 0 14px;opacity:.7}h1{font:400 clamp(48px,14vw,76px)/.93 Georgia,'Times New Roman',serif;letter-spacing:-.05em;margin:0;color:#fff3e2}h1 em,h2 em{font-weight:400}#chapter-subtitle{font-size:10px;line-height:1.7;letter-spacing:.025em;margin-top:19px;color:#f7e4cdcc}.traveling .chapter-copy{opacity:0;transform:translateY(-12px)}.arrived .chapter-copy{opacity:1;transform:translateY(0)}.transport{position:absolute;z-index:4;bottom:calc(35px + env(safe-area-inset-bottom));left:25px;right:25px}.transport-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.transport-top>span{font-size:7px;letter-spacing:.17em;opacity:.55}.sound-bars{font-size:16px;letter-spacing:-2px;padding-right:8px}.enter{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 0;border:0;border-bottom:1px solid #f8e7d75c;background:none;text-align:left;font-size:12px;letter-spacing:.035em;min-height:52px}.enter>span:last-child{font-size:26px;font-weight:200}.enter:disabled{opacity:.45}.timeline{margin-top:15px;display:none}.traveling .timeline,.arrived .timeline,.paused .timeline{display:block}.timeline>label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}input[type=range]{width:100%;margin:0;height:32px;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize}input[type=range]::-webkit-slider-runnable-track{height:1px;background:#eed1b45c}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:9px;width:9px;border:0;border-radius:50%;background:#f6d7b5;margin-top:-4px;box-shadow:0 0 9px #eebe9260}input[type=range]::-moz-range-track{height:1px;background:#eed1b45c}input[type=range]::-moz-range-thumb{height:9px;width:9px;border:0;border-radius:50%;background:#f6d7b5}.marks{display:flex;justify-content:space-between;margin-top:-1px}.marks button{border:0;background:none;font-size:7px;letter-spacing:.14em;min-height:32px;padding:0;opacity:.6}.edge-index{position:absolute;z-index:2;right:10px;top:45%;writing-mode:vertical-rl;letter-spacing:.2em;font-size:6px;opacity:.4}#status{position:absolute;z-index:5;bottom:calc(9px + env(safe-area-inset-bottom));left:25px;right:25px;font-size:8px;line-height:1.3;color:#dfcfbe;pointer-events:none}#status:empty{display:none}#browser-hint{position:absolute;z-index:4;left:25px;right:25px;bottom:calc(206px + env(safe-area-inset-bottom));font-size:10px;background:#151a1dcc;padding:12px;line-height:1.6}.no-script{position:fixed;z-index:20;bottom:24px;padding:25px;background:#181c20}.no-script a{text-decoration:underline}dialog{border:0;margin:0 0 0 auto;padding:0;width:100%;max-width:650px;height:100dvh;max-height:100dvh;background:#eee7dd;color:#302d29;overscroll-behavior:contain}dialog::backdrop{background:#131a20b8;backdrop-filter:blur(7px)}.archive-head{position:sticky;top:0;background:#eee7ddef;backdrop-filter:blur(10px);z-index:1;display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top)) 25px 16px;border-bottom:1px solid #c0b8ac;font-size:9px;letter-spacing:.11em}.archive-head button{border:0;background:none;font-size:10px;min-height:44px}.archive-content{padding:45px 25px calc(45px + env(safe-area-inset-bottom))}.eyebrow{font-size:8px;letter-spacing:.15em;color:#807366}h2{font:400 clamp(47px,12.5vw,73px)/1 Georgia,serif;letter-spacing:-.055em;margin:24px 0 42px}figure{margin:0}figure img{width:100%;height:auto;display:block}figcaption{font-size:7px;letter-spacing:.09em;padding-top:10px;color:#83776b;line-height:1.6}.editorial{font-size:17px;line-height:2.05;margin:40px 0 20px}.note{font-size:11px;line-height:1.95;color:#7c7065;max-width:420px}.diptych{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:40px 0}.diptych img{aspect-ratio:4/5;object-fit:cover}.journal-link{display:flex;justify-content:space-between;padding:22px 0;border-top:1px solid #c4b9ad;font-size:10px}.journal-link span{font-size:17px}.colophon{font-size:8px;line-height:2;color:#8a7c6e;margin:40px 0 0}@media(min-width:700px){.chapter-copy{left:7vw;top:24vh}h1{font-size:85px}.masthead,.location{left:7vw;right:7vw}.transport{left:7vw;right:7vw;max-width:450px}.edge-index{right:30px}}@media(max-height:700px){.chapter-copy{top:135px}h1{font-size:45px}#chapter-subtitle{margin-top:12px}.transport{bottom:calc(26px + env(safe-area-inset-bottom))}.location{top:87px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}[hidden]{display:none!important}

.ready .fallback{visibility:hidden}

/* CINEMATIC WORLD 003 / editorial light-frame and portable safe areas.
   Canvas fills the stage. No additional WebGL draws or input interception. */
.experience::before{
 content:"";position:absolute;z-index:1;inset:0;pointer-events:none;
 background:linear-gradient(180deg,rgba(7,11,17,.19) 0%,transparent 18%,transparent 66%,rgba(13,11,13,.17) 100%);
}
.masthead{padding-bottom:14px;border-bottom:1px solid rgba(252,233,210,.23)}
.masthead img{width:clamp(125px,11vw,164px)}
.location{color:rgba(255,238,217,.87);text-shadow:0 2px 16px rgba(15,15,15,.3)}
.chapter-copy{max-width:min(720px,80vw)}
.chapter-copy>p:first-child{color:rgba(252,222,191,.86)}
.chapter-copy h1{font-weight:400;letter-spacing:-.06em;text-shadow:0 7px 35px rgba(10,13,15,.29)}
.chapter-copy h1 em{font-weight:400;color:#f7d4b7}
.transport-top{border-top:1px solid rgba(252,233,210,.32);padding-top:12px}
.enter{font-size:clamp(12px,1.1vw,14px);letter-spacing:.055em;border-bottom-color:rgba(252,233,210,.5)}
.enter:not(:disabled):hover{color:#ffdabb}
.timeline input[type=range]::-webkit-slider-thumb{height:12px;width:12px;margin-top:-5.5px;box-shadow:0 0 0 3px rgba(254,220,185,.13)}
.timeline input[type=range]::-moz-range-thumb{height:12px;width:12px;box-shadow:0 0 0 3px rgba(254,220,185,.13)}
.archive-content .journal-link:hover{color:#96705c}
@media(min-width:900px){
 .chapter-copy{top:25vh}
 .chapter-copy h1{font-size:clamp(75px,7vw,123px);line-height:.88}
 .chapter-copy #chapter-subtitle{font-size:12px;letter-spacing:.04em}
 .location{top:calc(108px + env(safe-area-inset-top))}
}
@media(max-width:699px){
 .masthead{left:21px;right:21px}
 .chapter-copy{top:calc(145px + env(safe-area-inset-top));left:21px;right:21px}
 .location{left:21px}
 .transport{left:21px;right:21px}
 .chapter-copy h1{font-size:clamp(53px,14vw,84px);line-height:.9}
 .shade{background:linear-gradient(180deg,rgba(11,15,19,.59),transparent 37%,transparent 51%,rgba(13,14,17,.78) 100%)}
}
@media(max-height:680px){
 .chapter-copy{top:calc(123px + env(safe-area-inset-top))}
 .chapter-copy h1{font-size:clamp(44px,8.3vh,70px)}
}
@media(prefers-reduced-motion:reduce){.enter{transition:none}}

/* Cinema 004 / light, frame, and chapter navigation. Keep the canvas unobstructed. */
.masthead-actions{display:flex;align-items:center;gap:clamp(15px,2vw,32px)}
.masthead-actions .text-button{white-space:nowrap;transition:opacity .25s ease,color .25s ease}
.masthead-actions .text-button:hover{color:#ffdbc1}
.chapter-copy{transition:opacity .62s ease,transform .75s cubic-bezier(.2,.75,.2,1)}
.traveling.chapter-window .chapter-copy{opacity:1;transform:translateY(0)}
.marks button[aria-current="step"]{opacity:1;color:#fff2df}
.marks button[aria-current="step"]::before{content:"";display:block;width:3px;height:3px;margin:0 auto 6px;border-radius:50%;background:#ffe0b9;box-shadow:0 0 9px #ffe0b990}
.marks button:hover{opacity:1}
.location,.chapter-copy,.transport,.edge-index,#status,.masthead>a,.masthead #archive-open{transition:opacity .55s ease,transform .55s ease}
.focus-mode .location,.focus-mode .chapter-copy,.focus-mode .transport,.focus-mode .edge-index,.focus-mode #status,.focus-mode .masthead>a,.focus-mode .masthead #archive-open{opacity:0;pointer-events:none}
.focus-mode .masthead{border-bottom-color:transparent}
.focus-mode .masthead-actions{margin-left:auto}
.focus-mode #focus{font-weight:600;letter-spacing:.16em}
.focus-mode #focus:focus-visible{outline-color:#fff3db}
@media(max-width:700px){
 .masthead-actions{gap:12px}
 .masthead-actions .text-button{font-size:8px}
 .masthead img{width:clamp(101px,31vw,137px)}
 .chapter-copy h1{max-width:13ch}
}
@media(prefers-reduced-motion:reduce){.chapter-copy,.masthead-actions .text-button{transition:none!important}}

/* WORLD 005 — a direct invitation from three still-photo journal chapters. */
#share-scene{color:#f2d2b3;letter-spacing:.16em}
#share-scene:hover{color:#fff2df}
.masthead-actions{gap:clamp(12px,1.7vw,28px)}
@media(max-width:600px){
 .masthead-actions{gap:10px}
 .masthead-actions .text-button{font-size:8px;letter-spacing:.07em}
 #share-scene{font-size:8px}
 .masthead img{width:clamp(92px,28vw,130px)}
}
@media(max-width:365px){
 .masthead{gap:12px}
 .masthead-actions{gap:8px}
 #share-scene{letter-spacing:0}
}

/* Cinema 005: materials progress from late gold to blue hour rather than a flat color filter. */
.experience{background:#161e28}
.chapter-copy h1 em{transition:color .75s ease}
.arrived .chapter-copy h1 em{color:#d6d9eb}
.arrived .chapter-copy>p:first-child{color:#d3bfd2}
.chapter-window .chapter-copy{filter:drop-shadow(0 6px 19px rgba(4,7,14,.11))}
.marks button[aria-current="step"]{font-weight:700}
#status:not(:empty){text-shadow:0 1px 8px rgba(0,0,0,.65)}
@media(min-width:900px){.chapter-copy h1{font-size:clamp(76px,7.3vw,129px)}}
@media(max-width:700px){.chapter-copy{max-width:calc(100% - 43px)}.chapter-copy h1{font-size:clamp(49px,13.4vw,80px)}.chapter-copy #chapter-subtitle{max-width:34ch}}
@media(prefers-reduced-motion:reduce){.chapter-copy h1 em{transition:none}}

/* CINEMATIC WORLD 006 — camera feels spatial while keeping the directed journey intact. */
#world{cursor:grab}
#world:active{cursor:grabbing}
.experience::after{
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:radial-gradient(ellipse 75% 78% at 47% 43%,transparent 51%,rgba(10,14,23,.095) 100%);
}
.transport .marks button{transition:opacity .25s ease,color .25s ease}
.masthead-actions #share-scene:focus-visible{outline-offset:6px}
@media(hover:none){#world{cursor:default}}
@media(prefers-reduced-motion:reduce){.transport .marks button{transition:none}}

/* TOHEŞAR / CINEMA XV — A composed photographic shot index; 3D renderer stays untouched. */
.shot-index{position:absolute;z-index:3;right:clamp(24px,5vw,96px);top:43%;width:clamp(146px,14vw,215px);display:grid;gap:7px;color:#fff3e3}
.shot-index-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:13px;font-size:8px;letter-spacing:.18em;font-weight:600;text-shadow:0 2px 8px #1119}
.shot-choice{display:flex;position:relative;align-items:center;gap:9px;overflow:hidden;isolation:isolate;padding:6px 9px 6px 6px;text-align:left;height:clamp(59px,6vw,85px);border:1px solid rgba(250,232,205,.22);background:rgba(20,23,29,.33);-webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px);color:#f8eadb;transition:background .35s,border-color .35s,transform .35s;cursor:pointer}
.shot-choice::before{content:"";position:absolute;pointer-events:none;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(245,194,142,.095),transparent);opacity:0;transition:opacity .35s}
.shot-choice:hover,.shot-choice:focus-visible,.shot-choice.is-selected{border-color:rgba(255,225,195,.67);background:rgba(28,30,35,.64)}
.shot-choice:hover::before,.shot-choice.is-selected::before{opacity:1}
.shot-choice:hover{transform:translateX(-4px)}
.shot-choice:focus-visible{outline:2px solid #ffe4c4;outline-offset:3px}
.shot-photo{display:block;width:clamp(44px,4vw,60px);height:100%;min-height:45px;flex:none;align-self:stretch;background-size:cover;background-position:50% 50%;filter:saturate(.78)}
.shot-choice[data-shot="0"] .shot-photo{background-image:url('/world/assets/yokohama-arrival.webp')}
.shot-choice[data-shot="1"] .shot-photo{background-image:url('/world/assets/yokohama-interior.webp')}
.shot-choice[data-shot="2"] .shot-photo{background-image:url('/world/assets/yokohama-bluehour.webp')}
.shot-copy{display:flex;flex-direction:column;gap:7px;font-size:8px;letter-spacing:.10em;white-space:nowrap;overflow:hidden}
.shot-copy small{font-size:7px;font-weight:400;letter-spacing:.11em;opacity:.60}
.shot-arrow{margin-left:auto;font-size:13px;opacity:0;transition:opacity .3s}
.shot-choice:hover .shot-arrow,.shot-choice.is-selected .shot-arrow{opacity:1}
.focus-mode .shot-index{opacity:0;pointer-events:none}
@media(max-width:900px) and (min-width:701px){
 .shot-index{right:20px;width:155px}
 .shot-copy{font-size:7px}
}
@media(max-width:700px){
 .shot-index{z-index:4;left:21px;right:21px;top:auto;bottom:calc(213px + env(safe-area-inset-bottom));width:auto;display:flex;gap:0;border-top:1px solid rgba(245,226,204,.21)}
 .shot-index-heading,.shot-photo,.shot-arrow,.shot-copy small{display:none}
 .shot-choice{flex:1;min-width:0;padding:11px 5px;height:42px;background:none;border:0;border-bottom:1px solid rgba(245,226,204,.22);backdrop-filter:none;-webkit-backdrop-filter:none;justify-content:center}
 .shot-choice.is-selected,.shot-choice:hover{border:0;border-bottom:2px solid #f7dbc0;background:rgba(15,16,18,.13)}
 .shot-choice:hover{transform:none}
 .shot-copy{font-size:8px;font-weight:600;letter-spacing:.085em;text-align:center}
 .shot-choice::before{display:none}
}
@media(max-height:620px) and (max-width:700px){.shot-index{display:none}}
@media(prefers-reduced-motion:reduce){.shot-choice,.shot-arrow,.shot-choice::before{transition:none!important}}
