/* penclos.com - The Privacy Garden / Cottagecore + Botanical */
/* Colors: #d4a854, #e8dfd2, #c49a8a, #5c4832, #7a9e7e, #f5f0e8, #3b2f20 */
/* Fonts: Cormorant Garamond (600), Source Serif 4 (400), IBM Plex Mono */

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

body {
    font-family: 'Source Serif 4', serif;
    background: #f5f0e8;
    color: #3b2f20;
    overflow-x: hidden;
}

/* Garden Sections */
.garden-section {
    position: relative;
    padding: 100px 30px 140px;
    margin-bottom: -40px;
    overflow: hidden;
}

.section-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Section backgrounds with organic clip-paths */
.gate-section {
    background: #f5f0e8;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 85% 95%, 65% 92%, 45% 97%, 25% 93%, 10% 96%, 0 92%);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.herb-section {
    background: #e8dfd2;
    clip-path: polygon(0 5%, 15% 2%, 35% 6%, 55% 1%, 75% 4%, 100% 2%, 100% 92%, 80% 96%, 60% 93%, 40% 97%, 20% 94%, 0 96%);
    padding-top: 120px;
}

.greenhouse-section {
    background: #f5f0e8;
    clip-path: polygon(0 3%, 20% 0%, 40% 5%, 60% 1%, 80% 4%, 100% 0%, 100% 93%, 85% 97%, 65% 94%, 45% 98%, 25% 95%, 0 97%);
    padding-top: 120px;
}

.orchard-section {
    background: #e8dfd2;
    clip-path: polygon(0 4%, 10% 1%, 30% 5%, 50% 0%, 70% 3%, 90% 1%, 100% 4%, 100% 94%, 75% 98%, 50% 95%, 25% 99%, 0 96%);
    padding-top: 120px;
}

.wall-section {
    background: #3b2f20;
    clip-path: polygon(0 6%, 15% 2%, 35% 7%, 55% 1%, 75% 5%, 100% 3%, 100% 100%, 0 100%);
    padding-top: 120px;
    padding-bottom: 80px;
    margin-bottom: 0;
}

/* Ivy Arch */
.ivy-arch {
    width: 280px;
    height: 210px;
    margin: 0 auto 30px;
}

.ivy-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 2s ease;
}

.gate-section.visible .ivy-path {
    stroke-dashoffset: 0;
}

.ivy-leaf {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gate-section.visible .ivy-leaf {
    opacity: 1;
}

/* Domain Name */
.domain-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 72px;
    letter-spacing: 0.04em;
    color: #3b2f20;
    line-height: 1;
}

.subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #7a9e7e;
    margin-top: 8px;
    text-transform: uppercase;
}

.intro-text {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #5c4832;
    max-width: 480px;
    margin: 24px auto 0;
}

/* Section Headings */
.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 42px;
    color: #3b2f20;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.wall-heading {
    color: #d4a854;
}

.section-body {
    font-family: 'Source Serif 4', serif;
    font-size: 17px;
    line-height: 1.7;
    color: #5c4832;
    max-width: 480px;
    margin: 0 auto 40px;
}

.wall-section .section-body {
    color: #c49a8a;
}

/* Plant Cards */
.plant-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.plant-card {
    background: #f5f0e8;
    border-radius: 24px 24px 12px 12px;
    padding: 30px 24px;
    width: 200px;
    border: 1px solid #e8dfd2;
    transition: transform 0.4s ease;
}

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

.plant-icon {
    width: 60px;
    height: 80px;
    margin-bottom: 16px;
}

.plant-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 20px;
    color: #3b2f20;
    margin-bottom: 8px;
}

.plant-desc {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5c4832;
}

/* Community Grid */
.community-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.community-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.community-stat {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 48px;
    color: #7a9e7e;
}

.community-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #c49a8a;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.testimonial {
    max-width: 480px;
    padding: 24px 30px;
    background: #f5f0e8;
    border-radius: 16px;
    border-left: 3px solid #d4a854;
}

.testimonial p {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: #3b2f20;
    margin-bottom: 8px;
}

.testimonial cite {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-style: normal;
    color: #c49a8a;
    letter-spacing: 0.08em;
}

/* Branch Divider */
.branch-divider {
    width: 200px;
    height: 30px;
    margin: 0 auto 30px;
}

/* Footer */
.footer-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #d4a854;
    display: block;
    margin-top: 40px;
    opacity: 0.7;
}

/* Scroll-triggered visibility */
.garden-section {
    opacity: 0;
    transition: opacity 1s ease;
}

.garden-section.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .domain-name {
        font-size: 48px;
    }

    .section-heading {
        font-size: 32px;
    }

    .plant-cards {
        flex-direction: column;
        align-items: center;
    }

    .community-grid {
        gap: 24px;
    }

    .community-stat {
        font-size: 36px;
    }

    .garden-section {
        padding: 80px 20px 100px;
    }
}
