/* ===== LENIS SMOOTH SCROLL ===== */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

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

:root {
    /* ===== BRAND COLORS ===== */
    --green-950: #0D1609;
    --green-900: #213319;
    --green-800: #385D29;
    --green-700: #508638;
    --green-600: #67B048;
    --green: #7ED957;
    --green-400: #98E179;
    --green-300: #B2E89A;
    --green-200: #CBF0BC;
    --green-100: #E5F7DD;
    --green-light: rgba(126, 217, 87, 0.15);

    /* Cream Scale (secondary accent) */
    --cream-900: #3D3529;
    --cream-800: #5C4F3D;
    --cream-700: #7A6A52;
    --cream-600: #998466;
    --cream-500: #B8A080;
    --cream-400: #CCBB9F;
    --cream-300: #DFD3BF;
    --cream-200: #EDE5D9;
    --cream-100: #F5F0E8;
    --cream-50: #FDFCFA;

    /* Grey Scale */
    --black: #000000;
    --gray-950: #0D0D0D;
    --gray-900: #1A1A1A;
    --gray-800: #333333;
    --gray-700: #4D4D4D;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #B3B3B3;
    --gray-200: #CCCCCC;
    --gray-100: #E5E5E5;
    --gray-50: #F0F0F0;
    --white: #FFFFFF;
    --dark: #1A1A1A;

    /* Brand colors */
    --whatsapp: #25D366;

    /* ===== SEMANTIC COLORS ===== */
    --bg-primary: var(--white);
    --bg-secondary: var(--cream-50);
    --bg-surface: var(--white);
    --bg-alt: var(--gray-100);
    --bg-dark-section: var(--gray-950);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-700);
    --text-heading: var(--black);
    --text-muted: var(--gray-600);
    --text-faint: var(--gray-500);
    --text-disabled: var(--gray-400);
    --accent: var(--green);
    --accent-warm: var(--cream-100);

    /* Dark-section pinned colors (never invert) */
    --ds-text: #F5F0E8;
    --ds-text-secondary: #CCCCCC;
    --ds-text-muted: #999999;
    --ds-text-faint: #808080;
    --ds-text-heading: #F0F0F0;
    --ds-border: #333333;

    /* Status */
    --success: #56C568;
    --error: #EB5757;
    --warning: #FFC400;
    --info: #3FA2F7;

    /* ===== TYPOGRAPHY ===== */
    --font-primary: 'Lexend', sans-serif;
    --font-secondary: 'Bricolage Grotesque', sans-serif;
    --font-tertiary: 'Spectral', serif;

    /* Type Scale */
    --text-display: clamp(3rem, 6vw, 6rem);
    --text-h1: clamp(2.5rem, 5vw, 4rem);
    --text-h2: clamp(2rem, 4vw, 3rem);
    --text-h3: clamp(1.5rem, 2.5vw, 2rem);
    --text-h4: clamp(1.25rem, 2vw, 1.5rem);
    --text-body-lg: clamp(1.15rem, 1.5vw, 1.375rem);
    --text-body: clamp(1rem, 1.2vw, 1.125rem);
    --text-sm: 0.875rem;
    --text-accent: clamp(1.125rem, 1.5vw, 1.5rem);

    /* ===== SPACING ===== */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-section: clamp(100px, 10vw, 160px);

    /* Layout */
    --section-padding: var(--space-section) 0;
    --container-width: 1200px;
    --container-padding: 0 40px;

    /* ===== ANIMATION ===== */
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 700ms;
    --ease-default: ease;
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1.0);

    /* ===== GLASS ===== */
    --glass-bg: rgba(255, 255, 255, 0.17);
    --glass-bg-hover: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-blur: blur(16px) saturate(180%);
    --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --glass-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);

    /* ===== BORDERS ===== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 1s ease;
}

body.bg-dark {
    background-color: var(--gray-950);
}

/* Regular dark sections — just a dark background, no page transition */
.dark-bg {
    background-color: var(--bg-dark-section);
    color: var(--cream-50);
}

/* Transitioning dark sections — trigger full-page bg swap */
body.bg-dark section:not(.dark-section):not(.dark-bg) {
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s 0.8s;
}

body:not(.bg-dark) section:not(.dark-section):not(.dark-bg) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0s;
}

.dark-section .container {
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.bg-dark .dark-section .container {
    opacity: 1;
}

body.dark.bg-dark {
    background-color: var(--gray-950);
}

/* Navbar on dark section (light mode only) */
.navbar.navbar-on-dark:not(.navbar-hidden) {
    color: var(--cream-50);
    transition: all 0.3s ease, color 0.3s ease;
}

.navbar.navbar-on-dark.scrolled {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.navbar-on-dark .navbar-logo .logo-text,
.navbar.navbar-on-dark .navbar-links a {
    color: var(--cream-50);
}

.navbar.navbar-on-dark .navbar-links a:hover,
.navbar.navbar-on-dark .navbar-links a.active {
    color: var(--green);
}

.navbar.navbar-on-dark .navbar-logo .logo-text small {
    color: rgba(255, 255, 255, 0.5);
}

.navbar.navbar-on-dark .hamburger span {
    background: var(--cream-50);
}

.navbar.navbar-on-dark .darkmode-toggle {
    color: var(--cream-50);
}

body.bg-dark:not(.dark) .navbar {
    color: var(--cream-50);
}

body.bg-dark:not(.dark) .navbar.scrolled {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.bg-dark:not(.dark) .navbar-logo .logo-text,
body.bg-dark:not(.dark) .navbar-links a {
    color: var(--cream-50);
}

body.bg-dark:not(.dark) .hamburger span {
    background: var(--cream-50);
}

/* ===== FLOATING GREEN GLOWS ===== */
.green-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0;
}

body.dark .green-glow {
    opacity: 1;
}

.green-glow-1 {
    top: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    animation: glowDrift1 30s ease-in-out infinite alternate;
}

.green-glow-2 {
    top: 40%;
    right: -8%;
    width: 400px;
    height: 400px;
    animation: glowDrift2 40s ease-in-out infinite alternate;
}

.green-glow-3 {
    bottom: 15%;
    left: 30%;
    width: 450px;
    height: 450px;
    animation: glowDrift3 35s ease-in-out infinite alternate;
}

@keyframes glowDrift1 {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(60px, 80px); }
    100% { transform: translate(30px, 50px); }
}

@keyframes glowDrift2 {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-50px, 60px); }
    100% { transform: translate(-30px, 40px); }
}

@keyframes glowDrift3 {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-40px, -50px); }
    100% { transform: translate(20px, -30px); }
}

@media (prefers-reduced-motion: reduce) {
    .green-glow { animation: none !important; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.25);
}

.navbar-links a:focus-visible,
.footer-col a:focus-visible {
    outline-offset: 2px;
}

.home-portfolio-card:focus-visible,
.home-portfolio-featured:focus-visible,
.services-portfolio-card:focus-visible,
.creations-card:focus-visible {
    outline-offset: 4px;
    border-radius: 12px;
}

.darkmode-toggle:focus-visible {
    outline-offset: 4px;
    border-radius: 50%;
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
    background-image: url('../images/noise.png');
    background-repeat: repeat;
    background-size: 300px 300px;
}

#smokeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -2;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-normal) var(--ease-default);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--text-h1);
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

h4 {
    font-size: var(--text-h4);
    font-weight: 400;
}

.display-heading {
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 1.1;
}

.accent {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.accent-dark {
    color: var(--text-heading);
    font-weight: 300;
}


.section-subtitle {
    font-family: var(--font-primary);
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin-top: 16px;
    margin-inline: auto;
    text-align: center;
}

/* ===== GREEN GLOW EFFECT ===== */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.glow-right::after {
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.glow-left::after {
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.glow-top-right::after {
    right: -50px;
    top: -50px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.navbar.navbar-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo .logo-icon span {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-secondary);
}

.navbar-logo .logo-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.navbar-logo .logo-text small {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--green);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    opacity: 1;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Dark mode toggle */
.darkmode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.darkmode-toggle:hover {
    transform: scale(1.15);
    color: var(--text-heading);
}

body.dark .darkmode-toggle {
    color: var(--cream-400);
}

body.dark .darkmode-toggle:hover {
    color: var(--cream-50);
}

.darkmode-toggle .icon-light { display: flex; }
.darkmode-toggle .icon-dark  { display: none; }

body.dark .darkmode-toggle .icon-light { display: none; }
body.dark .darkmode-toggle .icon-dark  { display: flex; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                background 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

.btn-primary {
    background: var(--green);
    color: var(--gray-950);
}

.btn-primary:hover {
    background: var(--green-600);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(126, 217, 87, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: scale(1.05);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);
    transform: scale(1.05);
}

/* ===== HERO SECTIONS ===== */
.hero {
    padding: var(--space-section) 0 0;
    padding-top: 180px;
    position: relative;
}

.hero h1 {
    max-width: none;
}

.hero .section-subtitle {
    margin-top: 24px;
}

/* ===== SERVICES HERO ===== */
.services-hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: visible;
    min-height: min(100vh, 1032px);
    display: flex;
    align-items: center;
    z-index: 2;
}

.services-hero .hero-title {
    max-width: none;
    margin: 0 auto;
}

.services-hero .section-subtitle {
    margin: 20px auto 0;
    text-align: center;
}

.services-hero-image {
    position: absolute;
    bottom: -20px;
    left: 60px;
}

[data-parallax] {
    will-change: transform;
}

.services-hero-image img:first-child {
    width: clamp(250px, 22vw, 350px);
    display: block;
    filter: grayscale(100%);
    position: relative;
    z-index: 2;
}

.butterfly-curl {
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 140px;
    z-index: 2;
}

/* ===== SERVICES DARK SECTION ===== */
.services-dark-section {
    background: var(--gray-950);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: min(100vh, 1032px);
    display: flex;
    align-items: center;
}

.services-dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/noise.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

.services-dark-section .container {
    width: 100%;
}

.services-dark-content {
    display: flex;
    flex-direction: column;
    gap: 120px;
    position: relative;
    z-index: 1;
}

.services-dark-quote {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.45;
    color: var(--ds-text-secondary);
    max-width: 760px;
    font-weight: 300;
}

.services-dark-info {
    text-align: right;
    align-self: flex-end;
    max-width: 920px;
}

.services-dark-info h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.services-dark-info p {
    color: var(--ds-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 780px;

}

.services-dark-butterflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.butterfly-sm {
    position: absolute;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
}

.butterfly-1 {
    width: 80px;
    top: 10%;
    right: -10px;
    transform: rotate(15deg);
}

.butterfly-2 {
    width: 45px;
    top: 35%;
    right: 30%;
    transform: rotate(-10deg);
}

.butterfly-3 {
    width: 30px;
    top: 55%;
    left: 18%;
    transform: rotate(-20deg);
}

.butterfly-4 {
    width: 40px;
    bottom: 10%;
    left: 40%;
    transform: rotate(5deg);
}

/* ===== SERVICES STICKY STACK ===== */
.services-stack {
    position: relative;
    z-index: 2;
}

.services-stack-header {
    text-align: center;
    padding: 100px 0 60px;
}

.services-stack-header h2 {
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    position: sticky;
    top: 0;
    min-height: min(100vh, 1032px);
    padding: 120px 0 80px;
    background: var(--bg-primary);
    z-index: calc(var(--card-index) + 1);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/noise.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.service-card[style*="--card-index: 0"]::after {
    right: -80px;
    bottom: -80px;
}

.service-card[style*="--card-index: 1"]::after {
    left: -80px;
    top: -80px;
}

.service-card[style*="--card-index: 2"]::after {
    right: 20%;
    top: -60px;
}

.service-card[style*="--card-index: 0"] {
    box-shadow: none;
}

.services-stack.dark-bg .service-card {
    background: var(--gray-950);
    color: var(--cream-50);
    --text-muted: var(--cream-200);
    --text-secondary: var(--cream-200);
}

.service-card-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 60px;
}

.service-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-card-image {
    position: relative;
}

.service-card-image > img:first-child {
    width: 100%;
    max-width: 300px;
    filter: grayscale(100%);
}

.service-card-line {
    position: absolute;
    bottom: -60px;
    left: 40%;
    width: 120px;
}

/* ===== DESIGN COMPOSITION ===== */
.design-composition {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.design-composition .comp-lady {
    width: 78%;
    display: block;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
}

.design-composition .comp-frame {
    position: absolute;
    top: calc(1% - 18px);
    left: calc(3% + 30px);
    width: 58%;
    z-index: 2;
    pointer-events: none;
}

.design-composition .comp-face-sketch {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    z-index: 1;
    pointer-events: none;
}

.design-composition .comp-pantone {
    position: absolute;
    bottom: 6%;
    right: 0;
    width: 25%;
    z-index: 2;
    pointer-events: none;
}

.design-composition .comp-cursor {
    position: absolute;
    bottom: 11%;
    right: 18%;
    width: 17%;
    z-index: 3;
    pointer-events: none;
}

/* Independent layers of the designer collage. */
.design-composition.design-layered { max-width: 440px; aspect-ratio: 1; }
.design-layered img { position: absolute; height: auto; pointer-events: none; }
.design-layered .design-palette { width: 54%; top: 0; right: 1%; z-index: 0; filter: none; }
body.dark .design-layered .design-palette { filter: none; }
.design-layered .design-portrait { width: 83%; left: 12%; top: 9%; z-index: 1; }
.design-layered .design-collage-left { width: 57%; left: 0; top: 33%; z-index: 2; }
.design-layered .design-collage-right { width: 38%; right: 0; top: 44%; z-index: 2; }
.design-layered .design-pantone { width: 19%; left: 7%; top: 1%; z-index: 4; }

/* ===== CONSTRUCTION COMPOSITION ===== */
.construction-composition {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding-top: 14%;
    padding-bottom: 12%;
}

/* bro4.png — contains 2 bricks (top-left area + bottom-right area of its canvas).
   Override the global .service-card-image img:first-child rule that would gray + cap this. */
.construction-composition .comp-bricks {
    position: absolute;
    top: -12%;
    left: 22%;
    width: 64%;
    max-width: none;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    z-index: 1;
    pointer-events: none;
}

/* worker centered, layered above the brick scatter */
.construction-composition .comp-worker {
    display: block;
    width: 110%;
    margin: 0 auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    position: relative;
    z-index: 2;
}

/* green scribble SVG — overlaid on the face */
.construction-composition .comp-zig {
    position: absolute;
    top: calc(14% + 55px);
    left: 16%;
    width: 55%;
    z-index: 3;
    pointer-events: none;
}

/* single brick — right side, mid-chest height */
.construction-composition .comp-brick-mid {
    position: absolute;
    top: 52%;
    right: -6%;
    width: 36%;
    z-index: 3;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
}

/* single brick — bottom-left */
.construction-composition .comp-brick-bot {
    position: absolute;
    bottom: -6%;
    left: -4%;
    width: 42%;
    z-index: 3;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
}

/* bro6.png — 2 bricks + nail scattered (top-right, bottom-right, mid-left) */
.construction-composition .comp-scatter {
    position: absolute;
    top: 5%;
    left: -6%;
    width: 115%;
    z-index: 1;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
}

/* nails cluster — bottom-right */
.construction-composition .comp-nails {
    position: absolute;
    bottom: 0%;
    right: -8%;
    width: 26%;
    z-index: 3;
    pointer-events: none;
}

/* pixel cursor — left side, upper arm height */
.construction-composition .comp-cursor {
    position: absolute;
    top: 32%;
    left: -6%;
    width: 16%;
    z-index: 4;
    pointer-events: none;
}

.service-card-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-card-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--cream-200);
    font-size: 0.95rem;
    color: var(--text-secondary);
    will-change: transform, opacity;
}

.service-card-list li:first-child {
    border-top: 1px solid var(--cream-200);
}

.service-card-list li::before {
    content: '·  ';
    color: var(--green);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 8px;
}

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

/* ===== SERVICES PORTFOLIO ===== */
.services-portfolio {
    padding: var(--section-padding);
}

.services-portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-portfolio-header h2 {
    max-width: 600px;
    margin: 0 auto 16px;
}

.services-portfolio-header .section-subtitle {
    margin: 0 auto;
    text-align: center;
}

.services-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.services-portfolio-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.services-portfolio-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    margin-bottom: 16px;
}

.services-portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    background: var(--green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 100px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.tag:hover {
    background: var(--green-600);
    transform: translateY(-2px);
}

.services-portfolio-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.services-portfolio-card p {
    color: var(--text-faint);
    font-size: 0.9rem;
}

.services-portfolio-cta {
    text-align: center;
    margin-top: 50px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

/* ===== HOMEPAGE HERO ===== */
.hero-home {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    min-height: min(100vh, 1032px);
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
}

.hero-gradient {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

.hero-gradient::before,
.hero-gradient::after {
    content: '';
    position: absolute;
    width: min(65vw, 720px);
    height: min(65vw, 720px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 217, 87, .28) 0%, rgba(126, 217, 87, .10) 35%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-gradient::before {
    top: 0;
    left: -12%;
    animation: glowDrift1 30s ease-in-out infinite alternate;
}

.hero-gradient::after {
    top: 20%;
    right: -12%;
    animation: glowDrift2 40s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
    .hero-gradient::before,
    .hero-gradient::after { animation: none; }
}


.hero-home .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-heading);
    max-width: 900px;
}

.hero-home .hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.hero-line {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-italic {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    font-size: 1.1em;
}

/* Circled word with animated hand-drawn SVG */
.hero-rotating-word {
    display: inline-block;
    white-space: nowrap;
}

.hero-bounce-letter,
.hero-bounce-letter > span {
    display: inline-block;
    transform-origin: center bottom;
}

.circled-word {
    position: relative;
    display: inline-block;
}

.circle-svg {
    position: absolute;
    top: -10px;
    left: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 20px);
    pointer-events: none;
    overflow: visible;
}

.circle-path {
    fill: none;
    stroke: var(--green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: -600;
    filter: url(#crayon);
}

.circled-word.revealed .circle-path {
    animation: drawCircle 3s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawSquiggle {
    to { stroke-dashoffset: 0; }
}

/* Scroll reveal — applied by IntersectionObserver in JS */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero-home .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-home .hero-buttons {
    justify-content: center;
}

/* Hero logos strip */
.hero-logos-strip {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0 60px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    background: transparent;
}

.hero-logos-track {
    display: flex;
    gap: 80px;
    align-items: center;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
    will-change: transform;
}

.hero-logo-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    user-select: none;
    opacity: 0.15;
}

.hero-logo-item img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.hero-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.hero-image {
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
    height: 400px;
    background: var(--bg-alt);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-disabled);
    font-size: 0.9rem;
}

/* ===== VISION SECTION ===== */
.vision-section {
    min-height: min(100vh, 1032px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.vision-section .container {
    width: 100%;
    max-width: 900px;
    margin-left: calc((100% - var(--container-width)) / 2 + 40px);
    margin-right: auto;
}

.vision-section p:first-child {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-heading);
    line-height: 1.5;
    margin-bottom: 48px;
}

.vision-section p:last-of-type {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 500;
    color: var(--text-heading);
    line-height: 1.55;
}

.text-italic {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-weight: 300;
}

.text-green {
    color: var(--green);
}

.accent-italic {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.vision-pen {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 1;
}

.pen-placeholder {
    width: 200px;
    height: 360px;
    margin-left: auto;
}

.pen-image {
    width: 220px;
    height: auto;
    margin-left: auto;
    display: block;
    object-fit: contain;
}

.pen-squiggle {
    position: absolute;
    bottom: -90px;
    left: 10px;
    width: 140px;
    height: 180px;
}

.squiggle-path {
    stroke-dasharray: 400;
    stroke-dashoffset: -400;
}

/* squiggle draw now handled by GSAP ScrollTrigger scrub */

/* ===== IMAGE + TEXT SPLIT ===== */
.split-section {
    padding: var(--section-padding);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.split-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.split-text h2 {
    margin-bottom: 20px;
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ===== SERVICES SECTION (DARK) ===== */
.services-section-dark {
    background: transparent;
    padding: clamp(180px, 18vw, 280px) 0;
    position: relative;
    overflow: hidden;
    min-height: min(100vh, 1032px);
}

.testimonials-section::before,
.agency-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/noise.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

body.dark .testimonials-section::before,
body.dark .agency-services::before {
    opacity: 0;
}

.services-dark-header {
    text-align: center;
    margin-bottom: 100px;
}

.services-dark-header h2 {
    color: var(--cream-50);
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.3;
}

.services-dark-header .accent-italic {
    color: var(--green);
}

.services-dark-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.service-row-left {
    justify-content: flex-start;
}

.service-row-right {
    justify-content: flex-end;
    text-align: right;
}

.service-row-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.service-row-text {
    max-width: 420px;
}

.service-row-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ds-text-heading);
    margin-bottom: 12px;
}

.service-row-text p {
    color: var(--ds-text-faint);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== SERVICE DETAIL (Services page) ===== */
.service-detail {
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    background: var(--bg-alt);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-number {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-600);
    margin-bottom: 12px;
}

.service-detail-text h2 {
    margin-bottom: 20px;
}

.service-detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-detail-visual {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
}

/* ===== HOME PORTFOLIO PREVIEW ===== */
.home-portfolio {
    padding: var(--section-padding);
    margin-top: 80px;
}

.home-portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.home-portfolio-header h2 {
    max-width: 800px;
    margin: 0 auto 16px;
}

.home-portfolio-header .section-subtitle {
    margin: 0 auto;
    text-align: center;
}

/* Mosaic grid — symmetric zigzag using 12-col grid */
.home-portfolio-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.home-portfolio-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Row 1: 7 cols + 5 cols */
.home-portfolio-item.item-1 { grid-column: 1 / 8;  grid-row: 1; }
.home-portfolio-item.item-2 { grid-column: 8 / 13; grid-row: 1; align-self: end; }
/* Row 2: 5 cols + 7 cols — mirrored */
.home-portfolio-item.item-3 { grid-column: 1 / 6;  grid-row: 2; }
.home-portfolio-item.item-4 { grid-column: 6 / 13; grid-row: 2; }

.home-portfolio-item-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.home-portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-portfolio-item:hover .home-portfolio-item-image img {
    transform: scale(1.05);
}

/* Overlay with info — appears on hover */
.home-portfolio-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-portfolio-item:hover .home-portfolio-item-overlay {
    opacity: 1;
}

.home-portfolio-item-overlay h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.home-portfolio-item.item-wide .home-portfolio-item-overlay h3 {
    font-size: 1.5rem;
}

.home-portfolio-item-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tags — on overlay */
.home-portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.home-portfolio-tags .tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.home-portfolio-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== PORTFOLIO / CREATIONS ===== */

/* Filters (used on creations page) */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-tag {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--cream-200);
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--black);
}

/* Portfolio grid (used on creations page) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--cream-200);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.portfolio-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-info {
    padding: 20px 24px;
}

.portfolio-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-card-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== TRUST / WHY US ===== */
.trust-section {
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
    min-height: min(100vh, 1032px);
}

.trust-header {
    text-align: center;
    margin-bottom: 60px;
}

.trust-stage {
    position: relative;
    padding: 40px 0 60px;
}

.trust-fan {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    position: relative;
}

.trust-card {
    background: var(--gray-950);
    color: var(--ds-text);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    width: 260px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}

.trust-card-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform: translate(-50%, -50%);
}

.trust-card:hover .trust-card-glow {
    opacity: 1;
}

.trust-card-far-left {
    /* transform handled by GSAP */
}

.trust-card-left {
    /* transform handled by GSAP */
}

.trust-card-center {
    z-index: 2;
    /* transform handled by GSAP */
}

.trust-card-right {
    /* transform handled by GSAP */
}

.trust-card-far-right {
    /* transform handled by GSAP */
}

.trust-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.trust-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.trust-card p {
    color: var(--ds-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.trust-tagline {
    font-family: var(--font-tertiary);
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
    color: var(--text-heading);
    padding-top: 60px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: clamp(140px, 14vw, 220px) 0;
    position: relative;
    overflow: hidden;
    background: var(--gray-950);
    color: var(--ds-text);
    min-height: min(100vh, 1032px);
}


.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.4s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ds-border);
}

.testimonial-quote {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ds-text-heading);
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--ds-text-faint);
    line-height: 1.7;
}

.testimonial-author-name {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    margin-top: auto;
    color: var(--ds-text-secondary);
}

.testimonials-section .section-subtitle {
    color: var(--ds-text-faint);
}

/* Light variant (homepage) */
.testimonials-light {
    background: transparent;
    color: var(--text-primary);
}

.testimonials-light .section-subtitle {
    color: var(--text-muted);
}

.testimonials-light .testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.testimonials-light .testimonial-card:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
}

.testimonials-light .testimonial-avatar {
    background: var(--cream-200);
}

.testimonials-light .testimonial-quote {
    color: var(--text-heading);
}

.testimonials-light .testimonial-text {
    color: var(--text-faint);
}

.testimonials-light .testimonial-author-name {
    color: var(--text-secondary);
}

body.dark .testimonials-light {
    background: transparent;
}

/* ===== CREATIONS PAGE ===== */
.creations-hero {
    padding: 120px 0 60px;
    text-align: center;
    min-height: min(100vh, 1032px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    z-index: 2;
}

.creations-hero .hero-title {
    max-width: none;
    margin: 0 auto;
}

.creations-hero .section-subtitle {
    margin: 20px auto 0;
    text-align: center;
}

/* Brush decorations scattered across page */
.brush {
    position: absolute;
    height: auto;
    opacity: 1;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
    z-index: 1;
}

/* Portfolio section brush */
.brush-1 {
    width: 80px;
    top: 30%;
    left: -1%;
    transform: rotate(35deg);
}

/* Hero brushes — home-page */
.brush-2 {
    width: 80px;
    top: 60%;
    left: 7%;
    transform: rotate(25deg);
}

/* Hero — top-right */
.brush-3 {
    width: 70px;
    top: 3%;
    right: 8%;
    transform: rotate(-120deg);
}

/* Hero — bottom-left */
.brush-4 {
    width: 80px;
    bottom: 0%;
    left: 2%;
    transform: rotate(20deg);
}

/* Hero — bottom-right */
.brush-5 {
    width: 230px;
    bottom: 5%;
    right: 3%;
    transform: rotate(0deg);
}

/* Below filters */
.brush-6 {
    width: 40px;
    bottom: -1530px;
    right: 5%;
    transform: scaleX(-1) rotate(130deg);
}

/* Above CTA in portfolio section */
.brush-7 {
    width: 75px;
    position: absolute;
    bottom: 80px;
    left: 6%;
    transform: scaleX(-1) rotate(-25deg);
}

/* Testimonials section */
.brush-8 {
    width: 68px;
    top: 240px;
    right: calc(3% + 200px);
    transform: scaleX(-1) rotate(70deg);
    z-index: 0;
}

@media (max-width: 768px) {
    .brush-1,
    .brush-2,
    .brush-3,
    .brush-4 { width: 50px; }

    .brush-5 { width: 120px; }

    .brush-6 { width: 25px; }

    .brush-7 { width: 45px; }

    .brush-8 { width: 40px; }
}

.creations-filters {
    padding: 0 0 60px;
    position: relative;
}

.creations-filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.creations-filter {
    background: none;
    border: none;
    font-family: var(--font-secondary);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--text-disabled);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.creations-filter:hover,
.creations-filter.active {
    color: var(--text-heading);
}

.creations-portfolio {
    padding: 0 0 80px;
    position: relative;
}

.deco-paint {
    position: absolute;
    top: 75%;
    left: 7%;
    width: 180px;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
    transform: rotate(15deg);
}

body.dark .deco-paint {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

.creations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

.creations-card {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.creations-card.hidden {
    display: none;
}

.creations-card.stagger-offset {
    margin-top: 80px;
}

.creations-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    margin-bottom: 16px;
}

.creations-card-image,
.services-portfolio-image {
    overflow: hidden;
}

.creations-card-image img,
.services-portfolio-image img,
.projet-cover-image img,
.projet-gallery-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creations-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.creations-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.creations-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.creations-card p {
    color: var(--text-faint);
    font-size: 0.9rem;
}

/* Creations Stats Strip */
.creations-stats {
    padding: 80px 0;
    background: transparent;
}

.creations-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.creations-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.creations-stat-number {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.creations-stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.creations-cta {
    text-align: center;
    padding: 20px 0 0;
}

/* ===== PROJECT PAGE ===== */
/* ===== PROJECT PAGE ===== */
.projet-hero {
    padding: 180px 0 60px;
}

.projet-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 40px;
    transition: color var(--duration-normal) var(--ease-default);
}

.projet-back:hover {
    color: var(--green);
}

.projet-hero h1 {
    font-family: var(--font-secondary);
    font-size: var(--text-h1);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
}

.projet-tags {
    display: flex;
    gap: 10px;
}

.projet-tags .tag {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

body.dark .projet-tags .tag {
    border-color: rgba(255, 255, 255, 0.12);
}

.projet-cover {
    padding: 0 0 var(--space-lg);
}

.projet-cover-image {
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.projet-details {
    padding: var(--space-lg) 0 var(--space-section);
}

.projet-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.projet-info h2 {
    font-family: var(--font-secondary);
    font-size: var(--text-h3);
    font-weight: 700;
    margin-bottom: 24px;
}

.projet-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.projet-meta {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-secondary);
}

body.dark .projet-meta {
    border-color: rgba(255, 255, 255, 0.06);
    background: var(--gray-900);
}

.projet-meta-item h4 {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.projet-meta-item p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.projet-meta-item a {
    color: var(--green);
    text-decoration: none;
    transition: opacity var(--duration-fast) var(--ease-default);
}

.projet-meta-item a:hover {
    opacity: 0.8;
}

.projet-gallery {
    padding: 0 0 var(--space-section);
}

.projet-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.projet-gallery-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.projet-gallery-full {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}

/* ===== CONTACT SECTION ===== */
/* ===== CONTACT PAGE ===== */
.contact-hero {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
}

.contact-hero-text {
    font-size: var(--text-body);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-methods {
    padding: 0 0 var(--space-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-secondary);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-default);
}

body.dark .contact-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: var(--gray-900);
}

.contact-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.dark .contact-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-card-whatsapp:hover {
    border-color: var(--whatsapp);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--green);
    background: rgba(126, 217, 87, 0.1);
}

.contact-card-whatsapp .contact-card-icon {
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.1);
}

.contact-card h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.contact-card-detail {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-whatsapp .contact-card-action {
    color: var(--whatsapp);
}

.contact-info-section {
    padding: 0 0 var(--space-section);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-item h4 {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Contact page decorations */
.contact-deco-phone {
    position: absolute;
    bottom: -40px;
    right: 6%;
    width: clamp(120px, 15.125vw, 220px);
    pointer-events: none;
    z-index: 1;
}

.deco-phone-img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    transform: rotate(12deg);
}

body.dark .deco-phone-img {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

.deco-doodle {
    position: absolute;
    pointer-events: none;
    opacity: 0.7;
}

.deco-doodle-1 {
    top: -30px;
    right: -20px;
    width: 36.36%;
    height: auto;
}

.deco-doodle-2 {
    bottom: 20px;
    left: -25px;
    width: 12.73%;
    height: auto;
}

.deco-doodle-3 {
    top: 10%;
    left: -40px;
    width: 22.73%;
    height: auto;
    transform: rotate(-15deg);
}

.deco-doodle-4 {
    bottom: -20px;
    right: -30px;
    width: 19.09%;
    height: auto;
    transform: rotate(20deg);
}

.deco-doodle-5 {
    top: -50px;
    left: 30%;
    width: 15.91%;
    height: auto;
    transform: rotate(-8deg);
}

@media (max-width: 768px) {
    .contact-deco-phone,
    .contact-hero .deco-doodle {
        display: none;
    }
}

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

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== AGENCY PAGE ===== */
.agency-hero {
    padding: 120px 0 60px;
    text-align: center;
    min-height: min(100vh, 1032px);
    min-height: min(100svh, 1032px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.deco-print {
    position: absolute;
    top: 40px;
    right: 3%;
    width: 200px;
    pointer-events: none;
    z-index: 1;
    rotate: 7deg;
}

.deco-print-img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    opacity: 0.8;
    display: block;
}

.print-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.deco-bougainvillea {
    position: absolute;
    bottom: 50%;
    left: 6%;
    width: 180px;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
    z-index: 0;
}

.deco-hand2 {
    position: absolute;
    bottom: 27%;
    left: 0%;
    width: 220px;
    height: auto;
    filter: grayscale(100%) brightness(1.3) contrast(1.1);
    pointer-events: none;
    z-index: 1;
    transform: rotate(30deg);
}

@media (max-width: 768px) {
    .hero.agency-hero,
    .hero.services-hero,
    .hero.creations-hero {
        min-height: min(100svh, 1032px);
        box-sizing: border-box;
        padding-block: 90px 138px;
    }
    .agency-hero .deco-bougainvillea-top {
        display: block;
        width: 140px;
        right: 2%;
        bottom: 8%;
    }
}

.agency-hero .hero-title {
    max-width: none;
    margin: 0 auto;
}

.agency-hero .section-subtitle {
    margin: 24px auto 0;
    text-align: center;
    max-width: 540px;
}

.agency-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green);
    margin-bottom: 20px;
}

.deco-bougainvillea-top {
    position: absolute;
    bottom: 8%;
    right: 2%;
    width: 220px;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
    z-index: 1;
}

/* Approach */
.agency-approach {
    padding: var(--section-padding);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.approach-text h2 {
    margin-bottom: 24px;
}

.approach-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.approach-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.approach-card {
    padding: 28px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.approach-number {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--green);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.approach-card h3 {
    margin-bottom: 8px;
}

.approach-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Agency Services */
.agency-services {
    padding: clamp(140px, 14vw, 220px) 0;
    background: var(--gray-950);
    color: var(--ds-text);
    position: relative;
    overflow: hidden;
}

.agency-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.agency-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.agency-service-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.agency-service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(126, 217, 87, 0.1);
    color: var(--ds-text-secondary);
}

.agency-service-item h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--ds-text-heading);
}

.agency-service-item p {
    color: var(--ds-text-faint);
    font-size: 0.9rem;
    line-height: 1.6;
}

.agency-services .section-subtitle {
    color: var(--ds-text-faint);
}

/* Team */
.agency-team {
    position: relative;
    padding: var(--section-padding);
}

.deco-hibiscus {
    position: absolute;
    top: 2%;
    left: 7%;
    transform: translateY(-50%);
    width: 280px;
    height: auto;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
    z-index: 1;
}

.agency-footer-decoration {
    position: relative;
    height: 0;
    z-index: 2;
    pointer-events: none;
}

.agency-footer-hibiscus {
    position: absolute;
    top: 0;
    left: 7%;
    width: clamp(120px, 22vw, 280px);
    height: auto;
    transform: translateY(-50%);
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    pointer-events: none;
}

body.dark .agency-footer-hibiscus {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

.agency-team-header {
    text-align: center;
    margin-bottom: 60px;
}

.agency-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-alt) 100%);
    margin: 0 auto 20px;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
/* ===== FOOTER CONVERSION ZONE ===== */
.footer-conversion.hidden {
    display: none;
}

.footer-conversion {
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-conversion-home {
    padding-bottom: 80px;
    margin-bottom: 80px;
}

.footer-conversion-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 24px;
}

.footer-conversion-title {
    font-family: var(--font-secondary);
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--ds-text-heading);
    margin-bottom: 12px;
}

.footer-conversion-subtitle {
    color: var(--ds-text-faint);
    font-size: 1rem;
    margin-bottom: 40px;
}

.footer-conversion-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: border-color var(--duration-normal) var(--ease-default), background var(--duration-normal) var(--ease-default);
}

.footer-cta:hover {
    border-color: var(--green);
    background: rgba(126, 217, 87, 0.05);
}

.footer-cta-whatsapp:hover {
    border-color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.05);
}

.footer-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ds-text);
    background: rgba(255, 255, 255, 0.06);
    transition: all var(--duration-normal) var(--ease-default);
}

.footer-cta-whatsapp:hover .footer-cta-icon {
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.1);
}

.footer-cta-email:hover .footer-cta-icon {
    color: var(--green);
    background: rgba(126, 217, 87, 0.1);
}

.footer-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.footer-cta-label {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ds-text-heading);
}

.footer-cta-detail {
    font-size: 0.85rem;
    color: var(--ds-text-faint);
}

.footer {
    background: var(--gray-950);
    color: var(--ds-text);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-fullscreen {
    min-height: min(100vh, 1032px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-fullscreen > .container {
    width: 100%;
}

.footer-glow {
    position: absolute;
    top: -120px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-brand .footer-logo {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.1;
}

.footer-brand .footer-logo .dot {
    color: var(--green);
}

.footer-brand small {
    color: var(--ds-text-faint);
    font-size: 0.85rem;
}

.footer-col h4 {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ds-text-heading);
}

.footer-col a {
    display: block;
    color: var(--ds-text-faint);
    font-size: 0.9rem;
    margin-bottom: 14px;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--ds-border);
}

.footer-col a:hover {
    color: var(--green);
    text-decoration-color: var(--green);
}

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

.footer-col-social a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ds-text-faint);
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.footer-col-social a:hover {
    color: var(--green);
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--ds-text-faint);
}

.footer-col-social a:hover .social-icon {
    border-color: var(--green);
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    color: var(--ds-text-muted);
    font-size: 0.85rem;
}

/* ===== MOBILE HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    transition: all 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .agency-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .trust-card {
        width: 220px;
        min-height: 280px;
        padding: 36px 24px;
    }

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

    .home-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* Home portfolio mosaic — 2 equal columns */
    .home-portfolio-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .home-portfolio-item.item-1,
    .home-portfolio-item.item-2,
    .home-portfolio-item.item-3,
    .home-portfolio-item.item-4 {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-conversion-actions {
        max-width: 600px;
    }

    .contact-grid {
        max-width: 700px;
    }

    .projet-grid {
        gap: 40px;
    }

    /* Decorative images — scale down on tablets */
    .deco-paint,
    .deco-print,
    .deco-bougainvillea,
    .deco-bougainvillea-top,
    .deco-hand2,
    .deco-hibiscus {
        width: 140px;
    }

    .hero-logos-track {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
        --section-padding: 60px 0;
    }

    .navbar-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 32px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .split-content,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-content.reverse {
        direction: ltr;
    }

    .testimonials-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .trust-fan {
        flex-direction: column;
        gap: 20px;
    }

    .trust-card-far-left,
    .trust-card-left,
    .trust-card-center,
    .trust-card-right,
    .trust-card-far-right {
        transform: none;
    }

    .trust-card {
        width: 100%;
        max-width: 320px;
        min-height: auto;
    }

    .home-portfolio-featured {
        grid-template-columns: 1fr;
    }

    .home-portfolio-featured-info {
        padding: 24px;
    }

    .home-portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .creations-card.stagger-offset {
        margin-top: 0;
    }

    .creations-stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .service-row {
        flex-direction: column;
        text-align: left;
    }

    .service-row-right {
        text-align: left;
    }

    .vision-layout {
        flex-direction: column;
        text-align: center;
    }

    .vision-pen {
        display: none;
    }

    .hero {
        padding: 140px 0 0;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-logo-item img {
        height: 22px;
    }

    .contact-hero {
        padding: 140px 0 60px;
    }

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

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-conversion-actions {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        justify-content: center;
    }

    .services-hero-image {
        display: none;
    }

    /* Home portfolio mosaic — single column */
    .home-portfolio-mosaic {
        grid-template-columns: 1fr;
    }

    /* Service card sticky — remove min-height on mobile */
    .service-card {
        min-height: auto;
        padding: 80px 0 60px;
    }

    /* Hide decorative images on mobile */
    .deco-paint,
    .deco-print,
    .deco-bougainvillea,
    .deco-bougainvillea-top,
    .deco-hand2,
    .deco-hibiscus,
    .deco-doodle {
        display: none;
    }

    /* Fixed image heights — use auto */
    .hero-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .service-detail-visual {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .portfolio-card-image {
        height: 180px;
    }

    /* Logo track gap */
    .hero-logos-track {
        gap: 40px;
    }

    /* Footer logo — scale down */
    .footer-brand .footer-logo {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .projet-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projet-gallery-grid {
        grid-template-columns: 1fr;
    }

    .projet-gallery-full {
        grid-column: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .agency-team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* ===== DARK MODE ===== */
body.dark {
    /* Semantic overrides — no gray inversion needed */
    --bg-primary: var(--gray-950);
    --bg-secondary: var(--gray-900);
    --bg-surface: var(--gray-900);
    --bg-alt: var(--gray-900);
    --bg-dark-section: var(--gray-950);
    --text-primary: var(--cream-50);
    --text-secondary: var(--cream-200);
    --text-heading: var(--cream-50);
    --text-muted: var(--cream-200);
    --text-faint: var(--cream-300);
    --text-disabled: var(--cream-400);
    --accent-warm: var(--cream-100);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    --glass-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.3);

    background: var(--gray-950);
    color: var(--cream-50);
}

/* -- Dark mode adjustments -- */
body.dark::after,
body.bg-dark::after {
    opacity: 0.02;
}

body.dark .glow::after {
    opacity: 0.4;
}

/* -- Navbar -- */
body.dark .navbar.scrolled {
    background: rgba(13, 13, 13, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* -- Hero -- */
body.dark .hero-logo-item img {
    filter: grayscale(100%) invert(1);
}

/* -- Portfolio -- */
body.dark .home-portfolio-featured {
    background: var(--gray-900);
}

body.dark .portfolio-card {
    border-color: var(--gray-800);
}

/* -- Trust (invert to cream in dark mode) -- */
body.dark .trust-card {
    background: var(--cream-100);
    color: var(--gray-900);
}

body.dark .trust-card h3 {
    color: var(--gray-900);
}

body.dark .trust-card p {
    color: var(--gray-700);
}

/* -- Testimonials -- */
body.dark .testimonial-card {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

body.dark .testimonial-card:hover {
    background: var(--glass-bg-hover);
}

/* -- Forms -- */
body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
    color: var(--cream-400);
}

/* -- Agency page -- */
body.dark .approach-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .approach-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

body.dark .team-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .team-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* -- Misc -- */
body.dark .btn-outline {
    border-color: var(--cream-50);
    color: var(--cream-50);
}

body.dark .btn-outline:hover {
    background: var(--cream-50);
    color: var(--gray-950);
}

body.dark .filter-tag {
    border-color: var(--gray-800);
    color: var(--cream-200);
}

/* -- Decorative images -- */
body.dark .pen-image,
body.dark .service-card-image > img:first-child,
body.dark .services-hero-image img:first-child,
body.dark .deco-print-img,
body.dark .deco-hand2,
body.dark .deco-bougainvillea,
body.dark .deco-bougainvillea-top,
body.dark .deco-hibiscus {
    filter: grayscale(100%) invert(1);
}

body.dark .butterfly-sm {
    filter: grayscale(100%) brightness(0.8) invert(1);
    opacity: 0.4;
}

body.dark .brush {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

/* -- Services stack cards -- */
body.dark .service-card {
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

body.dark .design-composition .comp-lady {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

body.dark .design-composition .comp-scribble {
    mix-blend-mode: screen;
}

body.dark .design-composition .comp-cursor {
    filter: invert(1);
}

body.dark .construction-composition .comp-worker {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

body.dark .construction-composition .comp-bricks,
body.dark .construction-composition .comp-scatter,
body.dark .construction-composition .comp-brick-mid,
body.dark .construction-composition .comp-brick-bot,
body.dark .construction-composition .comp-nails {
    filter: grayscale(100%) brightness(0.7) invert(1);
}

body.dark .construction-composition .comp-cursor {
    filter: invert(1);
}

/* Homepage responsive composition */
.testimonials-carousel-shell { position: relative; padding-inline: 56px; }
.testimonials-grid.testimonials-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding: 12px 4px 24px;
}
.testimonials-carousel::-webkit-scrollbar { display: none; }
.testimonials-carousel .testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    overflow-wrap: anywhere;
}
.testimonial-avatar { overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-controls:not([hidden]) { display: block; }
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    background: var(--bg-surface);
    color: var(--text-heading);
    font-size: 1.4rem;
    cursor: pointer;
}
.testimonial-arrow[data-testimonial-direction="-1"] { left: 0; }
.testimonial-arrow[data-testimonial-direction="1"] { right: 0; }
.testimonial-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 1024px) {
    .testimonials-carousel .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
    .testimonials-carousel-shell { padding-inline: 44px; }
    .testimonial-arrow { width: 40px; height: 44px; }
    .testimonials-carousel .testimonial-card { flex-basis: 100%; }
}
.navbar-mobile-contact { display: none; }
.vision-section .container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-right: clamp(40px, 24vw, 320px);
}
.home-portfolio-item:focus-visible .home-portfolio-item-overlay { opacity: 1; }
.hamburger, .darkmode-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
.footer-cta-text { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 1199px) {
    .page-home .trust-fan {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
    }
    .page-home .trust-card {
        width: auto;
        max-width: none;
        height: auto;
        min-height: 0;
        padding: 32px 24px;
    }
    .page-home .trust-card:last-child { grid-column: 1 / -1; }
    .vision-section .container { padding-right: 240px; }
}

@media (max-width: 1024px) {
    .navbar-mobile-contact { display: block; }
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }
    .navbar-links.open { display: flex; }
    .navbar-links a { padding: 12px; }
    .navbar.navbar-on-dark .navbar-links a { color: var(--text-heading); }
    .navbar.navbar-on-dark .navbar-links a.active { color: var(--green); }
    .hamburger { display: flex; }
    .navbar-right { gap: 12px; }
    .vision-pen { width: 180px; }
    .pen-image { width: 160px; }
    .hero-logos-strip { width: 85%; }
}

@media (max-width: 768px) {
    .page-home .hero-home { min-height: min(100svh, 1032px); padding-top: 112px; }
    .hero-home .container { width: 100%; padding-bottom: 32px; }
    .hero-home .hero-title { font-size: clamp(1.85rem, 7.5vw, 3rem); }
    .hero-home .hero-title span[style] { white-space: normal !important; }
    .hero-subtitle br, .vision-tagline br,
    .services-dark-header br, .testimonials-header br { display: none; }
    .hero-logos-strip { width: 100%; padding: 24px 0 32px; }
    .page-home .vision-section,
    .page-home .trust-section,
    .page-home .testimonials-section,
    .page-home .footer-fullscreen { min-height: 0; }
    .page-home .vision-section,
    .page-home .testimonials-section { padding: 60px 0; }
    .vision-section .container { padding: var(--container-padding); }
    .vision-section p:first-child { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 24px; }
    .vision-section p:last-of-type { font-size: clamp(1.35rem, 5vw, 1.8rem); }
    .services-dark-header { margin-bottom: 40px; }
    .services-dark-list { gap: 40px; }
    .service-row { gap: 12px; }
    .service-row-right .service-row-icon { order: -1; }
    .home-portfolio { margin-top: 0; }
    .home-portfolio-header, .trust-header, .testimonials-header { margin-bottom: 32px; }
    .page-home .trust-fan { grid-template-columns: 1fr; gap: 16px; }
    .trust-stage { padding: 0; }
    .trust-tagline { padding-top: 32px; }
    .testimonial-card { padding: 28px 24px; }
    .page-home .footer { padding-top: 60px; }
    .footer-cta { padding: 20px; justify-content: flex-start; }
    .navbar-right { gap: 4px; }
    .navbar-right > .btn { display: none; }
}

@media (hover: none), (pointer: coarse) {
    .home-portfolio-item-overlay {
        position: static;
        opacity: 1;
        background: var(--bg-surface);
        padding: 20px;
    }
    .home-portfolio-item-image { aspect-ratio: auto; }
    .home-portfolio-item-image > img { display: block; height: auto; aspect-ratio: 3 / 2; }
    .home-portfolio-item-overlay h3 { color: var(--text-heading); }
    .home-portfolio-item-overlay p { color: var(--text-secondary); }
    .home-portfolio-tags .tag { background: var(--bg-alt); color: var(--text-heading); }
}

@media (max-width: 1024px) {
    .navbar-links .navbar-mobile-contact { display: block; }
}

/* Testimonial carousel — editorial cards and floating side controls */
.page-home .testimonials-header .section-subtitle { max-width: 640px; margin-inline: auto; }
.testimonials-carousel-shell { padding-inline: 60px; }
.testimonials-grid.testimonials-carousel { padding-block: 16px 24px; align-items: stretch; }
.testimonials-carousel .testimonial-card {
    position: relative;
    border-radius: 24px;
    padding: clamp(24px, 3vw, 36px);
    gap: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    backdrop-filter: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.testimonials-carousel .testimonial-card:hover,
body.dark .testimonials-carousel .testimonial-card:hover {
    background: var(--bg-surface);
    border-color: var(--green);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}
.testimonial-mark {
    font-family: var(--font-tertiary);
    color: var(--green);
    font-size: 5rem;
    line-height: .75;
    height: 42px;
    display: block;
    user-select: none;
}
.testimonials-carousel .testimonial-quote {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.35;
    letter-spacing: -.025em;
    margin: 0;
}
.testimonials-carousel .testimonial-text {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}
.testimonials-carousel .testimonial-author .testimonial-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--text-heading);
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    font-family: var(--font-secondary);
    font-weight: 700;
}
.testimonials-carousel .testimonial-author-name { margin: 0; font-size: .9rem; line-height: 1.4; }
.testimonial-arrow {
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-color: var(--glass-border);
    background: var(--bg-surface);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.testimonial-arrow {
    background: linear-gradient(145deg, rgba(255,255,255,.65), rgba(255,255,255,.18));
    border: 1px solid rgba(255,255,255,.7);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 4px 18px rgba(0,0,0,.12);
}
.testimonial-arrow svg { width: 20px; height: 20px; }
.testimonial-arrow:not(:disabled):hover {
    background: linear-gradient(145deg, rgba(126, 217, 87,.4), rgba(255,255,255,.22));
    color: var(--text-heading);
    border-color: var(--green);
}
.testimonial-arrow:disabled { opacity: .4; }
body.dark .testimonial-arrow {
    background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
    border-color: rgba(255,255,255,.25);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.2), 0 4px 18px rgba(0,0,0,.25);
}
@media (max-width: 768px) {
    .testimonials-carousel-shell { padding-inline: 16px; }
    .testimonials-carousel .testimonial-card { padding: 28px; }
    .testimonial-arrow[data-testimonial-direction="-1"] { left: -6px; }
    .testimonial-arrow[data-testimonial-direction="1"] { right: -6px; }
}

/* Contact cards: one label line and one contact-detail line. */
.footer-conversion-actions { max-width: 800px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-cta { padding: 24px 20px; gap: 12px; }
.footer-cta-label { white-space: nowrap; font-size: .9rem; }
.footer-cta-detail { white-space: nowrap; font-size: .8rem; }
@media (max-width: 768px) {
    .footer-conversion-actions { grid-template-columns: 1fr; max-width: 420px; }
    .footer-cta { padding: 20px 16px; }
    .footer-cta-icon { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
    .footer-cta { flex-direction: column; gap: 12px; }
    .footer-cta-text { text-align: center; }
}

.footer-content .footer-brand { align-self: center; }
.footer-content .footer-col-social:empty { display: none; }
.footer-content .footer-col-social:not(:has(a)) { display: none; }

.footer-content { margin-bottom: 24px; }
.footer-col > a:last-child { margin-bottom: 0; }

/* Equal spacing between the footer columns and their divider lines. */
.footer { --footer-divider-gap: 40px; }
.footer-conversion, .footer-conversion-home { margin-bottom: var(--footer-divider-gap); }
.footer-content { margin-bottom: var(--footer-divider-gap); }

.footer-fullscreen { justify-content: flex-end; padding-bottom: 24px; }
/* Fit the footer to its content when the contact CTA is omitted. */
.footer-fullscreen:has(.footer-conversion.hidden) {
    min-height: 0;
    padding-top: 40px;
}

.footer { --footer-divider-gap: 70px; }

/* Inner spacing at the top and bottom of the footer columns. */
.footer { --footer-divider-gap: 40px; }
.footer-content { padding-block: 30px; }

/* Keep the fingerprint and its squares behind the trust content. */
.trust-section { isolation: isolate; }
.trust-section > .deco-print { z-index: 0; }
.trust-section > .container { position: relative; z-index: 1; }
.deco-print-img { position: relative; z-index: 0; }
.print-dots { z-index: 1; }

@media (max-width: 768px) {
    .page-home .trust-fan .trust-card-far-right { display: none; }
}

@media (max-width: 1199px) {
    .page-home .trust-fan .trust-card-far-right { display: none; }
}

/* Keep the home hero fluid across the tablet breakpoint. */
.page-home .hero-home {
    min-height: min(100svh, 1032px);
    padding-top: clamp(112px, 15vw, 180px);
}
.hero-home .hero-title { font-size: clamp(1.85rem, 6vw, 5rem); }
.hero-home .container { width: 100%; padding-bottom: clamp(32px, 5vh, 64px); }
@media (max-width: 1024px) {
    .hero-home .hero-title { font-size: clamp(1.85rem, 6vw, 5rem); }
    .hero-home .hero-logos-strip { width: 100%; padding: 24px 0 32px; }
    .hero-home .hero-logo-item img { height: 22px; }
    .hero-home .hero-logos-track { gap: 40px; }
    .hero-home .hero-subtitle br { display: none; }
}

.hero-home .hero-logo-item img {
    height: clamp(38px, calc(78px - 3.125vw), 46px);
}
@media (max-width: 1024px) {
    .hero-home .hero-logo-item img { height: 30px; }
    .hero-home .hero-logos-track { gap: 20px; }
}
@media (max-width: 768px) {
    .hero-home .hero-logo-item img {
        height: 24px;
    }
}

/* Preserve the home brush size across the mobile breakpoint. */
.hero-home .brush-2 { width: 80px; }

@media (max-width: 480px) {
    .hero-home .brush-2 { width: 60px; left: calc(7% - 30px); }
}

@media (max-width: 768px) {
    .footer-content { text-align: center; justify-items: center; }
    .footer-content .footer-col-social { align-items: center; }
}

/* Retain hero illustrations on phones without covering the copy. */
@media (max-width: 768px) {
    .services-hero .services-hero-image {
        display: block;
        left: 20px;
        bottom: 46px;
    }
    .services-hero .services-hero-image img:first-child {
        width: clamp(156px, 28.8vw, 216px);
    }
    .services-hero .butterfly-curl {
        width: 80px;
        left: -20px;
        bottom: -40px;
    }
    .contact-hero {
        min-height: min(100vh, 1032px);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 180px;
    }
    .contact-hero > .container {
        width: 100%;
        text-align: center;
    }
    .contact-hero .contact-deco-phone {
        display: block;
        left: 50%;
        right: auto;
        translate: -50% 0;
        bottom: 56px;
    }
    .contact-hero .contact-deco-phone .deco-doodle {
        display: block;
    }
}

.contact-card.contact-card-animated {
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.contact-card.contact-card-animated:hover {
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .contact-card:hover { transform: none; }
}

.navbar .navbar-links a.navbar-mobile-contact {
    color: var(--green);
}

/* The services portfolio keeps its desktop grid and becomes a phone carousel. */
.services-portfolio-carousel { position: relative; }
.services-portfolio-controls { display: none; }
@media (max-width: 768px) {
    .services-portfolio-carousel { padding-inline: 16px; }
    .services-portfolio-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .services-portfolio-grid::-webkit-scrollbar { display: none; }
    .services-portfolio-card { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
    .services-portfolio-controls:not([hidden]) { display: block; }
}

/* Keep the creations feedback brush above and behind the copy. */
.testimonials-light { isolation: isolate; }
.testimonials-light > .brush-8 { top: -60px; z-index: 0; }
.testimonials-light::before { display: none; }
.testimonials-light > .container { position: relative; z-index: 2; }

/* Layer the left hero brush beneath the creations copy. */
.creations-hero { isolation: isolate; }
.creations-hero > .brush-4 { z-index: 0; }
.creations-hero > .container { position: relative; z-index: 2; }

.creations-hero > .brush-3 { top: calc(3% - 80px); }

/* Fullscreen sections stop growing once the viewport exceeds 1032px. */
@media (min-height: 1033px) {
    .services-hero,
    .services-dark-section,
    .service-card,
    .hero-home,
    .page-home .hero-home,
    .vision-section,
    .services-section-dark,
    .trust-section,
    .testimonials-section,
    .creations-hero,
    .agency-hero,
    .hero.agency-hero,
    .hero.services-hero,
    .hero.creations-hero,
    .footer-fullscreen:not(:has(.footer-conversion.hidden)) {
        height: 1032px;
        min-height: 1032px;
    }
}
@media (min-height: 1033px) and (max-width: 768px) {
    .contact-hero { height: 1032px; min-height: 1032px; }
    .service-card { height: auto; min-height: auto; }
    .page-home .footer-fullscreen { height: auto; min-height: 0; }
}
/* Centered footer with an oversized animated signature. */
.footer.footer-redesign {
    background: #0c0d0b;
    color: #efeee8;
    padding: clamp(64px, 7vh, 100px) 0 24px;
    justify-content: center;
}
.footer-redesign > .container { max-width: 1440px; width: 90%; }
.footer-redesign .footer-glow { opacity: .35; }
.footer-redesign .footer-conversion {
    text-align: center; padding-bottom: clamp(56px, 6vh, 80px);
    margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-redesign .footer-conversion-title {
    font-size: clamp(2rem, 3.3vw, 3.6rem); letter-spacing: -.04em; color: #efeee8;
}
.footer-redesign .footer-conversion-subtitle { color: #96988f; margin-top: 24px; }
.footer-redesign .footer-conversion-actions { margin: 48px auto 0; max-width: 960px; }
.footer-redesign .footer-cta {
    text-align: left; padding: 24px; border: 1px solid rgba(255,255,255,.12);
    background: transparent; border-radius: 18px; color: #efeee8;
    transition: border-color .3s, background .3s, transform .3s;
}
.footer-redesign .footer-cta:hover { border-color: var(--green); background: rgba(126, 217, 87,.04); transform: translateY(-3px); }
.footer-redesign .footer-cta-icon { background: #1b1d18; color: #efeee8; border-radius: 50%; }
.footer-redesign .footer-cta-detail { color: #96988f; }
.footer-redesign .footer-content {
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    padding: 72px 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-redesign .footer-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(28px, 5vw, 84px); width: 100%; }
.footer-redesign .footer-pages h4 { width: 100%; text-align: center; margin: 0 0 12px; color: #efeee8; font-size: .75rem; }
.footer-redesign .footer-pages a { margin: 0; color: #96988f; font-size: .95rem; }
.footer-redesign .footer-pages a:hover { color: var(--green); }
.footer-redesign .footer-col-social { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-redesign .footer-wordmark {
    display: block; width: 100%; text-align: center; overflow: hidden; container-type: inline-size;
    padding-top: clamp(28px, 4vh, 56px); padding-bottom: 12px; color: #efeee8;
}
.footer-wordmark-text {
    display: inline-flex; white-space: nowrap; font-family: var(--font-secondary);
    font-size: min(21cqw, 288px); font-weight: 800; letter-spacing: -.065em; line-height: 1.05;
}
.footer-wordmark-text > span { display: inline-block; }
.footer-wordmark-dot { color: var(--green); transform-origin: 50% 75%; }
.footer-wordmark.is-visible .footer-wordmark-text > span {
    animation: footer-letter-reveal 1.1s cubic-bezier(.16,1,.3,1) both;
    animation-delay: calc(var(--letter-index, 0) * 55ms);
}
.footer-wordmark.is-visible .footer-wordmark-text > .footer-wordmark-dot {
    animation: footer-letter-reveal 1.1s cubic-bezier(.16,1,.3,1) .275s both, footer-dot-breathe 4s ease-in-out 1.5s infinite;
}
@keyframes footer-letter-reveal {
    from { transform: translateY(110%) rotate(5deg); opacity: 0; }
    to { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes footer-dot-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
.footer-redesign .footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
    padding-top: 20px; border-top: 0; color: #96988f; font-size: .75rem;
}
.footer-back-top { display: inline-flex; align-items: center; gap: 12px; }
.footer-back-top:hover { color: var(--green); }
@media (max-width: 768px) {
    .footer.footer-redesign { height: auto; min-height: 0; padding-top: 60px; }
    .footer-redesign .footer-conversion-actions { grid-template-columns: 1fr; max-width: 440px; }
    .footer-redesign .footer-cta { flex-direction: row; text-align: left; }
    .footer-redesign .footer-cta-text { text-align: left; }
    .footer-redesign .footer-cta-label, .footer-redesign .footer-cta-detail { white-space: normal; }
    .footer-redesign .footer-pages { gap: 20px 28px; }
    .footer-redesign .footer-content { padding-block: 48px; }
    .footer-wordmark-text { font-size: min(21cqw, 288px); }
    .footer-redesign .footer-bottom { justify-content: center; font-size: .7rem; }
    .footer-redesign .footer-bottom > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .footer-wordmark.is-visible .footer-wordmark-text > span,
    .footer-wordmark.is-visible .footer-wordmark-text > .footer-wordmark-dot { animation: none; }
    .footer-redesign .footer-cta { transition: none; }
}@media (max-width: 768px) {
    .footer.footer-redesign.footer-fullscreen:not(:has(.footer-conversion.hidden)) {
        height: auto;
        min-height: 0;
    }
}
/* Green separators replace underlines in footer navigation. */
.footer-redesign .footer-pages { --footer-link-gap: clamp(28px, 5vw, 84px); column-gap: var(--footer-link-gap); }
.footer-redesign .footer-pages a { position: relative; text-decoration: none; }
.footer-redesign .footer-pages a + a::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    top: 50%;
    left: calc(var(--footer-link-gap) / -2);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .footer-redesign .footer-pages { --footer-link-gap: 28px; }
}
.footer-letter-hover { display: inline-block; transform-origin: 50% 75%; }
.footer-redesign .footer-wordmark:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }

.footer-redesign .footer-wordmark { opacity: 1; }

.footer-redesign .footer-conversion-title { opacity: 1; }

@media (max-width: 768px) {
    .footer-redesign > .container { padding-inline: 0; }
}

/* End the page on the wordmark, cropped into the bottom edge. */
.footer.footer-redesign { padding-bottom: 0; justify-content: flex-end; }
.footer-redesign > .container { display: flex; flex-direction: column; flex: 1; }
.footer-redesign .footer-bottom { padding-block: 28px; }
.footer-redesign .footer-wordmark { margin-top: auto; padding-bottom: 0; }
.footer-redesign .footer-wordmark-text { line-height: 0.8; }
.footer-redesign .footer-wordmark-text { position: relative; top: 20px; }

/* Center the upper footer as one group in the space above the signature. */
.footer.footer-redesign { padding-top: 0; }
.footer-redesign .footer-upper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 48px;
}
.footer-redesign .footer-wordmark { margin-top: 0; padding-top: 0; flex-shrink: 0; }
@media (max-width: 768px) {
    .footer-redesign .footer-upper { padding-block: 48px 32px; }
}

/* Separators remain green while the platform logos keep their muted treatment. */
.hero-home .hero-logos-track { gap: 40px; }
.hero-logo-separator { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .5; }
@media (min-width: 1025px) {
    .hero-home .hero-logos-strip { position: relative; top: 15px; }
}
@media (max-width: 1024px) {
    .hero-home .hero-logos-track { gap: 20px; }
}
/* Surreal service collages: preserve green accents and photographic tones. */
.service-surreal-composition { width: 100%; max-width: 440px; }
.service-surreal-composition img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
body.dark .service-surreal-composition img { mix-blend-mode: normal; border-radius: 12px; }
@media (max-width: 768px) { .service-surreal-composition { max-width: 360px; margin-inline: auto; } }

/* Maintenance: independent transparent assets retain the green stitching. */
.maintenance-composition {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    pointer-events: auto;
}
.maintenance-composition img {
    pointer-events: none;
    position: absolute;
    display: block;
    height: auto;
    object-fit: contain;
}
.maintenance-cloud { width: 32%; top: 2%; left: 28%; z-index: 0; }
.maintenance-circle { width: 36%; top: 9%; left: 9%; z-index: 1; }
.maintenance-hands { width: 100%; top: 0; left: 0; z-index: 2; }
.maintenance-refresh { width: 25%; top: 9%; right: 7%; z-index: 3; }
.maintenance-heartbeat { width: 30%; top: 72%; left: 48%; z-index: 3; }
@media (max-width: 768px) {
    .maintenance-composition { max-width: 360px; margin-inline: auto; }
}

/* The second webpage sits beneath the repaired page, behind its green thread. */
.maintenance-composition { aspect-ratio: 4 / 5; }
.maintenance-webpage { width: 52%; top: 58%; left: 20%; z-index: 1; }
.maintenance-heartbeat { top: 62%; left: 63%; width: 25%; }

/* Development: transparent portrait and staircase collage. */
.development-composition { width: 100%; max-width: 400px; }
.development-composition img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; object-position: left top; }
@media (max-width: 768px) { .development-composition { max-width: 340px; margin-inline: auto; } }

/* Independent development collage layers. Percentages keep the arrangement responsive. */
.development-layered { position: relative; isolation: isolate; aspect-ratio: 819 / 1064; pointer-events: none; }
.development-layered img { position: absolute; display: block; height: auto; max-height: none; object-fit: contain; }
.development-layered .dev-landscape { width: 39%; left: 14%; top: 43%; z-index: 0; }
.development-layered .dev-semicircle { width: 43%; left: 12%; top: 37%; z-index: 4; }
.development-layered .dev-stairs { width: 35%; left: 39%; top: 5%; z-index: 2; }
.development-layered .dev-portrait { width: 75%; left: 14%; top: 36%; z-index: 3; }
.development-layered .dev-page-top { width: 30%; left: 43%; top: 0; z-index: 5; }
.development-layered .dev-page-middle { width: 42%; left: 52%; top: 18%; z-index: 5; }
.development-layered .dev-page-lower { width: 44%; left: 23%; top: 24%; z-index: 5; }
.development-layered .dev-cursor { width: 32%; left: 72%; top: 24%; z-index: 6; }

body.dark .development-layered .dev-portrait,
body.dark .maintenance-composition .maintenance-hands {
    filter: grayscale(100%) brightness(0.8) invert(1);
}

/* Homepage title shares the footer signature's staggered letter motion. */
.animated-hero-title .hero-word { display: inline-block; white-space: nowrap; }
.animated-hero-title .hero-letter,
.animated-hero-title .hero-letter > span { display: inline-block; }
.hero-home .hero-title.is-visible .hero-letter {
    animation: footer-letter-reveal 1.1s cubic-bezier(.16,1,.3,1) both;
    animation-delay: calc(var(--letter-index, 0) * 35ms);
}
@media (prefers-reduced-motion: reduce) {
    .hero-home .hero-title.is-visible .hero-letter { animation: none; }
}
/* Service details adapt to tablet and phone reading widths. */
@media (max-width: 1024px) {
    .services-stack .service-card {
        position: relative;
        min-height: 0;
        padding: 64px 0;
        border-top: 1px solid var(--cream-200);
    }
    .services-stack .service-card-title {
        font-size: clamp(1.7rem, 4vw, 2.4rem);
        margin-bottom: 32px;
        overflow-wrap: break-word;
    }
    .services-stack .service-card-content { gap: 32px; }
    .services-stack .service-card-content > * { min-width: 0; }
    .services-stack .service-card-list { margin-top: 24px; }
    .services-stack .service-card-list li { padding: 16px 0; line-height: 1.5; }
}
@media (max-width: 900px) {
    .services-stack .service-card-content { grid-template-columns: 1fr; gap: 32px; }
    .services-stack .service-card-image { width: 100%; padding-top: 16px; }
    .services-stack .design-composition,
    .services-stack .development-composition,
    .services-stack .maintenance-composition {
        width: min(76%, 280px);
        margin-inline: auto;
    }
    .services-stack .service-card-text { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 480px) {
    .services-stack .service-card { padding: 44px 0; }
    .services-stack .service-card-title { margin-bottom: 20px; }
    .services-stack .service-card-content { gap: 24px; }
    .services-stack .design-composition,
    .services-stack .development-composition,
    .services-stack .maintenance-composition { width: min(78%, 220px); }
    .services-stack .service-card-text p,
    .services-stack .service-card-list li { font-size: .9rem; }
}
/* Short laptop viewports must scroll the complete card before the next section. */
@media (min-width: 1025px) and (max-height: 750px) {
    .services-stack .service-card {
        position: relative;
        height: auto;
        min-height: 0;
        padding: 72px 0 56px;
    }
    .services-stack .service-card-title { margin-bottom: 32px; }
    .services-stack .service-card-list { margin-top: 24px; }
    .services-stack .service-card-list li { padding: 14px 0; }
}
/* Development contrasts with the adjoining light service cards. */
.services-stack .service-card-development {
    background: var(--gray-950);
    color: var(--cream-50);
    --text-muted: var(--cream-200);
    --text-secondary: var(--cream-200);
}
.service-card-development .service-card-title { color: var(--cream-50); }
.service-card-development .service-card-list li { border-color: rgba(255,255,255,.16); }
@media (min-width: 901px) {
    .service-card-development .service-card-text { grid-column: 1; grid-row: 1; }
    .service-card-development .service-card-image { grid-column: 2; grid-row: 1; }
    .service-card-development .development-composition { margin-left: auto; }
}
/* Dark theme: distinct surfaces, calmer accents, and readable text hierarchy. */
body.dark {
    --bg-primary: #111310;
    --bg-secondary: #171A15;
    --bg-surface: #20241D;
    --bg-alt: #292F25;
    --bg-dark-section: #111310;
    --text-primary: #F5F3ED;
    --text-heading: #F5F3ED;
    --text-secondary: #C8CCC3;
    --text-muted: #A5AC9E;
    --text-faint: #A5AC9E;
    --text-disabled: #828B7A;
    --dark-border: #363D31;
    --glass-bg: #20241D;
    --glass-bg-hover: #292F25;
    --glass-border: var(--dark-border);
    --ds-text: #F5F3ED;
    --ds-text-heading: #F5F3ED;
    --ds-text-secondary: #C8CCC3;
    --ds-text-muted: #A5AC9E;
    --ds-text-faint: #A5AC9E;
    background: var(--bg-primary);
    color: var(--text-primary);
}
body.dark.bg-dark { background-color: var(--bg-primary); }
body.dark .green-glow { opacity: .18; animation: none; filter: none; }
body.dark .glow::after { opacity: .15; }
body.dark .footer-redesign .footer-glow { opacity: .12; }
body.dark .navbar.scrolled,
body.dark .navbar.navbar-on-dark.scrolled {
    background: rgba(17, 19, 16, .96);
    border-bottom-color: var(--dark-border);
}
body.dark .trust-card,
body.dark .approach-card,
body.dark .team-card,
body.dark .contact-card,
body.dark .testimonials-carousel .testimonial-card {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--dark-border);
}
body.dark .trust-card h3 { color: var(--text-heading); }
body.dark .trust-card p { color: var(--text-secondary); }
body.dark .approach-number { opacity: 1; color: var(--green); }
body.dark .contact-card:hover { border-color: var(--green); background: var(--bg-alt); }
body.dark .tag,
body.dark .projet-tags .tag { color: #172112; }
body.dark .home-portfolio-tags .tag {
    background: #213319;
    color: #CBF0BC;
    border-color: #385D29;
    backdrop-filter: none;
}
body.dark .home-portfolio-item-overlay {
    background: linear-gradient(to top, rgba(17,19,16,.98), rgba(17,19,16,.82) 40%, transparent 100%);
}
body.dark .home-portfolio-item-overlay p { color: #E0E4DB; }
body.dark .services-stack .service-card {
    background: var(--bg-secondary);
    border-color: var(--dark-border);
}
body.dark .services-stack .service-card-development {
    background: var(--bg-primary);
    --text-secondary: #C8CCC3;
    --text-muted: #A5AC9E;
}
body.dark .services-stack .service-card::after { opacity: .3; }
body.dark .service-card-list li { border-color: var(--dark-border); }
body.dark .design-composition .comp-lady,
body.dark .development-layered .dev-portrait,
body.dark .maintenance-composition .maintenance-hands {
    filter: grayscale(100%) brightness(.9) contrast(1.1);
}
body.dark .services-hero-image img:first-child,
body.dark .deco-hand2,
body.dark .deco-phone-img { filter: grayscale(100%) brightness(.9) contrast(1.1); }
body.dark .agency-approach,
body.dark .projet-details { background: var(--bg-secondary); }
body.dark .footer.footer-redesign {
    background: #111310;
    color: var(--text-primary);
}
body.dark .footer-redesign .footer-conversion-subtitle,
body.dark .footer-redesign .footer-cta-detail,
body.dark .footer-redesign .footer-pages a,
body.dark .footer-redesign .footer-bottom { color: var(--text-muted); }
body.dark .footer-redesign .footer-pages a:hover { color: var(--green); }
body.dark .footer-redesign .footer-cta { background: var(--bg-secondary); border-color: var(--dark-border); }
body.dark .footer-redesign .footer-cta:hover { border-color: var(--green); background: var(--bg-surface); }
@media (hover: none), (pointer: coarse) {
    body.dark .home-portfolio-item-overlay { background: var(--bg-surface); }
}
body.dark .services-stack .service-card::before { opacity: .02; }
body.dark .design-composition .comp-scribble { mix-blend-mode: normal; }
/* Contact details sit in a padded panel instead of an abrupt full-width band. */
body.dark .contact-info-section { padding: 0 0 clamp(56px, 7vw, 96px); }
body.dark .contact-info-grid {
    background: var(--bg-secondary);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: clamp(28px, 4vw, 48px) 28px;
    gap: 28px;
    align-items: start;
}
body.dark .contact-info-item { min-width: 0; }
body.dark .contact-info-item h4 { color: var(--text-muted); margin-bottom: 12px; }
body.dark .contact-info-item p { color: var(--text-secondary); line-height: 1.65; }
@media (max-width: 768px) {
    body.dark .contact-info-grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
    body.dark .contact-info-item + .contact-info-item {
        border-top: 1px solid var(--dark-border);
        padding-top: 24px;
    }
}
/* Let the vision statement wrap as balanced lines rather than orphaning its ending. */
.vision-section .vision-tagline { text-wrap: balance; }
/* Reserve room for the pen beside the description, without narrowing the tagline. */
@media (min-width: 769px) {
    .vision-section .container { padding-inline: 40px; }
    .vision-section .vision-description { max-width: calc(100% - clamp(160px, 20vw, 280px)); }
}
@media (min-width: 1078px) {
    .vision-section .vision-tagline { font-size: clamp(2rem, 3.2vw, 2.6rem); }
}
/* Anchor the first ink point to the nib; JS moves the pen along the stroke. */
.vision-pen { --pen-width: 220px; pointer-events: none; }
.vision-pen .pen-image { width: var(--pen-width); }
.vision-pen .pen-squiggle {
    left: calc(100% - var(--pen-width) * .64 - 125px);
    top: calc(var(--pen-width) * 419 / 282 * .725);
    bottom: auto;
}
.squiggle-path { stroke-dasharray: none; stroke-dashoffset: 0; }
@media (max-width: 1024px) { .vision-pen { --pen-width: 160px; } }
/* Complete pen cutout: the nib is 14% across and 86% down its square canvas. */
.vision-pen { --pen-width: 360px; width: var(--pen-width); right: -36px; }
.vision-pen .pen-squiggle {
    left: calc(var(--pen-width) * .14 - 125px);
    top: calc(var(--pen-width) * .86);
}
@media (max-width: 1024px) {
    .vision-pen { --pen-width: 260px; right: -36px; }
}
@media (max-width: 768px) {
    .vision-pen { --pen-width: 210px; right: -20px; }
}

/* Crayon service drawings echo the pen's ink stroke. */
.services-dark-list .service-row-icon {
    width: 88px;
    height: 88px;
    color: var(--ds-text-heading);
}
.service-row-icon svg {
    width: 76px;
    height: 76px;
    overflow: visible;
    filter: url(#crayon);
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-row-icon .icon-accent { stroke: var(--green); }
.service-row-icon .icon-fill { fill: var(--green); stroke: none; }
.service-row-left .service-row-icon svg { transform: rotate(-5deg); }
.service-row-right .service-row-icon svg { transform: rotate(4deg); }
@media (max-width: 768px) {
    .services-dark-list .service-row-icon { width: 68px; height: 68px; }
    .service-row-icon svg { width: 60px; height: 60px; }
}

/* Sketches give each approach step a distinct visual cue. */
.approach-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.approach-card-heading .approach-number { margin-bottom: 0; opacity: 1; }
.approach-sketch { width: 64px; height: 64px; flex-shrink: 0; overflow: visible; stroke: var(--text-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#approach-crayon); transform: rotate(-4deg); }
.approach-sketch .sketch-accent { stroke: var(--green); }
.approach-card:nth-child(2) .approach-sketch { transform: rotate(4deg); }
@media (max-width: 768px) { .approach-sketch { width: 54px; height: 54px; } }

/* Contact sketches use the same crayon texture as the service drawings. */
.contact-card .contact-card-icon { width: 80px; height: 80px; background: transparent; border-radius: 0; color: var(--text-primary); }
.contact-card-icon svg { width: 72px; height: 72px; overflow: visible; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#contact-crayon); transform: rotate(-5deg); }
.contact-card-icon .sketch-accent { stroke: var(--green); }
.contact-card-whatsapp .contact-card-icon svg { transform: rotate(4deg); }
.contact-card-whatsapp .sketch-accent { stroke: var(--whatsapp); }
@media (max-width: 768px) { .contact-card .contact-card-icon { width: 68px; height: 68px; } .contact-card-icon svg { width: 60px; height: 60px; } }

/* Compact crayon drawings identify each service deliverable. */
.services-stack .service-card-list li { display: flex; align-items: center; gap: 16px; }
.services-stack .service-card-list li::before { content: none; }
.service-feature-sketch { width: 28px; height: 28px; flex: 0 0 28px; overflow: visible; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: url(#crayon); transform: rotate(-3deg); }
.service-feature-bicolor { stroke: var(--green); }
.service-feature-bicolor .sketch-accent { stroke: var(--text-primary); }
.service-card-development .service-feature-bicolor .sketch-accent { stroke: currentColor; }
.service-card-list li:nth-child(even) .service-feature-sketch { transform: rotate(3deg); }
.service-card-list li > span { min-width: 0; }
@media (max-width: 768px) { .services-stack .service-card-list li { gap: 12px; } .service-feature-sketch { width: 24px; height: 24px; flex-basis: 24px; } }

/* Project facts carry small hand-drawn cues alongside their labels. */
.projet-meta-item h4 { display: flex; align-items: center; gap: 12px; }
.project-meta-sketch { width: 30px; height: 30px; flex: 0 0 30px; overflow: visible; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: url(#project-crayon); transform: rotate(-3deg); }
.projet-meta-item:nth-child(even) .project-meta-sketch { transform: rotate(3deg); }

.cursor-reactive-sketch {
    transition: translate 220ms ease-out, rotate 220ms ease-out;
}
.project-cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--green);
    color: #111310;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgb(0 0 0 / 15%);
    opacity: 0;
    transition: opacity 150ms ease;
}
.project-cursor-label.is-visible { opacity: 1; }
.services-stack .design-composition,
.services-stack .development-composition { pointer-events: auto; }
.services-stack .design-composition img,
.services-stack .development-composition img { pointer-events: none; }
.vision-pen .cursor-reactive-pen {
    transform-origin: 14% 86%;
    transition: rotate 350ms ease-out;
}
.magnetic-button-content {
    display: inline-flex;
    align-items: center;
    gap: inherit;
    pointer-events: none;
    transition: translate 200ms ease-out;
}

/* A concise introduction between the hero and services. */
.page-home .vision-section { min-height: 0; padding: clamp(64px, 8vw, 112px) 0; margin-top: clamp(40px, 5vw, 72px); }
.page-home .vision-section .container { padding-inline: 40px; position: relative; top: 48px; }
.page-home .vision-section .vision-eyebrow {
    font-family: var(--font-primary); font-size: 13px; font-weight: 600;
    line-height: 1.5; letter-spacing: .12em; text-transform: uppercase;
    color: var(--text-secondary); margin-bottom: 20px;
}
.page-home .vision-section .vision-tagline {
    max-width: calc(100% - 220px); font-family: var(--font-secondary);
    font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.2;
    font-weight: 600; color: var(--text-heading); margin-bottom: 24px; text-wrap: balance;
}
.vision-emphasis { color: var(--green); }
body.dark .vision-emphasis { color: var(--green); }
.page-home .vision-section .vision-description {
    max-width: min(620px, calc(100% - 260px)); font-family: var(--font-primary);
    font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400;
    line-height: 1.75; color: var(--text-secondary); margin-bottom: 28px;
}
.vision-approach-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-heading); text-decoration: underline; text-underline-offset: 6px; }
.vision-approach-link:hover { color: var(--green-700); }
body.dark .vision-approach-link:hover { color: var(--green); }
.vision-approach-link:focus-visible { outline: 2px solid var(--green); outline-offset: 8px; }
.page-home .vision-pen { --pen-width: 280px; width: var(--pen-width); right: 20px; }
#notre-approche { scroll-margin-top: 110px; }
@media (max-width: 1024px) {
    .hero-home .hero-logos-track { gap: 20px; }
}
@media (max-width: 768px) {
    .hero-home .hero-logos-track { gap: 16px; }
    .hero-home .hero-logo-separator { flex-basis: 4px; width: 4px; height: 4px; }
    .page-home .vision-section .container { padding-inline: 20px; padding-bottom: 180px; top: 0; }
    .page-home .vision-section .vision-tagline,
    .page-home .vision-section .vision-description { max-width: 100%; }
    .page-home .vision-pen { --pen-width: 170px; position: absolute; top: auto; bottom: 60px; right: 12px; transform: none; }
}
