/* Both compositions share content, motion, and a single semantic palette. */
html{color-scheme:dark;background:var(--gd-dark-background,#141414)}
body.editorial-site{
 --bg:var(--gd-dark-background,#141414);--bg-2:var(--gd-dark-surface,#1b1a20);--surface:var(--bg-2);
 --text:var(--gd-dark-text,#eeeae2);--primary:var(--gd-dark-accent,#c8afe9);--primary-2:var(--primary);
 --muted:var(--gd-dark-muted,#bcb5c4);--text-soft:var(--muted);--muted-2:var(--muted);
 --ed-paper:var(--gd-dark-paper,#e9e5db);--ed-ink:var(--gd-dark-paper-text,#242026);
 --ed-rule:color-mix(in srgb,var(--text) 18%,transparent);--line:var(--ed-rule);
 --line-strong:color-mix(in srgb,var(--text) 45%,transparent);
 color-scheme:dark;background:var(--bg);color:var(--text);
}
html[data-grouth-theme=light]{color-scheme:light;background:var(--gd-background,#f7f5f1)}
html[data-grouth-theme=light] body.editorial-site{
 --bg:var(--gd-background,#f7f5f1);--bg-2:var(--gd-surface,#efecf3);--surface:var(--bg-2);
 --text:var(--gd-text,#25232e);--primary:var(--gd-accent,#684298);--primary-2:var(--primary);
 --muted:var(--gd-muted,#645e6d);--text-soft:var(--muted);
 --ed-paper:var(--gd-paper,#ebe5f1);--ed-ink:var(--gd-paper-text,#30273a);
 --line-strong:color-mix(in srgb,var(--text) 55%,transparent);color-scheme:light;
}
.grouth-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:76px;min-height:44px;padding:8px 12px;color:var(--text);background:transparent;border:1px solid var(--line-strong);border-radius:var(--gd-radius,4px);font:12px/1.5 var(--font-main);cursor:pointer;white-space:nowrap}
.grouth-theme-toggle[hidden]{display:none}
.grouth-theme-toggle svg{width:18px;height:18px;flex:none}
.grouth-mode-moon{display:none}
html[data-grouth-theme=light] .grouth-mode-sun{display:none}
html[data-grouth-theme=light] .grouth-mode-moon{display:block}
.grouth-theme-toggle:hover{background:var(--bg-2);border-color:var(--primary);color:var(--primary)}
.grouth-theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.editorial-site .elementor{--e-global-color-primary:var(--text);--e-global-color-secondary:var(--text);--e-global-color-text:var(--muted);--e-global-color-accent:var(--primary)}
html[data-grouth-theme=dark] .editorial-site .compact-cta{background:var(--primary)}
.editorial-site .ed-band-label{opacity:1}
/* Resolve offscreen content in the new palette before restoring its rendering optimization. */
.gd-color-switch .page-section,.gd-color-switch .metrics-strip,.gd-color-switch .site-footer{content-visibility:visible!important}
.gd-color-switch *,.gd-color-switch *::before,.gd-color-switch *::after{transition:none!important}
.ed-hero-aperture{display:none;pointer-events:none}

/* Light hero: a crisp cosmic aperture, with clear paper and ink for the copy. */
html[data-grouth-theme=light] .editorial-site .ed-flight-story{--aperture-size:clamp(390px,43vw,660px);background:var(--bg)}
html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene{
 inset:auto;left:var(--gd-gutter,52px);top:calc((var(--blackhole-height,720px) - var(--aperture-size))/2);
 width:var(--aperture-size);height:var(--aperture-size);border-radius:50%;background:#0c0713;
 border:1px solid color-mix(in srgb,var(--primary) 25%,transparent);box-shadow:none;clip-path:circle(50% at 50% 50%);contain:paint;
}
html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene .ed-blackhole-media{
 width:100%;height:100%;aspect-ratio:1;left:50%;top:50%;object-fit:cover;object-position:clamp(0%,calc(var(--bh-x,var(--gd-blackhole-x,34%)) - 4%),100%) var(--bh-y,var(--gd-blackhole-y,64%));border-radius:50%;
 transform:translate(-50%,-50%) scale(var(--bh-scale,1));mask-image:radial-gradient(closest-side,#000 99.5%,transparent 100%);-webkit-mask-image:radial-gradient(closest-side,#000 99.5%,transparent 100%);
}
html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene .ed-blackhole-shade{background:linear-gradient(0deg,#0b06131a,transparent 30%,transparent 80%,#0b06131a);transform:none}
html[data-grouth-theme=light] .editorial-site .ed-gravity-signature{display:none}
html[data-grouth-theme=light] .editorial-site .ed-hero-aperture{
 display:block;position:absolute;z-index:1;left:calc(var(--gd-gutter,52px) - 14px);
 top:calc((var(--blackhole-height,720px) - var(--aperture-size))/2 - 14px);
 width:calc(var(--aperture-size) + 28px);height:calc(var(--aperture-size) + 28px);
 border:1px solid var(--ed-rule);border-radius:50%;
}
.ed-aperture-label{position:absolute;bottom:-34px;left:0;right:0;text-align:center;color:var(--muted);font:9px/1.5 Arial,sans-serif;letter-spacing:.18em}
html[data-grouth-theme=light] .editorial-site .ed-hero-copy{background:none;width:min(var(--gd-hero-copy-width,55%),52%)}
html[data-grouth-theme=light] .editorial-site .ed-hero-foot{background:none}
html[data-grouth-theme=light] .editorial-site .ed-blackhole-credit{top:calc(var(--blackhole-height,720px) - 8px);left:var(--gd-gutter,52px);font-size:8px;background:none;padding:0}
html[data-grouth-theme=light] .editorial-site .ed-hero-intro{max-width:470px}
html[data-grouth-theme=light] .editorial-site .ed-space-rail{width:36%}
html[data-grouth-theme=light] .editorial-site .ed-stage-caption{background:var(--bg);padding:8px 12px;border:1px solid var(--ed-rule);max-width:220px;margin:auto;justify-content:center;border-radius:var(--gd-radius,4px)}
.gd-hero-left[data-grouth-theme=light] .editorial-site .ed-blackhole-scene{left:auto;right:var(--gd-gutter,52px)}
.gd-hero-left[data-grouth-theme=light] .editorial-site .ed-hero-aperture{left:auto;right:calc(var(--gd-gutter,52px) - 14px)}
@media(max-width:1400px){.editorial-site .ed-header .login-link{display:none}}
@media(max-width:980px) and (min-width:701px){
 html[data-grouth-theme=light] .editorial-site .ed-flight-story{--aperture-size:40vw}
 html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene{left:24px}
 html[data-grouth-theme=light] .editorial-site .ed-hero-aperture{left:10px}
}
@media(max-width:700px){
 .editorial-site .ed-header{gap:12px}
 .editorial-site .ed-header .header-actions{gap:10px}
 .grouth-theme-toggle{min-width:40px;width:40px;padding:8px}
 .grouth-theme-toggle [data-color-mode-label]{display:none}
 .editorial-site .ed-header .brand-logo{max-width:100px;height:30px}
 .editorial-site .ed-header .trial-btn{gap:10px;padding-inline:11px}
 html[data-grouth-theme=light] .editorial-site .ed-flight-story{--aperture-size:min(82vw,390px)}
 html[data-grouth-theme=light] .editorial-site .ed-hero{padding-bottom:390px}
 html[data-grouth-theme=light] .editorial-site .ed-space-rail{width:100%}
 html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene{left:50%;right:auto;top:calc(var(--blackhole-height,990px) - var(--aperture-size) - 42px);bottom:auto;transform:translateX(-50%)}
 html[data-grouth-theme=light] .editorial-site .ed-hero-aperture{left:50%;right:auto;top:calc(var(--blackhole-height,990px) - var(--aperture-size) - 56px);bottom:auto;transform:translateX(-50%)}
 html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene .ed-blackhole-media{left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%) scale(var(--bh-scale,1))}
 html[data-grouth-theme=light] .editorial-site .ed-blackhole-scene .ed-blackhole-shade{background:none}
 html[data-grouth-theme=light] .editorial-site .ed-hero-copy{background:none}
 html[data-grouth-theme=light] .editorial-site .ed-hero-copy{width:100%}
 html[data-grouth-theme=light] .editorial-site .ed-hero-foot{padding-bottom:0;background:none}
 html[data-grouth-theme=light] .editorial-site .ed-blackhole-credit{top:auto;bottom:8px;left:0;right:0;text-align:center;max-width:none;font-size:7px}
 html[data-grouth-theme=light] .editorial-site .ed-stage-caption{display:none}
 .ed-aperture-label{display:none}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story{display:grid;grid-template-columns:1fr}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story>.ed-hero,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story>.ed-hero{grid-row:1;padding-bottom:20px!important}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story>.ed-space-rail,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story>.ed-space-rail{grid-row:2;grid-column:1;z-index:2;margin:0 0 48px}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story>.ed-blackhole-scene,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story>.ed-blackhole-scene{grid-row:2;grid-column:1;position:relative;left:auto;top:auto;bottom:auto;transform:none;height:var(--aperture-size);margin:20px auto;align-self:center}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story>.ed-hero-aperture,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story>.ed-hero-aperture{display:none}
 html:not(.js)[data-grouth-theme=light] .editorial-site .ed-flight-story>.ed-manifesto,
 html[data-grouth-theme=light] .grouth-elementor-editing .ed-flight-story>.ed-manifesto{grid-row:3}
}
@media(max-width:380px){
 .editorial-site .ed-header{gap:8px;padding-inline:16px}
 .editorial-site .ed-header .brand-logo{max-width:82px;height:27px}
 .editorial-site .ed-header .header-actions{gap:7px}
 .editorial-site .ed-header .trial-btn{gap:0;padding-inline:10px}
 .editorial-site .ed-header .trial-btn .ed-arrow{display:none}
 .grouth-theme-toggle{width:36px;min-width:36px}
 .editorial-site .ed-menu-toggle{width:29px}
}
@media(prefers-reduced-motion:reduce){.grouth-theme-toggle{transition:none}}
