/* ============================================
   RIFA TRIKO — Premium Corporate Website
   Apple-quality Dark Theme with Yarn Effects
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --color-bg: #0e1525;
    --color-bg-secondary: #111828;
    --color-bg-tertiary: #141b2e;
    --color-surface: #1a2236;
    --color-surface-hover: #212a40;

    --color-text: #f5f0e8;
    --color-text-secondary: #b5b0b8;
    --color-text-muted: #8a8698;

    --color-accent: #d4a574;
    --color-accent-light: #ecc9a0;
    --color-accent-dark: #b8874e;
    --color-accent-glow: rgba(212, 165, 116, 0.18);

    --gradient-accent: linear-gradient(135deg, #d4a574 0%, #ecc9a0 50%, #d4a574 100%);
    --gradient-dark: linear-gradient(180deg, #0e1525 0%, #111828 100%);
    --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    --gradient-hero: linear-gradient(135deg, #0e1525 0%, #101828 30%, #0f1626 60%, #0e1525 100%);

    --glass-bg: rgba(18, 26, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --section-padding: clamp(100px, 12vw, 160px);
    --container-max: 1200px;
    --container-padding: clamp(24px, 5vw, 48px);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.3s var(--ease-out-quart);
    --transition-slow: 0.6s var(--ease-out-expo);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body:not(.loaded) {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

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

/* === Preloader === */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.preloader-bar {
    width: 180px;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    animation: preloaderFill 1.5s var(--ease-out-expo) forwards;
}

.preloader-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 0.5s 0.5s ease forwards;
}

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

    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* === Custom Cursor === */
#cursor-follower {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(200, 149, 108, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    transform: translate(-50%, -50%);
    display: none;
    mix-blend-mode: difference;
}

@media (pointer: fine) {
    #cursor-follower {
        display: block;
    }
}

#cursor-follower.hovering {
    width: 52px;
    height: 52px;
    border-color: var(--color-accent);
    background: rgba(200, 149, 108, 0.08);
}

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

/* === Navigation === */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s var(--ease-out-quart);
}

#navbar.scrolled {
    padding: 14px 0;
    background: rgba(14, 21, 37, 0.92);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 1px;
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent-light);
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-shadow: 0 1px 8px rgba(212, 165, 116, 0.2);
}

.logo-est {
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-base);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-text);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #0b1020;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: all 0.4s var(--ease-out-expo);
    transform: translateY(20px);
    opacity: 0;
}

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

.mobile-link:nth-child(1) {
    transition-delay: 0.08s;
}

.mobile-link:nth-child(2) {
    transition-delay: 0.06s;
}

.mobile-link:nth-child(3) {
    transition-delay: 0.10s;
}

.mobile-link:nth-child(4) {
    transition-delay: 0.14s;
}

.mobile-link:nth-child(5) {
    transition-delay: 0.18s;
}

.mobile-link:nth-child(6) {
    transition-delay: 0.22s;
}

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

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

/* Yarn Canvas — behind everything */
.yarn-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    border-radius: inherit;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.02;
    background-image:
        radial-gradient(circle at 25% 25%, var(--color-accent) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--color-accent) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Animated gradient orbs */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
}

.hero-bg::before {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -150px;
    animation: floatOrb 18s ease-in-out infinite;
}

.hero-bg::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(140, 110, 170, 0.07) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: floatOrb 22s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    will-change: transform, opacity;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.hero-text {
    min-width: 0;
}

.hero-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    align-self: start;
    margin-top: 40px;
}

.hero-globe svg {
    width: 100%;
    height: auto;
    transform: scale(1.46);
    transform-origin: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(20, 20, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(200, 149, 108, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 6px rgba(200, 149, 108, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -0.025em;
}

.hero-line {
    display: block;
}

.hero-accent {
    font-style: italic;
    color: var(--color-accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.4), 0 0 40px rgba(212, 165, 116, 0.15);
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: 44px;
    font-weight: 300;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(200, 149, 108, 0.25);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 1px solid rgba(200, 149, 108, 0.25);
    color: var(--color-accent-light);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-glow);
}

.btn-large {
    padding: 18px 42px;
    font-size: 0.95rem;
}

/* === Hero Stats === */
.hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 280px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 165, 116, 0.15);
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.stat-divider {
    display: none;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scaleY(0.5);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ============================
   MANIFESTO SECTION
   ============================ */
.manifesto-section {
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

.manifesto-text em {
    color: var(--color-accent);
    font-style: italic;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.4), 0 0 40px rgba(212, 165, 116, 0.15);
}

.manifesto-text strong {
    color: var(--color-text);
    font-weight: 500;
}

/* ============================
   SECTION COMMON STYLES
   ============================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 18px;
    position: relative;
    padding: 0 24px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.25;
}

.section-tag::before {
    right: 100%;
}

.section-tag::after {
    left: 100%;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.text-accent {
    color: var(--color-accent);
    font-style: italic;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.4), 0 0 40px rgba(212, 165, 116, 0.15);
}

.section-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 20px auto 0;
    font-weight: 300;
    line-height: 1.85;
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
    background: var(--color-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.85;
    font-size: 0.95rem;
}

.about-content strong {
    color: var(--color-accent-light);
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--gradient-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover {
    border-color: rgba(200, 149, 108, 0.12);
    transform: translateX(6px);
    background: rgba(200, 149, 108, 0.02);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-accent-glow);
    color: var(--color-accent);
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* ============================
   SIGNATURE LOOKS
   ============================ */
.looks-section {
    background: var(--color-bg);
}

.looks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.look-card:hover {
    transform: translateY(-10px);
}

.look-card-inner {
    padding: 44px 24px 36px;
    background: var(--gradient-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    height: 100%;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.look-card:hover .look-card-inner {
    border-color: rgba(200, 149, 108, 0.15);
    background: rgba(200, 149, 108, 0.02);
}

.look-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.look-card:hover .look-card-inner::before {
    opacity: 1;
}

.look-icon {
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent-light);
    filter: drop-shadow(0 0 12px rgba(212, 165, 116, 0.4)) drop-shadow(0 0 4px rgba(212, 165, 116, 0.2));
}

.look-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5;
}

.look-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.look-card p {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.look-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.5;
}

/* ============================
   SERVICES SECTION
   ============================ */
.services-section {
    background: var(--color-bg-secondary);
}

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

.service-card {
    padding: 40px 28px;
    background: var(--gradient-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(200, 149, 108, 0.15);
    transform: translateY(-4px);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 18px;
    transition: opacity var(--transition-base);
}

.service-card:hover .service-number {
    opacity: 0.3;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.6s var(--ease-out-expo);
}

.service-card:hover .service-line {
    width: 100%;
}

/* ============================
   TECHNIQUES SECTION
   ============================ */
.techniques-section {
    background: var(--color-bg);
}

.techniques-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.technique-item {
    text-align: center;
    transition: transform 0.4s var(--ease-out-expo);
}

.technique-item:hover {
    transform: translateY(-6px);
}

.technique-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(212, 165, 116, 0.12);
    background: #131a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.technique-item:hover .technique-visual {
    border-color: rgba(212, 165, 116, 0.35);
    box-shadow: 0 8px 40px rgba(212, 165, 116, 0.12);
}

.technique-pattern {
    width: 100%;
    height: 100%;
    background-color: rgba(212, 165, 116, 0.04);
}

/* Knit pattern textures via pure CSS — HIGH CONTRAST */
.pattern-cable {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(212, 165, 116, 0.4) 8px, rgba(212, 165, 116, 0.4) 10px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(212, 165, 116, 0.25) 20px, rgba(212, 165, 116, 0.25) 22px),
        rgba(212, 165, 116, 0.04);
    position: relative;
}

.pattern-cable::after {
    content: '';
    position: absolute;
    inset: 12%;
    background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 60deg, rgba(212, 165, 116, 0.35) 60deg 120deg);
    border-radius: 50%;
    opacity: 0.8;
}

.pattern-rib {
    background: repeating-linear-gradient(90deg,
            rgba(212, 165, 116, 0.45) 0px, rgba(212, 165, 116, 0.45) 3px,
            transparent 3px, transparent 7px,
            rgba(212, 165, 116, 0.28) 7px, rgba(212, 165, 116, 0.28) 10px,
            transparent 10px, transparent 14px),
        rgba(212, 165, 116, 0.03);
}

.pattern-jacquard {
    background:
        repeating-linear-gradient(0deg, transparent 0px, transparent 12px, rgba(212, 165, 116, 0.4) 12px, rgba(212, 165, 116, 0.4) 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 12px, rgba(212, 165, 116, 0.3) 12px, rgba(212, 165, 116, 0.3) 14px),
        repeating-conic-gradient(rgba(212, 165, 116, 0.2) 0% 25%, transparent 0% 50%) 0 0 / 24px 24px,
        rgba(212, 165, 116, 0.03);
}

.pattern-fairisle {
    background:
        repeating-linear-gradient(0deg,
            rgba(212, 165, 116, 0.4) 0px, rgba(212, 165, 116, 0.4) 5px,
            transparent 5px, transparent 10px,
            rgba(212, 165, 116, 0.22) 10px, rgba(212, 165, 116, 0.22) 15px,
            transparent 15px, transparent 20px),
        repeating-linear-gradient(90deg,
            rgba(212, 165, 116, 0.28) 0px, rgba(212, 165, 116, 0.28) 3px,
            transparent 3px, transparent 6px),
        rgba(212, 165, 116, 0.03);
}

.pattern-openwork {
    background:
        radial-gradient(circle 4px at 50% 50%, rgba(212, 165, 116, 0.06) 40%, rgba(212, 165, 116, 0.3) 100%) 0 0 / 14px 14px,
        radial-gradient(circle 4px at 50% 50%, rgba(212, 165, 116, 0.04) 40%, rgba(212, 165, 116, 0.22) 100%) 7px 7px / 14px 14px,
        rgba(212, 165, 116, 0.03);
}

.pattern-3d {
    background:
        linear-gradient(30deg, rgba(212, 165, 116, 0.35) 12%, transparent 12.5%, transparent 87%, rgba(212, 165, 116, 0.35) 87.5%),
        linear-gradient(150deg, rgba(212, 165, 116, 0.35) 12%, transparent 12.5%, transparent 87%, rgba(212, 165, 116, 0.35) 87.5%),
        linear-gradient(30deg, rgba(212, 165, 116, 0.35) 12%, transparent 12.5%, transparent 87%, rgba(212, 165, 116, 0.35) 87.5%),
        linear-gradient(150deg, rgba(212, 165, 116, 0.35) 12%, transparent 12.5%, transparent 87%, rgba(212, 165, 116, 0.35) 87.5%),
        linear-gradient(60deg, rgba(212, 165, 116, 0.18) 25%, transparent 25.5%, transparent 75%, rgba(212, 165, 116, 0.18) 75%),
        rgba(212, 165, 116, 0.04);
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 0 0;
}

.pattern-stripe {
    background: repeating-linear-gradient(0deg,
            rgba(212, 165, 116, 0.45) 0px, rgba(212, 165, 116, 0.45) 3px,
            transparent 3px, transparent 7px,
            rgba(212, 165, 116, 0.3) 7px, rgba(212, 165, 116, 0.3) 9px,
            transparent 9px, transparent 14px),
        rgba(212, 165, 116, 0.03);
}

.pattern-boucle {
    background:
        radial-gradient(circle 3px at 30% 30%, rgba(212, 165, 116, 0.5) 100%, transparent 100%),
        radial-gradient(circle 4px at 70% 60%, rgba(212, 165, 116, 0.38) 100%, transparent 100%),
        radial-gradient(circle 3px at 50% 80%, rgba(212, 165, 116, 0.42) 100%, transparent 100%),
        radial-gradient(circle 3px at 20% 70%, rgba(212, 165, 116, 0.35) 100%, transparent 100%),
        radial-gradient(circle 4px at 80% 20%, rgba(212, 165, 116, 0.38) 100%, transparent 100%),
        rgba(212, 165, 116, 0.04);
    background-size: 18px 18px;
}

.technique-item span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.technique-item:hover span {
    color: var(--color-accent-light);
}

/* ============================
   TECHNOLOGY SECTION
   ============================ */
.technology-section {
    background: var(--color-bg-secondary);
}

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

.tech-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin: 24px 0 36px;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.tech-stat {
    padding: 20px 16px;
    background: var(--gradient-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.tech-stat:hover {
    border-color: rgba(200, 149, 108, 0.12);
}

.tech-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.tech-stat-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-accent-glow);
    border: 1px solid rgba(200, 149, 108, 0.12);
    border-radius: var(--radius-md);
    color: var(--color-accent-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.tech-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.tech-detail-item strong {
    color: var(--color-accent-light);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

.tech-detail-item span {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.tech-visual {
    position: relative;
}

.tech-image-wrapper {
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--gradient-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.14) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb 10s ease-in-out infinite;
}

.knit-simulation {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px;
}

/* Bobbins */
.knit-bobbins {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 16px;
}

.bobbin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bobbin-1 {
    border-color: var(--color-accent);
}

.bobbin-2 {
    border-color: #b8a088;
}

.bobbin-3 {
    border-color: #c4956c;
}

.bobbin-spin {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: spin 2s linear infinite;
}

.bobbin-1 .bobbin-spin {
    color: var(--color-accent);
}

.bobbin-2 .bobbin-spin {
    color: #b8a088;
    animation-duration: 2.5s;
}

.bobbin-3 .bobbin-spin {
    color: #c4956c;
    animation-duration: 1.8s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Threads */
.knit-threads {
    display: flex;
    justify-content: center;
    gap: 48px;
    height: 40px;
    margin-bottom: 8px;
}

.thread {
    width: 1.5px;
    height: 100%;
    opacity: 0.6;
}

.thread-1 {
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.thread-2 {
    background: linear-gradient(to bottom, #b8a088, transparent);
}

.thread-3 {
    background: linear-gradient(to bottom, #c4956c, transparent);
}

/* Needle carrier */
.needle-carrier {
    width: 80%;
    position: relative;
    height: 20px;
    margin-bottom: 12px;
}

.carrier-bar {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.3), transparent);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carrier-head {
    width: 24px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: carrierSweep 3s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(212, 165, 116, 0.5);
}

@keyframes carrierSweep {

    0%,
    100% {
        left: 0;
    }

    50% {
        left: calc(100% - 24px);
    }
}

/* Knitted fabric */
.knit-fabric {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.fabric-row {
    height: 10px;
    border-radius: 2px;
    animation: fabricAppear 4s ease-in-out infinite;
    background-size: 8px 10px;
}

.fabric-row:nth-child(odd) {
    background: repeating-linear-gradient(90deg,
            rgba(212, 165, 116, 0.2) 0px,
            rgba(212, 165, 116, 0.3) 3px,
            rgba(184, 160, 136, 0.2) 4px,
            rgba(184, 160, 136, 0.3) 7px);
}

.fabric-row:nth-child(even) {
    background: repeating-linear-gradient(90deg,
            rgba(196, 149, 108, 0.25) 0px,
            rgba(196, 149, 108, 0.35) 3px,
            rgba(212, 165, 116, 0.15) 4px,
            rgba(212, 165, 116, 0.25) 7px);
}

.row-1 {
    animation-delay: 0s;
}

.row-2 {
    animation-delay: 0.3s;
}

.row-3 {
    animation-delay: 0.6s;
}

.row-4 {
    animation-delay: 0.9s;
}

.row-5 {
    animation-delay: 1.2s;
}

.row-6 {
    animation-delay: 1.5s;
}

.row-7 {
    animation-delay: 1.8s;
}

.row-8 {
    animation-delay: 2.1s;
}

@keyframes fabricAppear {

    0%,
    10% {
        opacity: 0;
        transform: scaleX(0.3);
    }

    30%,
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Gauge label */
.knit-gauge-label {
    margin-top: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ============================
   CLIENTS SECTION — MARQUEE
   ============================ */
.clients-section {
    background: var(--color-bg);
    overflow: hidden;
    padding-bottom: clamp(80px, 10vw, 120px);
}

.clients-marquee {
    margin-bottom: 12px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    animation: marquee 45s linear infinite;
    transform: translateX(-25%);
}

.marquee-reverse {
    animation-direction: reverse;
}

.marquee-content {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.client-logo {
    padding: 20px 44px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin: 0 6px;
    background: var(--gradient-surface);
}

.client-logo:hover {
    color: var(--color-accent-light);
    border-color: rgba(212, 165, 116, 0.2);
}

/* Featured clients (Zara, Massimo Dutti) */
.client-featured {
    color: var(--color-accent-light) !important;
    border-color: rgba(212, 165, 116, 0.25) !important;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    background: rgba(212, 165, 116, 0.08) !important;
}

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

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

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    padding: 40px 0;
}

.cta-card {
    position: relative;
    padding: 88px 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.03) 100%);
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(212, 165, 116, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
    background: var(--color-bg-secondary);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px;
    background: var(--gradient-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-card:hover {
    border-color: rgba(200, 149, 108, 0.12);
    transform: translateX(6px);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-accent-glow);
    color: var(--color-accent);
}

.contact-card h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 3px;
}

.contact-card p,
.contact-card a {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
}

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

.contact-map {
    position: relative;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-wrapper iframe {
    border-radius: var(--radius-lg);
    filter: grayscale(1) invert(0.92) contrast(0.8);
    opacity: 0.5;
    transition: all 0.5s var(--ease-out-expo);
}

.map-wrapper:hover iframe {
    opacity: 0.7;
    filter: grayscale(0.5) invert(0.92) contrast(0.85);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--color-bg);
    padding: 80px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 52px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 300px;
}

.footer-nav h4,
.footer-expertise h4,
.footer-contact h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text);
    margin-bottom: 18px;
}

.footer-nav a,
.footer-expertise a {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    padding: 5px 0;
    transition: all var(--transition-base);
}

.footer-nav a:hover,
.footer-expertise a:hover {
    color: var(--color-accent-light);
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.footer-contact>a {
    display: block;
    font-size: 0.82rem;
    color: var(--color-accent-light);
    margin-bottom: 14px;
}

.footer-offices {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-offices span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-credit {
    opacity: 0.5;
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

.animate-on-scroll[style*="--delay: 1"] {
    transition-delay: 0.08s;
}

.animate-on-scroll[style*="--delay: 2"] {
    transition-delay: 0.16s;
}

.animate-on-scroll[style*="--delay: 3"] {
    transition-delay: 0.24s;
}

.animate-on-scroll[style*="--delay: 4"] {
    transition-delay: 0.32s;
}

.animate-on-scroll[style*="--delay: 5"] {
    transition-delay: 0.40s;
}

.animate-on-scroll[style*="--delay: 6"] {
    transition-delay: 0.48s;
}

.animate-on-scroll[style*="--delay: 7"] {
    transition-delay: 0.56s;
}

/* Text reveal */
.text-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 1s var(--ease-out-expo);
}

.text-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .techniques-showcase {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(60px, 10vw, 100px);
        --container-padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        padding: 100px 0 60px;
        min-height: 90vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-globe {
        display: none;
    }

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

    .hero-title {
        font-size: clamp(2.4rem, 11vw, 3.8rem);
    }

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

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

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

    .stat-item {
        padding: 20px 16px;
    }

    .hero-cta {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .btn {
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .manifesto-text {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        padding: 0 4px;
    }

    .manifesto-section {
        padding: clamp(48px, 8vw, 80px) 0;
    }

    /* Mobile centering */
    .about-content {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .feature-card {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        text-align: center;
    }

    .section-header {
        text-align: center;
    }

    .tech-badge {
        margin: 0 auto;
        justify-content: center;
    }

    .tech-details {
        text-align: center;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

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

    .section-tag {
        font-size: 0.68rem;
    }

    .about-lead {
        font-size: 1rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 18px;
        gap: 14px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-card h3 {
        font-size: 0.88rem;
    }

    .feature-card p {
        font-size: 0.78rem;
    }

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

    .look-card-inner {
        padding: 28px 16px 24px;
    }

    .look-icon {
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
        margin-bottom: 14px;
    }

    .look-card h3 {
        font-size: 1rem;
    }

    .look-card p {
        font-size: 0.78rem;
    }

    .look-label {
        font-size: 0.62rem;
    }

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

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

    .service-number {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    .service-card p {
        font-size: 0.82rem;
    }

    .techniques-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .technique-visual {
        border-radius: var(--radius-md);
    }

    .technique-item span {
        font-size: 0.75rem;
    }

    .tech-grid {
        gap: 36px;
    }


    .tech-description {
        font-size: 0.92rem;
    }

    .tech-stats {
        gap: 10px;
    }

    .tech-stat {
        padding: 16px 12px;
    }

    .tech-stat-number {
        font-size: 1.3rem;
    }

    .tech-stat-label {
        font-size: 0.65rem;
    }

    .tech-badge {
        font-size: 0.75rem;
    }

    .tech-detail-item {
        font-size: 0.75rem;
    }

    .client-logo {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .client-featured {
        font-size: 0.9rem !important;
    }

    .cta-card {
        padding: 48px 20px;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-card {
        padding: 18px;
        gap: 14px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-card h3 {
        font-size: 0.75rem;
    }

    .contact-card p,
    .contact-card a {
        font-size: 0.82rem;
    }

    .map-wrapper {
        min-height: 280px;
    }

    .footer {
        padding: 48px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 32px;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-nav,
    .footer-expertise,
    .footer-contact {
        text-align: center;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding-top: 20px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 90px 0 48px;
        min-height: 85vh;
    }

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

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

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

    .stat-item {
        padding: 16px 14px;
    }

    .hero-stats {
        gap: 10px;
        margin-bottom: 30px;
    }

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

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

    .tech-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .client-logo {
        padding: 12px 22px;
        font-size: 0.75rem;
    }

    .client-featured {
        font-size: 0.82rem !important;
    }

    .mobile-link {
        font-size: 1.6rem;
    }

    .manifesto-text {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 6.5vw, 2rem);
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-dark);
}

/* === Focus === */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}