/* Ansa-inspired additions. Intentionally no Hero, global body or heading selectors. */
.tl-theatre { overflow: clip; color: #fff; background: #2435E8; grid-template-rows: auto minmax(0,1fr) auto; touch-action: pan-y; }
.tl-theatre:focus-visible { outline: 3px solid #FFBDE6; outline-offset: -8px; }
.tl-stage-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.tl-story .tl-stage-ink { color: transparent; background: linear-gradient(105deg,#FFD3E8,#FFFFFF 30%,#BEB3FF 65%,#FFADDD); background-size: 220% 100%; background-clip: text; -webkit-background-clip: text; padding-block: .15em; margin-block: -.15em; }
.tl-scene-counter { flex: none; font: 500 18px/1.2 var(--body); color: #FFFFFFA6; white-space: nowrap; padding-top: 8px; }
.tl-scene-counter b { font: 400 46px/1 var(--display); color: #fff; }
.tl-stage-light { inset: 0; overflow: hidden; }
.tl-stage-light i { position: absolute; width: 100%; height: 100%; top: -35%; left: -25%; background: radial-gradient(ellipse,#E16ACB66,transparent 64%); }
.tl-stage-light i + i { top: 25%; left: 35%; background: radial-gradient(ellipse,#A4C2FF55,transparent 65%); }
.tl-scene-stack { min-height: 0; position: relative; }
.tl-scene { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: minmax(0,1fr); align-items: center; gap: 36px; }
.tl-scene[hidden] { display: none; }
.tl-scene-word { position: absolute; left: -10vw; width: 120vw; top: 16%; z-index: -1; pointer-events: none; color: #15105245; font: 700 clamp(100px,15vw,240px)/.95 var(--body); letter-spacing: -.045em; text-transform: uppercase; }
.tl-scene-word span { display: block; white-space: nowrap; }
.tl-scene-word span + span { color: transparent; -webkit-text-stroke: 1.5px #FFFFFF33; margin-left: -12%; }
.tl-scene-art { position: relative; grid-column: 2; grid-row: 1; height: 100%; min-height: 0; width: 100%; max-height: 570px; align-self: center; }
.tl-scene-art > svg { position: absolute; inset: 8%; width: 84%; height: 84%; opacity: .72; overflow: visible; }
.tl-scene-art .tl-scene-person { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.tl-scene-copy { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 35px; }
.tl-scene-copy h3 { font: 400 clamp(32px,4.1vw,60px)/1.1 var(--display); letter-spacing: -.025em; }
.tl-scene-copy p { max-width: 26em; margin: 22px 0 0; font: 400 clamp(22px,2vw,29px)/1.4 var(--body); color: #FFFFFFE6; }
.tl-scene-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.tl-scene-controls > div { display: flex; align-items: center; gap: 30px; }
.tl-scene-controls button { border: 0; background: transparent; color: #fff; cursor: pointer; min-height: 48px; padding: 8px 4px; font: 400 32px/1 var(--body); }
.tl-scene-controls .tl-scene-pause { font: 400 18px/1.3 var(--body); text-decoration: underline; text-underline-offset: 6px; color: #FFFFFFCC; }
.tl-scene-controls svg { display: block; width: 150px; height: 48px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.tl-scene-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 8px; }
.tl-theatre > [data-scene-status] { position: absolute !important; }
.tl-compare { grid-template-rows: auto minmax(0,1fr); background: #EFEFF1; }
.tl-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 0; }
.tl-compare-card { border-radius: 40px; padding: 34px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.tl-compare-card > div { position: relative; z-index: 2; }
.tl-compare-card h3 { font-size: clamp(28px,3.2vw,46px); }
.tl-compare-card p { font: 400 clamp(20px,1.9vw,28px)/1.45 var(--body); margin: 24px 0 0; }
.tl-compare-card img { width: 64%; height: 60%; object-fit: contain; object-position: right bottom; position: absolute; right: -2%; bottom: 0; z-index: 0; }
.tl-before { background: #DFDFE3; color: #65626D; }
.tl-after { background: linear-gradient(130deg,#DAE9FF,#E9D6FF 40%,#FFCBE9 75%,#F6C1F3); background-size: 220% 160%; color: #25215C; }
.tl-compare-star { position: absolute; width: 100px; height: 100px; bottom: 7%; left: 10%; color: #EE1599; }
.tl-start-orbit { position: absolute; width: 38%; height: 42%; right: 4%; top: 2%; pointer-events: none; }
.tl-start-orbit img { width: 100%; height: 100%; object-fit: contain; }
.tl-start-panel { padding-top: 80px; }
.tl-start-panel .tl-price { position: relative; margin-top: 15%; align-self: start; }
.tl-start-panel > p { position: relative; }
.tl-contact { grid-template-rows: auto minmax(0,1fr) auto; background: #EFEFF1; text-align: center; }
.tl-contact-art { align-self: stretch; justify-self: center; width: min(100%,700px); min-height: 0; isolation: isolate; }
.tl-contact-art > img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.tl-contact-halo { display: block; position: absolute; inset: 5% 10%; border-radius: 50%; background: radial-gradient(ellipse,#EDB5E9 0%,#C9CDFF 42%,transparent 72%); }
.tl-contact-swoosh { position: absolute; inset: 8% -20%; width: 140%; height: 84%; fill: none; stroke: #C7B9F3; stroke-width: 2; }
.tl-contact-actions { display: grid; justify-items: center; gap: 18px; }
.tl-ansa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 18px 28px; border-radius: 999px; font: 500 19px/1.3 var(--body); color: #24222A; background: white; text-decoration: none; border: 0; box-shadow: 0 14px 30px -20px #1B1A1F73; transition: transform .25s,box-shadow .3s,background-color .3s; }
.tl-ansa-btn img { width: 26px; height: 26px; border-radius: 7px; }
.tl-ansa-btn.tl-ansa-primary { background: #24222A; color: #fff; min-width: min(100%,380px); justify-content: space-between; }
.tl-ansa-btn > span { font-size: 30px; }
.tl-ask-row { display: flex; gap: 14px; justify-content: center; }
.tl-ansa-btn:active { transform: scale(.98); }
.tl-ansa-btn:focus-visible { outline: 3px solid #4F47F5; outline-offset: 5px; }
@media(hover:hover) { .tl-ansa-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px #E43FAF70; } }
html:not([data-page-theme]) footer.tl-ansa-foot, footer.tl-ansa-foot { height: auto; min-height: 0; position: relative; display: block; max-width: none; margin: 0 16px 16px; padding: 60px max(32px,4vw) 26px; border-radius: 40px; background: #26252B; color: #FFFFFFB3; }
.tl-foot-in { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.tl-ansa-foot .wordmark { color: white; text-decoration: none; }
.tl-foot-about > p { margin: 24px 0 0; font: 400 24px/1.45 var(--body); }
.tl-foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tl-foot-col { display: grid; align-content: start; justify-items: start; gap: 18px; }
.tl-foot-col h4 { margin: 0 0 8px; font: 500 16px/1.3 var(--body); color: #FFFFFF75; }
.tl-foot-links a { color: #fff; font: 400 18px/1.4 var(--body); text-decoration: underline; text-decoration-color: #FFFFFF55; text-underline-offset: 5px; overflow-wrap: anywhere; }
.tl-foot-links a:hover { color: #FFB8E0; }
.tl-foot-bottom { max-width: 1320px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid #FFFFFF26; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 400 15px/1.4 var(--body); }
.tl-foot-bottom p { margin: 0; }
.tl-foot-bottom button { background: none; border: 0; padding: 10px 0; color: #FFFFFFB3; font: inherit; text-decoration: underline; text-underline-offset: 5px; }
.tl-foot-bottom > a { font-size: 32px; color: white; text-decoration: none; padding: 8px 12px; }
@media(max-width:760px) {
 .tl-theatre { gap: 18px; }
 .tl-scene-counter { font-size: 14px; padding-top: 4px; }
 .tl-scene-counter b { font-size: 28px; }
 .tl-scene { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; gap: 14px; }
 .tl-scene-art { grid-column: 1; grid-row: 1; max-height: none; }
 .tl-scene-word { left: -8vw; top: 16%; font-size: 22vw; }
 .tl-scene-copy { grid-column: 1; grid-row: 2; padding: 0; }
 .tl-scene-copy h3 { font-size: 31px; }
 .tl-scene-copy p { font-size: 20px; line-height: 1.4; margin-top: 12px; min-height: 84px; }
 .tl-scene-controls svg { width: 112px; height: 44px; }
 .tl-scene-controls .tl-scene-pause { font-size: 17px; }
 .tl-compare-grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
 .tl-compare-card { border-radius: 30px; padding: 24px; }
 .tl-compare-card h3 { font-size: 27px; }
 .tl-compare-card p { font-size: 17px; margin-top: 16px; }
 .tl-compare-card img { width: 45%; height: 88%; right: -2%; }
 .tl-compare-star { width: 44px; height: 44px; left: 51%; bottom: 3%; }
 .tl-start-panel { padding-top: 42px; }
 .tl-start-panel .tl-price { margin-top: 18%; font-size: 62px; }
 .tl-start-orbit { width: 42%; height: 35%; right: 3%; }
 .tl-contact { text-align: left; gap: 18px; }
 .tl-contact-art { width: 100%; }
 .tl-contact-actions { justify-items: stretch; gap: 12px; }
 .tl-ask-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
 .tl-ansa-btn { font-size: 17px; min-height: 54px; padding: 14px 20px; }
 .tl-ansa-btn.tl-ansa-primary { min-height: 64px; }
 html:not([data-page-theme]) footer.tl-ansa-foot, footer.tl-ansa-foot { margin: 0 10px 10px; padding: 34px 24px 20px; border-radius: 30px; }
 .tl-foot-in { grid-template-columns: 1fr; gap: 40px; }
 .tl-foot-about > p { font-size: 22px; }
 .tl-foot-links { gap: 24px 20px; }
 .tl-foot-links a { font-size: 16px; }
 .tl-foot-col { gap: 15px; }
 .tl-foot-bottom { gap: 12px; flex-wrap: wrap; font-size: 14px; margin-top: 32px; }
 .tl-foot-bottom > a { margin-left: auto; }
}
@media(max-height:650px) {
 .tl-theatre { min-height: 740px; }
 .tl-scene-stack { min-height: 450px; }
 .tl-compare-grid { min-height: 540px; }
 .tl-contact-art { min-height: 280px; }
}
@media(prefers-reduced-motion:reduce) { .tl-ansa-btn { transition: none; } }

/* The Ansa behaviour: a single page-wide colour, including the space between
   chapters. Cards and the dark footer remain surfaces on this shared canvas. */
html[data-story-canvas] {
 background-color: var(--story-canvas,#EFEFF1);
 transition: background-color 1s cubic-bezier(.22,1,.36,1);
 --story-ink: #17171B; --story-muted: #777580; --story-line: #CFCBD5;
}
html[data-story-tone="dark"] { --story-ink: #FFFFFF; --story-muted: #E3DDF7; --story-line: #FFFFFF55; }
html[data-story-canvas] body,
html[data-story-canvas] .tl-story,
html[data-story-canvas] .tl-section { background: transparent; }
html[data-story-canvas] .tl-story,
html[data-story-canvas] .tl-theatre { color: var(--story-ink); transition: color 1s cubic-bezier(.22,1,.36,1); }
html[data-story-canvas] .tl-story h2 > span:not(.tl-ink):not(.tl-stage-ink):not(.tl-underline),
html[data-story-canvas] :is(.tl-intro .tl-lead,.tl-business-list p,.tl-brands-note,.tl-faq details p) { color: var(--story-muted); transition: color 1s cubic-bezier(.22,1,.36,1); }
html[data-story-canvas] :is(.tl-business-list article,.tl-faq details) { border-color: var(--story-line); }
html[data-story-canvas] .tl-scene-copy p,
html[data-story-canvas] .tl-scene-controls button,
html[data-story-canvas] .tl-scene-counter b { color: inherit; }
html[data-story-canvas] .tl-scene-counter { color: var(--story-muted); }
html[data-story-tone="light"] .tl-stage-ink { background-image: linear-gradient(110deg,#2635D6,#B337BC); }
html[data-story-tone="light"] .tl-scene-word { color: #30219D1C; }
html[data-story-tone="light"] .tl-scene-word span + span { -webkit-text-stroke-color: #30219D33; }
html[data-story-canvas] .tl-stage-light { opacity: 0; transition: opacity 1s; }
html[data-story-tone="dark"] .tl-stage-light { opacity: 1; }
@media(prefers-reduced-motion:reduce) {
 html[data-story-canvas],html[data-story-canvas] .tl-story,html[data-story-canvas] .tl-theatre,
 html[data-story-canvas] .tl-story h2 > span,html[data-story-canvas] :is(.tl-intro .tl-lead,.tl-business-list p,.tl-brands-note,.tl-faq details p),html[data-story-canvas] .tl-stage-light { transition: none; }
}

/* The glow is also viewport-wide, with transparent edges outside the screen. */
html[data-story-canvas] > body > .tl-stage-light { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
html[data-story-canvas] .tl-stage-light i { width: 120vmax; height: 120vmax; left: -40vmax; top: -40vmax; background: radial-gradient(circle closest-side,#E16ACB55,transparent 75%); }
html[data-story-canvas] .tl-stage-light i + i { left: calc(100vw - 75vmax); top: calc(100vh - 75vmax); background: radial-gradient(circle closest-side,#A4C2FF44,transparent 75%); }

/* One forward control; all arrows are vector strokes, never Unicode emoji. */
.tl-scene-controls { justify-content: flex-end; }
.tl-action-icon { display: inline-block; width: 26px; height: 26px; flex: none; }
.tl-arrow-top { transform: rotate(-45deg); }
.tl-nav-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tl-rail-controls button { display: grid; place-items: center; }
.tl-shape-entry { transform-box: fill-box; transform-origin: center; }
