/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7azYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7YjYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7aDYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7ZjYYiAzcPA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7azYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7YjYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7aDYYiAzcPDKo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Wnz6HAc5bAfYB2Q7ZjYYiAzcPA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lYfxlPCz4c3AU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lWfxlPCz4c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{--cream:#f3eddd;--mint:#b4e2bc;--serif:'Libre Caslon Display',Georgia,serif;--sans:'DM Sans',sans-serif;--hand:'Caveat',cursive;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:#46435c;color:var(--cream);font-family:var(--sans);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:7px}button:disabled{cursor:default}::selection{background:#b4e2bc;color:#293f47}
.topbar{position:fixed;top:0;left:0;right:0;height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;z-index:20;border-bottom:1px solid #f3eddd20;background:linear-gradient(#46435caa,#46435c00)}.wordmark{display:flex;gap:12px;align-items:center;letter-spacing:.24em;font-weight:600;font-size:16px}.wordmark span{color:var(--mint);font-size:28px}.top-note{font-family:var(--hand);font-size:23px;color:#d4c7d6}.text-link{display:inline-flex;align-items:center;gap:20px;padding:9px 0;border-bottom:1px solid #f3eddd77;font-size:12px;background:none;width:fit-content}.text-link span{font-size:19px}
#journey{height:1050vh;height:1050svh}.stage{height:100vh;height:100svh;position:sticky;top:0;overflow:clip;isolation:isolate;background:radial-gradient(ellipse at 80% 45%,#85708833,transparent 60%),linear-gradient(120deg,#46435c,#334d50)}.stage:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:15;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23aaa' filter='url(%23n)' opacity='.3' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.ambient{position:absolute;inset:0;opacity:.45;background-image:radial-gradient(circle,#f4eed4 0 1px,transparent 1.8px),radial-gradient(circle,#b4e2bc 0 .8px,transparent 1.5px);background-size:213px 197px,307px 283px;background-position:25px 30px,150px 130px;mask-image:linear-gradient(90deg,transparent,#000)}
.visual{position:absolute;will-change:transform,opacity;pointer-events:none}.sloth{margin:0;width:85%;height:100%;left:28%;top:0;z-index:1}.sloth img,.owl img{width:100%;height:100%;object-fit:cover;mask-image:radial-gradient(ellipse at 55% 49%,#000 25%,transparent 70%)}.sloth img{object-position:65% 50%}.story-copy{position:absolute;inset:0;z-index:10;pointer-events:none}.beat{position:absolute;left:7%;top:50%;width:35%;max-width:510px;transform:translateY(-46%);opacity:0;visibility:hidden;will-change:transform,opacity}.beat:first-child{opacity:1;visibility:visible}.beat a,.beat button{pointer-events:auto}.eyebrow{font-size:10px;letter-spacing:.18em;line-height:1.6;color:var(--mint)}h1,h2{font-family:var(--serif);font-weight:400;font-size:clamp(48px,5.5vw,86px);line-height:1.02;letter-spacing:-.035em;margin:24px 0}em{font-weight:400;color:var(--mint)}p{font-family:var(--serif);font-size:clamp(22px,2.1vw,31px);line-height:1.35;margin:22px 0;max-width:410px}.hand{display:block;font-family:var(--hand);font-size:25px;color:#d2c4d2;margin-top:32px}.ending{font-size:clamp(22px,2.05vw,29px)}.signature{font-family:var(--hand);font-size:32px;display:block;margin:10px 0 24px}.gallery-open{display:flex;margin-top:28px}
.camp-world{inset:0;z-index:2;opacity:0}.camp-title{position:absolute;left:60%;top:15%;display:flex;align-items:center;gap:18px;transform:rotate(-5deg);color:var(--mint);letter-spacing:.25em;font-size:23px}.camp-title img{width:50px;height:54px}.camp-title small{display:block;font-family:var(--hand);font-size:22px;letter-spacing:0;color:var(--cream);margin-top:6px}.camp-photo,.hook-photo{position:absolute;margin:0;padding:7px 7px 0;background:#f0e9d9;color:#35454a;box-shadow:0 16px 40px #17272d55}.camp-photo img,.hook-photo img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.camp-photo figcaption,.hook-photo figcaption{font-family:var(--hand);font-size:clamp(16px,1.6vw,24px);text-align:center;padding:9px 1px 11px;line-height:1.1}.camp-photo{width:24%}.roots{left:45%;top:29%;transform:rotate(-10deg)}.after-dark{left:70%;top:29%;transform:rotate(8deg);width:21%}.familiar{left:49%;top:57%;transform:rotate(6deg);width:21%}.friends{left:71%;top:57%;transform:rotate(-7deg);width:24%}
.treasure-world{inset:0;z-index:3;opacity:0;perspective:900px}.hook-photo{width:23%;left:46%;top:30%;transform:rotate(-8deg)}.hook-photo img{aspect-ratio:4/5;object-position:48% 46%}.chest{pointer-events:auto;position:absolute;left:75%;top:53%;width:250px;height:220px;transform:translate(-50%,-20%);background:none;isolation:isolate;perspective:700px}.chest:focus-visible{outline-offset:12px}.chest-box{position:absolute;left:12px;top:83px;width:226px;height:117px;border:3px solid #382719;border-radius:4px 4px 12px 12px;background:linear-gradient(90deg,transparent 20px,#bc934c 21px 38px,transparent 39px 184px,#bc934c 185px 202px,transparent 203px),repeating-linear-gradient(0deg,#0000 0 31px,#40271a 32px 34px),linear-gradient(100deg,#986039,#6b3e27);box-shadow:inset 0 5px 10px #3d241e66,inset 0 -7px #4c2e2266,0 20px 35px #14252d55}.chest-lid{position:absolute;top:21px;left:12px;width:226px;height:68px;transform-origin:50% 100%;border:3px solid #382719;border-radius:65px 65px 3px 3px;background:linear-gradient(90deg,transparent 20px,#d0ac64 21px 38px,transparent 39px 184px,#d0ac64 185px 202px,transparent 203px),repeating-linear-gradient(0deg,#0000 0 21px,#5f3b2788 22px 24px),linear-gradient(#ac774a,#795033);z-index:3;box-shadow:inset 0 5px 9px #efc28644}.chest-lid i{position:absolute;inset:7px 8px;border-radius:48px 48px 0 0;border-top:1px solid #f8d79466}.lock{position:absolute;left:94px;top:-13px;width:33px;height:42px;background:linear-gradient(120deg,#ead38a,#ac8139);border:2px solid #543d24;border-radius:5px 5px 10px 10px}.lock:after{content:'';position:absolute;left:12px;top:12px;width:5px;height:13px;background:#493322;border-radius:50% 50% 0 0}.chest-inside{position:absolute;left:15px;top:72px;width:220px;height:35px;background:#30251e;border-radius:50%;box-shadow:inset 0 0 20px #eac98055}.chest-glow{position:absolute;inset:-90px -70px 0;background:radial-gradient(ellipse,#ffe4a166,transparent 63%);opacity:0;pointer-events:none}.chest-note{position:absolute;left:-20px;right:-20px;top:229px;color:var(--mint);font-family:var(--hand);font-size:24px}
.photo-cloud{position:absolute;inset:0;z-index:5;pointer-events:none}.flying-photo{position:absolute;left:0;top:0;padding:4px 4px 15px;background:#eee7d7;border:0;box-shadow:0 8px 24px #19242f66;will-change:transform,opacity;transform-origin:center;opacity:0;pointer-events:none}.flying-photo img{width:100%;height:100%;object-fit:cover;display:block}.flying-photo.available{pointer-events:auto;cursor:zoom-in}.flying-photo.available:hover{outline:2px solid var(--mint);outline-offset:3px}.owl{left:37%;top:9%;width:66%;height:85%;z-index:4;opacity:0}.owl{display:flex;align-items:center;justify-content:center}.owl img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;mask-image:radial-gradient(ellipse closest-side at 55% 50%,#000 40%,transparent 100%)}.dust{position:absolute;inset:0;z-index:6;pointer-events:none}.spark{position:absolute;left:0;top:0;width:3px;height:3px;border-radius:50%;background:#eff2bf;box-shadow:0 0 9px #e8efb1;opacity:0}
.story-controls{position:absolute;bottom:0;left:0;right:0;height:93px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;z-index:20;background:linear-gradient(transparent,#33434e55)}.advance{display:flex;align-items:center;gap:12px;background:none;padding:10px 0;color:var(--cream);font-size:12px}.scroll-icon{display:grid;place-items:center;border:1px solid #f3eddd55;border-radius:24px;width:28px;height:39px;font-size:19px}.chapters{display:flex;gap:12px;position:absolute;left:50%;transform:translateX(-50%)}.chapters button{width:34px;height:34px;background:none;position:relative;color:#d1c6d2;font-size:10px}.chapters button:after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:#b4e2bc44}.chapters button[aria-current]:after{height:3px;background:var(--mint)}.chapters button[aria-current]{color:var(--mint)}.chapter-label{letter-spacing:.12em;font-size:9px;color:#d1c6d2}.count{margin-left:18px;color:var(--mint)}.progress{position:absolute;bottom:0;left:0;right:0;height:2px;z-index:25;background:#b4e2bc15}.progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:var(--mint)}
.gallery{background:#293f47;color:var(--cream);border:1px solid #91b8a077;width:min(1100px,94vw);max-width:94vw;max-height:94svh;padding:20px;overscroll-behavior:contain}.gallery::backdrop{background:#17232bea;backdrop-filter:blur(7px)}.gallery-toolbar,.gallery-controls{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.12em}.gallery button{background:none;padding:10px;color:var(--cream)}.gallery figure{margin:15px 0 0}.gallery-image{display:block;width:100%;height:min(66svh,680px);object-fit:contain}.gallery-caption{text-align:center;font-family:var(--hand);font-size:24px;margin-top:10px}.gallery-controls{justify-content:center;gap:28px}.gallery-controls button{font-size:24px}.no-script{position:fixed;bottom:100px;left:5%;z-index:30;padding:20px;background:#293f47}.no-script a{text-decoration:underline}
@media(min-width:1600px){.chest{transform:translate(-50%,-20%) scale(1.2)}}
@media(max-width:760px){.topbar{height:66px;padding:0 6%}.top-note{display:none}.topbar .text-link{font-size:11px}.wordmark{font-size:14px}.beat{left:7%;top:100px;transform:none;width:86%;max-width:440px}h1,h2{font-size:clamp(42px,10vw,62px);margin:15px 0;line-height:.98}h1 br:nth-child(2){display:none}p{font-size:22px;line-height:1.2;max-width:340px;margin:12px 0}.hand{font-size:22px;margin-top:14px}.sloth{left:0;top:33%;width:118%;height:63%}.sloth img{object-position:70% 50%;mask-image:radial-gradient(ellipse at 55% 50%,#000 20%,transparent 69%)}.camp-title{left:51%;top:44%;font-size:16px;gap:9px}.camp-title img{width:34px;height:37px}.camp-title small{font-size:15px;max-width:150px}.camp-photo{padding:4px 4px 0;width:39%}.camp-photo figcaption{font-size:17px;padding:7px 0}.roots{left:9%;top:47%;width:39%}.after-dark{left:53%;top:55%;width:36%}.familiar{left:11%;top:69%;width:34%}.friends{left:53%;top:70%;width:36%}.hook-photo{width:34%;left:12%;top:59%;padding:5px 5px 0}.hook-photo figcaption{font-size:18px}.hook-photo img{aspect-ratio:4/5}.chest{left:72%;top:66%;transform:translate(-50%,-20%) scale(.7)}.owl{left:0;top:43%;width:100%;height:49%}.beat[data-beat="4"] h2{font-size:42px}.ending{font-size:21px;max-width:340px}.signature{font-size:25px;margin:8px 0}.beat[data-beat="4"] .text-link{margin-top:0}.gallery-open{margin-top:15px}.story-controls{height:70px;padding:0 6%}.chapter-label{display:none}.chapters{position:static;transform:none;gap:4px}.chapters button{width:26px}.advance{font-size:10px;gap:8px}.scroll-icon{width:23px;height:32px}.flying-photo{padding:3px 3px 9px}.gallery{padding:12px}.gallery-toolbar{font-size:9px}.gallery-image{height:63svh}}
@media(max-height:650px) and (min-width:761px){.topbar{height:64px}.story-controls{height:65px}.beat{top:49%}h1,h2{font-size:54px;margin:18px 0}p{font-size:23px;margin:14px 0}.hand{margin-top:18px}.ending{font-size:22px}.signature{margin:8px 0}.chest{top:48%;transform:translate(-50%,-20%) scale(.8)}}
@media(prefers-reduced-motion:reduce){#journey{height:650svh}.visual,.beat,.flying-photo{will-change:auto}}

/* Scroll reveals in the opening two chapters. */
.sloth-note{position:absolute;top:80%;left:10%;width:80%;margin:0;font-size:34px;text-align:center;transform-origin:center;will-change:transform,opacity}
.owl-word{display:inline-block;white-space:nowrap}
.inline-owl{display:inline-block;width:42px;height:44px;object-fit:contain;vertical-align:middle;margin-left:5px;transform-origin:center 70%}
@media(max-width:760px){.inline-owl{width:32px;height:34px}.camp-photo.roots{top:51%}.camp-title{top:48%}.sloth-note{left:0;width:85%;font-size:27px}}
@media(prefers-reduced-motion:reduce){.sloth-note{will-change:auto}}

.treasure-caption{position:absolute;left:-40px;top:-95px;width:330px;margin:0;font-size:32px;line-height:1.1;text-align:center;color:var(--mint);pointer-events:none}
@media(max-width:760px){.treasure-caption{left:-25px;top:-115px;width:300px;font-size:40px}}

.camp-title .corujas-mark{width:72px;height:72px;object-fit:contain;border-radius:10px}
@media(max-width:760px){.camp-title .corujas-mark{width:44px;height:44px;border-radius:6px}}

/* Fill the live viewport, including expanded browser chrome, to the last pixel. */
html{overscroll-behavior-y:none}
.stage{height:100vh;height:100dvh}
.final-back{margin-top:8px}
.return-button{position:absolute;left:70%;bottom:96px;transform:translateX(-50%);z-index:21;display:inline-flex;align-items:center;justify-content:center;gap:38px;min-width:230px;min-height:64px;padding:18px 32px;background:var(--mint);color:#293f47;border-radius:40px;font-size:18px;font-weight:600;box-shadow:0 8px 30px #17272d33}
.return-button:hover{background:#d1f0cf}.return-button[hidden],.advance[hidden]{display:none}
.owl{height:calc(85% - 85px)}
@media(max-width:760px){.return-button{left:50%;bottom:78px;min-height:56px;min-width:210px;padding:14px 28px}.owl{height:calc(49% - 65px)}}

/* Preserve the reading region when browser text enlargement exceeds its space. */
.beat { overflow-wrap:break-word; }
.beat:focus-visible { outline:2px solid var(--mint); outline-offset:6px; }
@media (min-height:701px) and (max-width:760px) and (orientation:portrait) {
  .beat { max-height:calc(56dvh - 100px); overflow-y:auto; pointer-events:auto; }
}
@media (min-height:651px) and (min-width:761px) {
  .beat { max-height:calc(100dvh - 240px); overflow-y:auto; pointer-events:auto; }
}

/* Short viewports reserve separate regions for readable copy and the artwork.
   Text can scroll inside its region if browser text enlargement needs more room. */
@media (max-height:700px) and (max-width:760px) and (orientation:portrait) {
  .topbar { height:52px; }
  .beat { top:72px; max-height:calc(60dvh - 72px); overflow-y:auto; pointer-events:auto; transform:none !important; }
  h1,h2,.beat[data-beat="4"] h2 { font-size:32px; line-height:1.02; margin:12px 0; }
  p,.ending { font-size:18px; line-height:1.25; margin:10px 0; }
  .eyebrow { font-size:9px; }
  .inline-owl { width:25px; height:26px; }
  .signature { font-size:23px; margin:8px 0; }
  .sloth { top:49%; height:45%; }
  .sloth-note { top:84%; font-size:22px; }
  .camp-world { top:61%; bottom:58px; overflow:clip; }
  .camp-title { left:7%; right:7%; top:0; justify-content:center; font-size:13px; transform:none; }
  .camp-title .corujas-mark { width:28px; height:28px; }
  .camp-title small { font-size:12px; max-width:none; margin-top:2px; }
  .camp-pictures { position:absolute; left:7%; right:7%; top:43px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
  .camp-photo,.camp-photo.roots { position:relative; left:auto; top:auto; width:auto; padding:3px 3px 0; }
  .camp-photo figcaption { font-size:12px; padding:5px 0; }
  .treasure-world { top:61%; bottom:58px; }
  .hook-photo { left:10%; top:4%; width:25%; }
  .hook-photo figcaption { font-size:13px; }
  .chest { left:72%; top:35%; transform:translate(-50%,-35%) scale(.42); }
  .owl { top:60%; height:calc(40% - 62px); }
  .story-controls { height:50px; }
  .return-button { bottom:12px; min-height:44px; min-width:180px; padding:10px 24px; font-size:16px; }
}
@media (max-height:650px) and (orientation:landscape) {
  .topbar { height:48px; }
  .beat { left:6%; top:62px; width:42%; max-width:none; max-height:calc(100dvh - 118px); overflow-y:auto; pointer-events:auto; transform:none !important; }
  h1,h2,.beat[data-beat="4"] h2 { font-size:clamp(26px,4.2vw,38px); line-height:1.02; margin:10px 0; }
  p,.ending { font-size:18px; line-height:1.25; margin:10px 0; max-width:none; }
  .eyebrow { font-size:9px; }
  .inline-owl { width:25px; height:26px; }
  .signature { font-size:23px; margin:8px 0; }
  .sloth { left:48%; top:8%; width:60%; height:85%; }
  .sloth-note { font-size:24px; }
  .camp-world { left:51%; top:60px; bottom:58px; overflow:clip; }
  .camp-title { left:5%; right:5%; top:0; justify-content:center; font-size:13px; transform:none; }
  .camp-title .corujas-mark { width:28px; height:28px; }
  .camp-title small { font-size:13px; max-width:none; margin-top:2px; }
  .camp-pictures { position:absolute; left:7%; right:7%; top:43px; bottom:6px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px; }
  .camp-photo,.camp-photo.roots { position:relative; left:auto; top:auto; width:auto; min-height:0; padding:3px 3px 0; display:flex; flex-direction:column; }
  .camp-photo img { flex:1; height:0; min-height:0; aspect-ratio:auto; }
  .camp-photo figcaption { font-size:13px; padding:4px 0; }
  .hook-photo { left:53%; top:28%; width:16%; }
  .hook-photo figcaption { font-size:15px; }
  .chest { left:83%; top:47%; transform:translate(-50%,-20%) scale(.55); }
  .treasure-caption { font-size:30px; }
  .owl { left:51%; top:12%; width:47%; height:calc(85% - 65px); }
  .story-controls { height:48px; }
  .return-button { left:75%; bottom:12px; min-height:42px; min-width:165px; padding:10px 22px; font-size:16px; }
}
