/* Guided product tours and touch layouts. */
.language-switch{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:24px;padding:2px;flex-shrink:0;font-family:var(--mono)}
.language-switch button{min-width:37px;min-height:36px;border-radius:20px;padding:7px 9px;background:transparent;font-family:inherit;font-size:10px;line-height:1}
.language-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.in-portal .language-switch{border-color:#ffffff35}.in-portal .language-switch button[aria-pressed=true]{background:var(--paper);color:var(--ink)}
.site-header nav{gap:26px}.site-header .index-trigger>span[data-i18n]{font-size:10px}.index-trigger:hover>span[data-i18n]{transform:none}
.motion-controls button>span:first-child{border:0;margin:0}.motion-controls button>[data-motion-state]{border-bottom:1px solid currentColor;margin-left:8px}
.project-chapter{height:132svh;min-height:870px}.chapter-stage{grid-template-rows:auto auto minmax(0,1fr);height:calc(100svh - 140px);min-height:650px;gap:18px}.chapter-heading{min-height:64px}.chapter-open{text-transform:uppercase}.chapter-lead{font-size:16px;line-height:1.65;color:var(--muted);max-width:800px;margin:0 0 4px}
.product-tour{--tour-bg:#c7bddb;--tour-ink:#443350;--tour-line:#44335025;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);min-height:0;overflow:hidden;border:1px solid var(--line);background:var(--paper)}
.theme-grandma{--tour-bg:#e1e9cc;--tour-ink:#435033;--tour-line:#43503325}.theme-open{--tour-bg:#d5e1e7;--tour-ink:#26485c;--tour-line:#26485c25}.theme-cosmic{--tour-bg:#29242e;--tour-ink:#f1e4ca;--tour-line:#f1e4ca25}.theme-central{--tour-bg:#262820;--tour-ink:#dce1ce;--tour-line:#dce1ce25}.theme-br{--tour-bg:#d1dfc6;--tour-ink:#34432c;--tour-line:#34432c25}.theme-es{--tour-bg:#ead3c2;--tour-ink:#70452d;--tour-line:#70452d25}
.tour-media{position:relative;min-width:0;min-height:0;overflow:hidden;padding:35px 28px 48px;background:var(--tour-bg);isolation:isolate;touch-action:pan-y}
.tour-media:before{content:'';position:absolute;width:70%;aspect-ratio:1;left:15%;top:50%;translate:0 -50%;border:1px solid var(--tour-line);border-radius:50%;pointer-events:none;z-index:-1}
.tour-image-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;position:relative;min-height:0;background:none;cursor:zoom-in}
.tour-image{display:block;max-width:100%;max-height:100%;object-fit:contain;width:100%;height:auto;box-shadow:0 12px 30px #0002;border-radius:5px;animation:screen-in .32s ease both}
.tour-media--phone .tour-image{height:100%;width:auto;max-width:88%;border-radius:18px;box-shadow:0 14px 30px #0003}
.tour-media-label{position:absolute;left:22px;bottom:15px;color:var(--tour-ink);font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.zoom-hint{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:9px;border-radius:25px;padding:10px 14px;background:var(--ink);color:var(--paper);font-size:16px;line-height:1;box-shadow:0 4px 15px #0002}.zoom-hint>span{font-size:10px;font-family:var(--mono)}
.tour-story{padding:28px 30px;display:flex;flex-direction:column;min-width:0;overflow-y:auto;overscroll-behavior:contain}
.tour-eyebrow{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);gap:20px;margin-bottom:20px}
.tour-steps{display:flex;gap:6px;margin-bottom:24px;flex-shrink:0}
.tour-steps button{display:flex;align-items:center;justify-content:center;min-width:45px;min-height:45px;padding:12px;background:transparent;border:1px solid var(--line);color:var(--muted);border-radius:50%;font-family:var(--mono);font-size:10px;transition:background .2s,color .2s}
.tour-steps button>span+span{display:none}.tour-steps button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.tour-steps button:hover{border-color:var(--ink);color:var(--ink)}.tour-steps button[aria-pressed=true]:hover{color:var(--paper)}
.tour-copy{flex:1}.tour-copy h4{font-size:clamp(24px,2.5vw,40px);font-weight:400;line-height:1.08;letter-spacing:-.05em;margin:0 0 18px}.tour-copy p{font-size:14px;line-height:1.8;color:var(--muted);max-width:420px;margin:0}
.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;flex-shrink:0}.tour-actions .mono{font-size:8px;color:var(--muted)}.tour-actions button{min-height:46px;background:transparent;border:1px solid var(--line);border-radius:25px;padding:12px 18px;font-size:12px;white-space:nowrap;transition:background .2s,color .2s}.tour-actions button:first-child{font-size:22px;line-height:1;min-width:46px;padding:10px}.tour-actions button:last-child>span{margin-left:10px}.tour-actions button:hover:not(:disabled){background:var(--ink);color:var(--paper)}.tour-actions button:disabled{opacity:.3;cursor:default}
.tour-evidence{font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin:22px 0 0;flex-shrink:0}
.detail-bar{gap:22px}.detail-bar>.language-switch{margin-left:auto}.detail-heading{margin-bottom:36px}.detail-description{margin-bottom:40px}.detail-body .product-tour{height:650px}.detail-body .tour-copy h4{font-size:35px}.detail-body .tour-story{padding:28px}.detail-body .tour-evidence{font-size:10px}
.image-dialog{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;padding:0;background:var(--paper);color:var(--ink);overflow:hidden}
.image-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.image-bar{padding:16px var(--gutter);display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);background:var(--paper);z-index:2}.image-bar h2{font-size:14px;font-weight:400;line-height:1.5;margin:0}.image-size{margin-left:auto;background:transparent;border:1px solid var(--line);border-radius:24px;padding:12px 16px;min-height:44px;white-space:nowrap;font-family:var(--mono);font-size:9px}.image-canvas{display:flex;justify-content:center;align-items:center;overflow:auto;overscroll-behavior:contain;padding:24px;min-height:0;min-width:0}.image-canvas img{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto;flex-shrink:0}.image-dialog .image-caption{margin:0;padding:12px var(--gutter);font-size:10px;border-top:1px solid var(--line);background:var(--paper)}.image-dialog.is-original .image-canvas{display:block}.image-dialog.is-original .image-canvas img{max-width:none;max-height:none;width:auto;height:auto;margin:auto}
@keyframes screen-in{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1400px){.tour-story{padding:40px}.tour-eyebrow{margin-bottom:30px}.tour-steps{margin-bottom:32px}.tour-copy p{font-size:15px}.tour-evidence{font-size:11px}.tour-media{padding:38px 35px 50px}}
@media(min-width:901px) and (max-height:800px){.chapter-stage{min-height:520px;gap:12px}.project-chapter{min-height:780px}.chapter-heading{min-height:55px}.chapter-lead{font-size:14px}.tour-story{padding:20px}.tour-eyebrow{margin-bottom:12px}.tour-steps{margin-bottom:16px}.tour-copy h4{font-size:25px;margin-bottom:12px}.tour-copy p{font-size:12px;line-height:1.65}.tour-actions{margin-top:18px}.tour-evidence{margin-top:12px;padding-top:10px;font-size:9px}.tour-media{padding:24px 22px 38px}}
@media(max-width:1100px){.site-header nav{gap:20px}.identity-note{font-size:8px;margin-left:18px}.product-tour{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr)}.tour-story{padding:24px}.tour-media{padding:30px 20px 45px}.tour-copy p{font-size:13px}}
@media(max-width:900px){
  .project-chapter,.motion-reduced .project-chapter{height:auto;min-height:0;padding-bottom:65px;scroll-margin-top:5px}.chapter-stage,.motion-reduced .chapter-stage{position:relative;top:0;height:auto;min-height:0;gap:16px;transform:none!important;opacity:1!important}.chapter-heading{grid-template-columns:32px 1fr auto;gap:12px;min-height:55px}.chapter-heading h3{font-size:clamp(24px,4.8vw,39px)}.chapter-label{display:none}.chapter-number{font-size:8px}.chapter-open{font-size:0;width:44px;height:44px;padding:0;gap:0;display:grid;place-items:center;border-radius:50%}.chapter-open>span{font-size:24px}.chapter-lead{font-size:14px;line-height:1.75;margin-bottom:4px;max-width:590px}
  .product-tour{grid-template-columns:minmax(0,1fr) minmax(245px,.9fr)}.tour-media{height:520px}.tour-story{padding:24px 20px}.tour-copy h4{font-size:29px}.tour-steps{margin-bottom:22px}.tour-steps button{min-width:43px;min-height:43px}.tour-evidence{font-size:10px}.tour-actions{gap:8px}.tour-actions button{padding:12px 15px}.detail-body .product-tour{height:auto}.detail-body .tour-copy h4{font-size:29px}.detail-body .tour-story{padding:24px 20px}.detail-bar{gap:14px}.detail-description{gap:28px}.identity-note{display:none}.site-header nav{gap:20px}
  .hero-scene{height:185svh}.hero-stage{min-height:580px}.hero-foot{bottom:55px}.portal-coordinate{bottom:60px}.about{padding-top:90px}.work-intro{padding-top:70px}.motion-reduced .hero-scene{height:100svh}
}
@media(max-width:600px){
  :root{--gutter:18px}.site-header{height:67px;gap:12px;padding-top:env(safe-area-inset-top)}.site-header nav{gap:11px;font-size:9px}.site-header nav>a:nth-child(2){display:none}.site-header nav>a{min-height:44px;display:flex;align-items:center;gap:3px}.site-header .index-trigger>span[data-i18n]{display:none}.index-trigger{min-height:44px;min-width:34px;justify-content:center}.index-trigger>span:last-child{font-size:23px}.language-switch{gap:0;padding:2px}.language-switch button{min-width:33px;min-height:38px;font-size:10px;padding:10px 7px}.identity{font-size:21px;min-height:44px}.site-header sup{font-size:7px}.hero-meta{top:99px}.hero-caption{font-size:12px;gap:13px}.hero-scene{height:175svh}.hero-foot{font-size:8px;gap:15px}.hero-foot>span{max-width:160px}.hero-foot>a{max-width:130px}.hero-name-wrap{top:43%}.hero-stage{min-height:540px}.hero-foot{bottom:62px}.portal-heading>.mono{font-size:8px}.portal-heading>p{font-size:11.5vw}.hero-meta>span:last-child{max-width:125px}
  .work-intro h2{font-size:14vw;line-height:1.05}.work-intro h2>span{font-size:1.1em;top:0}.work-intro-bottom>p{font-size:13px;line-height:1.75}.work-intro-bottom>p br{display:none}.filters button{min-height:44px;padding:11px 14px;font-size:11px}#result-count{font-size:9px}.project-toolbar{padding-bottom:15px}.section-label{font-size:8px}.chapter-heading{gap:10px;grid-template-columns:30px 1fr 44px}.chapter-heading h3{font-size:clamp(22px,6.2vw,35px);line-height:1.05}.chapter-lead{font-size:14px;line-height:1.7}.chapter-stage{gap:13px}.project-chapter{padding-bottom:55px}
  .product-tour{display:flex;flex-direction:column}.tour-media{height:370px;flex-shrink:0;padding:22px 20px 37px}.tour-media--desktop{height:auto;min-height:230px;padding:28px 17px 40px;aspect-ratio:1.4}.tour-media--desktop .tour-image-button{height:100%}.tour-media--phone .tour-image{border-radius:12px;max-width:85%}.tour-media-label{font-size:8px;left:16px;bottom:11px}.zoom-hint{padding:11px 12px;right:-4px;bottom:0;min-height:40px}.zoom-hint>span{font-size:9px}.tour-story{overflow:visible;padding:23px 20px}.tour-eyebrow{font-size:9px;margin-bottom:17px}.tour-steps{gap:8px;margin-bottom:22px}.tour-steps button{min-width:46px;min-height:46px;font-size:11px}.tour-copy h4{font-size:27px;line-height:1.12;margin-bottom:13px}.tour-copy p{font-size:14px;line-height:1.75;max-width:none}.tour-copy{min-height:150px}.tour-actions{margin-top:20px;gap:12px}.tour-actions button{min-height:48px;padding:13px 20px;font-size:13px}.tour-actions button:first-child{min-width:48px;font-size:23px}.tour-actions .mono{font-size:9px}.tour-evidence{font-size:11px;line-height:1.65;margin-top:20px;padding-top:16px}
  .detail-bar{padding:12px 18px;gap:12px}.detail-bar>.mono{font-size:8px}.detail-bar .language-switch{margin-left:auto}.detail-bar .language-switch button{min-height:35px;min-width:31px}.detail-bar .close-button{width:40px;height:40px}.detail-body{padding:26px 18px 40px}.detail-heading h2{font-size:12vw;letter-spacing:-.07em}.detail-heading p{font-size:15px}.detail-description{margin-bottom:30px}.detail-description p{font-size:14px}.detail-description ul{font-size:13px}.detail-body .tour-story{padding:22px 19px}.detail-body .tour-copy h4{font-size:26px}.detail-body .tour-evidence{font-size:11px}.detail-next strong{font-size:25px}.detail-body .product-tour{width:100%}.image-bar{padding:12px 16px;gap:12px;flex-wrap:wrap}.image-bar h2{font-size:13px;flex:1;min-width:160px}.image-size{order:3;margin-left:0;font-size:10px}.image-canvas{padding:12px}.image-dialog .image-caption{font-size:10px;line-height:1.6;padding:12px 18px}.image-dialog .close-button{width:40px;height:40px}.about h2{font-size:11vw}.about-copy>p{font-size:14px}.take-along p{font-size:12px}.take-along .text-link{font-size:11px}.footer .section-label{font-size:8px}.motion-controls{padding:9px var(--gutter) max(9px,env(safe-area-inset-bottom));font-size:8px}.motion-controls>button{min-height:27px}.index-top{padding-bottom:20px}.index-dialog nav>a{min-height:68px}.index-dialog>p{font-size:9px}.install-dialog p{font-size:14px}.install-dialog .install-note{font-size:12px}
}
@media(max-width:360px){.site-header nav{gap:7px}.language-switch button{min-width:31px}.site-header .identity{font-size:20px}.hero-caption{font-size:11px}.hero-asterisk{font-size:30px}.hero-foot{font-size:7px}.hero-foot>span{max-width:135px}.chapter-heading h3{font-size:21px}.chapter-lead{font-size:13px}.tour-story{padding:21px 16px}.tour-media{height:340px}.tour-media--desktop{height:auto;min-height:205px}.tour-copy h4{font-size:25px}.tour-copy p{font-size:13px}.tour-steps{gap:6px}.tour-steps button{min-width:44px;min-height:44px}.tour-actions{gap:8px}.tour-actions button{padding:12px 15px}.tour-actions .mono{font-size:8px}.hero-meta{font-size:6px}.tour-evidence{font-size:10px}.detail-bar{gap:9px}.detail-bar>.mono{font-size:7px}.detail-bar .language-switch button{min-width:28px}}
@media(prefers-reduced-motion:reduce){.tour-image{animation:none}}

.chapter-number{white-space:nowrap}
@media(max-width:600px){.chapter-heading{grid-template-columns:38px 1fr 44px}.chapter-number{font-size:7px}.tour-media--phone{height:420px}}


@media(max-width:600px){}
@media(max-width:600px){.index-trigger{min-width:44px}.site-header .language-switch button{min-width:40px;min-height:40px}}
@media(min-width:901px){.tour-steps{flex-direction:column;gap:0;border-top:1px solid var(--line)}.tour-steps button{width:100%;justify-content:flex-start;gap:16px;padding:13px 15px;min-height:46px;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left}.tour-steps button>span+span{display:block;font-family:var(--sans);font-size:13px;line-height:1.4}.tour-steps button>span:first-child{font-size:9px}}
@media(min-width:901px) and (max-height:800px){.tour-steps{flex-direction:row;border:0}.tour-steps button{width:auto;min-width:43px;min-height:43px;border:1px solid var(--line);border-radius:50%;padding:11px;justify-content:center}.tour-steps button>span+span{display:none}}
