body.cv-r5 {
    --accent-primary: #82bfff;
    --accent-secondary: #9c8bff;
    --card-border: #8e9be536;
    --text-primary: #f1f3ff;
    --text-secondary: #c0c6d9;
    --text-muted: #a7afc7;
    --r5-highlight: #bdcfff;
}
.cv-r5 .cv-card {
    background: linear-gradient(165deg, #1d203b 0%, #171a2f 25%, #14182b 75%, #161a31 100%);
    border-color: #9aa8fa3b;
}
.cv-r5 .cv-card::before {
    height: 2px;
    background: linear-gradient(90deg, #b080ff, #63a6fe 42%, #78d7fa 74%, #b080ff);
}
.cv-r5 .cv-nav {
    gap: clamp(.55rem, 1.5vw, 1.25rem);
    padding-inline: clamp(1.05rem, 2.7vw, 2.4rem);
    background: #10152ad9;
}
.cv-r5 .cv-r5-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    border-radius: .2rem;
    padding: .55rem 0;
}
.cv-r5-brand img {
    display: block;
    width: clamp(8.15rem, 13.55vw, 11rem);
    height: auto;
}
.cv-r5 .nav-menu {
    min-width: 0;
    gap: .26rem;
    padding: .82rem 0;
}
.cv-r5 .nav-link {
    padding: .57rem clamp(.52rem, 1.05vw, 1rem);
    color: #bfc9e3;
    font-weight: 560;
}
.cv-r5 .nav-link:is(:hover, .active) { color: #e2eeff; background: #506aec40; }
.cv-r5 .language-selector { flex-shrink: 0; margin-left: 0; }
.cv-r5 :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #b1d5ff;
    outline-offset: 4px;
}
.cv-r5 [hidden] { display: none !important; }
.cv-r5 .cv-r5-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.cv-r5 .fixed-header-avatar img { object-fit: contain; padding: 5px; background: #151a33; }

.cv-r5-home .profile-header {
    grid-template-columns: minmax(0, .97fr) minmax(0, 1.1fr);
    gap: clamp(1.65rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(1.3rem, 3.65vw, 3.7rem);
    margin-bottom: clamp(2.2rem, 4.65vw, 5rem);
    background: #17191f;
    border: 1px solid #9aabfa52;
    border-radius: clamp(.95rem, 1.75vw, 1.48rem);
    box-shadow: 0 17px 45px #06071140;
    isolation: isolate;
}
.cv-r5-home .profile-header::after { display: none; }
.cv-r5-home .profile-video-container {
    width: 100%;
    margin: 0;
    padding: .42rem;
    aspect-ratio: 1.225;
    border: 1px solid #89bafa66;
    border-radius: .99rem;
    background: linear-gradient(149deg, #a3aefe65, #587ad343 42%, #9180f34f);
    box-shadow: 0 20px 56px #050510bc, inset 0 1px 0 #e1edff4c;
    transform: translateZ(0);
}
.cv-r5-home .profile-video {
    width: 100%;
    height: 100%;
    border-radius: .61rem;
    clip-path: none;
    object-fit: cover;
    background: #141a28;
}
.cv-r5-video-toggle {
    position: absolute;
    inset: auto .95rem .95rem auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .43rem;
    padding: .44rem .70rem;
    border: 1px solid #aeb9ee83;
    border-radius: .48rem;
    background: #101626de;
    color: #f2f5ff;
    font: 600 .88rem/1.2 'AdobeClean', system-ui, sans-serif;
    cursor: pointer;
}
.cv-r5-video-toggle:hover { background: #242f53; }
.cv-r5-video-toggle span:first-child { width: .86rem; text-align: center; }
.cv-r5-home .profile-info { min-width: 0; }
.cv-r5-home .name {
    color: #f5f7ff;
    font-size: clamp(2.6rem, 5.37vw, 5.1rem);
    line-height: .96;
    letter-spacing: -.062em;
    font-weight: 720;
    text-wrap: balance;
    margin: 0 0 .99rem;
    text-shadow: 0 4px 26px #07091459;
}
.cv-r5-home .title {
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-content: center;
    gap: .48rem;
    min-height: 3.2rem;
    margin: 0;
    color: #e2e4e9;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
}
.cv-r5-home .animated-title {
    min-width: 0;
    min-height: 1.2em;
    overflow-wrap: anywhere;
    line-height: 1.22;
    text-shadow: none;
    color: #e2e4e9;
}
.cv-r5-home .animated-title::before, .cv-r5-home .animated-title::after { display: none; }
.cv-r5-home .title a, .cv-r5-title-next {
    display: inline-grid;
    place-items: center;
    align-self: center;
    width: 2.22rem;
    height: 2.22rem;
    margin: 0;
    border: 1px solid #8a9cd960;
    border-radius: .53rem;
    background: #141a33a6;
    color: #cdd9ff;
}
.cv-r5-title-next { font: 650 1.13rem/1 'AdobeClean', system-ui, sans-serif; cursor: pointer; }
.cv-r5-home .title a:hover, .cv-r5-title-next:hover { background: #405592a3; color: white; }
.cv-r5-home .title a i { color: #cdd9ff; font-size: 1.1rem; }
.cv-r5-specialties {
    display: flex;
    align-items: center;
    gap: .34rem;
    margin: .03rem 0 clamp(.72rem, 2vw, 1.45rem);
}
.cv-r5-specialties button {
    display: grid;
    place-items: center;
    width: 1.85rem;
    min-height: 1.65rem;
    padding: .2rem;
    background: none;
    border: 0;
    border-radius: .32rem;
    cursor: pointer;
}
.cv-r5-specialties button span {
    width: 100%;
    height: .17rem;
    border-radius: 999px;
    background: #9daee066;
    transition: background .28s ease, box-shadow .28s ease;
}
.cv-r5-specialties button:is(:hover, :focus-visible) span { background: #bacafa; }
.cv-r5-specialties button[aria-pressed="true"] span {
    background: #e2e4e9;
}
.cv-r5-home .action-buttons { gap: .66rem; }
.cv-r5-home .cv-r5-specialties[hidden] + .action-buttons { margin-top: 1rem; }
.cv-r5-home .profile-info .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: .58rem;
    min-height: 2.9rem;
    padding: .65rem .95rem;
    font-weight: 655;
    letter-spacing: 0;
}
.cv-r5-home .profile-info .btn-primary {
    background: #e7e9ef;
    border: 1px solid #e7e9ef;
    color: #101932;
    box-shadow: none;
}
.cv-r5-home .profile-info .btn-secondary {
    background: #141e341f;
    color: #e9edff;
    border: 1px solid #a1aee27a;
}
.cv-r5-home .profile-info .btn-secondary:hover { background: #43589375; }

.cv-r5-home .worked-with-section {
    margin-bottom: clamp(2.8rem, 5.6vw, 5.25rem);
    scroll-margin-top: 1.5rem;
}
.cv-r5-home .worked-with-section .section-title {
    font-size: clamp(1.65rem, 2.75vw, 2.7rem);
    letter-spacing: -.045em;
    margin-bottom: clamp(.92rem, 2.1vw, 1.7rem);
}
.cv-r5-home .logos-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(.58rem, 1.7vw, 1.2rem);
}
.cv-r5-home .logo-item {
    --spot-x: 50%;
    --spot-y: 30%;
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: .42rem;
    justify-items: center;
    width: 100%;
    max-width: none;
    height: clamp(6.7rem, 8.5vw, 8.15rem);
    padding: .7rem .62rem .48rem;
    border: 1px solid #889cf640;
    border-radius: .8rem;
    background: linear-gradient(145deg, #1a2842, #1a2138 58%, #222043);
    color: #c8d3e9;
    text-decoration: none;
    text-align: center;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.cv-r5-home .logo-item::before {
    inset: 0;
    width: auto;
    height: auto;
    background: radial-gradient(ellipse at var(--spot-x) var(--spot-y), #9ab9ff49, transparent 68%);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: none;
}
.cv-r5-home .logo-item:is(:hover, :focus-visible) {
    border-color: #a1b6ffab;
    box-shadow: 0 8px 26px #242b7c8f;
    transform: translateY(-4px);
}
.cv-r5-home .logo-item:is(:hover, :focus-visible)::before { opacity: 1; }
.cv-r5-home .logo-item img {
    position: relative;
    width: auto;
    height: 100%;
    max-width: min(94%, 9.75rem);
    max-height: 4.2rem;
    min-height: 0;
    filter: drop-shadow(0 1px 1px #e6ecff14);
    object-fit: contain;
    object-position: center;
}
.cv-r5-logo-name {
    position: relative;
    font-size: .79rem;
    line-height: 1.15;
    font-weight: 550;
    overflow-wrap: anywhere;
}
.cv-r5-home .preloader-icon-inner img { display: block; width: 54%; height: auto; margin: auto; }
.cv-r5-home .preloader-icon-inner { display: grid; place-items: center; }

@media (max-width: 72rem) {
    .cv-r5 .cv-nav { gap: .55rem; }
    .cv-r5 .nav-link { padding-inline: .5rem; }
    .cv-r5 .nav-link i { margin-right: .25rem; width: 1em; }
    .cv-r5-home .logos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 55rem) {
    .cv-r5 .cv-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .38rem .68rem; }
    .cv-r5 .cv-r5-brand { grid-column: 1; grid-row: 1; }
    .cv-r5 .language-selector { grid-column: 2; grid-row: 1; }
    .cv-r5 .nav-menu { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; padding: .18rem 0 .76rem; }
    .cv-r5 .nav-link { padding: .47rem .5rem; font-size: .88rem; }
    .cv-r5-home .profile-header { gap: 1.25rem; }
}
@media (max-width: 42rem) {
    .cv-r5-home .profile-header { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .cv-r5-home .profile-info { grid-row: 1; }
    .cv-r5-home .name { font-size: clamp(2.3rem, 9.3vw, 4rem); margin-bottom: .72rem; }
    .cv-r5-specialties { justify-content: center; }
    .cv-r5-home .profile-video-container { grid-row: 2; }
    .cv-r5-home .logos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cv-r5-home .logo-item { padding: .57rem .26rem .40rem; height: 6rem; }
    .cv-r5-home .logo-item img { max-height: 3.4rem; }
    .cv-r5-home .profile-info .btn { padding-inline: .7rem; font-size: .88rem; }
}
@media (max-width: 25rem) {
    .cv-r5 .cv-nav { padding-inline: .87rem; }
    .cv-r5 .nav-menu { gap: .1rem; justify-content: space-between; }
    .cv-r5 .nav-link { font-size: .78rem; padding-inline: .29rem; }
    .cv-r5 .nav-link i { display: none; }
    .cv-r5-home .logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv-r5-home .logo-item img { max-width: min(88%, 7.6rem); }
}
@media (pointer: coarse) {
    body.cv-r5 { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .cv-r5 :is(.fade-in, .fade-in-up, .slide-in-left, .slide-in-right, .logo-item) {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
    .cv-r5-home #network-canvas { opacity: 0; }
    .cv-r5-home .animated-title, .cv-r5-specialties button span { transition: none; }
}
