/* ===================================================
   DEVWEB — Creative Agency | Radiance-Inspired Design
   =================================================== */

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg: #F0EFEB;
    --bg-alt: #E8E7E3;
    --text: #0F0F0F;
    --text-muted: #6B6B6B;
    --text-light: #9A9A9A;
    --border: #D1D0CC;
    --dark-bg: #1A1A1A;
    --dark-text: #F0EFEB;
    --dark-muted: #8A8A8A;
    --accent: #2A2A2A;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 160px);
    --side-pad: clamp(20px, 4vw, 60px);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: auto;
    /* Lenis handles smooth scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

::selection {
    background: var(--text);
    color: var(--bg);
}


/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--bg);
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(240, 239, 235, 0.15);
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
}

.loader-fill {
    width: 0%;
    height: 100%;
    background: var(--bg);
    border-radius: 2px;
    animation: loaderFill 1.8s var(--ease-in-out) forwards;
}

@keyframes loaderFill {
    0% {
        width: 0%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px var(--side-pad);
    transition: transform 0.4s var(--ease-out), background 0.3s;
}

.navbar.scrolled {
    background: rgba(240, 239, 235, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-logo {
    z-index: 1001;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: opacity 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    border: 1px solid var(--text);
    padding: 10px 24px;
    transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
    background: var(--text);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle span:first-child {
    top: 4px;
}

.nav-toggle span:last-child {
    bottom: 4px;
}

.nav-toggle.active span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}


/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    display: block;
    padding: 12px 0;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active li:nth-child(1) .mobile-link {
    transition-delay: 0.1s;
}

.mobile-menu.active li:nth-child(2) .mobile-link {
    transition-delay: 0.15s;
}

.mobile-menu.active li:nth-child(3) .mobile-link {
    transition-delay: 0.2s;
}

.mobile-menu.active li:nth-child(4) .mobile-link {
    transition-delay: 0.25s;
}

.mobile-menu.active li:nth-child(5) .mobile-link {
    transition-delay: 0.3s;
}


/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px var(--side-pad) 40px;
    position: relative;
    overflow: hidden;
}

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

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-tagline em {
    font-style: italic;
}

.hero-brand {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: -40px 0;
}

.hero-brand-text {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 22rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: var(--text);
    white-space: nowrap;
    text-align: left;
    user-select: none;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 420px;
}

.hero-cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

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

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}


/* ===== BUTTONS ===== */
.btn-outline {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    border: 1px solid var(--text);
    color: var(--text);
    padding: 14px 32px;
    transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-outline--light {
    border-color: var(--dark-text);
    color: var(--dark-text);
}

.btn-outline--light:hover {
    background: var(--dark-text);
    color: var(--dark-bg);
}

.btn-filled {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    background: var(--text);
    color: var(--bg);
    padding: 14px 32px;
    border: 1px solid var(--text);
    transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
    cursor: pointer;
}

.btn-filled:hover {
    background: transparent;
    color: var(--text);
}


/* ===== MARQUEE STRIP ===== */
.marquee-strip {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.marquee-dot {
    font-size: 0.5rem !important;
    opacity: 0.4;
}

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

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


/* ===== SECTION BLOCKS ===== */
.section-block {
    padding: var(--section-pad) var(--side-pad);
}

.section-block--dark {
    background: var(--dark-bg);
    color: var(--dark-text);
}


/* ===== SECTION DIVIDERS ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: clamp(40px, 6vw, 80px);
}

.section-divider--light {
    border-bottom-color: rgba(240, 239, 235, 0.15);
}

.section-num {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.num-square {
    font-size: 0.5rem;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.section-divider--light .section-label {
    color: var(--dark-muted);
}


/* ===== APPROACH SECTION ===== */
.approach-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.approach-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.approach-img {
    overflow: hidden;
    border-radius: 4px;
}

.approach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.approach-img:hover img {
    transform: scale(1.05);
}

.approach-img--1 {
    aspect-ratio: 3/4;
}

.approach-img--2 {
    aspect-ratio: 4/5;
    margin-top: 40px;
}

.approach-img--3 {
    aspect-ratio: 3/4;
    margin-top: -20px;
}

.approach-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.approach-overline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.approach-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.approach-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}


/* ===== SERVICES SECTION ===== */
.services-intro {
    text-align: center;
    margin-bottom: clamp(60px, 8vw, 120px);
}

.services-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

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

.service-card {
    padding: clamp(30px, 4vw, 60px);
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transition: background 0.4s var(--ease-out);
    position: relative;
}

.service-card:nth-child(even) {
    border-right: none;
}

.service-card:hover {
    background: var(--bg-alt);
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-light);
    display: block;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.service-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 380px;
}


/* ===== WORK SECTION ===== */
.work-intro {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.work-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.work-card {
    display: block;
    overflow: hidden;
    background: var(--accent);
    border-radius: 4px;
    transition: transform 0.5s var(--ease-out);
}

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

.work-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), opacity 0.4s;
    opacity: 0.85;
}

.work-card:hover .work-card-img img {
    transform: scale(1.05);
    opacity: 1;
}

.work-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.work-card-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.work-card-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.work-card:hover .work-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.work-cta {
    text-align: center;
    margin-top: 20px;
}


/* ===== INSIGHTS SECTION ===== */
.insights-list {
    max-width: 1000px;
    margin: 0 auto;
}

.insight-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 3vw, 40px) 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.3s;
    gap: 20px;
}

.insight-item:first-child {
    border-top: 1px solid var(--border);
}

.insight-item:hover {
    opacity: 0.6;
}

.insight-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 8px;
}

.insight-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.insight-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease-out);
}

.insight-item:hover .insight-arrow {
    transform: translate(4px, -4px);
}


/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding-bottom: var(--section-pad);
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: clamp(30px, 4vw, 60px);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: clamp(60px, 8vw, 120px) var(--side-pad) 40px;
    overflow: hidden;
}

.footer-brand {
    margin-bottom: clamp(40px, 6vw, 80px);
    overflow: hidden;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 22rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.85;
    color: rgba(240, 239, 235, 0.08);
    white-space: nowrap;
    user-select: none;
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(240, 239, 235, 0.1);
    margin-bottom: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-muted);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--dark-text);
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--dark-muted);
}

.footer-tagline {
    font-style: italic;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
}


/* ===== REVEAL ANIMATIONS =====
   Initial states are handled by GSAP fromTo() in script.js
   No CSS opacity/transform needed here — GSAP controls both start & end
   ===== */


/* ===== RESPONSIVE ===== */

/* --- Tablet (1024px and below) --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
    }

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

    .approach-images {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .approach-img--3 {
        display: none;
    }

    .approach-img--2 {
        margin-top: 0;
    }
}

/* --- Mobile (768px and below) --- */
@media (max-width: 768px) {
    :root {
        --section-pad: clamp(50px, 12vw, 100px);
        --side-pad: 20px;
    }

    /* Nav */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .navbar {
        padding: 16px var(--side-pad);
    }

    /* Mobile menu overlay */
    .mobile-menu {
        padding: 100px var(--side-pad) 60px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .mobile-menu-links {
        width: 100%;
    }

    .mobile-link {
        font-size: clamp(2rem, 10vw, 3.5rem);
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-links li:first-child .mobile-link {
        border-top: 1px solid var(--border);
    }

    /* Hero */
    .hero {
        padding: 90px var(--side-pad) 30px;
        min-height: 100svh;
        gap: 20px;
    }

    .hero-tagline {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .hero-brand {
        margin: 0;
    }

    .hero-brand-text {
        font-size: clamp(3.5rem, 18vw, 8rem);
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-scroll {
        display: none;
    }

    /* Marquee */
    .marquee-strip {
        padding: 14px 0;
    }

    .marquee-track span {
        font-size: 0.65rem;
    }

    /* Section dividers */
    .section-divider {
        flex-direction: row;
        gap: 16px;
        margin-bottom: clamp(30px, 5vw, 50px);
    }

    .section-label {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    .section-num {
        font-size: 0.65rem;
    }

    /* Approach */
    .approach-content {
        gap: 40px;
    }

    .approach-images {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .approach-img--2,
    .approach-img--3 {
        display: none;
    }

    .approach-heading {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }

    .approach-text {
        text-align: left;
    }

    /* Services */
    .services-heading {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
        text-align: left;
    }

    .services-intro {
        text-align: left;
        margin-bottom: 40px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .service-desc {
        font-size: 0.88rem;
    }

    /* Work */
    .work-heading {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }

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

    .work-card-info {
        padding: 12px 16px;
    }

    .work-card-name {
        font-size: 0.65rem;
    }

    .work-card-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    /* Insights */
    .insight-title {
        font-size: clamp(0.95rem, 4vw, 1.3rem);
    }

    .insight-item {
        padding: 20px 0;
    }

    .insight-arrow {
        display: none;
    }

    /* CTA */
    .cta-heading {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
        text-align: left;
    }

    .cta-section {
        text-align: left;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-buttons .btn-outline,
    .cta-buttons .btn-filled {
        text-align: center;
        padding: 16px 24px;
    }

    /* Footer */
    .footer {
        padding: 60px var(--side-pad) 30px;
    }

    .footer-brand-text {
        font-size: clamp(3rem, 18vw, 8rem);
    }

    .footer-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-link {
        font-size: 0.7rem;
        padding: 4px 0;
    }
}

/* --- Small Mobile (480px and below) --- */
@media (max-width: 480px) {
    :root {
        --side-pad: 16px;
    }

    .hero-brand-text {
        font-size: clamp(2.8rem, 16vw, 5rem);
    }

    .mobile-link {
        font-size: clamp(1.6rem, 9vw, 2.5rem);
    }

    .approach-heading,
    .services-heading,
    .work-heading,
    .cta-heading {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .service-title {
        font-size: 1.1rem;
    }

    .btn-outline,
    .btn-filled {
        font-size: 0.65rem;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-brand-text {
        font-size: clamp(2.5rem, 16vw, 5rem);
    }
}

/* --- Touch devices: always show arrows --- */
@media (hover: none) {
    .work-card-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}