:root { color-scheme: dark; background: #0c1725; }
body { margin: 0; font-family: Montserrat, sans-serif; color: #fff; }
.cv { --accent: #ff0066; position: relative; }
.cv-panel { position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100dvh; isolation: isolate; }
.cv-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cv-contact .cv-background { object-position: left top; }
.cv-contact::before { content: ""; position: absolute; inset: 0; background: #0004; z-index: -1; }
.cv-copy { box-sizing: border-box; margin-left: 50%; padding: 50px 100px 50px 0; }
.cv-contact .cv-copy { margin-left: 60%; }
.cv h1, .cv h2 { margin: 0; font-size: 50px; line-height: 1; font-weight: 700; text-shadow: 0 10px 30px rgba(12,23,37,.65); }
.cv p { color: rgba(255,255,255,.75); font-size: 18px; line-height: 28px; margin: 28px 0 0; }
.cv p:first-of-type { margin-top: 30px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 10px 5px; margin-top: 40px; }
.cv-button { display: inline-block; padding: 0 20px; background: var(--accent); color: #fff; text-transform: uppercase; text-decoration: none; font: 700 13px/40px Montserrat,sans-serif; letter-spacing: 1px; border-bottom: 1px solid transparent; box-shadow: 0 0 60px #ff0066; transition: filter 300ms ease; }
.cv-button:hover { filter: grayscale(.3) brightness(1.1); }
.cv-logo { display: block; width: max-content; }
.cv-logo img { display: block; }
.cv-nav, .cv-progress { display: none; }
.cv-ready { display: grid; overflow: hidden; }
.cv-ready .cv-panel { grid-area: 1 / 1; visibility: hidden; }
.cv-ready .cv-panel.is-active, .cv-ready .cv-panel.is-moving { visibility: visible; }
.cv-ready .cv-panel.is-active { z-index: 1; }
.cv-ready .cv-nav { position: absolute; z-index: 2; left: 30px; top: calc(50% + 30px); transform: translateY(-50%); display: grid; gap: 10px; }
.cv-nav a { box-sizing: border-box; width: 280px; height: 170px; padding: 20px 25px; color: #fff; text-decoration: none; opacity: .65; transition: opacity .3s, background .3s; }
.cv-nav a:hover, .cv-nav a[aria-current="true"] { opacity: 1; background: #ffffff1a; }
.cv-nav strong { display: block; padding-top: 12px; border-top: 3px solid #ffffff55; font-size: 18px; line-height: 20px; letter-spacing: -.27px; }
.cv-nav a[aria-current="true"] strong { border-color: var(--accent); }
.cv-nav span { display: block; margin-top: 10px; color: #ffffff80; font-size: 14px; line-height: 20px; letter-spacing: -.27px; }
.cv-ready .cv-progress { display: block; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 10px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
@media (max-width: 1024px) { .cv h1, .cv h2 { font-size: 40px; } }
@media (max-width: 778px) {
    .cv-copy, .cv-contact .cv-copy { margin-left: 0; padding: 50px 40px; }
    .cv-ready .cv-nav { left: 50%; top: auto; bottom: 20px; transform: translateX(-50%); display: flex; gap: 5px; }
    .cv-nav a { opacity: 1; width: 16px; height: 16px; padding: 0; border: 2px solid #fff; border-radius: 50%; }
    .cv-nav a[aria-current="true"] { background: #fff; }
    .cv-nav strong, .cv-nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 480px) {
    .cv h1, .cv h2 { font-size: 30px; }
    .cv p { font-size: 15px; line-height: 22px; margin-top: 22px; }
}
.cv-ready { touch-action: pan-y; }
.cv-ready::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: #ffffff26; pointer-events: none; z-index: 1; }

.cv-ready .cv-panel { overflow: hidden; }
.cv-zoom:is(.is-active, .is-moving) .cv-background { animation: cv-background-zoom 10s ease-in-out infinite alternate both; }
.cv-contact.cv-zoom:is(.is-active, .is-moving) .cv-background { animation: cv-background-zoom 12s ease-in-out infinite alternate both; }
@keyframes cv-background-zoom {
    from { transform: scale(1.2); }
    to { transform: scale(1); }
}


.cv-contact .cv-background { object-position: center; }
@media (max-width: 778px) {
    .cv-contact .cv-background { object-position: 29% center; }
    .cv-contact::before { background: linear-gradient(90deg, #030d20b8, #030d2077); }
}

.cv-ready.cv-no-progress .cv-progress, .cv-ready.cv-no-progress::after { display: none; }
