.scroll-driven-sticky-text-reveal{--start:50vh;--space:50vh;--accent:var(--go);background:var(--cream);color:var(--charcoal)}.scroll-driven-sticky-text-reveal__header{top:calc((var(--count) - 1) * -1lh);width:100%;margin-bottom:var(--space);font-family:var(--font-serif), Georgia, "Times New Roman", serif;letter-spacing:-.03em;align-items:flex-start;font-size:clamp(2rem,1rem + 3.4vw,4.5rem);font-weight:560;line-height:1.2;display:flex;position:sticky}.scroll-driven-sticky-text-reveal__row{width:100%;padding-top:calc(var(--start) - .5lh);justify-content:center;align-items:flex-start;display:flex}.scroll-driven-sticky-text-reveal__lead,.scroll-driven-sticky-text-reveal__words{font:inherit;letter-spacing:inherit;margin:0}.scroll-driven-sticky-text-reveal__lead{top:calc(var(--start) - .5lh);white-space:nowrap;height:fit-content;position:sticky}.scroll-driven-sticky-text-reveal__words{padding:0;list-style:none}.scroll-driven-sticky-text-reveal__words li{--dimmed:color-mix(in srgb, var(--charcoal) 28%, transparent);background:linear-gradient(180deg, var(--dimmed) 0 calc(var(--start) - .5lh), var(--accent) calc(var(--start) - .55lh) calc(var(--start) + .55lh), var(--dimmed) calc(var(--start) + .5lh));color:#0000;white-space:nowrap;background-attachment:fixed;-webkit-background-clip:text;background-clip:text}.scroll-driven-sticky-text-reveal__close{z-index:2;height:100vh;color:var(--cream);view-timeline-name:--sticky-reveal-close;view-timeline-axis:block;place-items:center;padding:2rem 1.5rem;display:grid;position:relative}.scroll-driven-sticky-text-reveal__close:before{content:"";z-index:-1;background:var(--charcoal);transform-origin:50% 100%;border-radius:1rem 1rem 0 0;animation:ease-in-out both sticky-reveal-grow;animation-timeline:--sticky-reveal-close;animation-range:entry entry 60%;position:absolute;inset:0;scale:.92}.scroll-driven-sticky-text-reveal__closing{max-width:18ch;font-family:var(--font-serif), Georgia, "Times New Roman", serif;letter-spacing:-.03em;text-align:center;text-wrap:balance;margin:0;font-size:clamp(1.75rem,1rem + 2.4vw,3.5rem);font-weight:560;line-height:1.15;animation:ease-in-out both sticky-reveal-fade;animation-timeline:--sticky-reveal-close;animation-range:entry entry 60%}@keyframes sticky-reveal-grow{to{border-radius:0;scale:1}}@keyframes sticky-reveal-fade{0%{opacity:0}}@supports not (animation-timeline:view()){.scroll-driven-sticky-text-reveal__close:before,.scroll-driven-sticky-text-reveal__closing{opacity:1;border-radius:0;animation:none;scale:1}}@media (prefers-reduced-motion:reduce){.scroll-driven-sticky-text-reveal__header{margin-bottom:0;position:relative;top:auto}.scroll-driven-sticky-text-reveal__row{text-align:center;flex-direction:column;align-items:center;padding-top:4rem}.scroll-driven-sticky-text-reveal__lead{position:relative;top:auto}.scroll-driven-sticky-text-reveal__words li{color:var(--charcoal);background:0 0}.scroll-driven-sticky-text-reveal__close{height:auto;min-height:50vh}.scroll-driven-sticky-text-reveal__close:before,.scroll-driven-sticky-text-reveal__closing{opacity:1;border-radius:0;animation:none;scale:1}}
