/* ===== CSS Variables ===== */
:root {
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-ink: #0a0a0a;
    --color-ink-secondary: #555;
    --color-ink-muted: #999;
    --color-accent: #D14950;
    --color-accent-hover: #b93e45;
    --color-blue: #1C5CFC;
    --color-border: rgba(10, 10, 10, 0.08);
    --color-border-strong: rgba(10, 10, 10, 0.15);
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Grain Overlay ===== */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== Breadcrumb ===== */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-ink-muted);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
}
.page-breadcrumb a {
    color: var(--color-ink-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.page-breadcrumb a:hover {
    color: var(--color-ink);
}
.page-breadcrumb .sep {
    opacity: 0.4;
}
.page-breadcrumb span:last-child {
    color: var(--color-ink);
}


/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0a0a;
    border-radius: 12px;
}

/* ── AXL MEDIA Logo ── */
.axl-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    color: #ffffff;
}

.axl-logo-svg {
    display: block;
    height: 36px;
    width: auto;
}

.navbar .logo { text-decoration: none; }

.navbar .nav-links {
    display: flex;
    gap: 2rem;
}

.navbar .nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar .nav-links a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-portal-link {
    opacity: 0.35;
    font-size: 0.72rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-portal-link:hover {
    opacity: 0.7;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: #D14950;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-cta:hover { background: #b93e45 !important; color: #fff !important; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    flex-shrink: 0;
    z-index: 1100;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s var(--ease-out);
    transform-origin: center;
}

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

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

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


.hero-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 0.5rem; /* small white gap on all sides */
    box-sizing: border-box;
    z-index: 1;
}

/* Spacer pushes content below and gives scroll distance for the collapse */
.hero-scroll-spacer {
    height: 100vh;
    position: relative;
    z-index: 0;
}

.hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--color-ink);
    border-radius: 20px;
    will-change: clip-path, border-radius;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.55) 100%
    );
    pointer-events: none;
}

.hero-inner {
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(12rem, 22vw, 28rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
}

.hero-content {
    max-width: 700px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.eyebrow-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7.5vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(60px);
    animation: titleReveal 0.9s var(--ease-out) forwards;
}

.title-line[data-delay="1"] { animation-delay: 0.12s; }
.title-line[data-delay="2"] { animation-delay: 0.24s; }

.title-line.accent {
    color: var(--color-accent);
}

.title-period {
    color: var(--color-blue);
}

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

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent-hover);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
    z-index: 0;
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-text, .cta-arrow {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    transition: transform 0.3s var(--ease-out);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-unit {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* ===== Hero Platforms ===== */
.hero-platforms {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 3;
}

.platforms-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.platform-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.platform-icon:hover {
    color: rgba(255, 255, 255, 0.6);
}

.platform-text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.platform-text:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Mobile-only hero certified partners strip ===== */
.hero-partners-mobile {
    display: none;
}

/* ===== Mobile-only studio certified partners strip ===== */
.studio-partners-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-partners-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1.8rem;
    }

    .partners-mobile-label {
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.35);
    }

    .partners-mobile-logos {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .partners-mobile-logos svg {
        width: 18px;
        height: 18px;
        color: rgba(255, 255, 255, 0.5);
        fill: rgba(255, 255, 255, 0.5);
        flex-shrink: 0;
    }

    .partners-mobile-text {
        font-size: 0.65rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.5);
        letter-spacing: 0.05em;
    }
}

/* ===== Clients / Trusted Partners ===== */
.clients {
    padding: 3rem 4rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;

}

.clients .clients-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: transparent;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.6s ease;
}

.clients .section-index {
    color: transparent;
    transition: color 0.6s ease;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
}

.carousel-row-1 .carousel-track {
    animation: carouselSlide 30s linear infinite;
}

.carousel-row-2 .carousel-track {
    animation: carouselSlide 35s linear infinite;
}

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

/* ===== Creative Image Slider ===== */
.creative-slider-wrap {
    overflow: hidden;
    width: 100%;
    padding: 32px 0;
    background: #f5f5f5;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.creative-slider {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: creativeScroll 55s linear infinite;
}

.creative-slider:hover {
    animation-play-state: paused;
}

.creative-slide {
    flex-shrink: 0;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.creative-slide:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.creative-slide img {
    height: 100%;
    width: auto;
    display: block;
}

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

.clients .client-logo {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: transparent;
    padding: 0.6rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.6s ease, border-color 0.6s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.clients .client-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.clients .client-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
}

/* ===== Main Content ===== */

.main-content {
    position: relative;
    z-index: 2;
    background: var(--color-bg);
}

.section-index {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.7rem;
}

/* ===== Section Headers ===== */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-ink-muted);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.section-header h2 em {
    font-style: italic;
    color: var(--color-accent);
}

.section-description {
    font-size: 1rem;
    color: var(--color-ink-secondary);
    max-width: 550px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
}

.period {
    color: var(--color-accent);
}

/* ===== Work / Projects ===== */
.work {
    padding: 3.5rem 4rem 2.5rem;
    background: var(--color-ink);
}

.services-explore-cta {
    padding: 2rem 4rem 0;
    display: flex;
    justify-content: flex-start;
}

.work-cta {
    padding: 2rem 4rem 0;
    display: flex;
    justify-content: flex-end;
}

/* Projects Carousel */
.projects-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -4rem;
    padding: 0 4rem;
}

.projects-track {
    display: flex;
    gap: 1.2rem;
    cursor: grab;
    will-change: transform;
    flex-wrap: nowrap;
}

.projects-track.dragging {
    cursor: grabbing;
}

.project-card {
    flex: 0 0 280px;
    min-width: 280px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.5s var(--ease-out), background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.project-card:hover .card-client {
    color: #fff;
}

.project-card:hover .card-headline {
    color: rgba(255, 255, 255, 0.85);
}

.project-card:hover .card-stat-num,
.project-card:hover .card-stat-label,
.project-card:hover .card-stat-icon {
    color: #fff;
}

.project-card:hover .card-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.project-card:hover .project-number {
    color: rgba(255, 255, 255, 0.7);
}

.project-card a {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    height: 100%;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.project-number {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.card-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

.project-card:hover .card-arrow {
    color: #fff;
    transform: translateX(4px);
}

.card-client {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.card-headline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    transition: color 0.4s ease;
}

.card-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    margin-bottom: 0.85rem;
}

.card-stat-icon {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}

.card-stat span:last-child {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.5;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.card-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Platform-specific brand colours */
.card-tag[data-platform="META"] {
    color: #ffffff;
    border-color: #1877F2;
    background: #1877F2;
}
.card-tag[data-platform="GOOGLE"] {
    color: #ffffff;
    border-color: #4285F4;
    background: #4285F4;
}
.card-tag[data-platform="TIKTOK"] {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}
.card-tag[data-platform="SPOTIFY"] {
    color: #ffffff;
    border-color: #1DB954;
    background: #1DB954;
}
.card-tag[data-platform="YOUTUBE"] {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.07);
}

/* Hover state keeps platform colours visible */
.project-card:hover .card-tag[data-platform="META"] { color: #ffffff; border-color: #1565C0; background: #1565C0; }
.project-card:hover .card-tag[data-platform="GOOGLE"] { color: #ffffff; border-color: #3367D6; background: #3367D6; }
.project-card:hover .card-tag[data-platform="TIKTOK"] { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }
.project-card:hover .card-tag[data-platform="SPOTIFY"] { color: #ffffff; border-color: #17a349; background: #17a349; }
.project-card:hover .card-tag[data-platform="YOUTUBE"] { color: #FF0000; border-color: rgba(255,0,0,0.5); background: rgba(255,0,0,0.12); }

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Work section colour overrides */
.work .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.work .section-index {
    color: var(--color-accent);
}

.work .section-header h2 {
    color: #fff;
}

.work .section-header h2 em {
    color: var(--color-accent);
}

.work .section-description {
    color: rgba(255, 255, 255, 0.55);
}

/* ===== Services ===== */
.services {
    padding: 5rem 4rem;
    border-top: 1px solid var(--color-border);

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
}

.service-category {
    padding: 2.5rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.4s var(--ease-out);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-category:nth-child(3n) {
    border-right: none;
}

.service-category:hover {
    background: var(--color-surface);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.service-category h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.service-category h3 a:hover {
    color: var(--color-accent);
}

.service-category h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}

.service-category ul li {
    font-size: 0.88rem;
    color: var(--color-ink-secondary);
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s var(--ease-out);
    font-weight: 300;
}

.service-category ul li:last-child {
    border-bottom: none;
}

.service-category ul li:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

/* ===== Journal / Blog ===== */
.journal {
    padding: 2.5rem 4rem 2rem;
    border-top: 1px solid var(--color-border);

}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out);
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card a { display: block; }

.article-image {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.article-image .placeholder-img {
    height: 240px;
    transition: transform 0.7s var(--ease-out);
}

.article-card:hover .placeholder-img {
    transform: scale(1.04);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.article-date {
    font-size: 0.72rem;
    color: var(--color-ink-muted);
    letter-spacing: 0.03em;
}

.article-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--color-accent);
    border-radius: 2px;
}

.article-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.8rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.article-card p {
    font-size: 0.85rem;
    color: var(--color-ink-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== Studio / About ===== */
.studio {
    padding: 2rem 4rem 2rem;
    border-top: 1px solid var(--color-border);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.studio-content {
    max-width: 900px;
}

.studio-intro {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-ink-secondary);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.studio-headline {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    letter-spacing: -0.03em;
}

.studio-headline em {
    font-style: italic;
    color: var(--color-accent);
}

.team-header {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.team-header em {
    font-style: italic;
    color: var(--color-accent);
}

/* Team Photo */
.team-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-width: 860px;
    max-height: 58vh;
}

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

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.team-photo-person {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.team-photo-name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.team-photo-role {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.team-learn-more {
    margin-top: 0.8rem;
}

.team-section {
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
}

/* Data-Driven Approach (standalone section) */
.data-approach {
    padding: 2rem 4rem 5rem;
}

.data-approach-content {
    max-width: 700px;
}

.data-approach-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.data-approach-content > p {
    font-size: 1rem;
    color: var(--color-ink-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 300;
}

.approach-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.approach-label span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.team-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.team-section > p {
    font-size: 1rem;
    color: var(--color-ink-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 300;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: all 0.3s var(--ease-out);
}

.link-arrow .arrow {
    transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover {
    color: var(--color-accent-hover);
}

.link-arrow:hover .arrow {
    transform: translateX(4px);
}

/* ===== FAQ ===== */
.faq {
    background: #0a0a0a;
    padding: 3.5rem 4rem;
}

.faq-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 7rem;
}

.faq-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-top: 1.2rem;
}

.faq-list {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 1.6rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s var(--ease-out);
    letter-spacing: -0.01em;
}

.faq-item h3:hover {
    color: #fff;
}

.faq-q-num {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    min-width: 2rem;
}

.faq-q-text {
    flex: 1;
}

.faq-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.faq-icon-bar {
    position: absolute;
    background: rgba(255,255,255,0.35);
    transition: all 0.4s var(--ease-out);
}

.faq-icon-bar:first-child {
    width: 16px;
    height: 1.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon-bar:last-child {
    width: 1.5px;
    height: 16px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon-bar:last-child {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active h3 {
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.faq-answer p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.9;
    padding-bottom: 1.8rem;
    padding-left: 3rem;
    font-weight: 300;
}

.faq-item.active .faq-answer {
    max-height: 400px;

}

@media (max-width: 768px) {
    .faq-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-header {
        position: static;
    }
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 0.5rem 4rem 0.5rem;
    background: transparent;
}

.newsletter-content {
    width: 100%;
    background: var(--color-accent);
    border-radius: 1.5rem;
    padding: 1.4rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.newsletter-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.newsletter-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.newsletter-tagline {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.newsletter-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.newsletter .cta-button {
    background: #fff;
    color: var(--color-accent);
    white-space: nowrap;
}

.newsletter .cta-button::before {
    background: rgba(255, 255, 255, 0.85);
}

.newsletter-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.footer-social-icons-desktop {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social-icons-desktop a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    width: 2rem;
    height: 2rem;
    transition: color 0.2s;
}

.footer-social-icons-desktop a:hover {
    color: #fff;
}

.footer-social-icons-desktop svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    padding: 1.2rem 4rem 1rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-ink);
    border-radius: 20px 20px 0 0;
    margin: 0 1.2rem;
}

.footer-cta {
    margin-bottom: 0.8rem;
    margin-top: 0;
}

.footer-cta-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}

.email-link {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    display: inline-block;
    letter-spacing: -0.03em;
    transition: color 0.3s var(--ease-out);
    line-height: 1.1;
}

.email-link:hover {
    color: var(--color-accent);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-logo .axl-logo-svg {
    height: 38px;
    width: auto;
    display: block;
}

.footer-info {
    max-width: 350px;
}

.footer-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.expertises {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
    margin-top: 0.5rem !important;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-column h4 {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0.5rem;
}

.nav-column a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.2rem 0;
    transition: color 0.3s var(--ease-out);
    font-weight: 300;
}

.nav-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-formerly {
    opacity: 0.5;
    margin-left: 0.4em;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}

.legal-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 3rem;
    }

    .projects-carousel {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }

    .project-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-category {
        border-right: 1px solid var(--color-border);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Hide blog infographic images on homepage only */
    .article-image {
        display: none;
    }

    /* Navbar */
    .navbar {
        top: 0.6rem;
        left: 0.75rem;
        right: 0.75rem;
        padding: 0.85rem 1.2rem;
    }

    .navbar.scrolled {
        padding: 0.7rem 1.2rem;
    }

    .navbar-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Full-screen mobile nav overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease-out);
        z-index: 1050;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 700;
        color: #fff !important;
        letter-spacing: -0.02em;
    }

    .nav-links a:hover {
        color: var(--color-accent) !important;
    }

    .nav-links a::before {
        display: none;
    }

    /* Hero */
    .hero-wrapper {
        padding: 0.25rem;
    }

    .hero {
        padding: 5.5rem 1.5rem 3rem;
        border-radius: 14px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .title-line {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-scroll-indicator {
        left: 1.5rem;
        bottom: 1.5rem;
    }

    .hero-platforms {
        right: 1.5rem;
        bottom: 1.5rem;
        gap: 0.8rem;
    }

    .platforms-label {
        display: none;
    }

    .platform-icon {
        width: 14px;
        height: 14px;
    }

    .platform-logos {
        gap: 0.6rem;
    }

    /* Clients */
    .clients {
        padding: 2rem 1.5rem;
    }

    /* Section padding */
    .work, .services, .journal, .studio, .faq, .newsletter, .data-approach {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .work {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .work .section-label {
        margin-bottom: 1rem;
    }

    .work .section-description {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .work .section-header h2 {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: 0.6rem;
    }

    /* Studio */
    .studio {
        min-height: unset;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .studio-content {
        margin-top: -0.5rem;
    }

    .studio-headline {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        margin-bottom: 0.6rem;
    }

    .studio-intro {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .team-photo {
        max-width: 100%;
        max-height: none;
    }
    .team-photo img {
        transform: scale(1.5);
        transform-origin: center 80%;
    }

    /* Mobile certified partners strip in studio */
    .studio-partners-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.6rem;
        padding-top: 1.4rem;
        border-top: 1px solid var(--color-border);
    }

    .studio-partners-label {
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--color-ink-muted);
    }

    .studio-partners-logos {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .studio-partners-logos svg {
        width: 20px;
        height: 20px;
        color: var(--color-ink-muted);
        fill: var(--color-ink-muted);
        flex-shrink: 0;
    }

    .studio-partners-text {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--color-ink-muted);
        letter-spacing: 0.05em;
    }

    .team-photo-overlay {
        padding: 1.2rem 1.5rem;
    }

    .team-photo-name {
        font-size: 1rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-category {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .service-category:last-child {
        border-bottom: none;
    }

    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.4rem;
        gap: 0.8rem;
    }

    .newsletter-left {
        gap: 0.2rem;
    }

    .newsletter-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .newsletter-note {
        white-space: normal;
    }

    /* Journal */
    .journal {
        padding-top: 2rem;
    }

    /* Articles */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer {
        padding: 0.8rem 1rem 0.8rem;
        margin: 0 0.4rem;
        border-radius: 14px 14px 0 0;
    }

    .email-link {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }

    .footer-grid {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
        padding-top: 0.6rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 420px) {
    .navbar {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 6.5rem 1.2rem 4.5rem;
    }

    .title-line {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-platforms {
        display: none;
    }

    .faq {
        padding: 2.5rem 1.2rem;
    }
}

/* ===== Custom Scrollbar — AXL Red ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-hover);
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

/* ===== Services Carousel ===== */
.services-carousel-wrap {
    overflow: hidden;
    margin: 0 -4rem;
    padding: 0 4rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.services-carousel-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
    cursor: grab;
    padding-bottom: 0.5rem;
}

.services-carousel-track.dragging {
    cursor: grabbing;
}

.svc-card {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    position: relative;
}

.svc-card:hover {
    background: var(--color-ink);
    border-color: var(--color-ink);
    transform: translateY(-3px);
}

.svc-num {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.9rem;
}

.svc-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    line-height: 1.25;
    transition: color 0.3s;
}

.svc-card:hover h3 {
    color: #fff;
}

.svc-card ul {
    list-style: none;
    padding: 0;
    flex: 1;
}

.svc-card ul li {
    font-size: 0.82rem;
    color: var(--color-ink-secondary);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 300;
    transition: color 0.3s, border-color 0.3s;
    line-height: 1.4;
}

.svc-card ul li:last-child {
    border-bottom: none;
}

.svc-card:hover ul li {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.08);
}

.svc-arrow {
    display: block;
    font-size: 1.1rem;
    color: rgba(10,10,10,0.2);
    margin-top: 1.2rem;
    transition: color 0.3s, transform 0.3s var(--ease-out);
    align-self: flex-end;
}

.svc-card:hover .svc-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Tighten services section */
.services {
    padding: 3.5rem 4rem 2rem;
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 1.5rem 1.5rem;
    }
    .services-explore-cta {
        padding-left: 0;
    }
}

.services .section-header {
    margin-bottom: 2rem;
}

.services-explore-cta {
    padding: 1.5rem 4rem 0;
}

/* ===== Mobile: hide homepage blog images ===== */
@media (max-width: 768px) {
    .home-article-image {
        display: none;
    }

    /* Services carousel mobile */
    .services-carousel-wrap {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }

    .svc-card {
        flex: 0 0 220px;
        min-width: 220px;
        padding: 1.5rem;
    }

    /* Footer mobile compact */
    .footer-nav-links,
    .footer-services-links {
        display: none;
    }

    .footer-social-links {
        display: none;
    }

    .footer-social-mobile-block {
        margin-top: 0.8rem;
        background: #1a1a1a;
        border-radius: 10px;
        padding: 0.5rem 0.8rem;
    }

    .footer-social-mobile-label {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        color: rgba(255,255,255,0.4);
        font-weight: 600;
        margin: 0 0 0.5rem 0;
    }

    .footer-social-icons-mobile {
        display: flex;
        gap: 1.5rem;
    }

    .footer-social-icons-mobile a {
        color: rgba(255,255,255,0.4);
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
    }

    .footer-social-icons-mobile a:hover {
        color: #fff;
    }

    .footer-social-icons-mobile svg {
        width: 1.15rem;
        height: 1.15rem;
        fill: currentColor;
    }

    .footer-grid {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        padding-top: 0.5rem;
    }

    .footer-cta {
        margin-bottom: 0.5rem;
        margin-top: 0;
    }
}

/* Footer social block — hidden on desktop, shown on mobile */
.footer-social-mobile-block {
    display: none;
}

@media (max-width: 768px) {
    .footer-social-mobile-block {
        display: block;
    }

    .work .carousel-nav {
        display: none;
    }
}
