@font-face{font-family:Atkinson;src:url('assets/AtkinsonHyperlegible-Regular.ttf') format('truetype');font-display:swap}
:root{--ink:#183c33;--muted:#52665e;--paper:#f8faf5;--green:#e8efdf;--gold:#f2cb77;--line:#d5dfd1;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Atkinson,Arial,sans-serif;font-size:18px;line-height:1.55}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:5px}button,a{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;line-height:1.05;letter-spacing:-.04em}h2{font-size:clamp(2.4rem,4.2vw,4.1rem)}h3{font-size:1.6rem;line-height:1.2;letter-spacing:-.025em}p+p{margin-top:1rem}em{font-weight:400}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d78036;outline-offset:6px}.wrap{width:min(1200px,calc(100% - 96px));margin-inline:auto}.section{padding-block:104px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:bold;margin-bottom:20px}.light{color:#d5e3cc}.small-text{font-size:.875rem}.muted{color:var(--muted)}.button{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:52px;padding:13px 25px;border:1px solid transparent;border-radius:8px;background:var(--ink);color:#fff;text-decoration:none;font-size:1rem;font-weight:bold;transition:background .15s,transform .15s}.button:hover{background:#2c5748;transform:translateY(-2px)}.button.gold{background:var(--gold);color:var(--ink)}.button.gold:hover{background:#ffe0a2}.button.small{min-height:43px;padding:9px 20px;font-size:.95rem}.text-link{font-weight:bold}.header{height:88px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2;background:var(--paper)}.wordmark{display:flex;align-items:center;gap:10px;font:700 2.15rem var(--serif);letter-spacing:-.08em;text-decoration:none}.brand-spark{font-size:1rem;align-self:start;margin-top:3px;margin-left:2px}.header > nav{display:flex;gap:32px;font-size:.95rem}.header > nav a{text-decoration:none}.header > nav a:hover{text-decoration:underline}.hero{position:relative;isolation:isolate;min-height:690px;color:white;overflow:hidden;background:#264b40}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 65%;z-index:-3;transform:scale(1.19)}.hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(13,40,34,.97) 0%,rgba(13,40,34,.86) 28%,rgba(13,40,34,.26) 67%,rgba(13,40,34,.1)),linear-gradient(0deg,rgba(13,40,34,.45),transparent 40%)}.hero-content{padding-top:76px;padding-bottom:70px}.hero h1{font-size:clamp(3.6rem,6.6vw,6.5rem);max-width:700px}.hero h1 em{color:var(--gold)}.hero-copy{font-size:1.15rem;line-height:1.6;margin-top:28px;max-width:510px;color:#e6eee2}.actions{display:flex;align-items:center;gap:26px;margin-top:30px;flex-wrap:wrap}.watch-link{font-size:.95rem;text-decoration:none;display:flex;gap:10px;align-items:center}.watch-link span{font-size:.7rem;border:1px solid #b2c4b8;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.hero-note{font-size:.875rem;color:#d4dfd1;margin-top:27px}.image-caption{position:absolute;bottom:24px;right:35px;font-size:.78rem;color:#edf4e9;max-width:250px;text-shadow:0 1px 5px #14281e}.intro{display:grid;grid-template-columns:1fr 1fr;gap:70px}.intro-copy{max-width:530px;font-size:1.14rem}.intro-copy p:first-child{font-size:1.4rem;line-height:1.45}.handwritten{font-family:var(--serif);font-style:italic;font-size:1.4rem;color:#52764d;padding-top:10px}.craft-section{display:grid;grid-template-columns:1fr 1fr;gap:28px}.craft-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#eef3e8}.build-card{background:#eef1f6}.craft-image{height:290px;position:relative;overflow:hidden}.craft-image img{width:100%;height:100%;object-fit:cover}.image-label{position:absolute;bottom:20px;left:24px;font-size:.875rem;background:var(--paper);border-radius:30px;padding:6px 15px}.craft-copy{padding:32px}.craft-copy .eyebrow{font-size:.73rem;margin-bottom:12px}.craft-copy p:not(.eyebrow){margin-top:16px;color:#40584b}.tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.tags span{font-size:.8rem;border:1px solid #c5d2c0;padding:4px 11px;border-radius:5px}.experiment{display:grid;grid-template-columns:1fr 1.3fr;gap:70px;align-items:center}.experiment p:not(.eyebrow){margin-top:22px}.spell-demo{border:1px solid var(--line);border-radius:16px;padding:34px;background:white;box-shadow:0 12px 40px #183c3307}.program{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.program-piece{padding:12px 16px;border:1px solid #cdd9c7;border-radius:8px;font-size:1rem;box-shadow:0 4px 0 #dce5d6}.start-piece{background:#eef2e8}.repeat-piece{background:#eee5fc;border-color:#d6c6e8;box-shadow:0 4px 0 #d6c6e8}.water-piece{background:#dceff5;border-color:#bbd7e3;box-shadow:0 4px 0 #bbd7e3}.repeat-piece select{font-size:1rem;margin-left:5px;border:0;border-bottom:1px solid #8e78aa;background:transparent;color:var(--ink);padding:2px 23px 2px 3px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23183c33' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center}.garden{display:flex;justify-content:center;gap:30px;padding:44px 10px 24px}.bed{width:92px;height:95px;position:relative;display:grid;place-items:center}.bed span{font-size:4rem;line-height:1;color:#a6af99;position:relative;z-index:1;transform-origin:bottom;transition:color .35s,transform .35s}.bed i{position:absolute;bottom:2px;left:4px;right:4px;height:30px;border-radius:50%;background:#dfc4a4}.bed.watered span{color:#dc8452;transform:scale(1.15)}.bed.watered i{background:#99c9ca}.demo-bottom{display:flex;gap:20px;align-items:center;border-top:1px solid #e4e9e0;padding-top:24px}.demo-bottom .button{flex-shrink:0}.demo-bottom #spell-result{font-size:.95rem;margin:0;color:var(--muted)}.watch-section{background:#e8eee1;border-block:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:35px}.section-heading .text-link{font-size:.95rem;margin-bottom:7px}.videos{display:grid;grid-template-columns:1fr 1fr;gap:28px}.video-poster{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#183c33}.video-poster img{height:100%;width:100%;object-fit:cover}.play-video{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(transparent,#10231d50);border:0;color:white;width:100%;height:100%}.play-video span{display:grid;place-items:center;background:#fafcf2;width:65px;height:65px;border-radius:50%;font-size:1.3rem;color:var(--ink);box-shadow:0 4px 20px #0004;transition:transform .2s}.play-video:hover span{transform:scale(1.1)}.video-poster iframe{width:100%;height:100%;border:0;display:block}.video-title{margin:20px 0 6px}.video-title h3{font-size:1.25rem}.video-title span,.video-fallback{font-size:.875rem;color:#47604d}.watch-section .small-text{margin-top:30px}.community{display:grid;grid-template-columns:1fr 1fr;gap:90px}.community>div>p:not(.eyebrow){max-width:470px;margin-top:24px}.planned{display:inline-block;font-size:.8rem;border:1px solid #cad6c0;border-radius:30px;padding:5px 13px;margin-top:24px}.community-notes{padding-top:15px}.community-notes article{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:24px 0}.community-notes article:first-child{padding-top:0}.community-notes article>span{font-size:2rem;color:#769061;min-width:40px}.community-notes h3{font-size:1.25rem}.community-notes p{font-size:1rem;color:var(--muted);margin-top:9px}.community-notes .text-link{display:inline-block;margin-top:26px;font-size:1rem}.download-section{background:var(--ink);color:#f4f6ed}.download-section h2{font-size:clamp(2.3rem,3.8vw,3.7rem)}.release-badge{border:1px solid #5b7666;padding:7px 14px;border-radius:30px;font-size:.8rem;max-width:235px;text-align:center}.download-intro{max-width:650px;color:#d2dfd0}.platforms{display:flex;gap:5px;margin:32px 0 24px;flex-wrap:wrap}.platforms button{color:#d9e3d3;background:transparent;border:1px solid #627e6c;padding:10px 23px;border-radius:6px;min-height:46px}.platforms button[aria-pressed=true]{color:var(--ink);background:#eff4e8;border-color:#eff4e8}.download-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.download-card{border:1px solid #57705d;background:#23483a;border-radius:12px;padding:30px}.download-card h3{font-size:1.6rem}.download-card>p:not(.eyebrow){color:#d1dfcc;margin-top:15px}.download-card .eyebrow{margin-bottom:13px}.download-action{background:var(--gold);color:var(--ink);margin-top:26px}.download-action:disabled{background:#d1dbc4;color:#40523e;cursor:default;transform:none}.download-card .download-meta{font-size:.85rem}.download-card code{display:block;overflow-wrap:anywhere;font-size:.875rem}.download-card details{margin-top:18px}.download-note{font-size:.95rem;color:#c6d6c1;max-width:670px;margin-top:27px}.outline{background:transparent;border:1px solid #92a58b;margin-top:22px}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:90px}details{border-bottom:1px solid var(--line)}summary{cursor:pointer;padding:21px 30px 21px 0;font-weight:bold;position:relative;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:4px;font-size:1.3rem;top:17px;font-weight:400}details[open] summary:after{content:'−'}details p{font-size:1rem;color:var(--muted);padding:0 25px 22px 0}footer{padding-block:32px 42px;border-top:1px solid var(--line);display:flex;gap:25px;align-items:center;flex-wrap:wrap}footer .wordmark{font-size:1.7rem}footer p,footer a:not(.wordmark),footer>span{font-size:.875rem}footer>span{margin-left:auto;color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;z-index:20;background:#fff;padding:12px}.skip:focus{top:12px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:1500px){.hero-image{object-position:center 72%}.hero-shade{background:linear-gradient(90deg,#0d2822f7,#0d2822c9 33%,#0d282233 70%)}}
@media(max-width:1000px){.wrap{width:calc(100% - 56px)}.header{padding-inline:28px}.header > nav{gap:20px}.hero h1{font-size:5rem}.hero-image{object-position:68% center;transform:scale(1.35)}.section{padding-block:75px}.intro,.experiment,.community,.faq{gap:40px}.demo-bottom{flex-direction:column;align-items:start}.program-piece{padding:10px}.spell-demo{padding:25px}.craft-image{height:240px}.craft-copy{padding:26px}.bed{width:65px}.section-heading{align-items:start;flex-direction:column;gap:20px}.release-badge{max-width:none}}
@media(max-width:700px){body{font-size:17px}.wrap{width:calc(100% - 40px)}.header{height:auto;min-height:80px;padding:16px 20px;flex-wrap:wrap;gap:12px}.wordmark{font-size:1.9rem}.header > nav{order:3;justify-content:center;width:100%;gap:25px;padding-top:8px;border-top:1px solid var(--line);font-size:.9rem}.header .button{font-size:.85rem;padding:9px 14px}.hero{min-height:660px}.hero-content{padding-top:55px;padding-bottom:60px}.hero h1{font-size:clamp(3.3rem,12vw,4.8rem)}.hero-copy{font-size:1.05rem;max-width:360px}.hero-image{object-position:65% center;transform:scale(1.45)}.hero-shade{background:linear-gradient(90deg,#102e26ed,#102e269c),linear-gradient(0deg,#102e2677,transparent)}.hero-note{max-width:265px}.image-caption{font-size:.7rem;right:20px;bottom:15px}.actions{gap:20px}.section{padding-block:62px}.intro,.craft-section,.experiment,.community,.faq,.download-cards{grid-template-columns:1fr;gap:32px}.intro-copy p:first-child{font-size:1.25rem}.craft-image{height:240px}.craft-copy{padding:25px}.experiment{gap:28px}.spell-demo{padding:22px}.program{gap:8px}.program-piece,.repeat-piece select{font-size:.9rem}.garden{gap:24px;padding-top:32px}.bed{width:75px}.demo-bottom{flex-direction:row;align-items:center;gap:14px}.demo-bottom .button{padding:10px 15px;font-size:.9rem}.demo-bottom #spell-result{font-size:.875rem}.videos{grid-template-columns:1fr;gap:32px}.community-notes{padding:0}.download-card{padding:25px}.platforms button{padding-inline:20px}.faq{gap:20px}footer{gap:18px}footer p{display:none}footer>span{width:100%;margin-left:0}h2{font-size:2.6rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

.header-actions{display:flex;align-items:center;gap:22px}.languages{display:flex;align-items:center;gap:12px;font-size:.875rem}.languages a{text-decoration:none;padding-block:8px}.languages a[aria-current=page]{font-weight:bold;text-decoration:underline;text-decoration-thickness:2px}.languages a:hover{text-decoration:underline}.program-piece,.tags span{overflow-wrap:anywhere}.program{row-gap:14px}.download-card{min-width:0}
.hero h1:lang(fi){max-width:none}.hero h1:lang(fi) em{white-space:nowrap}
@media(max-width:700px){.hero h1:lang(fi) em{white-space:normal}}
@media(max-width:1000px){.header-actions{gap:16px}.header > nav{gap:16px}.header{gap:16px}}
@media(max-width:700px){.header-actions .button{display:none}.header-actions{margin-left:auto}.header > nav{flex-wrap:wrap}.demo-bottom{flex-wrap:wrap}.hero h1{font-size:clamp(3rem,10vw,4.2rem)}.hero-note{max-width:none}.spell-demo .program{gap:8px}.repeat-piece select{max-width:110px}}

.hero-video{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 65%;z-index:-3;transform:scale(1.19);opacity:0;transition:opacity .8s ease;pointer-events:none}.hero-image{transition:opacity .8s ease}.hero.video-playing .hero-video{opacity:1}.hero.video-playing .hero-image{opacity:0}.hero-toggle{position:absolute;right:35px;bottom:54px;min-height:44px;padding:8px 16px;border:1px solid #ffffff80;border-radius:24px;color:white;background:#102e26d9;font-size:.875rem;z-index:1}.hero-toggle:hover{background:#183c33}.hero-toggle[hidden]{display:none}
@media(min-width:1500px){.hero-video{object-position:center 72%}}
@media(max-width:1000px){.hero-video{object-position:68% center;transform:scale(1.35)}}
@media(max-width:700px){.hero-video{object-position:65% center;transform:scale(1.45)}.hero-toggle{right:20px;bottom:40px}}
@media(prefers-reduced-motion:reduce){.hero-video,.hero-image{transition:none}}

.download-cards{margin-top:32px}.download-card .platforms{margin-top:24px;flex-wrap:wrap;gap:8px}.download-card .platforms button{padding:9px 16px}.release-platform{font-size:1rem;margin:20px 0 0}.download-card .download-action{margin-top:14px}

/* Full-height background, without cover cropping or zooming the game frame. */
.hero{min-height:649px;background:#173d32}.hero-image,.hero-video{inset:auto auto 0 50%;width:auto;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:translateX(-50%)}.hero-shade{background:linear-gradient(90deg,#102e26d9 0%,#102e26c7 27%,#102e2670 51%,#102e2600 76%)}
@media(min-width:1500px){.hero-image,.hero-video{object-position:center;transform:translateX(-50%)}.hero-shade{background:linear-gradient(90deg,#102e26d9 0%,#102e26c7 27%,#102e2670 51%,#102e2600 76%)}}
@media(max-width:1000px){.hero-image,.hero-video{object-position:center;transform:translateX(-50%)}}
@media(max-width:700px){.hero-image,.hero-video{width:100%;height:auto;max-height:100%;bottom:0;object-position:center bottom;transform:translateX(-50%)}.hero{min-height:853px}.hero-shade{background:linear-gradient(180deg,#102e26e6 0%,#102e26d9 49%,#102e2670 62%,#102e2600 80%)}}

/* A light shade supports the text without blurring the game footage. */
.hero-shade{display:block;background:linear-gradient(90deg,#102e2638 0%,#102e2614 42%,#102e2600 72%)}.hero-content{text-shadow:0 2px 5px #102e26cc}.hero h1{text-shadow:0 2px 8px #102e26b3}.hero-content .button{text-shadow:none}

/* Fade only the outer edges; the central game image remains sharp. */
.hero-image,.hero-video{top:50%;bottom:auto;width:min(100%,1384px);height:auto;aspect-ratio:32/15;transform:translate(-50%,-50%);--hero-edge-mask:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 16px),transparent);-webkit-mask-image:var(--hero-edge-mask);mask-image:var(--hero-edge-mask)}
@media(max-width:700px){.hero-image,.hero-video{top:auto;bottom:0;transform:translateX(-50%)}}

.hero-copy{font-size:1.5rem;line-height:1.5;max-width:620px}
@media(max-width:700px){.hero-copy{font-size:1.25rem;max-width:420px}}

/* Compact navigation shares the hero color, then turns white after scrolling. */
.header{position:sticky;top:0;z-index:10;height:72px;background:#173d32;color:#fff;transition:background-color .2s,color .2s,box-shadow .2s}
.header .button{background:var(--gold);color:var(--ink)}.header .button:hover{background:#ffe0a2}
.header.is-scrolled{background:#fff;color:var(--ink);box-shadow:0 2px 12px #102e2614}
.header.is-scrolled .button{background:var(--ink);color:#fff}.header.is-scrolled .button:hover{background:#2c5748}
@media(max-width:700px){.header{height:auto;min-height:64px;padding:12px 20px;gap:8px}.header > nav{padding-top:6px;border-color:#ffffff30}.header.is-scrolled > nav{border-color:var(--line)}}

/* On phones, give the complete game frame its own row below the copy. */
@media(max-width:700px){
  html{scroll-padding-top:140px}
  .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 68px;min-height:0}
  .hero-content{grid-area:1/1;padding-top:36px;padding-bottom:30px}
  .hero-copy{max-width:none}
  .hero-image,.hero-video{grid-area:2/1;position:relative;inset:auto;width:100%;height:auto;max-height:none;transform:none;z-index:0;align-self:center;--hero-edge-mask:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
  .hero-shade{display:none}
  .image-caption{grid-area:3/1;position:static;align-self:center;justify-self:start;margin-left:20px;max-width:45%}
  .hero-toggle{grid-area:3/1;position:static;align-self:center;justify-self:end;margin-right:16px;min-height:44px}
  .garden{gap:12px;padding-inline:0}.bed{width:min(65px,25%)}
  .languages a{min-height:44px;display:inline-flex;align-items:center}
}

@media(min-width:701px){.hero-content{padding-top:40px;padding-bottom:40px}}
