:root {
    --terracotta: #C1623F;
    --ochre: #D4923A;
    --harvest: #E8C87A;
    --ivory: #F5F0E2;
    --earth: #4A3728;
    --ivory-warm: #FAF6EC;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 300;
    color: var(--earth);
    background: var(--ivory);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ivory);
    border-bottom: 1px solid var(--harvest);
    padding: 1.2rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(6px);
}

nav .brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--earth);
}

nav .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

nav .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--earth);
    border-radius: 999px;
}

nav .nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

nav .nav-links a {
    text-decoration: none;
    color: var(--earth);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.4s ease;
}

nav .nav-links a:hover {
    color: var(--terracotta);
}

nav .nav-links a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 55vw;
    height: 55vw;
    max-width: 700px;
    max-height: 700px;
    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
    background: radial-gradient(ellipse at 30% 40%, rgba(193, 98, 63, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(212, 146, 58, 0.09) 0%, transparent 55%);
    filter: blur(40px);
    animation: morphBlob1 18s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: -8%;
    width: 45vw;
    height: 45vw;
    max-width: 550px;
    max-height: 550px;
    border-radius: 44% 56% 62% 38% / 52% 64% 36% 48%;
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 200, 122, 0.13) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 70%, rgba(193, 98, 63, 0.07) 0%, transparent 50%);
    filter: blur(50px);
    animation: morphBlob2 22s ease-in-out infinite;
}

@keyframes morphBlob1 {
    0%, 100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; transform: translate(0, 0) rotate(0deg); }
    33% { border-radius: 48% 52% 58% 42% / 44% 56% 38% 62%; transform: translate(2%, -3%) rotate(2deg); }
    66% { border-radius: 56% 44% 38% 62% / 52% 48% 60% 40%; transform: translate(-1%, 2%) rotate(-1deg); }
}

@keyframes morphBlob2 {
    0%, 100% { border-radius: 44% 56% 62% 38% / 52% 64% 36% 48%; transform: translate(0, 0) rotate(0deg); }
    50% { border-radius: 58% 42% 44% 56% / 38% 52% 48% 62%; transform: translate(3%, -2%) rotate(-2deg); }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 10vw, 8.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--earth);
    position: relative;
    z-index: 1;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.hero .tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--terracotta);
    position: relative;
    z-index: 1;
    margin-bottom: 3.5rem;
    letter-spacing: 0.02em;
}

.hero .cta {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 1rem 2.8rem;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

.hero .cta:hover {
    background: var(--terracotta);
    color: var(--ivory);
    transform: translateY(-2px);
}

/* HAND-DRAWN DIVIDER */
.divider {
    width: 100%;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.divider svg {
    width: 100%;
    height: 100%;
}

.divider path {
    fill: none;
    stroke: var(--harvest);
    stroke-width: 1;
    stroke-linecap: round;
}

/* SHOP */
.shop {
    padding: 6rem 4vw 8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    color: var(--earth);
    margin-bottom: 0.6rem;
}

.section-header p {
    font-size: 0.88rem;
    color: var(--terracotta);
    letter-spacing: 0.08em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    transition: transform 0.5s ease;
    align-self: start;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.product-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.product-image-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
}

.product-image-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: 50%;
    background: rgba(250, 246, 236, 0.9);
    color: var(--earth);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(74, 55, 40, 0.16);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--ivory);
}

.carousel-btn.prev {
    left: 0.75rem;
}

.carousel-btn.next {
    right: 0.75rem;
}

.product-card:nth-child(1) .product-image {
    background: linear-gradient(145deg, var(--ivory-warm) 0%, var(--harvest) 60%, var(--ochre) 100%);
}
.product-card:nth-child(2) .product-image {
    background: linear-gradient(160deg, var(--ivory-warm) 10%, rgba(193,98,63,0.2) 50%, var(--harvest) 90%);
}
.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, var(--harvest) 0%, var(--ivory-warm) 40%, rgba(212,146,58,0.3) 100%);
}
.product-card:nth-child(4) .product-image {
    background: linear-gradient(150deg, rgba(193,98,63,0.15) 0%, var(--ivory-warm) 50%, var(--harvest) 100%);
}
.product-card:nth-child(5) .product-image {
    background: linear-gradient(170deg, var(--ivory-warm) 0%, var(--ochre) 70%, rgba(193,98,63,0.25) 100%);
}
.product-card:nth-child(6) .product-image {
    background: linear-gradient(125deg, var(--harvest) 10%, var(--ivory-warm) 60%, rgba(212,146,58,0.2) 100%);
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(193,98,63,0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.product-info {
    padding: 1.4rem 0.2rem 0;
}

.product-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--earth);
}

.product-info .fabric-note {
    font-size: 0.8rem;
    color: var(--ochre);
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.product-info .request-btn {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border: 1px solid var(--earth);
    color: var(--earth);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
    background: none;
    font-family: 'Libre Franklin', sans-serif;
}

.product-info .request-btn:hover {
    background: var(--earth);
    color: var(--ivory);
}

/* ABOUT */
.about {
    padding: 6rem 4vw 8rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 480px;
}

.about-visual .shape-1 {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 70%;
    height: 75%;
    border-radius: 52% 48% 44% 56% / 60% 38% 62% 40%;
    background: linear-gradient(140deg, var(--terracotta) 0%, rgba(193,98,63,0.6) 60%, rgba(212,146,58,0.3) 100%);
    opacity: 0.85;
    animation: morphShape 14s ease-in-out infinite;
}

.about-visual .shape-2 {
    position: absolute;
    top: 20%;
    left: 30%;
    width: 55%;
    height: 60%;
    border-radius: 38% 62% 56% 44% / 48% 52% 44% 56%;
    background: linear-gradient(160deg, rgba(232,200,122,0.5) 0%, rgba(212,146,58,0.4) 60%, transparent 100%);
    animation: morphShape 18s ease-in-out infinite reverse;
}

.about-visual .initial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 9rem;
    font-weight: 300;
    color: var(--ivory);
    opacity: 0.9;
    line-height: 1;
}

@keyframes morphShape {
    0%, 100% { border-radius: 52% 48% 44% 56% / 60% 38% 62% 40%; }
    25% { border-radius: 44% 56% 52% 48% / 48% 62% 38% 52%; }
    50% { border-radius: 56% 44% 48% 52% / 38% 52% 62% 48%; }
    75% { border-radius: 48% 52% 56% 44% / 62% 44% 48% 56%; }
}

.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 1.8rem;
    color: var(--earth);
}

.about-text p {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 1.4rem;
    color: var(--earth);
}

.about-text .signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--terracotta);
    margin-top: 1.5rem;
}

/* CONTACT */
.contact {
    padding: 6rem 4vw 8rem;
    background: var(--ivory-warm);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--harvest) 20%, var(--terracotta) 50%, var(--harvest) 80%, transparent 100%);
}

.contact .section-header {
    margin-bottom: 1rem;
}

.contact .form-intro {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ochre);
    margin-bottom: 3.5rem;
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--earth);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--harvest);
    background: var(--ivory);
    color: var(--earth);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    border-radius: 1px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 2px rgba(193, 98, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A3728' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group .optional {
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--ochre);
    margin-left: 0.4rem;
}

.form-status {
    min-height: 1.4rem;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--terracotta);
}

.form-status.success {
    color: #2f6b3f;
}

.form-status.error {
    color: #b42318;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--terracotta);
    color: var(--ivory);
    border: none;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.3s ease;
    border-radius: 1px;
}

.submit-btn:hover {
    background: var(--earth);
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* FOOTER */
footer {
    background: var(--terracotta);
    color: var(--ivory);
    padding: 3.5rem 4vw;
    text-align: center;
}

footer .footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
}

footer .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

footer .footer-note {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* FADE-IN ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-card:nth-child(n) {
        margin-top: 0;
    }

    .product-card:nth-child(even) {
        margin-top: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: 320px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0.9rem 5vw;
        flex-wrap: wrap;
        gap: 0.6rem 1rem;
    }

    nav .brand {
        font-size: 1.35rem;
        white-space: nowrap;
    }

    nav .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    nav .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.7rem;
        padding-top: 0.4rem;
        border-top: 1px solid rgba(74, 55, 40, 0.15);
    }

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

    nav .nav-links li {
        width: 100%;
    }

    nav .nav-links a {
        display: block;
        font-size: 0.58rem;
        letter-spacing: 0.12em;
        white-space: nowrap;
        padding: 0.2rem 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .shop, .about, .contact {
        padding: 4rem 5vw 5rem;
    }
}
