/* ============================================================
   VERIXON — MAIN STYLESHEET
   Forest & Fog Color System v1.0
   ============================================================ */

:root {
    --deep-forest:  #1C2B2B;
    --dark-teal:    #2C4040;
    --muted-teal:   #3D5A5A;
    --mint-teal:    #2DD4A4;
    --light-mint:   #78E8C8;
    --pale-mint:    #E0F5EF;
    --off-white:    #F8FFFE;
    --white:        #FFFFFF;
    --cta-text:     #0a4a38;
    --cta-body:     #0f6e56;

    --font-display: 'Plus Jakarta Sans', 'Sora', system-ui, sans-serif;
    --font-body:    'Inter', 'DM Sans', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    --container-max: 1200px;
    --container-pad: clamp(16px, 4vw, 48px);

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-pill: 99px;

    --ease: 0.2s ease;
    --ease-slow: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--deep-forest);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.022em;
}
.display-xl { font-size: clamp(40px, 7vw, 80px); }
.display-lg { font-size: clamp(32px, 5vw, 56px); }
.accent-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--mint-teal);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.section    { padding: 80px 0; }
.section-lg { padding: 120px 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    padding: 11px 26px;
    border: none;
    transition: all var(--ease);
    white-space: nowrap;
    line-height: 1;
}
.btn-primary {
    background: var(--mint-teal);
    color: var(--cta-text);
}
.btn-primary:hover {
    background: #26c094;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(45, 212, 164, 0.32);
}
.btn-outline {
    background: transparent;
    color: var(--deep-forest);
    border: 1px solid rgba(45, 212, 164, 0.6);
}
.btn-outline:hover { background: var(--pale-mint); }

.btn-outline-light {
    background: transparent;
    color: var(--mint-teal);
    border: 1px solid rgba(45, 212, 164, 0.5);
}
.btn-outline-light:hover { background: rgba(45, 212, 164, 0.1); }

/* ── Navigation ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 22px 0;
    transition: background var(--ease-slow), padding var(--ease), box-shadow var(--ease-slow);
}
.site-header.scrolled {
    background: rgba(248, 255, 254, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(28, 43, 43, 0.07);
    padding: 14px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--off-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--ease);
}
.site-logo span { color: var(--mint-teal); }
.site-logo-icon { border-radius: 4px; flex-shrink: 0; }
.site-header.scrolled .site-logo { color: var(--deep-forest); }

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(248,255,254,0.75);
    transition: color var(--ease);
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--mint-teal);
    transition: width var(--ease);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--off-white); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }
.site-header.scrolled .nav-menu a { color: var(--muted-teal); }
.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu .current-menu-item > a { color: var(--deep-forest); }

.nav-cta,
.nav-cta:hover {
    background: var(--mint-teal) !important;
    color: var(--cta-text) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-md);
    transition: opacity var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { opacity: 0.85 !important; transform: none !important; }

.nav-desktop { display: flex; align-items: center; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--off-white);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease), background var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--deep-forest); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mega menu overlay (mobile / tablet ≤1024px) ────────── */
.mega-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--deep-forest);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mega-overlay.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}
@media (min-width: 1025px) {
    .mega-overlay,
    .mega-backdrop { display: none !important; }
}

.mega-inner {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-pad) 48px;
}

.mega-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mega-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--off-white);
}
.mega-logo span { color: var(--mint-teal); }
.mega-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.07);
    color: var(--off-white);
    border-radius: var(--radius-sm);
    transition: background var(--ease), color var(--ease);
}
.mega-close:hover { background: rgba(255, 255, 255, 0.13); color: var(--mint-teal); }

.mega-nav {
    flex: 1;
    padding: 36px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.mega-primary {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.mega-primary li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(26px, 5.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--off-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--ease);
}
.mega-primary li a::after {
    content: '→';
    font-size: 0.65em;
    color: var(--mint-teal);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--ease), transform var(--ease);
}
.mega-primary li a:hover { color: var(--mint-teal); }
.mega-primary li a:hover::after { opacity: 1; transform: none; }

.mega-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mint-teal);
    margin-bottom: 14px;
}

.mega-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
@media (min-width: 560px) and (max-width: 1024px) {
    .mega-services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .mega-services li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.mega-services li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    transition: background var(--ease);
}
.mega-services li a:hover { background: rgba(45, 212, 164, 0.1); }
.msvc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: rgba(45, 212, 164, 0.12);
    color: var(--mint-teal);
    flex-shrink: 0;
}
.msvc-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.msvc-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--off-white);
    line-height: 1.3;
}
.msvc-text small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.3;
}

.mega-bottom {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}
.mega-cta {
    display: block;
    background: var(--mint-teal);
    color: var(--cta-text);
    text-align: center;
    padding: 15px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    transition: opacity var(--ease);
}
.mega-cta:hover { opacity: 0.88; }
.mega-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.mega-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    transition: background var(--ease), color var(--ease);
}
.mega-socials a:hover { background: rgba(45, 212, 164, 0.15); color: var(--mint-teal); }

.mega-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(28, 43, 43, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.mega-backdrop.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--deep-forest);
    position: relative;
    overflow: hidden;
}

#hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(45,212,164,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(45,212,164,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--mint-teal);
    flex-shrink: 0;
}
.hero-headline {
    font-size: clamp(44px, 7.5vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--off-white);
    margin-bottom: 24px;
}
.hero-headline .highlight { color: var(--mint-teal); }
.hero-subtext {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
    color: var(--light-mint);
    opacity: 0.8;
    max-width: 580px;
    margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline {
    color: var(--mint-teal);
    border-color: rgba(45,212,164,0.45);
}
.hero .btn-outline:hover {
    background: rgba(45,212,164,0.1);
    color: var(--off-white);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--light-mint);
    opacity: 0.4;
    z-index: 2;
    animation: heroScroll 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Services ────────────────────────────────────────────── */
.services {
    background: var(--deep-forest);
    padding: 100px 0;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-label { display: inline-block; margin-bottom: 14px; }
.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
}
.services .section-title { color: var(--off-white); }
.services .section-body {
    font-size: 17px;
    color: var(--light-mint);
    max-width: 500px;
    margin-top: 14px;
    line-height: 1.65;
    opacity: 0.8;
}
/* ── Expertise / CardSwap ─────────────────────────────────── */
.expertise-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.swap-nav {
    list-style: none;
    margin-top: 44px;
}

.swap-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    cursor: pointer;
    transition: opacity var(--ease);
    opacity: 0.45;
}

.swap-nav-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.swap-nav-item.is-active   { opacity: 1; }

.swap-nav-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mint-teal);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 20px;
}

.swap-nav-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--light-mint);
}

.swap-nav-item.is-active .swap-nav-label { color: var(--off-white); }

.swap-nav-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 0;
    background: var(--mint-teal);
}

.expertise-right { padding-bottom: 52px; }

.card-swap-stack {
    position: relative;
    height: 400px;
}

.swap-card {
    position: absolute;
    inset: 0;
    background: var(--dark-teal);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(45, 212, 164, 0.06);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s ease,
                box-shadow 0.5s ease;
    will-change: transform, opacity;
    transform: translateY(52px) scale(0.86);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.swap-card[data-pos="2"] {
    transform: translateY(36px) scale(0.92);
    opacity: 0.5;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
}

.swap-card[data-pos="1"] {
    transform: translateY(18px) scale(0.96);
    opacity: 0.8;
    z-index: 4;
    pointer-events: auto;
    cursor: pointer;
}

.swap-card[data-pos="0"] {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(45,212,164,0.1);
}

.swap-card.is-exiting {
    transform: translateY(-70px) scale(0.94) !important;
    opacity: 0 !important;
    z-index: 6 !important;
    pointer-events: none !important;
    transition: transform 0.38s cubic-bezier(0.55, 0, 1, 0.45) !important,
                opacity 0.3s ease !important,
                box-shadow 0s !important;
}

.swap-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.swap-card-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--mint-teal);
    letter-spacing: 0.05em;
}

.swap-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(45,212,164,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.swap-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--mint-teal);
    fill: none;
}

.swap-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--off-white);
    line-height: 1.3;
    margin-bottom: 14px;
}

.swap-card p {
    font-size: 14px;
    color: var(--light-mint);
    line-height: 1.65;
    opacity: 0.8;
    flex: 1;
}

.swap-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mint-teal);
    transition: gap var(--ease);
}

.swap-card-link:hover { gap: 10px; }
.swap-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Work ────────────────────────────────────────────────── */
.work { background: var(--white); }
.work .section-title { color: var(--deep-forest); }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.work-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(61,90,90,0.15);
    background: var(--white);
    transition: border-color var(--ease), transform var(--ease-slow), box-shadow var(--ease-slow);
}
.work-card:hover {
    border-color: var(--mint-teal);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(28,43,43,0.1);
}
.work-card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: linear-gradient(135deg, var(--pale-mint), #c5e9de);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-teal);
}
.work-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card-body { padding: 24px; }
.work-tag {
    display: inline-block;
    background: var(--pale-mint);
    color: var(--cta-body);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 12px;
}
.work-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 8px;
}
.work-card p {
    font-size: 14px;
    color: var(--muted-teal);
    line-height: 1.6;
}
.work-footer { text-align: center; margin-top: 52px; }

/* ── Process ─────────────────────────────────────────────── */
.process { background: var(--pale-mint); }
.process .section-title { color: var(--deep-forest); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 52px;
}
.process-step-num {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    color: rgba(45,212,164,0.22);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 14px;
    color: var(--muted-teal);
    line-height: 1.65;
}

/* ── Stats ───────────────────────────────────────────────── */
.stats { background: var(--off-white); }
.stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.stats-copy .section-title { color: var(--deep-forest); }
.stats-copy .section-body {
    font-size: 17px;
    color: var(--muted-teal);
    max-width: 460px;
    margin-top: 14px;
    line-height: 1.7;
}
.stats-copy .btn { margin-top: 36px; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-item {
    background: var(--white);
    border: 1px solid rgba(61,90,90,0.12);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--deep-forest);
    margin-bottom: 8px;
}
.stat-value .accent { color: var(--mint-teal); }
.stat-label {
    font-size: 13px;
    color: var(--muted-teal);
    line-height: 1.5;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--deep-forest); }
.testimonials .section-label { color: var(--mint-teal); }
.testimonials .section-title { color: var(--off-white); }

.testi-stage {
    position: relative;
    max-width: 760px;
    margin: 60px auto 0;
    padding: 0 0 40px;
}

.testi-quotemark {
    font-family: var(--font-display);
    font-size: 120px;
    line-height: 0.6;
    color: var(--mint-teal);
    opacity: 0.18;
    user-select: none;
    margin-bottom: 16px;
    display: block;
}

.testi-body {
    min-height: 120px;
}

.testi-quote {
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.55;
    color: var(--off-white);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Word-by-word reveal */
@keyframes wordIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.testi-word {
    display: inline-block;
    opacity: 0;
    animation: wordIn 0.35s ease forwards;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.testi-author.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: rgba(45,212,164,0.12);
    border: 1.5px solid rgba(45,212,164,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--mint-teal);
    flex-shrink: 0;
    overflow: hidden;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testi-author-text { display: flex; flex-direction: column; gap: 2px; }

.t-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--off-white);
    margin: 0;
}
.t-company {
    font-size: 12px;
    color: var(--light-mint);
    opacity: 0.6;
    margin: 0;
}

/* Progress bar */
.testi-progress-wrap {
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 40px;
    overflow: hidden;
}
.testi-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--mint-teal);
    border-radius: 2px;
    transition: width linear;
}

/* Dot navigation */
.testi-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.testi-dot.is-active {
    background: var(--mint-teal);
    transform: scale(1.25);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner { background: var(--mint-teal); padding: 80px 0; }
.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.cta-banner h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--cta-text);
    max-width: 540px;
    line-height: 1.15;
}
.cta-banner p {
    font-size: 17px;
    color: var(--cta-body);
    max-width: 420px;
    margin-top: 14px;
    line-height: 1.65;
}
.cta-banner .btn {
    background: var(--deep-forest);
    color: var(--light-mint);
    flex-shrink: 0;
}
.cta-banner .btn:hover {
    background: var(--dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28,43,43,0.25);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--deep-forest); padding: 80px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand .site-logo { color: var(--off-white); display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--light-mint); opacity: 0.6; max-width: 260px; line-height: 1.65; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--off-white);
    opacity: 0.45;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--light-mint); opacity: 0.7; transition: opacity var(--ease); }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(120,232,200,0.1);
}
.footer-bottom p { font-size: 13px; color: var(--light-mint); opacity: 0.4; }

/* ── Scroll Animations ───────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

/* ── Page / Single ───────────────────────────────────────── */
.main-content { padding-top: 80px; }
.page-entry, .single-entry {
    max-width: 760px;
}
.entry-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--deep-forest);
    margin-bottom: 24px;
}
.entry-meta { font-size: 13px; color: var(--muted-teal); margin-bottom: 32px; }
.entry-content { color: var(--muted-teal); line-height: 1.8; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2, .entry-content h3 { color: var(--deep-forest); margin: 32px 0 14px; }
.entry-thumbnail { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-desktop      { display: none; }
    .nav-toggle       { display: flex; }
    .expertise-layout { grid-template-columns: 1fr; gap: 52px; }
    .work-grid        { grid-template-columns: repeat(2, 1fr); }
    .process-grid     { grid-template-columns: repeat(2, 1fr); }
    .testi-stage      { padding: 0 0 32px; }
    .stats-inner      { grid-template-columns: 1fr; gap: 60px; }
    .footer-grid      { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 768px) {
    .card-swap-stack  { height: 360px; }
    .swap-card        { padding: 28px; }
    .work-grid        { grid-template-columns: 1fr; }
    .testi-quote      { font-size: 20px; }
    .process-grid     { grid-template-columns: 1fr; }
    .stats-grid       { grid-template-columns: 1fr 1fr; }
    .cta-banner-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom    { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid    { grid-template-columns: 1fr; }
    .hero-actions  { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── Hero load animations ────────────────────────────────── */
@keyframes chReveal {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: none; }
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-24px) scale(1.04); }
}
@keyframes dotPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.7; }
}
@keyframes shimmerBtn {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes successPop {
    0%   { opacity: 0; transform: scale(0.88) translateY(12px); }
    60%  { transform: scale(1.03) translateY(-3px); }
    100% { opacity: 1; transform: none; }
}
@keyframes inputFocusPulse {
    0%   { box-shadow: 0 0 0 0 rgba(45,212,164,0.25); }
    70%  { box-shadow: 0 0 0 6px rgba(45,212,164,0); }
    100% { box-shadow: 0 0 0 0 rgba(45,212,164,0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.ch-anim {
    opacity: 0;
    animation: chReveal 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.ch-anim--1 { animation-delay: 0.1s; }
.ch-anim--2 { animation-delay: 0.22s; }
.ch-anim--3 { animation-delay: 0.38s; }
.ch-anim--4 { animation-delay: 0.52s; }

/* ── Hero section ────────────────────────────────────────── */
.contact-page { padding-top: 0; }

.contact-hero {
    background: var(--deep-forest);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.contact-hero-orb--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(45,212,164,0.12) 0%, transparent 65%);
    top: -160px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}
.contact-hero-orb--2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(45,212,164,0.07) 0%, transparent 65%);
    bottom: -80px;
    left: 5%;
    animation: orbFloat 11s ease-in-out infinite reverse;
}

/* dot-grid background pattern */
.contact-hero-bg-dot {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45,212,164,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.35;
    animation: dotPulse 5s ease-in-out infinite;
    pointer-events: none;
}

.contact-hero-inner { position: relative; z-index: 1; max-width: 700px; }

.contact-hero-title {
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.03em;
    line-height: 1.07;
    margin: 14px 0 22px;
}
.contact-hero-title .highlight { color: var(--mint-teal); }

.contact-hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--light-mint);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(45,212,164,0.1);
    border: 1px solid rgba(45,212,164,0.25);
    color: var(--light-mint);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}
.contact-badge svg {
    width: 13px;
    height: 13px;
    stroke: var(--mint-teal);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ── Body layout ─────────────────────────────────────────── */
.contact-body {
    background: var(--off-white);
    padding: 100px 0 120px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

/* ── Left: info ──────────────────────────────────────────── */
.contact-info-intro {
    margin-bottom: 44px;
}
.contact-info-intro h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--deep-forest);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}
.contact-info-intro p {
    font-size: 15px;
    color: var(--muted-teal);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(61,90,90,0.12);
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--pale-mint);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--ease), transform var(--ease);
}
.contact-detail-item:hover .contact-detail-icon {
    background: rgba(45,212,164,0.18);
    transform: scale(1.08);
}
.contact-detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--mint-teal);
}
.detail-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted-teal);
    opacity: 0.6;
    margin-bottom: 3px;
}
.detail-value {
    font-size: 15px;
    color: var(--deep-forest);
    font-weight: 500;
    line-height: 1.5;
}
a.detail-value {
    color: var(--mint-teal);
    transition: opacity var(--ease);
}
a.detail-value:hover { opacity: 0.75; }

.contact-next { }
.contact-next-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-next-step:last-child { margin-bottom: 0; }
.next-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--mint-teal);
    background: rgba(45,212,164,0.1);
    border-radius: var(--radius-sm);
    padding: 3px 8px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.contact-next-step strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 4px;
}
.contact-next-step p {
    font-size: 13px;
    color: var(--muted-teal);
    line-height: 1.6;
}

/* ── Form card ───────────────────────────────────────────── */
.contact-form-wrap { position: sticky; top: 100px; }

.contact-form-card {
    background: var(--white);
    border: 1px solid rgba(61,90,90,0.12);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 8px rgba(28,43,43,0.04), 0 24px 64px rgba(28,43,43,0.08);
    overflow: hidden;
    transition: box-shadow var(--ease-slow);
}
.contact-form-card:hover {
    box-shadow: 0 4px 8px rgba(28,43,43,0.04), 0 32px 80px rgba(28,43,43,0.12);
}

.contact-form-card-header {
    background: var(--deep-forest);
    padding: 28px 36px;
}
.contact-form-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 4px;
}
.contact-form-card-header p {
    font-size: 13px;
    color: var(--light-mint);
    opacity: 0.65;
}

.contact-form-body { padding: 36px; }

/* ── Formidable form overrides ───────────────────────────── */
.contact-form-body .frm_forms * { box-sizing: border-box; }

.contact-form-body .frm_form_field {
    margin-bottom: 22px;
}

/* Labels */
.contact-form-body .frm_primary_label,
.contact-form-body label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted-teal);
    margin-bottom: 8px;
}

/* Required star */
.contact-form-body .frm_required {
    color: var(--mint-teal);
    margin-left: 2px;
}

/* All inputs */
.contact-form-body input[type="text"],
.contact-form-body input[type="email"],
.contact-form-body input[type="tel"],
.contact-form-body input[type="url"],
.contact-form-body input[type="number"],
.contact-form-body select,
.contact-form-body textarea {
    width: 100%;
    background: var(--off-white);
    border: 1.5px solid rgba(61,90,90,0.2);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--deep-forest);
    line-height: 1.5;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form-body input[type="text"]::placeholder,
.contact-form-body input[type="email"]::placeholder,
.contact-form-body textarea::placeholder {
    color: var(--muted-teal);
    opacity: 0.45;
}

.contact-form-body input[type="text"]:focus,
.contact-form-body input[type="email"]:focus,
.contact-form-body input[type="tel"]:focus,
.contact-form-body input[type="url"]:focus,
.contact-form-body input[type="number"]:focus,
.contact-form-body select:focus,
.contact-form-body textarea:focus {
    border-color: var(--mint-teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45,212,164,0.12);
    animation: inputFocusPulse 0.6s ease forwards;
}

.contact-form-body textarea {
    min-height: 130px;
    resize: vertical;
}

/* Two-column name row (frm_half) */
.contact-form-body .frm_half {
    display: inline-block;
    width: calc(50% - 8px);
}
.contact-form-body .frm_half:first-child { margin-right: 16px; }
.contact-form-body .frm_two_col .frm_form_field {
    display: flex;
    gap: 16px;
}

/* Error states */
.contact-form-body .frm_error {
    font-size: 12px;
    color: #e05050;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.contact-form-body .frm_error_style {
    background: rgba(224,80,80,0.06);
    border: 1px solid rgba(224,80,80,0.25);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 13px;
    color: #c04040;
    margin-bottom: 20px;
}
.contact-form-body input.frm_verify_failed,
.contact-form-body textarea.frm_verify_failed {
    border-color: #e05050;
    background: rgba(224,80,80,0.03);
}

/* Submit button */
.contact-form-body .frm_submit {
    margin-top: 28px;
}
.contact-form-body .frm_submit button.frm_button_submit,
.contact-form-body .frm_submit input[type="submit"].frm_button_submit,
.contact-form-body button.frm_button_submit {
    display: block !important;
    width: 100% !important;
    background: var(--mint-teal) !important;
    color: var(--cta-text) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 28px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    text-align: center;
}
/* shine sweep on hover */
.contact-form-body button.frm_button_submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.contact-form-body button.frm_button_submit:hover::after {
    opacity: 1;
    animation: shimmerBtn 0.6s linear;
}
.contact-form-body button.frm_button_submit:hover {
    background: #26c094 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(45,212,164,0.35);
}
.contact-form-body button.frm_button_submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Loading state */
.contact-form-body button.frm_button_submit.frm_loading_form::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(10,74,56,0.3);
    border-top-color: var(--cta-text);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Success message */
.contact-form-body .frm_message,
.contact-form-body .frm_success_style {
    background: rgba(45,212,164,0.08);
    border: 1px solid rgba(45,212,164,0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--cta-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    animation: successPop 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ── Contact page responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-form-wrap { position: static; }
}

@media (max-width: 768px) {
    .contact-hero { padding: 120px 0 80px; }
    .contact-hero-title { font-size: clamp(36px, 10vw, 52px); }
    .contact-body { padding: 72px 0 80px; }
    .contact-form-body { padding: 24px; }
    .contact-form-card-header { padding: 22px 24px; }
    .contact-form-body .frm_half {
        display: block;
        width: 100%;
    }
    .contact-form-body .frm_half:first-child { margin-right: 0; }
}

@media (max-width: 480px) {
    .contact-badges { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   WORK ARCHIVE PAGE
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.work-archive-hero {
    background: var(--deep-forest);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.work-archive-hero-bg-dot {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45,212,164,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.3;
    pointer-events: none;
}

.work-archive-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.work-archive-hero-orb--1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(45,212,164,0.1) 0%, transparent 65%);
    top: -160px;
    right: -120px;
    animation: orbFloat 9s ease-in-out infinite;
}
.work-archive-hero-orb--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45,212,164,0.06) 0%, transparent 65%);
    bottom: -60px;
    left: 8%;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.work-archive-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.work-archive-hero-title {
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.03em;
    line-height: 1.07;
    margin: 14px 0 22px;
}
.work-archive-hero-title .highlight { color: var(--mint-teal); }

.work-archive-hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--light-mint);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 48px;
}

.work-archive-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.wah-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.wah-stat span {
    display: block;
    font-size: 12px;
    color: var(--light-mint);
    opacity: 0.55;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.wah-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(120,232,200,0.2);
    flex-shrink: 0;
}

@keyframes wahReveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
.wah-anim {
    opacity: 0;
    animation: wahReveal 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.wah-anim--1 { animation-delay: 0.10s; }
.wah-anim--2 { animation-delay: 0.22s; }
.wah-anim--3 { animation-delay: 0.38s; }
.wah-anim--4 { animation-delay: 0.52s; }

/* ── Body ─────────────────────────────────────────────────── */
.work-archive-body {
    background: var(--off-white);
    padding: 80px 0 100px;
}

/* ── Filter bar ───────────────────────────────────────────── */
.work-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
}

.work-filter-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-teal);
    background: var(--white);
    border: 1px solid rgba(61,90,90,0.15);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    cursor: pointer;
    transition: all var(--ease);
    line-height: 1;
}
.work-filter-btn:hover {
    border-color: var(--mint-teal);
    color: var(--deep-forest);
    background: var(--pale-mint);
}
.work-filter-btn.is-active {
    background: var(--deep-forest);
    color: var(--off-white);
    border-color: var(--deep-forest);
}

/* ── Archive grid ─────────────────────────────────────────── */
.work-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card--featured {
    grid-column: span 2;
}
.work-card--featured .work-card-thumb {
    aspect-ratio: 16/9;
}
.work-card--featured h3 {
    font-size: clamp(20px, 2.5vw, 28px);
}

.work-card.is-hidden {
    display: none;
}

/* ── Card CTA arrow ───────────────────────────────────────── */
.work-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mint-teal);
    transition: gap var(--ease);
}
.work-card:hover .work-card-cta { gap: 10px; }
.work-card-cta svg { stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

/* ── Filter empty message ─────────────────────────────────── */
.work-filter-empty {
    padding: 48px 0;
    text-align: center;
    font-size: 15px;
    color: var(--muted-teal);
}

/* ── Pagination ───────────────────────────────────────────── */
.work-archive-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}
.work-archive-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.work-archive-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-teal);
    background: var(--white);
    border: 1px solid rgba(61,90,90,0.15);
    transition: all var(--ease);
}
.work-archive-pagination .page-numbers:hover {
    border-color: var(--mint-teal);
    color: var(--deep-forest);
    background: var(--pale-mint);
}
.work-archive-pagination .page-numbers.current {
    background: var(--deep-forest);
    color: var(--off-white);
    border-color: var(--deep-forest);
}
.work-archive-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: var(--muted-teal);
}

/* ── Empty state (no projects) ────────────────────────────── */
.work-archive-empty {
    text-align: center;
    padding: 80px 24px;
    max-width: 460px;
    margin: 0 auto;
}
.work-archive-empty-icon {
    width: 64px;
    height: 64px;
    background: var(--pale-mint);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--mint-teal);
}
.work-archive-empty h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--deep-forest);
    margin-bottom: 12px;
}
.work-archive-empty p {
    font-size: 16px;
    color: var(--muted-teal);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .work-archive-hero    { padding: 120px 0 80px; }
    .work-archive-grid    { grid-template-columns: repeat(2, 1fr); }
    .work-card--featured  { grid-column: span 2; }
}

@media (max-width: 768px) {
    .work-archive-body    { padding: 60px 0 80px; }
    .work-archive-grid    { grid-template-columns: 1fr; }
    .work-card--featured  { grid-column: span 1; }
    .work-archive-hero-stats { gap: 20px; }
    .wah-stat-divider     { height: 28px; }
}

@media (max-width: 480px) {
    .work-archive-hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
    .wah-stat-divider        { display: none; }
}

/* ============================================================
   SINGLE PROJECT PAGE
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.project-hero {
    background: var(--deep-forest);
    padding: 140px 0 0;
    position: relative;
    overflow: hidden;
}

.project-hero-bg-dot {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45,212,164,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.25;
    pointer-events: none;
}

.project-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.project-hero-orb--1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(45,212,164,0.1) 0%, transparent 65%);
    top: -140px;
    right: -100px;
    animation: orbFloat 9s ease-in-out infinite;
}
.project-hero-orb--2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(45,212,164,0.06) 0%, transparent 65%);
    bottom: 40px;
    left: 5%;
    animation: orbFloat 13s ease-in-out infinite reverse;
}

.project-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-bottom: 56px;
}

.project-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--light-mint);
    opacity: 0.6;
    margin-bottom: 28px;
    transition: opacity var(--ease), gap var(--ease);
}
.project-back-link:hover { opacity: 1; gap: 9px; }
.project-back-link svg   { stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.project-hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 20px 0 20px;
}

.project-hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--light-mint);
    opacity: 0.75;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 36px;
}
.project-hero-sub p { margin: 0; }

.project-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-year-badge {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--light-mint);
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* Featured image card at bottom of hero */
.project-hero-image {
    position: relative;
    z-index: 2;
    margin-top: 56px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(45,212,164,0.1);
    max-width: 960px;
}
.project-hero-image img {
    width: 100%;
    display: block;
}

/* Hero load animations */
@keyframes pshReveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
.psh-anim {
    opacity: 0;
    animation: pshReveal 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
}
.psh-anim--1 { animation-delay: 0.08s; }
.psh-anim--2 { animation-delay: 0.18s; }
.psh-anim--3 { animation-delay: 0.28s; }
.psh-anim--4 { animation-delay: 0.40s; }
.psh-anim--5 { animation-delay: 0.52s; }
.psh-anim--6 { animation-delay: 0.64s; }

/* ── Meta strip ───────────────────────────────────────────── */
.project-meta-strip {
    background: var(--pale-mint);
    padding: 48px 0;
    border-bottom: 1px solid rgba(45,212,164,0.15);
}

.project-meta-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 40px 8px 0;
}

.project-meta-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted-teal);
    opacity: 0.6;
}

.project-meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--deep-forest);
    line-height: 1.3;
}

.project-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(61,90,90,0.2);
    margin-right: 40px;
    flex-shrink: 0;
    align-self: center;
}

/* ── Case Study Body ──────────────────────────────────────── */
.project-body {
    background: var(--white);
    padding: 80px 0 100px;
}

.project-body-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
}

/* ── Editor content typography ────────────────────────────── */
.project-content {
    font-size: 17px;
    color: var(--muted-teal);
    line-height: 1.8;
    min-width: 0;
}
.project-content h2,
.project-content h3,
.project-content h4 {
    color: var(--deep-forest);
    margin: 48px 0 16px;
    line-height: 1.2;
}
.project-content h2 { font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -0.02em; }
.project-content h3 { font-size: clamp(18px, 2vw, 24px); }
.project-content h4 { font-size: 17px; }
.project-content p  { margin-bottom: 24px; }
.project-content p:last-child { margin-bottom: 0; }
.project-content ul,
.project-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.project-content li { color: var(--muted-teal); }
.project-content strong { color: var(--deep-forest); font-weight: 600; }
.project-content a { color: var(--mint-teal); text-decoration: underline; text-underline-offset: 3px; }
.project-content a:hover { opacity: 0.75; }
.project-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    border: 1px solid rgba(61,90,90,0.1);
}
.project-content blockquote {
    border-left: 3px solid var(--mint-teal);
    margin: 32px 0;
    padding: 4px 0 4px 24px;
    font-size: 19px;
    color: var(--deep-forest);
    font-style: italic;
    line-height: 1.6;
}
.project-content code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--pale-mint);
    color: var(--cta-body);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
}
.project-content pre {
    background: var(--deep-forest);
    color: var(--light-mint);
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.65;
}
.project-content pre code { background: none; color: inherit; padding: 0; }
.project-content hr {
    border: none;
    border-top: 1px solid rgba(61,90,90,0.12);
    margin: 48px 0;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.project-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-sidebar-card {
    background: var(--off-white);
    border: 1px solid rgba(61,90,90,0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.project-sidebar-card--outcome {
    background: rgba(45,212,164,0.05);
    border-color: rgba(45,212,164,0.2);
}

.project-sidebar-card h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-teal);
    opacity: 0.65;
    margin-bottom: 10px;
}

.project-sidebar-card--outcome h4 { color: var(--cta-body); opacity: 1; }

.project-sidebar-card p {
    font-size: 14px;
    color: var(--muted-teal);
    line-height: 1.7;
}

.project-sidebar-btn { width: 100%; justify-content: center; }

/* ── Gallery ──────────────────────────────────────────────── */
.project-gallery { background: var(--off-white); }

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.project-gallery-item {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(61,90,90,0.1);
    transition: border-color var(--ease), transform var(--ease-slow), box-shadow var(--ease-slow);
}
.project-gallery-item:hover {
    border-color: var(--mint-teal);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(28,43,43,0.1);
}
.project-gallery-item img { width: 100%; display: block; }

/* ── Related projects ─────────────────────────────────────── */
.project-related { background: var(--white); }

.project-related-header {
    margin-bottom: 40px;
}
.project-related-header .accent-label { display: block; margin-bottom: 10px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .project-body-grid { grid-template-columns: 1fr; gap: 48px; }
    .project-sidebar   { position: static; }
    .project-hero      { padding: 120px 0 0; }
}

@media (max-width: 768px) {
    .project-hero-image         { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .project-meta-inner         { gap: 0; }
    .project-meta-item          { padding: 12px 24px 12px 0; }
    .project-meta-divider       { margin-right: 24px; height: 32px; }
    .project-gallery-grid       { grid-template-columns: 1fr; }
    .project-body               { padding: 60px 0 80px; }
}

@media (max-width: 480px) {
    .project-meta-inner   { flex-direction: column; align-items: flex-start; gap: 0; }
    .project-meta-divider { display: none; }
    .project-meta-item    { padding: 10px 0; border-bottom: 1px solid rgba(61,90,90,0.1); width: 100%; }
    .project-meta-item:last-child { border-bottom: none; }
}

/* ============================================================
   SINGLE SERVICE PAGE
   ============================================================ */

/* ── Hero icon ────────────────────────────────────────────── */
.service-hero-icon {
    width: 56px;
    height: 56px;
    background: rgba(45,212,164,0.12);
    border: 1px solid rgba(45,212,164,0.25);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.service-hero-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--mint-teal);
}

/* ── Features section ─────────────────────────────────────── */
.service-features {
    background: var(--white);
    padding: 80px 0 100px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.service-feature-card {
    background: var(--off-white);
    border: 1px solid rgba(61,90,90,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--ease), box-shadow var(--ease-slow), transform var(--ease-slow);
}
.service-feature-card:hover {
    border-color: var(--mint-teal);
    box-shadow: 0 8px 32px rgba(28,43,43,0.07);
    transform: translateY(-2px);
}

.service-feature-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mint-teal);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.service-feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-feature-card p {
    font-size: 14px;
    color: var(--muted-teal);
    line-height: 1.65;
}

/* ── Body content ─────────────────────────────────────────── */
.service-body {
    background: var(--off-white);
    padding: 80px 0 100px;
}

.service-content {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .service-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .service-features-grid { grid-template-columns: 1fr; }
    .service-features       { padding: 60px 0 80px; }
    .service-body           { padding: 60px 0 80px; }
}
