:root{font-family:Arial,Helvetica,sans-serif;color:#171717;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#fff}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #234bfa;outline-offset:5px}header{position:fixed;z-index:10000;top:0;left:0;width:100%;display:flex;align-items:center;padding:28px 32px;pointer-events:none}header>*{pointer-events:auto}.identity{font-weight:800;font-size:42px;letter-spacing:-5px;line-height:1}.identity span{font-size:24px;display:inline-block;vertical-align:top;margin:4px 0 0 8px;letter-spacing:-2px}.edition{font-size:9px;letter-spacing:1px;line-height:1.6;margin-left:42px}.edition span{color:#797979}#motion{margin-left:auto;background:#fff;border:0;font-size:9px;letter-spacing:1px;display:flex;align-items:center;gap:6px;padding:12px}#motion i{width:5px;height:5px;background:#234bfa;border-radius:50%;margin-left:8px}.still #motion i{background:#aaa}.viewport{position:relative;height:100svh;width:100%;overflow:hidden;isolation:isolate;touch-action:pan-y;user-select:none}#world{position:absolute;inset:0}.frame{position:absolute;left:0;top:0;display:block;margin:0;padding:0;border:0;background:transparent;transform-origin:center;will-change:auto;cursor:pointer}.frame img{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.clip-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0;transition:none}footer{position:fixed;z-index:10000;bottom:0;width:100%;padding:27px 32px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;font-size:8px;letter-spacing:1px;color:#747474}.field-label{color:#333}.cross{font-size:19px;vertical-align:middle;margin-left:12px}.index span{margin:0 8px}.hint{font-size:8px;color:#8b8b8b}@media(max-width:700px){header{padding:20px 18px}.identity{font-size:32px}.identity span{font-size:19px}.edition{font-size:7px;margin-left:22px}#motion{font-size:8px;padding:10px 0 10px 10px}footer{padding:20px 18px;font-size:7px}.hint{display:none}.index{font-size:7px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.zoom-controls{display:flex;align-items:center;gap:12px;pointer-events:auto}.zoom-controls button{background:#fff;border:0;padding:6px;color:#555;font-size:15px}.zoom-controls #zoom-reset{font-size:9px;min-width:42px;font-variant-numeric:tabular-nums}.zoom-controls .hint{margin-left:14px}@media(max-width:700px){.index{display:none}.zoom-controls{gap:7px}}

/* A native scroll journey keeps wheel, touch, keyboard and the contact page connected. */
:root{--orange:#ff8f28}body{overflow-x:hidden;overflow-y:auto}#journey{height:650svh;background:var(--orange)}.viewport{position:sticky;top:0;background:#fff}#orange-glow{position:absolute;left:50%;top:50%;width:200%;height:200%;transform:translate(-50%,-50%) scale(.7);background:radial-gradient(ellipse closest-side at 50% 50%,rgba(255,143,40,.97) 0%,rgba(255,149,52,.91) 12%,rgba(255,160,72,.76) 25%,rgba(255,175,102,.55) 40%,rgba(255,191,132,.32) 55%,rgba(255,210,168,.13) 70%,rgba(255,229,203,.035) 85%,rgba(255,240,224,0) 100%);pointer-events:none;will-change:transform,opacity}#world{z-index:1}.depth-fog{position:absolute;inset:0;z-index:2;background:var(--orange);pointer-events:none}.clip-video{z-index:1}#intro{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}#intro span,.contact-label{font-size:9px;letter-spacing:1.5px}#intro p{font-size:clamp(52px,9vw,150px);letter-spacing:-.075em;margin:20px 0 35px;line-height:1}#contact{position:relative;min-height:100svh;background:var(--orange);padding:150px 7vw 90px;display:flex;flex-direction:column;justify-content:center}#contact h1{font-size:clamp(50px,9vw,145px);font-weight:400;line-height:.96;letter-spacing:-.065em;margin:50px 0 70px}#contact a{align-self:flex-start;border-bottom:1px solid currentColor;padding-bottom:9px;font-size:10px;letter-spacing:1px}#motion,.zoom-controls button{background:rgba(255,255,255,.72)}.edition span{color:#555}footer{color:#333}.hint{color:#555}

/* Reel lifts into its black surround, then the surround dissolves to white. */
#reel-section{height:300svh;background:#fff}#reel-stage{height:100svh;position:sticky;top:0;background:#000;overflow:hidden}#reel-wrap{height:100%;position:relative;background:#000;will-change:transform}#reel{display:block;width:100%;height:100%;object-fit:contain;background:#000}.reel-top,.reel-bottom{position:absolute;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:9px;letter-spacing:1.2px;text-shadow:0 1px 5px #000}.reel-top{top:30px;pointer-events:none}.reel-bottom{bottom:28px;gap:16px}.reel-controls{display:flex;gap:20px}.reel-controls button{border:0;background:rgba(0,0,0,.35);color:#fff;padding:10px 5px;font-size:9px;letter-spacing:1px}.reel-bottom a{padding:10px 0}header,footer{visibility:hidden}@media(max-width:700px){.reel-top,.reel-bottom{left:18px;right:18px;font-size:7px}.reel-bottom{align-items:flex-end}.reel-controls{gap:8px;flex-wrap:wrap}.reel-controls button{font-size:8px}#reel-continue{white-space:nowrap}}

#contact{padding:0;min-height:100svh;display:block}#face-return{display:grid;place-items:center;width:100%;height:100svh;padding:0;border:0;background:var(--orange);color:#000;touch-action:pan-y;cursor:pointer;user-select:none}#face-return svg{width:clamp(220px,22vw,410px);height:auto;pointer-events:none;transition:transform 180ms cubic-bezier(.2,.8,.2,1)}#face-return[data-face="wink"] svg{transform:scale(.96) rotate(-2deg)}.eye-wink,.mouth-surprise{display:none}#face-return[data-face="wink"] .eye-open{display:none}#face-return[data-face="wink"] .eye-wink{display:block}#face-return[data-face="surprise"] .mouth-smile{display:none}#face-return[data-face="surprise"] .mouth-surprise{display:block}#face-return:focus-visible{outline:3px solid #111;outline-offset:-12px}

/* Overlap the final grey transition with the first rising fragments. */
#journey{position:relative;margin-top:-100svh;z-index:2;background:transparent}#reel-stage{z-index:1}#contact{z-index:3}#reel-start{position:absolute;inset:0;border:0;background:rgba(0,0,0,.08);display:grid;place-items:center;color:white;cursor:pointer}#reel-start svg{width:clamp(70px,8vw,130px);filter:drop-shadow(0 2px 15px rgba(0,0,0,.3));transition:transform .2s}#reel-start:hover svg{transform:scale(1.08)}#reel-start[hidden]{display:none}.reel-bottom{z-index:2}.contact-email{position:absolute;left:6vw;right:6vw;bottom:9vh;text-align:center;pointer-events:none;color:#000}.contact-email span{font-family:'Arial Rounded MT Bold','Trebuchet MS',Arial,sans-serif;font-weight:1000;letter-spacing:-.055em;font-size:clamp(24px,5vw,76px);-webkit-text-stroke:1px currentColor}.contact-email small{display:block;margin-top:14px;font:9px Arial,sans-serif;letter-spacing:1.5px;opacity:.65}

/* Contact arrives in the same sticky volume as the last fragments. */
#contact{position:absolute;inset:0;min-height:0;z-index:30000;background:transparent;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease}
#contact.arrived{opacity:1;visibility:visible;pointer-events:auto}
#face-return{position:absolute;inset:0;height:100%;background:transparent}
#face-return svg{position:absolute;top:52%;left:50%;width:clamp(170px,19vw,290px);transform:translateX(-50%)}
#face-return[data-face="wink"] svg{transform:translateX(-50%) scale(.96) rotate(-2deg)}
#contact .contact-email{position:absolute;top:40%;bottom:auto;left:3vw;right:3vw;z-index:2;align-self:auto;text-align:center;border:0;padding:0;pointer-events:auto;letter-spacing:normal;line-height:1.2}
.contact-email span{font-size:clamp(22px,5.4vw,78px);display:inline-block}
#contact.arrived .contact-email span{animation:type-email 1.15s steps(20,end) both}
#contact.arrived #face-return svg{animation:type-face .35s steps(3,end) 1.25s both}
@keyframes type-email{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes type-face{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
#contact.arrived #face-return[data-face="smile"] .eye-open{animation:idle-open 4.5s 2s infinite}
#contact.arrived #face-return[data-face="smile"] .eye-wink{display:block;opacity:0;animation:idle-wink 4.5s 2s infinite}
@keyframes idle-open{0%,87%,96%,100%{opacity:1}88%,95%{opacity:0}}
@keyframes idle-wink{0%,87%,96%,100%{opacity:0}88%,95%{opacity:1}}
#face-cursor{display:none;position:fixed;left:0;top:0;z-index:100000;pointer-events:none;color:#fff;mix-blend-mode:difference;font-family:'Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-weight:900;font-size:25px;letter-spacing:-3px;line-height:1;white-space:nowrap;transform:translate(-100px,-100px)}
.cursor-down{display:none;font-size:28px;letter-spacing:normal;margin-left:8px}
#face-cursor.scroll-cue .cursor-down{display:inline-block;animation:scroll-nudge 1s ease-in-out infinite}
@keyframes scroll-nudge{50%{transform:translateY(6px)}}
@media(hover:hover) and (pointer:fine){body.custom-cursor,body.custom-cursor *{cursor:none!important}body.custom-cursor #face-cursor{display:block}}
@media(prefers-reduced-motion:reduce){#contact.arrived .contact-email span,#contact.arrived #face-return svg{animation:none}#contact .eye-open,#contact .eye-wink,.cursor-down{animation:none!important}}

#face-cursor svg{width:50px;height:36px;vertical-align:middle}#face-cursor[data-face="surprise"] .mouth-smile{display:none}#face-cursor[data-face="surprise"] .mouth-surprise{display:block}

/* A generous invisible orbit makes sound easy to target with the face cursor. */
#reel-sound{position:relative;min-width:100px;min-height:48px;padding:16px 20px;margin:-12px -15px}#reel-sound::before{content:"";position:absolute;inset:-24px -30px;border-radius:50%}.reel-controls{position:relative;z-index:5}

/* A short tongue-out gesture every 7.5 seconds, only while the cursor is idle. */
#face-cursor .mouth-tongue{display:none}#face-cursor[data-face="smile"] .mouth-tongue{display:block;opacity:0;animation:cursor-tongue 7.5s infinite}#face-cursor[data-face="smile"] .mouth-smile{animation:cursor-smile 7.5s infinite}
@keyframes cursor-tongue{0%,88%,99%,100%{opacity:0}89%,98%{opacity:1}}
@keyframes cursor-smile{0%,88%,99%,100%{opacity:1}89%,98%{opacity:0}}
@media(prefers-reduced-motion:reduce){#face-cursor .mouth-tongue{display:none!important}#face-cursor .mouth-smile{animation:none!important}}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.studio-services{position:absolute;left:20px;right:20px;bottom:7%;margin:0;text-align:center;font-size:clamp(10px,1vw,13px);line-height:1.8;letter-spacing:.02em;pointer-events:none}#contact.arrived .studio-services{animation:contact-caption .4s 1.6s both}@keyframes contact-caption{from{opacity:0}to{opacity:.75}}@media(prefers-reduced-motion:reduce){#contact.arrived .studio-services{animation:none}}

/* Test: fill the changing mobile viewport and colour exposed page edges. */
html{background:#000;overscroll-behavior-y:none}body{background:#000;overscroll-behavior-y:none}
.viewport,#reel-stage{height:100dvh;min-height:100svh}
.reel-bottom{bottom:calc(28px + env(safe-area-inset-bottom,0px))}
#contact .studio-services{padding-bottom:env(safe-area-inset-bottom,0px)}

/* 605 viewport units of travel become 786.5: exactly 30% more mobile scroll. */
@media(max-width:699px){#journey{height:831.5svh}}
#copy-status{position:absolute;top:47%;left:0;right:0;text-align:center;font:12px Arial,sans-serif;letter-spacing:.02em;pointer-events:none;z-index:30001}

/* Keep feedback clear of the email at every responsive type size. */
#copy-status{top:calc(40% + clamp(26.4px,6.48vw,93.6px) + 24px);font-size:12px;line-height:1.4}
#face-return svg{top:calc(40% + clamp(26.4px,6.48vw,93.6px) + 78px)}
#gummy-home{position:fixed;z-index:40000;top:calc(18px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:180px;aspect-ratio:400/87;padding:0;border:0;background-color:transparent;background-image:url('media/gummy-sprite.webp');background-size:100% 2200%;background-position:50% 52.380952%;background-repeat:no-repeat;cursor:pointer}
#gummy-home::after{content:"";position:absolute;inset:-8px}
#reel-start svg{width:clamp(125px,12vw,180px)}
.studio-services span{padding:0 .5em}
#contact .instagram-link{position:absolute;right:24px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:4;border:0;padding:12px;font-size:11px;letter-spacing:.06em;opacity:.7}
#contact .instagram-link:hover{opacity:1}
@media(max-width:699px){#gummy-home{width:145px;top:calc(14px + env(safe-area-inset-top,0px))}.studio-services{font-size:10px;bottom:12%}.studio-services span{padding:0 .25em}}

/* The triangle itself stays centred; the smile sits alongside it. */
#reel-start svg{overflow:visible;transform-origin:50% 50%}
/* This enlarged hit region sits above the full-page rewind button. */
#contact .instagram-link::before{content:"";position:absolute;inset:-28px -24px;border-radius:28px}

/* Touch devices use the same journey in either orientation. */
body.mobile-layout #journey{height:831.5svh}
#rotate-hint{display:none;position:absolute;top:calc(50% + 80px);left:0;right:0;text-align:center;color:#fff;opacity:.65;font-size:11px;letter-spacing:.04em;pointer-events:none}
.rotate-phone{display:inline-block;margin-right:6px;font-size:20px;vertical-align:middle}
@media(orientation:portrait){body.mobile-layout:not(.reel-started) #rotate-hint{display:block}}
#mobile-scroll-cue{position:fixed;left:50%;bottom:calc(42px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:45000;font:900 30px 'Trebuchet MS',Arial,sans-serif;letter-spacing:-2px;pointer-events:none;color:#fff;mix-blend-mode:difference}
#mobile-scroll-cue[hidden]{display:none}#mobile-scroll-cue span{display:inline-block;margin-left:8px;animation:scroll-nudge 1s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#mobile-scroll-cue span{animation:none}}
/* One-shot transparent email artwork; the text remains accessible. */
#contact{--email-w:min(63.58vw,758.625px,93.925vh);--email-top:24%;--email-h:calc(var(--email-w)*.393)}
#contact .contact-email{left:50%;right:auto;top:var(--email-top);width:var(--email-w);transform:translateX(-50%);line-height:0}
#contact .contact-email .email-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;animation:none}
#email-art{display:block;width:100%;height:auto;pointer-events:none}
#copy-status{top:calc(var(--email-top) + var(--email-h) + 12px)}
#face-return svg{top:calc(var(--email-top) + var(--email-h) + 46px);width:clamp(97.5px,12vw,165px)}
@media(max-height:600px){#contact{--email-top:12%;--email-w:min(57.8vw,549.1px,72.25vh)}#face-return svg{width:82.5px;top:calc(var(--email-top) + var(--email-h) + 38px)}#contact .studio-services{bottom:5%}#copy-status{font-size:10px}}

#contact.arrived #face-return svg{animation-delay:1.8s}

/* Single email CTA, clean baked edges, no duplicate text layer. */
:root{--orange:#f3892c}
#contact{--email-top:32%;--email-h:calc(var(--email-w)*.248062)}
#email-poster{display:block;width:100%;height:auto;pointer-events:none}
#email-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0}
#contact .contact-email{display:block;padding:0;border:0}
#contact.arrived .contact-email span{animation:none}
@media(max-height:600px){#contact{--email-top:22%}}

/* Small decorative burst, outside the play overlay so playback never hides it. */
#play-fruits{position:absolute;left:50%;top:50%;width:clamp(180px,22vw,280px);aspect-ratio:1;transform:translate(-50%,-50%);background:url('media/play-fruits.webp') 50% 0/100% 2100%;pointer-events:none;z-index:3}
#play-fruits[hidden],#rotate-back-hint[hidden]{display:none}
#contact .instagram-link{font-size:22px}
#rotate-back-hint{position:fixed;left:0;right:0;bottom:calc(96px + env(safe-area-inset-bottom,0px));text-align:center;color:white;opacity:.65;font-size:11px;letter-spacing:.04em;pointer-events:none;z-index:45000}
@media(orientation:landscape){body.mobile-layout #gummy-home{width:117px}}
@media(orientation:landscape) and (max-width:699px){body.mobile-layout #gummy-home{width:94.25px}}

/* Global click accent never intercepts links or controls. */
#play-fruits{position:fixed;z-index:60000}
#email-reverse{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0}

/* Keep the landscape rotation prompt in the black space beside the reel lockup. */
@media(orientation:landscape){
 body.mobile-layout #rotate-back-hint{left:auto;right:max(4vw,env(safe-area-inset-right,0px));top:50%;bottom:auto;width:24vw;max-width:190px;transform:translateY(-50%);line-height:1.5;text-align:center}
 body.mobile-layout #rotate-back-hint .rotate-phone{display:block;margin:0 0 8px}
}

/* Unpublished black-to-orange study: overlap the reel exit with gallery arrival. */
#reel-section{height:200dvh;background:#000}
.viewport{background:#000}

#face-return{pointer-events:none;cursor:default}

/* Gallery starts below the entire reel viewport, never over its sound control. */
#journey{margin-top:-100dvh}
#reel-stage{height:100dvh;min-height:0}
#reel-wrap{height:100dvh}
#reel{object-fit:cover}
body.mobile-layout #reel{object-fit:contain}
@media(orientation:landscape){body.mobile-layout #reel{object-fit:cover}}
.reel-bottom{z-index:6;bottom:calc(28px + env(safe-area-inset-bottom,0px))}

/* A focused smiley button: visual size reduced, with a forgiving invisible hit area. */
#contact #face-return{inset:auto;left:50%;top:calc(var(--email-top) + var(--email-h) + 46px);width:clamp(63.375px,7.8vw,107.25px);height:auto;aspect-ratio:340/240;transform:translateX(-50%);pointer-events:auto;cursor:pointer}
#contact #face-return::before{content:"";position:absolute;inset:-16px}
#contact #face-return svg{position:static;width:100%;height:auto;transform:none}
#contact #face-return[data-face="wink"] svg{transform:scale(.96) rotate(-2deg)}
@media(max-height:600px){#contact #face-return{width:53.625px;top:calc(var(--email-top) + var(--email-h) + 38px)}}

/* Match footer typography and baseline while keeping the services centred. */
#contact .contact-footer{position:absolute;left:24px;right:24px;bottom:calc(28px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;gap:12px;font-size:clamp(12.5px,1.25vw,16.25px);line-height:1.5}
#contact .contact-footer .studio-services{position:static;grid-column:2;max-width:calc(100vw - 150px);padding:0;margin:0;font-size:inherit;line-height:inherit;text-align:center}
#contact .contact-footer .instagram-link{position:relative;grid-column:3;justify-self:end;inset:auto;padding:0;margin:0;font-size:inherit;line-height:inherit;white-space:nowrap}
/* Keep sound controls independent of the translating reel and gallery stacking. */
#reel-sound-dock{position:fixed;left:max(32px,env(safe-area-inset-left,0px));right:auto;bottom:calc(28px + env(safe-area-inset-bottom,0px));z-index:50000;color:white}
#reel-sound-dock[hidden]{display:none}
#reel-section{height:calc(200dvh + var(--reel-scroll-allowance,0px))}
body.mobile-layout #reel{object-fit:contain}
@media(max-width:699px){#reel-sound-dock{left:max(18px,env(safe-area-inset-left,0px))}}
