/* Variation kit (rd/v/kit.js). Nothing applies unless a variation is mounted. */
.rd-skills.rdv-on .rd-rows { display: none; }
.rd-skills.rdv-on { overflow: clip !important; }
#work.rdv-on .rd-set, #work.rdv-on .rd-pill { display: none !important; }
#work.rdv-on.rdv-nohead > .rd-sec-head, .rd-skills.rdv-on.rdv-nohead > .rd-sec-head { display: none !important; }
.rdv { position: relative; }
/* air: every variation gets room before its heading, between heading and scene, and after the scene */
.rd-skills.rdv-on, #work.rdv-on { padding-top: clamp(150px, 30vh, 360px) !important; padding-bottom: clamp(150px, 30vh, 360px) !important; background: var(--rdv-ground, transparent) !important; color: var(--rdv-ink, inherit); transition: background-color .6s; }
.rdv-on > .rd-sec-head { position: relative; margin-bottom: clamp(80px, 16vh, 200px) !important; padding-top: 28px !important; }
.rdv-on > .rd-sec-head .rd-sec-title { color: var(--rdv-ink, inherit) !important; }
.rdv-on > .rd-sec-head .rd-sec-note { color: var(--rdv-ink, inherit) !important; opacity: .6; }
.rdv-on.rdv-nohead { padding-top: 0 !important; }
.rdv-on.rdv-nohead > .rdv { margin-top: 0; }
#work.rdv-on .rd-work-all { margin-top: clamp(90px, 18vh, 220px) !important; }
#work.rdv-on .rd-work-all a { color: var(--rdv-ink, inherit) !important; }
/* the heading arrives: a rule draws, the title rises out of its line */
.rdv-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; opacity: .28; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.22, 1, .36, 1); }
.rdv-head .rd-sec-title { clip-path: inset(0 0 100% 0); transform: translateY(.28em); transition: clip-path 1.2s cubic-bezier(.22, 1, .36, 1) .1s, transform 1.2s cubic-bezier(.22, 1, .36, 1) .1s; }
.rdv-head .rd-sec-note { transform: translateY(14px); transition: opacity .9s .5s, transform .9s cubic-bezier(.22, 1, .36, 1) .5s; }
.rdv-head:not(.is-in) .rd-sec-note { opacity: 0 !important; }
.rdv-head.is-in::before { transform: none; }
.rdv-head.is-in .rd-sec-title { clip-path: inset(-10% 0 -10% 0); transform: none; }
.rdv-head.is-in .rd-sec-note { transform: none; }
.rdv-bar { position: fixed; z-index: 9000; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 6px; font: 500 10px/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #f2ede4; pointer-events: auto; }
.rdv-bar-g { display: flex; align-items: center; gap: 8px; padding: 5px 6px; background: rgba(11, 11, 10, .86); border: 1px solid rgba(242, 237, 228, .18); border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.rdv-bar-g b { font-weight: 500; color: #d65c39; }
.rdv-bar-g span { min-width: 8ch; white-space: pre; }
.rdv-bar-g button { all: unset; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; background: rgba(242, 237, 228, .12); }
.rdv-bar-g button:hover, .rdv-bar-g button:focus-visible { background: #d65c39; }
@media (max-width: 760px) { .rdv-bar { top: 6px; flex-direction: column; align-items: center; gap: 3px; } .rdv-bar-g span { max-width: 44vw; overflow: hidden; text-overflow: ellipsis; } }
