:root{--ink:#293d3b;--paper:#f8f2e8;--cream:#fffaf1;--green:#355a52;--muted:#667671;--line:#dcd7cc;--red:#a96b64;--gold:#dbab65;--radius:23px;--shadow:0 19px 55px rgba(43,54,45,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
a{color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #287d79;outline-offset:4px}
.skip-link{position:absolute;z-index:30;top:-100px;left:20px;padding:12px 18px;background:white}.skip-link:focus{top:12px}
.site-shell{max-width:1500px;margin:0 auto}
.site-header{height:100px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);margin:0 5.4%;}
.brand{text-decoration:none;display:inline-flex;align-items:center;gap:11px;line-height:1.08}
.brand-symbol{font-size:35px;color:#be8177;transform:rotate(-20deg)}
.brand strong{font-family:Georgia,serif;font-size:18px;font-weight:600;display:block;letter-spacing:-.5px}
.brand small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.25em;color:var(--muted);margin-top:6px}
.header-nav{display:flex;align-items:center;gap:31px}.header-nav a{font-size:13px;font-weight:700;text-decoration:none;padding:10px 0}.header-nav a:hover{text-decoration:underline;text-underline-offset:6px}
.hero{padding:60px 5.4% 95px;display:grid;grid-template-columns:minmax(300px,1fr) minmax(360px,1.12fr);align-items:center;gap:3.2vw}
.hero-copy{padding-bottom:18px;max-width:640px}.eyebrow,.section-kicker{font-size:12px;font-weight:800;letter-spacing:.19em;color:#8d625c}.eyebrow{display:flex;align-items:center;gap:10px}.twinkle{font-size:22px;line-height:1;color:#c68a77}
h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em}h1{font-size:clamp(49px,5.3vw,88px);line-height:1.06;margin:21px 0 24px}h1 em,h2 em,h2 i{font-weight:400;color:#a5655b}
.hero-copy>p:not(.hero-note){max-width:525px;line-height:1.78;font-size:17px;color:#556963;margin-bottom:32px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:16px 24px;border-radius:10px;border:1px solid transparent;cursor:pointer;font-size:14px;font-weight:800;text-decoration:none;min-height:52px;transition:transform .18s ease,background-color .18s ease}
.button:hover{transform:translateY(-2px)}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:#27443e}.button span{font-size:19px;font-weight:400}.hero-note{font-size:12px!important;margin:22px 0 0!important;color:#728079!important;line-height:1.5!important}
.house-wrap{position:relative;min-width:0}.house-illustration{width:100%;height:auto;display:block;filter:drop-shadow(0 16px 20px rgba(64,73,59,.06))}.house-stamp{position:absolute;right:-10px;bottom:5%;height:105px;width:105px;background:#31564f;color:#f7e8c9;border-radius:50%;transform:rotate(14deg);font-family:Georgia;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;font-size:23px;line-height:1.05;box-shadow:0 8px 18px #263b3120}.house-stamp small{font-family:system-ui,sans-serif;font-size:9px;letter-spacing:.09em;line-height:1.35;margin-top:4px}
.rooms-section{padding:32px 5.4% 110px}.section-kicker{margin-bottom:21px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:37px}.section-heading h2,.manifesto h2{font-size:clamp(36px,3.8vw,58px);line-height:1.12;margin:0}.section-heading p{max-width:365px;color:#718079;font-size:15px;line-height:1.7;margin:0 0 5px}
.rooms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.room-card{border:1px solid #e0d8c9;border-radius:19px;box-shadow:var(--shadow);padding:23px 27px 29px;display:flex;flex-direction:column;min-height:470px;background:#f2eadc}.room-card-shop{background:#f4e8d3}.room-card-door{background:#eadfdc}.room-card-lab{background:#e3eee8}.room-art{height:194px;display:flex;align-items:center;justify-content:center}.room-art svg{width:min(230px,95%);height:175px}.room-index{font-size:10px;font-weight:900;letter-spacing:.2em;color:#7a7771}.room-index span{padding:0 5px;color:#b6aca1}.room-card h3{font-size:clamp(30px,2.8vw,39px);margin:12px 0 14px}.room-card p{font-size:14px;line-height:1.75;color:#586b64;flex:1;margin-bottom:25px}.room-link{font-size:14px;font-weight:800;text-decoration:none;display:flex;justify-content:space-between;align-items:center;padding-top:17px;border-top:1px solid #716f6445}.room-link:hover{text-decoration:underline;text-underline-offset:5px}.room-link span{font-size:23px;font-weight:400}
.manifesto{background:#31564e;color:#f8eee1;min-height:305px;margin:0 5.4% 70px;border-radius:24px;display:grid;grid-template-columns:70px minmax(260px,1fr) minmax(250px,.95fr);gap:28px;padding:64px 6%;align-items:start}.manifesto-star{font-size:58px;color:#e6b67a;line-height:1}.manifesto .section-kicker{color:#f1bca0}.manifesto h2 em{color:#edba9a}.manifesto-copy p{font-size:15px;line-height:1.84;margin-bottom:14px}.manifesto-copy .tiny{font-size:12px;opacity:.76}
.site-footer{margin:0 5.4%;padding:30px 0 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:center;color:#758078;font-size:12px}.site-footer span:first-child{font-family:Georgia,serif;font-size:17px;color:#40564f}.site-footer a{font-weight:800;text-decoration:underline;text-underline-offset:4px}
[hidden]{display:none!important}
.game-screen{max-width:1050px;padding:45px 5.4% 90px;margin:auto}.back-link{text-decoration:none;font-size:13px;font-weight:800;display:inline-flex;gap:11px;align-items:center;margin:8px 0 33px}.back-link:hover{text-decoration:underline;text-underline-offset:5px}.back-link span{font-size:22px;font-weight:400}.game-panel{background:#fffaf2;border-radius:25px;box-shadow:var(--shadow);padding:clamp(25px,5vw,62px);border:1px solid #e4dbcc}.game-panel.shop{border-top:8px solid #d6a369}.game-panel.door{border-top:8px solid #b6817a}.game-panel.lab{border-top:8px solid #8cafaa}.game-label{text-transform:uppercase;letter-spacing:.19em;font-size:11px;font-weight:900;color:#916d5d}.game-panel h1{font-size:clamp(37px,5vw,63px);margin:12px 0}.game-intro{color:#667a72;font-size:16px;line-height:1.8;max-width:680px}.game-stage{margin-top:36px;background:#f6f1e8;border:1px solid #e6ded1;border-radius:18px;padding:clamp(20px,4vw,36px)}.progress{font-size:12px;letter-spacing:.11em;color:#746d63;font-weight:900;text-transform:uppercase}.game-stage h2{font-size:clamp(26px,3.4vw,38px);margin:14px 0 17px;line-height:1.2}.game-stage>p{font-size:15px;color:#64746e;line-height:1.75}.stage-illustration{font-size:56px;line-height:1;margin:16px 0 20px}.wallet{background:#fff9ec;border:2px dashed #d9bc86;border-radius:15px;padding:16px 20px;margin:20px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.wallet strong{font-size:clamp(22px,3vw,29px);font-family:Georgia,serif}.wallet small{color:#657469}.coin-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}.coin{width:76px;height:76px;border-radius:50%;border:4px double #846342;background:radial-gradient(circle at 35% 30%,#ffe7a9,#ce9955);color:#624a2d;font-weight:900;cursor:pointer;box-shadow:0 4px 0 #b3a181;transition:transform .15s}.coin:hover{transform:translateY(-3px)}.coin:active{transform:translateY(1px)}.coin.copper{background:radial-gradient(circle at 35% 30%,#ffc79c,#c98966);border-color:#995e47}.coin.silver{background:radial-gradient(circle at 35% 30%,#f9f9ee,#a3b9b2);border-color:#738780}.game-toolbar{display:flex;flex-wrap:wrap;gap:13px;align-items:center;margin-top:24px}.text-button{background:transparent;border:0;padding:12px 2px;text-decoration:underline;text-underline-offset:4px;color:#475c56;font-weight:800;cursor:pointer}.feedback{min-height:25px;font-size:14px;line-height:1.55;font-weight:750;margin-top:20px;color:#47625a}.feedback.warning{color:#9a5d49}.feedback.success{color:#2b6650}.answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.answer{padding:17px 12px;border-radius:12px;background:#fffaf1;border:2px solid #d6d5c9;color:#344c48;font-weight:800;cursor:pointer;min-height:56px}.answer:hover:not(:disabled){border-color:#608b7e;background:#f5f9ef}.answer:disabled{opacity:.7;cursor:default}.answer.correct{background:#e0eddd;border-color:#719d7b;opacity:1}.sequence{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 25px}.sequence span{min-width:60px;height:63px;padding:10px;display:grid;place-items:center;border-radius:10px;background:#fffdf7;border:1px solid #ddd2bd;font-family:Georgia,serif;font-size:27px}.sequence span:last-child{background:#d9e7e0;border-style:dashed;border-color:#8ca79c}.code-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}.code-form input{width:150px;min-height:56px;border:2px solid #bcb0a3;border-radius:9px;padding:8px 14px;text-align:center;font-size:24px;font-weight:800;letter-spacing:.15em;color:#2e5048;background:#fffdf7}.clue-digits{display:flex;gap:8px;margin:22px 0}.clue-digits span{display:grid;place-items:center;width:55px;height:58px;border-radius:11px;background:#fffdf7;border:2px solid #b5ae9f;font-family:Georgia,serif;font-size:29px}.success-art{font-size:67px;margin:20px 0 6px}.success-title{font-size:clamp(31px,4vw,49px)!important}.success-copy{max-width:600px}.small-note{font-size:12px!important;color:#68766f!important;margin:16px 0 0}
.privacy-dialog{width:min(550px,calc(100% - 30px));border:1px solid #e0d9cf;border-radius:20px;padding:28px;background:#fffaf2;color:var(--ink);box-shadow:0 15px 70px #1a262650}.privacy-dialog::backdrop{background:#1c3532a8}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{font-size:28px;margin:0 0 12px}.privacy-dialog p{font-size:14px;line-height:1.7;color:#526b63}.icon-button{font-size:28px;background:transparent;border:0;cursor:pointer;padding:4px 9px}
@media(max-width:1000px){.hero{grid-template-columns:1fr 1fr;gap:15px}.hero h1{font-size:clamp(44px,5.4vw,64px)}.manifesto{grid-template-columns:45px 1fr;gap:20px}.manifesto-copy{grid-column:2}.room-card{padding:22px 20px}.room-art{height:160px}}
@media(max-width:720px){.site-header{height:80px;margin:0 20px}.brand strong{font-size:16px}.brand-symbol{font-size:26px}.header-nav{gap:14px}.header-nav a{font-size:11px}.header-nav a:nth-child(2){display:none}.hero{grid-template-columns:1fr;padding:43px 22px 45px}.hero-copy{padding:0}.hero h1{font-size:clamp(43px,10vw,68px);margin:20px 0}.hero-copy>p:not(.hero-note){font-size:15px}.house-wrap{max-width:520px;width:100%;margin:auto}.house-stamp{right:0;width:87px;height:87px;font-size:17px}.house-stamp small{font-size:8px}.rooms-section{padding:15px 22px 70px}.section-heading{display:block;margin-bottom:25px}.section-heading h2{margin-bottom:14px}.rooms-grid{grid-template-columns:1fr}.room-card{min-height:0;padding:18px 22px 24px}.room-art{height:150px}.room-card h3{font-size:36px}.room-card p{margin-bottom:23px}.manifesto{margin:0 22px 50px;grid-template-columns:1fr;padding:33px 27px;gap:15px}.manifesto-star{font-size:40px}.manifesto-copy{grid-column:auto}.manifesto h2{font-size:37px}.site-footer{margin:0 22px;display:grid;gap:12px}.game-screen{padding:29px 20px 65px}.answer-grid{grid-template-columns:1fr}.coin{width:68px;height:68px}.sequence span{height:55px;min-width:52px;font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
