html {
    scroll-behavior: smooth;
} 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 
*:not(i):not(.icon) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   1. GLOBAL CANVAS & HIGH-END TYPOGRAPHY SYSTEM
   ========================================================================== */
body, html {
    height: 100%;
    width: 100%; 
    background-color: #f7f7f7 !important; 
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
} 

body {
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
} 

/* SAFE TYPOGRAPHY ENGINE: Expanded to eliminate system fallbacks like Calibri */
body, html, p, div, span, em, li, h1, h2, h3, h4, input, textarea, button, 
ol, ul, strong, b, i, small, pre, code, blockquote, td, th, section, article, aside,
.copyright-text, .photographer-credit, .artwork-title, .artwork-details, .artwork-dimensions, .artwork-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* ==========================================================================
   2. INSTITUTIONAL NAVIGATION MENUS
   ========================================================================== */
.subpage-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: transparent !important;
    pointer-events: none;
    z-index: 10 !important; 
    padding: 40px 40px 15px 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease;
}

.brand-logo-link {
    text-decoration: none;
    pointer-events: auto;
} 

.brand-logo {
    width: 160px;
    height: auto;
    mix-blend-mode: multiply;
} 

.subpage-menu {
    display: flex;
    gap: 60px;
    pointer-events: auto;
} 

.menu-link {
    color: #999;
    text-decoration: none;
    font-size: 0.75rem;       
    font-weight: 300;
    letter-spacing: 0.25em;   
    text-transform: uppercase;
    padding: 5px 0;
    transition: opacity 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-link:hover { opacity: 0.6; } 
.menu-link.active { color: #111; pointer-events: none; } 

/* ==========================================================================
   3. WRAPPERS & UNIFORM DESCRIPTION TEXT SIZES
   ========================================================================== */
.subpage-fade-wrapper {
    opacity: 0;
    animation: cinematicFadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    padding-top: 115px;
} 

@keyframes cinematicFadeIn { to { opacity: 1; } } 

.main-content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
} 

.page-title {
    font-size: 1.6rem !important; /* Fixed sizing parameter scale */
    font-weight: 300;
    letter-spacing: 0.18em;   
    text-transform: uppercase;
    color: #111;
    margin-top: 40px;
    margin-bottom: 5px;
} 

.page-intro, .bio-text {
    font-size: 1.05rem !important;       
    line-height: 1.8 !important;         
    color: #333333 !important;              
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 15px;
}

/* ==========================================================================
   4. CONTACT FORM MODULE COMPONENT
   ========================================================================== */
.contact-text {
    line-height: 1.75;
    font-size: 1.1rem;
    color: #444;
    font-weight: 300;
    letter-spacing: 0.01em;
} 

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 15px;
    width: 100%;
} 

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
} 

.form-label {
    font-size: 1.05rem;
    color: #111;
    font-weight: 400;
    letter-spacing: 0.05em;
} 

.form-label span { color: #cc0000; } 

.form-input {
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e5e5e5; 
    font-size: 1rem;
    color: #111;
    transition: border-color 0.3s;
    outline: none;
}

.form-input:focus { border-bottom: 1px solid #111; } 
textarea.form-input { min-height: 120px; resize: vertical; } 
.form-group-hidden { display: none !important; visibility: hidden !important; } 

.submit-btn {
    align-self: flex-start;
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 35px;
} 

.submit-btn:hover {
    background: #555555; 
    opacity: 1;          
    transition: background-color 0.3s ease; 
}

.required-legend {
    font-size: 0.8rem;
    color: #cc0000;            
    letter-spacing: 0.08em;    
    font-style: italic;
    margin-bottom: 10px;
}

.required-star {
    color: #d93025;
    margin-left: 3px;
    font-family: sans-serif;
} 

/* ==========================================================================
   5. EXHIBS & CHRONOLOGY REGISTRY (CV SYSTEM)
   ========================================================================== */
.cv-main-heading { font-size: 1.4rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: #111; margin-bottom: 30px; border-bottom: 1px solid #e5e5e5; padding-bottom: 10px; }
.cv-heading { font-size: 0.9rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: #1a1a1a; margin-top: 35px; margin-bottom: 20px; }
.cv-block { display: flex; flex-direction: column; gap: 12px; }
.cv-item { display: flex; gap: 30px; font-size: 0.95rem; line-height: 1.6; }
.cv-year { min-width: 80px; color: #777777; font-weight: 300; }
.cv-details { color: #333333; font-weight: 300; }
.cv-details em { font-style: italic; }
/* Secure CV & Archive content from default fallbacks */
.cv-year, .cv-details, .cv-details em, .artwork-meta, .artwork-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}


/* ==========================================================================
   6. ARTWORK COLLECTIONS DATA GRID
   ========================================================================== */
.artwork-section { width:100%; margin-top:40px; display:flex; flex-direction:column; gap:50px; }
.grid-row { display:grid; gap:35px; width:100%; margin-bottom:20px; align-items:start; }
.grid-1x { grid-template-columns:repeat(1,1fr); }
.grid-2x { grid-template-columns:repeat(2,1fr); }
.artwork-item { display:flex; flex-direction:column; gap:12px; width:100%; }
.img-wrapper { width:100%; overflow:hidden; background:#f7f7f7; isolation: isolate; padding: 20px; box-sizing: border-box; cursor:pointer; display:flex; align-items:center; justify-content:center; border:none; }

.artwork-img { width: auto; max-width: 100%; max-height: 70vh; display: block; margin: 0 auto; transition: opacity 0.3s ease; mix-blend-mode: multiply;}
.artwork-img:hover { opacity:0.85; }
.artwork-meta { text-align:left; padding-right:10px; width:100%; }

.artwork-title {
    font-size: 0.85rem !important; 
    font-weight: 300 !important;       
    letter-spacing: 0.18em !important;   
    text-transform: uppercase;
    color: #444444 !important;           
    margin-bottom: 6px;
}

.artwork-details, 
.artwork-dimensions {
    font-size: 0.8rem !important;
    color: #777777 !important;           
    font-weight: 300 !important;         
    line-height: 1.6 !important;
    letter-spacing: 0.05em !important;
}

/* ==========================================================================
   7. SIDEBAR MENUS SYSTEM
   ========================================================================== */
.gallery-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.95);
    z-index: 100;
    padding: 30px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
} 

.gallery-sidebar.active { right: 0; } 

.close-sidebar-btn {
    position: sticky;
    top: 0;
    z-index: 105;
    align-self: flex-end;
    background: transparent; /* rgba(15, 15, 15, 0.95); Matches sidebar background so text scrolls cleanly underneath */
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    color: #ffffff !important;        
    font-size: 1.8rem;               
    cursor: pointer;
    opacity: 0.8;
    font-family: sans-serif;         
    line-height: 1;
    margin-bottom: 10px;
    transition: opacity 0.2s;
    display: block !important;
    visibility: visible !important;
}

.close-sidebar-btn:hover { opacity: 1; } 

.sidebar-section-title {
    color: rgba(255, 255, 255, 0.4); 
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: -5px;
} 

.sidebar-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
} 

.sidebar-link:hover { opacity: 0.5; } 
.sidebar-link.active { color: #a0aec0 !important; pointer-events: none !important; }
.desktop-hide { display: none !important; } 

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    display: none;
} 

.sidebar-overlay.active { display: block; } 

/* ==========================================================================
   8. ART LIGHTBOX ARCHITECTURE & FOOTER MODULES
   ========================================================================== */
.art-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #f7f7f7 !important;
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.art-lightbox.active { display: flex !important; opacity: 1; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 100%;flex: 1 1 auto; min-height: 0; object-fit: contain; box-shadow: none; cursor: zoom-out; mix-blend-mode: multiply;}
.close-lightbox {
position: fixed;
top: 30px;
right: 40px;
background: none;
border: none;
color: #111;
font-size: 2.2rem;
font-weight: 200;
cursor: pointer;
z-index: 210;
line-height: 1;
transition: opacity 0.2s;
}
.close-lightbox:hover { opacity: 0.5; }
.credit-wrapper { width: 100%; display: flex; justify-content: flex-end; margin-top: 5px; margin-bottom: 20px; }
.page-intro-group { display: flex; flex-direction: column; gap: 3px; }
.photographer-credit { font-size: 0.85rem !important; color: #777 !important; font-style: italic; letter-spacing: 0.05em; font-weight: 300; text-align: right; }
.sliding-footer {
background: #f7f7f7;
width: 100vw;
padding: 40px 40px 20px 40px;
border-top: none;
margin-top: auto;
}
.footer-center-content { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.social-links { display: flex; gap: 40px; }
/* PROTECTS GLYPH FAMILIES: Re-allocates true font boundaries specifically to Font Awesome tags */
.social-links a i, .social-icon i, i.fa-brands, i.fa-solid {
font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", sans-serif !important;
font-weight: 400 !important;
}
.social-icon { color: #666; font-size: 1.6rem; transition: color 0.3s; text-decoration: none; }
.social-icon:hover { color: #000; }
.copyright-text { font-size: 0.85rem !important; color: #888 !important; letter-spacing: 0.08em; text-align: center; }
.burger-menu-btn { display: none; position: fixed; top: 35px; right: 40px; width: 30px; height: 24px; background: none; border: none; cursor: pointer; z-index: 101; flex-direction: column; justify-content: space-between; padding: 0; }
.burger-bar { width: 100%; height: 2px; background-color: #111; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.4s ease; transform-origin: left center; }
.burger-menu-btn.active .burger-bar:nth-child(1) { transform: rotate(45deg) translateY(-2px); }
.burger-menu-btn.active .burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-menu-btn.active .burger-bar:nth-child(3) { transform: rotate(-45deg) translateY(2px); }
/* ==========================================================================
9. MOBILE BREAKPOINTS
========================================================================== */
@media(max-width: 1280px) {
.subpage-header { justify-content: center; padding: 30px 20px 10px 20px; }
.subpage-fade-wrapper { padding-top: 80px; }
.subpage-menu { display: none; }
.burger-menu-btn { display: flex; }
.gallery-sidebar { width: 100%; right: -100%; }
.desktop-hide { display: block !important; }
.main-content-wrapper { padding: 20px; gap: 25px; }
.page-title { font-size: 1.5rem !important; text-align: center; margin-top: 20px; }
.grid-1x, .grid-2x { grid-template-columns: 1fr !important; gap: 40px; }
.artwork-meta { text-align: center; padding-right: 0; }
.close-lightbox { top: 20px; right: 25px; font-size: 2rem; }
.credit-wrapper { justify-content: center; }
.photographer-credit { text-align: center; }
    .subpage-header {
        background-color: #f7f7f7 !important;
        pointer-events: auto;
    }

}
/* ==========================================================================
10. ISOLATED NATIVE PLACEHOLDER INTERFACE OVERRIDES
========================================================================== */
.form-input::placeholder,
textarea::placeholder,
input::placeholder {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
font-size: 0.95rem !important;
color: #999999 !important;
font-weight: 300 !important;
letter-spacing: 0.02em !important;
}
/* ==========================================================================
   11. LIGHTBOX NAVIGATION INTERFACE ARROWS
   ========================================================================== */
.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #111111;
    font-size: 4rem;
    font-weight: 100;
    cursor: pointer;
    z-index: 220;
    padding: 20px;
    user-select: none;
    transition: opacity 0.2s ease;
    font-family: sans-serif;
}

.lightbox-arrow:hover { opacity: 0.4; }
.left-arrow { left: 40px; }
.right-arrow { right: 40px; }

/* Desktop keeps arrows pinned to the far edges of the screen */
.lightbox-bottom-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 12px;
}

/* Mobile places arrows cleanly to the left and right of the description */
@media (max-width: 768px) {
    .lightbox-content {
        width: 100vw;
        max-width: 100vw;
        max-height: 85vh;
        /* justify-content: space-between; */
    }
   /* .lightbox-img {
        max-height: 62vh;
        margin: auto 0;
    }  */
    .lightbox-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 15px;
        gap: 10px;
    }
    .lightbox-arrow {
        position: static;
        transform: none;
        font-size: 2.4rem;
        padding: 5px 15px;
        flex-shrink: 0;
    }
    .lightbox-caption {
        margin-top: 0;
        padding: 0;
        flex: 1;
    }
}

/* Margin bottom of photo credit */
/* Tighten the wrapper container */
.credit-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Eliminate the default browser paragraph gap below the text */
.photographer-credit {
    margin-bottom: 0 !important;
}
/* Fix background scroll leakage when mobile sidebar menu is active */
body:has(.gallery-sidebar.active) {
    overflow: hidden !important;
    height: 100vh !important;
}

/* ==========================================================================
   12. HOMEPAGE HERO & NAVIGATION LAYOUT (UNIFIED WITH SUBPAGES)
   ========================================================================== */
.header-navigation-container { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 10; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 40px 40px 15px 40px; 
    background-color: transparent;
}

.brand-header-wrapper { 
    width: auto; 
    display: flex; 
    justify-content: flex-start; 
}

/* Matches your exact subpage logo size */
.header-navigation-container .brand-logo { 
    width: 200px; 
    height: auto; 
    mix-blend-mode: multiply; 
}

.navigation-wrapper { 
    width: auto; 
    display: flex; 
    justify-content: flex-end; 
    margin-top: 0; 
} 

/* Matches your exact subpage menu spacing and font size */
.central-menu { 
    display: flex; 
    gap: 60px; 
}

.central-menu .menu-link { 
    color: #999; 
    font-size: 0.75rem; 
}

.homepage-hero { 
    height: 100vh; 
    min-height: 100vh; /* Prevents flexbox from shrinking the hero */
    flex-shrink: 0;    /* Locks the full-screen height */
    width: 100vw; 
    background-color: transparent; /* Removes the double-grey box */
    background-image: url('cover-photo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; /* Keeps 100% of the sculpture visible without cropping */
    /* mix-blend-mode: multiply; Melts the photo's white background into the #f7f7f7 page */
    position: relative; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: center; 
    padding: 40px; 
    opacity: 0; 
    animation: cinematicFadeIn 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
}


.hero-bottom-bar { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    display: flex; 
    justify-content: flex-end; 
}

.footer-top-row { 
    width: 100%; 
    display: flex; 
    justify-content: flex-end; 
    margin-bottom: 15px; 
}

.photo-credit { 
    font-size: 0.85rem; 
    font-style: italic; 
    color: #666666; 
    letter-spacing: 0.05em; 
    text-align: right; 
}

/* Homepage Mobile Adjustments */
@media (max-width: 1280px) {
    .header-navigation-container { 
        justify-content: center; 
        padding: 30px 20px 10px 20px; 
    }
    .brand-header-wrapper { 
        display: flex !important; 
        justify-content: center !important; 
        width: 100% !important; 
    }
    .navigation-wrapper { 
        display: none; 
    }
    .homepage-hero {
        padding-top: 80px;
        height: 85vh; /* Prevents excessive empty space above/below on tall phone screens */
        /* min-height: 85vh; Overrides the desktop 100vh minimum */
        /* background-position: 46% center; Nudges the photo slightly so the side sculpture isn't peeking in */
    }
    .hero-bottom-bar { justify-content: center; }
    .footer-top-row { justify-content: center; }
    .photo-credit { text-align: center; }
}

/* ==========================================================================
   13. LIGHTBOX CAPTION METADATA
   ========================================================================== */
.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    max-width: 650px;
    padding: 0 20px;
}

.lightbox-caption .artwork-title {
    margin-bottom: 4px;
}

/* Slightly adjusts max image height so both photo and text fit comfortably on screen 
.lightbox-img {
    max-height: 78vh;
} */

