@import url('/city.css');
@import url('/project-process.css');
@import url('/faq.css');
@import url('/career.css');
@import url('/technology-marquee.css');

:root{--header-height:64px}

:root,html[data-theme=light]{--bg:#f7f5ee;--ink:#19191b;--soft:#555451;--panel:#e9e5dc;--gold:#ff6b24;--button-ink:#19191b;--gutter:clamp(18px,4vw,64px);color-scheme:light}
html[data-theme=dark]{--bg:#111214;--ink:#f7f4ed;--soft:#c5c1b9;--panel:#222326;--gold:#ff6b24;--button-ink:#19191b;color-scheme:dark}
body{font-family:Bricolage,system-ui,sans-serif;background:var(--bg);color:var(--ink)}
a,button{touch-action:manipulation}button,a{outline-offset:4px}:focus-visible{outline-color:var(--ink)}
.button{min-height:48px;border-radius:5px;background:var(--gold);color:var(--button-ink);gap:16px;padding:13px 21px}
.button:hover{background:#ff834a}.button:focus-visible,.text-link:focus-visible{outline-color:var(--ink)}
.text-link{min-height:44px}.icon-button{min-height:44px;min-width:44px;border:0;border-radius:5px;background:var(--panel);color:var(--ink)}
.contact-dialog .contact-channels{gap:10px;margin-top:24px}
.contact-channels>.contact-channel{width:100%;min-height:56px;padding:12px 16px;border-radius:5px;background:var(--panel)}
.contact-channels>.contact-channel-primary{justify-content:flex-start;background:var(--gold);color:var(--button-ink)}
.contact-channel-primary .social-brand-whatsapp{width:30px;height:30px;padding:3px;background:#fff;border-radius:50%}
.contact-email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;align-items:center;min-width:0;padding-right:8px;border-radius:5px;background:var(--panel)}
.contact-email-row>.contact-channel{width:100%;min-width:0;padding:12px 16px}.contact-email-row strong{display:block;font-weight:650}
.contact-email-address{display:block;font-size:14px;font-weight:450;color:var(--soft);overflow-wrap:anywhere;user-select:text}
.contact-copy{min-height:44px;padding:9px 11px;border:1px solid #767169;border-radius:5px;color:var(--ink);font-size:14px;line-height:1.3;white-space:nowrap}
.contact-copy:hover{background:var(--bg)}.contact-copy-status{min-height:1.5em;margin:14px 0 0}.contact-dialog-note{margin:8px 0 0;color:var(--soft)}.contact-dialog-note a{display:inline-flex;align-items:center;min-height:44px}
.contact-copy-status:empty{display:none}
@media(max-width:430px){.contact-email-row{grid-template-columns:minmax(0,1fr);padding:0}.contact-email-row>.contact-channel{padding-bottom:6px}.contact-email-row>.contact-copy{justify-self:start;margin:0 16px 12px}}
.site-header{height:var(--header-height);padding:0 var(--gutter);gap:28px;background:var(--bg);color:var(--ink)}
.wordmark{font-family:Pixelify,Bricolage,sans-serif;font-size:32px;letter-spacing:-1px;white-space:nowrap}.wordmark span{color:var(--gold)}
.main-nav{gap:23px}.main-nav a{font-size:15px;min-height:44px;display:flex;align-items:center;padding:8px 0}
.header-actions{gap:13px;flex:none}
.header-contact{font-size:14px;min-height:44px;padding:11px 17px;gap:13px}
#mobile-menu{top:var(--header-height);padding:20px var(--gutter) 28px;background:var(--bg);box-shadow:0 12px 20px #0002;max-height:calc(100svh - var(--header-height));overflow:auto}#mobile-menu>a{font-size:19px;min-height:48px;display:flex;align-items:center}.mobile-languages{display:flex;gap:26px;margin-top:6px}
.site-footer,.viewer-page .site-footer,.direct-page .site-footer{padding:28px var(--gutter);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;background:var(--bg);color:var(--ink)}
.site-footer .footer-name{font-size:22px;line-height:1.2;letter-spacing:-.04em;font-weight:650;display:inline-block}.footer-name span{color:var(--gold)}
.footer-socials{display:flex;gap:8px;align-items:center;justify-content:center}.footer-socials a{display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;text-decoration:none}.footer-socials :is(svg,img){width:20px;height:20px;flex:none}.footer-socials span{font-size:13px}.footer-socials a:hover{color:var(--ink);background:var(--panel);border-radius:5px}.social-brand-icon{display:block;object-fit:contain}html[data-theme=dark] .social-brand-github{filter:invert(1)}
.site-footer>.footer-legal{display:flex;gap:16px;justify-content:flex-end;align-items:center;font-size:13px;color:var(--soft);margin:0;flex-wrap:wrap}.footer-legal a{min-height:44px;display:flex;align-items:center}
.direct-page,.viewer-reading{--direct-space:clamp(72px,9vw,136px)}
.direct-main{max-width:1440px;margin:auto;padding:0 var(--gutter)}
.direct-main section[id],.viewer-reading section[id]{scroll-margin-top:calc(var(--header-height) + 26px)}
.direct-hero{min-height:85svh;padding:140px 0 70px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px}
.direct-hero-copy{max-width:1040px}.direct-identity{display:flex;align-items:center;gap:22px}.direct-identity img{width:85px;height:104px;object-fit:cover;object-position:50% 30%;border-radius:5px;flex:none}
.direct-role{font-size:15px;color:var(--soft);margin-bottom:9px}.direct-identity h1,.direct-identity h2{font-size:clamp(43px,7.5vw,96px);line-height:1;letter-spacing:-.055em;max-width:none}
.direct-offer{font-size:clamp(27px,3.3vw,43px);line-height:1.2;letter-spacing:-.035em;max-width:30ch;margin-top:32px;font-weight:550;text-wrap:balance}
.direct-description{font-size:18px;color:var(--soft);max-width:64ch;margin-top:24px}.direct-signature{font-size:15px;color:var(--soft);margin-top:25px}.direct-world-link{font-size:15px}
.direct-section{padding:var(--direct-space) 0}.direct-section-intro{display:grid;gap:24px;max-width:1080px;margin-bottom:44px}.direct-section-intro h2,.direct-about h2{font-size:clamp(36px,4.5vw,62px);max-width:19ch}.direct-section-intro>p{font-size:18px;color:var(--soft);max-width:52ch}
.direct-expertise{display:grid;gap:30px;margin:0}.direct-expertise dt,.direct-method dt{font-weight:650;font-size:22px;line-height:1.2;letter-spacing:-.02em}.direct-expertise dd,.direct-method dd{margin:10px 0 0;color:var(--soft);line-height:1.55;max-width:53ch}
.direct-cases{display:grid;gap:75px}.direct-case{display:grid;gap:28px;align-items:center;min-width:0}.direct-case-copy{min-width:0}.direct-case h3{font-size:clamp(31px,3.3vw,46px);max-width:21ch;line-height:1.08}.direct-case-role{font-size:15px;color:var(--soft);margin-top:16px}.direct-case-copy>p:not(.direct-case-role){font-size:17px;line-height:1.55;margin-top:18px}.direct-case-detail{color:var(--soft);font-size:16px!important}.direct-case-copy>.text-link{margin-top:17px}
.project-mockup{position:relative;display:block;min-width:0;width:100%;aspect-ratio:1.47;text-decoration:none;isolation:isolate;--mockup-play:paused}
.device-frame{display:block;position:absolute;overflow:hidden;background:#202124;border-radius:9px;box-shadow:0 15px 30px #0002}.device-frame>img{display:block;width:100%;height:auto;object-fit:cover;background:#fff}.device-desktop{left:0;top:6%;width:94%;padding:0 5px 5px}.device-browser{height:29px;padding:0 9px;display:flex;align-items:center;gap:5px;color:#e6e6e6;font-size:10px;font-family:Bricolage,sans-serif}.device-browser>span:not(:last-child){width:5px;height:5px;background:#909398;border-radius:50%;display:block}.device-browser>span:last-child{margin-left:9px;white-space:nowrap}.device-mobile{right:0;bottom:4%;width:26%;padding:7px;border-radius:17px;transform:rotate(3deg)}.device-mobile>img{border-radius:11px}.device-mobile::after{content:'';position:absolute;top:10px;left:38%;right:38%;height:5px;border-radius:4px;background:#202124}.project-mockup:hover .device-browser>span:last-child{text-decoration:underline}.project-mockup:focus-visible{outline-offset:7px}
.direct-about{display:grid;gap:35px;align-items:center}.direct-about-portrait{max-width:420px}.direct-about-portrait img{display:block;width:100%;height:auto;aspect-ratio:4/4.4;object-fit:cover;object-position:50% 32%;border-radius:5px}.direct-about>div>p{font-size:18px;max-width:58ch;margin-top:25px;color:var(--soft)}
.direct-contact .panel-actions{margin-top:0}.direct-contact-content{display:grid;gap:55px}.direct-contact .contact-email{font-size:clamp(25px,3vw,39px)}.direct-availability{margin-top:22px}.direct-method{max-width:45ch}.direct-method h3{font-size:29px;max-width:none}.direct-method dl{display:grid;gap:22px;margin:27px 0 0}.direct-method dt{font-size:17px}.direct-method dd{font-size:16px;margin-top:6px}
.direct-page .site-footer{max-width:1440px;margin:auto}.direct-page [data-reading]{display:none}
@media(min-width:620px){.direct-expertise,.skills-list{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-identity img{width:108px;height:132px}.direct-identity{gap:28px}}
@media(min-width:960px){.direct-hero{min-height:90svh;padding-top:145px}.direct-section-intro{grid-template-columns:1.05fr 1fr;gap:65px;align-items:end;margin-bottom:60px}.direct-case{grid-template-columns:1.15fr 1fr;gap:65px}.direct-case:nth-child(even) .project-mockup{order:2}.direct-cases{gap:120px}.direct-contact-content{grid-template-columns:1.1fr 1fr;gap:85px}.direct-expertise{column-gap:65px;row-gap:38px}.skills-list{gap:27px 65px}.direct-about{grid-template-columns:.8fr 1.2fr;gap:9vw}.direct-about-portrait{width:100%}.direct-main section[id]{scroll-margin-top:calc(var(--header-height) + 29px)}}
@media(max-width:1180px){.main-nav{display:none}.menu-toggle{display:flex}.header-actions{margin-left:auto}.footer-socials span{display:none}}
@media(max-width:700px){
 :root{--header-height:60px}
 .site-header{height:var(--header-height);gap:10px;padding-inline:16px}.wordmark{font-size:28px}.header-actions{gap:9px}.header-actions>.menu-toggle{display:flex}.header-actions>.menu-toggle{background:transparent;min-height:44px;min-width:44px;padding:5px;font-size:23px}#mobile-menu{top:var(--header-height);max-height:calc(100svh - var(--header-height))}
 .site-footer{padding:24px var(--gutter) 30px;gap:13px 16px}.site-footer .footer-name{font-size:20px}.footer-socials{gap:4px}.footer-socials a{min-width:44px;min-height:44px}.site-footer>.footer-legal{font-size:12px}
 .direct-hero{min-height:85svh;padding-top:112px;padding-bottom:55px}.direct-identity{gap:16px}.direct-identity img{width:66px;height:82px}.direct-identity h1,.direct-identity h2{font-size:43px}.direct-role{font-size:14px}.direct-offer{font-size:27px;max-width:26ch;margin-top:27px}.direct-description{font-size:17px}.direct-signature{font-size:14px}.direct-section-intro>p,.direct-expertise dd,.direct-about>div>p{font-size:17px}.direct-section-intro{margin-bottom:35px}.direct-expertise dt{font-size:21px}.direct-section-intro h2,.direct-about h2{font-size:38px;max-width:19ch}.direct-case h3{font-size:34px}.direct-case-copy>p:not(.direct-case-role){font-size:17px}.direct-case-detail{font-size:16px!important}.direct-cases{gap:74px}.project-mockup{aspect-ratio:1.5}.device-browser{font-size:9px;height:23px;padding-inline:6px}.device-browser>span:last-child{margin-left:4px}.device-mobile{padding:5px;border-radius:13px}.device-mobile>img{border-radius:9px}.device-mobile::after{height:4px;top:8px}.direct-about-portrait{max-width:75%;order:2}.direct-about{gap:30px}.direct-contact .panel-actions{gap:20px}
}
@media(max-width:360px){.site-header{padding-inline:13px;gap:5px}.wordmark{font-size:25px}.header-actions{gap:5px}.direct-identity{gap:13px}.direct-identity img{width:55px;height:69px}.direct-identity h1,.direct-identity h2{font-size:37px}.direct-role{font-size:13px}.direct-offer{font-size:25px}.direct-section-intro h2,.direct-about h2{font-size:34px}.footer-socials span{display:none}.direct-case h3{font-size:31px}}
@media(prefers-reduced-motion:no-preference){
 .project-mockup.is-visible{--mockup-play:running}.device-desktop{animation:device-float 5.8s ease-in-out infinite;animation-play-state:var(--mockup-play)}.device-mobile{animation:phone-float 5.2s ease-in-out infinite;animation-play-state:var(--mockup-play)}.page-hidden .device-frame{animation-play-state:paused}
 @keyframes device-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-3px)}}@keyframes phone-float{0%,100%{transform:translateY(-4px) rotate(3deg)}50%{transform:translateY(4px) rotate(3deg)}}
 .revealed .direct-section-intro,.revealed .direct-about-portrait{animation:direct-reveal .5s ease both}@keyframes direct-reveal{from{transform:translateY(14px);opacity:.7}to{transform:translateY(0);opacity:1}}
}
@media(prefers-reduced-motion:reduce){.device-frame{animation:none!important}.device-mobile{transform:rotate(3deg)}}

/* The capsule shares its responsive height with navigation and scene layout. */
.site-header{width:min(1280px,calc(100% - 72px));left:50%;right:auto;transform:translateX(-50%);background:transparent;padding-inline:24px;gap:32px;isolation:isolate}.site-header::before{content:'';position:absolute;inset:4px 0;z-index:-1;border:1px solid #7775;border-radius:18px;background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.header-contact{border:2px solid var(--ink);box-shadow:0 3px 0 var(--ink);padding:9px 15px}.header-contact:active{box-shadow:0 1px 0 var(--ink)}.header-actions>[data-theme-toggle],.language-picker>summary{border-radius:12px;background:var(--panel)}.language-picker>summary{min-width:44px;justify-content:center}.site-header #mobile-menu{border-radius:0 0 18px 18px}
@media(max-width:700px){.site-header{width:calc(100% - 24px);padding-inline:18px;gap:10px}.site-header::before{left:0;right:0;border-radius:16px}.header-actions{gap:6px}}
@media(max-width:360px){.site-header{padding-inline:18px}.header-actions{gap:4px}}

.skill-symbol{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;color:var(--ink)}.skill-symbol .skill-icon{position:static;width:32px;height:32px;left:auto;top:auto}.skill-symbol .skill-pair{display:flex;align-items:center;justify-content:center;gap:3px;width:49px;height:32px}.skill-symbol .skill-pair img{width:23px;height:29px;object-fit:contain}.skill-description h4{display:block}.skill-description p{font-size:16px}.skills-list{gap:27px 38px}

.main-nav{gap:30px}.header-actions{gap:14px}.theme-glyph{width:21px;height:21px;display:block}.theme-sun{display:none}html[data-theme=dark] .theme-moon{display:none}html[data-theme=dark] .theme-sun{display:block}.header-actions>.theme-toggle{display:inline-flex;border-radius:12px;background:var(--panel)}
@media(max-width:700px){.header-actions{gap:6px}.header-actions>.language-picker{display:block}.site-header .header-actions>.theme-toggle{display:inline-flex}.header-actions>.header-contact{display:inline-flex;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;gap:0}.header-contact-label{display:none}.header-contact>span:last-child{font-size:19px}.site-header .wordmark{font-size:28px}}
@media(max-width:360px){.header-actions>.header-contact{display:none}.header-actions{gap:4px}.site-header .wordmark{font-size:25px}}

.mobile-languages>a{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;font-size:14px}.mobile-languages [aria-current]{font-weight:700;text-decoration-thickness:3px}

:root,html[data-theme=light],html[data-theme=dark]{--page-max:1280px;--layout-edge:max(36px,calc((100vw - 1280px) / 2));--gutter:24px}
.site-header,.viewer-main,.direct-main,.site-footer{width:min(var(--page-max),calc(100% - 72px));max-width:var(--page-max);margin-inline:auto}.site-header{padding-inline:var(--gutter)}.viewer-main{max-width:var(--page-max)}.viewer-reading{max-width:100%;width:100%}.site-footer{padding-inline:var(--gutter)}
.direct-page,.viewer-reading{--direct-space:clamp(44px,5vw,76px)}.direct-hero{min-height:0;padding:124px 0 48px}.viewer-reading .direct-hero{min-height:0;padding:55px 0 24px}.direct-section-intro{margin-bottom:34px}.direct-cases{gap:72px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.brand-image{display:block;background:none}.brand-image img{display:block;width:100%;height:auto;object-fit:contain}.brand-image .brand-dark{display:none}html[data-theme=dark] .brand-image .brand-light{display:none}html[data-theme=dark] .brand-image .brand-dark{display:block}.project-logo{width:100%;max-width:320px;margin-bottom:24px}
.project-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:24px}.project-actions .button{font-size:14px;min-height:44px;padding:12px 18px;white-space:nowrap}.button-secondary{background:var(--panel);color:var(--ink)}.button-secondary:hover{background:var(--panel);text-decoration:underline}.project-detail{min-width:0}.project-detail summary{cursor:pointer;list-style:none}.project-detail summary::-webkit-details-marker{display:none}.project-detail-content{font-size:16px;line-height:1.55;color:var(--soft);margin-top:18px}
.contact-links{display:grid;gap:4px;margin-top:24px}.contact-channel{display:flex;align-items:center;gap:14px;min-height:52px;padding:7px 0;text-decoration:none;width:fit-content;max-width:100%;font-size:18px;font-weight:650;line-height:1.45}.contact-channel :is(svg,img),.viewer-card .contact-links .contact-channel :is(svg,img){width:24px;height:24px;flex:none}.contact-channel span{min-width:0;overflow-wrap:anywhere}.contact-channel:hover span{text-decoration:underline}.header-contact-icon{width:19px;height:19px;display:none}
@media(max-width:700px){:root,html[data-theme=light],html[data-theme=dark]{--layout-edge:12px;--gutter:18px}.site-header,.viewer-main,.direct-main,.site-footer{width:calc(100% - 24px)}.site-header{padding-inline:18px}.direct-main,.viewer-reading{padding-inline:18px}.direct-hero{padding:108px 0 34px}.viewer-reading .direct-hero{padding-top:44px}.direct-section-intro{gap:20px}.direct-cases{gap:54px}.direct-contact-content{gap:36px}.contact-channel{font-size:16px}.header-contact-icon{display:block}.project-logo{max-width:270px}}

@media(min-width:701px) and (max-width:959px){.site-footer,.viewer-page .site-footer,.direct-page .site-footer{grid-template-columns:minmax(0,1fr) auto}.site-footer>.footer-legal{grid-column:1/-1;justify-content:center}}
@media(max-width:700px){.site-footer,.viewer-page .site-footer,.direct-page .site-footer{grid-template-columns:minmax(0,1fr);gap:8px;justify-items:center}.site-footer>*{min-width:0;max-width:100%}.footer-socials{flex-wrap:wrap;justify-content:center}.site-footer>.footer-legal{grid-column:1;justify-content:center;gap:4px 16px}}

/* Reading keeps contact available immediately; only the 3D tour gates its action. */
.inquiry-cta{position:fixed;z-index:25;right:calc(var(--layout-edge) + var(--gutter));bottom:max(24px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto;min-width:0;min-height:58px;padding:12px 17px 15px;border:2px solid var(--button-ink);border-radius:5px;background:var(--gold);color:var(--button-ink);box-shadow:inset 0 -4px 0 #0002,0 4px 0 var(--button-ink);visibility:hidden;pointer-events:none}.inquiry-cta::before,.inquiry-cta::after{content:'';position:absolute;top:-9px;width:23px;height:9px;background:var(--gold);border:2px solid var(--button-ink);border-bottom:0;border-radius:4px 4px 0 0}.inquiry-cta::before{left:22%}.inquiry-cta::after{right:23%}.inquiry-cta .viewer-contact-label{display:block;visibility:inherit;font-family:Bricolage,sans-serif;font-size:14px;font-weight:650;line-height:1.25;white-space:nowrap;text-align:left;color:var(--button-ink)}.inquiry-cta-icon{display:block;width:24px;height:24px;flex:none}.inquiry-cta:hover{background:#ff834a}.inquiry-cta:active{transform:translateY(2px)}
.tour-complete.world-loaded .viewer-page .inquiry-cta,.direct-page .inquiry-cta,.reading .viewer-page .inquiry-cta,.graphics-failed .viewer-page .inquiry-cta{visibility:visible;pointer-events:auto}
@media(max-width:700px){.inquiry-cta{right:calc(var(--layout-edge) + 12px);bottom:max(14px,env(safe-area-inset-bottom));width:auto;height:54px;min-height:54px;padding:9px 14px 12px;gap:9px}.inquiry-cta .viewer-contact-label{font-size:13px}.inquiry-cta-icon{width:22px;height:22px}.inquiry-cta::before,.inquiry-cta::after{width:19px;height:8px;top:-8px}}
@media(prefers-reduced-motion:no-preference){.inquiry-cta{animation:project-cta-breathe 5s ease-in-out infinite;animation-play-state:paused}.tour-complete.world-loaded .viewer-page .inquiry-cta.is-visible:not(:disabled),.direct-page .inquiry-cta.is-visible,.reading .viewer-page .inquiry-cta.is-visible:not(:disabled),.graphics-failed .viewer-page .inquiry-cta.is-visible:not(:disabled){animation-play-state:var(--inquiry-motion,running)}body.page-hidden,body.contact-visible,body:has(dialog[open]){--inquiry-motion:paused}@keyframes project-cta-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}}
.project-quote{margin:24px 0 0;padding:19px 20px;background:var(--panel);border-radius:5px;overflow-anchor:none}.project-quote blockquote{margin:0}.project-quote blockquote p{font-size:16px;line-height:1.55;color:var(--ink);margin:0}.project-quote figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid color-mix(in srgb,var(--ink) 18%,transparent);padding-top:12px;font-size:13px;font-weight:600;line-height:1.45;color:var(--soft);margin-top:14px}.project-quote-icon{display:block;width:22px;height:22px;flex:none;color:var(--ink)}
.site-header{gap:24px}.site-header .wordmark{display:inline-flex;align-items:center;gap:8px}.header-character{display:block;flex:none;width:36px;height:40px;object-fit:contain}.site-header .main-nav{margin-left:0;gap:26px}.site-header .header-actions{margin-left:auto}.language-flag{font-family:system-ui,sans-serif;font-size:19px;line-height:1;flex:none}.language-picker summary,.language-picker a,.mobile-languages a{display:flex;align-items:center;gap:8px}.language-picker a{min-height:44px}.mobile-languages{gap:14px}
@media(min-width:1101px) and (max-width:1180px){.site-header .main-nav{display:flex}.site-header .header-actions>.menu-toggle{display:none}}
@media(max-width:700px){.site-header{padding-inline:16px;gap:8px}.site-header .wordmark{gap:6px}.header-character{width:27px;height:34px}.language-current{display:none}.language-picker>summary{padding:8px;min-width:44px}.language-flag{font-size:20px}}
@media(max-width:360px){.site-header{padding-inline:14px;gap:6px}.site-header .wordmark{gap:4px}.header-character{width:26px;height:34px}}

/* Remove gated actions from layout, hit testing and accessibility until completion. */
body:not(.tour-complete):not(.reading):not(.graphics-failed) .viewer-page .inquiry-cta[data-question]{display:none;visibility:hidden;pointer-events:none;animation:none}

.tour-complete .viewer-page .site-footer,.direct-page .site-footer,.reading .viewer-page .site-footer,.graphics-failed .viewer-page .site-footer{padding-bottom:max(96px,calc(env(safe-area-inset-bottom) + 80px))}

/* The visible handle fits beside the same touch controls at small widths. */
.site-header .wordmark{min-height:44px}
@media(max-width:700px){.site-header .wordmark{font-size:clamp(16px,5vw,26px);gap:4px}}
@media(max-width:360px){.site-header{padding-inline:12px;gap:4px}.site-header .wordmark{gap:3px}.header-character{width:22px;height:30px}}
@media(max-width:430px){.site-header{padding-inline:12px;gap:4px}.site-header .wordmark{font-size:clamp(16px,4vw,18px);gap:3px}.header-character{width:22px;height:32px}.site-header .header-actions{gap:4px}}
