/* Focused refinements on top of the existing PAVLIDIS visual system. */
/* Montserrat is the type family specified by the supplied brand-theme.css. */
:root{--brand-font:Montserrat,Arial,sans-serif}
body,body :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea){font-family:var(--brand-font)}
.quick-nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.quick-nav a{font-size:13px;min-height:44px;display:inline-flex;align-items:center;color:#d2dfe9;transition:color .2s}
.quick-nav a:hover{color:#fff}
.world-header:has(.quick-nav){gap:24px}
.world-header:has(.quick-nav) .world-inquiry{margin-left:6px;gap:14px;font-weight:600;font-size:13px}
.world-header:has(.quick-nav) .world-menu-toggle{padding-inline:15px;font-size:12px;color:#dce8f1}
.panel-raum{padding-top:calc(var(--header) + 36px);padding-bottom:0;min-height:0}
.panel-raum .world-copy{width:49%;max-width:650px}
.panel-raum h1{width:max-content;max-width:150%;font-size:clamp(60px,5.8vw,96px);line-height:.98;letter-spacing:-.055em;margin-bottom:24px;white-space:nowrap}
.panel-raum h1 br{display:block}
.panel-raum h1 span{display:inline;color:#c6dae8}
.panel-raum .world-eyebrow{font-size:11px;letter-spacing:.16em;margin-bottom:18px;color:#c5d4df}
.hero-service{font-size:clamp(28.8px,2.52vw,43.2px);line-height:1.25;font-weight:500;color:#edf4f8;margin-bottom:18px;letter-spacing:-.035em}
.panel-raum .world-intro{font-size:14px;line-height:1.8;color:#c3d3df;margin-bottom:22px}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.inquiry-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:54px;padding:0 24px;background:#eef4f8;border:1px solid #eef4f8;border-radius:32px;color:#001020;font-weight:600;font-size:13px;transition:background .2s,transform .2s}
.inquiry-primary:hover{background:#fff;transform:translateY(-2px)}
.inquiry-primary span{font-size:22px;font-weight:400}
.inquiry-secondary{display:inline-flex;align-items:center;gap:14px;min-height:48px;font-size:13px;color:#e0eaf2}
.inquiry-secondary:hover{text-decoration:underline;text-underline-offset:5px}
.hero-system-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:6px;font-size:12px;color:#bfd0de}
.hero-system-link:hover{color:#fff}
body[data-view=raum] .spatial-shell{inset:calc(var(--header) + 15px) -1vw auto 39%;height:445px;min-height:0}
body[data-view=raum] .spatial-label{right:12%;top:65%;font-size:12px}
body[data-view=raum] .spatial-label small{font-size:12px;color:#c8d9e5}
body[data-view=raum] .spatial-stage .viewer-navigation{top:12px;right:11%}
body[data-view=raum] .spatial-help{top:77px;right:11%;font-size:12px;color:#c5d8e6;max-width:340px}
.panel-raum .scene-tools{top:calc(var(--header) + 417px);bottom:auto;right:var(--gutter);border:0;gap:17px;background:none;backdrop-filter:none}
.panel-raum .scene-tools button{font-size:12px;padding:0;gap:9px;min-height:44px;border:0;color:#c8d9e5}
.panel-raum .scene-tools button:hover{color:#fff;background:none}
.panel-raum .world-caption{display:none}
body[data-view=raum] .world-scene-note{position:absolute;top:calc(var(--header) + 387px);bottom:auto;font-size:11px;line-height:1.4;color:#c6d8e5;max-width:390px;padding:4px 7px;background:#001020e8;border-radius:3px}
.hero-proof{display:grid;grid-template-columns:.78fr 1.12fr 1.12fr;gap:18px;position:relative;margin-top:24px;padding-top:20px;border-top:1px solid #c8dce929;pointer-events:auto}
.proof-heading .world-eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 10px;color:#b4cada}
.proof-heading h2{font-size:24px;letter-spacing:-.04em;line-height:1.18;font-weight:600;margin:0 0 10px}
.proof-heading>a{display:inline-flex;align-items:center;gap:12px;min-height:36px;font-size:12px;color:#c2d4e1}
.proof-card{position:relative;display:grid;grid-template-columns:35% 1fr;gap:19px;min-width:0;padding:12px;border:1px solid #b6ccdc29;background:linear-gradient(120deg,#a5d0ee08,#a5d0ee02);border-radius:5px;transition:border-color .2s,background .2s}
.proof-card:hover{border-color:#b6ccdc7a;background:#a5d0ee0a}
.proof-card>img{width:100%;height:115px;object-fit:cover;display:block;border-radius:2px;filter:saturate(.65)}
.proof-card>div{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px;padding-right:9px}
.proof-location{text-transform:uppercase;font-size:10px;letter-spacing:.11em;color:#c1d2df}
.proof-card strong{font-size:25px;letter-spacing:-.05em;font-weight:600;line-height:1.25}
.proof-project{font-size:12px;line-height:1.45;color:#e0eaf2}
.proof-mount{font-size:11px;line-height:1.45;color:#b8ccdc}
.proof-arrow{position:absolute;right:12px;top:12px;font-size:17px;color:#adc5d6}
body[data-view=raum] .world-dock{position:relative;inset:auto;transform:none;margin:32px auto 25px;width:max-content;max-width:calc(100% - 40px);box-shadow:none}
body[data-view=raum] .world-dock a{font-size:13px;color:#c2d4e2}
body[data-view=raum] .world-dock a[aria-current=page]{color:#001020}
body[data-view=raum] .world-dock a span{font-size:11px;color:#a6bdcf}
body[data-view=raum] .world-dock a[aria-current=page] span{color:#486073}
body[data-view=raum] .world-footer{position:relative;inset:auto;padding:8px var(--gutter) 25px}
body[data-view=raum] .world-footer>span{font-size:10px;color:#adc4d5}
body[data-view=raum] .world-footer a{font-size:12px;color:#b8cddd}
.project-details{margin-top:14px;border-top:1px solid #a7bdce40;border-bottom:1px solid #a7bdce40;padding:4px 0}
.project-details>summary{cursor:pointer;min-height:58px;display:flex;align-items:center;gap:12px;list-style:none;font-size:13px;font-weight:600}
.project-details>summary::-webkit-details-marker{display:none}
.project-details>summary::after{content:'+';font-size:24px;font-weight:400;margin-left:auto}
.project-details[open]>summary::after{content:'−'}
.project-details>summary span{font-size:11px;font-weight:400;color:#9eb4c5}
.project-details>.form-grid{padding:16px 0 24px}
.form-start-note{font-size:13px;line-height:1.8;color:#b2c5d4;margin:0 0 25px;max-width:540px}
.request-next{border-top:1px solid #a7bdce33;padding-top:24px;margin:24px 0}
.request-next h3{font-size:16px;font-weight:600;letter-spacing:-.02em}
.request-next ol{padding-left:20px;color:#aec3d2;font-size:12px;line-height:1.8}
.request-next li{padding-left:5px;margin:10px 0}
.local-preview-note{padding:12px 15px;border:1px solid #b9d4e040;font-size:11px!important;color:#b5cad9!important;line-height:1.65!important;margin:16px 0!important;border-radius:4px}
@media(min-width:1500px){body[data-view=raum] .spatial-shell{height:510px}.panel-raum .scene-tools{top:calc(var(--header) + 492px)}body[data-view=raum] .world-scene-note{top:calc(var(--header) + 462px)}.hero-proof{margin-top:38px}.proof-card>img{height:140px}}
@media(min-width:901px) and (max-width:1100px){.quick-nav{gap:17px}.world-header-label{max-width:235px;font-size:9px}.world-header:has(.quick-nav){gap:14px}.world-header:has(.quick-nav) .world-inquiry{font-size:11px;gap:8px}.hero-proof{grid-template-columns:.72fr 1.14fr 1.14fr;gap:12px}.proof-card{gap:12px}.proof-card strong{font-size:22px}.proof-heading h2{font-size:21px}.hero-actions{gap:17px}}
@media(max-width:900px){
 .quick-nav{display:none}.world-header:has(.quick-nav) .world-inquiry{margin-left:auto}.world-header:has(.quick-nav){gap:18px}
 .panel-raum{padding-top:calc(var(--header) + 26px);padding-bottom:0}
 .panel-raum .world-copy{width:100%;max-width:none}
 .panel-raum .world-copy::before{right:0}
 .panel-raum h1{font-size:clamp(54px,9vw,80px);width:100%;max-width:100%;margin-bottom:22px}
 .hero-service{font-size:30px}.panel-raum .world-intro{font-size:14px}.hero-actions{gap:25px}
 .hero-proof{order:1;grid-template-columns:1fr 1fr;margin-top:14px;padding-top:18px;gap:14px}
 .proof-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px}
 .proof-heading .world-eyebrow{display:none}.proof-heading h2{font-size:20px;margin:0}.proof-heading h2 br{display:none}.proof-heading>a{flex-shrink:0}
 body.spatial-flow[data-view=raum]:not([data-garage-active=true]) .spatial-shell{order:2;inset:auto;height:var(--mobile-scene-height);margin-top:28px;margin-bottom:8px}
 .panel-raum .scene-tools{position:relative;inset:auto;order:3;display:flex;justify-content:space-between;gap:10px;border-block:1px solid #aec7da22}
 .panel-raum .scene-tools button{font-size:12px;min-height:60px;gap:7px}
 body[data-view=raum] .spatial-help{top:8px;right:var(--gutter);font-size:12px;max-width:none}
 body[data-view=raum] .spatial-stage .viewer-navigation{top:auto;bottom:14px;right:var(--gutter)}
 body[data-view=raum] .spatial-label{font-size:12px;top:67%;right:8%}
 body[data-view=raum] .world-dock{margin-top:25px;margin-bottom:20px}
 body[data-view=raum] .world-dock a{font-size:12px}
 body[data-view=raum] .world-footer{padding-top:10px;padding-bottom:24px;display:flex;gap:20px;flex-wrap:wrap}
}
@media(max-width:600px){
 .world-header-label{display:none}.world-header:has(.quick-nav){gap:12px}.world-header:has(.quick-nav) .world-inquiry{font-size:11px;gap:9px}
 .panel-raum h1{font-size:clamp(40px,11vw,62px);letter-spacing:-.045em;line-height:1.02}
 .panel-raum .world-eyebrow{font-size:10px}.hero-service{font-size:clamp(21px,6vw,28px)}.panel-raum .world-intro{font-size:13px;line-height:1.8;margin-bottom:20px}
 .hero-actions{gap:14px}.inquiry-primary{font-size:12px;padding-inline:19px;gap:18px;min-height:50px}.inquiry-secondary{font-size:12px;gap:8px}.hero-system-link{font-size:12px}
 .hero-proof{grid-template-columns:1fr;gap:12px;margin-top:10px}.proof-heading{align-items:flex-end;gap:12px;margin-bottom:3px}.proof-heading h2{font-size:20px;line-height:1.25}.proof-heading h2 br{display:block}.proof-heading>a{font-size:11px;gap:7px}
 .proof-card{grid-template-columns:31% 1fr;gap:18px;padding:10px}.proof-card>img{height:90px}.proof-card>div{gap:3px}.proof-card strong{font-size:24px}.proof-location{font-size:10px}.proof-project{font-size:12px}
 .project-details>summary{font-size:11px;gap:6px;flex-wrap:wrap}.project-details>summary span{font-size:10px}.form-start-note{font-size:12px}
 body[data-view=raum] .world-dock{width:calc(100% - 40px)}
}
@media(max-width:380px){body[data-view=raum] .world-dock a{font-size:11px;letter-spacing:-.025em}body[data-view=raum] .world-dock a span{font-size:10px}body[data-view=raum] .world-footer a{font-size:11px}}

/* The garage owns its viewport; the welcome guide and return never cover the hero. */
body[data-view=raum][data-garage-active=true]{overflow:hidden}
body[data-view=raum][data-garage-active=true] .spatial-shell,
body.spatial-flow[data-view=raum][data-garage-active=true] .spatial-shell{position:fixed;inset:var(--header,86px) 0 calc(90px + env(safe-area-inset-bottom,0px));width:auto;height:auto;margin:0;min-height:0;max-height:none}
body[data-view=raum][data-garage-active=true] :is(.hero-proof,.site-dock,.site-footer,.world-footer){visibility:hidden;pointer-events:none}
body[data-garage-active=true] .panel-raum .scene-tools{position:fixed;inset:auto var(--gutter) calc(16px + env(safe-area-inset-bottom,0px));z-index:15;justify-content:center;border:0;visibility:visible;pointer-events:auto}
body[data-garage-active=true] .panel-raum .scene-tools button:not(#world-camera){display:none}
body[data-garage-active=true] .panel-raum .scene-tools #world-camera{min-height:48px;padding:0 24px;border:1px solid #c6dae85c;border-radius:28px;background:#001020f5;color:#fff;font-size:12px}
/* The loading reveal must not override the welcome overlay's hidden captions. */
body[data-welcome-open=true] .spatial-brand-stage.spatial-ready~:is(.spatial-help,.spatial-label){visibility:hidden}

/* The model caption has its own row below the canvas, clear of every orbit. */
body[data-view=raum] .spatial-label{
 top:calc(100% + 24px);bottom:auto;right:12%;width:max-content;
 max-width:min(440px,calc(100% - 110px));align-items:flex-start;
 padding:0;border:0;background:none;backdrop-filter:none;filter:none;
}
body[data-view=raum] .spatial-label>span{min-width:0}
body[data-view=raum] .spatial-label small{max-width:none}
body[data-view=raum] .spatial-label i{flex:0 0 7px;margin-top:7px}
body[data-view=raum] .spatial-label i::after{display:none}
body[data-garage-active=true] .spatial-label{display:none}
@media(min-width:901px){
 .panel-raum .hero-proof{margin-top:40px}
}
@media(min-width:901px) and (max-width:1100px){
 .panel-raum .hero-proof{margin-top:72px}
}
@media(max-width:900px){
 body.spatial-flow[data-view=raum]:not([data-garage-active=true]) .spatial-shell{margin-bottom:112px}
 body[data-view=raum] .spatial-label{top:calc(100% + 18px);left:var(--gutter);right:var(--gutter);width:auto;max-width:none}
}
