@font-face{font-family:Alegreya;src:url('assets/v4/Alegreya-Variable.ttf') format('truetype');font-style:normal;font-weight:400 900;font-display:swap}
:root{--ink:#433b2b;--paper:#f4eedc;--olive:#344839;--muted:#736b57;--brass:#b88a46;--book:Alegreya,Georgia,serif;--ease:cubic-bezier(.32,.72,0,1);--hero-block:clamp(880px,100svh,1100px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:400 18px/1.5 var(--book);-webkit-font-smoothing:antialiased}main{overflow:clip}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}a,button,input{-webkit-tap-highlight-color:transparent}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;text-wrap:balance}p{text-wrap:pretty}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--brass);outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.icon{width:24px;height:24px;display:block;flex:none}.sun-mark{width:40px;height:40px;flex:none}.skip-link{position:fixed;z-index:20;top:16px;left:16px;padding:12px 24px;background:var(--paper);opacity:0;pointer-events:none;transform:translateY(-150%)}.skip-link:focus{opacity:1;pointer-events:auto;transform:translateY(0)}
/* One clear action, with brass inset detail borrowed from the sun shrine. */
.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:56px;padding:12px 32px;border:1px solid #263b2b;border-radius:4px;background:var(--olive);box-shadow:inset 0 0 0 3px var(--olive),inset 0 0 0 4px #b9a3727a,0 3px 0 #1d3025;color:#fff2cb;font-weight:600;font-size:18px;line-height:24px;transition:background .24s var(--ease),transform .24s var(--ease),box-shadow .24s var(--ease)}
.primary-button:hover{background:#415b46;box-shadow:inset 0 0 0 3px #415b46,inset 0 0 0 4px #d7bd8580,0 3px 0 #1d3025;transform:translateY(-2px)}.primary-button:active{transform:translateY(1px);box-shadow:inset 0 0 0 3px var(--olive),inset 0 0 0 4px #b9a3727a,0 1px 0 #1d3025}.primary-button:disabled{opacity:.55;cursor:default;transform:none}.eyebrow{display:block;font-size:16px;font-weight:500;font-variant-caps:all-small-caps;letter-spacing:2px;line-height:24px}.eyebrow>span{margin:0 12px;color:var(--brass)}
.hero{height:var(--hero-block);position:relative;isolation:isolate;background:#ddbd91}.hero-scene{position:absolute;inset:0;z-index:-1;overflow:hidden}.scene-layer{position:absolute;inset:-7% -5%;background-position:center bottom;background-size:cover;background-repeat:no-repeat;will-change:transform;transform:translate3d(0,0,0)}.mountains{background-image:url('assets/v2/mountains.webp');--layer-distance:calc(var(--hero-block)*.13)}.village{inset:19% -5% -33%;background-image:url('assets/v2/village.webp');--layer-distance:calc(var(--hero-block)*.035)}.wheat{background-image:url('assets/v2/wheat.webp');--layer-distance:calc(var(--hero-block)*-.045)}.sky-light{display:none}
.game-nav{position:absolute;z-index:5;top:0;left:0;right:0;padding:24px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#493d29}.nav-brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:500}.nav-brand .sun-mark{width:32px;height:32px;color:#795b30}.nav-links{display:flex;align-items:center;gap:32px;font-size:18px;font-weight:500}.nav-links a{display:flex;gap:8px;align-items:center;min-height:48px;border-bottom:1px solid transparent;transition:border-color .24s var(--ease)}.nav-links a:hover{border-color:currentColor}.small-icon{width:16px;height:16px}
.hero-content{width:min(680px,calc(100% - 48px));padding-top:112px;margin:auto;text-align:center}.hero h1{width:min(540px,100%);margin:auto}.hero h1 img{width:100%;height:auto}.hero-description{max-width:610px;margin:16px auto 0;color:#543a26;font-weight:500;text-wrap:balance;text-shadow:0 1px 8px #ffeac48c}.hero-description>span:first-child{display:block;font-size:30px;line-height:36px}.hero-detail{display:block;max-width:490px;margin:16px auto 0;font-size:20px;line-height:28px}.hero-cta{margin-top:24px;min-width:208px}.descend{position:absolute;z-index:4;bottom:120px;left:calc(50% - 24px);width:48px;height:48px;display:grid;place-items:center;color:#fff1c5;border:1px solid #f5e3a790;border-radius:50%;background:#34483980;transition:transform .24s var(--ease)}.descend:hover{transform:translateY(4px)}
/* Native scroll-timeline stays transform-only. No reveal blur or scroll hijack. */
@keyframes realm-depth{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,var(--layer-distance),0)}}
@supports(animation-timeline:scroll(root block)){@media(prefers-reduced-motion:no-preference){.scene-layer{animation-name:realm-depth;animation-timing-function:linear;animation-fill-mode:both;animation-duration:auto;animation-timeline:scroll(root block);animation-range:0px var(--hero-block)}}}
.village-grounds{position:relative;isolation:isolate;background:var(--paper)}.terrace-crossing{position:absolute;z-index:2;top:0;left:50%;width:max(100%,1100px);transform:translate(-50%,-56%);pointer-events:none}.terrace-crossing img{width:100%;height:auto}
/* One compact altar seated in the garden, with the whole invitation on stone. */
.shrine-garden{position:relative;isolation:isolate;width:100%;margin:0;padding:160px 24px 96px;background:#d5bd7b url('assets/v2/garden-ground.webp') center center/cover no-repeat;scroll-margin-top:0}
.invitation-shrine{position:relative;width:min(560px,100%);margin:auto;z-index:1}.shrine-scene{width:100%;position:relative;margin:auto}.shrine-scene:before{content:"";position:absolute;left:13%;right:13%;bottom:5%;height:8%;border-radius:50%;background:#3d3c2436;filter:blur(10px);z-index:-1}.shrine-art{width:100%;height:auto;pointer-events:none}.shrine-form{position:absolute;top:35.5%;left:23%;width:54%;color:#62452c;text-align:center}.shrine-form h2{font-size:30px;line-height:36px;margin-bottom:16px;text-shadow:0 1px #fff2c9}.offering-row{display:flex;flex-direction:column;gap:12px;align-items:stretch}.offering-row input{width:100%;min-width:0;height:48px;padding:12px 16px;border:1px solid #a78a54;border-radius:3px;background:#faf0d6;box-shadow:inset 0 2px 4px #79572815;color:#493824;font-size:18px;line-height:24px}.offering-row input::placeholder{color:#79694e;opacity:1}.offering-row input:focus-visible{outline:2px solid var(--olive);outline-offset:2px}.offering-row input[aria-invalid=true]{border-color:#943f31}.offering-row .primary-button{min-height:48px;padding:8px 16px;gap:16px;box-shadow:inset 0 0 0 3px var(--olive),inset 0 0 0 4px #b9a3727a,0 2px 0 #1d3025}
.shrine-message{position:absolute;top:78%;left:13%;width:74%;margin:0;text-align:center;min-height:24px;padding:0;color:#675236}#signup-result{font-size:16px;line-height:24px}#signup-result{margin:8px auto 0;padding:8px 12px;width:fit-content;background:#f4eedc;color:#4f593b;border-radius:3px}#signup-result:empty{display:none}#signup-result.error{color:#8e382c}.garden-edge{position:absolute;bottom:-1px;left:0;width:100%;height:64px;pointer-events:none}
/* Windows sit on a deep garden stage; screenshots remain actual game output. */
.window-garden{position:relative;padding:80px 0 64px;background:var(--olive);color:var(--paper);overflow:hidden;isolation:isolate}.window-garden:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/v2/garden-ground.webp') center bottom/cover no-repeat;opacity:.08;pointer-events:none}.gallery-heading{width:min(1136px,calc(100% - 96px));margin:0 auto 32px;display:flex;justify-content:space-between;align-items:flex-end;gap:48px}.gallery-heading .eyebrow{color:#c6c7a4;margin-bottom:16px}.gallery-heading h2{font-size:48px;line-height:1.1;letter-spacing:-1px}.gallery-heading>p{color:#d3d3b7;font-size:18px;line-height:24px;max-width:330px;padding-bottom:4px}.window-lane{display:flex;overflow-x:auto;overflow-y:hidden;padding:0 max(48px,calc((100vw - 1136px)/2)) 72px;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-behavior:auto;scroll-snap-type:x proximity;scroll-padding-inline:48px;user-select:none;cursor:grab;-webkit-overflow-scrolling:touch}.window-lane::-webkit-scrollbar{display:none}.window-lane.is-dragging{cursor:grabbing;scroll-snap-type:none}.window-group{display:flex;gap:24px;padding-right:24px;flex:none;align-items:flex-end}.cottage-window{display:block;position:relative;width:370px;aspect-ratio:926/1698;flex:none;border:0;padding:0;background:none;isolation:isolate;text-align:initial;scroll-snap-align:center;transition:transform .3s var(--ease)}.cottage-window:nth-child(even){width:350px;margin-bottom:0}.cottage-window:hover{transform:translateY(-6px)}.cottage-window:active{transform:translateY(-2px)}.window-opening{position:absolute;left:26.7%;top:30.9%;width:46%;height:44%;background:#14231d;z-index:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.window-opening img{width:100%;height:100%;object-fit:contain}.cottage-frame{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.cottage-window:nth-child(even) .cottage-frame{transform:scaleX(-1)}.window-caption{position:absolute;top:calc(100% + 16px);left:16px;right:16px;display:flex;align-items:center;gap:16px;font-size:20px;line-height:24px;color:#f7edce}.window-caption>span{font-size:16px;color:#c7b689;font-variant-numeric:tabular-nums}.gallery-controls{width:min(1136px,calc(100% - 96px));margin:24px auto 0;display:flex;align-items:center;gap:16px}.gallery-arrow{width:48px;height:48px;min-width:48px;display:grid;place-items:center;padding:12px;border:1px solid #a8b29a88;border-radius:50%;background:none;color:inherit;transition:background .24s var(--ease),transform .24s var(--ease)}.gallery-arrow:hover{background:#ffffff12;transform:translateY(-2px)}.gallery-arrow:active{transform:translateY(1px)}.gallery-arrow:disabled{opacity:.3;cursor:default;transform:none}.gallery-track{display:flex;align-items:center;gap:24px;flex:1;min-width:0}.swipe-hint{font-size:16px;line-height:24px;white-space:nowrap;color:#d3d3b7}#gallery-progress{display:block;appearance:none;width:100%;height:2px;border:0;background:#9ca78b55;color:#e0bc71}#gallery-progress::-webkit-progress-bar{background:#9ca78b55}#gallery-progress::-webkit-progress-value{background:#e0bc71}#gallery-progress::-moz-progress-bar{background:#e0bc71}.gallery-position{font-size:16px;line-height:24px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e1d8b8}.noscript-note{text-align:center;margin:24px}
footer{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:32px max(48px,calc((100vw - 1136px)/2));background:#2b3c30;color:#e4dcc4}.footer-wiki{display:flex;align-items:center;gap:16px;min-height:48px;font-size:20px}.footer-wiki:hover{text-decoration:underline;text-underline-offset:6px}.footer-note{text-align:right}.footer-note>span{display:block;font-size:16px;line-height:24px}.footer-note>small{display:block;font-size:14px;line-height:20px;color:#bac1aa;margin-top:4px}
dialog{border:1px solid #b8a67a;background:var(--paper);color:var(--ink);padding:16px;max-width:calc(100vw - 32px);max-height:94svh;width:410px;border-radius:4px;box-shadow:0 24px 80px #18251baa}dialog::backdrop{background:#18251be6}.photo-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;gap:16px}.photo-header h2{font-size:24px;line-height:30px}.photo-header .gallery-arrow{border-color:#a3987b}.photo-header .icon{width:20px;height:20px}#photo-full{max-height:calc(90svh - 80px);width:100%;height:auto;object-fit:contain;object-position:top}
@media(min-width:1600px){.hero-content{padding-top:128px}.hero h1{width:580px}}
@media(max-width:1000px){.game-nav{padding:16px 32px}.hero-content{padding-top:128px}.offering-row{gap:8px}.gallery-heading{width:calc(100% - 64px)}.gallery-heading h2{font-size:36px}.gallery-heading>p{max-width:260px}.gallery-controls{width:calc(100% - 64px)}}
@media(max-width:760px){
 :root{--hero-block:clamp(880px,100svh,1040px)}
 .game-nav{padding:16px 24px}.nav-brand span{display:none}.nav-links{gap:24px;font-size:16px}.nav-brand .sun-mark{width:32px;height:32px}
 .hero-content{padding-top:112px;width:calc(100% - 32px)}.hero h1{width:100%;max-width:430px}.hero-description{margin-top:24px;max-width:360px;padding-inline:8px}.hero-description>span:first-child{font-size:24px;line-height:30px}.hero-detail{font-size:18px;line-height:24px;margin-top:16px}.hero-cta{margin-top:24px;min-height:56px}.scene-layer{inset:-5% -5%;background-position:63% bottom}.village{inset:18% -5% -28%}.descend{bottom:112px}
 .terrace-crossing{width:1100px;transform:translate(-50%,-52%)}.shrine-garden{width:100%;padding:176px 16px 80px;scroll-margin-top:0;background-position:center center}.invitation-shrine{width:100%;max-width:500px}.shrine-scene{width:min(540px,calc(100vw + 80px));max-width:none;left:50%;transform:translateX(-50%)}.shrine-form{top:35.5%;left:23%;width:54%}.shrine-form h2{font-size:24px;line-height:28px;margin-bottom:12px}.offering-row{gap:12px}.offering-row input{height:48px;padding:12px;font-size:18px}.offering-row .primary-button{height:48px;padding:8px 12px;font-size:18px;gap:16px}.shrine-message{top:78%;left:8%;width:84%;padding:0;margin:0}.garden-edge{height:40px}

 .window-garden{padding:64px 0 48px}.gallery-heading{width:calc(100% - 48px);display:block;margin-bottom:24px}.gallery-heading .eyebrow{margin-bottom:16px}.gallery-heading h2{font-size:36px;line-height:40px;letter-spacing:-.5px;max-width:320px}.gallery-heading>p{margin-top:16px;font-size:18px;line-height:24px;max-width:340px}.window-lane{padding:0 24px 64px;scroll-padding-inline:24px}.window-group{gap:16px;padding-right:24px}.cottage-window{width:340px}.cottage-window:nth-child(even){width:330px}.window-caption{font-size:20px;gap:16px;left:24px;right:24px}.gallery-controls{width:calc(100% - 48px);gap:12px;margin-top:24px}.gallery-track{gap:12px;flex-direction:column;align-items:stretch}.swipe-hint{font-size:16px;text-align:center}.gallery-position{display:none}
 footer{padding:24px;flex-direction:column;align-items:flex-start;gap:16px}.footer-note{text-align:left}.footer-note>span{font-size:16px}.footer-note>small{font-size:14px;line-height:20px;max-width:300px}
}
@media(max-width:360px){.hero-content{padding-top:104px}.hero-description>span:first-child{font-size:24px;line-height:30px}.hero-detail{font-size:18px;line-height:24px}.shrine-form h2{font-size:20px;line-height:24px;margin-bottom:8px}.offering-row{gap:8px}.gallery-heading h2{font-size:30px;line-height:36px}.cottage-window{width:300px}.cottage-window:nth-child(even){width:290px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.scene-layer{will-change:auto;animation:none!important;transform:none!important}*{transition:none!important;animation:none!important}}

/* Focus contrast follows the surface rather than the decorative brass. */
a:focus-visible,button:focus-visible,input:focus-visible{outline-color:var(--olive)}.window-garden :focus-visible,footer :focus-visible{outline-color:#e0bc71}
