:root {
    --bg-primary: #f5ede2;
    --bg-secondary: #eadfce;
    --bg-tertiary: #decfbb;

    --text-primary: #302317;
    --text-secondary: #5d4b39;
    --text-light: #8a7460;

    --accent-primary: #af8d62;
    --accent-secondary: #c1a07a;
    --accent-light: #d3ba98;

    --border-color: #d7c4ad;
    --shadow: 0 8px 32px rgba(78, 58, 37, 0.14);
    --shadow-sm: 0 2px 12px rgba(78, 58, 37, 0.08);
    --shadow-lg: 0 20px 60px rgba(78, 58, 37, 0.18);
    --bg-gradient-start: #f6efe6;
    --bg-gradient-end: #e6d8c6;
    --bg-glow-1: rgba(193, 160, 122, 0.2);
    --bg-glow-2: rgba(175, 141, 98, 0.12);
    --surface-nav: rgba(246, 238, 228, 0.88);
    --surface-hero: linear-gradient(135deg, rgba(247, 240, 231, 0.96) 0%, rgba(233, 221, 204, 0.99) 100%);
    --surface-strong: linear-gradient(170deg, rgba(255, 250, 244, 0.98), rgba(239, 228, 213, 0.98));
    --surface-mid: linear-gradient(170deg, rgba(243, 234, 223, 0.95), rgba(228, 215, 198, 0.94));
    --surface-contact: linear-gradient(180deg, rgba(244, 236, 226, 0.98), rgba(229, 217, 202, 0.98));
    --studio-surface: linear-gradient(152deg, rgba(247, 240, 229, 0.98), rgba(232, 220, 205, 0.96));
    --studio-glow: rgba(175, 141, 98, 0.18);
    --studio-title: #3a2d21;
    --studio-text: #645140;
    --studio-kicker: #8b6d45;
    --studio-link: #7d6341;
    --mouse-x: 50%;
    --mouse-y: 25%;
    --scroll-progress: 0;
    --ease-signature: cubic-bezier(0.2, 0.8, 0.2, 1);
    --texture-opacity: 0.18;
    --texture-size-a: 3px 3px;
    --texture-size-b: 5px 5px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 10% 15%, var(--bg-glow-1), transparent 40%),
        radial-gradient(circle at 85% 80%, var(--bg-glow-2), transparent 45%),
        linear-gradient(145deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-primary);
    transition: background-color 0.45s var(--ease-signature), color 0.45s var(--ease-signature);
    line-height: 1.7;
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1500;
    transform-origin: left;
    transform: scaleX(var(--scroll-progress));
    background: linear-gradient(90deg, rgba(175, 141, 98, 0.18), rgba(193, 160, 122, 0.92), rgba(175, 141, 98, 0.18));
    box-shadow: 0 0 14px rgba(193, 160, 122, 0.34);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: var(--texture-opacity);
    background-image:
        radial-gradient(circle at 20% 25%, rgba(122, 96, 65, 0.05) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 65%, rgba(122, 96, 65, 0.04) 0 1px, transparent 1px),
        linear-gradient(0deg, rgba(193, 160, 122, 0.06), rgba(193, 160, 122, 0));
    background-size: var(--texture-size-a), var(--texture-size-b), 100% 100%;
    mix-blend-mode: soft-light;
    background-position: 0 0, 0 0, 0 0;
}

body[data-texture='soft']::after {
    filter: saturate(0.9) contrast(0.92);
}

body[data-texture='deep']::after {
    filter: saturate(1.02) contrast(1.04);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    background: var(--surface-nav);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-shell {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow:
        0 16px 28px rgba(88, 66, 42, 0.14),
        0 0 24px rgba(193, 160, 122, 0.12);
    overflow: hidden;
    padding: 0;
}

.logo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    transform: scale(1.08);
    transition: transform 0.3s var(--ease-signature);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    filter: contrast(1.03) saturate(1.02) drop-shadow(0 10px 18px rgba(88, 66, 42, 0.12));
}

.logo:hover {
    transform: scale(1.11) translateY(-1px);
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s var(--ease-signature);
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s var(--ease-signature);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: rgba(157, 139, 92, 0.06);
    border: 1px solid rgba(157, 139, 92, 0.32);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    margin: 6px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 0 28px 16px;
    border-top: 1px solid rgba(157, 139, 92, 0.2);
    background: var(--surface-nav);
}

.mobile-menu.is-open {
    display: grid;
    gap: 2px;
}

.mobile-link {
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.84rem;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(157, 139, 92, 0.15);
}

.mobile-link:last-child {
    border-bottom: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-hero);
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    gap: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(201, 178, 121, 0.24), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(157, 139, 92, 0.18), transparent 34%);
    pointer-events: none;
    transition: background-position 0.2s ease;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(112deg, transparent 35%, rgba(224, 197, 137, 0.42) 50%, transparent 65%);
    transform: translateX(-120%);
}

body.intro-play .hero::after {
    opacity: 1;
    animation: heroLightSweep 1.8s ease-out 0.2s forwards;
}

body.intro-play .hero-content {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(32px);
    animation: heroTextReveal 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
}

body.intro-play .hero-logo-visual {
    opacity: 0;
    transform: scale(0.86) rotate(-7deg);
    filter: blur(8px);
    animation: coinReveal 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards;
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes coinReveal {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes heroLightSweep {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.8px;
}

.hero-title strong {
    font-weight: 700;
    color: var(--accent-primary);
}

.hero-kicker {
    font-family: 'Manrope', sans-serif;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.35px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    font-family: 'Manrope', sans-serif;
    padding: 14px 36px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-signature);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(145deg, var(--accent-primary), #d1b28a);
    color: #2b1f13;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 244, 214, 0.34) 50%, transparent 65%);
    transform: translateX(-140%);
    transition: transform 0.7s var(--ease-signature);
    pointer-events: none;
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(175, 141, 98, 0.22);
}

.btn-primary:hover::after {
    transform: translateX(140%);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 12px 32px rgba(175, 141, 98, 0.16);
}

.hero-decoration {
    flex: 1;
    position: relative;
    height: 500px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    width: min(390px, 74%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 160, 122, 0.22), rgba(193, 160, 122, 0.08) 38%, transparent 68%);
    filter: blur(14px);
    opacity: 0.62;
    pointer-events: none;
    animation: haloBreath 8s ease-in-out infinite;
}

.hero-decoration::after {
    content: none;
}

.hero-logo-visual {
    width: min(520px, 100%);
    height: min(520px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 2;
    filter: saturate(1.02) contrast(1.04) drop-shadow(0 16px 24px rgba(88, 66, 42, 0.16));
}

canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes haloBreath {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.58;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.86;
    }
}

/* Section Titles */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    font-weight: 600;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: calc(1.8px - (var(--title-focus, 0) * 0.8px));
    opacity: 0.8;
    transform: translateY(14px);
    transition: letter-spacing 0.8s var(--ease-signature), opacity 0.8s var(--ease-signature), transform 0.8s var(--ease-signature);
}

.section-title::before {
    content: '';
    position: absolute;
    inset: -8% -5%;
    background: linear-gradient(110deg, transparent 35%, rgba(193, 160, 122, 0.16) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: titleSweep 6.5s ease-in-out infinite;
    pointer-events: none;
}

.section-overline {
    text-align: center;
    color: var(--accent-primary);
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 2.8px;
    margin-bottom: 0.85rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-primary);
    transform: translateX(-50%) scaleX(0.22);
    transform-origin: center;
    transition: transform 0.72s var(--ease-signature);
}

.section-title.is-inview {
    letter-spacing: 1px;
    opacity: 1;
    transform: translateY(0);
}

.section-title.is-inview::after {
    transform: translateX(-50%) scaleX(1);
}

@keyframes titleSweep {
    0%, 65% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

/* About Section */
.about {
    padding: 120px 40px;
    background-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    font-size: 1.45rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--surface-strong);
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2.05rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Products Section */
.products {
    padding: 120px 40px;
    background: var(--surface-mid);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--surface-strong);
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s var(--ease-signature);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.product-card::after,
.service-item::after,
.studio-card::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -30%;
    width: 36%;
    transform: translateX(-180%) rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(214, 188, 149, 0.26), transparent);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.product-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-card:hover::after,
.service-item:hover::after,
.studio-card:hover::after {
    transform: translateX(430%) rotate(18deg);
}

.value-mark {
    display: inline-block;
    margin-bottom: 1.45rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(157, 139, 92, 0.4);
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2.2px;
    color: var(--accent-primary);
}

.product-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 120px 40px;
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.service-item {
    --service-card-pad: 2.5rem;
    position: relative;
    overflow: hidden;
    background: var(--surface-strong);
    padding: var(--service-card-pad);
    border-radius: 0;
    border: 1px solid rgba(157, 139, 92, 0.3);
    transition: all 0.3s var(--ease-signature);
}

.service-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.65rem;
    margin-bottom: 1.2rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.service-logo-frame {
    position: relative;
    width: calc(100% + (var(--service-card-pad) * 2));
    max-width: calc(100% + (var(--service-card-pad) * 2));
    min-height: 182px;
    margin: calc(var(--service-card-pad) * -1) calc(var(--service-card-pad) * -1) 1.7rem;
    padding: 1.9rem 2rem 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(180deg, rgba(248, 242, 234, 0.95), rgba(232, 220, 203, 0.82));
    box-shadow:
        inset 0 -1px 0 rgba(175, 141, 98, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
    border-radius: 0 0 22px 22px;
    overflow: hidden;
    isolation: isolate;
}

.service-logo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.26), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 58%);
    pointer-events: none;
}

.service-logo-frame::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(175, 141, 98, 0.34), transparent);
    pointer-events: none;
}

.brand-vialun .service-logo-frame {
    background:
        radial-gradient(circle at 15% 18%, rgba(220, 194, 145, 0.24), transparent 36%),
        linear-gradient(180deg, rgba(250, 244, 234, 0.95), rgba(234, 221, 204, 0.86));
}

.brand-sapa .service-logo-frame {
    background:
        radial-gradient(circle at 85% 18%, rgba(200, 179, 140, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(244, 236, 226, 0.96), rgba(224, 211, 193, 0.88));
}

.brand-orynca .service-logo-frame {
    background:
        radial-gradient(circle at 80% 80%, rgba(194, 163, 146, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(246, 238, 228, 0.96), rgba(230, 217, 203, 0.86));
}

.brand-miniore .service-logo-frame {
    background:
        radial-gradient(circle at 14% 24%, rgba(214, 196, 165, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(238, 228, 214, 0.96), rgba(218, 201, 179, 0.9));
}

.service-logo {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 344px;
    height: 124px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 0;
    filter: saturate(0.98) contrast(1.03) drop-shadow(0 3px 8px rgba(88, 66, 42, 0.1));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.service-logo-sapa {
    max-width: 354px;
    height: 116px;
}

.service-logo-miniore {
    max-width: 340px;
    height: 114px;
}

.service-logo-vialun {
    max-width: 376px;
    height: 144px;
}

.service-logo-orynca {
    max-width: 368px;
    height: 140px;
}

.service-item:hover .service-logo {
    transform: translateY(-1px) scale(1.015);
    filter: saturate(1.01) contrast(1.05) drop-shadow(0 8px 16px rgba(175, 141, 98, 0.12));
}

.brand-sapa .service-logo,
.brand-miniore .service-logo {
    mix-blend-mode: multiply;
    opacity: 0.96;
    filter: saturate(1.02) contrast(1.08) drop-shadow(0 5px 10px rgba(88, 66, 42, 0.1));
}

.brand-sapa .service-logo {
    transform: scaleX(1.28);
    transform-origin: center;
}

.service-item:hover .service-logo-sapa,
.service-item:hover .service-logo-miniore {
    mix-blend-mode: multiply;
    opacity: 0.98;
    filter: saturate(1.05) contrast(1.1) drop-shadow(0 7px 14px rgba(88, 66, 42, 0.12));
}

.service-item.brand-sapa:hover .service-logo {
    transform: translateY(-1px) scale(1.015) scaleX(1.28);
}

.brand-vialun .service-logo {
    mix-blend-mode: multiply;
    opacity: 0.97;
    filter: saturate(1.02) contrast(1.07) drop-shadow(0 5px 10px rgba(88, 66, 42, 0.1));
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.3rem;
    list-style: none;
    padding: 0;
}

.service-meta li {
    border: 1px solid rgba(175, 141, 98, 0.42);
    color: var(--accent-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.95px;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
}

.brand-studios {
    padding: 120px 40px;
    background: var(--surface-mid);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.studio-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    padding: 2.2rem;
    border: 1px solid rgba(157, 139, 92, 0.35);
    background: var(--studio-surface);
    box-shadow: 0 18px 36px rgba(88, 66, 42, 0.12);
    transition: transform 0.35s var(--ease-signature), box-shadow 0.35s var(--ease-signature);
}

.studio-card {
    box-shadow: 0 18px 40px rgba(88, 66, 42, 0.14);
}

.studio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, var(--studio-glow), transparent 40%);
    pointer-events: none;
}

.studio-kicker {
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--studio-kicker);
    margin-bottom: 1rem;
}

.studio-card h3 {
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: 1.72rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: var(--studio-title);
}

.studio-card p {
    position: relative;
    font-size: 1.15rem;
    color: var(--studio-text);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.instagram-icon-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem 0.45rem 0.65rem;
    border: 1px solid rgba(157, 139, 92, 0.42);
    background: rgba(255, 248, 236, 0.54);
    color: var(--accent-primary);
    text-decoration: none;
    transition: transform 0.25s var(--ease-signature), box-shadow 0.25s var(--ease-signature), border-color 0.25s var(--ease-signature);
}

.instagram-icon-link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.instagram-link-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.instagram-icon-link:hover {
    transform: translateY(-2px);
    border-color: rgba(175, 141, 98, 0.7);
    box-shadow: 0 8px 18px rgba(88, 66, 42, 0.13);
}

.studio-soon {
    display: inline-block;
    width: fit-content;
    padding: 0.34rem 0.65rem;
    margin-bottom: 0;
    border: 1px solid rgba(157, 139, 92, 0.42);
    background: rgba(255, 248, 236, 0.54);
    color: var(--accent-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .tilt-card {
        transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
}

.studio-vialun {
    background-image:
        radial-gradient(circle at 12% 8%, rgba(210, 181, 125, 0.16), transparent 35%),
        var(--studio-surface);
}

.studio-sapa {
    background-image:
        radial-gradient(circle at 86% 12%, rgba(204, 175, 113, 0.17), transparent 40%),
        var(--studio-surface);
}

.studio-orynca {
    background-image:
        radial-gradient(circle at 82% 85%, rgba(182, 140, 126, 0.15), transparent 43%),
        var(--studio-surface);
}

.studio-miniore {
    background-image:
    radial-gradient(circle at 18% 18%, rgba(191, 178, 146, 0.2), transparent 38%),
    linear-gradient(150deg, rgba(206, 192, 174, 0.98), rgba(178, 160, 139, 0.98));
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s var(--ease-signature), transform 0.65s var(--ease-signature);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 72px 40px;
    background: var(--surface-contact);
}

.contact .section-title {
    margin-bottom: 1.6rem;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.contact-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(175, 141, 98, 0.26);
}

.contact-details p {
    margin: 0.25rem 0;
}

.contact-details .instagram-icon-link {
    margin-top: 0.5rem;
}

.contact-details strong {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.05rem, 2.1vw, 1.35rem);
    color: var(--accent-primary);
    letter-spacing: 0.4px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(222, 208, 188, 0.94), rgba(206, 188, 163, 0.98));
    padding: 2.5rem 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.social-link:hover {
    color: var(--accent-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        padding: 46px 16px;
        gap: 28px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.08rem;
        margin-bottom: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-decoration {
        height: min(72vw, 340px);
        width: 100%;
    }

    .about,
    .products,
    .services,
    .brand-studios,
    .contact {
        padding: 56px 16px;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .studio-grid {
        grid-template-columns: 1fr;
    }

    .studio-card {
        min-height: 290px;
        padding: 1.5rem;
    }

    .studio-card h3 {
        font-size: 1.4rem;
    }

    .contact-content {
        gap: 1.6rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .footer {
        padding: 2rem 20px;
    }

    .footer .container {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
        gap: 0.9rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .brand-name {
        font-size: 1.02rem;
    }

    .hero {
        padding-inline: 20px;
        gap: 28px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .products-grid,
    .services-grid,
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .product-card,
    .service-item,
    .studio-card {
        min-height: auto;
    }

    .about,
    .products,
    .services,
    .brand-studios,
    .contact {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding-block: 52px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-decoration {
        width: 100%;
        height: min(72vw, 360px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-grid,
    .services-grid,
    .studio-grid {
        grid-template-columns: 1fr;
    }

    .service-logo {
        max-width: 312px;
        height: 104px;
        margin-inline: auto;
        display: block;
        object-position: center;
    }

    .service-logo-frame {
        min-height: 162px;
        padding: 1.35rem 1.2rem 1.15rem;
    }

    .service-logo-sapa {
        max-width: 328px;
        height: 100px;
    }

    .service-logo-miniore {
        max-width: 316px;
        height: 98px;
    }

    .service-logo-vialun {
        max-width: 336px;
        height: 126px;
    }

    .service-logo-orynca {
        max-width: 332px;
        height: 122px;
    }

    .service-item {
        text-align: center;
    }

    .service-meta {
        justify-content: center;
    }

    .studio-grid article:last-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 34px 12px;
    }

    .hero-title {
        font-size: 1.64rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        font-size: 0.92rem;
        letter-spacing: 0.8px;
    }

    .logo {
        width: 100%;
        height: 100%;
    }

    .logo-shell {
        width: 44px;
        height: 44px;
    }

    .service-logo-frame {
        min-height: 146px;
        padding: 1.15rem 0.9rem 1rem;
    }

    .service-logo {
        max-width: 276px;
        height: 90px;
    }

    .service-logo-sapa {
        max-width: 292px;
        height: 88px;
    }

    .service-logo-miniore {
        max-width: 286px;
        height: 86px;
    }

    .service-logo-vialun {
        max-width: 300px;
        height: 112px;
    }

    .service-logo-orynca {
        max-width: 296px;
        height: 108px;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .value-mark {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }
}

@media (max-width: 1080px) and (min-width: 861px) {
    .products-grid,
    .services-grid,
    .studio-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
