@font-face {
    font-family: "NB";
    src: url(./NBInternationalProBoo.ttf);
}

@font-face {
    font-family: "mainFont";
    src: url(./Rejouice-Headline.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "NB";

}


*::selection {
    background-color: black;
    color: #faf8f3;
}


@media (max-width: 900px) {
    .contact-nav {
        padding: 1.1rem 6vw;
    }

    .contact-links {
        gap: 0.9rem;
    }

    .contact-links a {
        font-size: 0.9rem;
    }

    .luxe-wrapper {
        padding: 10vw 6vw 12vw;
    }

    .hero-title {
        font-size: clamp(42px, 10vw, 64px);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .contact-columns {
        gap: 1.6rem;
        padding: 2rem 0;
    }

    .inline-form {
        flex-direction: column;
        align-items: flex-start;
        border-bottom: none;
        padding-bottom: 0;
    }

    .inline-form::after {
        display: none;
    }

    .inline-form input {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .luxe-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

html,
body {
    width: 100%;
    height: 100%;

}

#cursor {
    height: 7vw;
    width: 7vw;
    background-color: rgba(0, 0, 0, 0.564);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    position: fixed;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate3d(-200px, -200px, 0);

}

@media (max-width: 768px) {
    #cursor {
        height: 12vw;
        width: 12vw;
    }
}

@media (max-width: 480px) {
    #cursor {
        height: 15vw;
        width: 15vw;
    }
}

/* Hide all video controls */
video {
    pointer-events: none;
}

video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

video::-moz-media-controls {
    display: none !important;
}

video::-ms-media-controls {
    display: none !important;
}

video::media-controls {
    display: none !important;
}

video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

video::-webkit-media-controls-timeline {
    display: none !important;
}

video::-webkit-media-controls-current-time-display {
    display: none !important;
}

video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

video::-webkit-media-controls-volume-slider {
    display: none !important;
}

video::-webkit-media-controls-mute-button {
    display: none !important;
}

video::-webkit-media-controls-toggle-closed-captions-button {
    display: none !important;
}




#page-1 {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    position: relative;

}



#page-1 video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    pointer-events: none;
}

#p1-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    color: #FFFCF1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9vw;
    z-index: 2;

}

#heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 3vw 3vw;
    font-size: 1.4vw;
}

/* ===== TOP NAVIGATION BAR ===== */
#top-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    color: #faf8f3;
    pointer-events: auto;
}

.nav-brand {
    font-size: 1.2vw;
    letter-spacing: 0.08vw;
    text-transform: uppercase;
    z-index: 9999;
}

.nav-brand img {
    height: clamp(24px, 5vw, 58px);
    width: auto;
    display: block;
    object-fit: contain;
}


/* Hamburger Toggle Button */
#nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 99999 !important;
    position: fixed;
    top: 14px;
    right: 24px;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#nav-toggle:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.7) !important;
}

#nav-toggle:active {
    transform: scale(0.95);
}

#nav-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

/* Three hamburger lines */
#nav-toggle span {
    display: block !important;
    width: 28px;
    height: 3px;
    background: #ffffff !important;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Transform to X when menu is open */
body.menu-open #nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

body.menu-open #nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.menu-open #nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== SIDE MENU OVERLAY ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: #000;
    z-index: 140;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

body.menu-open .side-menu {
    transform: translateX(0);
}

/* Menu Content Container */
.side-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 6rem 3rem 3rem;
}

/* Menu Logo */
.menu-logo {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.2s;
}

body.menu-open .menu-logo {
    opacity: 1;
    transform: translateY(0);
}

.menu-logo img {
    height: 48px;
    width: auto;
}

/* Menu Links */
.side-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-menu-links li {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

body.menu-open .side-menu-links li:nth-child(1) {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateX(0);
}

body.menu-open .side-menu-links li:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateX(0);
}

body.menu-open .side-menu-links li:nth-child(3) {
    transition-delay: 0.25s;
    opacity: 1;
    transform: translateX(0);
}

body.menu-open .side-menu-links li:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0);
}

body.menu-open .side-menu-links li:nth-child(5) {
    transition-delay: 0.35s;
    opacity: 1;
    transform: translateX(0);
}

body.menu-open .side-menu-links li:nth-child(6) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateX(0);
}

.side-menu-links a {
    color: #faf8f3;
    text-decoration: none;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.side-menu-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #faf8f3;
    transition: width 0.3s ease;
}

.side-menu-links a:hover {
    color: #999;
}

.side-menu-links a:hover::after {
    width: 100%;
}

.side-menu-links li.menu-photo-cta {
    margin-top: 0.25rem;
}

.side-menu-links li.menu-photo-cta a {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #faf8f3;
}

.side-menu-links li.menu-photo-cta a::after {
    display: none;
}

.side-menu-links li.menu-photo-cta a:hover {
    background: #faf8f3;
    color: #000;
    border-color: #faf8f3;
    transform: translateY(-2px);
}

/* Menu Footer */
.side-menu-footer {
    margin-top: auto;
    padding-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

body.menu-open .side-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #faf8f3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.social-links a:hover {
    color: #999;
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Menu Legal Links */
.menu-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.menu-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-legal a:hover {
    color: #faf8f3;
}

.menu-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Remove dark page dim when menu opens */
body.menu-open::before {
    content: none;
}

/* Old navbar classes - keeping for compatibility */
#navbar {
    display: none;
}

.nav-links {
    display: none;
}


#p1-content h1 {
    font-family: "mainFont";
    font-size: 27vw;
    font-weight: 400;
    line-height: 30vw;


}

#main-cover {
    margin-left: 12%;
    margin-top: 38vh;
    height: 58vh;
    width: 95%;
    overflow: hidden;
}

#p1-content h1 span {
    font-family: "mainFont";
    display: inline-block;
}

#page-2 {
    min-height: auto;
    width: 100%;
    position: relative;
    background-color: #faf8f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5.5vw;
}

#p2-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1.8vw 2.8vw;
}

#p2-header h3 {
    margin-top: 3vw;
    font-size: 1.7vw;
    font-weight: 100;
}

#page-2 hr,
#page-2 hr {
    width: 90%;
}

.cover1,
.cover3,
.cover4 {
    overflow: hidden;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.cover1 h1,
.cover3 h1,
.cover4 h1 {
    font-size: 4.2vw;
    font-weight: 100;
    line-height: 1.12;
    letter-spacing: -0.1vw;

}

/* ===== CLIENTS STRIP (after page-2) ===== */
#clients-strip {
    width: 100%;
    background-color: #ffffff;
    padding: 6vw 4vw 7vw;
    overflow: hidden;
}

.clients-strip-head {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
    margin-bottom: 4vw;
}

.clients-strip-head h1 {
    font-size: 4vw;
    font-weight: 300;
    letter-spacing: -0.08vw;
    color: #0b0b0b;
}

.clients-strip-head p {
    font-size: 1.1vw;
    color: #3c3c38;
    line-height: 1.6;
    max-width: 48vw;
}

.clients-only-shell {
    gap: 0 !important;
}

@media (max-width: 768px) {
    #clients-strip {
        padding: 10vw 5vw 12vw;
    }

    .clients-strip-head h1 {
        font-size: 8.5vw;
    }

    .clients-strip-head p {
        font-size: 4.5vw;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #clients-strip {
        padding: 12vw 4vw 14vw;
    }

    .clients-strip-head h1 {
        font-size: 9.5vw;
    }

    .clients-strip-head p {
        font-size: 5vw;
    }
}

#page-3 {
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-color: #faf8f3;
}

#pg3head h4 {
    text-align: center;
    font-size: 1.2vw;
    font-weight: 200;
    margin-bottom: 2vw;

}

#pg3head h4 span {
    background-color: black;
    color: #faf8f3;
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 0.9vw;
}



#pg3head .cover2 {
    text-align: center;
}

.cover2 {
    overflow: hidden;
}

.cover2 h1 {
    font-size: 4.2vw;
    font-weight: 100;

}

#contenthead {
    width: 100%;
    padding: 2vw 0;
    margin-top: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;

}

#contenthead h2 {
    padding: 0 0.4vw;
    font-size: 1.8vw;
    font-weight: 100;
    cursor: pointer;
    text-align: center;

}

.p3Content {
    margin: 0 2vw;
    width: 95%;
    height: 40vw;
    display: flex;
    justify-content: space-between;
}

.p3Content #inner {
    height: 97%;
    width: 32.5%;
    position: relative;

}

.p3Content #inner video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    cursor: default;
    pointer-events: none;
}

.p3Content #inner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    transition: all linear 0.3s;
}


.p3Content #inner:hover> :nth-child(2) {
    opacity: 0;
}

.p3Content #inner> :nth-child(1) {
    object-fit: contain;
    height: 2.7vw;
    width: 100%;
    position: absolute;
    z-index: 3;
    top: 30vw;

}

#page-4 {
    display: none;
}

#page-5 {
    background: #faf8f3;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 6vw 6vw 8vw;
    overflow: visible;
}

.solutions-section::before,
.solutions-section::after {
    content: "";
    position: absolute;
    inset: 6% 10% auto 10%;
    height: 42vh;
    background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.06), transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(0, 0, 0, 0.04), transparent 50%);
    filter: blur(18px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.solutions-section::after {
    inset: auto 12% 4% 12%;
    height: 32vh;
    background: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.05), transparent 55%),
        radial-gradient(circle at 70% 40%, rgba(0, 0, 0, 0.05), transparent 60%);
}

.solutions-intro {
    text-align: center;
    margin: 0 0 3vw;
    max-width: 70vw;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.solutions-intro h1 {
    font-size: 5vw;
    font-weight: 300;
    letter-spacing: -0.1vw;
    margin-bottom: 1vw;
}

.solutions-intro p {
    font-size: 1.2vw;
    line-height: 1.7;
    color: #2f2f2b;
}

.solutions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
    flex-wrap: wrap;
    margin-bottom: 2vw;
}

.solutions-header .headline h2 {
    font-size: 3.4vw;
    font-weight: 200;
    letter-spacing: -0.08vw;
}

.solutions-header .headline p {
    margin-top: 0.6vw;
    font-size: 1.2vw;
    max-width: 38vw;
    color: #2f2f2b;
    line-height: 1.6;
}

.tag {
    padding: 0.65vw 1.6vw;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.14vw;
    font-size: 0.95vw;
    background: #ffffff;
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 1.8vw;
    width: 100%;
    position: relative;
    z-index: 1;
}

.solution-scroll-arrows {
    position: sticky;
    top: 24vh;
    display: flex;
    gap: 0.8vw;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1vw;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 3;
}

.solution-scroll-arrows.visible {
    opacity: 1;
}

.solution-arrow {
    width: 3.4vw;
    height: 3.4vw;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #faf8f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vw;
    transform: scale(0.95);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.solution-arrow.is-large {
    transform: scale(1.25);
    background: rgba(0, 0, 0, 0.85);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5vw;
    margin-top: 3vw;
}

@media (min-width: 1200px) {
    .solution-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-tile {
        grid-column: span 1 !important;
    }
}

/* First 4 tiles - each spans 2 columns (forms 4 tiles in first row) */
.solution-tile:nth-child(1),
.solution-tile:nth-child(2),
.solution-tile:nth-child(3),
.solution-tile:nth-child(4) {
    grid-column: span 2;
}

/* Second row 4 tiles - each spans 2 columns (forms 4 tiles in second row) */
.solution-tile:nth-child(5),
.solution-tile:nth-child(6),
.solution-tile:nth-child(7),
.solution-tile:nth-child(8) {
    grid-column: span 2;
}

.solution-tile {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 1 / 1;
    background: #000;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.4s;
    z-index: 1;
}

.solution-tile:hover {
    transform: scale(1.15);
    z-index: 100;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.solution-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.solution-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
}

/* Directional hover animations */
.solution-tile.from-left::after {
    animation: slideFromLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.solution-tile.from-right::after {
    animation: slideFromRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.solution-tile.from-top::after {
    animation: slideFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.solution-tile.from-bottom::after {
    animation: slideFromBottom 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 1;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
        opacity: 1;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromTop {
    from {
        transform: translateY(-100%);
        opacity: 1;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideFromBottom {
    from {
        transform: translateY(100%);
        opacity: 1;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.6vw;
    padding: 2.5vw;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: padding 0.3s ease;
}

.solution-tile:hover .tile-overlay {
    padding: 3vw;
}

.solution-tile:hover .tile-overlay {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tile-label {
    align-self: flex-start;
    padding: 0.5vw 1.2vw;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.7vw;
    letter-spacing: 0.12vw;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solution-tile:hover .tile-label {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.solution-tile h3 {
    font-size: 2vw;
    font-weight: 600;
    letter-spacing: -0.02vw;
    line-height: 1.15;
    margin: 0;
    transition: transform 0.3s ease;
}

.solution-tile:hover h3 {
    transform: translateY(-5px);
}

.tile-copy {
    font-size: 0.9vw;
    line-height: 1.6;
    color: #e5e5e5;
    margin: 0;
    max-width: 95%;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.solution-tile:hover .tile-copy {
    opacity: 1;
    color: #ffffff;
}

.tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4vw;
    margin-top: 0.3vw;
    transition: gap 0.3s ease;
}

.solution-tile:hover .tile-tags {
    gap: 0.6vw;
}

.tile-tags span {
    padding: 0.4vw 1vw;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    font-size: 0.7vw;
    letter-spacing: 0.05vw;
    transition: all 0.3s ease;
}

.tile-tags span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
}

.solution-tile:hover img {
    transform: scale(1.08);
}


#page-6 {
    background: #0b0b0b;
    color: #f4f4ef;
    padding: 3.5vw 2vw 5vw;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.team-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2vw;
    flex-wrap: wrap;
    margin-bottom: 0.2vw;
}

.team-head h2 {
    font-size: 4.2vw;
    font-weight: 300;
    letter-spacing: -0.08vw;
}

.team-head p {
    max-width: 36vw;
    line-height: 1.6;
    color: #d9d9d4;
    font-size: 1.05vw;
}

.team-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0;
    padding-top: 0;
}

.team-row {
    width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 1.15vw 1vw;
    font-size: 1.3vw;
    text-align: left;
    cursor: pointer;
    transition: background 0.35s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.35s ease;
    position: relative;
    isolation: isolate;
}

.team-row + .team-row {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.team-row .role {
    font-weight: 400;
    letter-spacing: 0.04vw;
}

.team-row .name {
    font-size: 1.8vw;
    font-weight: 700;
    letter-spacing: 0.01vw;
    text-align: right;
}

.team-row.active,
.team-row:focus-visible,
.team-row:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.18) 100%);
    color: #0b0b0b;
    outline: none;
    transform: translateX(4px);
    box-shadow: 0 20px 45px rgba(255, 255, 255, 0.08);
}

.team-row.active .name,
.team-row:hover .name,
.team-row:focus-visible .name,
.team-row.active .role,
.team-row:hover .role,
.team-row:focus-visible .role {
    color: #0b0b0b;
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.team-photo-overlay img {
    width: min(380px, 38vw);
    max-height: 72vh;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 26px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.15s ease, transform 0.2s ease;
}

.team-photo-overlay img.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.team-mobile-photo {
    display: none;
}

@media (max-width: 1024px) {
    .team-head p {
        max-width: 100%;
        font-size: 2.4vw;
    }

    .team-row {
        grid-template-columns: 1fr;
        gap: 0.6vw;
        font-size: 2.6vw;
        padding: 2.6vw 1.4vw;
    }

    .team-row .name {
        text-align: left;
        font-size: 3vw;
    }

    .team-photo-overlay img {
        width: min(340px, 56vw);
        max-height: 58vh;
    }
}

#page-7.partners-section {
    min-height: auto;
    width: 100%;
    background: #0b0b0b;
    color: #f4f4ef;
    position: relative;
    padding: 4vw 4vw 4vw;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient glow */
#page-7.partners-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 40vw;
    background: radial-gradient(ellipse at center, rgba(150, 150, 150, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.partners-head {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    margin-bottom: 3vw;
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
}

.partners-head h1,
.partners-head h2 {
    font-size: 4vw;
    font-weight: 300;
    letter-spacing: -0.08vw;
    color: #ffffff;
}

.partners-head p,
.partners-head .lede {
    max-width: 50vw;
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 1.1vw;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45vw;
    padding: 0.55vw 1.6vw;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.04));
    font-size: 0.95vw;
    letter-spacing: 0.18vw;
    text-transform: uppercase;
}

.marquee-shell {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    overflow: hidden;
    position: relative;
}

.marquee-shell::before,
.marquee-shell::after {
    content: "";
    position: absolute;
    inset: 8% 6%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.08), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.07), transparent 50%);
    filter: blur(22px);
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

.marquee-shell::after {
    inset: auto 8% 6% 8%;
}

.marquee-block {
    position: relative;
    z-index: 1;
    padding: 1.8vw 1.6vw 1.4vw;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 244, 244, 0.9));
    overflow: hidden;
    min-height: 220px;
}

.marquee-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0));
    pointer-events: none;
    mix-blend-mode: screen;
}

.marquee-block.alt {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 244, 244, 0.9));
    color: #0b0b0b;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.marquee-block-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1vw;
    margin-bottom: 1vw;
    position: relative;
    z-index: 2;
    padding: 0 0.6vw;
}

.marquee-track-wrapper {
    display: flex;
    gap: 1.4vw;
}

.marquee-note {
    font-size: 0.95vw;
    letter-spacing: 0.04vw;
    color: #3c3c38;
}

.marquee-block.alt .marquee-note {
    color: #3c3c38;
}

.marquee-chip {
    padding: 0.5vw 1.2vw;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 0.85vw;
    letter-spacing: 0.06vw;
    text-transform: uppercase;
    color: #1f1f1b;
}

.chip-alt {
    background: rgba(0, 0, 0, 0.06);
    color: #1f1f1b;
    border-color: rgba(0, 0, 0, 0.12);
}

.pill-alt {
    background: rgba(255, 255, 255, 0.08);
    color: #f6f6f3;
    border-color: rgba(255, 255, 255, 0.24);
}

.marquee-track {
    display: flex;
    gap: 1.2vw;
    width: max-content;
    align-items: center;
    will-change: transform;
    animation-duration: var(--marquee-duration, 22s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: marqueeSlide;
    padding: 0.4vw 0;
    animation-play-state: running;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 1.4vw;
    flex-shrink: 0;
}

.marquee-item {
    padding: 1vw 2.2vw;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 120px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.marquee-block.alt .marquee-item {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
}

.marquee-item:hover {
    transform: translateY(-6px);
    filter: saturate(1.05);
}

.marquee-item:hover img {
    filter: grayscale(0) saturate(1) brightness(1);
    transform: translateY(-2px);
}

.marquee-item img {
    max-height: 70px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) saturate(0) brightness(0.9);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.to-right {
    animation-direction: reverse;
}

.to-left {
    --marquee-duration: 24s;
}

@keyframes marqueeSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* — Scoped dark overrides for #page-7 partners marquee — */
#page-7 .marquee-shell::before,
#page-7 .marquee-shell::after {
    display: none;
}

#page-7 .marquee-block,
#page-7 .marquee-block.alt {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    min-height: auto;
}

#page-7 .marquee-block::after {
    display: none;
}

#page-7 .marquee-block-top {
    justify-content: center;
    margin-bottom: 1.5vw;
}

#page-7 .marquee-block-top .pill {
    background: #ffffff;
    color: #0b0b0b;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

#page-7 .marquee-note,
#page-7 .marquee-block.alt .marquee-note {
    display: none;
}

#page-7 .marquee-item,
#page-7 .marquee-block.alt .marquee-item {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    min-width: 180px;
    min-height: 100px;
    position: relative;
}

#page-7 .marquee-item:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    filter: none;
}

#page-7 .marquee-item img {
    opacity: 0.72;
    filter: none;
    -webkit-filter: none;
    transform: translateZ(0);
}

#page-7 .marquee-item:hover img {
    opacity: 1;
    transform: scale(1.08);
}

#page-7 .partner-logo-text span {
    display: none;
    color: #1b1b1b;
    font-size: clamp(1rem, 1.35vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0;
}

#page-7 .partner-logo-text img {
    display: block;
}

@media (max-width: 1024px) {
    #page-7.partners-section {
        padding: 6vw 5vw 8vw;
    }

    .partners-head h1,
    .partners-head h2 {
        font-size: 7vw;
    }

    .partners-head p,
    .partners-head .lede {
        max-width: 90%;
        font-size: 2.6vw;
    }

    .pill {
        font-size: 2.3vw;
        padding: 1vw 2.4vw;
    }

    .marquee-shell {
        gap: 3vw;
        mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    }

    .marquee-block {
        padding: 3vw 2.6vw 2.4vw;
        min-height: 180px;
    }

    .marquee-block-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6vw;
    }

    .marquee-note {
        font-size: 2.2vw;
    }

    .marquee-item {
        font-size: 2.4vw;
        padding: 1.2vw 2.6vw;
        min-width: 180px;
        min-height: 100px;
    }
}

#loader {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    background-color: black;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #faf8f3;
}

#loader h3 {
    font-weight: 100;
    font-size: 1.5vw;
}

#page-8 {
    min-height: 27vw;
    width: 100%;
    position: relative;
    color: #faf8f3;
    background-color: black;
}

#p8head {
    width: 100%;
    padding: 2vw 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#left h1 {
    font-size: 1.8vw;
    font-weight: 100;

}

#left .seat-link {
    display: inline-block;
    font-size: 1.2vw;
    padding: 15px 35px;
    border-radius: 100px;
    background-color: black;
    color: #faf8f3;
    border: 1px white solid;
    margin-top: 2vw;
    text-decoration: none;
    transition: all 0.5s ease;
    cursor: pointer;

}

#right {
    display: flex;
    justify-content: space-evenly;
}

#right h5 {
    font-size: 1.2vw;
    font-weight: 100;
    line-height: 2;
    transition: all 0.5s ease;
}

#right h5 a {
    color: #faf8f3;
    text-decoration: none;
    transition: all 0.5s ease;
}

#a,
#b {
    margin: 0 2vw;
}

#a h5,
#b h5 {
    cursor: pointer;

}

#left .seat-link:hover {
    background-color: #faf8f3;
    color: black;


}

#right h5:hover {
    color: #878683;
}

#right h5:hover a {
    color: #878683;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social-icons h5 {
    line-height: 1 !important;
    font-size: 0 !important;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(250, 248, 243, 0.42);
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #faf8f3 !important;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-social-link:hover {
    background: #faf8f3;
    border-color: #faf8f3;
    color: #000 !important;
    transform: translateY(-2px);
}

#main-cover-bot {
    margin-left: 2%;
    height: 58vh;
    width: 95%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

#main-cover-bot h1 {
    font-family: "mainFont";
    font-size: 27vw;
    font-weight: 400;
    line-height: 0.82;
    margin: 0;
    white-space: nowrap;
}

#main-cover-bot h1 span {
    font-family: "mainFont";
    display: inline-block;
}

.footer-copyright {
    width: 100%;
    margin-top: clamp(18px, 2vw, 34px);
    padding: 18px 2vw 1.5vw;
    border-top: 1px solid rgba(250, 248, 243, 0.18);
    text-align: center;
}

.footer-copyright p {
    color: rgba(250, 248, 243, 0.72);
    font-size: clamp(13px, 0.9vw, 16px);
    font-weight: 100;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 1024px) {
    #navbar {
        padding: 4vw 6vw;
    }

    .nav-brand {
        font-size: 3.4vw;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        padding: 3vw 6vw;
        gap: 3vw;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .nav-links a {
        font-size: 3vw;
    }

    #nav-toggle {
        display: flex;
    }

    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2vw;
    }

    .solutions-header .headline h2 {
        font-size: 6vw;
        line-height: 1.1;
    }

    .solutions-header .headline p {
        font-size: 2.4vw;
        max-width: 80vw;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5vw;
    }

    .solution-tile {
        aspect-ratio: 1 / 1;
    }

    .tile-overlay {
        padding: 4vw;
        gap: 2vw;
    }

    .tile-label {
        font-size: 2.1vw;
    }

    .solution-tile h3 {
        font-size: 4.8vw;
    }

    .tile-copy {
        font-size: 2.4vw;
    }

    .tile-tags {
        gap: 0.8vw;
        margin-top: 1vw;
    }

    .tile-tags span {
        font-size: 2vw;
        padding: 1vw 2vw;
    }
}

/* ================= TABLET RESPONSIVE (769px to 1024px) ================= */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Page 1 - Hero */
    #main-cover h1 {
        font-size: 14vw;
        line-height: 16vw;
    }

    /* Page 2 */
    .cover1 h1,
    .cover3 h1 {
        font-size: 6vw;
    }

    .cover3 p {
        font-size: 3.5vw;
    }

    /* Page 3 */
    .p3Content {
        gap: 4vw;
    }

    #pg3head h4 {
        font-size: 3vw;
    }

    .cover2 h1 {
        font-size: 6.5vw;
    }

    /* Page 5 - Solutions */
    .solutions-intro h1 {
        font-size: 6.5vw;
    }

    .solutions-intro p {
        font-size: 3vw;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5vw;
    }

    .solution-tile {
        grid-column: span 1 !important;
    }

    .tile-overlay {
        padding: 4.5vw;
    }

    .tile-label {
        font-size: 2.5vw;
    }

    .solution-tile h3 {
        font-size: 5.5vw;
    }

    .tile-copy {
        font-size: 3vw;
    }

    .tile-tags span {
        font-size: 2.5vw;
    }

    /* Page 6 - Team */
    .team-head h2 {
        font-size: 6.5vw;
    }

    .team-head p {
        font-size: 3vw;
    }

    .team-row {
        padding: 4vw 3vw;
    }

    .team-row .role {
        font-size: 3vw;
    }

    .team-row .name {
        font-size: 5vw;
    }

    /* Page 7 - Partners */
    .partners-head h1 {
        font-size: 6.5vw;
    }

    .partners-head p {
        font-size: 3vw;
    }

    /* Page 8 - Footer */
    #left h1 {
        font-size: 6vw;
    }

    #left .seat-link {
        font-size: 3.5vw;
    }

    #right h5 {
        font-size: 3.5vw;
    }

    #main-cover-bot h1 {
        font-size: 24vw;
        line-height: 26vw;
    }
}

/* ================= MOBILE RESPONSIVE (768px and below) ================= */
@media (max-width: 768px) {

    /* Global adjustments */
    body {
        overflow-x: hidden;
    }

    #main {
        overflow-x: hidden;
        width: 100%;
    }

    /* Cursor - Hide on mobile */
    #cursor {
        display: none !important;
    }

    /* Navbar */
    #top-nav {
        padding: 16px 20px;
    }

    .nav-brand img {
        height: 45px;
    }

    #nav-toggle {
        padding: 10px 12px;
        gap: 5px;
    }

    #nav-toggle span {
        width: 24px;
        height: 2.5px;
    }

    /* Side Menu - Mobile optimized */
    .side-menu {
        max-width: 100%;
    }

    .side-menu-content {
        padding: 5rem 2rem 2rem;
    }

    .menu-logo {
        margin-bottom: 2rem;
    }

    .menu-logo img {
        height: 40px;
    }

    .side-menu-links {
        gap: 1rem;
    }

    .side-menu-links a {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .side-menu-footer {
        padding-top: 2rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    /* Page 1 - Hero */
    #page-1 {
        height: 100vh;
        height: 100dvh;
        min-height: -webkit-fill-available;
        width: 100%;
        position: relative;
    }

    #page-1 video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    #p1-content {
        width: 100%;
        height: 100%;
        position: relative;
    }

    #main-cover {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    #main-cover h1 {
        font-size: 26vw;
        line-height: 28vw;
        letter-spacing: -0.02em;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    #main-cover h1 span {
        display: inline-block;
    }

    /* Page 2 */
    #page-2 {
        height: auto !important;
        padding: 10vw 5vw;
        min-height: auto !important;
        overflow: visible;
    }

    #p2-header {
        margin-bottom: 5vw;
    }

    #p2-header h3 {
        font-size: 5vw;
        margin-bottom: 1vw;
    }

    #page-2 hr {
        margin: 4vw 0;
    }

    .cover1 {
        margin-bottom: 2vw;
        overflow: visible;
    }

    .moveUp1 {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .cover3,
    .cover4 {
        overflow: visible;
    }

    .cover1 h1,
    .cover3 h1,
    .cover4 h1 {
        font-size: 7.5vw;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .cover3 p {
        font-size: 4.5vw;
        line-height: 1.65;
        max-width: 100%;
    }

    /* Page 3 - Work Showcase */
    #page-3 {
        padding: 8vw 0;
    }

    .p3Content {
        flex-direction: column;
        height: auto;
        gap: 8vw;
        padding: 0 5vw;
    }

    .p3Content #inner {
        width: 100%;
        height: auto;
        min-height: 95vw;
    }

    .p3Content #inner img {
        width: 100%;
        height: auto;
    }

    .p3Content #inner video {
        width: 100%;
        height: auto;
    }

    /* Page 3 Head Section */
    #pg3head {
        padding: 10vw 5vw;
    }

    #pg3head h4 {
        font-size: 4vw;
        margin-bottom: 6vw;
    }

    #pg3head h4 span {
        font-size: 3vw;
        padding: 6px 12px;
    }

    .cover2 {
        margin-bottom: 2vw;
    }

    .cover2 h1 {
        font-size: 8vw;
        line-height: 1.2;
    }

    #contenthead {
        flex-direction: column;
        gap: 5vw;
        padding: 8vw 0 0;
        align-items: center;
    }

    #contenthead h2 {
        font-size: 6vw;
        text-align: center;
    }

    /* Page 5 - Solutions */
    #page-5 {
        padding: 10vw 5vw 15vw;
        overflow: visible;
        min-height: auto;
    }

    .solutions-section::before,
    .solutions-section::after {
        display: none;
    }

    .solutions-intro {
        max-width: 100%;
        margin-bottom: 10vw;
        text-align: left;
    }

    .solutions-intro .cover3 {
        display: inline-block;
        margin-right: 1vw;
    }

    .solutions-intro .cover3 h1 {
        display: inline;
    }

    .solutions-intro .cover3:has(p) {
        display: block;
        margin-right: 0;
        margin-top: 4vw;
    }

    .solutions-intro h1 {
        font-size: 8.5vw;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .solutions-intro p {
        font-size: 4.8vw;
        line-height: 1.6;
    }

    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4vw;
        margin-bottom: 6vw;
    }

    .solutions-header .headline h2 {
        font-size: 7vw;
    }

    .solutions-header .headline p {
        font-size: 4vw;
        max-width: 100%;
    }

    .tag {
        padding: 2vw 4vw;
        font-size: 3vw;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
        margin-top: 6vw;
        width: 100%;
    }

    .solution-tile {
        grid-column: span 1 !important;
        border-radius: 12px;
        overflow: hidden;
        width: 100%;
        min-height: 85vw;
        height: auto;
    }

    .solution-tile img {
        transform: scale(1.05);
    }

    .solution-tile:hover img {
        transform: scale(1.1);
    }

    .tile-overlay {
        padding: 6vw;
        gap: 3vw;
    }

    .tile-label {
        font-size: 3.5vw;
        padding: 1.5vw 3.5vw;
    }

    .solution-tile h3 {
        font-size: 7vw;
        line-height: 1.2;
    }

    .tile-copy {
        font-size: 4vw;
        line-height: 1.65;
    }

    .tile-tags {
        gap: 2vw;
        margin-top: 2vw;
        flex-wrap: wrap;
    }

    .tile-tags span {
        font-size: 3.2vw;
        padding: 1.5vw 3vw;
    }

    .solution-scroll-arrows {
        display: none;
    }

    /* Page 6 - Team */
    #page-6,
    .team-section {
        padding: 8vw 5vw 9vw;
        min-height: auto;
    }

    .team-head {
        margin-bottom: 1.5vw;
        text-align: left;
    }

    .team-head h2 {
        font-size: 8.5vw;
        line-height: 1.2;
        margin-bottom: 4vw;
    }

    .team-head p {
        font-size: 4.5vw;
        line-height: 1.6;
        max-width: 100%;
    }

    .team-list {
        gap: 0;
    }

    .team-row {
        padding: 5vw 4vw;
        flex-direction: column;
        align-items: flex-start;
        gap: 2vw;
        overflow: visible;
        min-height: auto;
    }

    .team-row + .team-row {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .team-row .role {
        font-size: 3.8vw;
        order: 2;
        line-height: 1.4;
    }

    .team-row .name {
        font-size: 6vw;
        order: 1;
        line-height: 1.3;
    }

    .team-photo-overlay {
        display: none;
    }

    /* Page 7 - Partners */
    #page-7,
    .partners-section {
        padding: 10vw 5vw;
    }

    .partners-head {
        margin-bottom: 8vw;
        text-align: left;
    }

    .partners-head .cover3 {
        margin-bottom: 2vw;
    }

    .partners-head h1 {
        font-size: 8.5vw;
        line-height: 1.2;
        margin-bottom: 4vw;
    }

    .partners-head p {
        font-size: 4.5vw;
        line-height: 1.6;
    }

    .marquee-shell {
        gap: 6vw;
    }

    .marquee-block {
        gap: 4vw;
    }

    .marquee-block-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2vw;
    }

    .pill {
        font-size: 3.5vw;
        padding: 2vw 4vw;
    }

    .marquee-note {
        font-size: 3.8vw;
    }

    .marquee-item {
        min-width: 120px;
        min-height: 70px;
        padding: 3vw 5vw;
    }

    .marquee-item img {
        max-height: 40px;
        max-width: 100px;
    }

    /* Footer - Page 8 */
    #page-8 {
        min-height: auto;
        padding: 10vw 0;
    }

    #p8head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8vw;
        padding: 0 5vw 8vw;
    }

    #left {
        width: 100%;
    }

    #left h1 {
        font-size: 8vw;
        line-height: 1.2;
        margin-bottom: 5vw;
    }

    #left .seat-link {
        font-size: 4.5vw;
        padding: 14px 32px;
        margin-top: 0;
        border-radius: 999px;
    }

    #right {
        width: 100%;
        flex-direction: column;
        gap: 6vw;
    }

    #a,
    #b {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }

    #right h5 {
        font-size: 4.5vw;
        line-height: 1.6;
    }

    #main-cover-bot {
        height: auto;
        min-height: 30vh;
        margin-left: 0;
        width: 100%;
        padding: 8vw 5vw 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #main-cover-bot h1 {
        font-size: 24vw;
        line-height: 26vw;
        text-align: center;
    }

    .footer-copyright {
        margin-top: 6vw;
        padding: 4vw 5vw 5vw;
    }

    .footer-copyright p {
        font-size: 3.6vw;
    }

    /* Loader */
    #loader {
        padding: 0 5vw;
    }

    #loader h3 {
        font-size: 4.5vw;
        line-height: 1.4;
    }
}

/* ================= EXTRA SMALL MOBILE (480px and below) ================= */
@media (max-width: 480px) {

    /* Navigation */
    #top-nav {
        padding: 12px 16px;
    }

    .nav-brand img {
        height: 38px;
    }

    #nav-toggle {
        padding: 8px 10px;
    }

    #nav-toggle span {
        width: 22px;
        height: 2px;
    }

    /* Side Menu */
    .side-menu-content {
        padding: 4rem 1.5rem 1.5rem;
    }

    .side-menu-links a {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    /* Page 1 - Hero */
    #main-cover {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    #main-cover h1 {
        font-size: 24vw;
        line-height: 26vw;
        text-align: center;
        width: 100%;
        letter-spacing: -0.02em;
        margin: 0 auto;
    }

    #main-cover h1 span {
        display: inline-block;
    }

    /* Page 2 */
    #page-2 {
        padding: 11vw 4vw;
    }

    #p2-header h3 {
        font-size: 5.5vw;
    }

    .cover1 {
        overflow: visible;
    }

    .cover3,
    .cover4 {
        overflow: visible;
    }

    .cover1 h1,
    .cover3 h1,
    .cover4 h1 {
        font-size: 8.5vw;
        line-height: 1.25;
    }

    .cover3 p {
        font-size: 5vw;
    }

    /* Page 3 */
    #page-3 {
        padding: 10vw 0;
    }

    .p3Content {
        gap: 10vw;
        padding: 0 4vw;
    }

    .p3Content #inner {
        min-height: 105vw;
    }

    #pg3head {
        padding: 12vw 4vw;
    }

    #pg3head h4 {
        font-size: 4.5vw;
    }

    #pg3head h4 span {
        font-size: 3.5vw;
        padding: 5px 10px;
    }

    .cover2 h1 {
        font-size: 9vw;
    }

    #contenthead h2 {
        font-size: 7vw;
    }

    /* Page 5 - Solutions */
    #page-5 {
        padding: 12vw 4vw 18vw;
        overflow: visible;
        min-height: auto;
    }

    .solutions-intro h1 {
        font-size: 9.5vw;
        margin-bottom: 0;
    }

    .solutions-intro .cover3 {
        display: inline-block;
        margin-right: 1.5vw;
    }

    .solutions-intro .cover3 h1 {
        display: inline;
    }

    .solutions-intro .cover3:has(p) {
        display: block;
        margin-right: 0;
        margin-top: 5vw;
    }

    .solutions-intro p {
        font-size: 5.2vw;
    }

    .solutions-header .headline h2 {
        font-size: 8vw;
    }

    .solutions-header .headline p {
        font-size: 4.5vw;
    }

    .solution-grid {
        gap: 5vw;
        width: 100%;
    }

    .solution-tile {
        min-height: 90vw;
        border-radius: 10px;
        width: 100%;
        height: auto;
    }

    .tile-overlay {
        padding: 7vw;
        gap: 3.5vw;
    }

    .tile-label {
        font-size: 4vw;
        padding: 2vw 4vw;
    }

    .solution-tile h3 {
        font-size: 8vw;
    }

    .tile-copy {
        font-size: 4.5vw;
    }

    .tile-tags span {
        font-size: 3.5vw;
        padding: 2vw 3.5vw;
    }

    /* Page 6 - Team */
    #page-6,
    .team-section {
        padding: 12vw 4vw 13vw;
        min-height: auto;
    }

    .team-head h2 {
        font-size: 9.5vw;
    }

    .team-head p {
        font-size: 5vw;
    }

    .team-row {
        padding: 9vw 0;
        overflow: visible;
        min-height: auto;
    }

    .team-row .role {
        font-size: 4.2vw;
    }

    .team-row .name {
        font-size: 7vw;
    }

    /* Page 7 - Partners */
    #page-7,
    .partners-section {
        padding: 12vw 4vw;
    }

    .partners-head h1 {
        font-size: 9.5vw;
    }

    .partners-head p {
        font-size: 5vw;
    }

    .pill {
        font-size: 4vw;
        padding: 2.5vw 5vw;
    }

    .marquee-note {
        font-size: 4.2vw;
    }

    .marquee-item {
        min-width: 100px;
        min-height: 60px;
        padding: 4vw 6vw;
    }

    .marquee-item img {
        max-height: 35px;
        max-width: 90px;
    }

    /* Footer - Page 8 */
    #page-8 {
        padding: 12vw 0;
    }

    #p8head {
        gap: 10vw;
        padding: 0 4vw 10vw;
    }

    #left h1 {
        font-size: 9vw;
        margin-bottom: 6vw;
    }

    #left .seat-link {
        font-size: 5vw;
        padding: 12px 28px;
    }

    #right {
        gap: 8vw;
    }

    #a,
    #b {
        gap: 4vw;
    }

    #right h5 {
        font-size: 5vw;
    }

    #main-cover-bot {
        min-height: 25vh;
        padding: 10vw 4vw;
    }

    #main-cover-bot h1 {
        font-size: 28vw;
        line-height: 30vw;
    }

    /* Loader */
    #loader h3 {
        font-size: 5.5vw;
    }
}

/* ═══════════════════════════════════════════════
   SERVICES EXPLORER  (#mind-page-3 redesign)
   ═══════════════════════════════════════════════ */

/* ── Category colour palette ── */
:root {
    --cat-marketing: #ff8c42;
    --cat-social: #a855f7;
    --cat-video: #ec4899;
    --cat-web: #22d3ee;
    --cat-it: #34d399;
    --cat-enterprise: #fbbf24;
    --cat-talent: #f472b6;
    --cat-consultation: #818cf8;
}

/* ── Section container ── */
.svc-explorer {
    --svc-lens-x: 50%;
    --svc-lens-y: 42%;
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 14% 18%, rgba(40, 67, 112, 0.3), transparent 38%),
        radial-gradient(circle at 85% 80%, rgba(51, 85, 140, 0.22), transparent 42%),
        linear-gradient(148deg, #040507 0%, #060a14 55%, #040507 100%);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: 5vw 4vw 14vh;
}

.svc-explorer::before {
    content: '';
    position: absolute;
    inset: -16% -10%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.62;
    background:
        radial-gradient(circle at 12% 18%, transparent 0 58px, rgba(225, 238, 255, 0.1) 59px 61px, transparent 62px),
        radial-gradient(circle at 34% 34%, transparent 0 74px, rgba(225, 238, 255, 0.09) 75px 78px, transparent 79px),
        radial-gradient(circle at 68% 20%, transparent 0 66px, rgba(225, 238, 255, 0.1) 67px 69px, transparent 70px),
        radial-gradient(circle at 84% 64%, transparent 0 92px, rgba(225, 238, 255, 0.08) 93px 96px, transparent 97px),
        radial-gradient(circle at 18% 78%, transparent 0 82px, rgba(225, 238, 255, 0.08) 83px 86px, transparent 87px);
    background-size: 330px 330px, 420px 420px, 360px 360px, 460px 460px, 390px 390px;
    transform: translate3d(calc(50% - var(--svc-lens-x)), calc(50% - var(--svc-lens-y)), 0);
    transition: transform 0.55s ease;
}

@media (hover: hover) {
    .svc-explorer {
        cursor: none;
    }
}

/* ── Ambient radial glow overlay ── */
.svc-ambient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--svc-lens-x) var(--svc-lens-y), transparent 10%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.68) 84%);
    pointer-events: none;
    z-index: 0;
}

/* ── Magnifying glass cursor (desktop) ── */
.svc-mag {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: clamp(112px, 9vw, 152px);
    height: clamp(112px, 9vw, 152px);
    border-radius: 50%;
    border: 2.4px solid rgba(255, 255, 255, 0.96);
    background: transparent;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.24),
        0 0 24px rgba(230, 241, 255, 0.36),
        0 0 54px rgba(142, 184, 255, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.26),
        inset 0 0 18px rgba(255, 255, 255, 0.04);
    will-change: transform, opacity;
}

@media (hover: hover) {
    .svc-mag {
        display: block;
    }
}

@media (hover: none) {
    .svc-mag {
        display: none !important;
    }

    .svc-bub {
        will-change: auto;
    }
}

.svc-mag.active {
    opacity: 1;
}

.svc-mag::before {
    content: '';
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    pointer-events: none;
    background: transparent;
    border: 1px solid rgba(236, 245, 255, 0.52);
}

.svc-mag::after {
    content: '';
    position: absolute;
    width: clamp(12px, 0.85vw, 15px);
    height: clamp(92px, 7.6vw, 128px);
    left: 7%;
    right: auto;
    bottom: calc(-1 * clamp(82px, 6.5vw, 108px));
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 18%, transparent 19% 72%, rgba(255, 255, 255, 0.92) 73% 100%),
        rgba(255, 255, 255, 0.08);
    transform: rotate(32deg);
    transform-origin: top center;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72),
        0 0 18px rgba(220, 237, 255, 0.5);
}

.svc-mag.on-bubble {
    background: transparent;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.34),
        0 0 30px rgba(235, 245, 255, 0.48),
        0 0 68px rgba(181, 225, 255, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

/* ── Section header ── */
.svc-intro {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    margin: 6vw auto 1.25vw;
    text-align: center;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.svc-huge-title {
    color: #ffffff;
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-top: -6vw;
    font-family: inherit;
}

.svc-subtitle {
    max-width: 42rem;
    margin: 0.85rem auto 0;
    color: rgba(225, 236, 255, 0.68);
    font-size: clamp(0.95rem, 1.05vw, 1.18rem);
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
}

.svc-kicker {
    color: rgba(200, 220, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: clamp(0.7rem, 0.85vw, 0.9rem);
    margin-bottom: 0.8rem;
}

.svc-intro h2 {
    color: #f5f8ff;
    font-size: clamp(1.5rem, 3vw, 3.2rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.8rem;
}

/* ── Category legend ── */
.svc-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.1rem;
}

.svc-leg {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: clamp(0.65rem, 0.8vw, 0.8rem);
    color: rgba(200, 218, 255, 0.65);
    letter-spacing: 0.06em;
    cursor: default;
}

.svc-leg::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.svc-leg[data-cat="marketing"]::before {
    background: var(--cat-marketing);
}

.svc-leg[data-cat="social"]::before {
    background: var(--cat-social);
}

.svc-leg[data-cat="video"]::before {
    background: var(--cat-video);
}

.svc-leg[data-cat="web"]::before {
    background: var(--cat-web);
}

.svc-leg[data-cat="it"]::before {
    background: var(--cat-it);
}

.svc-leg[data-cat="enterprise"]::before {
    background: var(--cat-enterprise);
}

/* ── Bubble field ── */
.svc-field {
    position: relative;
    z-index: 2;
    width: 97%;
    margin: 0 auto;
    height: 66vh;
    min-height: 660px;
    max-height: 780px;
    flex-shrink: 0;
}

/* ── Individual service bubble ── */
.svc-bub {
    position: absolute;
    left: var(--bx);
    top: var(--by);
    transform: translate(-50%, -50%);

    /* size */
    width: clamp(80px, 8vw, 112px);
    height: clamp(80px, 8vw, 112px);
    border-radius: 50%;

    /* monochrome glass look — enhanced */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: none;

    /* text */
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.6rem, 0.75vw, 0.82rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5em;
    white-space: normal;
    line-height: 1.2;
    word-break: break-word;

    /* Clear & visible by default, hover/lens enhances them further */
    opacity: 0.68;

    /* float animation */
    animation: svcFloat var(--bf, 12s) ease-in-out infinite alternate;

    cursor: pointer;
    transition: opacity 0.38s ease,
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.3s ease, color 0.3s ease,
        background 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
    user-select: none;
}

.svc-explorer.svc-has-focus .svc-bub.faded {
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(0.92);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

/* ── Focused = inside magnifier lens ── */
.svc-bub.focused {
    opacity: 1;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 1);
    border-width: 1px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1) 80%);
    transform: translate(-50%, -50%) scale(1.24);
    z-index: 10;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(160, 205, 255, 0.65),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    animation-play-state: paused;
}

/* Float keyframe */
@keyframes svcFloat {
    0% {
        margin-top: 0px;
    }

    100% {
        margin-top: -14px;
    }
}

/* ── Description panel ──────────────────────────────── */
/* Anchored inside the services section only */
.svc-desc-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(520px, 42vw);
    min-width: 320px;
    max-width: calc(100% - 2rem);
    z-index: 20;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 22px) scale(0.98);
    transition:
        opacity 0.32s ease,
        transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0.32s ease;
}

.svc-desc-panel.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) scale(1) !important;
}

.svc-desc-inner {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 2.2rem 1.45rem;
    background:
        radial-gradient(circle at 50% -40%, rgba(126, 182, 255, 0.22), rgba(126, 182, 255, 0) 58%),
        linear-gradient(180deg, rgba(8, 12, 24, 0.9) 0%, rgba(4, 7, 16, 0.88) 100%);
    border: 1px solid rgba(186, 219, 255, 0.24);
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 26px 64px rgba(0, 0, 0, 0.64),
        0 0 56px rgba(102, 162, 255, 0.16),
        inset 0 0 34px rgba(255, 255, 255, 0.06);
}

.svc-desc-inner::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    width: 62%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(205, 231, 255, 0.95), rgba(255, 255, 255, 0));
}

.svc-desc-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(180, 221, 255, 0.12), transparent 54%);
}

.svc-desc-cat {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(220, 236, 255, 0.84);
    margin-bottom: 0.62rem;
    padding: 0.32rem 1rem;
    border: 1px solid rgba(188, 220, 255, 0.34);
    background: rgba(146, 194, 255, 0.08);
    border-radius: 999px;
}

.svc-desc-cat:empty {
    display: none;
}

.svc-desc-name {
    font-size: clamp(1.18rem, 2vw, 1.85rem);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.58rem;
    letter-spacing: -0.015em;
    text-shadow: 0 4px 22px rgba(164, 209, 255, 0.34);
}

.svc-desc-text {
    font-size: clamp(0.92rem, 1vw, 1.04rem);
    line-height: 1.7;
    color: rgba(228, 240, 255, 0.88);
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(83, 122, 171, 0.34);
}

/* ================= AFFILIATE SERVICES ================= */
.affiliate-section {
    background: #fdfcf9;
    color: #111;
    padding: 6.5vw 0 7.5vw;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.affiliate-head {
    max-width: 90vw;
    margin: 0 auto 4vw;
    text-align: center;
}

.affiliate-kicker {
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
}

.affiliate-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0;
}

.affiliate-marquee-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 2.2vw;
}

.affiliate-marquee-wrap:last-child {
    margin-bottom: 0;
}

.affiliate-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: max-content;
    will-change: transform;
}

.affiliate-track.left {
    animation: scrollAffiliateLeft 55s linear infinite;
}

.affiliate-track.right {
    animation: scrollAffiliateRight 45s linear infinite;
}

.affiliate-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 2.4vw;
    padding-right: 2.4vw;
    /* gap between duplicates */
}

.a-word,
.a-pill {
    flex: 0 0 auto;
}

@keyframes scrollAffiliateLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollAffiliateRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.a-word {
    font-size: clamp(1.5rem, 2.7vw, 3.2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #171717;
}

.a-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.52em 1.05em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    font-size: clamp(0.5rem, 0.85vw, 0.85rem);
    font-weight: 400;
    color: #333;
    background: rgba(0, 0, 0, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.a-dot {
    width: 0.5em;
    height: 0.5em;
    background: #111;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .affiliate-section {
        padding: 10vw 0 12vw;
    }

    .affiliate-head {
        margin-bottom: 6vw;
        padding: 0 5vw;
    }

    .affiliate-marquee-wrap {
        width: 100vw;
        left: 50%;
        transform: none;
        margin-left: -50vw;
        margin-bottom: 3.5vw;
        overflow: hidden;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .affiliate-marquee-wrap::before,
    .affiliate-marquee-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 12vw;
        z-index: 3;
        pointer-events: none;
    }

    .affiliate-marquee-wrap::before {
        left: 0;
        background: linear-gradient(90deg, #fdfcf9 0%, rgba(253, 252, 249, 0) 100%);
    }

    .affiliate-marquee-wrap::after {
        right: 0;
        background: linear-gradient(270deg, #fdfcf9 0%, rgba(253, 252, 249, 0) 100%);
    }

    .affiliate-track {
        position: relative;
        z-index: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .affiliate-track.left {
        animation-duration: 38s;
    }

    .affiliate-track.right {
        animation-duration: 34s;
    }

    .affiliate-group {
        gap: 18px;
        padding-right: 18px;
    }

    .a-word {
        font-size: clamp(0.9rem, 4.3vw, 1.4rem);
        letter-spacing: 0;
    }

    .a-pill {
        gap: 0.55em;
        padding: 0.4em 0.75em;
        font-size: clamp(0.42rem, 1.85vw, 0.55rem);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .svc-explorer {
        padding: 8vw 4vw 22vh;
    }

    .svc-bub {
        width: clamp(72px, 10vw, 90px);
        height: clamp(72px, 10vw, 90px);
        font-size: clamp(0.55rem, 1.4vw, 0.75rem);
    }
}

@media (max-width: 768px) {
    .svc-explorer {
        padding: 12vw 3vw 26vh;
        min-height: auto;
        overflow: visible;
        touch-action: pan-y;
    }

    /* ALLOW mag on all screen sizes, let JS handle hover vs touch logic */
    .svc-bub {
        position: static;
        left: unset !important;
        top: unset !important;
        transform: none;
        opacity: 1;
        width: min(100%, 72px);
        height: auto;
        aspect-ratio: 1;
        font-size: clamp(0.42rem, 2vw, 0.62rem);
        line-height: 1.15;
        animation: none;
        justify-self: center;
        white-space: normal;
        overflow-wrap: anywhere;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Let the bub be clicked to set focus */
    .svc-bub.focused {
        opacity: 1;
        transform: scale(1.08) !important;
    }

    .svc-explorer.svc-has-focus .svc-bub.faded {
        opacity: 0.2;
        transform: scale(0.94);
    }

    .svc-desc-panel {
        position: absolute;
        bottom: auto;
        width: min(calc(100vw - 40px), 300px);
        min-width: unset;
        max-width: calc(100% - 24px);
        transform: translate(-50%, 12px) scale(0.98) !important;
        z-index: 50;
    }

    .svc-desc-panel.visible {
        transform: translate(-50%, 0) scale(1) !important;
    }

    .svc-desc-inner {
        padding: 0.9rem 1.2rem 1rem;
    }

    .svc-desc-name {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }

    .svc-field {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: center;
        align-items: center;
        gap: 14px 8px;
        padding: 18px 8px 28px;
        position: static;
        width: min(100%, 360px);
        height: auto;
        min-height: unset;
        max-height: unset;
    }

    .svc-bub:nth-child(n) {
        margin: 0;
    }
}

/* ── Mind Section (old CSS kept for any residual references) ── */
#mind-page-3 {
    --mind-word-opacity: 0.78;
    --mind-word-blur: 0.45px;
    --mind-filler-opacity: 0.68;
    --mind-bubble-border: rgba(182, 208, 252, 0.24);
    --mind-bubble-bg: radial-gradient(circle at 36% 32%, rgba(198, 220, 255, 0.15), rgba(90, 116, 158, 0.08) 55%, rgba(90, 116, 158, 0.03) 100%);
    --mind-focused-glow: 0 0 24px rgba(122, 176, 255, 0.56), 0 0 44px rgba(122, 176, 255, 0.26);
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 6vw 4vw 9vw;
    background: radial-gradient(circle at 15% 18%, rgba(40, 67, 112, 0.26), transparent 36%),
        radial-gradient(circle at 84% 74%, rgba(51, 85, 140, 0.2), transparent 40%),
        linear-gradient(150deg, #040507 0%, #070912 58%, #040506 100%);
    overflow: hidden;
    isolation: isolate;
}

#mind-page-3.mind-preset-subtle {
    --mind-word-opacity: 0.62;
    --mind-word-blur: 0.9px;
    --mind-filler-opacity: 0.52;
    --mind-bubble-border: rgba(170, 198, 244, 0.18);
    --mind-bubble-bg: radial-gradient(circle at 36% 32%, rgba(180, 210, 255, 0.11), rgba(90, 116, 158, 0.05) 55%, rgba(90, 116, 158, 0.02) 100%);
    --mind-focused-glow: 0 0 18px rgba(122, 176, 255, 0.42), 0 0 34px rgba(122, 176, 255, 0.18);
}

#mind-page-3.mind-preset-balanced {
    --mind-word-opacity: 0.78;
    --mind-word-blur: 0.45px;
    --mind-filler-opacity: 0.68;
    --mind-bubble-border: rgba(182, 208, 252, 0.24);
    --mind-bubble-bg: radial-gradient(circle at 36% 32%, rgba(198, 220, 255, 0.15), rgba(90, 116, 158, 0.08) 55%, rgba(90, 116, 158, 0.03) 100%);
    --mind-focused-glow: 0 0 24px rgba(122, 176, 255, 0.56), 0 0 44px rgba(122, 176, 255, 0.26);
}

#mind-page-3.mind-preset-contrast {
    --mind-word-opacity: 0.9;
    --mind-word-blur: 0px;
    --mind-filler-opacity: 0.8;
    --mind-bubble-border: rgba(198, 224, 255, 0.34);
    --mind-bubble-bg: radial-gradient(circle at 36% 32%, rgba(212, 231, 255, 0.2), rgba(99, 130, 178, 0.11) 55%, rgba(90, 116, 158, 0.04) 100%);
    --mind-focused-glow: 0 0 30px rgba(152, 201, 255, 0.7), 0 0 56px rgba(132, 188, 255, 0.38);
}

.mind-ambient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, transparent 14%, rgba(0, 0, 0, 0.58) 80%);
    pointer-events: none;
    z-index: 0;
}

.mind-intro {
    position: relative;
    z-index: 2;
    max-width: 64ch;
    margin: 0 auto;
    text-align: center;
}

.mind-kicker {
    color: rgba(211, 225, 252, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: clamp(0.74rem, 0.86vw, 0.92rem);
    margin-bottom: 0.9rem;
}

.mind-intro h2 {
    color: #f5f8ff;
    font-size: clamp(1.35rem, 2.4vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.24;
}

.mind-word-cloud {
    position: relative;
    z-index: 2;
    width: min(1320px, 100%);
    height: min(70vh, 840px);
    margin: 3.8vw auto 0;
}

.mind-word {
    position: absolute;
    left: var(--x);
    top: var(--y);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    min-width: 5.5ch;
    padding: 0;
    color: rgba(220, 232, 252, 0.85);
    font-size: clamp(0.66rem, 0.88vw, 0.95rem);
    font-weight: 500;
    opacity: var(--mind-word-opacity);
    filter: blur(var(--mind-word-blur));
    text-shadow: 0 0 0 transparent;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    animation: mindFloat var(--float, 12s) ease-in-out infinite alternate;
    transition: filter 0.3s ease, opacity 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mind-word::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--bubble-size, clamp(66px, 6.1vw, 94px));
    height: var(--bubble-size, clamp(66px, 6.1vw, 94px));
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.3px solid var(--mind-bubble-border);
    background: var(--mind-bubble-bg);
    box-shadow: inset 0 0 16px rgba(108, 143, 205, 0.09);
    z-index: -1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.mind-word.filler {
    color: rgba(194, 210, 238, 0.72);
    opacity: var(--mind-filler-opacity);
}

.mind-word.focused {
    filter: blur(0);
    opacity: 1;
    color: #f9fcff;
    transform: translate(-50%, -50%) scale(1.08);
    animation-play-state: paused;
    box-shadow: var(--mind-focused-glow);
    text-shadow: 0 0 14px rgba(180, 220, 255, 0.66);
}

.mind-word.focused::before {
    border-color: rgba(201, 227, 255, 0.95);
    background: radial-gradient(circle at 36% 32%, rgba(233, 244, 255, 0.36), rgba(134, 174, 236, 0.28) 55%, rgba(92, 132, 194, 0.12) 100%);
    box-shadow: inset 0 0 24px rgba(218, 237, 255, 0.36), 0 0 24px rgba(122, 176, 255, 0.52), 0 0 44px rgba(122, 176, 255, 0.24);
    transform: translate(-50%, -50%) scale(1.05);
}

.mind-lens {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(115px, 13.8vw, 186px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid rgba(226, 240, 255, 0.88);
    background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.24), rgba(122, 152, 208, 0.12) 58%, rgba(26, 36, 58, 0.08) 100%);
    backdrop-filter: blur(8px) brightness(1.18);
    -webkit-backdrop-filter: blur(8px) brightness(1.18);
    box-shadow: 0 0 30px rgba(127, 177, 255, 0.28), inset 0 0 22px rgba(232, 243, 255, 0.18);
    pointer-events: none;
    z-index: 5;
}

.mind-lens::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.mind-lens::after {
    content: "";
    position: absolute;
    width: 26%;
    height: 18%;
    left: 18%;
    top: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.mind-lens-inner {
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    border: 1px solid rgba(222, 236, 255, 0.4);
}

.mind-lens-handle {
    position: absolute;
    width: clamp(12px, 1.2vw, 16px);
    height: clamp(58px, 8.8vw, 96px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(206, 227, 255, 0.9), rgba(126, 169, 236, 0.74));
    bottom: clamp(-66px, -8.6vw, -96px);
    right: 50%;
    transform: translateX(50%);
    transform-origin: top center;
    box-shadow: 0 0 16px rgba(112, 162, 244, 0.42);
}

.mind-trail {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(36px, 4.2vw, 54px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(132, 180, 255, 0.54), rgba(132, 180, 255, 0));
    filter: blur(8px);
    pointer-events: none;
    z-index: 4;
}

.mind-sentence {
    position: absolute;
    left: 50%;
    bottom: clamp(1.4rem, 2.4vw, 2.4rem);
    transform: translateX(-50%);
    width: min(920px, 92%);
    min-height: 2lh;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(178, 208, 255, 0.26);
    background: rgba(45, 60, 88, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(243, 249, 255, 0.95);
    font-size: clamp(1rem, 1.2vw, 1.45rem);
    text-align: center;
    letter-spacing: 0.015em;
    opacity: 0;
    z-index: 6;
    box-shadow: inset 0 0 22px rgba(102, 153, 231, 0.15), 0 12px 24px rgba(0, 0, 0, 0.28);
}

@keyframes mindFloat {
    0% {
        transform: translate(-50%, -50%) translateY(-5px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(9px);
    }
}

@media (max-width: 1024px) {
    #mind-page-3 {
        min-height: 92vh;
        padding: 9vw 4.5vw 14vw;
    }

    .mind-intro h2 {
        font-size: clamp(1.2rem, 3.8vw, 2rem);
    }

    .mind-word-cloud {
        height: 62vh;
    }

    .mind-word {
        font-size: clamp(0.68rem, 1.7vw, 0.9rem);
    }
}

@media (max-width: 768px) {
    #mind-page-3 {
        min-height: 86vh;
        padding: 12vw 4vw 18vw;
    }

    .mind-kicker {
        font-size: 0.68rem;
        margin-bottom: 0.6rem;
    }

    .mind-intro h2 {
        font-size: clamp(1.05rem, 5.5vw, 1.4rem);
    }

    .mind-word-cloud {
        margin-top: 8vw;
        height: 57vh;
    }

    .mind-word {
        font-size: clamp(0.64rem, 2.7vw, 0.86rem);
    }

    .mind-word::before {
        width: clamp(52px, 15vw, 72px);
        height: clamp(52px, 15vw, 72px);
    }

    .mind-lens {
        width: clamp(84px, 25vw, 116px);
    }

    .mind-lens-handle {
        width: clamp(10px, 2.2vw, 12px);
        height: clamp(42px, 14vw, 58px);
    }

    .mind-sentence {
        bottom: 4vw;
        width: 94%;
        min-height: 2.5lh;
        font-size: clamp(0.88rem, 3.9vw, 1.02rem);
    }
}

/* Career Section New */
#career-section {
    width: 100%;
    min-height: auto;
    background-color: #faf8f3;
    padding: 6vw 6vw 6.5vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 10;
}

.career-wrapper-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 5vw;
}

.career-content-new {
    flex: 1.2;
    max-width: 60vw;
}

.career-collage-grid-new {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.8fr 1fr;
    gap: 1.2vw;
    height: clamp(430px, 52vh, 560px);
    width: 100%;
}

.collage-item {
    border-radius: 1.5vw;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1vw 3vw rgba(0, 0, 0, 0.08);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collage-item:hover img {
    transform: scale(1.08);
}

.box-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.box-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.box-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.box-4 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.cover-career {
    overflow: hidden;
}

.cover-career h1 {
    font-size: 5.5vw;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.15vw;
    color: #000;
    text-transform: capitalize;
}

.career-sub-new {
    font-size: 1.4vw;
    font-weight: 400;
    color: #333;
    margin-top: 2.2vw;
    margin-bottom: 2.8vw;
    max-width: 50vw;
    line-height: 1.4;
}

.career-btn-wrapper {
    display: inline-block;
}

.btn-primary-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    padding: 1.2vw 2.5vw;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.1vw;
    font-weight: 500;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.btn-primary-black span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8vw;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-primary-black svg {
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-primary-black::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: top 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 1;
    border-radius: 999px;
}

.btn-primary-black:hover::before {
    top: 0;
}

.btn-primary-black:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    #career-section {
        padding: 10vw 6vw 11vw;
        min-height: auto;
    }

    .career-wrapper-new {
        flex-direction: column;
        gap: 10vw;
    }

    .career-content-new {
        max-width: 100%;
    }

    .career-collage-grid-new {
        max-width: min(88vw, 420px);
        margin-top: 3vw;
        height: clamp(260px, 38vh, 340px);
        min-height: 0;
        gap: 1.8vw;
    }

    .collage-item {
        border-radius: 12px;
    }

    .cover-career h1 {
        font-size: 8.5vw;
        letter-spacing: -0.2vw;
    }

    .career-sub-new {
        font-size: 3.5vw;
        max-width: 90vw;
        margin-top: 4vw;
        margin-bottom: 6vw;
    }

    .btn-primary-black {
        padding: 3vw 6vw;
        font-size: 3.5vw;
    }

    .btn-primary-black span {
        gap: 2vw;
    }
}

@media (max-width: 480px) {
    .career-collage-grid-new {
        max-width: min(90vw, 340px);
        height: clamp(220px, 52vw, 280px);
        min-height: 0;
        gap: 2vw;
    }

    .collage-item {
        border-radius: 10px;
    }
}

/* ═══════════════════════════════════════════════
   WORK BENTO GRID  (#work-grid)
   ═══════════════════════════════════════════════ */

.work-bento-section {
    background: #e6e4e1;
    padding: clamp(56px, 6vw, 96px) clamp(18px, 4vw, 56px) clamp(44px, 5vw, 72px);
    position: relative;
}

/* ── Header row ── */
.work-bento-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-bottom: clamp(2rem, 4vw, 4rem);
    width: min(1360px, 100%);
    margin-inline: auto;
}

.work-bento-kicker {
    font-size: clamp(0.65rem, 0.8vw, 0.82rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.work-bento-title {
    font-size: clamp(2rem, 5vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #0a0a0a;
    flex: 1;
    min-width: 220px;
}

.work-bento-cta {
    font-size: clamp(0.75rem, 0.9vw, 0.9rem);
    letter-spacing: 0.06em;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    padding-bottom: 2px;
    transition: border-color 0.25s ease, opacity 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.work-bento-cta:hover {
    border-color: #0a0a0a;
    opacity: 0.7;
}

/* ── The 3-column × 4-row grid ── */
.work-bento-grid {
    display: grid;
    width: min(1360px, 100%);
    margin-inline: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(5, clamp(126px, 9.7vw, 182px));
    gap: clamp(10px, 1vw, 16px);
}

/* ── Box base ── */
.wb {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #d8d5cf;
    cursor: pointer;
}

.wb img,
.wb video {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wb img {
    object-fit: cover;
    object-position: center;
    background: #d8d5cf;
}

.wb video {
    object-fit: cover;
}

.wb-travel img {
    object-fit: cover;
    object-position: center;
}

.wb-architecture img {
    object-fit: cover;
    object-position: center;
}

.wb-product img {
    object-fit: cover;
    object-position: center 62%;
}

.wb-vid video {
    object-position: center top;
}

.wb-reel-top video {
    object-position: center center;
}

.wb-reel-side video {
    object-position: center center;
}

.wb-reel-bottom video {
    object-position: center center;
}

.wb:hover img,
.wb:hover video {
    transform: scale(1.06);
}

/* ── Label ── */
.wb-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: clamp(0.65rem, 0.78vw, 0.82rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.wb:hover .wb-label {
    opacity: 1;
    transform: translateY(0);
}

/* Video play badge */
.wb-vid .wb-label {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    opacity: 1;
    transform: translateY(0);
}

/* ── Layout placements ── */
.wb-lead-portrait {
    grid-column: 1;
    grid-row: 1 / 3;
}

.wb-reel-top {
    grid-column: 2;
    grid-row: 1 / 3;
}

.wb-hero-wide {
    grid-column: 3 / 5;
    grid-row: 1;
}

.wb-side-landscape {
    grid-column: 1;
    grid-row: 3;
}

.wb-textile-tall {
    grid-column: 2;
    grid-row: 3 / 5;
}

.wb-focus-tall {
    grid-column: 3;
    grid-row: 2 / 4;
}

.wb-jewelry-small {
    grid-column: 4;
    grid-row: 2;
}

.wb-reel-side {
    grid-column: 4;
    grid-row: 3 / 5;
}

.wb-reel-bottom {
    grid-column: 1;
    grid-row: 4 / 6;
}

.wb-sweet-square {
    grid-column: 2;
    grid-row: 5;
}

.wb-couch-landscape {
    grid-column: 3;
    grid-row: 4;
}

.wb-necklace-wide {
    grid-column: 3 / 5;
    grid-row: 5;
}

.wb-textile-tall img {
    object-position: center 38%;
}

.wb-focus-tall img {
    object-position: center 52%;
}

.wb-hero-wide img {
    object-position: center 75%;
}

.wb-couch-landscape img {
    object-position: center 80%;
}

.wb-necklace-wide img {
    object-position: center 48%;
}

/* Scroll-reveal animation applied via JS/GSAP */
.wb {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.38s ease var(--wb-delay, 0s),
        transform 0.38s ease var(--wb-delay, 0s);
}

.wb.wb-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .work-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    /* Reset all explicit placements */
    .wb {
        grid-column: auto;
        grid-row: auto;
    }

    .wb-hero-wide,
    .wb-necklace-wide {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .wb-lead-portrait,
    .wb-reel-top,
    .wb-textile-tall,
    .wb-focus-tall,
    .wb-reel-side,
    .wb-reel-bottom {
        aspect-ratio: 4 / 5;
    }

    .wb-side-landscape,
    .wb-jewelry-small,
    .wb-sweet-square,
    .wb-couch-landscape {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 540px) {
    .work-bento-section {
        padding: 12vw 4vw 10vw;
    }

    .work-bento-head {
        margin-bottom: 20px;
    }

    .work-bento-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wb,
    .wb-hero-wide,
    .wb-necklace-wide {
        grid-column: 1;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .work-bento-grid .wb {
        display: none;
    }

    .work-bento-grid .wb-lead-portrait,
    .work-bento-grid .wb-reel-top,
    .work-bento-grid .wb-hero-wide,
    .work-bento-grid .wb-side-landscape,
    .work-bento-grid .wb-reel-side {
        display: block;
    }

    .wb-lead-portrait {
        order: 1;
    }

    .wb-reel-top {
        order: 2;
    }

    .wb-hero-wide {
        order: 3;
    }

    .wb-side-landscape {
        order: 4;
    }

    .wb-reel-side {
        order: 5;
    }

    .wb-reel-top,
    .wb-reel-side {
        aspect-ratio: 4 / 5;
    }

    .work-bento-title {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION (Marquee)
   ═══════════════════════════════════════════════ */
.testimonials-section {
    background: #f5f3ef;
    /* Light theme to contrast with previous dark section */
    color: #000;
    padding: 5.5vw 4vw 6.5vw;
    position: relative;
    overflow: hidden;
    z-index: 2;
    /* To sit properly in locomotive hierarchy */
}

.testimonials-head {
    text-align: center;
    margin-bottom: 3vw;
}

.testimonials-kicker {
    font-size: clamp(0.65rem, 0.8vw, 0.82rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.7rem;
}

.testimonials-title {
    font-size: clamp(2rem, 4.6vw, 4.1rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #0a0a0a;
}

.testimonials-marquee-shell {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /* pop out of container padding */
    overflow: hidden;
    padding: 1rem 0;
    display: flex;
    /* Edge fades */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    width: max-content;
    animation: scrollTestimonials 35s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
    /* stop on hover to read */
}

.testimonials-track,
.marquee-track,
.affiliate-track {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.testimonials-group {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    /* gap between duplicate groups */
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Translate half of the total width since there are two identical groups inside the track */
}

.testimonial-card {
    width: clamp(300px, 28vw, 420px);
    min-height: clamp(300px, 34vh, 390px);
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.4rem;
    white-space: normal;
    /* allow text to wrap */
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #111111;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.t-text {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.t-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.t-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

.t-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 10vw 4vw 12vw;
    }

    .testimonials-head {
        margin-bottom: 6vw;
    }

    .testimonials-marquee-shell {
        padding: 0.5rem 0;
    }

    .testimonial-card {
        width: 80vw;
        min-height: 320px;
        padding: 1.7rem 1.4rem;
    }

    .testimonials-track {
        animation-duration: 25s;
        /* slightly faster on mobile */
    }
}


/* ═══════════════════════════════════════════════
   CAREER ANIMATED HEADLINE
   ═══════════════════════════════════════════════ */
.career-headline {
    align-items: center;
    /* Override or match inline flex center */
}

.word-slider {
    display: inline-block;
    overflow: hidden;
    height: 1.3em;
    /* Slightly taller for padding to form a pill */
    vertical-align: middle;
    background: #0a0a0a;
    /* Black background */
    border-radius: 999px;
    /* Pill shape */
    padding: 0 0.5em;
    /* Horizontal padding */
}

.word-scroller {
    display: flex;
    flex-direction: column;
    animation: scrollWords 12s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}

.t-word {
    line-height: 1.3;
    /* Exactly match container height to center vertically */
    display: block;
    white-space: nowrap;
    text-align: center;
    color: #fff;
    /* White text on black background */
    padding-bottom: 0.05em;
    /* Optical tweak for true centering */
}

/* 7 words total, so each shift is 100/7 = 14.285% */
@keyframes scrollWords {

    0%,
    12% {
        transform: translateY(0);
    }

    16.6%,
    28.6% {
        transform: translateY(-14.285%);
    }

    33.3%,
    45.3% {
        transform: translateY(-28.571%);
    }

    50%,
    62% {
        transform: translateY(-42.857%);
    }

    66.6%,
    78.6% {
        transform: translateY(-57.142%);
    }

    83.3%,
    95.3% {
        transform: translateY(-71.428%);
    }

    100% {
        transform: translateY(-85.714%);
    }
}

@media (max-width: 600px) {
    .career-headline {
        justify-content: center;
    }
}

/* Homepage mobile failsafe (restores responsive behavior after accidental undo) */
@media (max-width: 768px) {
    html,
    body,
    #main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #page-2 {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
    }

    #page-2 .cover1,
    #page-2 .moveUp1 {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    #clients-strip {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
    }

    .clients-strip-head,
    .moveUpClients {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    #main-cover {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .marquee-shell,
    .testimonials-marquee-shell,
    #clients-strip,
    #mind-page-3,
    #work-grid,
    #page-7,
    #affiliate-services,
    #page-6,
    #testimonials-section,
    #career-section,
    #page-8 {
        overflow-x: hidden;
    }

    .testimonials-marquee-shell {
        width: 100%;
        left: 0;
        transform: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .team-row {
        white-space: normal;
        word-break: break-word;
    }

    #page-6.team-section,
    .team-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
        padding: 12vw 5vw 14vw;
    }

    .team-head {
        display: block;
        margin-bottom: 5vw;
    }

    .team-head h2 {
        margin-bottom: 3vw;
        line-height: 1.05;
    }

    .team-head p {
        max-width: 100%;
        margin-bottom: 0;
        line-height: 1.55;
    }

    .moveUpTeam {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .team-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .team-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 5vw 0;
    }

    .team-row .role,
    .team-row .name {
        width: 100%;
        text-align: left;
    }

    .team-row.active,
    .team-row:focus-visible,
    .team-row:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #f4f4ef;
        box-shadow: none;
    }

    .team-row.active .name,
    .team-row:hover .name,
    .team-row:focus-visible .name,
    .team-row.active .role,
    .team-row:hover .role,
    .team-row:focus-visible .role {
        color: #f4f4ef;
    }

    .team-mobile-photo {
        display: block;
        width: min(42vw, 148px);
        aspect-ratio: 3 / 4;
        margin-top: 4vw;
        overflow: hidden;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.06);
    }

    .team-mobile-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }

    .team-photo-overlay {
        display: none;
    }

    #career-section {
        height: auto !important;
        min-height: auto !important;
        padding: 10vw 5vw;
        align-items: flex-start;
        overflow: visible;
    }

    .career-wrapper-new {
        flex-direction: column;
        align-items: stretch;
        gap: 5vw;
    }

    .career-content-new {
        max-width: 100%;
        width: 100%;
    }

    .moveUpCareer {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .career-collage-grid-new {
        width: min(76vw, 280px);
        max-width: 100%;
        height: clamp(170px, 54vw, 230px);
        min-height: 0 !important;
        margin: 2vw auto 0;
        gap: 8px;
    }

    .collage-item {
        border-radius: 10px;
    }

    #page-8 {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
        padding: 12vw 5vw 10vw;
    }

    #p8head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8vw;
        width: 100%;
        padding: 0 0 8vw;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    #p8head #left,
    #p8head #right,
    #main-cover-bot,
    #main-cover-bot h1,
    #main-cover-bot h1 span {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    #main-cover-bot {
        height: auto !important;
        min-height: 0 !important;
        width: 100%;
        margin-left: 0;
        padding: 0;
        overflow: visible;
    }

    .footer-copyright {
        margin-top: 8vw;
        padding: 5vw 0 2vw;
    }
}

@media (max-width: 480px) {
    #page-2 {
        padding-top: 11vw !important;
        padding-bottom: 11vw !important;
    }

    #right {
        gap: 7vw;
    }

    #main-cover-bot h1 {
        font-size: 22vw;
        line-height: 24vw;
    }
}

/* Footer brand alignment fix */
#main-cover-bot {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    padding: clamp(12px, 1.8vw, 30px) 2vw clamp(8px, 1.4vw, 24px) !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#main-cover-bot h1 {
    width: 100%;
    font-size: clamp(96px, 28vw, 560px) !important;
    line-height: 1.04 !important;
    margin: 0 !important;
    padding-bottom: 0.08em;
    text-align: center !important;
    white-space: nowrap;
}

#main-cover-bot h1 span {
    display: inline-block;
}

/* Mobile-only services magnifier: compact auto-roaming six-bubble view */
@media (max-width: 768px) {
    #mind-page-3.svc-explorer {
        --svc-lens-x: 50%;
        --svc-lens-y: 54%;
        min-height: clamp(470px, 126vw, 585px) !important;
        height: clamp(470px, 126vw, 585px);
        padding: 12vw 5vw 9vw !important;
        overflow: hidden !important;
        background:
            radial-gradient(circle at var(--svc-lens-x) var(--svc-lens-y), rgba(198, 221, 255, 0.28), rgba(81, 114, 170, 0.08) 18%, transparent 38%),
            radial-gradient(circle at calc(100% - var(--svc-lens-x)) calc(100% - var(--svc-lens-y)), rgba(59, 88, 137, 0.2), transparent 42%),
            linear-gradient(150deg, #030507 0%, #07101c 58%, #030405 100%);
        transition: background-position 0.45s ease;
    }

    #mind-page-3.svc-explorer::before {
        content: '';
        position: absolute;
        inset: -18% -20%;
        z-index: 0;
        pointer-events: none;
        opacity: 0.74;
        background:
            radial-gradient(circle at 16% 16%, transparent 0 28px, rgba(235, 245, 255, 0.11) 29px 31px, transparent 32px),
            radial-gradient(circle at 70% 28%, transparent 0 34px, rgba(235, 245, 255, 0.1) 35px 37px, transparent 38px),
            radial-gradient(circle at 42% 74%, transparent 0 44px, rgba(235, 245, 255, 0.09) 45px 47px, transparent 48px),
            radial-gradient(circle at 82% 76%, transparent 0 25px, rgba(235, 245, 255, 0.1) 26px 28px, transparent 29px);
        background-size: 178px 178px, 214px 214px, 236px 236px, 154px 154px;
        transform: translate3d(calc(50% - var(--svc-lens-x)), calc(50% - var(--svc-lens-y)), 0);
        transition: transform 0.55s ease;
    }

    #mind-page-3 .svc-ambient {
        background: radial-gradient(circle at var(--svc-lens-x) var(--svc-lens-y), transparent 10%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0.72) 86%);
    }

    #mind-page-3 .svc-intro {
        margin: 0 auto 4vw;
        max-width: 100%;
    }

    #mind-page-3 .svc-huge-title {
        margin: 0;
        font-size: clamp(2.55rem, 13vw, 3.9rem);
        line-height: 0.95;
        letter-spacing: 0;
        text-align: left;
    }

    #mind-page-3 .svc-subtitle {
        max-width: 18rem;
        margin-top: 8px;
        font-size: clamp(0.68rem, 2.7vw, 0.84rem);
        line-height: 1.45;
        text-align: center;
    }

    #mind-page-3 .svc-field {
        position: relative !important;
        display: block !important;
        width: min(86vw, 330px) !important;
        height: clamp(310px, 82vw, 385px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 1vw auto 0 !important;
        padding: 0 !important;
        z-index: 2;
    }

    #mind-page-3 .svc-bub {
        position: absolute !important;
        display: flex;
        width: clamp(62px, 18vw, 76px) !important;
        height: clamp(62px, 18vw, 76px) !important;
        aspect-ratio: 1;
        transform: translate(-50%, -50%);
        border: 1.2px solid rgba(226, 238, 255, 0.36);
        background:
            radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018) 62%, rgba(255, 255, 255, 0) 100%);
        box-shadow:
            0 0 16px rgba(170, 205, 255, 0.08),
            inset 0 0 20px rgba(200, 224, 255, 0.06);
        color: rgba(235, 244, 255, 0.34);
        font-size: clamp(0.48rem, 2.35vw, 0.62rem);
        line-height: 1.05;
        letter-spacing: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        animation: none;
        opacity: 0.68;
        filter: blur(0.95px);
    }

    #mind-page-3 .svc-bub:not(.svc-mobile-bub) {
        display: none !important;
    }

    #mind-page-3 .svc-mobile-bub {
        left: var(--mbx, 50%) !important;
        top: var(--mby, 50%) !important;
    }

    #mind-page-3.svc-has-focus .svc-bub.faded {
        opacity: 0.44;
        border-color: rgba(226, 238, 255, 0.28);
        filter: blur(1.7px);
        transform: translate(-50%, -50%) scale(0.94);
    }

    #mind-page-3 .svc-bub.focused {
        opacity: 1;
        filter: blur(0);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.92);
        background:
            radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 66%, rgba(255, 255, 255, 0.02) 100%);
        transform: translate(-50%, -50%) scale(1.08) !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(185, 220, 255, 0.8);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.34),
            0 0 34px rgba(202, 228, 255, 0.44),
            inset 0 0 24px rgba(255, 255, 255, 0.16);
    }

    #mind-page-3 .svc-desc-panel {
        display: none !important;
    }

    .svc-mag {
        display: block !important;
        width: clamp(98px, 30vw, 124px);
        height: clamp(98px, 30vw, 124px);
        border: 2.2px solid rgba(255, 255, 255, 0.96);
        background: transparent;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.22),
            0 0 22px rgba(230, 241, 255, 0.36),
            0 0 46px rgba(142, 184, 255, 0.16),
            inset 0 0 0 1px rgba(255, 255, 255, 0.28),
            inset 0 0 18px rgba(255, 255, 255, 0.04);
        transition: opacity 0.22s ease;
    }

    .svc-mag::before {
        content: '';
        position: absolute;
        inset: 11%;
        border-radius: 50%;
        pointer-events: none;
        background: transparent;
        border: 1px solid rgba(236, 245, 255, 0.5);
        box-shadow: none;
        opacity: 1;
    }

    .svc-mag::after {
        width: clamp(12px, 3.3vw, 15px);
        height: clamp(92px, 30vw, 124px);
        left: 7%;
        right: auto;
        bottom: calc(-1 * clamp(82px, 26vw, 108px));
        transform: rotate(32deg);
        transform-origin: top center;
        border-radius: 999px;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 18%, transparent 19% 72%, rgba(255, 255, 255, 0.92) 73% 100%),
            rgba(255, 255, 255, 0.08);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.72),
            0 0 18px rgba(220, 237, 255, 0.5);
    }
}

/* Homepage section header system: excludes hero, team, and career sections */
#clients-strip .clients-strip-head,
#mind-page-3 .svc-intro,
#work-grid .work-bento-head,
#affiliate-services .affiliate-head,
#testimonials-section .testimonials-head {
    width: min(100%, 1120px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#clients-strip .clients-strip-head {
    display: flex;
    flex-direction: column;
}

#work-grid .work-bento-head {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#clients-strip .clients-strip-head h1,
#mind-page-3 .svc-huge-title,
#work-grid .work-bento-title,
#affiliate-services .affiliate-title,
#testimonials-section .testimonials-title {
    font-family: inherit;
    font-size: clamp(2.15rem, 4vw, 4.15rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    white-space: nowrap;
}

#mind-page-3 .svc-huge-title {
    color: #fff;
    margin-top: 0;
}

#affiliate-services .affiliate-kicker,
#work-grid .work-bento-kicker,
#testimonials-section .testimonials-kicker {
    font-size: clamp(0.72rem, 0.86vw, 0.95rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
}

#clients-strip .clients-strip-head p {
    max-width: 42rem;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: rgba(11, 11, 11, 0.58);
}

#work-grid .work-bento-title {
    flex: initial;
    min-width: 0;
}

#work-grid .work-bento-cta {
    align-self: center;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    #clients-strip .clients-strip-head,
    #mind-page-3 .svc-intro,
    #work-grid .work-bento-head,
    #affiliate-services .affiliate-head,
    #testimonials-section .testimonials-head {
        max-width: min(92vw, 620px);
        margin-bottom: clamp(1.8rem, 7vw, 3.4rem);
    }

    #clients-strip .clients-strip-head h1,
    #mind-page-3 .svc-huge-title,
    #work-grid .work-bento-title,
    #affiliate-services .affiliate-title,
    #testimonials-section .testimonials-title {
        font-size: clamp(1.35rem, 5.7vw, 2.35rem);
        line-height: 1.04;
        text-align: center;
        max-width: 100%;
        white-space: nowrap;
    }

    #affiliate-services .affiliate-kicker,
    #work-grid .work-bento-kicker,
    #testimonials-section .testimonials-kicker {
        font-size: clamp(0.68rem, 2.45vw, 0.82rem);
        letter-spacing: 0.16em;
    }

    #clients-strip .clients-strip-head p {
        font-size: clamp(0.98rem, 4vw, 1.12rem);
        max-width: 22rem;
    }
}

/* Tighten the clients-to-services transition */
#clients-strip {
    padding-bottom: clamp(28px, 3vw, 46px);
}

#mind-page-3.svc-explorer {
    padding-top: clamp(30px, 3.2vw, 52px);
}

#mind-page-3 .svc-intro {
    margin-top: 0;
}

@media (max-width: 768px) {
    #clients-strip {
        padding-bottom: clamp(22px, 6vw, 34px);
    }

    #mind-page-3.svc-explorer {
        padding-top: clamp(24px, 7vw, 40px) !important;
    }

    #mind-page-3 .svc-intro {
        margin-top: 0;
    }
}

/* Clients marquee sizing */
#clients-strip {
    padding-top: clamp(44px, 4.6vw, 74px);
    padding-bottom: clamp(30px, 3.2vw, 48px);
}

#clients-strip .clients-strip-head {
    margin-bottom: clamp(24px, 3vw, 42px);
}

#clients-strip .clients-only-shell {
    width: min(100%, 1720px);
    margin-inline: auto;
    gap: 0 !important;
    overflow: hidden;
}

#clients-strip .marquee-block {
    min-height: 0;
    height: clamp(128px, 11vw, 176px);
    padding: clamp(14px, 1.3vw, 22px) 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
}

#clients-strip .marquee-track {
    padding: 0;
    gap: clamp(14px, 1.2vw, 22px);
}

#clients-strip .marquee-group {
    gap: clamp(14px, 1.2vw, 22px);
}

#clients-strip .marquee-item {
    width: clamp(190px, 14.8vw, 280px);
    min-width: clamp(190px, 14.8vw, 280px);
    height: clamp(86px, 7.2vw, 118px);
    min-height: 0;
    padding: clamp(14px, 1.15vw, 22px);
    border-radius: 22px;
}

#clients-strip .marquee-item img {
    max-width: min(74%, 150px);
    max-height: clamp(42px, 3.7vw, 64px);
}

@media (max-width: 768px) {
    #clients-strip {
        padding-top: clamp(34px, 9vw, 48px);
        padding-bottom: clamp(22px, 6vw, 34px);
    }

    #clients-strip .clients-strip-head {
        margin-bottom: clamp(18px, 5vw, 26px);
    }

    #clients-strip .clients-only-shell {
        width: calc(100vw - 32px);
    }

    #clients-strip .marquee-block {
        height: clamp(100px, 31vw, 138px);
        padding: 12px 0;
        border-radius: 22px;
    }

    #clients-strip .marquee-track,
    #clients-strip .marquee-group {
        gap: 10px;
    }

    #clients-strip .marquee-item {
        width: clamp(118px, 32vw, 150px);
        min-width: clamp(118px, 32vw, 150px);
        height: clamp(62px, 17vw, 78px);
        padding: 12px 16px;
        border-radius: 18px;
    }

    #clients-strip .marquee-item img {
        max-width: 84px;
        max-height: 34px;
    }
}

/* Mobile polish for partners and team section headers */
@media (max-width: 768px) {
    #page-7.partners-section {
        padding: clamp(34px, 9vw, 48px) 6vw clamp(34px, 9vw, 48px);
    }

    #page-7 .partners-head {
        align-items: center;
        text-align: center;
        margin: 0 auto clamp(22px, 6vw, 34px);
        max-width: min(92vw, 30rem);
        gap: 10px;
    }

    #page-7 .partners-head .cover3 {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #page-7 .partners-head h1,
    #page-7 .partners-head h2 {
        font-size: clamp(1.45rem, 6.4vw, 2rem);
        line-height: 1.08;
        letter-spacing: 0;
        text-align: center;
        margin: 0 auto;
    }

    #page-7 .partners-head p,
    #page-7 .partners-head .lede {
        max-width: min(88vw, 28rem);
        font-size: clamp(0.7rem, 2.7vw, 0.88rem);
        line-height: 1.45;
        text-align: center;
        margin: 0 auto;
    }

    #page-6.team-section,
    .team-section {
        padding: clamp(34px, 9vw, 50px) 6vw clamp(42px, 10vw, 58px) !important;
    }

    .team-head {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 10px;
        margin: 0 auto clamp(20px, 5vw, 30px) !important;
        max-width: min(92vw, 30rem);
    }

    .team-head h2 {
        width: 100%;
        font-size: clamp(1.45rem, 6.4vw, 2rem) !important;
        line-height: 1.08;
        letter-spacing: 0;
        text-align: center !important;
        margin: 0;
    }

    .team-head p {
        max-width: min(88vw, 28rem) !important;
        width: 100%;
        font-size: clamp(0.68rem, 2.65vw, 0.86rem) !important;
        line-height: 1.45;
        text-align: center !important;
        margin: 0 auto !important;
    }
}
