@font-face {
    font-family: 'Inter';
    src: local('Inter'), local('Inter-Regular');
    font-display: swap;
}

:root {
    --bg: #fcfcfc;
    --surface: rgba(255, 255, 255, 0.15);
    --text: #121212;
    --text-dim: #666666;
    --accent: #C28E5B;
    --glass-border: rgba(0, 0, 0, 0.1);
    --padding: 8%;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --snap: cubic-bezier(0.1, 0.9, 0.2, 1);
    --nav-height: 70px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { 
    display: block; 
    width: 100%; 
    height: auto; 
    -webkit-user-drag: none;
}

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

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.bg-alt { background: #f6f6f6; }
.text-dim { color: var(--text-dim); }
.text-small { font-size: 0.75rem; font-weight: 500; }
.text-center { text-align: center; }
.ls-1 { letter-spacing: 0.1em; }
.mt-xs { margin-top: 0.5rem; }
.mb-l { margin-bottom: 2rem; }
.w-full { width: 100%; }
.block { display: block; }

header {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: var(--nav-height);
    background: var(--surface);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0 35px;
    transition: all 0.7s var(--ease);
}

nav.scrolled {
    height: 60px;
    max-width: 1250px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.logo { display: flex; justify-content: flex-start; pointer-events: auto; cursor: pointer; }
.logo img { height: 24px; width: auto; filter: invert(1); transition: 0.5s var(--ease); }

.nav-right-container { display: flex; justify-content: flex-end; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); pointer-events: auto; }
.nav-links a:hover { color: var(--text); }

.btn-work {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.7rem 1.4rem;
    background: var(--text);
    color: #fff;
    border-radius: 100px;
    transition: transform 0.2s var(--snap), background 0.2s var(--snap), box-shadow 0.2s var(--snap);
}
.btn-work:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hamburger { 
    display: none; 
    cursor: pointer; 
    z-index: 1002; 
    width: 24px; 
    height: 12px; 
    position: relative; 
    background: transparent; 
    border: none; 
    padding: 0;
}
.bar { 
    width: 100%; 
    height: 2px; 
    background-color: var(--text); 
    position: absolute; 
    left: 0;
    transition: all 0.4s var(--ease); 
}
.bar:nth-child(1) { top: 0; }
.bar:nth-child(2) { bottom: 0; }

.hamburger.active .bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: translateX(10px); }

.mobile-menu {
    position: fixed; top: 0; right: 0; width: 100%; 
    height: 100vh; 
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex; flex-direction: column; 
    padding: 120px 40px 60px;
    transform: translateX(100%); transition: 0.8s var(--ease); z-index: 999;
    overflow: hidden;
    border-left: 1px solid rgba(0,0,0,0.05);
}
.mobile-menu.active { transform: translateX(0); }

.mobile-links-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
}
.mobile-link { font-size: 2.2rem; font-weight: 700; letter-spacing: -1.5px; opacity: 0; transform: translateX(30px); transition: 0.6s var(--ease); }
.mobile-menu.active .mobile-link { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.36s; }

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: auto;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}
.mobile-socials a img { width: 22px; height: 22px; filter: brightness(0); opacity: 0.5; }

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(252, 252, 252, 0.55);
    z-index: -1;
    pointer-events: none;
}
.hero-frame-wrapper {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    transform: rotate(-1.5deg); 
    transition: transform 0.8s var(--ease);
    will-change: transform;
}

.hero-frame-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    object-fit: fill; /* Ensures the frame stretches to the container edges */
}

.hero-content {
    padding: 0 var(--padding);
    text-align: left;
    z-index: 5;
}

#heroTitle { 
    font-size: clamp(2.5rem, 5vw, 3.8rem); 
    font-weight: 700; 
    letter-spacing: -2px; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    transition: transform 0.1s ease-out;
    cursor: default;
    opacity: 0;
    animation: fadeInText 1.2s var(--ease) forwards;
    display: inline-block;
    color: var(--text);
}

.hero p { 
    font-size: 1.05rem; 
    color: var(--text-dim); 
    max-width: 500px; 
    margin-bottom: 3rem; 
    opacity: 0;
    animation: fadeInText 1.2s var(--ease) 0.3s forwards;
}

.btn-premium { 
    display: inline-block; 
    padding: 1.2rem 3rem; 
    background: var(--text); 
    color: #fff; 
    font-weight: 600; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    border-radius: 100px;
    transition: transform 0.2s var(--snap), background 0.2s var(--snap), box-shadow 0.2s var(--snap);
    cursor: pointer;
    border: none;
    z-index: 2;
}
.btn-premium:hover { transform: translateZ(40px) translateY(-3px); background: var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

section { padding: 5rem var(--padding); position: relative; z-index: 10; background: var(--bg); }
.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 3.5rem; 
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 0.2rem; }

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

.reveal-target {
    opacity: 0;
    transform: translateY(30px) scale(0.99);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: transform, opacity;
}
.reveal-target.active { opacity: 1; transform: translateY(0) scale(1); }

.work-card { display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 1s var(--ease); }
.thumb-container { 
    overflow: hidden; 
    border-radius: 12px; 
    margin-bottom: 1.5rem; 
    aspect-ratio: 16/9; 
    background: #f0f0f0; 
    width: 100%;
    position: relative;
}
.thumb-container img { transition: transform 1.2s var(--ease), filter 0.8s var(--ease); filter: grayscale(0.6); object-fit: cover; width: 100%; height: 100%; }
.work-card:hover img { transform: scale(1.06); filter: grayscale(0); }
.work-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3rem; }
.work-card p { font-size: 0.7rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.store-card { 
    background: #fff; 
    padding: 3.5rem 2.5rem; 
    border-radius: 20px; 
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease);
    text-align: center;
}
.store-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.03); }
.price { font-size: 1.6rem; color: var(--text); display: block; margin: 1.5rem 0; font-weight: 400; }

.btn-morph { 
    display: inline-block; 
    padding: 0.8rem 1.8rem; 
    background: transparent; 
    color: var(--text); 
    font-weight: 600; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    font-size: 0.65rem; 
    border: 1px solid var(--text); 
    border-radius: 100px;
    transition: all 0.2s var(--snap);
    white-space: nowrap;
}
.btn-morph:hover {
    background: var(--text);
    color: #fff;
    transform: scale(1.05);
    letter-spacing: 1.5px;
}

.contact-wrap { max-width: 650px; margin: 0 auto; }
input, textarea { 
    width: 100%; padding: 1.4rem; margin-bottom: 1.2rem; 
    background: #fff; border: 1px solid #e2e2e2; 
    color: var(--text); font-family: inherit; border-radius: 12px; 
    outline: none; transition: all 0.3s var(--ease); 
}
textarea { resize: vertical; min-height: 150px; }
input:focus, textarea:focus { border-color: var(--text); box-shadow: 0 10px 25px rgba(0,0,0,0.04); }

footer { padding: 3.5rem var(--padding); background: #fff; text-align: center; border-top: 1px solid var(--glass-border); position: relative; z-index: 10; }
.footer-socials { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; }
.footer-socials .social-icon { width: 20px; height: 20px; opacity: 0.3; filter: brightness(0); }

@media (max-width: 900px) {
    nav { width: calc(100% - 20px); padding: 0 20px; }
    .nav-right-container { display: none; }
    .hamburger { display: block; grid-column: 3; }
    section { padding: 4rem var(--padding); }
    .grid { grid-template-columns: 1fr; }
    
    .hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 120px 20px 60px 20px;
    }

    .hero-content {
        padding: 0;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        perspective: none;
    }

    #heroTitle { margin-bottom: 1rem; transform: none !important; }
    .hero p { margin: 0 auto 1.5rem auto; color: var(--text); font-weight: 500; transform: none !important; font-size: 0.95rem}
    .btn-premium { transform: none !important; }
}