/* ==========================================================================
   MAIN FOOTER LAYOUT COMPONENT
   ========================================================================== */
.main-footer {
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 60%), 
                #32011e !important; 
    color: #ffffff !important;
    padding: 40px clamp(20px, 4vw, 60px) 0 clamp(20px, 4vw, 60px);
    margin-top: auto; 
    border-top: 1px solid rgba(215, 164, 86, 0.2); 
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
    overflow-x: hidden; 
}

.footer-top-editorial {
    max-width: 1300px;
    margin: 0 auto;
    display: grid; 
    /* Two distinct asymmetry blocks on desktop: Statement left, Address right */
    grid-template-columns: 2fr 1fr;
    gap: clamp(30px, 5vw, 60px);       
    padding-bottom: 35px; 
    align-items: start;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.footer-editorial-statement {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(20px, 2.2vw, 28px); 
    line-height: 1.35;
    font-weight: 700 !important; 
    letter-spacing: -0.2px;
    background: linear-gradient(to right, #FFFFFF, #E5DCDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0; 
}

.footer-editorial-statement span { 
    color: var(--accent, #d7a456) !important; 
    -webkit-text-fill-color: var(--accent, #d7a456) !important; 
}

.footer-editorial-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}
.footer-editorial-description a {
    display: block; /* ensures each email is on its own line */
    color: var(--accent, #d7a456) !important;
    text-decoration: none !important;
}


/* ==========================================================================
   RIGHT COLUMN ADDRESS & INLINE GPS ARCHITECTURE
   ========================================================================== */
.footer-address-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 60%), 
                #32011e !important;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(215, 164, 86, 0.1);
}

.address-column-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #d7a456);
    margin: 0;
    font-weight: 700;
}

.studio-physical-address {
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.studio-physical-address strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Tiny map link action right below the address block */
.gps-inline-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent, #d7a456) !important;
    text-decoration: none !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
    transition: color 0.3s ease;
    width: fit-content;
}

.gps-inline-trigger:hover {
    color: #FFFFFF !important;
}

/* Tightening control directly on the inline map icon layer */
.gps-inline-trigger .social-icon-svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}

/* ==========================================================================
   METADATA RIBBON TRACK (WHITE SOLID CONTAINER)
   ========================================================================== */
.footer-bottom-ribbon { 
    background-color: #FFFFFF !important;
    padding: 18px clamp(20px, 4vw, 60px) !important; 
    margin-left: calc(-1 * clamp(20px, 4vw, 60px));
    margin-right: calc(-1 * clamp(20px, 4vw, 60px));
    width: calc(100% + (2 * clamp(20px, 4vw, 60px)));
    box-sizing: border-box;
}

.ribbon-container { 
    max-width: 1300px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 12px; 
}

.ribbon-block p { 
    font-size: 11px; 
    letter-spacing: 0.8px; 
    text-transform: uppercase; 
    font-weight: 600; 
    margin: 0; 
}

.copyright-block p { color: #555555; }
.studio-info-block p { color: #111111; }
.gold-dot { color: var(--accent, #d7a456); font-weight: 700; padding: 0 6px; }

.footer-social-curations { display: flex; align-items: center; gap: 14px; }

/* ==========================================================================
   BOTTOM RIBBON CIRCLE SOCIAL BUTTONS (SVG COMPATIBILITY ENGINE)
   ========================================================================== */
.social-curation-link { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    color: #000000 !important;   /* force white icons */
    border: 1px solid rgba(255, 255, 255, 0.2); 
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

.social-curation-link .social-icon-svg { 
    width: 16px !important;       
    height: 16px !important;      
    /* Force paths with stroke/fill settings to read color properties */
  
}

/* Deep override targeting inner path vectors of standard SVG structures */
.social-curation-link .social-icon-svg * {
    fill: inherit !important;
    stroke: inherit !important;
}

/* Ensure the circular layout scales properly upon user transition states */
.social-curation-link:hover { 
    color: #32011e !important; 
    border-color: var(--accent, #d7a456); 
    background-color: var(--accent, #d7a456); 
    transform: translateY(-2px);
}

.social-curation-link:hover .social-icon-svg {
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */
@media (max-width: 868px) {
    .footer-top-editorial {
        grid-template-columns: 1fr; /* Stack text statement and address vertically */
        gap: 30px;
    }
    
    .footer-address-column {
        max-width: 100%;
    }
    
    .ribbon-container {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS (1024px, 992px, 768px, 480px)
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (iPad Pro / 13" Air screens) */
@media (max-width: 1024px) {
    .footer-top-editorial {
        /* Shift grid balance to give the address box more structural breathing room */
        grid-template-columns: 1.2fr 1fr;
        gap: 35px;
        padding-bottom: 30px;
    }

    .footer-editorial-statement {
        font-size: 22px; /* Smooth downscale of luxury statement text */
    }
}

/* 2. Medium Tablets & Horizontal Landscapes (Nexus / Kindle / iPad Air Landscape) */
@media (max-width: 992px) {
    .footer-top-editorial {
        /* Transition into an aligned flex-column so the layout never squishes */
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand-column {
        max-width: 100%;
        text-align: left;
    }

    .footer-address-column {
        width: 100%;
        max-width: 450px; /* Limits size so address box doesn't look stretched across laptop sizes */
        margin-top: 5px;
    }
}

/* 3. Portrait Tablets & iPads (The 768px Sweetspot) */
@media (max-width: 768px) {
    .main-footer {
         background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 60%), 
                #32011e !important;
        padding: 40px 30px 0 30px; /* Tightens wide desktop margins to save screen real estate */
    }

    .footer-top-editorial {
        gap: 35px;
    }

    .footer-address-column {
        width: 100%;
        max-width: 100%; /* Lets address block use full viewport container scale beautifully */
        box-sizing: border-box;
    }

    /* Ribbon layout transforms into a elegant stacked matrix layout */
    .ribbon-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 16px;
        padding: 5px 0;
    }

    /* Arranges ribbon tracking layers nicely */
    .ribbon-block {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* 4. Ultra-Compact Mobile Interfaces */
@media (max-width: 480px) {
    .main-footer {
        background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 60%), 
                #32011e !important;
        padding: 35px 20px 0 20px;
    }
    .social-curation-link {
    color: #000000 !important; /* white on mobile */
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
  }
    
    .footer-editorial-statement {
        font-size: 19px;
        line-height: 1.4;
    }

    .footer-bottom-ribbon {
        padding: 22px 20px !important;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .footer-social-curations {
        gap: 12px; /* Tightens social item clusters slightly on mini mobile screens */
    }
}
