/* Defaults are scoped to native compositions. Explicit WordPress block styles/presets remain authoritative. */
.nexa-pattern-root:is(.climate-v2,.codaline,.orbita,.vivid,.lumen,.stratum,.solstice){position:relative;isolation:isolate;min-width:0;box-sizing:border-box}
.nexa-pattern-root:where(.climate-v2){font-family:Inter,system-ui,sans-serif;color:var(--cl-ink,#102447)}
.nexa-pattern-root :where(.wp-block-buttons){display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:100%}
.nexa-pattern-root .wp-block-button:not(.has-custom-width),.editor-styles-wrapper .nexa-pattern-root .wp-block-button:not(.has-custom-width){display:inline-flex;flex:0 1 auto;width:auto;max-width:100%;min-width:0}
.nexa-pattern-root .wp-block-button:not(.has-custom-width)>.wp-block-button__link{width:auto;max-width:100%;white-space:normal;box-sizing:border-box}
.nexa-pattern-root .wp-block-button.has-custom-width>.wp-block-button__link{width:100%}
.nexa-native-control{display:contents!important}.nexa-native-control button{font:inherit;cursor:pointer}.nexa-native-control button svg{display:block;flex:none}.nexa-native-range{font-size:14px}
.nexa-pattern-root .nexa-native-icon{margin:0;display:inline-block;width:auto;height:auto}.nexa-pattern-root .nexa-native-icon img:not([width]){width:28px;height:28px;object-fit:contain}.nexa-native-icon img{max-width:100%}
.nexa-native-project-facts,.nexa-native-gallery{--nexa-component-accent:var(--accent,var(--cl-blue,var(--primary,#2563eb)));margin-block:32px;padding:clamp(24px,5vw,64px);border:1px solid #dce4ed;border-radius:24px;background:#f5f8fc;color:#14243a;min-width:0}
.nexa-native-project-facts h2,.nexa-native-gallery h2{font-size:clamp(28px,4vw,48px);letter-spacing:-.045em;line-height:1.15;margin-block:0 24px}
.nexa-facts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.nexa-fact{padding-block:18px;border-top:1px solid currentColor}.nexa-fact .nexa-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;opacity:.7}.nexa-fact h3{font-size:clamp(18px,2vw,26px);line-height:1.35;overflow-wrap:anywhere}
.nexa-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;background:#dce5ee;border-radius:14px;margin-block:32px}.nexa-plan-room{padding:24px;background:#fff;border:1px solid #c7d4e3;border-radius:6px}.nexa-plan-room h3{font-size:20px}.nexa-component-note{font-size:13px;line-height:1.7;opacity:.75}
.nexa-gallery-grid,.nexa-portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.nexa-gallery-item{min-width:0;border-radius:16px;overflow:hidden;background:#fff}.nexa-gallery-item figure{margin:0}.nexa-gallery-item img{width:100%;aspect-ratio:3/2;object-fit:cover}.nexa-gallery-item figcaption{font-size:14px;line-height:1.6;padding:18px 20px;margin:0}.nexa-native-filters,.nexa-native-navigation{display:flex;gap:10px;flex-wrap:wrap;margin-block:24px}.nexa-native-filters button,.nexa-native-navigation button{font:inherit;font-size:13px;font-weight:650;padding:11px 20px;min-height:44px;border:1px solid #c9d6e6;border-radius:999px;background:#fff;color:#183350;cursor:pointer}.nexa-native-filters button[aria-pressed=true]{background:var(--nexa-component-accent,#2563eb);border-color:transparent;color:#fff}.nexa-native-gallery [hidden],.nexa-native-portfolio [hidden]{display:none!important}
.nexa-native-gallery[data-mode=masonry] .nexa-gallery-grid{display:block;columns:3;column-gap:24px}.nexa-native-gallery[data-mode=masonry] .nexa-gallery-item{break-inside:avoid;margin-bottom:24px}.nexa-native-gallery[data-mode=masonry] img{aspect-ratio:auto}
.nexa-native-gallery:is([data-mode=slider],[data-mode=horizontal]) .nexa-gallery-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.nexa-native-gallery:is([data-mode=slider],[data-mode=horizontal]) .nexa-gallery-item{flex:0 0 100%;scroll-snap-align:start}.nexa-native-gallery[data-mode=horizontal] .nexa-gallery-item{flex-basis:46%}
.nexa-native-gallery[data-mode=compare] .nexa-gallery-grid{display:grid;grid-template-columns:1fr;position:relative}.nexa-native-gallery[data-mode=compare] .nexa-gallery-item{grid-area:1/1}.nexa-native-gallery[data-mode=compare] .nexa-gallery-item:nth-child(2){clip-path:inset(0 calc(100% - var(--nexa-comparison,50%)) 0 0)}.nexa-native-comparison-label{display:grid;gap:14px;font-size:14px;margin-top:24px}.nexa-native-comparison-label input{width:100%;accent-color:var(--nexa-component-accent,#2563eb)}
.nexa-native-stat{padding:32px;border:1px solid #dce5ef;border-radius:20px;background:#f5f8fc;color:#162e4a}.nexa-native-stat .nexa-stat-value{font-size:clamp(40px,7vw,76px);line-height:1.1;letter-spacing:-.05em;margin:0 0 16px;font-variant-numeric:tabular-nums}.nexa-native-stat p{margin:0;line-height:1.6}
.nexa-native-network::before{content:'';position:absolute;inset:0;background:currentColor;opacity:.5;mask:url('../icons/native-network.svg') center/cover no-repeat;pointer-events:none}.nexa-native-network{color:#8ad5ff}
.nexa-native-dialog:not(dialog){position:static;display:block;max-width:100%;padding:24px;margin-block:24px}.nexa-native-dialog:not(dialog)>summary{cursor:pointer;font-weight:700}.nexa-native-dialog dialog,.nexa-native-dialog{max-width:min(900px,94vw)}.nexa-native-dialog .modal-close{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-inline-start:auto;background:transparent;color:inherit;border:1px solid currentColor;border-radius:50%;cursor:pointer}
/* The pattern's own text defaults must not recolor an explicitly styled native block. */
.nexa-pattern-root .has-text-color :where(h1,h2,h3,h4,p,figcaption):not(.has-text-color):not([style*="color:"]){color:inherit}
.nexa-pattern-root :is(.has-text-color,[style*="color:"]) :is(.gradient-text,.cl-gradient){color:inherit;background-image:none;-webkit-text-fill-color:currentColor}
.nexa-pattern-root :is(.gradient-text,.cl-gradient)[style*="color:"]{background-image:none;-webkit-text-fill-color:currentColor}
.nexa-pattern-root .has-background[style*="background-color:"]:not([style*="background-image:"]):not([style*="background:"]){background-image:none}
.nexa-pattern-root [style*="font-family"] :where(h1,h2,h3,h4,p,a):not([style*="font-family"]){font-family:inherit}
.nexa-pattern-root :is(.has-text-color,[style*="color:"]){-webkit-text-fill-color:currentColor}
/* Do not force a dedicated page template merely to use a designed section. */
.article-container:has(.nexa-pattern-root),.nc-article:has(.nexa-pattern-root),.standard-article:has(.nexa-pattern-root){width:100%;max-width:var(--wp--style--global--wide-size,1280px)}
.entry-content:has(.nexa-pattern-root)>.nexa-pattern-root{max-width:100%;margin-inline:auto}
.entry-content:has(.nexa-pattern-root)>:not(.nexa-pattern-root):not(.alignwide):not(.alignfull){max-width:var(--wp--style--global--content-size,760px);margin-inline:auto}
/* Gutenberg edit wrappers are layout containers, unlike the saved Button markup. */
.editor-styles-wrapper .nexa-pattern-root .wp-block-buttons>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;gap:12px;flex-wrap:wrap}
.editor-styles-wrapper .nexa-pattern-root .wp-block-button:not(.has-custom-width){max-width:100%;width:fit-content;flex:0 1 auto}
.editor-styles-wrapper .nexa-pattern-root :is(.reveal,.cl-reveal,.fade-up,.fade-in,[data-reveal]){opacity:1;transform:none}
@media(max-width:768px){.nexa-facts-grid,.nexa-gallery-grid,.nexa-portfolio-grid{grid-template-columns:1fr 1fr}.nexa-native-gallery[data-mode=masonry] .nexa-gallery-grid{columns:2}.nexa-native-project-facts,.nexa-native-gallery{padding:24px}.nexa-native-gallery[data-mode=horizontal] .nexa-gallery-item{flex-basis:85%}}
@media(max-width:480px){.nexa-facts-grid,.nexa-gallery-grid,.nexa-portfolio-grid,.nexa-plan-grid{grid-template-columns:1fr}.nexa-native-gallery[data-mode=masonry] .nexa-gallery-grid{columns:1}}
@media(prefers-reduced-motion:reduce){.nexa-pattern-root *{scroll-behavior:auto!important}}

.nexa-pattern-root .wp-block-image:has(img[style*="aspect-ratio"]){height:auto}
.nexa-pattern-root .wp-block-image img[style*="aspect-ratio"]{height:auto}

/* Fragment motion never leaves ordinary-page actions faded while waiting for a full-demo body class. */
.nexa-pattern-root:not(.str-js):not(.sol-js):not(.lum-js) .rise-children>*{opacity:1;transform:none;animation:none}
/* A style applied to the composition root is also a native design decision. */
.nexa-pattern-root:is(.has-text-color,[style*="color:"]) :where(h1,h2,h3,h4,h5,h6,p,figcaption):not(.has-text-color):not([style*="color:"]){color:inherit}
.nexa-pattern-root:is(.has-text-color,[style*="color:"]) :is(.gradient-text,.cl-gradient):not(.has-text-color):not([style*="color:"]){color:inherit;background-image:none;-webkit-text-fill-color:currentColor}
.nexa-pattern-root[style*="font-family"] :where(h1,h2,h3,h4,h5,h6,p,a):not([style*="font-family"]){font-family:inherit}
.nexa-pattern-root .nexa-vector-action{display:inline-flex;align-items:center;gap:12px}.nexa-vector-action svg{width:1em;height:1em;min-width:1em;flex:none}
.editor-styles-wrapper .nexa-native-control.hero-dot .wp-block-button__link{font-size:0;width:32px;height:32px;padding:0}.editor-styles-wrapper .nexa-native-control.hero-dot .wp-block-button__link::after{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}
/* Standalone native components require only this small presentation layer. */
.nexa-native-component{font-family:inherit;max-width:100%;margin-block:32px}.nexa-component-caption{font-size:20px;line-height:1.3;padding:20px;margin:0}.nexa-component-slide-copy{padding:28px}.nexa-component-slide-copy h3{font-size:clamp(24px,3vw,36px);letter-spacing:-.04em;line-height:1.2;margin:0 0 16px}.nexa-component-slide-copy p{font-size:16px;line-height:1.7;margin:0}.nexa-native-hero .nexa-gallery-item{display:grid;grid-template-columns:1.1fr 1fr;align-items:center}.nexa-native-hero .nexa-gallery-item figure{height:100%}.nexa-native-hero .nexa-gallery-item img{height:100%;min-height:360px;aspect-ratio:auto}.nexa-component-network{position:relative;padding:clamp(28px,6vw,72px);background:#101c38;color:#fff;border-radius:24px;overflow:hidden}.nexa-component-network h2{font-size:clamp(32px,5vw,64px);line-height:1.1;letter-spacing:-.05em;position:relative;z-index:1;margin:0 0 20px}.nexa-component-network p{font-size:18px;line-height:1.7;max-width:40ch;position:relative;z-index:1}.nexa-component-network .nexa-native-network{position:relative;min-height:260px;color:#90c8ff}.nexa-native-gallery[data-mode=compare] .nexa-gallery-grid::before,.nexa-native-gallery[data-mode=compare] .nexa-gallery-grid::after{position:absolute;z-index:2;top:16px;padding:8px 14px;background:#112747;color:#fff;border-radius:30px;font-size:12px;pointer-events:none}.nexa-native-gallery[data-mode=compare] .nexa-gallery-grid::before{content:attr(data-before);inset-inline-end:16px}.nexa-native-gallery[data-mode=compare] .nexa-gallery-grid::after{content:attr(data-after);inset-inline-start:16px}
@media(max-width:768px){.nexa-native-hero .nexa-gallery-item{display:block}.nexa-native-hero .nexa-gallery-item img{height:auto;min-height:0;aspect-ratio:4/3}.nexa-component-slide-copy{padding:24px}}
.nexa-native-component :focus-visible{outline:3px solid var(--accent,#2563eb);outline-offset:4px}
.nexa-component-network :where(h2,p){color:inherit}.nexa-native-filters button,.nexa-native-navigation button{border-color:var(--nexa-component-border,#c9d6e6);background:var(--nexa-component-surface,#fff);color:var(--nexa-component-text,#183350)}.nexa-native-filters button[aria-pressed=true]{background:var(--nexa-component-accent,#2563eb);color:var(--nexa-component-activeText,#fff)}
.editor-styles-wrapper .nexa-gallery-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.editor-styles-wrapper .nexa-native-gallery:is([data-mode=slider],[data-mode=horizontal]) .nexa-gallery-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;overflow:auto;scrollbar-width:none}
.editor-styles-wrapper .nexa-native-gallery[data-mode=slider] .nexa-gallery-grid>.block-editor-inner-blocks>.block-editor-block-list__layout>.nexa-gallery-item{flex:0 0 100%}
.editor-styles-wrapper .nexa-native-gallery[data-mode=horizontal] .nexa-gallery-grid>.block-editor-inner-blocks>.block-editor-block-list__layout>.nexa-gallery-item{flex:0 0 46%}
/* Explicit client colors take precedence over decorative text gradients. */
.nexa-pattern-root :is(.has-text-color,[style*="color:"]) :is(.gradient-text,.cl-gradient):not(.has-text-color):not([style*="color:"]),.nexa-pattern-root:is(.has-text-color,[style*="color:"]) :is(.gradient-text,.cl-gradient):not(.has-text-color):not([style*="color:"]){color:inherit!important;background-image:none!important;-webkit-text-fill-color:currentColor!important}
.nexa-pattern-root :is(.gradient-text,.cl-gradient):is(.has-text-color,[style*="color:"]){background-image:none!important;-webkit-text-fill-color:currentColor!important}
.nexa-pattern-root [style*="font-family"] :where(h1,h2,h3,h4,h5,h6,p,a):not([style*="font-family"]):not([class*="-font-family"]),.nexa-pattern-root[style*="font-family"] :where(h1,h2,h3,h4,h5,h6,p,a):not([style*="font-family"]):not([class*="-font-family"]){font-family:inherit!important}
.nexa-pattern-root .nexa-positioned-control{left:var(--nexa-control-x);top:var(--nexa-control-y);right:auto;bottom:auto}
@media(max-width:768px){.nexa-pattern-root .nexa-positioned-control{left:var(--nexa-control-mobileX,var(--nexa-control-x));top:var(--nexa-control-mobileY,var(--nexa-control-y))}}
/* Native Button edit chrome keeps the same styled control box as the published button. */
.editor-styles-wrapper .nexa-pattern-root .nexa-native-control{display:inline-flex!important;align-items:center;justify-content:center}
.editor-styles-wrapper .nexa-pattern-root .nexa-native-control .wp-block-button__link{padding:0;min-height:0;border:0;border-radius:inherit;background:transparent;color:inherit;box-shadow:none;font:inherit;line-height:inherit;display:inline-flex;align-items:center;justify-content:center}
.editor-styles-wrapper .nexa-pattern-root .nexa-native-control.hotspot{width:42px;height:42px;padding:0}.editor-styles-wrapper .nexa-pattern-root .nexa-native-control.hero-arrow{width:34px;height:34px;padding:0}
.editor-styles-wrapper .nexa-native-control.hero-dot.active .wp-block-button__link::after{width:22px;background:var(--blue,#2563eb)}
.editor-styles-wrapper .nexa-pattern-root .nexa-native-control.hero-dot .wp-block-button__link{font-size:0;line-height:0;width:32px;height:32px}
.editor-styles-wrapper .nexa-pattern-root .nexa-native-control:is(.hotspot,.hero-arrow) .wp-block-button__link{width:100%;height:100%}
.nexa-native-portfolio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.editor-styles-wrapper .nexa-native-portfolio>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
@media(max-width:600px){.nexa-native-portfolio,.editor-styles-wrapper .nexa-native-portfolio>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr}}

/* Native collection navigation: useful hit areas, quiet indicators, no full-width controls. */
.nexa-native-navigation{align-items:center}.nexa-native-dots{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.nexa-native-dots button{font-size:0;min-width:32px;width:32px;height:44px;padding:0;border:0;background:transparent}.nexa-native-dots button::after{content:'';display:block;width:7px;height:7px;margin:auto;border-radius:50%;background:currentColor;opacity:.4;transition:width .2s,opacity .2s}.nexa-native-dots button[aria-current=true]::after{width:22px;border-radius:8px;opacity:1}.nexa-native-navigation button:disabled{opacity:.4;cursor:default}.nexa-native-navigation button:focus-visible{outline:3px solid currentColor;outline-offset:4px}.nexa-native-gallery .nexa-gallery-grid{overscroll-behavior-inline:contain}
@media(prefers-reduced-motion:reduce){.nexa-native-dots button::after{transition:none}}
