/* Version 2: a complete game and an object-led scroll story. */
:root { --rose: #eeb0cb; --lilac: #d4caed; }
.hero { grid-template-columns: 1.08fr 1fr; gap: 5%; padding-top: 48px; align-items: center; }
.hero-copy { align-self: center; }
h1 { font-size: clamp(62px, 6.7vw, 104px); letter-spacing: -5.5px; }
h1 em { letter-spacing: -6px; }
.hero .actions { gap: 22px; }
.experiment { background: none; border-radius: 0; padding: 0; overflow: visible; min-height: 0; display: block; }
.arch-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.18; background: var(--rose); border-radius: 50% 50% 5px 5px; overflow: hidden; }
.orbit-label { top: 18%; left: 20%; width: 60%; text-align: center; font-size: clamp(8px, .7vw, 10px); line-height: 1.5; letter-spacing: 1px; transform: none; }
.scribble { top: 36%; left: 9%; font-size: clamp(17px, 1.65vw, 25px); transform: rotate(-11deg); line-height: 1.1; }
.plate { position: absolute; left: 11%; bottom: 17%; width: 78%; height: 29%; margin: 0; transform: rotate(-7deg); box-shadow: 8px 20px 20px #70354e30; }
.mallow { position: absolute; bottom: 30%; left: 35%; width: 31%; height: auto; aspect-ratio: 1; margin: 0; z-index: 2; transform: rotate(8deg); transition: transform .45s, opacity .35s; }
.mallow .eye { top: 53%; width: 4%; height: 5%; transform: translate(var(--look-x, 0px), var(--look-y, 0px)); }
.mallow .e1 { left: 39%; }
.mallow .e2 { left: 61%; }
.mallow .smile { top: 64%; left: 47%; width: 9%; height: 6%; }
.mallow:before { height: 20%; }
.mallow:hover { transform: rotate(3deg) scale(1.07); }
.mallow:disabled { cursor: default; }
.second { left: 55%; bottom: 35%; width: 29%; margin: 0; transform: rotate(18deg); animation: second-arrives .6s cubic-bezier(.2,.8,.2,1.3) both; }
.experiment[data-state="waited"] #mallow { left: 18%; transform: rotate(-9deg); }
.experiment[data-state="taken"] #mallow { transform: rotate(-14deg) scale(.91); }
.bite { position: absolute; right: -4%; top: 12%; width: 37%; height: 37%; border-radius: 50%; background: var(--rose); box-shadow: -8px -5px 0 -2px var(--rose), 7px 9px 0 -4px var(--rose); opacity: 0; transition: opacity .25s; }
.experiment[data-state="taken"] .bite { opacity: 1; }
.experiment[data-state="taken"] .smile { width: 11%; height: 8%; border-radius: 50%; background: #4b4341; border: 0; }
.stamp { right: 4.5%; top: auto; bottom: 28%; width: clamp(72px, 7.4vw, 105px); height: auto; aspect-ratio: 1; padding: 10px; gap: 5px; font-size: clamp(7px, .65vw, 9px); transform: rotate(12deg); line-height: 1.1; z-index: 3; }
.stamp b { font-size: inherit; }
.scene-caption { position: absolute; inset: auto 8% 5%; display: flex; justify-content: space-between; align-items: center; font: 8px monospace; letter-spacing: 1px; }
.scene-caption>span:last-child { font-size: 25px; }
.game-console { padding: 23px 0 0; }
.game-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.game-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
.game-help { border: 0; border-bottom: 1px solid #8d8a80; background: none; min-height: 32px; padding: 5px 0; font-size: 10px; }
.game-help span { margin-left: 10px; }
.game-console h2 { font-size: clamp(25px, 2.4vw, 35px); letter-spacing: -1.4px; margin: 12px 0; line-height: 1.1; }
.game-console #game-rules, #extra-rules { font-size: 12px; line-height: 1.6; max-width: 470px; }
#extra-rules { border-left: 2px solid #bd5992; padding: 0 0 0 12px; margin-top: 12px; color: #62625a; }
.game-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.game-controls .button { min-height: 46px; font-size: 11px; padding: 14px 17px; gap: 18px; }
.game-controls .wait { border-radius: 4px; min-height: 46px; padding: 12px 15px; font-size: 11px; }
.game-controls .wait span { margin-left: 10px; }
.game-note { margin: 12px 0 0; font: 10px/1.6 monospace; color: #62625a; min-height: 16px; }
.game-controls .text-link { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }
#waiting-display { margin-top: 18px; }
.timer-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
#waiting-message { font-size: 11px; max-width: 70%; }
.clock { font: 33px/1 monospace; letter-spacing: -2px; white-space: nowrap; }
.clock small { font-size: 9px; letter-spacing: .5px; }
.game-progress { height: 5px; background: #dedbd1; margin-top: 10px; overflow: hidden; border-radius: 4px; }
.game-progress>span { display: block; height: 100%; width: 0; background: #a13269; transition: width .2s linear; }
#game-result { margin-top: 18px; border-top: 1px solid #c8c4b9; padding-top: 17px; }
#game-result h3 { font: italic 25px Georgia, serif; letter-spacing: -.6px; }
#game-result p { font-size: 12px; margin-top: 9px; }
.game-idea { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12%; row-gap: 40px; padding-top: 65px; padding-bottom: 40px; }
.game-idea h2 { margin-top: 23px; font-size: clamp(40px, 4.2vw, 64px); }
.idea-copy { padding-top: 35px; }
.idea-copy p+p { margin-top: 20px; }
.idea-copy .text-link { margin-top: 25px; }
.idea-foot { grid-column: 1/-1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-top: 1px solid var(--line); padding-top: 18px; font: 9px/1.5 monospace; letter-spacing: .6px; }
.object-story { --object-scale: 1; --scroll-turn: -9deg; --scroll-shift: 0px; display: grid; grid-template-columns: 1fr 1fr; background: var(--lilac); position: relative; border-bottom: 1px solid var(--line); }
.story-visual { position: sticky; top: 0; height: 100svh; max-height: 900px; min-height: 540px; display: flex; flex-direction: column; justify-content: space-between; padding: 35px 9%; overflow: hidden; }
.story-visual-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.story-visual-head .eyebrow { font-size: 9px; letter-spacing: .5px; }
#motion-toggle { font-size: 9px; line-height: 1.5; background: none; border: 1px solid #968cab; border-radius: 20px; min-height: 35px; padding: 7px 12px; white-space: nowrap; }
.character-stage { width: 100%; position: relative; height: 390px; display: grid; place-items: center; }
.character-orbit { position: absolute; width: 98%; aspect-ratio: 1; border: 1px solid #a79bbd; border-radius: 50%; transform: rotateX(65deg) rotate(-20deg); }
.story-character { width: clamp(210px, 22vw, 350px); aspect-ratio: .98; position: relative; background: radial-gradient(ellipse at 30% 12%, #fffef7 5%, #f7f0e6 50%, #d6c6c7 95%); border-radius: 42% 43% 33% 35%; box-shadow: inset -18px -20px 30px #bca6ad44, 10px 20px 35px #68517f25; z-index: 2; transform: translateY(var(--scroll-shift)) rotate(var(--scroll-turn)) scale(var(--object-scale)); transition: border-radius 1s; }
.story-character:before { content: ''; position: absolute; top: 5%; left: 9%; width: 80%; height: 15%; border-radius: 50%; background: #fffdf5; filter: blur(6px); }
.story-character .eye { top: 50%; width: 3%; height: 5%; transform: translate(var(--look-x, 0px), var(--look-y, 0px)); }
.story-character .e1 { left: 38%; }
.story-character .e2 { left: 61%; }
.story-character .smile { left: 46%; top: 62%; width: 10%; height: 7%; border-bottom: 3px solid #4b4341; }
.character-shadow { position: absolute; width: 50%; height: 20px; background: #68517f30; border-radius: 50%; bottom: 15px; filter: blur(10px); }
.character-caption { font: 9px monospace; letter-spacing: 1px; position: absolute; bottom: -15px; }
.spec-line { display: flex; flex-wrap: wrap; justify-content: space-between; font: 8px/1.7 monospace; letter-spacing: .6px; gap: 10px; border-top: 1px solid #aa9dbd; padding-top: 20px; }
.story-chapters { padding: 0 12% 0 7%; }
.story-chapter { min-height: 80svh; padding: 110px 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.chapter-number { font: 10px monospace; letter-spacing: 1px; }
.story-chapter h2 { margin: 30px 0; font-size: clamp(43px, 5vw, 77px); }
.story-chapter p { max-width: 350px; font-size: 16px; }
.chapter-aside { font: italic 17px/1.5 Georgia, serif; max-width: 285px; margin-top: 30px; }
.story-chapter .text-link { margin-top: 25px; }
.object-story[data-chapter="1"] .story-character { border-radius: 33% 35% 42% 40%; }
.object-story[data-chapter="2"] .story-character { border-radius: 44% 40% 33% 38%; }
.object-story[data-chapter="2"] .story-character .smile { background: #4b4341; border-radius: 15% 15% 60% 60%; height: 9%; }
.section-head .text-link { margin-top: 18px; }
.reveal { transition: opacity .7s, transform .7s; }
.motion-ready .reveal:not(.in-view) { opacity: 0; transform: translateY(24px); }
.filters button { min-height: 44px; }
.logo { min-height: 44px; display: inline-flex; align-items: center; }
.logo i { flex-shrink: 0; }
@keyframes second-arrives { from { opacity: 0; transform: translateY(-28px) rotate(30deg) scale(.6); } to { opacity: 1; transform: translateY(0) rotate(18deg) scale(1); } }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *:before, html[data-motion="off"] *:after { animation: none!important; transition: none!important; }
html[data-motion="off"] .story-character { transform: rotate(-8deg); }
html[data-motion="off"] .reveal { opacity: 1!important; transform: none!important; }
@media (min-width: 1500px) { .hero { padding-top: 65px; padding-bottom: 65px; } }
@media (min-width: 1001px) and (max-width: 1200px) { .hero { gap: 4%; grid-template-columns: 1fr 1fr; } h1 { font-size: 6.5vw; letter-spacing: -4px; } h1 em { letter-spacing: -4px; } .hero .actions { align-items: flex-start; flex-direction: column; } .game-controls { gap: 8px; } .game-controls .button, .game-controls .wait { padding: 12px; font-size: 10px; } }
@media (max-width: 1000px) {
 .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 45px; }
 .hero-copy { max-width: 700px; }
 h1 { font-size: clamp(65px, 11vw, 100px); letter-spacing: -5px; }
 h1 em { letter-spacing: -5px; }
 .experiment { max-width: 570px; width: 100%; justify-self: center; }
 .arch-stage { aspect-ratio: 1.3; }
 .orbit-label { font-size: 10px; }
 .scribble { font-size: 25px; }
 .stamp { width: 93px; font-size: 8px; }
 .game-console h2 { font-size: 32px; }
 .game-controls .button, .game-controls .wait { padding: 15px 20px; font-size: 12px; }
 .game-console #game-rules { max-width: none; font-size: 13px; }
 .story-visual-head { align-items: flex-start; flex-direction: column; }
 .story-visual { padding: 28px 10%; }
 .character-stage { height: 300px; }
 .story-character { width: 25vw; min-width: 180px; }
 .story-chapter h2 { font-size: 46px; }
 .story-chapter p { font-size: 14px; }
}
@media (max-width: 600px) {
 header { padding-inline: 5%; }
 .hero { padding: 35px 5% 45px; gap: 36px; }
 h1 { font-size: clamp(49px, 11.3vw, 67px); letter-spacing: -3.2px; line-height: 1.04; }
 h1 em { letter-spacing: -3.6px; }
 .hero .intro { font-size: 16px; }
 .hero .actions { gap: 20px; margin-top: 25px; }
 .hero .actions .button { font-size: 12px; padding: 16px 18px; }
 .hero .actions .text-link { font-size: 12px; }
 .arch-stage { aspect-ratio: 1.12; }
 .orbit-label { font-size: 8px; top: 18%; left: 18%; width: 64%; }
 .scribble { font-size: 19px; top: 35%; left: 8%; }
 .stamp { width: 76px; font-size: 6px; bottom: 25%; right: 3%; padding: 8px; gap: 4px; }
 .plate { bottom: 18%; }
 .scene-caption { font-size: 6px; letter-spacing: .7px; inset-inline: 8%; }
 .scene-caption>span:last-child { font-size: 22px; }
 .game-console { padding-top: 18px; }
 .game-console h2 { font-size: 28px; }
 .game-console #game-rules { font-size: 12px; }
 .game-controls { gap: 9px; }
 .game-controls .button, .game-controls .wait { padding: 13px 14px; font-size: 11px; }
 .game-idea { grid-template-columns: 1fr; gap: 25px; }
 .idea-copy { padding-top: 0; }
 .idea-copy p { font-size: 14px; }
 .idea-foot { font-size: 8px; }
 .object-story { display: block; }
 .story-visual { height: 46svh; min-height: 300px; max-height: 390px; padding: 18px 5%; top: 0; z-index: 3; background: var(--lilac); border-bottom: 1px solid #b4a6c7; }
 .story-visual-head { flex-direction: row; align-items: center; }
 .story-visual-head .eyebrow { font-size: 8px; }
 #motion-toggle { font-size: 8px; min-height: 33px; padding: 7px 9px; }
 .character-stage { height: 190px; flex: 1; }
 .story-character { width: 140px; min-width: 0; max-height: 70%; }
 .character-orbit { width: 65%; max-width: 270px; }
 .character-shadow { width: 36%; bottom: 10%; }
 .character-caption { bottom: 3%; font-size: 7px; }
 .spec-line { font-size: 7px; padding-top: 10px; }
 .story-chapters { padding: 0 7%; position: relative; }
 .story-chapter { min-height: 65svh; padding: 45px 0 65px; }
 .story-chapter h2 { font-size: 48px; margin: 20px 0; }
 .story-chapter p { max-width: 100%; font-size: 14px; }
 .chapter-aside { font-size: 16px; margin-top: 22px; }
 .manifesto>p { font-size: clamp(42px, 11.8vw, 65px); letter-spacing: -2.6px; }
}
@media (max-width: 360px) {
 .hero .actions { align-items: flex-start; flex-direction: column; }
 .game-controls .button, .game-controls .wait { padding: 12px 10px; font-size: 10px; }
 .game-console h2 { font-size: 25px; }
 .stamp { width: 66px; font-size: 5.5px; right: 3%; }
 .scribble { font-size: 16px; }
 .orbit-label { font-size: 7px; }
 .game-heading .eyebrow { font-size: 8px; }
 .founder-grid article { grid-template-columns: 95px 1fr; gap: 15px; }
 .initials { font-size: 65px; }
}
@media (prefers-reduced-motion: reduce) {
 .story-character { transform: rotate(-8deg); }
 .motion-ready .reveal:not(.in-view) { opacity: 1; transform: none; }
}
