/* foryou.reviews - Soft Serif Editorial / Cottagecore Pastoral */

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

:root {
    --warm-cream: #FAF6F0;
    --warm-tan: #F0E8DC;
    --deep-brown: #3D2E22;
    --cafe-moka: #8A7260;
    --honey-gold: #C4A882;
    --parchment: #E8DFD0;
    --soft-border: #D8CCBC;
    --cream-light: #FFF8F0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 2.0;
    background-color: var(--warm-cream);
    color: var(--deep-brown);
    overflow-x: hidden;
}

/* ==================== HERO ==================== */
#hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-cream);
    padding: 40vh 2rem 30vh;
}

.hero-content {
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-foryou {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--deep-brown);
    line-height: 1.1;
    opacity: 0;
    transition: opacity 800ms ease-in;
}

body.loaded .hero-foryou {
    opacity: 1;
}

.flourish {
    opacity: 0;
    transition: opacity 400ms ease 800ms;
}

body.loaded .flourish {
    opacity: 1;
}

.hero-reviews {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--deep-brown);
    line-height: 1.2;
    opacity: 0;
    transition: opacity 400ms ease 1200ms;
}

body.loaded .hero-reviews {
    opacity: 1;
}

/* ==================== FEATURED REVIEW ==================== */
#featured {
    padding: clamp(3rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6rem);
    max-width: 1100px;
    margin: 0 auto;
}

.featured-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.featured-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--deep-brown);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.featured-body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 2.0;
    color: var(--deep-brown);
    opacity: 0.3;
    transition: opacity 600ms ease;
}

.featured-body.visible {
    opacity: 1;
}

.drop-cap {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 4rem;
    color: var(--honey-gold);
    float: left;
    margin-right: 8px;
    line-height: 0.85;
    text-shadow: 2px 2px 0 rgba(196, 168, 130, 0.15);
    opacity: 0;
    transition: opacity 300ms ease;
}

.drop-cap.visible {
    opacity: 1;
}

.featured-sidebar {
    position: sticky;
    top: 4rem;
}

.pull-quote {
    padding-left: 1.5rem;
    border-left: 3px solid var(--honey-gold);
    border-left-width: 3px;
    transform-origin: top;
}

.pull-quote-border {
    transform: scaleY(0);
    transition: transform 400ms ease;
}

.pull-quote-border.visible {
    transform: scaleY(1);
}

.quote-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--cafe-moka);
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 400ms ease 400ms;
}

.quote-text.visible {
    opacity: 1;
}

.quote-attr {
    font-family: 'Cormorant', serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cafe-moka);
}

/* ==================== REVIEW CARDS ==================== */
#reviews {
    padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
    max-width: 800px;
    margin: 0 auto;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.review-card {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease, transform 500ms ease, background-color 200ms ease;
    padding: 2rem 0;
    border-radius: 4px;
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    background-color: var(--cream-light);
}

.review-divider {
    width: 100%;
    height: 1px;
    background: var(--parchment);
    margin-bottom: 2rem;
}

.review-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--deep-brown);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.review-excerpt {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 2.0;
    color: var(--deep-brown);
    margin-bottom: 1.25rem;
}

.star-row {
    display: flex;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.star {
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: transform 200ms ease;
}

.star.animated {
    transform: scale(1);
}

.star.filled polygon {
    fill: var(--honey-gold);
}

.star.empty polygon {
    fill: none;
    stroke: var(--parchment);
    stroke-width: 1;
}

.reviewer-name {
    font-family: 'Cormorant', serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cafe-moka);
}

/* ==================== RECOMMENDATIONS ==================== */
#recommendations {
    background: var(--warm-tan);
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
    text-align: center;
}

.rec-heading {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--deep-brown);
    margin-bottom: 3rem;
}

.rec-row {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.rec-box {
    flex: 1 1 280px;
    max-width: 320px;
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    background: var(--warm-cream);
    transition: border-color 200ms ease;
}

.rec-box:hover {
    border-color: var(--honey-gold);
}

.rec-category {
    font-family: 'Cormorant', serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cafe-moka);
    display: block;
    margin-bottom: 0.75rem;
}

.rec-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--deep-brown);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.rec-tagline {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--cafe-moka);
}

/* ==================== FOOTER ==================== */
#footer {
    background: var(--deep-brown);
    padding: 3rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-leaf {
    opacity: 0.6;
}

.footer-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--warm-cream);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .featured-layout {
        grid-template-columns: 1fr;
    }

    .featured-sidebar {
        position: static;
    }

    #hero {
        padding: 20vh 2rem 15vh;
    }

    .reviews-list {
        gap: 50px;
    }

    .rec-row {
        flex-direction: column;
        align-items: center;
    }
}
