/* Effects only. Layout and typography remain native Elementor styles. */
:root { --qub-entry-styles: 1; }
.cs-brand-entry { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; perspective: 1200px; isolation: isolate; animation: cs-entry-escape 0s 3.5s forwards; }
.cs-entry-planes { position: absolute; inset: 0; z-index: -1; display: flex; overflow: hidden; pointer-events: none; }
.cs-entry-planes i { display: block; width: 33.334%; height: 100%; background: #0A0A0A; flex-shrink: 0; }
.cs-entry-mark { width: min(68vw, 82svh, 760px); color: #FFFFFF; transform-style: preserve-3d; pointer-events: none; }
.cs-entry-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.cs-entry-mark .qub-word path { fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-linejoin: round; }
.cs-entry-mark .qub-dot { transform-box: fill-box; transform-origin: center; }
.cs-entry-mark .qub-dot path { fill: #0000FF; }
.cs-entry-caption { position: absolute; bottom: max(13svh, 84px); left: 20px; right: 20px; margin: 0; text-align: center; color: #FFFFFF; font-family: Geologica, system-ui, sans-serif; font-weight: 600; font-size: clamp(16px, 2vw, 24px); letter-spacing: -0.02em; pointer-events: none; }
.cs-entry-skip { position: absolute; right: max(20px, env(safe-area-inset-right)); top: max(20px, env(safe-area-inset-top)); min-height: 52px; padding: 12px 24px; border: 1.5px solid #FFFFFF; border-radius: 999px; background: #0A0A0A; color: #FFFFFF; font: 600 16px Geologica, system-ui, sans-serif; cursor: pointer; }
.cs-entry-skip:hover, .cs-entry-skip:focus-visible { background: #0000FF; outline: 2px solid #FFFFFF; outline-offset: 4px; }
@keyframes cs-entry-escape { to { visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .cs-brand-entry { display: none !important; } }
[data-id="cs-cinema-pin"] { isolation: isolate; }
[data-id^="cs-cinema-scene-"] { perspective: 1200px; isolation: isolate; }
[data-id="cs-cinema-scene-0"] { z-index: 1; }
[data-id="cs-cinema-scene-1"] { z-index: 2; }
[data-id="cs-cinema-scene-2"] { z-index: 3; }
[data-id="cs-cinema-scene-3"] { z-index: 4; }
[data-id="cs-cinema-pin"] [data-id="cs-intro-header"], [data-id="cs-cinema-next"] { mix-blend-mode: normal; transform: translateZ(0); }
[data-id="cs-cinema-pin"].cs-light-header [data-id="cs-intro-header"], [data-id="cs-cinema-pin"].cs-light-next [data-id="cs-cinema-next"] { filter: invert(1); }
[data-id^="cs-cinema-word-"] { perspective: 1000px; }
[data-id^="cs-cinema-art-"] { pointer-events: none; transform-style: preserve-3d; }
[data-id^="cs-cinema-art-"] .qub-logo { width: 100%; display: block; }
[data-id^="cs-cinema-art-"] .qub-logo svg { width: 100%; height: auto; overflow: visible; }
[data-id="cs-cinema-art-0"] .qub-word path { fill: none; stroke: #A3A3A3; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
[data-id="cs-cinema-art-0"] .qub-dot path { fill: #0000FF; }
[data-id="cs-cinema-art-1"] path { fill: none; stroke: #0000FF; stroke-width: 2.8; vector-effect: non-scaling-stroke; }
[data-id="cs-cinema-art-1"] .qub-word path { vector-effect: none; }
[data-id="cs-cinema-art-2"] .qub-word path { fill: #0000FF; fill-opacity: .1; stroke: #0000FF; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
[data-id="cs-cinema-art-2"] .qub-dot path { fill: #0000FF; }
[data-id="cs-cinema-art-3"] .qub-word path { fill: none; stroke: #5C5C5C; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
[data-id="cs-cinema-art-3"] .qub-dot path { fill: #0000FF; }
.cs-cinema-ready [data-id="cs-cinema-pin"] { height: 100svh; overflow: hidden; }
.cs-cinema-ready [data-id^="cs-cinema-scene-"] { position: absolute; inset: 0; height: 100svh; min-height: 100svh; pointer-events: none; opacity: 0; }
.cs-cinema-ready [data-id="cs-cinema-scene-0"] { opacity: 1; }
[data-id="cs-stage"] .qub-flow i { animation: none !important; transition: none !important; }
[data-id="cs-mark"] { pointer-events: none; }
[data-id="cs-mark"] .qub-logo { width: 100%; max-width: 100%; }
[data-id="cs-mark"] .qub-logo svg { width: 100%; height: auto; }
[data-id="cs-mark"] .qub-logo { position: relative; display: block; transform-style: preserve-3d; isolation: isolate; }
[data-id="cs-mark"] .cs-q-face { position: relative; display: block; overflow: visible; }
[data-id="cs-mark"] .cs-q-face .qub-word path { fill: #FFFFFF; stroke: #FFFFFF; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
[data-id="cs-mark"] .cs-q-face .qub-dot path { fill: #0000FF; }
[data-id="cs-mark"] .cs-depth-layer { position: absolute; inset: 0; opacity: .25; overflow: visible; pointer-events: none; }
[data-id="cs-mark"] .cs-depth-layer path { fill: none; stroke: #FFFFFF; stroke-width: 1; vector-effect: non-scaling-stroke; }
[data-id="cs-mark"] .cs-depth-blue path { stroke: #0000FF; stroke-width: 1.5; }
/* Give the actual anchors a touch target, not just their text wrappers. */
.elementor.elementor-265 [data-id="cs-details"] a { display: inline-flex; align-items: center; min-height: 44px; }
.elementor.elementor-265 [data-id="cs-details"] a:focus-visible { outline: 2px solid #0000FF; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 767px) { .cs-entry-mark { width: min(82vw, 58svh, 380px); } }
@media (prefers-reduced-motion: reduce) {
  [data-id="cs-stage"] *, [data-id="cs-stage"] *::before, [data-id="cs-stage"] *::after { animation: none !important; transition: none !important; }
}
/* Continuous, reversible drawing and assembly, scoped to this canvas. */
.cs-continuous [data-id^="cs-cinema-word-"] .cs-scroll-letter {
  position: relative; color: transparent; -webkit-text-stroke: 1px var(--cs-letter-ink, #FFFFFF);
  transform-style: preserve-3d;
}
.cs-continuous .cs-scroll-letter::after {
  content: attr(data-cs-glyph); position: absolute; inset: 0; display: block; white-space: pre;
  color: var(--cs-letter-ink, #FFFFFF); -webkit-text-fill-color: var(--cs-letter-ink, #FFFFFF); -webkit-text-stroke: 0;
  clip-path: inset(calc(130% - var(--cs-letter-fill, 100%) * 1.3) -.15em -30% -.05em); pointer-events: none;
}
.cs-continuous [data-id^="cs-cinema-art-"] .qub-logo { position: relative; transform-style: preserve-3d; }
.cs-continuous [data-id^="cs-cinema-art-"] .qub-logo > svg:first-child { position: relative; z-index: 6; }
.cs-continuous .cs-build-slice, .cs-continuous .cs-launch-fill { position: absolute; inset: 0; pointer-events: none; }
.cs-continuous .cs-build-slice { z-index: 1; }
.cs-continuous .cs-build-slice path { fill: none; fill-opacity: 1; stroke: #0000FF; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cs-continuous .cs-launch-fill { z-index: 7; opacity: .30; }
.cs-continuous .cs-launch-fill .qub-word path { fill: #FFFFFF; stroke: #FFFFFF; }
.cs-continuous .cs-launch-fill .qub-dot { display: none; }
.cs-continuous .cs-draft-guide { stroke: #0000FF; stroke-width: .6; opacity: .4; vector-effect: non-scaling-stroke; }
.cs-continuous .cs-draft-pen { fill: #FFFFFF; stroke: #0000FF; stroke-width: 2; }
.cs-scroll-ruler { position: absolute; right: 5%; bottom: 36px; z-index: 20; width: clamp(100px, 16vw, 180px); color: #FFFFFF; pointer-events: none; transform: translateZ(0); }
.cs-scroll-ruler span { display: block; margin-bottom: 10px; font: 500 12px Geologica, system-ui, sans-serif; letter-spacing: .12em; }
.cs-scroll-ruler i { display: block; height: 2px; background: #262626; position: relative; overflow: hidden; }
.cs-scroll-ruler i::after { content: ''; position: absolute; inset: 0; background: #0000FF; transform-origin: left; transform: scaleX(var(--cs-progress, 0)); }
.cs-scroll-ruler.cs-ruler-light { color: #0A0A0A; }
.cs-scroll-ruler.cs-ruler-light i { background: #E4E4E4; }
.cs-continuous [data-id="cs-intro-contact"] { background: #0A0A0A; }

/* One Q travels through every chapter, then docks into the contact sculpture. */
.cs-q-journey [data-id^="cs-cinema-art-"] { visibility: hidden; }
.cs-q-journey [data-id^="cs-cinema-scene-"] { background: transparent !important; }
.cs-unified-q { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
body > .cs-unified-q { z-index: 30; }
.cs-unified-q svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cs-unified-q .cs-unified-face { position: relative; z-index: 2; }
.cs-unified-face .qub-word path { fill: #FFFFFF; fill-opacity: 0; stroke: #A3A3A3; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cs-unified-q .qub-dot path { fill: #0000FF; stroke: none; }
.cs-unified-layer { position: absolute; inset: 0; opacity: 0; }
.cs-unified-layer .qub-word path { fill: none; stroke: #0000FF; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cs-unified-layer .qub-dot { display: none; }
.cs-unified-q .cs-draft-guide { stroke: #0000FF; stroke-width: .6; vector-effect: non-scaling-stroke; }
.cs-unified-q .cs-draft-pen { fill: #FFFFFF; stroke: #0000FF; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { .cs-unified-q { display: none !important; } }

/* Negative tracking and tight line height must not crop completed glyphs. */
.cs-continuous [data-id^="cs-cinema-word-"] .cs-scroll-letter.cs-letter-complete { color: var(--cs-letter-ink, #FFFFFF); -webkit-text-fill-color: var(--cs-letter-ink, #FFFFFF); -webkit-text-stroke: 0; }
.cs-continuous .cs-scroll-letter.cs-letter-complete::after { opacity: 0; }

/* Art from the social media visual language: film grain over the whole piece and the blue sparkle on "Launch." */
[data-id="cs-cinema-pin"]::after,[data-id="cs-shell"]::after{content:"";position:absolute;inset:0;z-index:9;pointer-events:none;opacity:.22;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
[data-id="cs-cinema-word-3"]::before{content:"";position:absolute;right:-.12em;top:-.16em;width:.42em;aspect-ratio:1;background:#0000FF;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='118 133 264 264'%3E%3Cpath d='M380.4,265.3c-148.4-10-140.3-18-130.4,130.4,9.9-148.4,18-140.4-130.4-130.4,148.4,9.9,140.3,17.9,130.4-130.5C240.1,283.2,232,275.2,380.4,265.3Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='118 133 264 264'%3E%3Cpath d='M380.4,265.3c-148.4-10-140.3-18-130.4,130.4,9.9-148.4,18-140.4-130.4-130.4,148.4,9.9,140.3,17.9,130.4-130.5C240.1,283.2,232,275.2,380.4,265.3Z'/%3E%3C/svg%3E") center/contain no-repeat;animation:csSpark 6s ease-in-out infinite}
@keyframes csSpark{0%,100%{rotate:0deg;scale:1}50%{rotate:90deg;scale:.7}}
@media (prefers-reduced-motion:reduce){[data-id="cs-cinema-word-3"]::before{animation:none}}
