/* Visual introduction: stable markup and intrinsic media sizing. */
body.visual-home{background:#f7f8f6;color:#101817}
.visual-home .hero{padding-top:0!important}
.visual-home .hero-top{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,72px);align-items:center;min-height:0!important;padding:clamp(32px,5vw,80px) 0 32px!important;margin:0!important;overflow:visible;background:none!important}
.visual-home .hero-top:before,.visual-home .hero-top:after{display:none!important}
.visual-home .hero-intro{display:block!important;margin:0!important;min-width:0}
.visual-home .hero-kicker{font-size:11px;letter-spacing:.15em;font-weight:600;line-height:1.6;margin:0 0 24px;color:#53615e}
.visual-home .hero-top h1{font-size:clamp(56px,6.6vw,112px)!important;line-height:.98!important;letter-spacing:-.065em!important;font-weight:500;margin:0 0 24px!important;max-width:none;transform:none!important}
.visual-home #hero-word{color:#3f8185!important;font-style:normal;background:none!important;-webkit-text-fill-color:currentColor}
.visual-home .hero-aside{max-width:440px!important;margin:0!important}
.visual-home .hero-aside p{font-size:clamp(17px,1.45vw,23px)!important;line-height:1.55!important;margin:0!important;color:#53615e}
.visual-home .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:28px}
.visual-home .hero-try{background:#245f66;color:white;border:1px solid #245f66;border-radius:999px;padding:16px 24px;min-height:52px;display:inline-flex;align-items:center;gap:32px;font:inherit;font-weight:600;cursor:pointer}
.visual-home .hero-actions a{min-height:44px;display:inline-flex;align-items:center;gap:16px;font-size:15px;text-decoration:none;border-bottom:1px solid #b9c6c1}
.visual-home .hero-visual{margin:0;position:relative;min-width:0;align-self:center}
.visual-home .hero-visual img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:24px;box-shadow:0 16px 48px #1d353815}
.visual-home .hero-visual figcaption{font-size:13px;letter-spacing:.03em;color:#5b6c67;margin-top:12px;text-align:right}
.visual-home .world-choice{margin:24px 0 40px!important;scroll-margin-top:24px}
.visual-home .world-choice h2{font-size:14px!important;font-weight:500;letter-spacing:.02em;margin:0 0 16px!important;color:#53615e}
.visual-home .world-selector{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;margin:0!important}
.visual-home .world-selector button{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:18px;position:relative;padding:12px!important;min-height:156px!important;background:white!important;color:#152622!important;border:1px solid #dbe1dc!important;border-radius:18px!important;text-align:left;box-shadow:none!important;transform:none!important;overflow:hidden}
.visual-home .world-selector button:before,.visual-home .world-selector button:after{display:none!important}
.visual-home .world-selector button[aria-pressed=true]{border-color:#50857b!important;box-shadow:0 0 0 1px #50857b!important}
.visual-home .world-selector button:hover{background:#eff5f1!important}
.visual-home .world-selector button>img{display:block;width:100%;height:132px;object-fit:cover;border-radius:10px}
.visual-home .world-card-copy{display:block!important;min-width:0}
.visual-home .world-selector strong{font-size:clamp(19px,1.8vw,26px)!important;font-weight:600;line-height:1.2;margin:0!important}
.visual-home .world-selector small{display:block!important;font-size:14px!important;line-height:1.4;margin-top:8px!important;color:#62716c}
.visual-home .world-card-link{display:block!important;font-size:12px!important;letter-spacing:0!important;margin-top:16px;color:#357b76}
.visual-home .experience:not(.expanded){margin:0!important;width:100%!important;scroll-margin-top:24px}
.visual-home .stage-top{background:#fff}
.visual-home .world-context,.visual-home .explore-random{display:none!important}
.visual-home .world-dock{display:none!important}
.visual-home button:focus-visible,.visual-home a:focus-visible{outline:3px solid #287c82!important;outline-offset:4px}
@media(min-width:701px) and (max-width:1050px){
.visual-home .hero-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding-top:36px!important}
.visual-home .hero-top h1{font-size:clamp(50px,7vw,74px)!important}
.visual-home .hero-kicker{font-size:10px;margin-bottom:18px}
.visual-home .world-selector button{grid-template-columns:1fr;gap:12px}
.visual-home .world-selector button>img{height:150px}
.visual-home .world-card-copy{padding:0 6px 8px}
.visual-home .world-card-link{margin-top:10px}
}
@media(max-width:700px){
.visual-home header{min-height:76px!important;padding:10px 20px!important}
.visual-home header .brand.signature img{width:66px!important;height:66px!important}
.visual-home .hero{padding-left:20px!important;padding-right:20px!important}
.visual-home .hero-top{grid-template-columns:1fr!important;gap:24px;padding:28px 0 12px!important}
.visual-home .hero-top h1{font-size:clamp(48px,12vw,76px)!important;margin-bottom:18px!important}
.visual-home .hero-kicker{font-size:9px;letter-spacing:.12em;margin-bottom:18px}
.visual-home .hero-aside p{font-size:17px!important;max-width:36ch}
.visual-home .hero-actions{margin-top:20px;gap:12px 20px}
.visual-home .hero-try{padding:13px 20px;min-height:48px;font-size:15px}
.visual-home .hero-actions a{font-size:14px}
.visual-home .hero-visual img{border-radius:18px}
.visual-home .hero-visual figcaption{font-size:11px;margin-top:8px}
.visual-home .world-choice{margin:20px 0 28px!important}
.visual-home .world-selector{grid-template-columns:1fr!important;gap:12px!important}
.visual-home .world-selector button{grid-template-columns:100px minmax(0,1fr)!important;min-height:112px!important;gap:18px;padding:10px!important}
.visual-home .world-selector button>img{height:100px!important}
.visual-home .world-selector strong{font-size:22px!important}
.visual-home .world-selector small{font-size:14px!important;margin-top:4px!important}
.visual-home .world-card-link{font-size:12px!important;margin-top:10px}
.visual-home .experience:not(.expanded) .showroom{display:flex;flex-direction:column}
.visual-home .preview-copy{display:contents}
.visual-home .preview-copy>.micro{display:none}
.visual-home #demo-heading{order:0;padding:24px 22px 0;margin:0!important;font-size:32px}
.visual-home .image-stage{order:1;width:100%;padding:20px!important}
.visual-home #launch{order:2;align-self:flex-start;margin:0 22px 18px;max-width:calc(100% - 44px)}
.visual-home #demo-copy{order:3;padding:0 22px 24px;margin:0;font-size:16px}
.visual-home .showroom:has(#frame-container:not([hidden])) .preview-copy{display:none}
.visual-home .category-tabs{gap:8px!important}
.visual-home .category-tabs button{font-size:13px!important;padding:10px!important}
}
@media(max-width:950px) and (orientation:landscape) and (max-height:600px){
.visual-home .hero-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px;padding:24px 0!important}
.visual-home .hero-top h1{font-size:clamp(40px,6vw,58px)!important}
.visual-home .hero-kicker{margin-bottom:12px}
.visual-home .hero-aside p{font-size:15px!important}
.visual-home .hero-actions{margin-top:16px}
.visual-home .hero-visual figcaption{display:none}
}
@media(prefers-reduced-motion:reduce){.visual-home *{scroll-behavior:auto!important}}
/* Compact desktop introduction keeps the three entry points in view. */
@media(min-width:1051px){
 .visual-home>header{height:84px;min-height:84px}
 .visual-home .hero-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);padding:28px 0 16px!important}
 .visual-home .hero-top h1{font-size:clamp(60px,5vw,90px)!important;margin-bottom:18px!important}
 .visual-home .hero-kicker{margin-bottom:18px}
 .visual-home .hero-aside{max-width:480px!important}
 .visual-home .hero-aside p{font-size:clamp(17px,1.3vw,20px)!important;line-height:1.5!important}
 .visual-home .hero-actions{margin-top:22px}
 .visual-home .hero-visual{width:min(100%,600px,60svh);justify-self:end}
 .visual-home .hero-visual figcaption{margin-top:8px}
 .visual-home .world-choice{margin:12px 0 28px!important}
 .visual-home .world-choice h2{margin-bottom:12px!important}
 .visual-home .world-selector button{min-height:132px!important}
 .visual-home .world-selector button>img{height:108px}
 .visual-home .world-card-link{margin-top:10px}
}

/* Chameleon palette: forest, ivory and turquoise. */
body.visual-home{--brand-forest:#192d28;--brand-ivory:#f4fff9;--brand-turquoise:#72c5bb;background:#f7f8f6}
body.visual-home>header{background:var(--brand-forest);color:var(--brand-ivory);border-bottom-color:#ffffff20;isolation:isolate}
body.visual-home>header:before{content:"";position:absolute;inset:0 calc(50% - 50vw);background:var(--brand-forest);z-index:-1;pointer-events:none}
body.visual-home>header a{color:var(--brand-ivory)}
body.visual-home>header .contact-link{border-bottom-color:#72c5bb80}
body.visual-home>header .brand.signature{background:transparent;border-radius:0;width:72px;height:72px;display:grid;place-items:center;flex-shrink:0}
body.visual-home>header .brand.signature img{width:66px;height:66px;object-fit:contain;grid-area:1/1}
body.visual-home>header .brand.signature .logo-light-lettering{filter:brightness(0) invert(1);clip-path:inset(69% 0 21% 0);pointer-events:none}
body.visual-home>header nav a:hover,body.visual-home>header .contact-link:hover{color:var(--brand-turquoise)}
body.visual-home .hero-top{position:relative;isolation:isolate;background:var(--brand-forest)!important;color:var(--brand-ivory);padding-bottom:28px!important}
body.visual-home .hero-top:before{content:"";display:block!important;position:absolute;inset:0 calc(50% - 50vw);background:var(--brand-forest);z-index:-1;pointer-events:none;transform:none!important;opacity:1!important;border:0;border-radius:0}
body.visual-home .hero-top h1{color:var(--brand-ivory)}
body.visual-home #hero-word{color:var(--brand-turquoise)!important}
body.visual-home .hero-kicker,body.visual-home .hero-aside p,body.visual-home .hero-visual figcaption{color:#c4dad2!important}
body.visual-home .hero-try{background:var(--brand-turquoise);border-color:var(--brand-turquoise);color:var(--brand-forest)}
body.visual-home .hero-try:hover{background:#91d8cf;border-color:#91d8cf}
body.visual-home .hero-actions a{color:var(--brand-ivory);border-bottom-color:#72c5bb70}
body.visual-home .hero-actions a:hover{color:var(--brand-turquoise)}
body.visual-home .hero-visual img{box-shadow:0 16px 40px #0003}
body.visual-home .world-choice{padding-top:20px}
body.visual-home #language-toggle{color:var(--brand-ivory);border-color:#72c5bb65}
body.visual-home #language-toggle:hover,body.visual-home #language-toggle[aria-expanded=true]{background:#29483f}
body.visual-home #language-options{background:#f4fff9;border-color:#b3d3c7}
body.visual-home #language-options button{background:#f4fff9;color:#192d28}
body.visual-home #language-options button:hover,body.visual-home #language-options button[aria-pressed=true]{background:#d6eee5}
body.visual-home>header a:focus-visible,body.visual-home>header button:focus-visible,body.visual-home .hero-top button:focus-visible,body.visual-home .hero-top a:focus-visible{outline-color:var(--brand-turquoise)!important}

/* Wide screens: connect the copy and visual without a taller hero. */
@media(min-width:1051px){
 body.visual-home .hero-top{max-width:1280px;margin-left:auto!important;margin-right:auto!important;column-gap:clamp(32px,4vw,64px)}
}
@media(min-width:701px){
 body.visual-home>header .brand.signature{width:84px;height:84px}
 body.visual-home>header .brand.signature img{width:82px;height:82px}
}
body.visual-home .world-selector button[data-world="spaces"]>img{object-position:58% 52%}

/* Keep the opening view complete; content may grow on compact screens. */
body.visual-home .landing-overview{display:flex;flex-direction:column;min-height:calc(100svh - var(--masthead-height,84px));min-width:0}
body.visual-home .landing-overview>.hero-top{flex:0 0 auto;width:100%;box-sizing:border-box}
body.visual-home .landing-overview>.world-choice{flex:1;display:flex;flex-direction:column;justify-content:center;margin:0!important;padding:24px 0 28px}
body.visual-home .experience:not(.expanded){margin-top:96px!important;scroll-margin-top:76px;min-height:calc(100svh - 96px);display:flex;flex-direction:column}
body.visual-home .experience:not(.expanded)>.showroom{flex:1}
body.visual-home .experience:not(.expanded)>.stage-top,body.visual-home .experience:not(.expanded)>.stage-bottom{flex-shrink:0}
@media(min-width:1051px){
 body.visual-home .world-selector button{min-height:clamp(150px,18svh,210px)!important;padding:16px!important}
 body.visual-home .world-selector button>img{height:clamp(118px,14svh,170px)}
}
/* Reserve media space so selecting a project cannot shift the scroll target. */
body.visual-home .experience:not(.expanded) .image-stage{display:grid;place-items:center;box-sizing:border-box;height:clamp(220px,calc(100svh - 240px),500px)!important}
body.visual-home .experience:not(.expanded) .image-stage .project-image,
body.visual-home .experience:not(.expanded) .image-stage .project-film{width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain}
body.visual-home .experience:not(.expanded) .preview-copy{padding:clamp(20px,3vw,36px)}
body.visual-home .experience:not(.expanded) #frame-container{height:max(220px,calc(100svh - var(--experience-chrome,160px) - 32px))}
body.visual-home .experience:not(.expanded) .showroom:has(#frame-container:not([hidden]))>.image-stage{display:none}
body.visual-home .experience:not(.expanded) .showroom:has(#frame-container:not([hidden]))>.preview-copy{display:none}
body.visual-home .experience:focus{outline:none}
body.visual-home .contact-chat-dock{transition:opacity .15s}
body.visual-home.framing-playground .contact-chat-dock{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:700px){
 body.visual-home .landing-overview>.world-choice{padding:20px 0 24px}
 body.visual-home .experience:not(.expanded) .image-stage{height:clamp(170px,30svh,280px)!important;padding:12px 20px!important}
 body.visual-home .experience:not(.expanded) #demo-heading{padding-top:18px;font-size:clamp(25px,7vw,32px)}
 body.visual-home .experience:not(.expanded) #demo-copy{font-size:15px;line-height:1.5;padding-bottom:18px}
 body.visual-home .experience:not(.expanded) #launch{margin-bottom:14px}
}
@media(min-width:600px) and (max-height:550px) and (orientation:landscape){
 body.visual-home .experience:not(.expanded) .showroom{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
 body.visual-home .experience:not(.expanded) .preview-copy{display:block;padding:16px}
 body.visual-home .experience:not(.expanded) .preview-copy>.micro{display:none}
 body.visual-home .experience:not(.expanded) #demo-heading{font-size:25px;margin:0 0 10px!important;padding:0}
 body.visual-home .experience:not(.expanded) #demo-copy{font-size:14px;line-height:1.4;padding:0;margin:0 0 12px}
 body.visual-home .experience:not(.expanded) #launch{margin:0;padding:10px 16px;min-height:44px;max-width:100%;font-size:14px}
 body.visual-home .experience:not(.expanded) .image-stage{height:clamp(170px,calc(100svh - 160px),300px)!important;padding:12px!important}
 body.visual-home .experience:not(.expanded) .category-tabs{display:flex;flex-wrap:wrap}
 body.visual-home .experience:not(.expanded) .showroom:has(#frame-container:not([hidden])){display:block!important}
}

/* A compact world switcher stays available beyond the introduction. */
body.visual-home .world-dock:not([hidden]){display:flex!important;position:fixed!important;top:max(8px,env(safe-area-inset-top));bottom:auto!important;left:50%!important;transform:translateX(-50%)!important;width:max-content;max-width:calc(100% - 24px);margin:0!important;padding:6px;gap:4px;z-index:70;background:#192d28;border:1px solid #72c5bb55;border-radius:40px;box-shadow:0 6px 24px #0002}
body.visual-home .world-dock button{padding:10px 20px;min-height:44px;color:#f4fff9;font-size:14px;white-space:nowrap}
body.visual-home .world-dock button[aria-pressed=true]{background:#72c5bb;color:#192d28}
body.visual-home:has(.project-overlay[open]) .world-dock,body.visual-home:has(.experience.expanded) .world-dock{display:none!important}
body.visual-home .experience:not(.expanded) .image-stage{height:clamp(180px,calc(100svh - 310px),440px)!important}
body.visual-home .experience:not(.expanded) #frame-container{height:max(180px,calc(100svh - var(--experience-chrome,160px) - 96px))}
@media(max-width:700px){
 body.visual-home .world-dock button{font-size:12px;padding:10px 12px}
 body.visual-home .experience:not(.expanded) .image-stage{height:clamp(150px,26svh,240px)!important}
}
@media(min-width:600px) and (max-height:550px) and (orientation:landscape){
 body.visual-home .experience:not(.expanded) .image-stage{height:clamp(150px,calc(100svh - 240px),250px)!important}
}

/* Align preview and copy as one composition. */
body.visual-home .experience:not(.expanded)>.showroom{align-items:center!important;align-content:center}
body.visual-home .experience:not(.expanded) .image-stage{align-self:center!important}
body.visual-home .experience:not(.expanded) .preview-copy{align-self:center!important}
body.visual-home .playground-worlds{display:none}
@media(min-width:1051px) and (min-height:800px){
 body.visual-home .experience:not(.expanded){min-height:calc(100svh - 32px)}
 body.visual-home .experience:not(.expanded)>.playground-worlds{display:block;flex-shrink:0;padding:16px;background:#f7f8f6;border-bottom:1px solid #dbe1dc}
 body.visual-home .playground-worlds .world-selector{gap:12px!important}
 body.visual-home .playground-worlds .world-selector button{min-height:108px!important;padding:10px!important;gap:14px;grid-template-columns:100px minmax(0,1fr)}
 body.visual-home .playground-worlds .world-selector button>img{height:86px;width:100px}
 body.visual-home .playground-worlds .world-selector strong{font-size:21px!important}
 body.visual-home .playground-worlds .world-card-link{margin-top:6px}
 body.visual-home .experience:not(.expanded) .image-stage{height:clamp(280px,calc(100svh - var(--experience-chrome,260px) - 100px),680px)!important;padding:24px!important}
 body.visual-home .experience:not(.expanded) #frame-container{height:max(220px,calc(100svh - var(--experience-chrome,260px) - 32px))}
 body.visual-home .experience:not(.expanded) .showroom{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 body.visual-home .experience:not(.expanded) .preview-copy{padding:32px}
}


/* Keep category illustrations and their material choices fully visible. */
body.visual-home .world-selector button>img{object-fit:contain!important;object-position:center!important;background:#f4f2ec}

/* Give the desktop category previews the space beneath the hero. */
@media(min-width:1051px){
 body.visual-home .landing-overview>.world-choice{justify-content:flex-start;padding:32px 0 36px}
 body.visual-home .landing-overview .world-selector button{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:clamp(220px,25svh,300px)!important;padding:18px!important;gap:20px}
 body.visual-home .landing-overview .world-selector button>img{height:clamp(180px,21svh,260px);min-width:0}
 body.visual-home .landing-overview .world-selector strong{font-size:clamp(24px,1.65vw,30px)!important;overflow-wrap:anywhere}
 body.visual-home .landing-overview .world-selector small{font-size:15px!important}
 body.visual-home .landing-overview .world-card-link{font-size:14px!important;margin-top:18px;line-height:1.5}
}
/* Short landscape windows retain a compact, fully readable card row. */
@media(min-width:1051px) and (max-height:700px){
 body.visual-home .landing-overview>.world-choice{padding:24px 0 28px}
 body.visual-home .landing-overview .world-selector button{min-height:176px!important;padding:14px!important;gap:14px}
 body.visual-home .landing-overview .world-selector button>img{height:144px}
 body.visual-home .landing-overview .world-card-link{margin-top:10px}
}
