/* ============================================
   storiographer.net -- Botanical Editorial Herbarium
   Colors: #FAF6F0, #1A3A2A, #C85A4A, #4A8A7A, #C8A868, #E8D8C8
   Fonts: Playfair Display, Lato
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    color: #1A3A2A;
    background-color: #FAF6F0;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAF6F0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: #1A3A2A;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    color: #4A8A7A;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

/* Hero Botanical Shapes */
.hero-botanicals {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.botanical-shape {
    position: absolute;
}

/* Cluster 1 - top left */
.shape-cluster-1 {
    top: 12%;
    left: 8%;
    width: 180px;
    height: 180px;
}

.shape-cluster-1 .petal-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #C85A4A;
    opacity: 0.25;
    top: 20px;
    left: 30px;
}

.shape-cluster-1 .petal-2 {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4A8A7A;
    opacity: 0.3;
    top: 40px;
    left: 60px;
}

.shape-cluster-1 .petal-3 {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C85A4A;
    opacity: 0.2;
    top: 10px;
    left: 70px;
}

.shape-cluster-1 .petal-4 {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #C8A868;
    opacity: 0.25;
    top: 55px;
    left: 40px;
}

.shape-cluster-1 .leaf-1 {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 40px solid #4A8A7A;
    opacity: 0.2;
    top: 90px;
    left: 50px;
    transform: rotate(15deg);
}

.label-line {
    position: absolute;
    width: 80px;
    height: 1px;
    background: #1A3A2A;
    opacity: 0.3;
}

.label-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #1A3A2A;
    opacity: 0.5;
    position: absolute;
    white-space: nowrap;
    top: -12px;
    right: 0;
}

.label-1 {
    bottom: 20px;
    left: 10px;
    transform: rotate(-5deg);
}

/* Cluster 2 - top right */
.shape-cluster-2 {
    top: 8%;
    right: 10%;
    width: 160px;
    height: 160px;
}

.shape-cluster-2 .petal-5 {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #4A8A7A;
    opacity: 0.2;
    top: 10px;
    left: 20px;
}

.shape-cluster-2 .petal-6 {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #C85A4A;
    opacity: 0.2;
    top: 35px;
    left: 55px;
}

.shape-cluster-2 .leaf-2 {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 35px solid #1A3A2A;
    opacity: 0.12;
    top: 80px;
    left: 40px;
    transform: rotate(-10deg);
}

.shape-cluster-2 .leaf-3 {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 30px solid #4A8A7A;
    opacity: 0.15;
    top: 70px;
    left: 70px;
    transform: rotate(20deg);
}

.label-2 {
    bottom: 10px;
    right: 5px;
    transform: rotate(3deg);
}

/* Cluster 3 - bottom right */
.shape-cluster-3 {
    bottom: 18%;
    right: 15%;
    width: 140px;
    height: 140px;
}

.seed-pod {
    position: absolute;
    background: #C8A868;
    opacity: 0.2;
}

.pod-1 {
    width: 30px;
    height: 45px;
    border-radius: 40% 60% 60% 40%;
    top: 20px;
    left: 30px;
    transform: rotate(25deg);
}

.pod-2 {
    width: 25px;
    height: 38px;
    border-radius: 50% 50% 45% 55%;
    top: 40px;
    left: 65px;
    transform: rotate(-15deg);
    background: #C85A4A;
    opacity: 0.15;
}

.shape-cluster-3 .petal-7 {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #4A8A7A;
    opacity: 0.15;
    top: 10px;
    left: 45px;
}

.label-3 {
    bottom: 15px;
    left: 20px;
    transform: rotate(-2deg);
}

/* ============================================
   EDITORIAL SECTION (Section 2)
   ============================================ */

#editorial {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: start;
}

.editorial-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #1A3A2A;
    line-height: 1.15;
    margin-bottom: 2rem;
    grid-column: 1 / 9;
}

.editorial-body {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.editorial-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #1A3A2A;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.editorial-body p {
    margin-bottom: 1.5rem;
    color: #1A3A2A;
    opacity: 0.85;
}

.editorial-pullquote {
    grid-column: 8 / 11;
    grid-row: 1;
    padding: 2rem 0;
    border-left: 3px solid #C85A4A;
    padding-left: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.editorial-pullquote:hover {
    transform: scale(1.02);
}

.editorial-pullquote blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #1A3A2A;
}

.editorial-botanical {
    grid-column: 8 / 12;
    grid-row: 2;
    position: relative;
    min-height: 280px;
}

/* Specimen composition in editorial section */
.specimen-composition {
    position: relative;
    width: 100%;
    height: 280px;
}

.specimen-circle {
    position: absolute;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.specimen-circle:hover {
    transform: translate(3px, -3px);
}

.specimen-c1 {
    width: 90px;
    height: 90px;
    background: #C85A4A;
    opacity: 0.25;
    top: 30px;
    left: 40px;
}

.specimen-c2 {
    width: 70px;
    height: 70px;
    background: #4A8A7A;
    opacity: 0.3;
    top: 60px;
    left: 80px;
}

.specimen-triangle {
    position: absolute;
    width: 0;
    height: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.specimen-triangle:hover {
    transform: translate(3px, -3px);
}

.specimen-t1 {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid #4A8A7A;
    opacity: 0.18;
    top: 130px;
    left: 60px;
    transform: rotate(12deg);
}

.specimen-t1:hover {
    transform: rotate(12deg) translate(3px, -3px);
}

.specimen-polygon {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.specimen-p1 {
    width: 45px;
    height: 55px;
    background: #C8A868;
    opacity: 0.2;
    top: 100px;
    left: 150px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 90% 70%, 50% 100%, 10% 70%, 0% 30%);
}

.specimen-p1:hover {
    transform: translate(3px, -3px);
}

.specimen-label-line {
    position: absolute;
    height: 1px;
    background: #1A3A2A;
    opacity: 0.25;
}

.specimen-label-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #1A3A2A;
    opacity: 0.5;
    white-space: nowrap;
    position: absolute;
    top: -14px;
    right: 0;
}

.specimen-label-1 {
    width: 100px;
    top: 80px;
    left: 140px;
    transform: rotate(-3deg);
}

.specimen-label-2 {
    width: 85px;
    top: 170px;
    left: 30px;
    transform: rotate(2deg);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.section-divider {
    width: 100%;
    padding: 0;
    margin: 0;
}

.divider-curve {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   COLLECTION SECTION (Section 3)
   ============================================ */

#collection {
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: start;
}

.collection-composition {
    grid-column: 1 / 8;
    position: relative;
    min-height: 420px;
    padding: 2rem;
}

.comp-shape {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.comp-shape:hover {
    transform: translate(3px, -3px);
}

.comp-circle-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #C85A4A;
    opacity: 0.2;
    top: 40px;
    left: 80px;
}

.comp-circle-medium {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #4A8A7A;
    opacity: 0.25;
    top: 90px;
    left: 160px;
}

.comp-circle-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #C8A868;
    opacity: 0.3;
    top: 50px;
    left: 220px;
}

.comp-triangle-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 65px solid #4A8A7A;
    opacity: 0.15;
    top: 200px;
    left: 100px;
    transform: rotate(8deg);
}

.comp-triangle-1:hover {
    transform: rotate(8deg) translate(3px, -3px);
}

.comp-triangle-2 {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 50px solid #C85A4A;
    opacity: 0.18;
    top: 180px;
    left: 250px;
    transform: rotate(-12deg);
}

.comp-triangle-2:hover {
    transform: rotate(-12deg) translate(3px, -3px);
}

.comp-polygon-1 {
    width: 55px;
    height: 65px;
    background: #C8A868;
    opacity: 0.18;
    top: 280px;
    left: 140px;
    clip-path: polygon(50% 0%, 90% 25%, 100% 65%, 65% 100%, 25% 95%, 0% 55%, 15% 15%);
}

.comp-polygon-2 {
    width: 40px;
    height: 50px;
    background: #C85A4A;
    opacity: 0.15;
    top: 300px;
    left: 240px;
    clip-path: polygon(40% 0%, 80% 10%, 100% 50%, 70% 100%, 20% 90%, 0% 40%);
}

.comp-leaf-1 {
    width: 50px;
    height: 25px;
    background: #4A8A7A;
    opacity: 0.2;
    border-radius: 0 80% 0 80%;
    top: 250px;
    left: 60px;
    transform: rotate(30deg);
}

.comp-leaf-1:hover {
    transform: rotate(30deg) translate(3px, -3px);
}

.comp-leaf-2 {
    width: 40px;
    height: 20px;
    background: #1A3A2A;
    opacity: 0.1;
    border-radius: 0 80% 0 80%;
    top: 320px;
    left: 190px;
    transform: rotate(-20deg);
}

.comp-leaf-2:hover {
    transform: rotate(-20deg) translate(3px, -3px);
}

.comp-label-line {
    position: absolute;
    height: 1px;
    background: #1A3A2A;
    opacity: 0.25;
}

.comp-label-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #1A3A2A;
    opacity: 0.5;
    white-space: nowrap;
    position: absolute;
    top: -14px;
    right: 0;
}

.comp-label-1 {
    width: 90px;
    top: 110px;
    left: 290px;
    transform: rotate(-2deg);
}

.comp-label-2 {
    width: 110px;
    top: 230px;
    left: 300px;
    transform: rotate(1deg);
}

.comp-label-3 {
    width: 80px;
    top: 340px;
    left: 280px;
    transform: rotate(-3deg);
}

.collection-text {
    grid-column: 8 / 13;
    padding-top: 1rem;
}

.collection-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #1A3A2A;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.collection-text p {
    margin-bottom: 1.5rem;
    color: #1A3A2A;
    opacity: 0.85;
}

/* ============================================
   CLOSING SECTION (Section 4)
   ============================================ */

#closing {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.closing-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.closing-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1A3A2A;
    margin-bottom: 1rem;
}

.closing-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #4A8A7A;
    letter-spacing: 0.05em;
}

/* Closing botanical arrangement */
.closing-botanicals {
    position: relative;
    width: 200px;
    height: 120px;
    margin: 0 auto 3rem;
}

.closing-shape {
    position: absolute;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.closing-shape:hover {
    transform: translate(3px, -3px);
}

.closing-c1 {
    width: 50px;
    height: 50px;
    background: #C85A4A;
    opacity: 0.2;
    top: 10px;
    left: 40px;
}

.closing-c2 {
    width: 40px;
    height: 40px;
    background: #4A8A7A;
    opacity: 0.25;
    top: 30px;
    left: 75px;
}

.closing-c3 {
    width: 30px;
    height: 30px;
    background: #C8A868;
    opacity: 0.2;
    top: 15px;
    left: 105px;
}

.closing-t1 {
    border-radius: 0;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 30px solid #4A8A7A;
    background: transparent;
    opacity: 0.15;
    top: 65px;
    left: 55px;
    transform: rotate(10deg);
}

.closing-t1:hover {
    transform: rotate(10deg) translate(3px, -3px);
}

.closing-t2 {
    border-radius: 0;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 25px solid #C85A4A;
    background: transparent;
    opacity: 0.15;
    top: 70px;
    left: 100px;
    transform: rotate(-8deg);
}

.closing-t2:hover {
    transform: rotate(-8deg) translate(3px, -3px);
}

.closing-label-line {
    position: absolute;
    width: 60px;
    height: 1px;
    background: #1A3A2A;
    opacity: 0.25;
    bottom: 0;
    left: 70px;
}

.closing-label-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: #1A3A2A;
    opacity: 0.5;
    white-space: nowrap;
    position: absolute;
    top: -14px;
    right: 0;
    text-transform: uppercase;
}

/* Closing tendrils */
.closing-tendril-left,
.closing-tendril-right {
    position: absolute;
    width: 100px;
    height: 300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.closing-tendril-left {
    left: 5%;
}

.closing-tendril-right {
    right: 5%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .editorial-body {
        grid-column: 1 / 8;
    }

    .editorial-pullquote {
        grid-column: 8 / 13;
    }

    .editorial-botanical {
        grid-column: 8 / 13;
    }

    .collection-composition {
        grid-column: 1 / 7;
    }

    .collection-text {
        grid-column: 7 / 13;
    }
}

@media (max-width: 768px) {
    #editorial {
        padding: 4rem 1.5rem;
    }

    .editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .editorial-body {
        order: 1;
    }

    .editorial-pullquote {
        order: 2;
    }

    .editorial-botanical {
        order: 3;
    }

    #collection {
        padding: 3rem 1.5rem 4rem;
    }

    .collection-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .collection-composition {
        order: 2;
        min-height: 350px;
    }

    .collection-text {
        order: 1;
    }

    .shape-cluster-1 {
        top: 8%;
        left: 5%;
        transform: scale(0.75);
    }

    .shape-cluster-2 {
        top: 5%;
        right: 5%;
        transform: scale(0.7);
    }

    .shape-cluster-3 {
        bottom: 15%;
        right: 8%;
        transform: scale(0.7);
    }

    .closing-tendril-left,
    .closing-tendril-right {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    #closing {
        padding: 5rem 1.5rem;
    }

    .closing-tendril-left,
    .closing-tendril-right {
        display: none;
    }
}
