/* 
   SERVICES PAGE STYLES 
   Atmospheric Hero, Viewfinder, Digital Fabric
*/

/* --- 0. ATMOSPHERIC HERO (Editorial Redesign) --- */
.services-hero-atmos {
    min-height: 90vh; /* Slightly less than full screen for editorial breathing room */
    background: linear-gradient(rgba(30, 20, 15, 0.85), rgba(30, 20, 15, 0.5)), url('../assets/images/services_hero_atmos.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    z-index: 10;
    padding-block: clamp(4rem, 8vw, 6rem);
    overflow: hidden;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Editorial asymmetry */
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    width: 100%;
}

.hero-left-content {
    max-width: 650px;
}

/* Cinematic Triptych Montage (100% Visibility Redesign) */
.hero-output-montage {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.montage-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    border: 4px solid white; 
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.montage-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-1 { /* Film Main */
    width: 300px;
    height: 380px;
    transform: rotate(-2deg);
    z-index: 3;
}

.frame-2 { /* Craft Detail */
    width: 180px;
    height: 180px;
    top: 20px;
    left: 0;
    transform: rotate(5deg);
    z-index: 4;
}

.frame-3 { /* Fashion Accent */
    width: 160px;
    height: 160px;
    bottom: 20px;
    right: 0;
    transform: rotate(-8deg);
    z-index: 5;
}

.montage-frame:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

/* Floating Info Label */
.montage-info-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(60, 42, 30, 0.95); /* Deep Ink tint */
    color: white;
    padding: 2.5rem;
    border-radius: 30px;
    width: 380px;
    max-width: 90%;
    z-index: 6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    text-align: left;
}

.montage-info-float h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: white;
    text-transform: none;
    line-height: 1.1;
}

.montage-info-float p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Redesign the EST circle to fit the new montage */
.montage-est-float {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--about-clay);
    border-radius: 50%;
    top: -30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
    z-index: 7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 3px solid white;
}



.hero-kicker {

    font-family: var(--font-body);
    color: var(--about-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.editorial-heading-light {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-lede {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 45ch;
}

@media (max-width: 1024px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
        gap: 6rem; /* More gap for stacked montage items */
        padding-top: 4rem;
        text-align: center;
    }

    .hero-left-content {
        max-width: none;
        margin-inline: auto;
    }

    .hero-output-montage {
        height: 500px;
    }

    .dual-viewport-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .viewfinder-side {
        transform: none;
        aspect-ratio: 16/9;
    }
}


@media (max-width: 768px) {
    .services-hero-atmos {
        min-height: auto;
        padding-block: 8rem 10rem;
    }
    
    .editorial-heading-light {
        font-size: 3rem;
    }

    .montage-main-frame {
        width: 280px;
        padding: 2rem;
    }

    .montage-glass-circle {
        width: 100px;
        height: 100px;
        top: -30px;
        right: -10px;
    }

    .montage-accent-floating {
        bottom: -20px;
        left: 0;
        padding: 1rem 2rem;
    }
}




/* --- 1. THE CINEMATIC ATELIER --- */
.atelier-section {
    background: #F8F6F4; /* Warm paper tint */
    padding-block: clamp(6rem, 12vw, 15rem);
    position: relative;
    overflow: hidden;
}

.atelier-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(4rem, 8vw, 10rem);
    align-items: center;
}

.atelier-tag {
    font-family: var(--font-body);
    color: var(--about-clay);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    display: block;
}

.atelier-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--about-ink);
    line-height: 0.95;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
}

.atelier-lede {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #6D6A66;
    margin-bottom: 4rem;
    max-width: 42ch;
}

/* Service Menu Refined */
.atelier-menu {
    list-style: none;
    padding: 0;
}

.atelier-menu-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1.5rem;
    padding-block: 2.5rem;
    border-top: 1px solid rgba(60, 42, 30, 0.08);
    transition: all 0.4s ease;
}

.atelier-menu-item:last-child {
    border-bottom: 1px solid rgba(60, 42, 30, 0.08);
}

.num-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--about-clay);
    font-weight: 800;
    margin-top: 0.3rem;
}

.atelier-menu-item h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
    color: var(--about-ink);
    text-transform: none;
    letter-spacing: -0.01em;
}

.atelier-menu-item p {
    font-size: 0.95rem;
    color: #888;
    margin: 0;
}

.atelier-gallery-wall {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 700px;
    position: relative;
}

.gallery-card {
    background: white;
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(60, 42, 30, 0.12);
    border: 1px solid rgba(60, 42, 30, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 50px 100px rgba(60, 42, 30, 0.2);
    z-index: 20;
}

.card-main { grid-column: 1 / 9; grid-row: 1 / 9; z-index: 2; border: 1.5rem solid #fff; }
.card-accent { grid-column: 6 / 13; grid-row: 6 / 12; z-index: 3; border: 1rem solid #fff; }

.atelier-texture {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    opacity: 0.3;
    pointer-events: none;
}

/* --- 2. THE HERITAGE WORKBENCH --- */
.heritage-section {
    background: #2D1D13; /* Deep dark brown */
    padding-block: clamp(6rem, 12vw, 15rem);
    position: relative;
    color: var(--about-paper);
    overflow: hidden;
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.heritage-display {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 650px;
    position: relative;
}

.craft-frame {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.craft-frame img { width: 100%; height: 100%; object-fit: cover; }

.frame-weaver { grid-column: 1 / 10; grid-row: 1 / 11; z-index: 1; border-radius: 40px 120px 40px 120px; }
.frame-beads { 
    grid-column: 8 / 13; 
    grid-row: 6 / 12; 
    z-index: 3; 
    border-radius: 50%; 
    width: 280px; 
    height: 280px; 
    border: 10px solid var(--about-clay); 
}
.frame-heritage { grid-column: 1 / 6; grid-row: 8 / 13; z-index: 2; border-radius: 20px; border: 8px solid #fff; }

.craft-frame:hover { transform: scale(1.05); z-index: 10; }

.heritage-narrative .section-tag-light {
    color: var(--about-gold);
    display: block;
    margin-bottom: 2rem;
    letter-spacing: 0.3em;
    font-weight: 700;
}

.heritage-narrative .editorial-heading-light span {
    color: var(--about-gold);
}

.heritage-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.heritage-chip {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.heritage-chip:hover {
    background: var(--about-gold);
    color: var(--about-ink);
}




.viewfinder-frame {
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid white;
}

.corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.iso-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    font-family: var(--font-body);
    letter-spacing: 2px;
    opacity: 0.6;
}

/* --- 2. THE EDITORIAL MENU --- */
.editorial-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    padding-block: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brown-theme .menu-item { border-bottom-color: rgba(255, 255, 255, 0.1); }

.menu-item .menu-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--about-clay);
    font-weight: 700;
}

.menu-item h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.4s ease;
}

.menu-item i {
    opacity: 0.2;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.menu-item:hover {
    padding-left: 1rem;
    color: var(--about-clay);
}

.menu-item:hover h3 { transform: translateX(10px); }
.menu-item:hover i { opacity: 1; transform: translateX(0); }

/* --- 3. THE HERITAGE LOOM --- */
.loom-viewport {
    background: #0D0D0D;
    border-radius: 4rem;
    padding: 4rem;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bead-interaction-surface {
    background: #111;
    border-radius: 2rem;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.bead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18px, 1fr));
    gap: 4px;
    padding: 1.5rem;
    height: 100%;
}

.bead-slot {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.bead-slot:hover {
    transform: scale(1.6);
    background-color: var(--about-clay);
}

.loom-label {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.specialty-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--about-paper);
}