@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Inter:wght@200;300;400;600&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --lp-black: #0a0a0a;
    --lp-white: #ffffff;
    --lp-gray: #888888;
    --lp-light-gray: #f4f4f4;
    --lp-border: rgba(255, 255, 255, 0.2);
    --lp-border-dark: rgba(0, 0, 0, 0.1);

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* Typography */
.lp-serif {
    font-family: var(--font-serif);
}

.lp-sans {
    font-family: var(--font-sans);
}

.lp-jp {
    font-family: var(--font-jp);
}

.text-justify {
    text-align: justify;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.w-full {
    width: 100%;
}

.h-screen {
    height: 100vh;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* Buttons */
.lp-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid currentColor;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    background: transparent;
}

.lp-btn-white {
    color: var(--lp-white);
    border-color: var(--lp-white);
}

.lp-btn-white:hover {
    background: var(--lp-white);
    color: var(--lp-black);
}

.lp-btn-black {
    color: var(--lp-black);
    border-color: var(--lp-black);
}

.lp-btn-black:hover {
    background: var(--lp-black);
    color: var(--lp-white);
}

/* Sticky CTA */
.fixed-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    mix-blend-mode: difference;
    color: white;
}

.cta-circle {
    width: 6rem;
    height: 6rem;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.cta-circle:hover {
    transform: scale(1.1);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Section Spacing */
.lp-section {
    padding: 8rem 4%;
}

@media (max-width: 768px) {
    .lp-section {
        padding: 4rem 5%;
    }

    .mobile-stack {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .mobile-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero {
        height: auto !important;
        grid-template-columns: 1fr !important;
    }

    .big-type {
        font-size: 3.5rem !important;
    }

    /* Fix for Purchase LP Mobile */
    .hero-title {
        font-size: 2.5rem !important;
        /* Smaller on mobile */
        line-height: 1.2;
    }

    .h-screen {
        height: auto !important;
        min-height: 100vh;
        padding-top: 6rem;
        /* Prevent overlap with fixed header or top edge */
        padding-bottom: 6rem;
    }

    /* Mobile Hero Background Fix */
    .hero-bg {
        /* Zoom out to show full width */
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

/* Specific class for the title to be 4rem on desktop */
.hero-title {
    font-size: 4rem;
}

@media (max-width: 768px) {
    .mobile-flex-col {
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .gallery-masonry {
        column-count: 1 !important;
    }
}