/* Portfolio — CV & Hire page */

.cm-folio-hero {
    position: relative;
    padding: 3.75rem 0 2rem;
    overflow: hidden;
}

.cm-folio-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cm-folio-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.cm-folio-orb-1 {
    width: 480px;
    height: 480px;
    top: -140px;
    left: -100px;
    background: rgba(59, 130, 246, 0.32);
}

.cm-folio-orb-2 {
    width: 380px;
    height: 380px;
    top: -60px;
    right: -80px;
    background: rgba(168, 85, 247, 0.26);
}

.cm-folio-orb-3 {
    width: 280px;
    height: 280px;
    bottom: -40px;
    left: 35%;
    background: rgba(34, 197, 94, 0.12);
}

.cm-folio-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}

.cm-folio-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 2.5rem;
    align-items: center;
}

/* Left intro */
.cm-folio-hello {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin: 0 0 0.65rem;
}

.cm-folio-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 0.85rem;
}

.cm-folio-name-light {
    color: #fff;
}

.cm-folio-name-grad {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 55%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cm-folio-headline {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.35;
}

.cm-folio-headline-accent {
    color: #4ade80;
}

.cm-folio-lead {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 36rem;
    margin: 0 0 1.5rem;
}

.cm-folio-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cm-folio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
}

.cm-folio-btn-primary {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 45%, #3b82f6 100%);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.cm-folio-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.cm-folio-btn-outline {
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.45);
}

.cm-folio-btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(30, 41, 59, 0.65);
    transform: translateY(-2px);
}

.cm-folio-btn-play {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(168, 85, 247, 0.55);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 0 24px rgba(168, 85, 247, 0.25);
    transition: transform 0.18s, box-shadow 0.18s;
}

.cm-folio-btn-play i {
    font-size: 1.15rem;
    margin-left: 2px;
}

.cm-folio-btn-play:hover {
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18), 0 0 32px rgba(168, 85, 247, 0.4);
}

.cm-folio-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cm-folio-social-row a {
    width: 42px;
    height: 42px;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.75);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}

.cm-folio-social-row a:hover {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

/* Right profile card */
.cm-folio-profile-card {
    padding: 1.35rem 1.35rem 1.15rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.14), transparent 58%),
        rgba(10, 16, 32, 0.82);
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 24px 56px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(59, 130, 246, 0.08);
}

.cm-folio-profile-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.cm-folio-photo-wrap {
    position: relative;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #3b82f6 45%, #a855f7);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}

.cm-folio-photo {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0a1020;
}

.cm-folio-photo-status {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #0a1020;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.cm-folio-profile-intro {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.cm-folio-exp-badge {
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.cm-folio-profile-role {
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
}

.cm-folio-profile-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #94a3b8;
    font-size: 0.82rem;
}

.cm-folio-profile-loc i {
    color: #60a5fa;
    font-size: 0.78rem;
}

.cm-folio-available {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.cm-folio-available i {
    font-size: 0.45rem;
}

.cm-folio-profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.85rem;
}

.cm-folio-profile-stats > div {
    text-align: center;
    padding: 0 0.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-folio-profile-stats > div:last-child {
    border-right: none;
}

.cm-folio-profile-stats strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.15rem;
}

.cm-folio-profile-stats span {
    display: block;
    color: #64748b;
    font-size: 0.62rem;
    line-height: 1.25;
}

.cm-folio-stat-purple strong {
    color: #c084fc;
}

.cm-folio-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cm-folio-profile-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.65);
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.cm-folio-profile-tags span:nth-child(1) i { color: #a78bfa; }
.cm-folio-profile-tags span:nth-child(2) i { color: #4ade80; }
.cm-folio-profile-tags span:nth-child(3) i { color: #fb923c; }

/* Stats ribbon */
.cm-folio-stats-wrap {
    margin-top: -0.5rem;
    padding-bottom: 0.85rem;
    position: relative;
    z-index: 2;
}

.cm-folio-stats-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem 1.5rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cm-folio-ribbon-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1 1 0;
    min-width: 0;
}

.cm-folio-ribbon-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--ribbon-color, #60a5fa) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--ribbon-color, #60a5fa) 28%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--ribbon-color, #60a5fa) 12%, transparent);
}

.cm-folio-ribbon-icon i {
    font-size: 1.05rem;
    color: var(--ribbon-color, #60a5fa);
    line-height: 1;
}

.cm-folio-ribbon-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
}

.cm-folio-ribbon-text strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
}

.cm-folio-ribbon-text span {
    display: block;
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Tech stack ribbon */
.cm-folio-tech-wrap {
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cm-folio-tech-panel {
    padding: 1.15rem 1.5rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cm-folio-tech-head {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-folio-tech-head h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.cm-folio-tech-head h2 i {
    font-size: 0.95rem;
    background: linear-gradient(135deg, #fbbf24, #f97316, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cm-folio-tech-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.cm-folio-tech-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.cm-folio-tech-track.is-static {
    width: 100%;
}

.cm-folio-tech-track.is-static .cm-folio-tech-row {
    width: 100%;
    justify-content: space-between;
    padding-right: 0;
}

.cm-folio-tech-track.is-marquee {
    animation: cm-folio-tech-marquee var(--marquee-duration, 55s) linear infinite;
}

.cm-folio-tech-track.is-marquee:hover {
    animation-play-state: paused;
}

@keyframes cm-folio-tech-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .cm-folio-tech-track.is-marquee {
        animation: none;
    }
}

.cm-folio-tech-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    padding-right: 2rem;
}

.cm-folio-tech-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.cm-folio-tech-item img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Body blocks */
.cm-folio-body {
    padding-top: 1.5rem;
}

.cm-folio-block {
    margin-bottom: 2.25rem;
}

.cm-folio-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.cm-folio-block-head h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    color: #fff;
}

.cm-folio-block-head h2 i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.cm-folio-block-head a {
    color: var(--cm-muted);
    font-size: 0.86rem;
    text-decoration: none;
}

.cm-folio-block-head a:hover {
    color: #fff;
}

.cm-folio-about-text {
    color: var(--cm-muted);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.5);
}

.cm-folio-about-text strong {
    color: #fff;
}

/* Experience — compact list */
.cm-folio-exp-head {
    margin-bottom: 0.75rem;
}

.cm-folio-exp-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.cm-folio-exp-title i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.cm-folio-exp-title span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cm-folio-exp-list {
    display: grid;
    gap: 0.5rem;
}

.cm-folio-exp-placeholder {
    min-height: 3rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.35);
}

.cm-folio-exp-row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(15, 23, 42, 0.5);
}

.cm-folio-exp-period {
    font-size: 0.72rem;
    font-weight: 700;
    color: #93c5fd;
    line-height: 1.35;
    padding-top: 0.1rem;
}

.cm-folio-exp-period.is-current {
    color: #86efac;
}

.cm-folio-exp-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.25rem;
}

.cm-folio-exp-line strong {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.cm-folio-exp-co {
    color: #94a3b8;
    font-size: 0.8rem;
}

.cm-folio-exp-co::before {
    content: '·';
    margin-right: 0.35rem;
    color: #475569;
}

.cm-folio-exp-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.cm-folio-exp-stack span {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.65rem;
    font-weight: 600;
}

.cm-folio-exp-projects {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.cm-folio-exp-projects li {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.4;
}

.cm-folio-exp-projects li strong {
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 640px) {
    .cm-folio-exp-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.6rem 0.75rem;
    }

    .cm-folio-exp-period {
        font-size: 0.68rem;
    }
}

/* Work carousel */
.cm-folio-work-head {
    flex-wrap: nowrap;
    gap: 1rem;
}

.cm-folio-work-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.cm-folio-work-title i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.cm-folio-work-title span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cm-folio-work-head-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cm-folio-work-head-actions > a {
    color: var(--cm-muted);
    font-size: 0.86rem;
    text-decoration: none;
    white-space: nowrap;
}

.cm-folio-work-head-actions > a:hover {
    color: #fff;
}

.cm-folio-work-nav {
    display: flex;
    gap: 0.35rem;
}

.cm-folio-work-btn {
    width: 34px;
    height: 34px;
    border-radius: 0.55rem;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.75);
    color: #cbd5e1;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.cm-folio-work-btn:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
}

.cm-folio-work-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cm-folio-work-carousel {
    position: relative;
}

.cm-folio-work-viewport {
    overflow: hidden;
}

.cm-folio-work-track {
    display: flex;
    gap: 0.85rem;
    transition: transform 0.4s ease;
}

.cm-folio-work-track > .cm-folio-work-card {
    flex: 0 0 calc((100% - 1.7rem) / 3);
    min-width: 0;
}

.cm-folio-work-empty {
    color: var(--cm-muted);
    margin: 0;
}

.cm-folio-work-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.cm-folio-work-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.35);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.cm-folio-work-dot.is-active {
    background: #60a5fa;
    transform: scale(1.15);
}

@media (max-width: 991px) {
    .cm-folio-work-track > .cm-folio-work-card {
        flex: 0 0 calc((100% - 0.85rem) / 2);
    }
}

@media (max-width: 767px) {
    .cm-folio-work-track > .cm-folio-work-card {
        flex: 0 0 100%;
    }

    .cm-folio-work-head-actions > a {
        display: none;
    }
}

/* Work grid */
.cm-folio-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.cm-folio-work-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cm-folio-work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cm-folio-work-media {
    height: 100px;
    display: grid;
    place-items: center;
}

.cm-folio-work-body {
    padding: 1rem 1.05rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cm-folio-work-body h3 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 0.45rem;
}

.cm-folio-work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.45rem;
}

.cm-folio-work-tags span {
    font-size: 0.68rem;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--cm-muted);
}

.cm-folio-work-body p {
    margin: 0 0 0.65rem;
    color: var(--cm-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    flex: 1;
}

.cm-folio-work-link {
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 600;
}

.cm-folio-work-link i {
    font-size: 0.7rem;
}

/* Process */
.cm-folio-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    position: relative;
}

.cm-folio-process-step {
    position: relative;
    padding: 1.25rem 1rem 1.15rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--folio-accent, #3b82f6) 14%, transparent), transparent 65%),
        rgba(15, 23, 42, 0.72);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cm-folio-process-step:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--folio-accent, #3b82f6) 40%, transparent);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.cm-folio-process-icon-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--folio-accent, #3b82f6) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--folio-accent, #3b82f6) 35%, transparent);
    box-shadow: 0 0 24px color-mix(in srgb, var(--folio-accent, #3b82f6) 15%, transparent);
}

.cm-folio-process-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--folio-accent, #3b82f6);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cm-folio-process-icon-wrap > i {
    font-size: 1.25rem;
    color: var(--folio-accent, #60a5fa);
}

.cm-folio-process-step strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    font-family: "Sora", sans-serif;
    margin-bottom: 0.4rem;
}

.cm-folio-process-step p {
    margin: 0;
    color: var(--cm-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .cm-folio-process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.6rem;
        right: -0.55rem;
        width: calc(0.85rem + 4px);
        height: 2px;
        background: linear-gradient(90deg, var(--folio-accent, #3b82f6), rgba(148, 163, 184, 0.25));
        z-index: 1;
    }
}

/* Hire panel */
.cm-folio-hire {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.cm-folio-hire-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.2), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(168, 85, 247, 0.15), transparent 50%);
    pointer-events: none;
}

.cm-folio-hire-inner {
    position: relative;
    padding: 1.75rem 1.65rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}

.cm-folio-hire-header {
    margin-bottom: 1.35rem;
}

.cm-folio-hire-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.12);
    color: #c4b5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.cm-folio-hire-header h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 0.65rem;
}

.cm-folio-hire-grad {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cm-folio-hire-desc {
    color: var(--cm-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
    max-width: 38rem;
}

.cm-folio-hire-email {
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--cm-muted);
    font-size: 0.86rem;
    text-align: center;
}

.cm-folio-hire-email a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
}

.cm-folio-hire-email a:hover {
    color: #93c5fd;
}

.cm-folio-alert {
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.86rem;
    margin-bottom: 1rem;
}

.cm-folio-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.cm-folio-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.cm-folio-form textarea.cm-input {
    min-height: 120px;
}

/* Sidebar */
.cm-folio-sidebar {
    position: sticky;
    top: 5.5rem;
    display: grid;
    gap: 1rem;
}

.cm-folio-side-card {
    padding: 1.2rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
}

.cm-folio-side-card h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 0.85rem;
}

.cm-folio-side-card h3 i {
    color: #60a5fa;
}

.cm-folio-service {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--cm-border);
}

.cm-folio-service:last-of-type {
    border-bottom: 0;
}

.cm-folio-service > i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    flex-shrink: 0;
}

.cm-folio-service strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 0.1rem;
}

.cm-folio-service span {
    color: var(--cm-muted);
    font-size: 0.78rem;
}

.cm-folio-skill {
    margin-bottom: 0.75rem;
}

.cm-folio-skill:last-child {
    margin-bottom: 0;
}

.cm-folio-skill-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.cm-folio-skill-top span {
    color: #fff;
    font-weight: 600;
}

.cm-folio-skill-top em {
    color: var(--cm-muted);
    font-style: normal;
    font-size: 0.75rem;
}

.cm-folio-skill-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

.cm-folio-skill-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.cm-folio-orb-3 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: 40%;
    background: rgba(20, 184, 166, 0.2);
}

.cm-folio-kicker {
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.cm-folio-lead strong {
    color: #fff;
}

/* Section nav */
.cm-folio-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cm-border);
}

.cm-folio-nav {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.65rem 0;
    scrollbar-width: none;
}

.cm-folio-nav::-webkit-scrollbar { display: none; }

.cm-folio-nav a {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    color: var(--cm-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.cm-folio-nav a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.12);
}

.cm-folio-nav-cta {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

/* Marquee */
.cm-folio-marquee {
    overflow: hidden;
    border-bottom: 1px solid var(--cm-border);
    padding: 0.65rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.cm-folio-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: cm-folio-marquee 28s linear infinite;
}

.cm-folio-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cm-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes cm-folio-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* About grid */
.cm-folio-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 1rem;
}

.cm-folio-about-main {
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.5);
}

.cm-folio-about-main p {
    color: var(--cm-muted);
    line-height: 1.65;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.cm-folio-about-main p:last-child { margin-bottom: 0; }

.cm-folio-about-main strong,
.cm-folio-about-main a {
    color: #fff;
}

.cm-folio-about-main a { color: #60a5fa; }

.cm-folio-highlights {
    display: grid;
    gap: 0.55rem;
}

.cm-folio-highlight {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
}

.cm-folio-highlight > i {
    color: #60a5fa;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.cm-folio-highlight strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
}

.cm-folio-highlight span {
    color: var(--cm-muted);
    font-size: 0.76rem;
}

/* Platform showcase */
.cm-folio-platform {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 1.25rem;
    padding: 1.35rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
        var(--cm-surface);
}

.cm-folio-platform-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.cm-folio-platform-copy h3 {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cm-folio-platform-copy > p {
    color: var(--cm-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.cm-folio-platform-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.cm-folio-platform-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cm-muted);
    font-size: 0.84rem;
}

.cm-folio-platform-list i { color: #86efac; }

.cm-folio-platform-mock {
    height: 100%;
    min-height: 200px;
    border-radius: 0.85rem;
    border: 1px solid var(--cm-border);
    background: #0f172a;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-folio-platform-mock > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    background: #64748b;
}

.cm-folio-platform-mock > span:nth-child(1) { background: #ef4444; }
.cm-folio-platform-mock > span:nth-child(2) { background: #f59e0b; }
.cm-folio-platform-mock > span:nth-child(3) { background: #22c55e; }

.cm-folio-mock-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.25);
    margin-top: 0.25rem;
}

.cm-folio-mock-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.cm-folio-mock-grid em {
    border-radius: 0.45rem;
    background: rgba(148, 163, 184, 0.12);
    min-height: 48px;
}

/* Work grid 2 col */
.cm-folio-work-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cm-folio-work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.cm-folio-work-level {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.04em;
}

.cm-folio-work-stars {
    font-size: 0.72rem;
    color: #fbbf24;
}

/* Deliverables */
.cm-folio-deliver-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.cm-folio-deliver-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    transition: border-color 0.2s, transform 0.2s;
}

.cm-folio-deliver-card:hover {
    border-color: color-mix(in srgb, var(--folio-accent) 40%, transparent);
    transform: translateY(-2px);
}

.cm-folio-deliver-card > i {
    display: block;
    font-size: 1.25rem;
    color: var(--folio-accent);
    margin-bottom: 0.5rem;
}

.cm-folio-deliver-card strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.cm-folio-deliver-card span {
    color: var(--cm-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

/* Tech grid */
.cm-folio-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cm-folio-tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Engagement */
.cm-folio-engage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.cm-folio-engage-card {
    position: relative;
    padding: 1.35rem 1.15rem 1.2rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--folio-accent, #3b82f6) 16%, transparent), transparent 62%),
        rgba(15, 23, 42, 0.72);
    text-align: center;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cm-folio-engage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--folio-accent, #3b82f6), transparent);
    opacity: 0.85;
}

.cm-folio-engage-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--folio-accent, #3b82f6) 38%, transparent);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.cm-folio-engage-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--folio-accent, #3b82f6) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--folio-accent, #3b82f6) 30%, transparent);
}

.cm-folio-engage-icon i {
    font-size: 1.3rem;
    color: var(--folio-accent, #60a5fa);
}

.cm-folio-engage-card strong {
    display: block;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.cm-folio-engage-card p {
    margin: 0 0 0.55rem;
    color: var(--cm-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cm-folio-engage-note {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Testimonials */
.cm-folio-testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.cm-folio-testimonial {
    margin: 0;
    padding: 1.1rem;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.55);
}

.cm-folio-testimonial p {
    color: var(--cm-muted);
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.cm-folio-testimonial footer strong {
    display: block;
    color: #fff;
    font-size: 0.82rem;
}

.cm-folio-testimonial footer span {
    color: var(--cm-muted);
    font-size: 0.72rem;
}

/* Articles */
.cm-folio-articles {
    display: grid;
    gap: 0.55rem;
}

.cm-folio-article {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.cm-folio-article:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.06);
}

.cm-folio-article strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.cm-folio-article span {
    color: var(--cm-muted);
    font-size: 0.78rem;
}

.cm-folio-side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.cm-folio-side-card-head h3 {
    margin: 0;
}

.cm-folio-side-card-head a {
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cm-folio-side-card-head a:hover {
    color: #93c5fd;
}

.cm-folio-articles-sidebar {
    gap: 0.5rem;
}

.cm-folio-articles-sidebar .cm-folio-article {
    padding: 0.75rem 0.85rem;
}

.cm-folio-articles-sidebar .cm-folio-article strong {
    font-size: 0.84rem;
    line-height: 1.35;
}

.cm-folio-writing-card h3 i {
    color: #60a5fa;
}

/* FAQ */
.cm-folio-faq {
    display: grid;
    gap: 0.55rem;
}

.cm-folio-faq-item {
    border-radius: 0.85rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    overflow: hidden;
}

.cm-folio-faq-item summary {
    padding: 0.85rem 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    list-style: none;
}

.cm-folio-faq-item summary::-webkit-details-marker { display: none; }

.cm-folio-faq-item summary::after {
    content: '+';
    float: right;
    color: #60a5fa;
    font-weight: 700;
}

.cm-folio-faq-item[open] summary::after { content: '−'; }

.cm-folio-faq-item p {
    margin: 0;
    padding: 0 1rem 0.85rem;
    color: var(--cm-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Sidebar extras */
.cm-folio-side-cta {
    border-color: rgba(59, 130, 246, 0.3);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.12), transparent 50%),
        var(--cm-surface);
}

.cm-folio-side-cta p {
    color: var(--cm-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.cm-folio-facts {
    margin: 0;
}

.cm-folio-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--cm-border);
    font-size: 0.84rem;
}

.cm-folio-facts > div:last-child { border-bottom: 0; }

.cm-folio-facts dt {
    color: var(--cm-muted);
    font-weight: 500;
}

.cm-folio-facts dd {
    margin: 0;
    color: #fff;
    text-align: right;
}

/* Sidebar testimonial carousel */
.cm-folio-testimonials-card {
    overflow: hidden;
}

.cm-folio-testimonials-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.cm-folio-testimonials-head h3 {
    margin: 0;
}

.cm-folio-testimonials-nav {
    display: flex;
    gap: 0.35rem;
}

.cm-folio-test-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--cm-border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--cm-muted);
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.cm-folio-test-btn:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.15);
}

.cm-folio-test-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cm-folio-testimonials-viewport {
    overflow: hidden;
}

.cm-folio-testimonials-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cm-folio-testimonial-slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 0.25rem 0.1rem 0;
    min-width: 100%;
}

.cm-folio-testimonial-stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.65rem;
}

.cm-folio-testimonial-stars i {
    color: #fbbf24;
    font-size: 0.72rem;
}

.cm-folio-testimonial-stars i.is-empty {
    color: rgba(148, 163, 184, 0.35);
}

.cm-folio-testimonial-empty {
    color: var(--cm-muted);
    font-size: 0.88rem;
    margin: 0 0 0.25rem;
}

.cm-folio-testimonial-slide p {
    color: var(--cm-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    min-height: 4.5rem;
}

.cm-folio-testimonial-slide footer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cm-folio-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.cm-folio-testimonial-slide footer strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
}

.cm-folio-testimonial-slide footer span {
    color: var(--cm-muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.cm-folio-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.cm-folio-test-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(148, 163, 184, 0.35);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.cm-folio-test-dot.is-active {
    background: #60a5fa;
    transform: scale(1.15);
}

.cm-folio-faq-sidebar .cm-folio-faq-item summary {
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
}

.cm-folio-faq-sidebar .cm-folio-faq-item p {
    padding: 0 0.75rem 0.7rem;
    font-size: 0.8rem;
}

.cm-folio-faq-card h3 {
    margin-bottom: 0.75rem;
}

.cm-folio-contact a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0;
    color: var(--cm-muted);
    text-decoration: none;
    font-size: 0.86rem;
    border-bottom: 1px solid var(--cm-border);
    transition: color 0.15s;
}

.cm-folio-contact a:last-child {
    border-bottom: 0;
}

.cm-folio-contact a:hover {
    color: #fff;
}

.cm-folio-contact a i {
    color: #60a5fa;
}

@media (max-width: 1199px) {
    .cm-folio-stats-ribbon {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .cm-folio-ribbon-item {
        flex: 1 1 calc(33.333% - 0.75rem);
        min-width: 160px;
    }
}

@media (max-width: 991px) {
    .cm-folio-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cm-folio-profile-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .cm-folio-ribbon-item {
        flex: 1 1 calc(50% - 0.75rem);
    }

    .cm-folio-about-grid,
    .cm-folio-platform {
        grid-template-columns: 1fr;
    }

    .cm-folio-work-grid,
    .cm-folio-work-grid-2 {
        grid-template-columns: 1fr;
    }

    .cm-folio-deliver-grid,
    .cm-folio-engage-grid,
    .cm-folio-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-folio-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-folio-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .cm-folio-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .cm-folio-name {
        flex-direction: column;
        gap: 0.15rem;
    }

    .cm-folio-profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-folio-profile-stats > div {
        border-right: none;
        padding: 0.35rem 0;
    }

    .cm-folio-stats-ribbon {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .cm-folio-ribbon-item {
        flex: 1 1 auto;
        min-width: 0;
    }

    .cm-folio-ribbon-text strong,
    .cm-folio-ribbon-text span {
        white-space: normal;
    }

    .cm-folio-tech-panel {
        padding: 1rem;
    }

    .cm-folio-tech-row {
        gap: 1.35rem;
        padding-right: 1.35rem;
    }

    .cm-folio-process,
    .cm-folio-deliver-grid,
    .cm-folio-engage-grid,
    .cm-folio-testimonials {
        grid-template-columns: 1fr;
    }
}
