/* Base Wrapper */
.wm-e8b721e0-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: transparent;
    box-sizing: border-box;
}

.wm-e8b721e0-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    object-position: center bottom;
}

.wm-e8b721e0-heading {
    font-family: var(--e-global-typography-primary-font-family, serif);
    font-weight: 300;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.wm-e8b721e0-body {
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.wm-e8b721e0-divider {
    height: 1px;
    width: 100%;
    background-color: #111;
    margin: 120px 0;
    opacity: 0.15;
}

.wm-e8b721e0-btn {
    display: inline-block;
    border: 1px solid #111;
    padding: 16px 32px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    background: transparent;
}

.wm-e8b721e0-btn:hover {
    background-color: #111;
    color: #fff !important;
}

/* Hero */
.wm-e8b721e0-hero {
    margin-bottom: 60px; /* Reduced to fit nav */
}

.wm-e8b721e0-hero-img img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    object-position: center bottom;
}

.wm-e8b721e0-hero-content {
    margin-top: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wm-e8b721e0-hero-title {
    font-size: clamp(3rem, 5vw, 6rem);
    margin-bottom: 24px;
}

.wm-e8b721e0-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.7;
}

/* Integrated Navigation Row */
.wm-e8b721e0-nav-container {
    width: 100%;
    margin: 40px 0 120px;
    overflow: hidden;
}

.wm-e8b721e0-nav-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.wm-e8b721e0-nav-scroll::-webkit-scrollbar {
    display: none;
}

.wm-e8b721e0-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    justify-content: center;
    flex-wrap: nowrap; /* Keep on a single line */
}

.wm-e8b721e0-nav-item {
    flex: 1 1 auto; /* Allow flexible sizing but maintain single line */
    min-width: 60px;
    max-width: 100px; /* Constrain max size so they all fit */
    margin: 0;
}

.wm-e8b721e0-nav-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.wm-e8b721e0-nav-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.wm-e8b721e0-nav-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fit the entire image without cutting off */
    object-position: center;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.wm-e8b721e0-nav-link:hover .wm-e8b721e0-nav-img {
    transform: scale(1.05);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .wm-e8b721e0-nav-list {
        justify-content: flex-start;
        min-width: min-content;
    }
    
    .wm-e8b721e0-nav-item {
        flex: 0 0 80px; /* Fixed width for thumbnails on mobile scroll */
    }
}

/* Pieces / Cast of Characters */
.wm-e8b721e0-piece {
    margin-bottom: 180px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    scroll-margin-top: 100px; 
}

.wm-e8b721e0-piece:nth-child(even) {
    direction: rtl;
}

.wm-e8b721e0-piece:nth-child(even) > * {
    direction: ltr;
}

.wm-e8b721e0-piece:last-child {
    margin-bottom: 0;
}

.wm-e8b721e0-piece-content {
    max-width: 500px;
}

.wm-e8b721e0-piece-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    margin-bottom: 30px;
}

.wm-e8b721e0-piece-intro {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.wm-e8b721e0-piece-hero-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center bottom;
}

/* Actions */
.wm-e8b721e0-piece-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Craftsmanship */
.wm-e8b721e0-craftsmanship {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wm-e8b721e0-craft-title {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 30px;
}

.wm-e8b721e0-craft-content {
    font-size: 1.2rem;
    opacity: 0.8;
}

.wm-e8b721e0-craft-img img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center bottom;
}

/* CTA */
.wm-e8b721e0-cta {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 40px 0 120px;
}

.wm-e8b721e0-cta-content-wrap {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.wm-e8b721e0-cta-title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 24px;
}

.wm-e8b721e0-cta-content {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.wm-e8b721e0-cta-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wm-e8b721e0-cta-img-wrap img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .wm-e8b721e0-piece,
    .wm-e8b721e0-craftsmanship {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .wm-e8b721e0-piece:nth-child(even) {
        direction: ltr;
    }
    
    .wm-e8b721e0-piece-hero-img {
        order: -1;
    }
    
    .wm-e8b721e0-piece-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .wm-e8b721e0-divider {
        margin: 80px 0;
    }

    .wm-e8b721e0-hero-img img {
        height: 60vh;
    }
    
    .wm-e8b721e0-cta-images {
        grid-template-columns: 1fr;
    }
}