.cv-section {
    position: relative;
    min-height: auto;
    height: auto;
    padding: 72px 0;
    background: linear-gradient(180deg, rgba(6, 22, 17, 0.96) 0%, rgba(8, 30, 23, 0.96) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Shared card hover: gold glow ring + aura ── */
.cv-detail-hero,
.cv-detail-panel {
    position: relative;
}

/* Blurred gold aura (::before, renders below ring) */
.cv-detail-hero::before,
.cv-detail-panel::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: rgba(243, 214, 107, 0.55);
    filter: blur(12px);
    z-index: 0;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

/* Gold border ring (::after, renders above aura) */
.cv-detail-hero::after,
.cv-detail-panel::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 2px solid #f3d66b;
    z-index: 0;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.cv-detail-hero:hover::after,
.cv-detail-hero:hover::before,
.cv-detail-panel:hover::after,
.cv-detail-panel:hover::before {
    opacity: 1;
}

.mini-about,
.cv-journey,
.section-about,
.cv-contact,
.cv-testimonials {
    border-top: 8px solid rgba(243, 214, 107, 0.548);
}

.cv-shell {
    width: calc(100% - (var(--section-inline-margin) * 2));
    margin: 0 auto;
}

.cv-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 28px;
}

.cv-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 1.1;
}

.cv-section-heading h2 span {
    color: #f3d66b;
}

.cv-kicker {
    margin: 0 0 8px;
    color: #9ce0b9;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.cv-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(243, 214, 107, 0.52);
    color: #2d6a4f;
    background: #f3d66b;
    padding: 12px 18px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cv-pill-link:hover,
.cv-pill-link:focus-visible {
    color: #f3d66b;
    background: rgba(243, 214, 107, 0.08);
    transform: translateY(-2px);
}

.cv-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cv-card {
    position: relative;
    border-radius: 22px;
    border: none;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 24px;
}

.cv-card h3 {
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.45rem;
    font-weight: 700;
}

.cv-chip {
    margin: 0;
    display: inline-block;
    color: #2d6a4f;
    background: #f3d66b;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.cv-card p {
    margin: 0;
}

.cv-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 15px 0 18px;
}

.cv-stack li {
    color: #d3efe1;
    border: 1px solid rgba(211, 239, 225, 0.4);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
}

.cv-card-link {
    text-decoration: none;
    color: #f3d66b;
    font-weight: 700;
}

.cv-card-link:hover,
.cv-card-link:focus-visible {
    color: #ffffff;
}

.cv-testimonials {
    background: linear-gradient(180deg, rgba(7, 24, 18, 0.98) 0%, rgba(9, 33, 24, 0.97) 100%);
}

.cv-testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.cv-testimonials-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin: 10px 0 0;
    line-height: 1.6;
}

.cv-testimonials-masonry {
    columns: 3;
    column-gap: 20px;
}

.cv-testimonial-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 22px 30px rgba(0, 0, 0, 0.25);
}

.cv-testimonial-stars {
    color: #f3d66b;
    font-size: 0.88rem;
    letter-spacing: 3px;
}

.cv-testimonial-quote {
    margin: 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}

.cv-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.cv-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3d66b;
    color: #1e4a35;
    font-weight: 800;
    font-size: 0.85rem;
}

.cv-testimonial-author {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

.cv-testimonial-role {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

/* ── FAQ ── */
.cv-faq {
    background: linear-gradient(180deg, rgba(6, 20, 15, 0.98) 0%, rgba(9, 30, 22, 0.97) 100%);
}

.cv-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 64px;
    align-items: start;
}

.cv-faq-intro h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin: 14px 0 18px;
}

.cv-faq-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.97rem;
    margin: 0 0 28px;
    line-height: 1.6;
}

.cv-faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cv-faq-contact-btn:hover {
    border-color: rgba(243, 214, 107, 0.55);
    background: rgba(243, 214, 107, 0.08);
    color: #f3d66b;
}

.cv-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.cv-faq-question:hover {
    color: #f3d66b;
}

.cv-faq-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease, color 0.2s ease;
}

.cv-faq-item.is-open .cv-faq-icon {
    transform: rotate(45deg);
    color: #f3d66b;
}

.cv-faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.cv-faq-answer p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 20px;
}

.cv-faq-item.is-open .cv-faq-answer {
    max-height: 400px;
}

.cv-contact {
    background: linear-gradient(170deg, rgba(5, 16, 12, 0.98) 0%, rgba(16, 43, 33, 0.96) 100%);
}

.cv-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
}

.cv-contact-panel {
    padding: 24px;
    background: none;
    border: none;
}

.cv-contact-panel h2 {
    margin: 0 0 42px;
    font-size: 3.8rem;
    color: #ffffff;
    line-height: 1.25;
}

.cv-contact-form {
    border-radius: 22px;
    border: none;
    background: rgba(2, 10, 7, 0.92);
    padding: 24px;
}

.cv-availability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.cv-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cv-avail-badge:first-child {
    border-color: rgba(156, 224, 185, 0.45);
    color: #9ce0b9;
    background: rgba(156, 224, 185, 0.08);
    box-shadow: 0 0 10px rgba(156, 224, 185, 0.12);
}

.cv-avail-badge .fa-circle {
    font-size: 0.55em;
    color: #9ce0b9;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Scroll-reveal: sections ── */
.cv-section-heading,
.cv-journey-heading,
.cv-what-i-do-intro > div,
.cv-journey-card,
.cv-card,
.cv-contact-panel,
.cv-contact-form,
.cv-testimonials-header,
.cv-testimonial-card,
.cv-faq-item,
.cv-kicker,
.cv-contact-copy,
.cv-availability-badges,
.cv-contact-list,
.cv-map-embed {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.sect-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── Scroll-reveal: buttons ── */
.cv-pill-link,
.cv-contact-form button,
.hire-button,
.cv-avail-badge {
    opacity: 0;
    transform: scale(0.88) translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-revealed {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.2s ease;
}

.cv-contact-item:hover,
.cv-contact-item:focus-visible {
    color: #f3d66b;
}

.cv-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(243, 214, 107, 0.12);
    border: 1px solid rgba(243, 214, 107, 0.28);
    color: #f3d66b;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cv-contact-item:hover .cv-contact-icon {
    background: rgba(243, 214, 107, 0.22);
    box-shadow: 0 0 14px rgba(243, 214, 107, 0.25);
}

.cv-map-embed {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cv-map-embed iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) saturate(0.7);
}

.cv-contact-copy {
    max-width: 56ch;
    margin-top: 0;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.87);
}

.cv-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.cv-contact-list a {
    color: #f3d66b;
    text-decoration: none;
    font-weight: 600;
}

.cv-contact-list a:hover,
.cv-contact-list a:focus-visible {
    color: #ffffff;
}

.cv-contact-form {
    display: grid;
    gap: 11px;
}

.cv-contact-form label {
    color: #d1e7dc;
    font-size: 0.92rem;
    font-weight: 600;
}

.cv-contact-form input,
.cv-contact-form select,
.cv-contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    padding: 11px 12px;
    outline: none;
    font-family: inherit;
}

.cv-contact-form option {
    background: #071812;
    color: #ffffff;
}

.cv-contact-form optgroup {
    background: #0d2a1e;
    color: #f3d66b;
    font-style: normal;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cv-contact-form optgroup option {
    background: #071812;
    color: #e0f0e9;
    font-weight: 500;
    font-size: 0.92rem;
    text-transform: none;
    letter-spacing: normal;
    padding-left: 8px;
}

/* ── Custom select dropdown ── */
.cv-custom-select {
    position: relative;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255,255,255,0.5);
    padding: 11px 40px 11px 12px;
    cursor: pointer;
    user-select: none;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cv-custom-select.has-value {
    color: #ffffff;
}

.cv-custom-select:focus,
.cv-custom-select.is-open {
    border-color: #f3d66b;
    box-shadow: 0 0 0 3px rgba(243, 214, 107, 0.2);
}

.cv-custom-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.cv-custom-select.is-open .cv-custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #f3d66b;
}

.cv-custom-select-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    border-radius: 12px;
    border: 1px solid rgba(243, 214, 107, 0.25);
    background: #0a1f16;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    max-height: 260px;
    overflow-y: auto;
}

.cv-custom-select.is-open .cv-custom-select-list {
    display: block;
}

.cv-select-group-label {
    padding: 8px 14px 4px;
    color: #f3d66b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cv-select-group-label:first-child {
    border-top: none;
}

.cv-select-option {
    padding: 9px 14px 9px 22px;
    color: #d4ede2;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cv-select-option:hover,
.cv-select-option.is-selected {
    background: rgba(243, 214, 107, 0.12);
    color: #f3d66b;
}

.cv-contact-form input:focus,
.cv-contact-form select:focus,
.cv-contact-form textarea:focus {
    border-color: #f3d66b;
    box-shadow: 0 0 0 3px rgba(243, 214, 107, 0.2);
}

.cv-contact-form button {
    border: none;
    border-radius: 999px;
    background: #f3d66b;
    color: #1f4f39;
    font-weight: 800;
    padding: 12px 16px;
    margin-top: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-contact-form button:hover,
.cv-contact-form button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.cv-contact-form button[disabled] {
    opacity: 0.68;
    cursor: progress;
}

.cv-form-status {
    min-height: 1.3em;
    font-size: 0.95rem;
    color: #9ce0b9;
    margin: 0;
}

.cv-form-status.is-error {
    color: #ffb48a;
}

.cv-site-footer {
    background: #040e0b;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cv-footer-inner {
    width: calc(100% - (var(--section-inline-margin) * 2));
    margin: 0 auto;
    padding: 56px 0 28px;
}

/* Top row */
.cv-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cv-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.cv-footer-tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 28ch;
}

.cv-footer-tagline em {
    color: #f3d66b;
    font-style: italic;
}

.cv-footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cv-footer-cta-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.cv-footer-cta-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    background: #f3d66b;
    color: #1f4f39;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(243, 214, 107, 0.25);
}

/* Rule */
.cv-footer-rule {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0 0 36px;
}

/* Columns */
.cv-footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.cv-footer-col-heading {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.cv-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.cv-footer-col ul a .fa {
    width: 14px;
    text-align: center;
    color: #f3d66b;
    font-size: 0.85rem;
}

.cv-footer-col ul a:hover {
    color: #ffffff;
}

/* Socials */
.cv-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.cv-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cv-footer-socials a:hover {
    background: rgba(243, 214, 107, 0.15);
    color: #f3d66b;
    box-shadow: 0 0 12px rgba(243, 214, 107, 0.2);
}

/* Bottom bar */
.cv-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cv-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.83rem;
}

.cv-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.cv-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.83rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cv-footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .cv-footer-cols {
        grid-template-columns: 1fr 1fr;
    }
    .cv-footer-cta {
        align-items: flex-start;
    }
}

.cv-what-i-do {
    min-height: 80vh;
    height: 80vh;
    padding: 72px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(5, 18, 14, 0.98) 0%, rgba(9, 28, 21, 0.97) 100%);
}

.cv-what-i-do-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.cv-what-i-do .h2-section-title {
    margin: 0 0 100px;
    font-size: clamp(2rem, 2.9vw, 3.2rem);
    line-height: 1.05;
}

.cv-what-i-do .h2-section-title span {
    color: #f3d66b;
}

.cv-what-i-do .section-text {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.cv-what-i-do-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.cv-pill-link-alt {
    border-color: #2d6a4f;
    color: #ffffff;
    background: #2d6a4f;
}

.cv-pill-link-alt:hover,
.cv-pill-link-alt:focus-visible {
    color: #113424;
    background: #9ce0b9;
}

.cv-what-i-do-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-content: flex-start;
}

.cv-what-i-do-grid .cv-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}

.cv-toast-container {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    width: min(90vw, 360px);
}

.cv-toast {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    background: rgba(20, 44, 33, 0.96);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    padding: 12px 14px;
    font-size: 0.92rem;
    transform: translateY(12px);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cv-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cv-toast.is-success {
    border-left: 4px solid #9ce0b9;
}

.cv-toast.is-error {
    border-left: 4px solid #ffb48a;
    background: rgba(64, 30, 21, 0.96);
}

.cv-detail-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #05120e 0%, #0b241b 56%, #0f2f22 100%);
    color: #ffffff;
    font-family: Poppins, sans-serif;
}

.cv-detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 14, 10, 0.72);
    backdrop-filter: blur(6px);
}

.cv-detail-header-inner {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cv-detail-logo {
    width: 150px;
    height: auto;
}

.cv-back-link {
    text-decoration: none;
    color: #f3d66b;
    font-weight: 700;
}

.cv-detail-main {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 40px 0 64px;
    display: grid;
    gap: 28px;
}

.cv-detail-hero {
    border-radius: 24px;
    border: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 28px;
}

.cv-detail-hero h1 {
    margin: 0 0 10px;
    color: #ffffff;
}

.cv-detail-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.89);
}

.cv-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cv-detail-meta span {
    border-radius: 999px;
    border: 1px solid rgba(243, 214, 107, 0.55);
    color: #f3d66b;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.cv-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cv-detail-panel {
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
}

.cv-detail-panel h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #f3d66b;
}

.cv-detail-panel p,
.cv-detail-panel li {
    color: rgba(255, 255, 255, 0.9);
}

.cv-detail-panel ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 1024px) {
    .cv-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-what-i-do-intro {
        grid-template-columns: 1fr;
    }

    .cv-what-i-do-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-testimonial-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .cv-contact-layout,
    .cv-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cv-section {
        padding: 54px 0;
    }

    .cv-toast-container {
        right: 10px;
        left: 10px;
        width: auto;
    }

    .cv-card-grid {
        grid-template-columns: 1fr;
    }

    .cv-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cv-what-i-do-grid {
        grid-template-columns: 1fr;
    }

    .cv-testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cv-testimonials-viewport {
        order: -1;
    }

    .cv-testimonial-card {
        flex-basis: 100%;
        min-height: 0;
    }

    .cv-testimonial-nav {
        width: 38px;
        height: 38px;
        justify-self: start;
    }

    .cv-detail-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Project Cards Scatter Animation ── */
@keyframes cardScatterIn {
    0% {
        opacity: 0;
        translate: var(--card-dx, 0px) var(--card-dy, 60px);
        scale: 0.85;
        rotate: var(--card-tilt-enter, 0deg);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        translate: 0px 0px;
        scale: 1;
        rotate: 0deg;
    }
}

#projects .card.card-scatter {
    animation: cardScatterIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--card-scatter-delay, 0ms);
}

/* ── My Skills Section ── */
.cv-my-skills {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(45, 106, 79, 0.14), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(243, 214, 107, 0.08), transparent 40%),
        #0d1f18;
}

.cv-my-skills .cv-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cv-section-subtext {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    max-width: 380px;
    text-align: right;
}

.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cv-skill-card {
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 16px;
    padding: 28px 24px 24px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    opacity: 0;
    transform: translateY(60px) scale(0.88) rotate(var(--card-tilt, 0deg));
    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 220ms ease,
        background 220ms ease;
    will-change: transform, opacity;
}

.cv-skill-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
}

.cv-skill-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cv-skill-card-top i {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.cv-skill-card-top i.devicon-express-original,
.cv-skill-card-top i.devicon-github-original {
    color: #ffffff;
}

.cv-skill-card-top span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.cv-skill-bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -8px;
}

.cv-skill-bar-row p {
    margin: 0;
    font-size: 0.72rem;
    color: #ffffff;
    font-weight: 400;
}

.cv-skill-bar-row span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f3d66b;
}

.cv-skill-bar-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.cv-skill-bar-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d6a4f, #9ce0b9);
    width: 0 !important;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.cv-skill-bar-track span.is-animated {
    width: var(--skill-width) !important;
}

.cv-skill-card-top span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.cv-skill-bar-row span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f3d66b;
    opacity: 0;
    transition: opacity 0.4s ease 0.9s;
}

.cv-skill-card.is-visible .cv-skill-bar-row span {
    opacity: 1;
}

@media (max-width: 1100px) {
    .cv-skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .cv-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cv-section-subtext {
        text-align: left;
    }

    .cv-my-skills .cv-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .cv-skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cv-skill-card {
        padding: 16px 14px 14px;
    }

    .cv-skill-card-top i {
        font-size: 1.6rem;
    }
}

/* ── Education & Work Journey ── */
.cv-journey {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(6, 22, 17, 0.96) 0%, rgba(8, 30, 23, 0.96) 100%);
}

.cv-journey-heading {
    text-align: left;
    margin-bottom: 52px;
}

.cv-journey-eyebrow {
    margin: 0 0 14px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #9ce0b9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cv-journey-dash {
    color: #f3d66b;
    margin-right: 6px;
}

.cv-journey-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.18;
    color: #ffffff;
    font-weight: 800;
}

.cv-journey-heading h2 em {
    font-style: italic;
    color: #f3d66b;
}

.cv-journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.cv-journey-card {
    position: relative;
    border-radius: 22px;
    border: none;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.75) 100%);
    padding: 36px 32px 32px;
}

.cv-journey-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-journey-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3d66b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2d3a10;
}

.cv-journey-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.cv-journey-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.cv-journey-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cv-journey-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-journey-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cv-journey-year {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ce0b9;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.cv-journey-item h4 {
    margin: 0 0 3px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.cv-journey-item p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 760px) {
    .cv-journey-grid {
        grid-template-columns: 1fr;
    }

    .cv-journey {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .cv-journey-card {
        padding: 24px 20px 20px;
    }
}

/* ── Hero Entrance Animations ── */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroFadeRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroScatterIn {
    0%   { opacity: 0; transform: translateY(30px) scale(0.8) rotate(-4deg); }
    70%  { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes heroPopIn {
    0%   { opacity: 0; transform: scale(0.6); }
    70%  { transform: scale(1.06); }
    100% { opacity: 1; transform: scale(1); }
}

/* Portrait — slides in from right */
.hero-header .hero-portrait {
    animation: heroFadeRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

/* Social links — fade in from left */
.hero-header .social-media-container {
    animation: heroFadeLeft 0.7s ease 0.3s both;
}

/* Main heading — fades up */
.hero-header .hero-intro-title {
    animation: heroFadeUp 0.7s ease 0.4s both;
}

/* Description paragraph — fades up after title */
.hero-header .intro-description {
    animation: heroFadeUp 0.7s ease 0.6s both;
}

/* Floating role buttons — scatter in with spring */
.hero-header .floating-role-button,
.hero-header .floating-hire-button {
    animation: heroScatterIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-header .floating-front-end {
    animation-delay: 0.5s;
}

.hero-header .floating-back-end {
    animation-delay: 0.65s;
}

.hero-header .floating-hire-button {
    animation-delay: 0.8s;
}

/* Peekaboo cartoon — pop in */
.hero-header .peekaboo-cartoon {
    animation: heroPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

/* Hero actions bar — fades up last */
.hero-header .hero-actions {
    animation: heroFadeUp 0.7s ease 0.75s both;
}

/* ── About Section Scroll Animations ── */
.mini-about .about-image,
.mini-about .about-content,
.mini-about .about-social-column,
.mini-about [data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-about .about-image {
    transform: translateX(-50px);
}

.mini-about .about-social-column {
    transform: translateX(50px);
}

.mini-about .about-image.is-revealed,
.mini-about .about-content.is-revealed,
.mini-about .about-social-column.is-revealed,
.mini-about [data-reveal].is-revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE FIXES
   ============================================================ */

/* ── 768px Mobile ── */
@media (max-width: 900px) {
    /* Sections */
    .cv-section {
        padding: 48px 0;
    }

    .cv-my-skills {
        min-height: auto;
        padding: 48px 0;
    }

    .cv-what-i-do {
        height: auto;
        min-height: auto;
        padding: 48px 0;
    }

    .cv-what-i-do-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cv-what-i-do .h2-section-title {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
        margin-bottom: 20px;
        text-align: center;
    }

    .cv-what-i-do .cv-kicker,
    .cv-what-i-do .section-text {
        text-align: center;
    }

    .cv-what-i-do-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cv-what-i-do-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* ── Global center alignment for all sections ── */
    .cv-section {
        text-align: center;
    }

    .cv-section-heading {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .cv-section-heading h2,
    .cv-section-heading p,
    .cv-section-label {
        text-align: center;
    }

    .cv-section-subtext {
        max-width: 100%;
        text-align: center;
    }

    /* Skills */
    .cv-my-skills .cv-section-heading {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 28px;
    }

    .cv-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Journey */
    .cv-journey .cv-section-heading {
        align-items: center;
    }

    .cv-journey-heading {
        text-align: center;
        align-items: center;
    }

    .cv-journey-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact */
    .cv-contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cv-contact-panel h2 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
        margin-bottom: 16px;
        text-align: center;
    }

    .cv-contact-panel p,
    .cv-contact-panel .cv-contact-info {
        text-align: center;
    }

    .cv-contact-info-item {
        justify-content: center;
    }

    .cv-map-embed iframe {
        height: 200px;
    }

    /* Map: break out of panel padding, full bleed edge-to-edge, always visible */
    .cv-map-embed {
        margin-inline: -24px;
        margin-top: 24px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        opacity: 1 !important;
        transform: none !important;
    }

    .cv-map-embed iframe {
        height: 220px;
    }

    /* Contact list: icon-only row on mobile */
    .cv-contact-list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .cv-contact-list li {
        flex: none;
    }

    .cv-contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(243, 214, 107, 0.25);
    }

    /* Hide text span, keep icon */
    .cv-contact-item > span:not(.cv-contact-icon) {
        display: none;
    }

    .cv-contact-icon {
        margin: 0;
        font-size: 1.15rem;
    }

    /* Testimonials */
    .cv-testimonials-masonry {
        columns: 1;
    }

    .cv-testimonials-header {
        margin-bottom: 28px;
        text-align: center;
        align-items: center;
    }

    /* FAQ */
    .cv-faq-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cv-faq-intro h2,
    .cv-faq-intro p {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        text-align: center;
    }

    .cv-faq-intro p {
        font-size: inherit;
    }

    .cv-section-heading h2 {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    /* Footer */
    .cv-footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        text-align: center;
    }

    .cv-footer-col ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .cv-footer-col ul li,
    .cv-footer-col ul li a {
        text-align: center;
        display: block;
    }

    .cv-footer-socials {
        justify-content: center;
    }

    .cv-footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .cv-footer-bottom-links {
        justify-content: center;
    }

    .cv-footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .cv-footer-brand {
        align-items: center;
        text-align: center;
    }

    .cv-footer-logo {
        margin-inline: auto;
    }

    .cv-footer-cta {
        align-self: center;
        align-items: center;
        text-align: center;
    }

    .cv-footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }
}

/* ── 480px Small Mobile ── */
@media (max-width: 480px) {
    .cv-section {
        padding: 40px 0;
    }

    .cv-my-skills {
        padding: 40px 0;
    }

    .cv-what-i-do {
        padding: 40px 0;
    }

    .cv-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cv-skill-card {
        padding: 16px 12px 14px;
    }

    .cv-skill-card-top i {
        font-size: 1.5rem;
    }

    .cv-skill-card-top span {
        font-size: 0.88rem;
    }

    .cv-what-i-do-grid {
        grid-template-columns: 1fr;
    }

    .cv-journey-card {
        padding: 24px 18px 18px;
    }

    .cv-contact-panel h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .cv-faq-intro h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .cv-footer-cols {
        grid-template-columns: 1fr;
    }

    .cv-testimonials-masonry {
        columns: 1;
    }

    .cv-section-heading h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
}
