@media (min-width: 900px) {
.rd-mm-mods {
grid-template-columns: repeat(var(--m, 3), minmax(0, 1fr));
}
.rd-mm-zone::after {
content: '';
position: absolute;
top: -10px;
bottom: -34px;
width: 10px;
inset-inline-end: 0;
background: var(--teal);
border-radius: 0 0 5px 5px;
}
.rd-mm-alt::after {
inset-inline-end: auto;
inset-inline-start: 0;
}
.rd-mm-zone:last-of-type::after {
top: -22px;
bottom: auto;
width: 26px;
height: 26px;
border-radius: 50%;
background: var(--apricot);
inset-inline-end: -8px;
}
.rd-mm-zone.rd-mm-alt:last-of-type::after {
inset-inline-end: auto;
inset-inline-start: -8px;
}
.rd-mm-card {
border-inline-start: 2px dashed rgba(11, 31, 36, 0.25);
}
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.rd-sm-pin {
height: calc(100vh + var(--n) * 22vh);
view-timeline: --smp block;
}
.rd-sm-grid {
position: sticky;
top: 120px;
}
.rd-sm-steps li,
.rd-sm-card .rd-ui-r {
animation: rd-in linear both;
animation-timeline: --smp;
}
.rd-sm-steps li {
animation-range: contain calc(var(--i) / var(--n) * 100%) contain calc((var(--i) + 0.8) / var(--n) * 100%);
}
.rd-sm-card .rd-ui-r {
animation-range: contain calc(var(--j) / var(--r) * 100%) contain calc((var(--j) + 0.8) / var(--r) * 100%);
}
}
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
.rd-ed[data-step] {
height: calc(var(--n) * 90vh + 40vh);
view-timeline: --ed block;
}
.rd-ed[data-step] .rd-ed-pin {
position: sticky;
top: 64px;
height: calc(100vh - 64px);
}
.rd-ed[data-step] .rd-ed-stage {
position: absolute;
left: 50%;
top: 50%;
width: max(100%, (100vh - 64px) * 1.6);
aspect-ratio: 1440 / 900;
transform: translate(-50%, -50%);
}
.rd-ed[data-step] .rd-ed-photo img {
height: 100%;
object-fit: cover;
}
.rd-ed[data-step] .rd-ed-stage::after {
content: '';
position: absolute;
inset: 0 0 auto;
height: 36%;
background: linear-gradient(rgba(16, 44, 51, 0.78), rgba(16, 44, 51, 0));
}
.rd-ed[data-step] .rd-ed-route {
display: block;
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.rd-ed[data-step] .rd-plate {
display: inline-flex;
opacity: 0;
transition: opacity 0.4s var(--e);
}
.rd-ed[data-step] .rd-ed-head {
position: relative;
z-index: 1;
padding-top: 48px;
}
.rd-ed[data-step] .rd-ed-steps {
position: absolute;
left: 80px;
bottom: 56px;
width: 392px;
padding: 0;
}
.rd-ed[data-step] .rd-ed-step {
grid-area: 1 / 1;
padding: 24px 26px;
border-radius: 18px;
background: var(--ivory);
color: var(--ink);
box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.3);
opacity: 0;
transform: translateY(12px);
transition:
opacity 0.45s var(--e),
transform 0.45s var(--e);
}
.rd-ed[data-step] .rd-ed-step h3 {
padding-top: 12px;
font-size: 24px;
}
.rd-ed[data-step] .rd-ed-step .rd-num {
display: none;
}
.rd-ed[data-step] .rd-ed-step p {
color: var(--quiet);
}
.rd-ed[data-step] .rd-ed-prog {
display: flex;
gap: 6px;
}
.rd-ed-prog i {
width: 12px;
height: 4px;
border-radius: 2px;
background: rgba(11, 31, 36, 0.18);
}
.rd-ed-prog i.on {
width: 28px;
background: var(--apricot);
}
.rd-ed[data-step] .rd-ed-line {
stroke-dasharray: 1 1;
stroke-dashoffset: 1;
transition: stroke-dashoffset 0.8s var(--m);
}
.rd-ed[data-step] .rd-ed-st {
opacity: 0;
transition: opacity 0.4s var(--e);
}
.rd-ed[data-step='0'] .rd-ed-step1,
.rd-ed[data-step='1'] .rd-ed-step2,
.rd-ed[data-step='2'] .rd-ed-step3,
.rd-ed[data-step='3'] .rd-ed-step4 {
opacity: 1;
transform: none;
}
.rd-ed[data-step='0'] .rd-ed-line {
stroke-dashoffset: 0.78;
}
.rd-ed[data-step='1'] .rd-ed-line {
stroke-dashoffset: 0.24;
}
.rd-ed[data-step='2'] .rd-ed-line,
.rd-ed[data-step='3'] .rd-ed-line {
stroke-dashoffset: 0;
}
.rd-ed[data-step] .rd-ed-st1,
.rd-ed[data-step] .rd-ed-pl1,
.rd-ed[data-step]:not([data-step='0']) .rd-ed-st2,
.rd-ed[data-step]:not([data-step='0']) .rd-ed-pl2,
.rd-ed[data-step='2'] .rd-ed-st3,
.rd-ed[data-step='2'] .rd-ed-pl3,
.rd-ed[data-step='3'] .rd-ed-st3,
.rd-ed[data-step='3'] .rd-ed-pl3,
.rd-ed[data-step='3'] .rd-ed-st4,
.rd-ed[data-step='3'] .rd-ed-pl4 {
opacity: 1;
}
@supports (animation-timeline: view()) {
.rd-ed[data-step] .rd-ed-line {
transition: none;
animation: rd-line linear both;
animation-timeline: --ed;
animation-range: contain 0% contain 100%;
}
}
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
.rd-cap[data-step] {
height: 260vh;
view-timeline: --cap block;
}
.rd-cap[data-step] .rd-cap-pin {
position: sticky;
top: 64px;
height: calc(100vh - 64px);
overflow: hidden;
}
.rd-cap[data-step] .rd-cap-grid {
height: 100%;
grid-template-rows: auto auto;
align-content: center;
padding-block: 0;
}
.rd-cap[data-step] .rd-cap-photo {
z-index: 1;
transition:
transform 0.9s var(--m),
border-radius 0.9s var(--m);
}
.rd-cap[data-step='0'] .rd-cap-photo {
transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--k, 1));
border-radius: 0;
}
.rd-cap[data-step] h2,
.rd-cap[data-step] .rd-cap-list li {
opacity: 0;
transform: translateY(12px);
transition:
opacity 0.5s var(--e),
transform 0.5s var(--e);
transition-delay: calc(var(--i, 0) * 70ms + 0.3s);
}
.rd-cap[data-step] .rd-cap-done {
opacity: 0;
transition: opacity 0.6s var(--e);
}
.rd-cap[data-step]:not([data-step='0']) h2,
.rd-cap[data-step]:not([data-step='0']) .rd-cap-list li {
opacity: 1;
transform: none;
}
.rd-cap[data-step='2'] .rd-cap-done {
opacity: 1;
}
@supports (animation-timeline: view()) {
.rd-cap[data-step] .rd-cap-photo,
.rd-cap[data-step='0'] .rd-cap-photo {
transition: none;
transform: none;
animation: rd-settle linear both;
animation-timeline: --cap;
animation-range: contain 0% contain 40%;
}
}
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
.rd-ed-stage {
aspect-ratio: 1440 / 900;
overflow: hidden;
}
.rd-ed-photo img {
height: 100%;
object-fit: cover;
}
.rd-ed-route {
display: block;
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.rd-ed-stage .rd-plate {
display: inline-flex;
}
}
