@font-face{font-family:NewapThai;src:url('/assets/newap-story/thai.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:NewapThai;src:url('/assets/newap-story/latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#173c50;--sky:#cce7ef;--paper:#fffaf0;--orange:#d85b2e;--line:rgba(23,60,80,.18);font-family:NewapThai,'IBM Plex Sans Thai','Leelawadee UI',Tahoma,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:auto;background:var(--paper);scroll-padding-top:0}body{margin:0;overflow-x:clip}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}button:active{filter:brightness(.9)}[hidden]{display:none!important}.skip-link{position:fixed;left:20px;top:-80px;z-index:300;padding:12px;background:white}.skip-link:focus{top:14px}
.story-header{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;gap:28px;min-height:94px;padding:16px 4.5%;background:linear-gradient(var(--paper),rgba(255,250,240,.91));border-bottom:1px solid var(--line)}
.wordmark{display:inline-flex;align-items:center;gap:7px;font-family:Arial,sans-serif;letter-spacing:-2px;font-size:31px;font-weight:900;line-height:1.4}.brand-spark{color:var(--orange);font-size:30px;font-weight:400;display:inline-block;line-height:1}.story-header nav{display:flex;gap:30px;margin-left:auto;font-size:14px;font-weight:600}.story-header nav a{display:flex;align-items:center;min-height:44px}.header-cta{background:var(--ink);border-radius:99px;color:white;font-size:14px;padding:12px 20px;display:flex;gap:24px;align-items:center;min-height:46px}.header-cta span{font-size:22px}.motion-toggle{position:fixed;right:4.5%;top:110px;background:rgba(255,250,240,.95);border:1px solid var(--line);border-radius:30px;padding:9px 14px;min-height:44px;font-size:12px;color:var(--ink)}.motion-toggle[aria-pressed=true]{background:var(--ink);color:var(--paper)}
#story-track{position:relative;height:1120vh;height:1120svh}.story-stage{position:sticky;top:0;height:100vh;height:100svh;min-height:570px;overflow:hidden;background:var(--paper);isolation:isolate}.stage-art{position:absolute;inset:94px 0 0 22%;overflow:hidden;background:#bcdbe6}.art-world{position:absolute;width:1536px;height:1024px;transform-origin:center center;left:50%;top:50%;isolation:isolate}.scene-layer{position:absolute;inset:0;transform-origin:center center}.scene-layer>img{display:block;width:100%;height:100%;object-fit:cover}.campus-layer{z-index:1}.building-layer{z-index:2;opacity:0}.lobby-layer{z-index:3;opacity:0}.room-layer{z-index:4;opacity:0}.foliage-layer{z-index:12;pointer-events:none;opacity:.8}.sunlight-layer{z-index:13;position:absolute;inset:0;background:linear-gradient(127deg,transparent 42%,rgba(255,223,165,.15) 61%,transparent 80%);pointer-events:none;mix-blend-mode:screen}.story-vignette{position:absolute;inset:94px 0 0;z-index:16;pointer-events:none;background:linear-gradient(90deg,var(--paper) 0%,var(--paper) 18%,rgba(255,250,240,.95) 27%,rgba(255,250,240,.15) 48%,transparent 59%)}
.actor{position:absolute;z-index:9;left:0;top:0;width:288px;height:384px;background-image:url('/assets/newap-story/sprites.webp');background-repeat:no-repeat;background-size:400% 200%;transform-origin:50% 100%;pointer-events:none;filter:drop-shadow(3px 2px 1px rgba(42,53,48,.06))}.actor-shadow{position:absolute;z-index:8;width:225px;height:22px;border-radius:50%;background:#24384a;filter:blur(9px);opacity:.24;transform-origin:center}.door-transition{position:absolute;z-index:7;width:230px;height:465px;left:816px;top:108px;border:16px solid #15384a;box-shadow:0 0 0 10px #cec0a3;perspective:700px;transform-origin:50% 75%;opacity:0;pointer-events:none}.door-leaf{position:absolute;inset:0;transform-origin:right center;background:linear-gradient(105deg,#35566a,#173c50);box-shadow:inset 0 0 0 13px #214359;backface-visibility:hidden}.door-label{position:absolute;top:-49px;left:47px;letter-spacing:3px;font:700 20px Arial;color:var(--paper);background:var(--ink);padding:4px 7px}.room-evening{position:absolute;inset:0;background:#11274b;mix-blend-mode:multiply;opacity:0;pointer-events:none}.lamp-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 66% 38%,rgba(255,200,110,.67),rgba(235,143,53,.11) 30%,transparent 64%);mix-blend-mode:screen;opacity:0;pointer-events:none}.art-label{position:absolute;right:5%;bottom:120px;font-size:12px;color:white;background:rgba(23,60,80,.72);border-radius:4px;padding:7px 12px;max-width:75%;text-align:center;z-index:20}.time-label{position:absolute;top:88px;left:51%;z-index:20;border:1px solid white;color:var(--ink);background:var(--paper);border-radius:50px;padding:8px 20px;font-size:16px}.image-fallback{position:absolute;bottom:20%;left:20%;right:10%;background:var(--paper);padding:15px;z-index:30;font-size:14px;box-shadow:0 4px 20px #173c5020}
.narrative{position:absolute;z-index:20;left:4.5%;top:50%;width:43%;max-width:610px;transform:translateY(-43%);outline:none}.scene-copy{display:none}.scene-copy.is-active{display:block}.eyebrow{display:block;font-size:12px;letter-spacing:.12em;font-weight:600;color:#526973;margin-bottom:23px;line-height:1.8}.scene-copy h1,.scene-copy h2{margin:0;color:var(--ink);font-size:clamp(35px,3.85vw,66px);font-weight:650;line-height:1.44;letter-spacing:-.04em}.scene-copy h1 span,.scene-copy h2 span{display:block}.scene-copy h1 span:last-child{color:var(--orange)}.scene-copy>p{white-space:pre-line;line-height:1.9;font-size:16px;color:#526673;margin:22px 0 28px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:26px;border:0;color:var(--paper);background:var(--orange);padding:15px 24px;min-height:54px;border-radius:6px;font-size:16px;font-weight:600;box-shadow:0 4px 0 rgba(150,60,31,.16)}.primary-button span{font-size:23px;line-height:1}.text-button{display:inline-flex;min-height:44px;align-items:center;gap:12px;background:none;border:0;border-bottom:1px solid var(--line);padding:8px 0;color:var(--ink);font-size:14px}.copy-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.thought{width:fit-content;max-width:100%;padding:14px 20px;border:1px solid var(--line);border-radius:20px 20px 20px 0;background:var(--paper);font-size:18px;box-shadow:0 8px 22px #173c500a;color:var(--ink)}
.stage-bottom{position:absolute;z-index:25;left:4.5%;right:4.5%;bottom:50px;display:flex;align-items:center;gap:20px}.scroll-invitation{display:flex;align-items:center;gap:16px;font-size:12px;letter-spacing:.02em}.scroll-line{width:25px;height:40px;border:1px solid #173c5060;border-radius:14px;position:relative}.scroll-line:after{content:'';position:absolute;top:7px;left:11px;width:1px;height:10px;background:var(--ink)}.scene-counter{margin-left:auto;display:flex;align-items:baseline;gap:9px;color:var(--ink);background:rgba(255,250,240,.85);padding:4px 12px;border-radius:5px;font:14px Arial}.scene-counter b{font-size:25px;font-weight:400}.next-scene{width:50px;height:50px;border-radius:50%;border:1px solid #173c5070;background:var(--paper);color:var(--ink);font-size:27px}.chapter-nav{position:absolute;left:4.5%;bottom:10px;display:flex;gap:4px;z-index:26}.chapter-nav button{width:30px;height:36px;border:0;padding:0;background:none;position:relative;color:var(--ink)}.chapter-nav button:after{content:'';width:17px;height:3px;background:#173c5030;position:absolute;top:18px;left:5px;border-radius:3px}.chapter-nav button[aria-current=step]:after{background:var(--orange);height:4px}.chapter-nav button:hover:before{content:attr(aria-label);position:absolute;bottom:40px;left:0;background:var(--ink);color:var(--paper);font-size:12px;padding:7px 9px;white-space:nowrap;border-radius:4px}.story-progress{position:absolute;bottom:0;height:3px;left:0;right:0;z-index:26;background:#173c5010}.story-progress span{display:block;height:100%;background:var(--orange);transform-origin:left;width:100%;transform:scaleX(0)}#chapter-anchors{position:absolute;inset:0;pointer-events:none}#chapter-anchors>span{position:absolute;left:0;width:1px;height:1px}
.hotspots{position:absolute;inset:0;z-index:10;pointer-events:none}.hotspot{position:absolute;pointer-events:auto;width:60px;height:60px;background:#fffaf0e8;border:2px solid white;border-radius:50%;color:var(--ink);font-size:30px;line-height:1;transform:translate(-50%,-50%);box-shadow:0 0 0 10px #fffaf036,0 8px 30px #173c5055;display:grid;place-items:center}.hotspot:hover{background:var(--orange);color:white}.hotspot span{position:absolute;bottom:calc(100% + 16px);font-size:18px;line-height:1.5;white-space:nowrap;background:var(--paper);padding:6px 12px;border-radius:4px;border:1px solid #173c5025;display:none}.hotspot:hover span,.hotspot:focus-visible span{display:block}.explore-links{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.explore-links button{min-height:44px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:13px;padding:6px 12px;border-radius:30px}.scene-copy[data-scene="6"] h2,.scene-copy[data-scene="7"] h2{font-size:clamp(31px,3.2vw,53px)}.scene-copy[data-scene="6"]>p{margin:12px 0}.room-facts{display:grid;grid-template-columns:1fr 1fr;margin:14px 0 20px;max-width:450px;border-top:1px solid var(--line);background:rgba(255,250,240,.8)}.room-facts>div{padding:10px 12px 10px 0;border-bottom:1px solid var(--line)}.room-facts dt{font-size:12px;color:#566d78}.room-facts dd{margin:3px 0 0;font-size:15px;font-weight:600}.data-note{font-size:12px!important;margin:8px 0 14px!important;line-height:1.6!important;color:#5b6870!important;max-width:430px}.end-chip{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border:1px solid #54736b60;border-radius:30px;font-size:13px;background:#f5fbec;color:#34574c;margin:20px 0}.end-chip:before{content:'✓';font-weight:bold}.prototype-note{padding:20px 6%;font-size:12px;text-align:center;color:#536975;background:var(--paper);line-height:1.8}.day-tabs{display:flex;gap:5px;margin-top:15px}.day-tabs button{min-height:44px;border:1px solid var(--line);background:var(--paper);border-radius:30px;padding:8px 12px;color:var(--ink);font-size:13px}.day-tabs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
dialog{border:1px solid #173c5030;border-radius:16px;background:var(--paper);color:var(--ink);padding:45px 35px 32px;width:min(480px,calc(100% - 32px));max-height:85svh;overflow:auto;box-shadow:0 25px 100px #173c5040}dialog::backdrop{background:#14334290;backdrop-filter:blur(5px)}dialog .eyebrow{margin-bottom:12px}dialog h2{font-size:27px;font-weight:650;line-height:1.5;margin:0 0 16px}dialog p{font-size:16px;line-height:1.9}dialog .detail-disclaimer{font-size:12px;color:#66727b;border-top:1px solid var(--line);padding-top:15px}.dialog-close{position:absolute;top:10px;right:10px;border:0;width:44px;height:44px;border-radius:50%;background:none;color:var(--ink);font:30px Arial}.dialog-done{width:100%;margin-top:10px}.noscript-story{position:fixed;inset:94px 0 0;padding:40px;background:var(--paper);z-index:90;overflow:auto}
@media(min-width:1700px){.narrative{max-width:750px}.scene-copy h1,.scene-copy h2{font-size:74px}}
@media(max-width:1000px){.story-header{gap:18px}.story-header nav{gap:20px}.narrative{width:48%}.stage-art{left:17%}.scene-copy h1,.scene-copy h2{font-size:42px}.story-vignette{background:linear-gradient(90deg,var(--paper),rgba(255,250,240,.95) 27%,transparent 63%)}.hotspot{width:68px;height:68px}}
@media(max-width:700px){
 .story-header{min-height:72px;padding:10px 20px;gap:12px}.wordmark{font-size:27px}.brand-spark{font-size:25px}.story-header nav{display:none}.header-cta{margin-left:auto;font-size:12px;padding:9px 13px;gap:10px;min-height:43px}.header-cta span{font-size:17px}.motion-toggle{top:82px;right:12px;font-size:12px;padding:6px 10px;min-height:36px}
 .story-stage{min-height:640px}.stage-art{inset:72px 0 44% 0}.art-world{top:50%}.story-vignette{inset:45% 0 0;background:linear-gradient(transparent,var(--paper) 18%,var(--paper));z-index:16}.narrative{left:6%;right:6%;width:auto;max-width:none;top:55%;transform:none}.eyebrow{font-size:11px;margin-bottom:8px;letter-spacing:.08em}.scene-copy h1,.scene-copy h2{font-size:clamp(28px,7vw,38px);line-height:1.36;letter-spacing:-.02em}.scene-copy h1 span:first-child{font-size:.68em;margin-bottom:4px}.scene-copy h1 span:nth-child(2),.scene-copy h1 span:last-child{display:inline}.scene-copy>p{font-size:14px;line-height:1.7;margin:12px 0 17px}.primary-button{min-height:48px;padding:11px 20px;font-size:14px;gap:28px}.stage-bottom{bottom:32px;left:6%;right:6%;gap:12px}.scroll-invitation{font-size:11px;gap:10px}.scroll-line{width:20px;height:30px}.scroll-line:after{left:8px}.next-scene{width:42px;height:42px}.scene-counter{font-size:12px;padding:4px 7px}.scene-counter b{font-size:21px}.chapter-nav{left:6%;bottom:0;gap:0}.chapter-nav button{width:29px;height:32px}.art-label{bottom:18px;right:14px;font-size:10px;max-width:84%;padding:5px 8px}.time-label{top:60px;left:20px;font-size:13px;padding:6px 15px}.thought{font-size:15px;padding:12px 16px}.copy-actions{gap:8px 16px}.text-button{font-size:13px}.room-facts{margin:7px 0 10px;gap:0}.room-facts>div{padding:5px 8px 5px 0}.room-facts dt{font-size:10px}.room-facts dd{font-size:12px;margin-top:0}.scene-copy[data-scene="6"] h2,.scene-copy[data-scene="7"] h2{font-size:28px}.scene-copy[data-scene="6"] h2 span{display:inline}.scene-copy[data-scene="6"]>p{font-size:12px;margin:5px 0}.data-note{font-size:10px!important;margin:5px 0 8px!important}.scene-copy[data-scene="6"]{margin-top:-16px}.explore-links{gap:5px;margin-top:8px}.explore-links button{font-size:12px;padding:6px 10px}.day-tabs{margin-top:10px}.day-tabs button{font-size:12px;padding:6px 10px}.end-chip{font-size:12px;margin:10px 0}.hotspot{width:105px;height:105px;font-size:47px;border-width:4px;box-shadow:0 0 0 15px #fffaf036,0 8px 30px #173c5055}.hotspot span{font-size:24px}
}
@media(max-height:690px) and (min-width:701px){.narrative{top:49%;transform:translateY(-37%)}.eyebrow{margin-bottom:8px}.scene-copy h1,.scene-copy h2{font-size:38px}.scene-copy>p{font-size:14px;margin:12px 0 17px}.stage-bottom{bottom:38px}.room-facts{margin:7px 0}.room-facts>div{padding:4px 0}.room-facts dd{font-size:13px}.data-note{margin:5px 0!important}}
/* Small landscape and enlarged text use natural document flow, with all copy
   and controls present. No viewport-height crop can hide the final action. */
@media(max-height:520px), (max-width:350px), (max-width:700px) and (max-height:640px){.story-stage{min-height:0}.story-header{position:relative;min-height:66px}.motion-toggle{position:static;margin-left:auto}.header-cta{display:none}#story-track{height:auto!important}.story-stage{height:auto;position:relative;overflow:visible}.stage-art{position:relative;inset:auto;height:60vw;max-height:440px}.story-vignette,.stage-bottom,.chapter-nav,#chapter-anchors,.story-progress{display:none}.narrative{position:relative;left:auto;right:auto;top:auto;width:auto;transform:none;padding:30px 6%}.scene-copy{display:block!important;margin:0 0 50px!important}.scene-copy h1,.scene-copy h2{font-size:32px}.scene-copy>p{font-size:16px}.scene-copy .eyebrow{font-size:12px}.room-facts dt,.data-note{font-size:12px!important}.room-facts dd{font-size:16px}.motion-toggle{font-size:12px}.scene-copy[data-scene="7"]{margin-bottom:0!important}.art-label{bottom:15px}}
body.motion-reduced .door-transition,body.motion-reduced .foliage-layer{display:none}body.motion-reduced .scroll-line:after{animation:none}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.flow-illustration{display:none}.end-chip.is-pending{background:var(--paper);color:#526673}.end-chip.is-pending:before{content:'↩'}.day-tabs button{min-width:44px}
.story-header{padding-left:max(4.5%,env(safe-area-inset-left));padding-right:max(4.5%,env(safe-area-inset-right));padding-top:max(10px,env(safe-area-inset-top))}.prototype-note{padding-bottom:max(20px,env(safe-area-inset-bottom))}
.room-layer>img.belongings-layer{position:absolute;width:230px;height:153px;left:690px;top:281px;object-fit:contain;opacity:0;pointer-events:none}
.story-header .wordmark{font-family:inherit;letter-spacing:0;font-size:clamp(17px,1.8vw,24px);gap:10px;max-width:min(30vw,340px);min-width:0;line-height:1.6}
.wordmark>[data-dorm-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.dorm-brand-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--ink);color:var(--paper);font-size:16px;letter-spacing:0;overflow:hidden}
.dorm-brand-icon img{display:block;width:100%;height:100%;object-fit:contain;background:var(--paper)}
/* The sign is attached to the image plane, so it follows the same camera.
   An opaque plate also covers lettering in the original illustration. */
.building-dorm-sign{position:absolute;left:54.75%;top:68.75%;width:13%;height:4.3%;display:block;background:#293f57;color:#fff8e8;transform:skewY(3deg);transform-origin:left center;text-align:center;font-size:22px;font-weight:700;line-height:1.8;padding:2px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.flow-visual{container-type:inline-size}.flow-visual .building-dorm-sign{font-size:1.45cqw;padding:0 0.5cqw}
.story-brand-status{position:fixed;z-index:55;top:106px;left:max(4.5%,env(safe-area-inset-left));display:flex;align-items:center;gap:10px;max-width:90%;padding:4px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-size:12px;box-shadow:0 3px 12px #173c5015}.story-brand-status button{min-height:44px;min-width:44px;border:0;background:transparent;color:var(--ink);text-decoration:underline}
@media(max-width:900px){.story-header .wordmark{max-width:55vw;font-size:18px;gap:8px}.dorm-brand-icon{width:34px;height:34px;flex-basis:34px;font-size:14px}.story-brand-status{top:132px;left:12px;max-width:calc(100% - 24px)}}
@media(max-width:700px){.chapter-nav button:hover:before{display:none}.story-vignette{top:39%;background:linear-gradient(transparent,var(--paper) 90px,var(--paper))}}
@media(max-height:520px),(max-width:350px),(max-width:700px) and (max-height:640px){.stage-art{display:none}.flow-illustration{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain;background:#cce7ef;margin-bottom:20px;border-radius:10px}.narrative{background:var(--paper)}.scene-copy[data-scene="6"] .data-note{font-size:12px!important}}
@media(max-width:700px) and (min-height:800px){.room-facts dt{font-size:12px}.room-facts dd{font-size:14px}.data-note{font-size:12px!important}.scene-copy[data-scene="6"] .eyebrow{font-size:12px}}
@media(max-width:700px) and (min-height:641px){.motion-toggle{min-height:44px}.header-cta{min-height:44px}.next-scene{width:44px;height:44px}.chapter-nav{left:4%;right:4%;bottom:0;gap:0;justify-content:space-between}.chapter-nav button{width:12.5%;min-height:44px}.chapter-nav button:after{left:calc(50% - 8px);top:23px}.stage-bottom{bottom:46px}.narrative{top:53%}.scene-copy[data-scene="6"]{margin-top:-20px}.scene-copy[data-scene="6"] .eyebrow{margin-bottom:3px}.scene-copy[data-scene="6"] .copy-actions{gap:5px 12px}.scene-copy[data-scene="6"] .text-button{font-size:12px}.scene-copy[data-scene="6"] .primary-button{padding:9px 18px;min-height:44px}}
@media(max-width:700px) and (max-height:760px) and (min-height:641px){.stage-art{bottom:49%}.narrative{top:49%}.scene-copy>p{margin:8px 0 12px}.scene-copy h1,.scene-copy h2{font-size:28px}.scene-copy[data-scene="6"] .data-note{font-size:10px!important}.scene-copy[data-scene="6"] h2{font-size:26px}.scene-copy[data-scene="6"] .room-facts{margin:5px 0}.scene-copy[data-scene="6"] .eyebrow{font-size:10px}}
