/* Full-screen scenes. Content may grow on short screens and at text zoom. */
section[id] { scroll-margin-top: var(--header-height); }
.hero-stage { height: var(--viewport-height); min-height: 640px; max-height: none; }
.hero-copy { padding-top: clamp(56px, 12svh, 170px); }
.hero-art { top: max(0px, calc((100svh - 850px) / 2)); bottom: 0; }
.hero-footer { bottom: 24px; }
.section-space { min-height: var(--viewport-height); padding-block: var(--stage-space); display: flex; align-items: center; }
.section-space > .container { flex-shrink: 0; }
.play-section { padding: 0; overflow: visible; }
.play-shell { min-height: var(--viewport-height); padding-block: var(--stage-space); }
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 12px 48px; padding-bottom: 32px; }
.section-heading .section-index { grid-column: 1 / -1; margin: 0; }
.section-heading h2 { font-size: clamp(32px, 3.3vw, 56px); }
.section-heading h2 br { display: none; }
.section-heading > p:last-child { font-size: 14px; margin: 0 0 4px; }
.play-stage { padding-bottom: 0; }
.chapter { border-radius: 12px; }
.chapter-track { gap: 16px; }
.chapter-progress { margin-top: 18px; }
.play-scroll .play-section { height: calc(var(--viewport-height) * 3); }
.play-scroll .play-shell { position: sticky; top: var(--header-height); height: var(--viewport-height); display: flex; flex-direction: column; }
.play-scroll .play-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.play-scroll .chapter-track { flex: 1; min-height: 0; display: flex; width: 100%; gap: 0; }
.play-scroll .chapter { flex: 0 0 100%; min-height: 0; padding: clamp(30px, 5svh, 72px) clamp(34px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.play-scroll .chapter h3 { font-size: clamp(38px, 4vw, 68px); line-height: 1.35; }
.play-scroll .chapter p { font-size: 15px; line-height: 1.9; margin-block: 24px 12px; }
.play-scroll .chapter-icon { width: 36px; height: 36px; margin-bottom: 20px; }
.play-scroll .chapter-number { font-size: clamp(100px, 15vw, 240px); right: 5%; top: -20px; }
.play-scroll .chapter .text-link { font-size: 14px; align-self: flex-start; }
.play-scroll .chapter-quote { position: absolute; left: 61%; top: 50%; transform: translateY(-35%); margin: 0; font-size: clamp(22px, 2.2vw, 36px); max-width: 34%; }
.play-scroll .chapter-quote small { font-size: 11px; margin-top: 24px; }
.play-scroll .chapter-progress { display: flex; flex-shrink: 0; }
.chapter-progress > div { flex: 1; }

/* A small, tactile playground with a tilted backdrop and a straight reading surface. */
.experience-section { overflow: clip; background: #f4f6fc; }
.experience-layout { gap: clamp(40px, 7vw, 120px); }
.experience-intro h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1.3; letter-spacing: -2px; }
.experience-intro > p:not(.section-index) { margin-top: 22px; }
.scene-tabs { flex-direction: row; flex-wrap: wrap; max-width: 430px; gap: 12px; margin-top: 36px; }
.scene-tabs button { border: 1px solid #d4ddec; padding: 14px 18px; border-radius: 100px; background: var(--white); gap: 8px; min-height: 50px; font-size: 13px; transition: transform .3s, background .3s; }
.scene-tabs button:nth-child(2) { transform: rotate(3deg); }
.scene-tabs button:nth-child(3) { transform: rotate(-3deg); }
.scene-tabs button[aria-selected="true"] { color: var(--white); background: var(--blue); border-color: var(--blue); transform: rotate(-5deg) translateY(-3px); box-shadow: 3px 4px 0 #bbd1fa; }
.scene-tabs button:hover { translate: 0 -3px; }
.scene-playground { position: relative; padding: 25px 0; isolation: isolate; }
.scene-playground::before { content: ''; position: absolute; inset: 30px -15px 20px; border: 1px solid #b6cafa; background: #dce7ff; border-radius: 22px; transform: rotate(4deg); z-index: -1; }
.scene-sticker { position: absolute; right: 16px; top: 2px; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; transform: rotate(7deg); }
.scene-orbit { position: absolute; width: 140px; height: 140px; border: 2px solid var(--blue); border-radius: 50%; bottom: -13px; left: -35px; z-index: -2; }
.scene-panel { border-radius: 18px; border-color: #d1daec; box-shadow: 0 14px 0 #224b9210; }
.scene-toolbar { padding: 30px 24px 22px; background: #fff; }
.scene-avatar { border-radius: 13px; background: var(--blue); color: white; transform: rotate(-7deg); }
.scene-messages { height: clamp(225px, 29svh, 360px); padding: 24px; background: #fafbff; }
.scene-narration { margin-bottom: 22px; }
.message { max-width: 92%; }
.message > p { border-radius: 2px 18px 18px; background: #e8effc; font-size: 14px; }
.message-user > p { background: var(--blue); border-radius: 18px 2px 18px 18px; }
.scene-options { padding-top: 18px; gap: 10px; min-height: 134px; }
.scene-options button { border: 1px solid #cadbf7; border-radius: 100px; background: white; padding-inline: 18px; }
.scene-bottom { background: #fafbff; }

/* One topic at a time: the navigation remains accessible throughout the scroll. */
.mentor-section { padding: 0; }
.mentor-shell { min-height: var(--viewport-height); padding-block: var(--stage-space); display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 7%; align-content: center; }
.mentor-heading { grid-column: 1; }
.mentor-heading h2 { font-size: clamp(32px, 3.1vw, 52px); }
.mentor-heading > p:last-child { font-size: 14px; margin-top: 22px; max-width: 430px; }
.mentor-layout { display: contents; }
.mentor-topics { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; align-self: start; }
.mentor-topics button { min-height: 64px; border: 1px solid #d1dcd5; border-radius: 8px; gap: 10px; padding: 12px; transition: background .25s, border-color .25s; }
.mentor-topics button:first-child { border-top: 1px solid #d1dcd5; }
.mentor-topics strong { font-size: 13px; font-weight: 550; }
.mentor-topics small, .mentor-topics svg { display: none; }
.mentor-topics button[aria-selected="true"] { background: var(--white); border-color: var(--blue); }
.mentor-panel { position: relative; grid-column: 2; grid-row: 1 / span 3; align-self: center; background: #fafffb; border: 1px solid #d7e3da; padding: clamp(24px, 3vw, 48px); border-radius: 3px 30px 3px 3px; box-shadow: 8px 9px 0 #dbe6de; }
.mentor-panel::before { content: ''; position: absolute; top: -12px; left: 38%; width: 100px; height: 24px; transform: rotate(-4deg); background: #e9d96aa6; }
.mentor-panel-top { margin-bottom: 24px; }
.mentor-count { font-size: 11px; color: var(--blue); letter-spacing: 1px; }
.mentor-panel-top > svg { display: none; }
.mentor-panel h3 { font-size: clamp(25px, 2.4vw, 38px); min-height: 108px; line-height: 1.5; }
#mentor-answer { min-height: 96px; margin-top: 18px; font-size: 14px; }
#mentor-steps { margin-top: 8px; }
#mentor-steps li { min-height: 44px; font-size: 12px; padding-block: 10px; }
.mentor-principle { margin-top: 20px; }
.mentor-scroll-cue { display: none; align-items: center; gap: 12px; font-size: 11px; color: #53635c; }
.mentor-scroll-cue > div { flex: 1; height: 2px; background: #cad8cd; }
.mentor-scroll-cue > div > span { display: block; background: #3b6750; height: 100%; transform: scaleX(.1667); transform-origin: left; }
.mentor-footnote { grid-column: 1 / -1; margin-top: 14px; max-width: 900px; }
.mentor-footnote p { font-size: 10px; }
.mentor-scroll .mentor-section { height: calc(var(--viewport-height) * 4.5); }
.mentor-scroll .mentor-shell { position: sticky; top: var(--header-height); }
.mentor-scroll .mentor-scroll-cue { display: flex; }
.mentor-scroll.mentor-static .mentor-section { height: auto; }
.mentor-scroll.mentor-static .mentor-shell { position: static; }

.studio-section { display: block; padding: 0; }
.studio-intro-screen, .studio-gallery-screen { min-height: var(--viewport-height); padding-block: var(--stage-space); display: flex; flex-direction: column; justify-content: center; }
.studio-heading h2 { font-size: clamp(36px, 4.6vw, 76px); }
.studio-stamp { margin-right: 6%; padding: 36px; border: 1px solid #afc6ee; border-radius: 50%; width: 210px; height: 210px; justify-content: center; align-items: center; }
.creation-steps { margin: clamp(48px, 10svh, 120px) 0 0; }
.creation-steps li { padding-top: 30px; }
.creation-steps li > span { font-size: 32px; line-height: 1; margin-right: 10px; opacity: .6; }
.creation-steps h3 { font-size: 19px; }
.creation-steps p { font-size: 13px; }
.studio-gallery-screen { border-top: 1px solid var(--line); }
.gallery-heading { align-items: end; margin: 0; }
.gallery-heading h3 { font-size: clamp(32px, 4vw, 62px); letter-spacing: -1px; }
.gallery-heading h3 span { font: inherit; color: var(--blue); margin: 0; }
.gallery-hint { color: var(--muted); font-size: 13px; margin-top: 14px; }
.gallery-hint span { margin-left: 16px; font-size: 10px; }
.gallery-viewport { padding: 48px 8px 40px; margin-inline: -8px; }
.gallery-track { gap: 24px; padding: 8px; }
.work { width: clamp(285px, 23vw, 355px); height: clamp(360px, 45svh, 430px); background: transparent; border-radius: 12px; padding: 0; perspective: 1000px; box-shadow: none; }
.work:hover { box-shadow: none; }
.work-surface { width: 100%; height: 100%; padding: 27px; display: flex; flex-direction: column; border-radius: 12px; transform-style: preserve-3d; border: 1px solid #223e6214; box-shadow: 0 9px 18px #182f4810; }
.work-surface > p { font-size: 11px; opacity: .75; margin-top: 10px; }
.work-radio .work-surface { background: #e7efff; }
.work-train .work-surface { background: #f6eb92; }
.work-rain .work-surface { background: #e1eae5; }
.work-traveler .work-surface { background: #ecebf0; }
.work-art { flex: 1; min-height: 190px; }
.work-title { transform: translateZ(14px); }
.work:focus-visible { outline-offset: 12px; }
.capability-grid { gap: 24px; margin-top: clamp(48px, 9svh, 100px); }
.capability-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.capability-grid article:nth-child(even) { background: #edf3fd; }
.capability-grid h3 { font-size: 18px; }
.capability-grid p { font-size: 13px; }
.download-main { min-height: 0; }
.faq-section { background: #f1f4f9; }
.faq { margin-top: 0; border: 0; padding-top: 0; align-items: start; }
.faq > h3 { font-size: clamp(30px, 4vw, 60px); }
.faq summary { font-size: 15px; min-height: 86px; }
.faq details p { font-size: 14px; }

/* The outer sign owns its layout angle; the inner surface owns pendulum motion. */
.closing-section { min-height: var(--viewport-height); display: flex; align-items: center; }
.closing-wall { height: min(680px, var(--viewport-height)); min-height: 570px; }
.hanging-sign { background: none; border: 0; padding: 0; box-shadow: none; transition: none; }
.sign-motion { position: relative; display: inline-flex; justify-content: center; align-items: center; padding: 28px 38px; background: var(--white); border: 1px solid #d5dce4; transform-origin: 50% 12px; box-shadow: 2px 9px 0 #7183980d, 0 18px 35px #5265790c; }
.sign-chat .sign-motion { background: var(--blue); border-color: #0954c5; padding: 18px 48px 30px; box-shadow: 5px 10px 0 #16479316, 0 22px 32px #0954c51a; }
.sign-what { padding: 0; }
.sign-what .sign-motion { background: var(--yellow); border-color: #dfd56e; }

@media (min-width: 768px) and (max-height: 800px) {
  .play-scroll .section-heading { padding-bottom: 22px; }
  .play-scroll .section-heading h2 { font-size: 32px; }
  .play-scroll .chapter h3 { font-size: 38px; }
  .play-scroll .chapter p { margin-block: 16px 6px; }
  .play-scroll .chapter-icon { margin-bottom: 12px; }
  .mentor-shell { gap: 16px 5%; }
  .mentor-panel { padding: 24px 30px; }
  .mentor-panel h3 { min-height: 80px; font-size: 26px; }
  .mentor-panel-top { margin-bottom: 16px; }
  #mentor-answer { margin-top: 12px; min-height: 80px; }
  .mentor-principle { margin-top: 10px; }
  .mentor-heading h2 { font-size: 32px; }
  .mentor-footnote { margin: 0; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .mentor-shell { gap: 22px 4%; }
  .mentor-topics { grid-template-columns: 1fr; gap: 6px; }
  .mentor-topics button { min-height: 46px; padding: 8px 12px; }
  .mentor-heading h2 { font-size: 34px; }
  .mentor-panel { padding: 26px; }
  .mentor-panel-top > span { font-size: 10px; }
  .scene-tabs button { padding: 12px; }
}
@media (max-width: 767px) {
  :root { --header-height: 65px; --stage-space: 28px; }
  .hero-stage { height: var(--viewport-height); min-height: 600px; max-height: none; }
  .hero-copy { padding-top: clamp(28px, 5svh, 48px); }
  .hero-art { top: 305px; bottom: 58px; }
  .hero-footer { bottom: 14px; }
  .hero h1 { font-size: 76px; }
  .hero-tagline { font-size: clamp(24px, 6.5vw, 28px); }
  .phone-back { width: min(36vw, 170px); left: 9%; top: 4%; }
  .phone-front { width: min(38vw, 180px); top: 13%; right: 7%; }
  .section-space { padding-block: 32px; }
  .play-shell { padding-block: 32px; }
  .section-heading { display: block; padding-bottom: 28px; }
  .section-heading .section-index { margin-bottom: 14px; }
  .section-heading h2 br { display: block; }
  .section-heading > p:last-child { margin-top: 16px; font-size: 12px; }
  .chapter-track { gap: 20px; }
  .chapter { min-height: calc(var(--viewport-height) - 64px); padding: 34px; display: flex; flex-direction: column; justify-content: center; }
  .chapter h3 { font-size: 36px; }
  .chapter p { font-size: 13px; }
  .chapter-icon { margin-bottom: 26px; }
  .chapter-quote { position: static; max-width: none; font-size: 19px; margin-top: 30px; transform: rotate(-3deg); }
  .chapter-quote > span { display: none; }
  .chapter-quote small { font-size: 10px; }
  .chapter .text-link { max-width: none; align-self: start; font-size: 13px; }
  .experience-layout { gap: 20px; }
  .experience-intro h2 { font-size: 36px; line-height: 1.25; letter-spacing: -1px; }
  .experience-intro > p:not(.section-index):not(.example-disclaimer) { font-size: 12px; margin-top: 12px; }
  .experience-intro > p:not(.section-index) br { display: none; }
  .experience-intro .section-index { margin-bottom: 12px; }
  .scene-tabs { gap: 8px; flex-wrap: nowrap; margin-top: 22px; }
  .scene-tabs button { font-size: 10px; gap: 5px; padding: 10px 6px; min-height: 44px; }
  .experience-intro .example-disclaimer { display: none; }
  .scene-playground { padding: 16px 0 12px; }
  .scene-playground::before { inset: 23px 0 16px; transform: rotate(3deg); }
  .scene-sticker { font-size: 9px; padding: 8px 12px; top: -1px; right: 10px; gap: 8px; }
  .scene-sticker svg { width: 14px; height: 14px; }
  .scene-orbit { width: 80px; height: 80px; bottom: 0; left: -12px; }
  .scene-toolbar { padding: 22px 15px 13px; }
  .scene-messages { height: 196px; padding: 16px; }
  .scene-narration { font-size: 10px; margin-bottom: 14px; }
  .message > p { padding: 12px; font-size: 12px; }
  .scene-options { min-height: 116px; padding: 12px 14px; gap: 6px; }
  .scene-options button { min-height: 44px; padding: 8px 12px; font-size: 11px; }
  .scene-bottom { padding: 11px 14px; font-size: 9px; }
  .mentor-shell { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
  .mentor-heading h2 { font-size: 30px; }
  .mentor-heading .section-index { margin-bottom: 12px; }
  .mentor-heading > p:last-child { font-size: 12px; margin-top: 12px; }
  .mentor-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mentor-topics button { padding: 8px; min-height: 44px; gap: 6px; }
  .mentor-topics strong { font-size: 10px; line-height: 1.5; }
  .mentor-topics button > span { font-size: 9px; }
  .mentor-panel { grid-column: 1; grid-row: auto; padding: 22px; border-radius: 3px 22px 3px 3px; box-shadow: 5px 6px 0 #dbe6de; }
  .mentor-panel-top { margin-bottom: 14px; gap: 9px; font-size: 10px; }
  .mentor-count { font-size: 10px; }
  .mentor-panel h3 { min-height: 74px; font-size: 23px; }
  #mentor-answer { font-size: 12px; min-height: 86px; margin-top: 10px; }
  #mentor-steps li { font-size: 11px; padding-block: 8px; gap: 12px; min-height: 36px; }
  .mentor-principle { margin-top: 12px; font-size: 10px; }
  .mentor-panel .text-link { font-size: 11px; margin-top: 0; }
  .mentor-footnote { margin: 0; gap: 8px; }
  .mentor-footnote p { font-size: 9px; }
  .mentor-footnote svg { width: 16px; }
  .mentor-scroll-cue { font-size: 9px; }
  .mentor-scroll .mentor-section { height: calc(var(--viewport-height) * 3.5); }
  .mentor-scroll .mentor-shell { gap: 14px; }
  .mentor-scroll .mentor-footnote { display: none; }
  .mentor-scroll .mentor-shell { padding-block: 20px; gap: 12px; }
  .mentor-scroll .mentor-heading h2 { font-size: 28px; }
  .mentor-scroll .mentor-heading .section-index { margin-bottom: 8px; }
  .mentor-scroll .mentor-heading > p:last-child { font-size: 11px; margin-top: 8px; }
  .mentor-scroll .mentor-panel { padding: 18px; }
  .mentor-scroll .mentor-panel h3 { font-size: 22px; min-height: 66px; }
  .mentor-scroll #mentor-answer { min-height: 68px; }
  .mentor-scroll .mentor-principle { display: none; }
  .mentor-scroll .mentor-panel-top { margin-bottom: 12px; }
  .mentor-scroll .mentor-panel .text-link { margin-top: 8px; }
  .studio-intro-screen, .studio-gallery-screen { padding-block: 40px; }
  .studio-heading h2 { font-size: 36px; }
  .creation-steps { margin-top: 45px; gap: 28px; }
  .creation-steps li { padding-top: 20px; }
  .creation-steps li > span { font-size: 26px; }
  .creation-steps h3 { font-size: 16px; }
  .creation-steps p { font-size: 12px; }
  .gallery-heading { gap: 8px; }
  .gallery-heading h3 { font-size: 31px; }
  .gallery-heading h3 span { display: block; }
  .gallery-hint { font-size: 11px; }
  .gallery-hint span { display: block; margin: 4px 0 0; font-size: 9px; }
  .gallery-heading .section-index { font-size: 10px; }
  .gallery-buttons .icon-button { width: 44px; height: 44px; }
  .gallery-viewport { padding-top: 36px; }
  .gallery-track { gap: 18px; }
  .work { width: 270px; height: 360px; }
  .work-surface { padding: 22px; }
  .capability-grid { gap: 12px; margin-top: 28px; }
  .capability-grid article { padding: 18px 16px; }
  .capability-grid h3 { font-size: 14px; }
  .capability-grid p { font-size: 11px; }
  .possibilities-heading { gap: 20px; }
  .possibilities-heading > img { width: 80px; }
  .download-main { gap: 35px; }
  .download-main h2 { font-size: 46px; }
  .release-panel { min-height: 270px; }
  .release-panel h3 { margin-top: 18px; }
  .faq { gap: 40px; }
  .faq > h3 { font-size: 36px; }
  .faq summary { font-size: 13px; min-height: 82px; }
  .faq details p { font-size: 12px; }
  .closing-wall { min-height: 0; height: 540px; }
  .sign-here { top: 50px; left: 7%; font-size: 35px; }
  .sign-you { top: 173px; left: 1%; font-size: 34px; }
  .sign-chat { top: 226px; left: 27%; font-size: 78px; letter-spacing: -5px; }
  .sign-what { top: 398px; left: 40%; font-size: 36px; }
  .sign-motion { padding: 23px 22px; }
  .sign-chat .sign-motion { padding: 22px 26px 28px; }
  .sign-question { font-size: 44px; }
  .wall-caption { left: 0; bottom: 5px; font-size: 10px; }
  .sign-scribble { left: 22px; right: 22px; bottom: 16px; }
}
@media (max-width: 400px) {
  .experience-section { padding-block: 22px; }
  .experience-intro h2 { font-size: 34px; }
  .experience-layout { gap: 14px; }
}
@media (max-width: 767px) and (max-height: 740px) {
  .hero-stage { min-height: 570px; }
  .hero-copy { padding-top: 24px; }
  .hero h1 { font-size: 64px; }
  .hero-art { top: 265px; }
  .phone-back { width: 120px; }
  .phone-front { width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-tabs button:hover { translate: none; }
  .work-surface { transform: none !important; }
}
