@font-face{font-family:Manrope;src:url('/assets/manrope.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/assets/instrument-serif-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
:root{color-scheme:light;--paper:#FDEFD6;--ink:#731328;--sun:#FEC40B}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--paper);color:var(--ink)}
body{font-family:Manrope,sans-serif;-webkit-font-smoothing:antialiased}
.hero{height:100svh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.hero-copy{position:relative;z-index:2;flex:none;text-align:center;margin:0 auto;padding:clamp(28px,5.6vh,68px) 24px 22px;width:100%;background:var(--paper)}
h1{font-size:clamp(35px,4.4vw,69px);line-height:1.08;letter-spacing:-.052em;font-weight:500;margin:0 auto;max-width:1120px;text-wrap:balance}
h1 em{font-family:'Instrument Serif',serif;font-weight:400;font-size:1.19em;letter-spacing:-.035em;line-height:1.02}
p{font-size:clamp(14px,1.18vw,18px);font-weight:400;line-height:1.65;letter-spacing:-.018em;max-width:670px;margin:20px auto 0;text-wrap:balance}
.town{flex:1;min-height:0;position:relative;overflow:hidden;width:100%}
.town-world{position:absolute;width:100%;aspect-ratio:16/9;bottom:0;left:50%;transform:translateX(-50%);transform-origin:bottom center}
.town-background{display:block;width:100%;height:100%;object-fit:fill;user-select:none}
.resident{position:absolute;width:var(--size);aspect-ratio:1;left:var(--x);top:var(--y);transform-origin:50% 92%;pointer-events:none;will-change:transform;animation:var(--motion) var(--duration,6s) ease-in-out infinite;animation-delay:var(--delay,0s)}
.sprite{width:100%;height:100%;background-image:url('/assets/residents.webp');background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 3px 2px #73132826)}
.sprite-delivery{background-position:0 0}.sprite-barista{background-position:50% 0}.sprite-server{background-position:100% 0}.sprite-writer{background-position:0 100%}.sprite-camera{background-position:50% 100%}.sprite-guest{background-position:100% 100%}
.delivery{--size:20%;--x:9%;--y:56%;--motion:delivery-step;--duration:7.8s;--delay:-2s;z-index:3}
.barista{--size:15%;--x:24%;--y:43%;--motion:barista-turn;--duration:7.1s;--delay:-3.7s;z-index:1}
.server{--size:23%;--x:36%;--y:52%;--motion:serve;--duration:6.6s;--delay:-1.3s;z-index:4}
.writer{--size:21%;--x:49%;--y:54%;--motion:writing;--duration:8.2s;--delay:-4.8s;z-index:3}
.camera{--size:15%;--x:73%;--y:51%;--motion:camera-adjust;--duration:9.6s;--delay:-5.3s;z-index:2}
.guest{--size:15%;--x:83%;--y:53%;--motion:conversation;--duration:7.7s;--delay:-2.9s;z-index:2}
.town-details{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}
.coffee-steam{animation:steam 4.2s ease-out infinite;transform-origin:746px 612px}
@keyframes delivery-step{0%,20%,100%{transform:translate(0,0) rotate(-.5deg)}45%,65%{transform:translate(3px,-2px) rotate(.5deg)}}
@keyframes barista-turn{0%,30%,100%{transform:rotate(-.6deg)}55%,75%{transform:rotate(.9deg) translateY(-1px)}}
@keyframes serve{0%,18%,100%{transform:rotate(-.5deg) translateY(0)}45%,65%{transform:rotate(.7deg) translateY(-2px)}}
@keyframes writing{0%,20%,80%,100%{transform:rotate(0)}32%,58%{transform:rotate(.8deg) translateY(1px)}42%{transform:rotate(.3deg)}}
@keyframes camera-adjust{0%,35%,100%{transform:rotate(0)}55%,75%{transform:rotate(-.8deg) translateX(1px)}}
@keyframes conversation{0%,20%,75%,100%{transform:rotate(-.5deg)}42%,58%{transform:rotate(.8deg) translateY(-1px)}}
@keyframes steam{0%{opacity:0;transform:translateY(5px) scaleX(.9)}35%{opacity:.45}100%{opacity:0;transform:translateY(-12px) scaleX(1.1)}}
@media(min-aspect-ratio:18/10){.hero-copy{padding-top:clamp(20px,4vh,48px);padding-bottom:16px}h1{font-size:clamp(34px,4.1vw,61px)}p{margin-top:14px}.town-world{width:90%}}
@media(max-width:700px){.hero-copy{padding:clamp(42px,8.5svh,80px) 24px 24px}h1{font-size:clamp(33px,7.5vw,49px);line-height:1.12;letter-spacing:-.048em;max-width:540px}.desktop-break{display:none}h1 em{display:block;margin-top:5px;font-size:1.24em}p{font-size:14px;line-height:1.65;max-width:360px;margin-top:20px}.town-world{width:max(100%,780px);bottom:0;left:52%}.town{margin-top:0}}
@media(max-height:600px) and (min-width:701px){.hero-copy{padding-top:20px;padding-bottom:12px}h1{font-size:clamp(30px,4vw,44px)}h1 br:first-child{display:none}p{font-size:13px;margin-top:10px;max-width:610px}.town-world{width:76%}}
@media(max-height:600px) and (max-width:700px){.hero-copy{padding-top:22px;padding-bottom:12px}h1{font-size:29px}p{font-size:12px;margin-top:12px}.town-world{width:max(100%,600px)}}
@media(prefers-reduced-motion:reduce){.resident,.coffee-steam{animation:none!important;will-change:auto}}
/* The town is one continuous canvas behind the real HTML copy. */
.hero{position:relative}
.hero-copy{background:transparent;pointer-events:none}
.town{position:absolute;inset:0;margin:0;height:100%;z-index:0}
.town-world{width:max(100%,calc(100dvh * 16 / 9));aspect-ratio:1672/941;bottom:0;left:50%}
.delivery{--size:17%;--x:10%;--y:67%;z-index:3}
.barista{--size:14%;--x:27%;--y:62%;clip-path:inset(0 0 30% 0);z-index:1}
.server{--size:18%;--x:39%;--y:65%;z-index:4}
.writer{--size:16%;--x:55%;--y:68%;z-index:3}
.camera{--size:11%;--x:78%;--y:73%;z-index:2}
.guest{--size:11.5%;--x:86%;--y:71.4%;z-index:2}
@media(max-width:700px){.town-world{width:max(780px,calc(100dvh * 16 / 9));left:53%}}
@media(max-height:600px) and (min-width:701px){.town-world{width:max(100%,calc(100dvh * 16 / 9))}}
