.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8rem;
    padding-top: 4rem;
    overflow: hidden;
    background-color: var(--pink);
}

.hero-content { position: relative; max-width: 800px; z-index: 2; }
.hero-illustration { position: relative; z-index: 1; width: 30%; max-width: 350px; }
.hero-illustration img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(128, 0, 32, 0.15)); }

.hero h1 {
    font-family: "TAN-NIMBUS", serif;
    font-size: 3rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 500;
    text-transform: lowercase;
    color: var(--wine-red);
}

.hero h1 .highlight {
    color: var(--wine-deep);
    background-color: var(--wine-red);
    padding: 0 10px;
}

.hero h1 .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--wine-deep);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink-cursor 0.4s step-end infinite;
}

@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero p {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
    letter-spacing: 1px;
    color: var(--wine-red);
    text-transform: uppercase;
}

.split-intro { position: relative; }
.bottles-sticky {
    position: relative;
    min-height: 100vh;
    padding: 5vh 0;
    overflow: hidden;
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottles-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 3rem 5rem;
    padding: 2rem 3rem;
    width: 100%;
    max-width: 1600px;
    align-items: end;
}

.bottle-item { display: flex; align-items: flex-end; justify-content: center; opacity: 0; transform: translateY(80px); }
.bottle-item img {
    width: 100%;
    max-height: 175px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.bottle-item img:hover { transform: scale(1.08) translateY(-5px); }

.producers-section {
    padding: 5rem 6rem;
    background: var(--lavender);
    position: relative;
    z-index: 2;
}

.section-header { margin-bottom: 6rem; }
.section-title {
    font-family: "TAN-NIMBUS", serif;
    font-size: 3rem;
    font-style: italic;
    font-weight: normal;
    line-height: 1.5;
    max-width: 800px;
    color: var(--wine-red);
    text-transform: lowercase;
}

.producers-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; max-width: 1600px; margin: 0 auto; justify-content: center; }
.producer-card-container { width: calc((100% - 5rem) / 3); height: 400px; perspective: 1500px; cursor: pointer; opacity: 0; transform: translateY(60px); }
.producer-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.producer-card-container.flipped .producer-card-inner { transform: rotateY(180deg); }
.producer-card-face { position: absolute;width: 100%;height: 100%;backface-visibility: hidden;-webkit-backface-visibility: hidden;border-radius: 16px;overflow: hidden; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; }
.producer-card-front { background: var(--wine-deep); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 2.5rem 2rem; position: relative; }
.silhouette-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}
.silhouette-img { max-width: 90%; max-height: 85%; object-fit: contain; transition: transform 0.5s ease; }
.producer-card-container:hover .silhouette-img { transform: scale(1.03) translateY(-5px); }
.front-label { position: relative; z-index: 2; text-align: center; width: 100%; pointer-events: none; }
.front-label .producer-region { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--wine-red); margin-bottom: 0.4rem; }
.front-label h3 { font-family: "TAN-NIMBUS", serif; font-size: 1.5rem; font-style: italic; font-weight: normal; color: var(--charcoal); line-height: 1.3; text-transform: lowercase; }
.front-label .highlight { background-color: var(--wine-red); color: var(--wine-deep); padding: 0 10px; }
.producer-card-container.flipped .producer-card-front { pointer-events: none; }
.producer-card-back { background: var(--wine-deep);
            transform: rotateY(180deg);
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: var(--charcoal);
            position: absolute;
            top: 0; }
.producer-card-back::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0%, rgba(128, 0, 32, 0.04) 100%); }
.producer-content { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.producer-content .producer-region { font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; color: var(--wine-red); margin-bottom: 0.8rem; opacity: 0.8; }
.producer-card-back h3 { font-family: "TAN-NIMBUS", serif; font-size: 1.5rem; font-weight: normal; margin-bottom: 1.5rem; font-style: italic; text-transform: lowercase; }
.producer-card-back p { font-size: 0.7rem; line-height: 1.75; opacity: 0.8; margin-bottom: 1.5rem; text-transform: uppercase; }
.producer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
    padding: 0.95rem 0rem;
    border-radius: 16px;
    color: var(--wine-red);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    touch-action: manipulation;
    position: relative;
    z-index: 3;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.producer-link::after {
    content: "\2192";
    font-size: 0.95rem;
    line-height: 1;
}
.producer-link:hover {
    transform: translateY(-1px);
}

.cta-section { padding: 5rem 6rem 7rem; background: var(--wine-deep); position: relative; z-index: 2; }
.cta-inner, .page-intro-inner { max-width: 1000px; margin: 0 auto; }
.cta-kicker, .page-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--wine-red); margin-bottom: 1rem; }
.cta-inner h2, .page-intro-inner h1 {
    font-family: "TAN-NIMBUS", serif;
    font-size: 3rem;
    font-style: italic;
    color: var(--wine-red);
    text-transform: lowercase;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.cta-link { color: var(--wine-red); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.page-intro { padding: 11rem 6rem 4rem; background: var(--pink); position: relative; z-index: 2; }
.page-intro-inner p { max-width: 700px; font-size: 1rem; line-height: 1.7; }

@media (max-width: 1024px) {
    .hero { padding: 7rem 2rem 3rem; flex-direction: column; justify-content: center; gap: 2rem; height: auto; min-height: 100vh; }
    .hero-illustration { width: 55%; }
    .bottles-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2rem; }
    .producers-section, .cta-section, .page-intro { padding-left: 2rem; padding-right: 2rem; }
    .producer-card-container { width: calc((100% - 2.5rem) / 2); }
}

@media (max-width: 600px) {
    .hero { padding: 6rem 1.5rem 2rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }
    .hero-illustration { width: 80%; }
    .bottles-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.5rem; }
    .section-title, .cta-inner h2, .page-intro-inner h1 { font-size: 2rem; }
    .producer-card-container { width: 100%;height: 450px; }
}
