/* Layout concept: the page is one sky. Night with Kaju's lantern, a sunrise, a working day, night again. */
body { background: var(--night); }

/* ---- hero: night, and the lantern ---- */
.hero { position: relative; color: var(--cream); overflow: hidden; background: radial-gradient(120% 90% at 78% 30%, #135065 0%, var(--night) 55%, var(--night-deep) 100%); --px: 70%; --py: 40%; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 300px at var(--px) var(--py), rgba(255,227,138,.17), transparent 72%); z-index: 2; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); animation: tw 4s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .22; } }
.fly { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px 5px rgba(255,227,138,.6); animation: fly 15s ease-in-out infinite; z-index: 3; pointer-events: none; }
@keyframes fly { 0%,100% { transform: translate(0,0); opacity: .9; } 25% { transform: translate(44px,-52px); opacity: .25; } 50% { transform: translate(90px,-12px); opacity: 1; } 75% { transform: translate(30px,34px); opacity: .35; } }
.hero-in { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; align-items: center; padding-block: clamp(36px,5vw,64px) clamp(200px,21vw,290px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; font-variation-settings: "wdth" 96; }
.hero h1 .w.on { color: var(--night); }
.hero .lede { margin-top: 24px; font-size: clamp(19px,1.7vw,23px); line-height: 1.45; color: #DCE9E8; max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.cta-note { font-size: 15px; line-height: 1.35; color: #B9D0D1; }
.kaju-stage { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; }
.lamp { position: absolute; left: 66%; top: 8%; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,227,138,.5), rgba(255,227,138,.14) 45%, transparent 70%); animation: lamp 5.3s ease-in-out infinite; pointer-events: none; }
@keyframes lamp { 50% { transform: translateX(-5%) scale(1.06); opacity: .85; } }
.kaju-btn { position: absolute; inset: 0; border-radius: 40%; }
.kaju-host { position: absolute; inset: 0; pointer-events: none; }
/* The 3D Kaju draws his own lantern glow, so the 2D glows step aside. */
.k3d-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; }
.k3d .lamp, .book-kaju.k3d::before { display: none; }
.kaju-btn { touch-action: pan-y pinch-zoom; }
.bubble { position: absolute; left: -2%; top: -3%; max-width: 72%; padding: 14px 18px; background: var(--cream); color: var(--ink); border-radius: 20px 20px 20px 6px; font: 500 clamp(16px,1.5vw,19px)/1.35 var(--display); box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 2; }
.hear { position: absolute; left: 50%; bottom: -11%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 11px; padding: 7px 20px 7px 7px; min-height: 58px; border-radius: 99px; background: rgba(255,248,238,.14); color: var(--cream); font: 500 16px/1 var(--display); white-space: nowrap; }
.hear:hover { background: rgba(255,248,238,.24); }
.hear b { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mango); box-shadow: 0 3px 0 var(--mango-lip); display: grid; place-items: center; }
.hear svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.canopy { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(150px,18vw,240px); z-index: 5; pointer-events: none; }
.peeker { position: absolute; bottom: 0; width: clamp(92px,11.5vw,158px); aspect-ratio: 1; pointer-events: auto; cursor: pointer; transition: transform .42s cubic-bezier(.3,1.5,.55,1); }
.peeker:hover, .peeker.up { transform: translateY(-62%); }
.lay { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; display: block; }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; padding-bottom: 210px; } .kaju-stage { max-width: 340px; grid-row: 2; } .peeker:nth-child(n+6) { display: none; } }

/* ---- the story demo ---- */
.demo { position: relative; color: var(--cream); background: var(--night-deep); padding-block: clamp(40px,6vw,80px) clamp(60px,8vw,120px); }
.demo-head { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 16px 40px; align-items: end; margin-bottom: 36px; }
.demo h2 { font-size: clamp(42px,6.2vw,84px); color: var(--cream); }
.demo-head p { color: #C6D9D9; }
.book-wrap { position: relative; display: grid; grid-template-columns: clamp(170px,23vw,320px) minmax(0,1fr); align-items: end; gap: 0; }
.book-kaju { position: relative; aspect-ratio: 1; margin-right: -22px; z-index: 2; }
.book-kaju::before { content: ""; position: absolute; left: 44%; top: 0; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,227,138,.32), transparent); pointer-events: none; }
.sd { background: var(--cream); color: var(--ink); border-radius: 26px; border-bottom: 12px solid #1F6680; box-shadow: 0 0 90px rgba(255,227,138,.14), 0 24px 40px rgba(0,0,0,.34); position: relative; }
.sd-right { border-left: 2px solid var(--sand); }
.sample { display: inline-block; margin-bottom: 10px; padding: 6px 13px; border-radius: 99px; background: var(--glow); color: var(--ink); font: 600 15px/1.1 var(--display); }
.privacy-line { margin-top: 26px; font-size: 16px; color: #A9C3C4; max-width: 72ch; }
@media (max-width: 820px) { .demo-head { grid-template-columns: 1fr; } .book-wrap { grid-template-columns: 1fr; } .book-kaju { width: 170px; margin: 0 0 -8px; justify-self: start; } .sd-right { border-left: 0; } }

/* ---- sunrise ---- */
.dawn { position: relative; height: clamp(380px,50vw,620px); overflow: hidden; background: linear-gradient(180deg, var(--night-deep) 0%, #125369 24%, #2C7F92 38%, #E7B08E 62%, #FFD9B0 80%, var(--cream) 100%); }
.sun { position: absolute; left: 50%; top: 0; width: clamp(150px,20vw,270px); aspect-ratio: 1; margin-left: calc(clamp(150px,20vw,270px) / -2); border-radius: 50%; background: var(--reward); box-shadow: 0 0 110px 42px rgba(242,177,52,.42); will-change: transform; }
.hill { position: absolute; left: -5%; right: -5%; bottom: -1px; height: 30%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--cream); }
.walkers { position: absolute; left: 0; right: 0; bottom: 8%; height: clamp(84px,10vw,140px); z-index: 2; }
.walkers > div { position: absolute; bottom: 0; width: clamp(84px,10vw,140px); aspect-ratio: 1; }
@media (max-width: 640px) { .walkers > div:nth-child(n+4) { display: none; } }

/* ---- the break ---- */
.stopper { padding-top: clamp(10px,2vw,30px) !important; }
.stop-g { display: grid; grid-template-columns: clamp(220px,30vw,400px) minmax(0,1fr); gap: 24px 40px; align-items: center; }
.stop-k { aspect-ratio: 1; cursor: pointer; }
.twobtn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.twobtn span { padding: 13px 22px; border-radius: 16px; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--tile-lip); color: var(--night); font: 600 18px/1.1 var(--display); }
.soon-tag { margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: #E3F5EA; color: #17563A; max-width: 40em; font-size: 17px; line-height: 1.4; }
.soon-tag b { font-weight: 800; }
@media (max-width: 760px) { .stop-g { grid-template-columns: 1fr; } .stop-k { width: 220px; } }

/* ---- day ---- */
.day { background: var(--cream); color: var(--ink); }
.sec { padding-block: clamp(56px,7.5vw,110px); }
.h-big { font-size: clamp(44px,7vw,96px); color: var(--night); font-variation-settings: "wdth" 96; }
.sub { font-size: clamp(19px,1.8vw,23px); line-height: 1.42; color: var(--ink-soft); margin-top: 20px; max-width: 42em; }

/* flip cards */
.flips { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 46px; }
.flip { --tone: #7466CC; --deep: #5E50B5; position: relative; display: block; width: 100%; aspect-ratio: 5/4.5; perspective: 1100px; text-align: left; }
.flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.3,1.3,.55,1); }
.flip[aria-pressed="true"] .flip-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 24px; padding: clamp(18px,2.2vw,28px); display: flex; flex-direction: column; overflow: hidden; }
.front { background: var(--tone); color: #fff; box-shadow: inset 0 -5px 0 var(--deep); }
.back { color: var(--ink); border: 2px solid var(--line); box-shadow: inset 0 -5px 0 var(--tile-lip); transform: rotateY(180deg); background-color: #FFFDF8; background-image: linear-gradient(#EFE6D8 1.5px, transparent 1.5px), linear-gradient(90deg, #EFE6D8 1.5px, transparent 1.5px); background-size: 22px 22px; padding-top: clamp(12px,1.4vw,18px) !important; }
.back .dia { flex: 1 1 auto; min-height: 0; width: 100%; display: block; overflow: visible; }
.back .dia svg { width: 100%; height: 100%; display: block; }
.a-tip { transform-origin: 205px 104px; }
.a-sink { animation-play-state: paused; }
.flip[aria-pressed="true"] .a-tip { animation: tip 3.2s ease-in-out infinite; }
@keyframes tip { 0%,12%,100% { transform: rotate(3deg); } 50%,70% { transform: rotate(-8deg); } }
.flip[aria-pressed="true"] .a-pop { animation: dpop 4.5s cubic-bezier(.3,1.5,.55,1) infinite; animation-delay: var(--d, 0s); }
.a-pop { transform-box: fill-box; transform-origin: center bottom; }
@keyframes dpop { 0%,6% { transform: scale(0); } 16%,84% { transform: scale(1); } 94%,100% { transform: scale(0); } }
.flip[aria-pressed="true"] .a-bob { animation: bob2 2.6s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(5px) rotate(1.5deg); } }
.flip[aria-pressed="true"] .a-drop { animation: drop2 3.2s cubic-bezier(.5,0,.8,.7) infinite; }
@keyframes drop2 { 0%,15% { transform: translateY(0); } 72%,100% { transform: translateY(62px); } }
.flip[aria-pressed="true"] .a-block { animation: blk 5s ease-in-out infinite; }
@keyframes blk { 0%,12% { transform: translateY(0); } 30%,88% { transform: translateY(68px); } 100% { transform: translateY(0); } }
.flip[aria-pressed="true"] .a-car { animation: car 5s ease-in-out infinite; }
@keyframes car { 0%,32% { transform: translateX(0); } 62%,80% { transform: translateX(204px); } 88%,100% { transform: translateX(0); } }
.flip[aria-pressed="true"] .a-robot { animation: robot 6s linear infinite; }
@keyframes robot { 0%,8% { transform: translate(0,0); } 24% { transform: translate(90px,0); } 42% { transform: translate(90px,-60px); } 60% { transform: translate(180px,-60px); } 76%,100% { transform: translate(180px,0); } }
.flip[aria-pressed="true"] .a-bad { animation: bad 6s steps(1) infinite; }
@keyframes bad { 0%,30% { opacity: 1; } 31%,100% { opacity: 0; } }
.flip[aria-pressed="true"] .a-good { animation: good 6s steps(1) infinite; }
@keyframes good { 0%,30% { opacity: 0; } 31%,100% { opacity: 1; } }
.a-good { opacity: 0; }
.flip[aria-pressed="true"] .a-queen { animation: queen 4.6s cubic-bezier(.3,1.2,.55,1) infinite; }
@keyframes queen { 0%,18% { transform: translate(60px,0); } 44%,86% { transform: translate(0,0); } 100% { transform: translate(60px,0); } }
.flip[aria-pressed="true"] .a-trap { animation: trap 4.6s steps(1) infinite; }
@keyframes trap { 0%,42% { opacity: 0; } 43%,86% { opacity: 1; } 87%,100% { opacity: 0; } }
.a-trap { opacity: 0; }
.face small { font: 700 13px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; opacity: .86; }
.back small { color: var(--mango-text); opacity: 1; margin-top: 8px; flex: none; }
.face b { display: block; font: 600 clamp(24px,2.5vw,33px)/1.1 var(--display); margin-top: 12px; max-width: 12em; }
.back b { color: var(--night); font-size: clamp(21px,2vw,26px); margin-top: 5px; flex: none; }
.back p { font-size: 15.5px; line-height: 1.34; margin-top: 4px; color: var(--ink-soft); flex: none; }
.face .pet { position: absolute; right: 2%; bottom: -14%; width: 46%; aspect-ratio: 1; pointer-events: none; }
.flip-hint { margin-top: 18px; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 900px) { .flips { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .flips { grid-template-columns: 1fr; } .flip { aspect-ratio: 5/4.7; } }

/* one table, one day: the whole sky changes with the scroll, from the page's cream to the night below */
.fam { background: var(--cream); }
.famhead { padding-block: 10px 30px; }
.famhead h2 { font-size: clamp(34px,4.6vw,62px); color: var(--night); font-variation-settings: "wdth" 96; }
.famhead p { font-size: clamp(16.5px,1.5vw,20px); line-height: 1.4; color: var(--ink-soft); margin-top: 10px; max-width: 46em; }
.stage { --top: #FFF8EE; --bot: #FFF8EE; --vh: 100vh; --iw: min(84vw, 560px, calc((var(--vh) - 390px) * 1.4)); position: relative; }
.track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; max-width: 1240px; margin-inline: auto; padding: 0 var(--gur) 50px var(--gut); }
.pan { min-width: 0; display: flex; flex-direction: column; }
.scene { position: relative; aspect-ratio: 400/272; }
.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.plank { display: block; height: 14px; border-radius: 7px; background: #C98A5A; box-shadow: inset 0 -5px 0 #A85A34; position: relative; z-index: 3; }
.who { position: absolute; z-index: 2; aspect-ratio: 1; }
.ftxt { flex: 1; margin-top: 18px; padding: 18px 20px 20px; background: var(--cream); border: 2px solid var(--line); box-shadow: 0 5px 0 var(--tile-lip); border-radius: 22px; transition: transform .4s cubic-bezier(.3,1.3,.55,1); }
.ftxt h3 { font-size: clamp(22px,2vw,27px); color: var(--night); margin-top: 7px; }
.ftxt p { font-size: 16px; line-height: 1.4; color: var(--ink-soft); margin-top: 7px; }
.when { font: 700 13px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--mango-text); }
.tonight { margin-top: 10px; padding: 10px 13px; border-radius: 14px; background: #fff; border: 2px solid var(--line); font: 500 16px/1.25 var(--display); color: var(--night); }
.tonight em { display: block; font: 700 12px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--help); margin-bottom: 5px; font-style: normal; }
.orange { animation: sinkit 5.5s cubic-bezier(.45,0,.6,1) infinite; }
@keyframes sinkit { 0%,18% { transform: translateY(0); } 60%,86% { transform: translateY(54px); } 100% { transform: translateY(0); } }
.qq { transform-box: fill-box; transform-origin: center bottom; animation: qq 3.2s ease-in-out infinite; }
@keyframes qq { 50% { transform: scale(1.07) rotate(-2deg); } }
#grid1 rect { animation: cell 3.6s steps(1) infinite; animation-delay: var(--d); fill: #1F6680; }
@keyframes cell { 0%,34% { fill: #1F6680; } 35%,100% { fill: var(--glow); } }
.sunb, .moonb, .skystars, .lampglow { display: none; }
@media (max-width: 980px) { .track { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .track { grid-template-columns: 1fr; } }
/* With motion on, the table pins and pans while the day passes. */
.pinned .famhead { position: absolute; left: 0; right: 0; top: clamp(88px,calc(var(--vh) * .12),112px); z-index: 4; padding-block: 0; will-change: opacity, transform; }
.pinned .horizon { position: absolute; left: 0; right: 0; top: 0; z-index: 1; overflow: hidden; }
.pinned .stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, var(--top), var(--bot)); }
.pinned .track { display: flex; width: max-content; max-width: none; gap: clamp(16px,2.4vw,34px); margin: 0; padding: 0 calc((100vw - var(--iw)) / 2) clamp(26px,calc(var(--vh) * .05),50px); will-change: transform; position: relative; z-index: 2; }
.pinned .pan { flex: 0 0 var(--iw); }
.pinned .ftxt { opacity: .94; }
.pinned .pan.on .ftxt { transform: translateY(-4px); opacity: 1; }
.pinned .plank { margin-inline: calc(clamp(16px,2.4vw,34px) / -2); border-radius: 0; }
.pinned .pan:first-child .plank { margin-left: -100vw; }
.pinned .pan:last-child .plank { margin-right: -100vw; }
.pinned .sunb, .pinned .moonb { display: block; position: absolute; left: 0; top: 0; z-index: 1; width: clamp(64px,8vw,104px); aspect-ratio: 1; border-radius: 50%; will-change: transform, opacity; }
.pinned .sunb { background: var(--reward); box-shadow: 0 0 70px 26px rgba(242,177,52,.42); }
.pinned .moonb { background: #FFF3C9; box-shadow: 0 0 46px 14px rgba(255,243,201,.28); }
.pinned .skystars { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; }
.pinned .skystars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); animation: tw 4s ease-in-out infinite; }
.pinned .lampglow { display: block; position: absolute; z-index: 1; left: 58%; top: -6%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,227,138,.5), transparent); opacity: 0; pointer-events: none; }

/* the screenshot carousel */
.shots { background: var(--night); color: var(--cream); overflow: hidden; }
.shots-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.shots-btns { display: flex; gap: 12px; }
.roundb { width: 56px; height: 56px; padding: 0; justify-content: center; }
.roundb svg { width: 24px; height: 24px; }
.rail { display: flex; gap: clamp(14px,1.6vw,22px); overflow-x: auto; padding: 32px 20px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 clamp(150px,14.5vw,196px); min-width: 0; margin: 0; }
.phone { display: block; border-radius: clamp(24px,2.3vw,30px); padding: 6px; background: #06202A; box-shadow: 0 0 0 2px #1B4A5B, 0 18px 34px rgba(0,0,0,.4); transition: transform .3s cubic-bezier(.3,1.4,.55,1); }
.shot:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1206/2622; object-fit: cover; border-radius: clamp(19px,1.9vw,25px); background: var(--cream); }
.shot figcaption { margin-top: 12px; font: 500 16.5px/1.2 var(--display); text-align: center; color: var(--cream); }
.shot figcaption small { display: block; margin-top: 3px; font: 500 13.5px/1.25 var(--body); color: #A9C3C4; }

/* features */
.bento { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.b { position: relative; border-radius: 26px; padding: clamp(20px,2.4vw,30px); overflow: hidden; min-height: 240px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.b h3 { font-size: clamp(24px,2.5vw,33px); }
.b p { font-size: 17px; line-height: 1.42; max-width: 30em; }
.b-story { grid-column: span 3; grid-row: span 2; background: var(--night); color: var(--cream); }
.b-story p { color: #CFE0E0; }
.b-story .readline { margin-top: 10px; font: 500 clamp(22px,2.4vw,30px)/1.3 var(--display); max-width: 15em; }
.b-story .rk { position: absolute; right: -2%; bottom: -5%; width: 58%; aspect-ratio: 1; }
.b-zoo { grid-column: span 3; background: var(--mango-text); color: #fff; }
.b-zoo .gridz { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); margin-top: auto; padding-top: 10px; }
.b-zoo .gridz div { aspect-ratio: 1; }
@media (max-width: 520px) { .b-zoo .gridz { grid-template-columns: repeat(9,minmax(0,1fr)); } }
.b-lab { grid-column: span 3; background: #E9E6FB; color: #2F2868; }
.b-lab p { color: #4A4290; }
.b-lab .labs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.b-lab .labs span { padding: 6px 12px; border-radius: 99px; background: #fff; font: 500 15px/1.1 var(--display); color: #5E50B5; }
.b-little { grid-column: span 2; background: #FCE6EE; color: #6E1F3D; }
.b-off { grid-column: span 2; background: #E5F7FD; color: #123F50; }
.b-grown { grid-column: span 2; background: var(--night); color: var(--cream); }
.b-grown p { color: #CFE0E0; }
.mini { margin-top: auto; padding-top: 14px; }
.doors { display: flex; gap: 8px; }
.doors div { position: relative; flex: 1; height: 86px; border-radius: 14px 14px 4px 4px; background: #C84374; box-shadow: inset 0 -4px 0 #A8345F; overflow: hidden; }
.doors div:nth-child(2) { background: #297D9A; box-shadow: inset 0 -4px 0 #1F6680; }
.doors div:nth-child(3) { background: #7466CC; box-shadow: inset 0 -4px 0 #5E50B5; }
.doors span { position: absolute; left: 50%; bottom: -24px; width: 84px; height: 84px; margin-left: -42px; }
.planeline { position: relative; height: 70px; }
.planeline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dotted #7FB9CC; }
.plane { position: absolute; left: 0; top: calc(50% - 22px); width: 44px; height: 44px; fill: #297D9A; animation: plane 7s ease-in-out infinite alternate; }
@keyframes plane { to { left: calc(100% - 44px); } }
.keys { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; max-width: 250px; }
.keys i { font: 600 18px/34px var(--display); text-align: center; border-radius: 9px; background: var(--night-line); color: var(--cream); box-shadow: 0 3px 0 #06202A; animation: key 6s infinite; animation-delay: var(--kd, 0ms); font-style: normal; }
@keyframes key { 0%,8%,100% { transform: none; box-shadow: 0 3px 0 #06202A; color: var(--cream); } 4% { transform: translateY(3px); box-shadow: 0 0 0 #06202A; color: var(--glow); } }
.b-praise { grid-column: span 6; background: var(--sand); color: var(--night); min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 12px 30px; }
.b p.quote { max-width: none; font: 500 clamp(24px,3vw,38px)/1.18 var(--display); text-wrap: balance; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2,minmax(0,1fr)); } .b-story,.b-zoo,.b-lab,.b-praise { grid-column: span 2; } .b-little,.b-off { grid-column: span 1; } .b-grown { grid-column: span 2; } .b-story { min-height: 460px; } .b-praise { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .b-little,.b-off { grid-column: span 2; } .b-little, .b-off, .b-grown { min-height: 0; } }

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 74px 18px; margin-top: 110px; }
.room { --tone: #000; --deep: #000; --soft: #fff; position: relative; background: var(--soft); border-radius: 22px; padding: 56px 18px 20px; box-shadow: 0 5px 0 color-mix(in srgb, var(--tone) 34%, transparent); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.room-pet { position: absolute; left: 50%; top: -74px; width: 124px; height: 124px; margin-left: -62px; cursor: pointer; clip-path: inset(-20px -20px 16px -20px); }
.room h3 { font-size: 24px; color: var(--deep); text-align: center; }
.room .place { text-align: center; font-size: 14.5px; color: var(--deep); opacity: .88; margin-top: -6px; line-height: 1.2; }
.room ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.room li { padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--deep); font: 500 14.5px/1.15 var(--display); }
@media (max-width: 1000px) { .rooms { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .rooms { grid-template-columns: 1fr; } }

/* hello, hola */
.hola { background: var(--mango); color: #fff; overflow: hidden; }
.hola h2 { font-size: clamp(60px,11.5vw,170px); line-height: .92; color: #fff; font-variation-settings: "wdth" 92; }
.hola h2 span { color: var(--night); }
.hola .sub { color: #fff; font-weight: 800; font-size: clamp(19px,1.8vw,23px); }
.hola-grid { display: grid; grid-template-columns: minmax(0,1fr) clamp(160px,20vw,280px) minmax(0,1fr); align-items: center; gap: 20px; margin-top: 40px; }
.say { background: var(--cream); color: var(--night); border-radius: 22px; padding: 22px; box-shadow: 0 5px 0 var(--mango-lip); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.say p { font: 500 clamp(20px,2vw,26px)/1.3 var(--display); }
.say .btn { min-height: 46px; padding: 8px 18px; }
.say .btn.playing { --face: var(--help); --lip: #155E78; }
.hola-k { aspect-ratio: 1; }
.flipq { margin-top: 30px; background: var(--night); color: var(--cream); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 24px; align-items: center; }
.flipq .q { font: 500 clamp(21px,2.3vw,30px)/1.2 var(--display); }
.flipq .opts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.flipq .opts span { padding: 12px; border-radius: 14px; background: var(--night-card); text-align: center; font: 500 clamp(16px,1.7vw,20px)/1.15 var(--display); }
.flipbtn { --face: var(--cream); --lip: var(--sand); color: var(--night); min-height: 46px; padding: 8px 16px;  }
@media (max-width: 760px) { .hola-grid { grid-template-columns: 1fr; } .hola-k { width: 100%; max-width: 190px; justify-self: center; grid-row: 1; } }

/* left out */
.out { background: var(--night); color: var(--cream); }
.out h2 { color: var(--cream); }
#out-h span { color: var(--glow); }
.safe-line { margin-top: 26px; font: 500 clamp(21px,2.4vw,30px)/1.2 var(--display); color: #CFE0E0; }
.gone { display: flex; flex-wrap: wrap; gap: 4px clamp(16px,2.6vw,34px); margin-top: 14px; font: 600 clamp(29px,4.8vw,66px)/1.16 var(--display); font-variation-settings: "wdth" 90; }
.gone li { position: relative; color: var(--cream); transition: color .5s .3s; }
.gone li::after { content: ""; position: absolute; left: -5px; right: -5px; top: 54%; height: .11em; background: var(--mango); border-radius: 9px; transform: scaleX(0); transform-origin: left; transition: transform .52s cubic-bezier(.55,.06,.35,1); }
.gone li.x::after { transform: scaleX(1); }
.gone li.x { color: #7FA2A8; }
.safe-g { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 40px; margin-top: 34px; }
@media (max-width: 760px) { .safe-g { grid-template-columns: 1fr; } }
.none { font-size: clamp(18px,1.7vw,22px); line-height: 1.45; color: #CFE0E0; }
.none b { color: var(--glow); font-weight: 700; }
/* plus */
.plus { background: var(--cream); color: var(--ink); }
.plus-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; margin-top: 36px; }
.plan { border-radius: 24px; padding: clamp(22px,2.8vw,34px); background: #fff; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--tile-lip); }
.plan h3 { font-size: 30px; color: var(--night); }
.plan.plus-p { background: var(--night); border-color: var(--night); color: var(--cream); box-shadow: 0 5px 0 var(--night-deep); }
.plan.plus-p h3 { color: var(--cream); }
.plan ul { margin-top: 14px; display: grid; gap: 8px; font-size: 17px; }
.plan li { display: flex; gap: 10px; line-height: 1.35; }
.plan li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--reward); }
.price { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font: 600 clamp(28px,3vw,38px)/1.1 var(--display); color: var(--glow); }
.price small { font: 500 15px/1.2 var(--body); color: #CFE0E0; display: block; margin-top: 2px; }
.fine { margin-top: 18px; font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 760px) { .plus-grid { grid-template-columns: 1fr; } }

/* contact */
.contact { color: var(--cream); background: linear-gradient(180deg, var(--cream) 0, #FFE3C7 4%, #2C7F92 15%, var(--night) 30%, var(--night-deep) 100%); padding-top: clamp(150px,18vw,240px); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 40px; align-items: start; }
.contact h2 { color: var(--cream); }
.contact .sub { color: #CFE0E0; }
form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(20px,2.8vw,32px); box-shadow: 0 0 90px rgba(255,227,138,.16); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.f1 { left: 12%; top: 18%; } .f2 { left: 46%; top: 12%; animation-delay: -4s; } .f3 { left: 58%; top: 62%; animation-delay: -9s; } .f4 { left: 28%; top: 70%; animation-delay: -12s; }
.on-dark { color: var(--cream); } .on-dark-sub { color: #CFE0E0; }
.labs-more { font-size: 15.5px; margin-top: 6px; }
[data-flush] { padding-top: 0 !important; }
.flip .why { display: block; font-size: 15.5px; line-height: 1.34; margin-top: 4px; color: var(--ink-soft); flex: none; }
.lay { height: 100%; }
.lay-back { fill: #0E4557; }
.lay-front { fill: #0B3442; }
@supports (height: 100svh) { .stage { --vh: 100svh; } }
.rail .shot[aria-hidden] { display: none; }
.rail.auto .shot[aria-hidden] { display: block; }
.keys .k1 { --kd: 300ms; } .keys .k2 { --kd: 600ms; } .keys .k3 { --kd: 900ms; } .keys .k4 { --kd: 1200ms; }
.old-note { margin-top: 18px; font-size: 15.5px; line-height: 1.4; color: #B9D0D1; max-width: 34em; }
.old-note a { color: var(--glow); }
.soon-chip { align-self: flex-start; padding: 4px 11px; border-radius: 99px; background: #fff; color: #5E50B5; font: 600 14px/1.2 var(--display); }
.contact .mail a { color: var(--glow); }
.shots-btns .btn[hidden] { display: none; }
.contact .mail { margin-top: 16px; font: 600 clamp(20px,2.4vw,28px)/1.1 var(--display); }
