/* Custom styles for the JS-injected profile content.
   Keep this file minimal to avoid fighting Webflow's generated CSS. */

.site-logo-text {
    font-family: inherit;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
    display: inline-block;
    line-height: 1;
}

.navbar-logo-link .site-logo-text:hover,
.footer-logo-link .site-logo-text:hover {
    opacity: 0.85;
}

.site-logo-text--footer {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.18em;
    opacity: 0.9;
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9999;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.back-to-top:focus-visible {
    outline: 0.125rem solid #4d65ff;
    outline-offset: 0.125rem;
}

#hero-profile-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 18px auto;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

#hero-greeting,
#hero-role {
    font-size: 2rem;
    line-height: 1.15;
}

#hero-role {
    display: block;
    /* Put "Graphic Designer" on its own line */
}

#hero-intro {
    max-width: 520px;
    /* Make the paragraph wrap earlier */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    #hero-profile-image {
        width: 120px;
        height: 120px;
        margin-bottom: 14px;
    }
    #hero-greeting,
    #hero-role {
        font-size: 1.55rem;
    }
    #hero-intro {
        max-width: 100%;
    }
}

.about-data-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 991px) {
    .about-data-grid {
        grid-template-columns: 1fr;
    }
}

.about-data-heading {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.95;
}

.about-pill-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-pill-list li {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-capabilities {
    margin-top: 14px;
    line-height: 1.7;
}

html {
    scroll-behavior: smooth;
}

.stat-number {
    font-size: clamp(3.25rem, 9vw, 5.5rem);
    line-height: 1;
}

.stat-number .text-span-7 {
    font-size: 0.55em;
    vertical-align: super;
}

.get-touch-button-group,
.footer-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

.footer-contact-buttons {
    margin-top: 0.25rem;
}

.logos-slider {
    overflow: hidden;
    width: 100%;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.portfolio-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font-size: 0.92rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

.logos-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: logos-scroll 22s linear infinite;
    will-change: transform;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    width: calc((100vw - 2rem) / 3);
    max-width: 360px;
    min-width: 220px;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes logos-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .logo-slide {
        width: 44vw;
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    .logo-slide {
        width: 78vw;
        min-width: 0;
    }
    /* Navbar variant buttons are hidden by Webflow on small screens. */
    .section-get-touch .button.is-navbar,
    .footer-contact-buttons .button.is-navbar {
        display: inline-flex !important;
    }
}

.w-webflow-badge {
    display: none !important;
}

.header-image-wrapper img {
    width: 200px;
    height: auto !important;
    aspect-ratio: 1/1;
}


/* Left column hero strip (PS, Ai, Id, Figma): small circular thumbs on phone */

@media (max-width: 767px) {
    .header-image-wrapper.is-image-1 .header-image,
    .header-image-wrapper.is-image-2 .header-image,
    .header-image-wrapper.is-image-3 .header-image,
    .header-image-wrapper.is-image-4 .header-image,
    .header-image-wrapper.is-image-5 .header-image,
    .header-image-wrapper.is-image-6 .header-image {
        width: 56px !important;
        height: 56px !important;
        max-width: none;
        border-radius: 50%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }
}