@font-face{font-family:GardenTitle;src:url('./assets/title.675859898a0e.ttf') format('truetype');font-display:swap}
:root{color-scheme:light;--ink:#704839;--muted:#94745f;--pink:#f4ad9e;--cream:#fbf5e8;--scene-width:max(100vw,160svh);--scene-height:max(62.5vw,100svh);font-family:'KaiTi','STKaiti','Kaiti SC',serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%;overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #8e9b6a;outline-offset:6px}button{touch-action:manipulation}button:disabled{cursor:default}.garden{position:relative;height:100svh;min-height:580px;isolation:isolate;overflow:hidden;background:var(--cream)}
.world{position:absolute;left:50%;top:50%;width:var(--scene-width);height:var(--scene-height);transform:translate(-50%,-50%);pointer-events:none}.world{z-index:0}.scene-motion{position:absolute;inset:-1.2%;isolation:isolate;will-change:transform}.scenery{position:absolute;inset:0;background:url('./assets/garden.061b09c97825.webp') center/100% 100% no-repeat;will-change:transform}.site-header{position:absolute;inset:30px 3.5% auto;display:flex;align-items:center;justify-content:space-between;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font:700 25px/1 ui-rounded,'Trebuchet MS',sans-serif;letter-spacing:1.5px}.brand svg{width:48px;height:43px;transform:rotate(-7deg)}.controls{display:flex;gap:12px;align-items:center}.icon-button{width:42px;height:42px;border:1px solid #88644822;border-radius:50%;background:#fffaf16e;color:#9c7c62;display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s}.icon-button:hover{background:#fffaf1d9;transform:rotate(6deg)}.icon-button svg{width:21px;height:21px}.light-button{color:#eaaa7e;border-color:transparent;background:transparent}.light-button svg{width:32px;height:32px}.play-icon{display:none}[data-motion='paused'] .play-icon{display:block}[data-motion='paused'] .pause-icon{display:none}
.welcome{position:absolute;z-index:3;top:27%;left:39%;width:max-content;max-width:67%;text-align:center;transform:translateX(-50%);animation:arrive 1.3s both;pointer-events:none}.eyebrow{font-size:15px;letter-spacing:5px;color:#987d62;margin:0 0 19px}h1{font-family:GardenTitle,'STKaiti','KaiTi',serif;font-weight:400;font-size:clamp(50px,6.6vw,110px);line-height:1.18;letter-spacing:.025em;margin:0;text-shadow:1px 2px 0 #fff2d866}.title-underline{display:block;color:var(--pink);width:88%;height:23px;margin:0 auto 4px;transform:rotate(-1.5deg)}.domain{font-family:ui-rounded,'Trebuchet MS',sans-serif;font-weight:700;font-size:clamp(23px,2.7vw,38px);letter-spacing:.27em;margin:4px 0 18px;padding-left:.27em}.domain span{display:inline-block;font-size:.48em;letter-spacing:0;color:var(--pink);margin-left:12px;vertical-align:middle;transform:rotate(15deg)}.greeting{font-size:clamp(18px,1.8vw,26px);letter-spacing:.15em;margin:0}.welcome-flower{position:absolute;right:15%;top:-37px;color:#f3ad92;font-size:42px;transform:rotate(-13deg)}.welcome-flower i{position:absolute;width:16px;height:8px;right:-14px;bottom:4px;border-radius:90% 0 90% 0;background:#a3af7a;transform:rotate(-24deg)}
.cloud{position:absolute;z-index:1;will-change:transform;animation:cloud-drift 18s ease-in-out infinite alternate}.cloud img{display:block;width:100%;height:auto}.cloud-one{left:61%;top:10%;width:23%;opacity:.94;animation-delay:-4s}.cloud-two{left:-7%;top:15%;width:24%;opacity:.7;animation-duration:24s;animation-direction:alternate-reverse;filter:blur(.3px)}.sun{position:absolute;left:74%;top:8%;width:64px;height:64px;color:#ecc282;z-index:0;animation:sun-breathe 6s ease-in-out infinite}.sun-rays{position:absolute;inset:-15px;border:6px dashed #f0cc8e;border-radius:50%;animation:turn 95s linear infinite}.sun-face{width:100%;height:100%;border-radius:50%;background:#f6d592;display:flex;justify-content:center;gap:12px;padding-top:25px;position:relative}.sun-face i{display:block;width:3px;height:5px;background:#bb8b58;border-radius:50%}.sun-face span{position:absolute;width:10px;height:6px;border-bottom:2px solid #bb8b58;border-radius:50%;top:32px}.lake-shimmer{position:absolute;left:25%;top:72.3%;width:19%;height:5%;background:repeating-linear-gradient(178deg,transparent 0 13px,#fff8d98c 14px 15px,transparent 17px 27px);mask-image:radial-gradient(ellipse,#0008,transparent 70%);animation:water 7s ease-in-out infinite;opacity:.5}
.pig-area{position:absolute;z-index:2;left:52.6%;top:43%;width:26%;pointer-events:none}.pig-button{display:block;padding:0;border:0;background:transparent;width:100%;cursor:pointer;pointer-events:auto;transform-origin:50% 60%;animation:pig-breathe 5s ease-in-out infinite;filter:drop-shadow(0 3px 2px #79544009)}.pig-button img{width:100%;height:auto;display:block;user-select:none}.pig-button:hover{filter:brightness(1.025)}.pig-button.is-greeting{animation:pig-hello .8s ease-in-out}.speech{position:absolute;z-index:1;left:72%;top:-5%;width:max-content;max-width:230px;white-space:nowrap;transform:rotate(-7deg);border:2px solid var(--ink);border-radius:57% 44% 49% 42%/51% 50% 48% 48%;padding:13px 22px;background:#fff9ed;font-size:clamp(18px,1.8vw,26px);letter-spacing:2px;box-shadow:0 2px 0 #fff7e6;animation:speech-float 6s ease-in-out infinite}.speech:after{content:'';position:absolute;width:14px;height:15px;bottom:-8px;left:24px;background:#fff9ed;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:skew(-20deg) rotate(24deg)}.speech span{display:inline-block;margin-left:8px;color:#d98978;font-family:sans-serif}.pig-hint{position:absolute;z-index:4;left:64%;top:77%;font-size:14px;letter-spacing:2px;color:#997458;white-space:nowrap;transform:rotate(-5deg);opacity:.8}.pig-hint span{display:inline-block;font-family:sans-serif;font-size:25px;transform:rotate(-30deg);margin-left:5px}
.wall-occluder{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.wall-surface{pointer-events:visiblePainted}.foreground{position:absolute;inset:0;z-index:6;pointer-events:none}.foreground-motion{position:absolute;inset:-22px;will-change:transform}.flowers{position:absolute;bottom:-9%;height:34%;width:auto;transform-origin:50% 100%;animation:flower-sway 7s ease-in-out infinite alternate;filter:blur(.5px)}.flowers-left{left:-3%;transform:rotate(12deg)}.flowers-right{right:-2%;height:29%;animation-delay:-4s;animation-direction:alternate-reverse;filter:blur(1px)}.petals{position:absolute;inset:0;overflow:hidden}.petals i{position:absolute;left:15%;top:-8%;width:11px;height:7px;background:#f0baa2;border-radius:80% 12% 80% 12%;animation:petal-fall 23s linear infinite;opacity:0}.petals i:nth-child(2){left:75%;animation-delay:-8s;animation-duration:29s;background:#b6bf91;width:13px}.petals i:nth-child(3){left:36%;animation-delay:-16s;animation-duration:27s}.petals i:nth-child(4){left:87%;animation-delay:-3s;animation-duration:33s;background:#eacb93}.petals i:nth-child(5){left:5%;animation-delay:-11s;animation-duration:31s;width:8px}.footer-note{position:absolute;z-index:8;bottom:23px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;color:#694f3c;font-size:13px;letter-spacing:3px;white-space:nowrap;text-shadow:0 0 7px #fff9e9,0 0 15px #fff9e9}.footer-note span{height:1px;width:24px;background:#97735688}.dusk-wash{position:absolute;inset:0;z-index:7;background:linear-gradient(170deg,#f1b9b7bb 0%,#fbd19155 50%,#9a789755);mix-blend-mode:multiply;opacity:0;pointer-events:none;transition:opacity 2s}.is-dusk .dusk-wash{opacity:.65}.is-dusk .sun{filter:hue-rotate(-15deg)}#hearts{position:fixed;inset:0;z-index:20;pointer-events:none;overflow:hidden}.heart{position:absolute;color:var(--heart-color,#ef9b9e);font-family:sans-serif;font-size:24px;line-height:1;text-shadow:0 2px 0 #fff5;animation:heart-rise 1.4s ease-out forwards}.no-script{position:absolute;bottom:55px;left:5%;right:5%;text-align:center;background:var(--cream);padding:8px;font-size:14px;z-index:20}
@keyframes arrive{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}@keyframes cloud-drift{from{transform:translate(-15px,0)}to{transform:translate(25px,7px)}}@keyframes pig-breathe{0%,100%{transform:translateY(3px) rotate(-1deg)}50%{transform:translateY(-5px) rotate(.8deg)}}@keyframes pig-hello{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-17px) rotate(-5deg)}60%{transform:translateY(-9px) rotate(4deg)}}@keyframes speech-float{0%,100%{translate:0 0}50%{translate:0 -6px}}@keyframes flower-sway{from{rotate:-5deg}to{rotate:6deg}}@keyframes petal-fall{0%{transform:translate(0,0) rotate(0);opacity:0}8%,80%{opacity:.65}100%{transform:translate(150px,110svh) rotate(420deg);opacity:0}}@keyframes water{50%{transform:translateX(9px) scaleX(.95);opacity:.3}}@keyframes sun-breathe{50%{transform:translateY(-3px)}}@keyframes turn{to{rotate:360deg}}@keyframes heart-rise{0%{opacity:0;transform:translate(-50%,-30%) scale(.6)}15%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-130px + var(--dy))) rotate(var(--angle)) scale(1.1)}}
[data-motion='paused'] *,[data-motion='paused'] *:before,[data-motion='paused'] *:after{animation-play-state:paused!important}[data-motion='paused'] .welcome{animation:none}[data-motion='paused'] .parallax{transform:none!important}.is-hidden *{animation-play-state:paused!important}
@media(min-aspect-ratio:2/1){.welcome{top:23%}h1{font-size:12vh}.site-header{top:22px}.garden{min-height:480px}}
@media(max-width:700px){:root{--scene-width:max(100vw,160svh);--scene-height:max(62.5vw,100svh)}.garden{min-height:680px}.world{transform:translate(-64%,-50%)}.site-header{inset:22px 22px auto}.brand{font-size:19px;gap:8px;letter-spacing:1px}.brand svg{width:36px;height:34px}.controls{gap:4px}.icon-button{width:36px;height:36px}.welcome{left:50%;top:22%;max-width:95%;width:92%}.eyebrow{font-size:12px;letter-spacing:4px;margin-bottom:15px}h1{font-size:clamp(43px,11.2vw,76px);white-space:nowrap}.domain{font-size:25px;margin-bottom:13px}.title-underline{width:76%;height:16px}.greeting{font-size:18px;letter-spacing:2px}.welcome-flower{right:15%;top:-30px;font-size:31px}.pig-area{left:54.4%;top:43.7%;width:25.5%}.speech{font-size:17px;left:40%;top:-5%;padding:11px 16px;letter-spacing:1px}.pig-hint{font-size:12px;left:61%;top:77%}.cloud-one{left:55%;top:9%;width:17%}.cloud-two{left:31%;top:14%;width:15%;opacity:.55}.sun{left:67%;top:9%;width:43px;height:43px}.sun-face{padding-top:16px;gap:8px}.sun-face span{top:24px}.sun-rays{inset:-10px;border-width:4px}.flowers{height:24%;bottom:-5%}.flowers-left{left:-17%}.flowers-right{right:-18%;height:22%}.footer-note{bottom:25px;font-size:11px;gap:9px;letter-spacing:2px}.footer-note span{width:17px}}
/* Keep the mobile text above the pig, including its greeting animation.
   The scene uses the same 680px minimum as the garden so short viewports
   cannot move the illustration independently of the text's safe area. */
@media(max-width:700px){
  .garden{--scene-width:max(100vw,160svh,1088px);--scene-height:max(62.5vw,100svh,680px)}
  .welcome{top:auto;bottom:calc(56.5% + 40px);width:90%;max-width:440px}
  .eyebrow{font-size:11px;line-height:1.4;letter-spacing:3px;margin-bottom:9px}
  h1{font-size:clamp(36px,10.5vw,48px);line-height:1.16}
  .title-underline{height:12px;margin:0 auto 3px}
  .domain{font-size:22px;line-height:1.2;letter-spacing:.22em;margin:2px 0 8px}
  .greeting{font-size:15px;line-height:1.6;letter-spacing:1.5px}
  .welcome-flower{right:9%;top:-22px;font-size:26px}
  .speech{left:40%;top:4%;font-size:14px;line-height:1.5;letter-spacing:.5px;padding:7px 12px;max-width:170px;transform:rotate(-5deg)}
  .speech:after{width:11px;height:12px;bottom:-7px;left:19px}
  .cloud-one{left:59%;top:6%;width:12%}
  .sun{top:7%}
}
@media(prefers-reduced-motion:reduce){body:not([data-motion='running']) *,body:not([data-motion='running']) *:before,body:not([data-motion='running']) *:after{animation:none!important;transition:none!important}.welcome{animation:none}}
