Anchor mode transition to section boundary

This commit is contained in:
Meta Vens 2026-08-25 19:22:47 +02:00
commit f53e50827c
2 changed files with 18 additions and 8 deletions

View file

@ -11,6 +11,8 @@ description: One persistent world, experienced from opposite sides of the contra
<p>Dungeons need to be delved. The danger is not an obstacle around the resource; it is part of the old metabolic bargain that lets a core spend, learn, shed, and renew itself.</p>
</section>
<div class="delvehold-mode-boundary" aria-hidden="true"></div>
<section class="delvehold-mode-panel delvehold-mode-panel-hold">
<p class="delvehold-mode-label">HOLD</p>
<h2>Build the warm machine waiting above.</h2>

View file

@ -95,6 +95,7 @@ article > h3 {
body[data-slug="index"] {
background: color-mix(in srgb, var(--delve-green) 8%, #050505);
timeline-scope: --delvehold-mode-shift;
&::before {
content: "";
@ -105,8 +106,8 @@ body[data-slug="index"] {
background: color-mix(in srgb, var(--hold-purple) 9%, #050505);
clip-path: polygon(120% 0, 100% 0, 100% 100%, 100% 100%);
animation: delvehold-diagonal-wipe linear both;
animation-timeline: scroll(root block);
animation-range: 8% 92%;
animation-timeline: --delvehold-mode-shift;
animation-range: entry 0% exit 100%;
}
&::after {
@ -122,8 +123,8 @@ body[data-slug="index"] {
transform: translateX(130vw) rotate(11deg);
transform-origin: center;
animation: delvehold-wipe-edge linear both;
animation-timeline: scroll(root block);
animation-range: 8% 92%;
animation-timeline: --delvehold-mode-shift;
animation-range: entry 0% exit 100%;
}
#quartz-root {
@ -146,17 +147,24 @@ body[data-slug="index"] {
.delvehold-wordmark-delve {
animation: delvehold-delve-weight linear both;
animation-timeline: scroll(root block);
animation-range: 8% 92%;
animation-timeline: --delvehold-mode-shift;
animation-range: entry 0% exit 100%;
}
.delvehold-wordmark-hold {
animation: delvehold-hold-weight linear both;
animation-timeline: scroll(root block);
animation-range: 8% 92%;
animation-timeline: --delvehold-mode-shift;
animation-range: entry 0% exit 100%;
}
}
.delvehold-mode-boundary {
height: 1px;
margin-top: -1px;
pointer-events: none;
view-timeline: --delvehold-mode-shift block;
}
.delvehold-landing {
color: #fff;
}