:root{--paper:#fbfbfa;--white:#fff;--ink:#202626;--ink-soft:#505d5b;--ink-muted:#65706d;--line:#e2e7e4;--sage-deep:#47786c;--shadow-soft:0 16px 40px rgba(31,48,46,.07)}
body{background:var(--paper)}
.site-header{background:rgba(255,255,255,.94)}
.hero{background:#fff}
.research-section{background:#f8fbf8;padding-bottom:74px}
.story-game{background:#fff;border:1px solid #e2e9e4;border-radius:20px;overflow:hidden;box-shadow:0 18px 56px rgba(31,70,52,.08)}
.story-top{display:flex;justify-content:space-between;align-items:center;padding:13px 22px;border-bottom:1px solid #e9eee9;color:#5d6f61;font-size:12px;font-weight:700}
.story-reset{border:0;background:none;color:#526e61;padding:5px;text-decoration:underline;text-underline-offset:3px}
.story-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);min-height:540px}
.story-map{position:relative;overflow:hidden;background:#a8d781;align-self:stretch}
.story-map>img{width:100%;height:100%;object-fit:cover;object-position:center}
.story-place{position:absolute;z-index:2;padding:8px 14px;border:1px solid rgba(55,81,62,.28);border-radius:100px;background:#fffef1;color:#2a473b;font-size:12px;font-weight:700;box-shadow:0 4px 0 rgba(69,103,58,.13);transition:transform .2s ease,box-shadow .2s ease}
.story-place:hover:not(:disabled),.story-place.is-active{transform:translateY(-4px);box-shadow:0 8px 0 rgba(69,103,58,.14)}
.story-place.is-seen{background:#e5f3da}
.story-place:disabled{opacity:.7;cursor:default}
.place-cinema{left:16%;top:53%}.place-cafe{left:46%;top:82%}.place-market{right:7%;top:55%}
.story-avatar{position:absolute;z-index:1;left:28%;top:38%;width:19px;height:26px;transform:translate(-50%,-50%);transition:left .6s ease,top .6s ease;filter:drop-shadow(2px 4px 1px rgba(31,60,38,.25))}
.story-avatar::before{content:"";position:absolute;left:4px;top:0;width:12px;height:12px;background:#54402d;border-radius:45% 45% 55% 50%;box-shadow:inset 2px -3px 0 #b58c69}
.story-avatar::after{content:"";position:absolute;left:2px;top:11px;width:16px;height:15px;border-radius:7px 7px 3px 3px;background:#506c78;box-shadow:inset -3px 0 0 #344f5b}
.story-panel{padding:39px clamp(24px,3vw,47px);border-left:1px solid #e8ede8;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.story-eyebrow{font-size:12px;font-weight:700;color:#507d62;margin:0 0 13px;letter-spacing:.01em}
.story-panel h3{font:400 clamp(31px,2.8vw,43px)/1.08 var(--font-editorial);margin:0 0 20px;color:#263831}
.story-panel>p{font-size:15px;line-height:1.67;color:#4b5b54;margin:0 0 19px}
.story-direction{font-size:13px!important;color:#668573!important}
.story-action,.story-secondary{border:1px solid #447561;border-radius:9px;background:#447561;color:#fff;padding:10px 16px;font-size:13px;font-weight:700;line-height:1.3;min-height:42px;transition:transform .2s ease,box-shadow .2s ease}
.story-action:hover,.story-secondary:hover{transform:translateY(-2px);box-shadow:0 5px 14px rgba(33,80,55,.15)}
.story-secondary{color:#3c6b58;background:#fff;border-color:#b9cbbd}
.story-actions,.story-action-list{display:flex;flex-wrap:wrap;gap:10px;width:100%}
.story-action-list{display:block;margin-bottom:15px}
.story-action-list>*{margin:0 0 9px}
.story-clues{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 25px}
.story-clues span{border:1px solid #d7e3d8;border-radius:100px;padding:6px 9px;font-size:11px;color:#708077}
.story-clues span.done{background:#e6f4dd;color:#3a704d;border-color:#d1e7cb}
.story-phone{width:min(100%,260px);border:5px solid #324841;border-radius:19px;background:#fcfaf5;margin:0 0 17px;padding:8px 9px;box-shadow:7px 10px 0 #dfebe0}
.story-phone-top,.story-phone-bottom{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;color:#4d6258;padding:5px 3px}.story-phone-top span:last-child{margin-left:auto;font-size:14px}
.story-dot{width:14px;height:14px;border-radius:50%;background:#e8a476}
.story-video{height:130px;background:#d7e9e7;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:12px;font:400 16px var(--font-editorial);color:#3b5f5e}.story-play{font:16px var(--font-ui);border:2px solid #699895;border-radius:50%;padding:9px 9px 9px 11px}
.story-phone-bottom{font-size:16px}
.story-comment-label{display:block;font-size:12px;color:#536b5b}.story-comment-row{display:flex;gap:5px}.story-comment-row input{width:100%;min-width:0;padding:9px;border:1px solid #cbd8cc;border-radius:6px;font:13px var(--font-ui)}.story-comment-row button{border:0;border-radius:6px;background:#447561;color:#fff;padding:8px 11px;font-size:12px}
.story-done{font-size:12px!important;color:#397a52!important}.story-consequence{font-size:13px!important;color:#2f684e!important}
.story-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;margin:0 0 17px}.story-report>div{border:1px solid #dbe7dc;border-radius:8px;background:#fbfdf9;padding:11px}.story-report span,.story-report small{display:block;font-size:10px;line-height:1.35;color:#5a6f61}.story-report strong{display:block;font-size:17px;color:#314a3b;margin:4px 0}.story-warning{font-size:12px!important;line-height:1.5!important}
.story-trail{padding:13px 22px;border-top:1px solid #e9eee9;color:#4f765e;font-size:12px;min-height:46px}.story-disclaimer{font-size:12px;color:#6a7770;margin-top:14px}
.proposal{background:#fff}
.sop-section{background:#f7f9f8}.sop-card{box-shadow:0 16px 42px rgba(30,49,48,.13)}.sop-card.is-center{box-shadow:0 28px 68px rgba(30,49,48,.22)}
.about-section{background:#fff}.about-profile{border-top:2px solid #6f9e98;padding-top:24px;max-width:290px}.about-profile h3{font:400 37px var(--font-editorial);margin:0 0 5px}.about-profile p{color:#697875;font-size:14px;margin-bottom:25px}.about-profile a{display:block;width:max-content;margin:10px 0;color:#427a76;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.newspaper-stage{background:#eef1ee}.newspaper-sheet{position:relative;transform-style:preserve-3d;filter:drop-shadow(0 23px 19px rgba(32,42,38,.2));transition:transform .48s ease,opacity .48s ease}.newspaper-sheet::after{content:"";position:absolute;left:0;top:0;bottom:0;width:11%;background:linear-gradient(90deg,rgba(20,25,22,.2),rgba(20,25,22,.07) 45%,transparent);pointer-events:none}.newspaper-sheet.is-flipping{transform:rotateY(-63deg) translateX(-25px);opacity:.33}
.film-stage{background:#302720;box-shadow:0 22px 60px rgba(36,28,23,.18)}.film-rolls{min-height:350px;perspective:700px}.film-roll{min-width:190px;min-height:230px;justify-content:center}.canister{background:linear-gradient(90deg,#252520 0%,#494b41 13%,#171b17 32%,#313a32 65%,#171c18 100%);border-radius:22px 22px 20px 20px;transform:rotate(-12deg) rotateY(-12deg);box-shadow:inset 13px 0 12px rgba(255,255,255,.12),inset -18px 0 20px rgba(0,0,0,.45),12px 18px 25px rgba(0,0,0,.35)}.film-roll:hover .canister{transform:translateY(-8px) rotate(-5deg) rotateY(5deg)}.canister::before{background:linear-gradient(#151915,#32362d);box-shadow:0 8px 0 #1a1e19}.canister::after{background:linear-gradient(90deg,#e8d8ad,#f3e9c9 48%,#d8c498);box-shadow:inset -12px 0 15px rgba(50,37,19,.2),inset 8px 0 9px rgba(255,255,255,.45)}.canister i{border-top-color:#a94f3d;border-bottom-color:#a94f3d}.film-frame{border-block:12px solid #2b211d;box-shadow:0 9px 22px rgba(0,0,0,.3)}.film-strip{cursor:grab;touch-action:pan-y;user-select:none;align-items:center;min-height:85px;border-block:8px dotted #ac8c73;background:#31251f;padding:8px 12px;box-shadow:inset 0 6px 10px rgba(0,0,0,.3)}.film-strip:active{cursor:grabbing}.film-strip button{width:110px;height:70px;border:2px solid #59443a;opacity:.75}.film-strip button.is-current{border-color:#eedfc3;opacity:1}.film-strip img{pointer-events:none}
@media(max-width:900px){.story-layout{grid-template-columns:1fr}.story-map{height:min(62vw,460px)}.story-panel{border-left:0;border-top:1px solid #e8ede8;min-height:360px}.story-map>img{object-fit:cover}}
@media(max-width:600px){.story-map{height:auto;aspect-ratio:12/7}.story-panel{padding:28px 20px}.story-report{grid-template-columns:1fr}.story-place{font-size:10px;padding:6px 8px}.place-cinema{left:11%}.place-cafe{left:42%}.place-market{right:3%}.story-trail{font-size:11px}}
@media(prefers-reduced-motion:reduce){.story-avatar,.story-place,.story-action,.story-secondary,.newspaper-sheet{transition:none!important}}

/* About is the opening chapter; the linked ocean runs from its author's site. */
.site-header .contact-link{display:none}
.site-header{grid-template-columns:auto 1fr;gap:32px}
.site-nav{justify-content:flex-end}
.about-hero{height:auto;min-height:calc(100svh - 74px);padding:64px 0 72px;background:#fff;display:block;overflow:visible}
.about-hero-grid{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(440px,1.08fr);align-items:center;gap:clamp(38px,6vw,90px)}
.about-hero-copy{max-width:530px}
.about-hero h1{font:400 clamp(52px,5vw,76px)/1 var(--font-editorial);margin:0 0 31px;letter-spacing:-.035em}
.hero-identity{display:flex;flex-direction:column;align-items:flex-start;gap:15px;margin:0 0 29px}
.hero-headshot{width:92px;height:92px;border-radius:50%;overflow:hidden;flex:none;background:#dce9f0;display:grid;place-items:center;color:#4d6b75;font:400 29px var(--font-editorial)}
.hero-headshot img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.hero-identity h2{font:500 clamp(27px,3vw,39px)/1.1 var(--font-editorial);letter-spacing:-.025em;margin:0 0 2px}
.hero-identity p{font-size:14px;color:#667571;margin:0}
.about-hero-copy>p{font-size:17px;line-height:1.72;color:#43524e;max-width:53ch;margin:0 0 17px}
.hero-links{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:24px}
.hero-links a{font-size:14px;color:#38756c;text-decoration:underline;text-underline-offset:4px}
.ocean-window{height:min(65vh,610px);min-height:450px;position:relative;overflow:hidden;border:1px solid #e8eeeb;border-radius:20px;background:#f8fbfc;box-shadow:0 18px 50px rgba(35,57,58,.09)}
.ocean-window iframe{border:0;width:100%;height:100%;display:block}
.ocean-source{position:absolute;bottom:12px;left:15px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border:1px solid #e2e9e8;border-radius:100px;padding:5px 10px;font-size:11px;color:#466b6b}

/* One coherent illustrated street and a branching dialogue bar. */
.research-section{background:#f8faf8}
.story-game{border-radius:12px;background:#fff;box-shadow:0 20px 58px rgba(35,57,48,.1)}
.story-top{background:#fff;padding:13px 24px;font-size:13px;letter-spacing:0;color:#354845}
.story-layout{display:block;min-height:0}
.story-map{width:100%;height:auto;aspect-ratio:1200/620;min-height:0;background:#d9edf1}
.story-map>img{width:100%;height:100%;object-fit:contain}
.story-map[data-scene="feed"]::after{content:"";position:absolute;inset:0;background:rgba(34,53,60,.13);pointer-events:none}
.story-map[data-scene="result"]::after{content:"";position:absolute;inset:0;background:rgba(25,37,38,.28);pointer-events:none}
.story-place{border-radius:8px;background:rgba(255,255,247,.96);border-color:#b7cbbc;padding:7px 12px;box-shadow:0 4px 0 rgba(61,91,66,.16);font-size:13px}
.story-place.is-visited{background:#eaf4e5}
.place-cinema{left:16%;top:70%}.place-cafe{left:49%;top:70%}.place-market{right:8%;top:70%}
.story-avatar{z-index:3;width:18px;height:25px}
.story-panel{display:block;min-height:315px;padding:30px clamp(26px,4vw,58px) 36px;border:0;background:#1e2c31;color:#f7faf8;box-shadow:inset 0 11px 24px rgba(0,0,0,.12)}
.dialogue-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;color:#91c3b1;letter-spacing:.03em;margin-bottom:8px}
.dialogue-diamond{font-size:24px;font-weight:400;line-height:1}
.story-panel h3{font:400 clamp(31px,3vw,43px)/1.08 var(--font-editorial);color:#fff;margin:0 0 13px}
.dialogue-text{max-width:78ch;color:#d6e1df!important;font-size:16px!important;line-height:1.65!important;margin:0 0 20px!important}
.dialogue-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;max-width:940px}
.dialogue-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:41px;padding:9px 13px;border:1px solid #4b6967;border-radius:6px;background:#293b3e;color:#edf6f1;text-align:left;font-size:13px;line-height:1.4;transition:background .17s ease,transform .17s ease,border-color .17s ease}
.dialogue-choice:hover{background:#375657;border-color:#83b5a4;transform:translateX(3px)}
.dialogue-choice.is-done{color:#a7cfc0;border-color:#426055}
.dialogue-choice span:last-child{color:#95c5b3;flex:none}
.feed-tabs{display:flex;gap:22px;margin-bottom:23px;border-bottom:1px solid #486064}
.feed-tabs button{border:0;background:none;color:#a9bcba;padding:0 2px 10px;font-size:13px;font-weight:700}
.feed-tabs button.is-active{color:#f6faf8;border-bottom:2px solid #a6d4c0}
.feed-post{height:96px;width:min(100%,310px);display:flex;gap:14px;align-items:center;padding:12px;margin:0 0 20px;background:#e2e9e5;border-radius:6px;color:#405455;font-size:12px;font-weight:700}
.feed-post-art{display:grid;place-items:center;width:115px;height:72px;border-radius:4px;background:#a5bfc1;color:#fff;font-size:21px}
.feed-comment-box{margin:0 0 18px;color:#d5e4df;font-size:13px}.feed-comment-box label{display:block;margin-bottom:7px}.feed-comment-box>div{display:flex;gap:8px;max-width:520px}.feed-comment-box input{min-width:0;flex:1;border:1px solid #68827c;border-radius:5px;background:#f7fbf9;padding:9px;color:#22332d}.feed-comment-box button{border:0;border-radius:5px;background:#8bb7a2;color:#1d3030;padding:8px 13px;font-weight:700}.feed-comment-box p{margin-bottom:0}
.ending-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0;max-width:940px}.ending-data>div{border:1px solid #4b6560;border-radius:6px;padding:12px}.ending-data span,.ending-data small{display:block;font-size:11px;color:#bbd0c9;line-height:1.4}.ending-data strong{display:block;color:#fff;font-size:20px;margin:3px 0}.ending-reading{max-width:77ch;color:#e4eeea}.ending-trail{max-width:80ch;color:#a0b9ad;font-size:11px;margin:10px 0 22px}
.story-disclaimer{margin-top:13px;font-size:12px;color:#64716b}
@media(max-width:950px){.about-hero-grid{grid-template-columns:1fr;gap:35px}.about-hero-copy{max-width:700px}.ocean-window{min-height:450px;height:500px}}
@media(max-width:600px){.site-header{display:block}.site-nav{justify-content:flex-start}.about-hero{padding:48px 0 62px}.about-hero h1{font-size:57px}.hero-headshot{width:74px;height:74px}.about-hero-copy>p{font-size:15px}.ocean-window{height:370px;min-height:370px}.story-map{height:240px;aspect-ratio:auto}.story-map>img{object-fit:fill}.story-panel{padding:24px 18px 30px;min-height:0}.story-panel h3{font-size:31px}.dialogue-text{font-size:14px!important}.dialogue-choices{grid-template-columns:1fr;gap:7px}.dialogue-choice{font-size:12px}.story-place{font-size:9px;padding:4px 6px}.place-cinema{left:12%;top:72%}.place-cafe{left:46%;top:72%}.place-market{right:5%;top:72%}.ending-data{grid-template-columns:1fr}}

/* Academic typography over the author's original interactive ocean. */
body{font-family:var(--font-editorial);font-size:18px}
.site-header,.site-nav,.wordmark,button,.document-link,.inline-link,.proposal-index,.cv-entry span,.teaching-entries span,.story-game,.newspaper-controls,.film-hint,.photo-heading p,.site-footer{font-family:var(--font-ui)}
.about-hero{position:relative;min-height:calc(100svh - 74px);padding:0;overflow:hidden;background:#fff}
.ocean-background{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:0}
.about-wash{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.95) 27%,rgba(255,255,255,.79) 43%,rgba(255,255,255,.2) 68%,transparent 100%)}
.about-hero-grid{position:relative;z-index:2;display:block;min-height:calc(100svh - 74px);padding-top:clamp(54px,7vh,110px);padding-bottom:68px;pointer-events:none}
.about-hero-copy{pointer-events:auto;max-width:540px}
.about-hero h1{font-size:clamp(48px,4.2vw,64px);margin-bottom:28px}
.hero-identity{margin-bottom:20px}
.hero-headshot{width:94px;height:94px;box-shadow:0 0 0 4px #fff,0 8px 20px rgba(25,58,85,.16)}
.hero-headshot img{object-position:50% 21%}
.hero-identity h2{font-size:clamp(29px,2.8vw,38px)}
.hero-identity p{font:500 14px/1.35 var(--font-ui);color:#4b626c;margin:4px 0 0}
.hero-cv{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;min-width:157px;margin-top:13px;padding:11px 17px;border-radius:8px;background:#174f7a;color:#fff;font:600 15px var(--font-ui);box-shadow:0 7px 18px rgba(24,72,107,.18);transition:transform .2s ease,background .2s ease}
.hero-cv:hover{transform:translateY(-2px);background:#0e3d62}
.about-hero-copy>p{font-size:19px;line-height:1.52;color:#303f46;margin-bottom:14px}
.hero-links{margin-top:20px}.hero-links a{font:500 14px var(--font-ui);color:#1d5b7e}
.ocean-source{z-index:3;right:18px;left:auto;bottom:14px}
.section-intro p,.proposal-body>p,.proposal-body li,.cv-entry p,.teaching-lead,.teaching-entries p{font-family:var(--font-editorial);font-size:19px;line-height:1.52}

/* The dialogue occupies the bottom of the illustrated scene. Every action animates the scene. */
.story-game{position:relative}
.story-layout{position:relative;display:block;min-height:620px;aspect-ratio:1200/700}
.story-map{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;background:#d9edf1}
.story-map>img{object-fit:cover;object-position:center 40%;transition:filter .4s ease,transform .5s ease}
.story-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--spot-x,50%) 40%,rgba(255,247,185,.4),transparent 29%);opacity:0;transition:opacity .4s ease}
.story-map[data-place]:not([data-place=""]) .story-vignette{opacity:1}
.story-map[data-scene="feed"]>img{filter:blur(2px) saturate(.78);transform:scale(1.025)}
.story-map[data-scene="feed"]::after{background:rgba(19,36,45,.34)}
.story-panel{position:absolute;z-index:5;bottom:0;left:0;right:0;min-height:240px;max-height:52%;overflow-y:auto;padding:25px clamp(25px,4vw,55px) 28px;background:rgba(23,34,38,.94);border-top:1px solid rgba(255,255,255,.26);box-shadow:0 -17px 38px rgba(17,36,39,.23);backdrop-filter:blur(12px)}
.story-panel>*{animation:dialogue-enter .36s ease both}
@keyframes dialogue-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.story-place{top:43%;z-index:4;min-width:93px}
.place-cinema{left:13%}.place-cafe{left:47%}.place-market{right:5%}
.story-avatar{top:51%;transition:left .58s cubic-bezier(.2,.72,.2,1),top .58s cubic-bezier(.2,.72,.2,1)}
.story-game.is-acting .story-avatar{animation:walk-bob .3s ease-in-out 2}
@keyframes walk-bob{50%{transform:translate(-50%,-61%)}}
.scene-phone{position:absolute;z-index:3;right:11%;top:4%;width:156px;height:250px;padding:17px 10px;border:6px solid #21363c;border-radius:24px;background:#f7f4ed;box-shadow:13px 19px 30px rgba(21,42,42,.25);opacity:0;transform:translateY(25px) rotate(7deg) scale(.85);transition:opacity .45s ease,transform .45s ease;pointer-events:none}
.story-map[data-scene="feed"] .scene-phone{opacity:1;transform:translateY(0) rotate(7deg) scale(1)}
.scene-phone-speaker{display:block;width:34px;height:4px;border-radius:5px;background:#98a8a5;margin:0 auto 13px}
.scene-phone-frame{height:140px;display:grid;place-items:center;background:linear-gradient(135deg,#9dbbbc,#d6c2a2);color:#fff;font-size:29px}
.scene-phone-lines{display:block;margin:14px 5px;height:34px;background:linear-gradient(#bec8c4 0 5px,transparent 5px 13px,#d5dcd6 13px 18px,transparent 18px 26px,#d5dcd6 26px 31px);border-radius:3px}
.story-game.is-acting[data-action="watch"] .scene-phone-frame{animation:phone-play .62s ease}
.story-game.is-acting[data-action="share-trailer"] .scene-phone{animation:phone-share .62s ease}
.story-game.is-acting[data-action="read-contract"] .story-vignette,.story-game.is-acting[data-action="ask-access"] .story-vignette{animation:signal-pulse .62s ease}
@keyframes phone-play{50%{filter:brightness(1.35);transform:scale(1.035)}}
@keyframes phone-share{50%{filter:brightness(1.2);transform:translateY(-9px) rotate(3deg) scale(1.04)}}
@keyframes signal-pulse{50%{opacity:.95}}
.story-game[data-scene="result"]{background:#fff}
.story-game[data-scene="result"] .story-map{display:none}
.story-game[data-scene="result"] .story-layout{min-height:0;aspect-ratio:auto}
.story-game[data-scene="result"] .story-panel{position:relative;min-height:520px;max-height:none;overflow:visible;padding:clamp(35px,5vw,70px);background:#fff;color:#27353a;border:0;box-shadow:none;backdrop-filter:none}
.story-game[data-scene="result"] .story-panel h3{color:#27353a;font-size:clamp(45px,5vw,70px)}
.story-game[data-scene="result"] .dialogue-text{color:#4d5d5f!important;max-width:68ch}
.story-game[data-scene="result"] .dialogue-head{color:#2f6880}
.story-game[data-scene="result"] .ending-reading{color:#425150;max-width:80ch;font:20px/1.5 var(--font-editorial)}
.story-game[data-scene="result"] .ending-trail{color:#687b79}
.story-game[data-scene="result"] .ending-data>div{background:#f5f8f6;border-color:#dce6df}
.story-game[data-scene="result"] .ending-data strong{color:#183c51}
.story-game[data-scene="result"] .ending-data span,.story-game[data-scene="result"] .ending-data small{color:#506562}
.story-game[data-scene="result"] .dialogue-choice{background:#eef5f4;color:#24474b;border-color:#c8dcda}

/* The front sheet stays the original work; moving the lower corner reveals the next sheet. */
.newspaper-stage{min-height:760px;perspective:1400px;overflow:visible;background:#eef1ee}
.newspaper-book{--curl:22px;position:relative;width:min(100%,480px);height:min(680px,72vw);min-height:520px;transition:width .55s var(--ease);filter:drop-shadow(0 24px 22px rgba(27,35,33,.21))}
.newspaper-book.page-two{width:min(100%,960px)}
.newspaper-under,.newspaper-sheet{position:absolute;inset:0;background:#f9f7f1}
.newspaper-under img,.newspaper-sheet img{width:100%;height:100%;object-fit:fill}
.newspaper-sheet{height:100%;max-width:none;transform-origin:left center;transition:transform .55s cubic-bezier(.22,.6,.2,1),opacity .45s ease;filter:none;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--curl)),calc(100% - var(--curl)) 100%,0 100%)}
.newspaper-book.page-two .newspaper-sheet{clip-path:polygon(0 0,100% 0,100% 100%,var(--curl) 100%,0 calc(100% - var(--curl)))}
.newspaper-book.page-two .newspaper-sheet::after{left:0;width:12%;background:linear-gradient(90deg,rgba(18,24,25,.25),rgba(18,24,25,.08) 47%,transparent)}
.newspaper-book::after{content:"";position:absolute;z-index:3;left:0;top:0;bottom:0;width:14%;pointer-events:none;background:linear-gradient(90deg,rgba(16,24,24,.21),rgba(16,24,24,.05) 50%,transparent);opacity:0;transition:opacity .45s ease}
.newspaper-book.page-two::after{opacity:1}
.paper-corner{position:absolute;z-index:4;right:0;bottom:0;width:var(--curl);height:var(--curl);pointer-events:none;clip-path:polygon(0 100%,100% 0,100% 100%);background:linear-gradient(135deg,#aaa89e 0%,#fdfcf7 44%,#ddd9cf 70%,#9b9b94 100%);filter:drop-shadow(-7px -7px 6px rgba(28,35,31,.26))}
.newspaper-book.page-two .paper-corner{right:auto;left:0;transform:scaleX(-1)}
.newspaper-book.is-turning .newspaper-sheet{transform:rotateY(-67deg);opacity:.48}
.newspaper-book.page-two.is-turning .newspaper-sheet{transform-origin:right center;transform:rotateY(67deg)}
.newspaper-book.is-turning .paper-corner{opacity:0}

/* A single dimensional canister feeds an expandable strip with sprocket holes. */
.photo-feature{background:#261b18}
.film-stage{background:radial-gradient(circle at 48% 5%,#55372a,#281a16 75%);min-height:450px;padding:18px 22px 27px;border-radius:6px;box-shadow:0 20px 45px rgba(29,15,12,.24)}
.film-bench{display:flex;align-items:center;min-height:350px;perspective:900px}
.film-canister{position:relative;flex:0 0 195px;width:195px;height:270px;z-index:3;border:0;background:transparent;transform:rotate(-12deg) rotateY(-15deg);transform-style:preserve-3d;filter:drop-shadow(22px 26px 18px rgba(0,0,0,.38));transition:transform .25s ease}
.film-canister:hover{transform:translateY(-5px) rotate(-7deg) rotateY(-5deg)}
.film-shell{position:absolute;left:24px;top:30px;width:146px;height:207px;overflow:hidden;border-radius:18px 18px 14px 14px;background:linear-gradient(90deg,#050505,#3a332c 12%,#0e0d0c 30%,#2c2926 63%,#050505);box-shadow:inset -15px 0 17px rgba(0,0,0,.6),inset 10px 0 10px rgba(255,255,255,.12),4px 6px 0 #14120f}
.film-cap,.film-base{position:absolute;left:23px;width:148px;height:37px;border-radius:50%;background:radial-gradient(ellipse at 47% 38%,#69655f 0,#252522 55%,#090909 79%);box-shadow:0 6px 0 #151411,inset 0 3px 3px rgba(255,255,255,.18)}
.film-cap{top:12px;transform:rotate(var(--roll-turn,0deg))}
.film-base{bottom:18px;height:28px;box-shadow:0 7px 0 #0a0908}
.film-label{position:absolute;left:12px;right:12px;top:42px;height:129px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:9px 12px;border-radius:3px;background:linear-gradient(90deg,#c7ae7e,#f0dfb8 33%,#dfc99b 70%,#b79f70);color:#322019;box-shadow:inset -10px 0 13px rgba(64,41,20,.21),inset 8px 0 8px rgba(255,255,255,.3)}
.film-label b{font:700 19px/1 var(--font-ui);letter-spacing:-.07em;color:#b6503c}
.film-label strong{font:700 68px/.95 var(--font-ui);letter-spacing:-.1em}
.film-label em{font:600 9px var(--font-ui);letter-spacing:.05em;font-style:normal}
.film-runway{position:relative;flex:1;min-width:0;height:210px;display:flex;align-items:center;overflow:hidden}
.film-window{width:0;height:168px;overflow:hidden;position:relative;background:#3c211b;box-shadow:inset 0 6px 12px rgba(0,0,0,.5),0 12px 23px rgba(0,0,0,.25)}
.film-ribbon{position:absolute;left:0;top:0;display:flex;width:max-content;height:168px;will-change:transform}
.film-cell{position:relative;flex:0 0 184px;width:184px;height:168px;padding:18px 8px;border:0;border-right:1px solid #694332;background:linear-gradient(#6c382a,#3d211c 50%,#6c382a);box-shadow:inset 0 8px 10px rgba(0,0,0,.37),inset 0 -8px 10px rgba(0,0,0,.37)}
.film-cell::before,.film-cell::after{content:"";position:absolute;left:6px;right:6px;height:10px;background:radial-gradient(circle,#1a100e 3px,transparent 3.5px) 0 0/18px 10px repeat-x}
.film-cell::before{top:4px}.film-cell::after{bottom:4px}
.film-cell img{width:100%;height:100%;object-fit:cover;filter:sepia(.27) contrast(.95);box-shadow:inset 0 0 9px rgba(0,0,0,.4)}
.film-cell:hover img{filter:none}
.film-cell span{position:absolute;bottom:3px;right:11px;font:700 8px var(--font-ui);color:#d8aa7b}
.film-pull{position:absolute;z-index:5;top:50%;left:0;width:33px;height:132px;transform:translateY(-50%);display:grid;place-items:center;border:1px solid #ad7252;border-radius:0 5px 5px 0;background:linear-gradient(90deg,#502e23,#ab6d4b 55%,#74402d);color:#f4d3ae;cursor:ew-resize;touch-action:none;box-shadow:3px 7px 11px rgba(0,0,0,.28);user-select:none}
.film-pull.is-dragging{background:#b46c42}
.film-hint{position:relative;color:#dbc7b6;font-size:12px;text-align:center;margin:4px 0 0}
.film-viewer{padding:24px;margin:20px auto 0;border-top:1px solid #7b5744;background:#1d1715}
.film-frame{height:min(540px,60vw);border:0;padding:0;background:#0d0e0d;box-shadow:0 16px 30px rgba(0,0,0,.32)}
.film-frame img{filter:none;object-fit:contain}
.film-viewer-controls button{border-radius:50%;width:44px;height:44px}
@media(max-width:950px){.about-wash{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.84) 64%,rgba(255,255,255,.25))}.about-hero-copy{max-width:520px}.story-layout{min-height:650px;aspect-ratio:auto}.story-panel{max-height:56%}.newspaper-stage{min-height:650px}.newspaper-book{height:min(570px,75vw);min-height:420px}}
@media(max-width:600px){body{font-size:17px}.about-hero{min-height:780px}.about-hero-grid{min-height:780px;padding-top:45px}.about-wash{background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.91) 47%,rgba(255,255,255,.36) 78%,transparent)}.about-hero h1{font-size:49px}.hero-headshot{width:83px;height:83px}.about-hero-copy>p{font-size:17px}.ocean-source{bottom:9px;right:9px}.story-layout{min-height:760px}.story-map{height:100%}.story-map>img{height:410px;object-fit:cover;object-position:center}.story-panel{max-height:58%;min-height:350px;padding:20px 17px 23px}.story-place{top:29%;min-width:0;font-size:9px}.place-cinema{left:5%}.place-cafe{left:42%}.place-market{right:3%}.story-avatar{top:38%}.scene-phone{right:8%;top:4%;transform-origin:top right}.story-map[data-scene="feed"] .scene-phone{transform:scale(.75) rotate(7deg)}.story-game[data-scene="result"] .story-panel{padding:29px 21px;min-height:640px}.story-game[data-scene="result"] .ending-data{grid-template-columns:1fr}.newspaper-stage{min-height:540px;padding:16px}.newspaper-book{height:min(480px,121vw);min-height:0}.newspaper-book.page-two{height:min(320px,66vw)}.film-stage{padding:12px 10px 24px}.film-bench{min-height:245px}.film-canister{flex-basis:105px;transform:scale(.55) rotate(-12deg);transform-origin:left center}.film-canister:hover{transform:scale(.55) rotate(-8deg)}.film-runway{height:170px}.film-window,.film-ribbon,.film-cell{height:126px}.film-cell{width:140px;flex-basis:140px;padding:16px 6px}.film-pull{height:100px;width:27px}.film-frame{height:300px}}
@media(prefers-reduced-motion:reduce){.story-panel>*,.story-game.is-acting .story-avatar{animation:none}.scene-phone,.story-map>img,.newspaper-book,.film-canister{transition:none}}

/* Revision: let the original ocean receive pointer input while its central prompt stays outside the clipped viewport. */
.ocean-background{right:auto;left:0;width:270%;max-width:none}
.about-wash{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 29%,rgba(255,255,255,.76) 45%,rgba(255,255,255,.08) 70%,transparent 100%)}
.hero-contacts{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:15px}
.hero-cv{margin:0;min-width:0;padding:10px 0;border-radius:0;background:none;box-shadow:none;color:#163f70;border-bottom:1px solid #163f70;font:500 16px/1.2 var(--font-editorial);letter-spacing:.005em;gap:25px}
.hero-cv:hover{color:#0b6292;background:none;transform:none;border-color:#0b6292}
.hero-email{font:400 15px/1.3 var(--font-editorial);color:#275273;text-decoration:underline;text-underline-offset:4px}
.hero-email:hover{color:#087aa4}
.sop-section .section-intro{display:block}
.sop-preview{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c8cc transparent}
.sop-preview .read-sop{flex:none;margin-top:24px;margin-bottom:3px}
.sop-preview::-webkit-scrollbar{width:5px}.sop-preview::-webkit-scrollbar-thumb{background:#b5c8cc;border-radius:6px}

/* Indigo and paper replace the old spotlight and opaque dialogue slab. */
.story-game{background:#f0f4f7;box-shadow:0 20px 58px rgba(20,51,86,.1)}
.story-top{background:#f6f8fa;color:#27466b}
.story-map{background:#eaf2f8}
.story-map>img{filter:none}
.story-vignette,.story-map[data-place]:not([data-place=""]) .story-vignette{opacity:0!important}
.story-map[data-scene="feed"]>img{filter:blur(1px) saturate(.88)}
.story-map[data-scene="feed"]::after{background:rgba(29,57,92,.12)}
.story-place{background:rgba(251,253,255,.9);border:1px solid #91a6bd;color:#213e68;box-shadow:0 4px 14px rgba(17,45,89,.12)}
.story-place.is-visited{background:#d8e7ef}
.story-panel{left:3%;right:3%;bottom:3%;min-height:0;max-height:40%;padding:19px clamp(20px,3vw,42px) 20px;border:1px solid rgba(255,255,255,.6);border-radius:15px;background:linear-gradient(145deg,rgba(18,45,78,.88),rgba(28,63,91,.69) 66%,rgba(32,70,96,.54));box-shadow:0 10px 34px rgba(13,37,67,.22);backdrop-filter:blur(7px);scrollbar-color:#9bb4c8 transparent}
.story-panel h3{font-size:clamp(26px,2.7vw,38px);margin-bottom:7px}
.dialogue-head{color:#b8dbe6}
.dialogue-text{color:#f0f6f9!important;font-size:15px!important;line-height:1.45!important;margin-bottom:11px!important}
.dialogue-choices{gap:6px 10px}
.dialogue-choice{min-height:35px;padding:6px 10px;border:1px solid rgba(197,222,235,.47);background:rgba(227,242,248,.1);color:#f9fcff;border-radius:8px;font-size:12px}
.dialogue-choice:hover{background:rgba(224,242,251,.27);border-color:#e4f6ff}
.dialogue-choice.is-done{color:#cce7f2;border-color:#8caaba}
.dialogue-choice span:last-child{color:#d5eaf6}
.scene-phone{border-color:#1d3759;box-shadow:13px 19px 30px rgba(18,42,77,.25)}
.scene-phone-frame{background:linear-gradient(145deg,#85b5ce,#cadbe3,#607eaa)}
.story-consequence-scene{position:absolute;inset:0;pointer-events:none;z-index:3;color:#173b67;font:600 13px var(--font-ui)}
.story-consequence-scene span{position:absolute;display:block;padding:8px 11px;border:1px solid rgba(57,92,126,.2);border-radius:7px;background:rgba(255,255,255,.88);box-shadow:0 6px 17px rgba(27,61,100,.17);opacity:0;transform:translateY(12px) scale(.94);transition:opacity .55s ease,transform .55s ease}
.scene-ticket{left:27%;top:35%}.scene-message{left:55%;top:27%}.scene-quote{right:13%;top:31%}
.story-map.has-tickets .scene-ticket,.story-map.has-message .scene-message,.story-map.has-quote .scene-quote{opacity:1;transform:translateY(0) scale(1)}
.story-game.is-acting[data-action="share-trailer"] .scene-message{animation:story-pop 1.05s ease}
.story-game.is-acting[data-action="tell-film"] .scene-message{animation:story-pop 1.05s ease}
.story-game.is-acting[data-action="read-contract"] .scene-quote,.story-game.is-acting[data-action="ask-tickets"] .scene-ticket{animation:story-pop 1.05s ease}
.story-game.is-acting[data-action="watch"] .scene-phone-frame{animation:phone-play 1.05s ease}
.story-game.is-acting[data-action="scroll"] .scene-phone-frame{animation:feed-scroll 1.05s ease}
.story-game.is-acting[data-action="save"] .scene-phone-frame{animation:feed-save 1.05s ease}
.story-game.is-acting[data-action="share-bare"] .scene-quote,.story-game.is-acting[data-action="share-context"] .scene-quote{animation:story-pop 1.05s ease}
@keyframes story-pop{0%{opacity:0;transform:translateY(30px) scale(.7)}55%{opacity:1;transform:translateY(-6px) scale(1.05)}100%{transform:translateY(0) scale(1)}}
@keyframes feed-scroll{50%{transform:translateY(-30px);opacity:.42}}
@keyframes feed-save{50%{transform:scale(.88);box-shadow:0 0 0 12px rgba(238,249,255,.4)}}
.story-game[data-scene="result"] .story-panel{left:auto;right:auto;bottom:auto;max-height:none;border-radius:0}

/* A live paper corner and the shadow of the opened left edge. */
.newspaper-book{--lift:0deg;--shade:0;transform-style:preserve-3d}
.newspaper-sheet{transform:rotateY(var(--negative-lift));transition:transform .16s ease-out,clip-path .16s ease-out,opacity .4s ease}
.newspaper-book.page-two .newspaper-sheet{transform-origin:right center;transform:rotateY(var(--lift))}
.newspaper-sheet::after{width:21%;background:linear-gradient(90deg,rgba(20,28,34,.05),transparent 60%);opacity:calc(.25 + var(--shade) * .35)}
.newspaper-book.page-two .newspaper-sheet::after{width:16%;background:linear-gradient(90deg,rgba(11,20,31,.35),rgba(16,29,39,.09) 57%,transparent);opacity:1}
.newspaper-book::after{opacity:calc(var(--shade) * .9);width:18%;background:linear-gradient(90deg,rgba(14,27,40,.33),rgba(14,27,40,.12) 38%,transparent)}
.newspaper-book.page-two::after{opacity:1}
.paper-corner{filter:drop-shadow(-5px 5px 4px rgba(18,30,38,.25))}

/* The canister reacts to the cursor, then exposes undeveloped negative frames. */
.film-stage{background:radial-gradient(ellipse at 25% 15%,#493b34,#201a19 77%)}
.film-canister{--tilt-x:0deg;--tilt-y:0deg;--shine-x:50%;transform:perspective(800px) rotate(-11deg) rotateY(calc(-14deg + var(--tilt-y))) rotateX(var(--tilt-x));transition:transform .16s ease-out,filter .2s ease;filter:drop-shadow(17px 23px 16px rgba(0,0,0,.41))}
.film-canister:hover{transform:perspective(800px) translateY(-4px) rotate(-11deg) rotateY(calc(-14deg + var(--tilt-y))) rotateX(var(--tilt-x));filter:drop-shadow(21px 27px 18px rgba(0,0,0,.46))}
.film-shell::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--shine-x) 22%,rgba(255,255,255,.21),transparent 37%);mix-blend-mode:screen}
.film-label{background:linear-gradient(90deg,#bea788,#f7edd7 31%,#e9dabc 73%,#b8a080)}
.film-label b{font-size:16px;letter-spacing:.03em;color:#ad4c34}
.film-label strong{font-size:73px;letter-spacing:-.08em}
.film-pull{width:43px;height:120px;border-radius:1px 9px 9px 1px;background:linear-gradient(90deg,#48291e,#68402b 56%,#3b211b);border-color:#8c5a41}
.film-pull::before,.film-pull::after{content:"";position:absolute;left:5px;right:5px;height:9px;background:radial-gradient(circle,#140c0b 3px,transparent 3.5px) 0 0/18px 9px repeat-x}
.film-pull::before{top:7px}.film-pull::after{bottom:7px}
.film-pull span{font-size:15px;color:#edd3ad}
.film-cell{overflow:hidden}
.film-cell img{display:block;object-fit:contain;background:#261913;filter:sepia(1) saturate(.3) brightness(.09) contrast(.6) blur(4px);opacity:.38;transition:filter 2.3s ease,opacity 2.3s ease;}
.film-cell.is-developed img{filter:sepia(.15) contrast(.97);opacity:1}
.film-cell.is-portrait img{width:132px;height:132px;margin:auto;transform:rotate(90deg)}
.film-cell:not(.is-developed):hover img{filter:sepia(1) saturate(.3) brightness(.09) contrast(.6) blur(4px)}
.film-viewer{max-width:100%;background:#1d1715}
.film-frame{height:min(640px,72vh);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border:0;padding:24px 8px;background:#180f0d}
.film-frame::before,.film-frame::after{content:"";position:absolute;z-index:2;left:0;right:0;height:19px;background:radial-gradient(ellipse 5px 4px at 8px 9px,#100a09 95%,transparent 100%) 0 0/30px 19px repeat-x,#603826;box-shadow:0 3px 5px rgba(0,0,0,.45)}
.film-frame::before{top:0}.film-frame::after{bottom:0;transform:rotate(180deg)}
.film-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;clip-path:inset(1%);filter:sepia(1) saturate(.4) brightness(.18) blur(9px);opacity:.45;transition:filter 2.2s ease,opacity 2.2s ease}
.film-frame.is-developed img{filter:none;opacity:1}
.film-viewer.is-portrait .film-frame img{max-width:min(100%,700px)}
@media(max-width:600px){.ocean-background{width:280%}.hero-contacts{display:block}.hero-email{display:block;margin-top:10px}.story-panel{left:2%;right:2%;bottom:2%;max-height:49%;min-height:0;padding:14px 15px 16px;background:linear-gradient(145deg,rgba(18,45,78,.9),rgba(28,63,91,.67))}.story-panel h3{font-size:28px}.dialogue-text{font-size:13px!important}.dialogue-choice{font-size:11px}.story-consequence-scene{font-size:9px}.scene-message{left:44%;top:15%}.scene-quote{right:5%;top:19%}.film-canister{transform:scale(.55) rotate(-11deg)}.film-canister:hover{transform:scale(.55) rotate(-11deg)}.film-pull{width:32px;height:95px}.film-cell.is-portrait img{width:100px;height:100px}.film-frame{height:min(480px,70vh);padding:23px 5px}}
@media(max-width:600px){.about-wash{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.91) 46%,rgba(255,255,255,.28) 78%,transparent)}.film-cell.is-portrait img{width:88px;height:88px}}
