/* Shared editorial scale. Scoped away from canvases, dialogs and spatial cards. */
:root{--editorial-title:clamp(2.5rem,5.8vw,5rem);--editorial-heading:clamp(1.9rem,3.6vw,3.25rem);--editorial-body:clamp(.95rem,1.1vw,1.0625rem);--editorial-section:clamp(40px,5.5vw,76px)}
.masthead.quiet-header,#world-masthead.quiet-header{background:linear-gradient(180deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.8) 48%,rgba(0,0,0,.42) 100%)!important}
.masthead.quiet-header:after,#world-masthead.quiet-header:after{background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,0))!important;height:32px!important}
:is(.world-services,.world-commerce,.world-studio,.world-library){font-family:'Space Grotesk',Arial,sans-serif}
:is(.service-intro,.hero-copy,.studio-hero-copy,.reading-space-heading)>h1{font-family:Georgia,serif!important;font-size:var(--editorial-title)!important;font-weight:400!important;line-height:1.06!important;letter-spacing:-.045em!important;text-wrap:balance;margin-block:18px 24px!important}
:is(.service-section-head,.service-agent,.service-learning,.journey-heading,.feature-heading,.package-heading,.studio-section-head,.purchase-faq,.story-next)>h2,.world-commerce .section-title{font-family:Georgia,serif!important;font-size:var(--editorial-heading)!important;font-weight:400!important;line-height:1.12!important;letter-spacing:-.035em!important;text-wrap:balance;margin-block:14px 24px!important}
:is(.hero-copy,.studio-hero-copy,.reading-space-heading,.service-intro-bottom,.service-learning)>p{font-family:'Space Grotesk',Arial,sans-serif!important;font-size:var(--editorial-body)!important;line-height:1.65!important;max-width:62ch;margin-block:12px 20px!important}
.world-services .service-rebuild>section:not(.service-intro):not([data-space-mode=explore]),.world-commerce main>.section,.world-studio .studio-shell>section:not(.studio-hero){padding-block:var(--editorial-section)!important}
:is(.service-section-head,.studio-section-head,.journey-heading,.feature-heading,.package-heading){margin-bottom:32px!important}
.world-services :is(.service-agent,.service-learning,.service-contact){padding-block:var(--editorial-section)!important}
.world-services .service-agent li strong{font-family:'Space Grotesk',Arial,sans-serif!important;font-size:clamp(18px,1.65vw,23px)!important;line-height:1.3!important;letter-spacing:-.02em}
.world-services .service-agent li span{font-size:14px!important;line-height:1.65!important}
.world-services .service-start li{font-family:'Space Grotesk',Arial,sans-serif!important;font-size:clamp(17px,1.65vw,22px)!important;line-height:1.5!important}
.world-services .service-contact p{line-height:1.7!important}
.world-commerce .purchase-faq{margin-block:24px!important}
.world-commerce .purchase-faq summary{font-family:'Space Grotesk',Arial,sans-serif!important;font-size:clamp(15px,1.2vw,17px)!important;line-height:1.45!important;padding-block:18px!important}
.world-commerce .purchase-faq details p{font-size:15px!important;line-height:1.7!important;max-width:70ch}
.world-commerce .hero-copy>p.trustline{max-width:490px;margin:28px 0 0;font:10px/1.5 var(--mono)!important;text-transform:uppercase}
.world-commerce .hero-copy>ol.trustline{display:grid;gap:9px;max-width:490px;margin:28px 0 0;padding:0;list-style:none;color:#aebb9f;font:10px/1.5 var(--mono);text-transform:uppercase}
.world-commerce .hero-copy>ol.trustline>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px;align-items:start}
.world-commerce .hero-copy>ol.trustline>li>span:first-child{color:#d6ee86;font-weight:500}
.world-commerce .hero-copy>ol.trustline>li>span:last-child{color:#aebb9f}
.world-library #notes-grid .notes-card h3{font-size:clamp(22px,2vw,29px)!important;line-height:1.18!important;letter-spacing:-.025em!important}
.world-library #notes-grid .notes-card p{font-size:15px!important;line-height:1.65!important}
@media(max-width:700px){:root{--editorial-title:clamp(2.25rem,9vw,3.5rem);--editorial-heading:clamp(1.8rem,7vw,2.5rem);--editorial-section:40px}.masthead.quiet-header:after,#world-masthead.quiet-header:after{height:24px!important}:is(.service-section-head,.studio-section-head,.journey-heading,.feature-heading,.package-heading){margin-bottom:24px!important}}
/* A viewport-sized room with a shared projection into the flat footer. */
.has-room-grid{isolation:isolate;background:#181816!important;background-image:none!important}
.room-grid{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:hidden}
.room-grid path{fill:none;stroke:rgba(195,213,165,.13);stroke-width:1;vector-effect:non-scaling-stroke}
.has-room-grid>main{position:relative;z-index:1;background:transparent!important}
.has-room-grid>main:before{display:none!important}
.has-room-grid #world-end{position:relative;z-index:2;background:transparent!important;background-image:none!important;border-top:0!important;box-shadow:none!important}
.has-room-grid #world-end:before,.has-room-grid #world-end:after{display:none!important}
.world-services.has-room-grid .service-intro:before{display:none!important}
.has-room-grid .content-space[data-space-mode=explore] .content-space-plane:before{display:none!important}
.has-room-grid .content-space-stage{background:transparent!important}
/* Section separators stay open so the room grid remains the only long linework. */
.world-destination #world-end,.world-destination #world-end nav{border-block:0!important;box-shadow:none!important}
.world-destination main>section,.world-destination main>.section,.world-destination .studio-shell>section,.world-destination :is(.map-toolbar,.relation-space,.map-directory,.map-method,.studio-hero,.studio-piece,.studio-colophon,.service-chapter,.service-section-head,.feature-heading,.journey-heading,.package-heading){border-top:0!important;border-bottom:0!important}
.world-services .service-start li{border-bottom:0!important}
/* CicilRapi uses the shared room grid; product layout has no long separator rules. */
.world-commerce :is(.r-commerce-nav,.section-label,.journey-controls button,.price,.package-footnote,.license-note,.purchase-faq details,.ai-examples-head,.package-heading,.design-gallery,.closing){border-top:0!important;border-bottom:0!important;box-shadow:none!important}
.world-commerce hr{display:none!important}
