:root {
    --primary: #D82CEB;
    --primary-deep: #7c1ecf;
    --accent: #FFD166;
    --accent-2: #2CE6D8;
    --bg: #ffffff;
    --bg-soft: #fdf3ff;
    --bg-dark: #0c0612;
    --text: #171019;
    --text-muted: #6b6270;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.62);
    --line: rgba(23, 16, 25, 0.1);
    --line-dark: rgba(255, 255, 255, 0.12);
    --font-heading: 'Candal', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

img,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

a {
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--primary);
}

.eyebrow.on-dark {
    color: var(--accent-2);
}

.eyebrow.on-dark::before {
    background: var(--accent-2);
}

.section {
    padding: clamp(4rem, 9vw, 8rem) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 0.98;
    font-size: clamp(2.2rem, 6.5vw, 4.2rem);
    margin: 1rem 0 1.25rem;
    text-transform: uppercase;
    text-wrap: balance;
}

.section-title .stroke {
    -webkit-text-stroke: 1.5px var(--primary);
    color: transparent;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 48rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    box-shadow: 0 15px 35px rgba(216, 44, 235, 0.3);
}

.btn-primary:hover {
    background: var(--text);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    border: 2px solid var(--line);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.btn-outline.on-dark {
    color: #fff;
    border-color: var(--line-dark);
}

.btn-outline.on-dark:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    box-shadow: 0 10px 24px rgba(216, 44, 235, 0.28);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.6rem;
    z-index: 2100;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: #171019;
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active span {
    background: #fff;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay ul {
    list-style: none;
    text-align: center;
}

.nav-overlay a {
    display: block;
    font-family: var(--font-heading);
    text-decoration: none;
    color: #fff;
    font-size: clamp(1.4rem, 6vw, 4rem);
    white-space: nowrap;
    text-transform: uppercase;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.menu-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
    cursor: pointer;
}

.menu-close:hover {
    color: var(--primary);
}

.nav-overlay a:hover {
    color: var(--primary);
    letter-spacing: 0.05em;
}

/* Video Hero (Responsive) */
.scrollhero {
    position: relative;
    width: 100%;
    background: #fff;
    padding-top: 80px; /* space for fixed navbar */
}

.scrollhero video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.scrollhero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scrollhero-content .eyebrow {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.scrollhero-content h1 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
    text-wrap: balance;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.scrollhero-content h1 .hl {
    color: var(--primary);
}

.h1-kicker,
.h1-sub {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    text-wrap: balance;
    color: var(--text-muted);
}

.h1-kicker {
    margin-bottom: 1.2rem;
}

.h1-sub {
    margin-top: 1.5rem;
}

.scrollhero-content p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    text-wrap: balance;
}

.scrollhero-content .hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

/* Manifesto */
.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

@media (min-width: 960px) {
    .manifesto-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: center;
    }
}

.manifesto-quote {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.08;
    text-wrap: balance;
}

.manifesto-quote .hl {
    color: var(--primary);
}

.manifesto-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-left: 1px solid var(--line);
    padding-left: 2rem;
}

.manifesto-stats .num {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    color: var(--primary);
    display: block;
}

.manifesto-stats .lbl {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Clients marquee wall — dark contrast band */
#clients {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--bg-dark);
    color: #fff;
}

#clients .section-title {
    color: #fff;
}

.clients-row {
    overflow: hidden;
    white-space: nowrap;
    margin: 1.5rem 0;
}

.clients-track {
    display: inline-flex;
    align-items: center;
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

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

.clients-row.reverse .clients-track {
    animation-direction: reverse;
}

.clients-track .item {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0 2.2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    color: transparent;
    -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.32);
}

.clients-track .item:hover {
    color: var(--primary);
    -webkit-text-stroke: 1.3px var(--primary);
}

.clients-track .item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    -webkit-text-stroke: 0;
}

/* Projects horizontal rail */
.rail-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.rail-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.projects-rail {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.projects-rail::-webkit-scrollbar {
    height: 6px;
}

.projects-rail::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.project-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: min(78vw, 340px);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(216, 44, 235, 0.16);
}

.project-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(23, 16, 25, 0.08);
    position: absolute;
    top: 0.5rem;
    right: 1.25rem;
    line-height: 1;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--primary);
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Team */
.team-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .team-rail {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .team-rail {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-tile {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.team-tile:hover {
    transform: translateY(-8px) rotate(-1deg);
    border-color: var(--primary);
    box-shadow: 0 25px 55px rgba(216, 44, 235, 0.16);
}

.team-avatar {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.ta-1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.ta-2 {
    background: linear-gradient(135deg, var(--accent-2), #17a3ba);
}

.ta-3 {
    background: linear-gradient(135deg, var(--accent), #f2933e);
}

.ta-you {
    background: transparent;
    border: 2px dashed var(--primary);
    color: var(--primary);
}

.team-tile h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.team-tile p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Fun values band */
#fun {
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.fun-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 900px) {
    .fun-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.fun-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 30rem;
}

.fun-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fun-value-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fun-value-row .fv-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    width: 130px;
    flex-shrink: 0;
}

.fun-value-row .fv-bar {
    flex: 1;
    height: 10px;
    border-radius: 100px;
    background: var(--line);
    overflow: hidden;
}

.fun-value-row .fv-fill {
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: var(--primary);
    transition: width 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.fun-value-row.in-view .fv-fill {
    width: var(--pct);
}

.fun-value-row .fv-pct {
    font-family: var(--font-heading);
    color: var(--primary);
    width: 46px;
    text-align: right;
    flex-shrink: 0;
}

/* Footer — dark chapter close */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: clamp(5rem, 10vw, 9rem) 0 2.5rem;
    text-align: center;
    position: relative;
}

.footer-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(2.6rem, 9vw, 6rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
}

.footer-title .hl {
    color: var(--primary);
}

.footer-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.footer-contact a {
    text-decoration: none;
    color: var(--text-on-dark-muted);
    font-weight: 600;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-2);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.footer-social a {
    text-decoration: none;
    color: var(--text-on-dark-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .clients-track {
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

.btn-violet {
    background: var(--primary);
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    box-shadow: 0 15px 35px rgba(216, 44, 235, 0.3);
    border: 2px solid var(--primary);
}
.btn-violet:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.stats-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.stats-grid-2col .stats-text {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.stats-grid-2col .manifesto-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
    border: none;
    padding: 0;
}
.offer-section-new {
    background: #222 !important; 
    color: #fff;
}
.offer-section-new .section-title .stroke {
    -webkit-text-stroke: 1.5px var(--primary) !important;
}
.offer-section-new h3 {
    color: var(--primary) !important;
}

