/* Hide Google Translate UI completely to avoid flashing */
.goog-te-banner-frame.skiptranslate, 
.skiptranslate > iframe,
iframe.skiptranslate,
iframe.VIpgJd-Zvi9od-xl07Ob-OEVmcd,
#goog-gt-tt, .goog-te-balloon-frame { 
    display: none !important; 
    visibility: hidden !important; 
    opacity: 0 !important; 
    width: 0 !important;
    height: 0 !important;
}
body { top: 0px !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #f5f5f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #050505;
}

body {
    background-color: #050505;
    color: var(--text-primary);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.5px;
}

/* Minimalist Section Header System */
.section-header-minimal {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.section-kicker-small {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.75;
}

.section-title-medium {
    font-size: clamp(1.15rem, 2.6vw, 1.65rem);
    font-weight: 300; /* Medium-light styling */
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent; /* Completely transparent at start */
    border-bottom: 1px solid rgba(255, 255, 255, 0); /* Faint transparent border at start */
    transition: transform 1.0s cubic-bezier(0.15, 1, 0.3, 1), padding 0.5s ease, background-color 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}

/* Scrolled matte luxury solid background */
.navbar.scrolled {
    background: #050505; /* Solid velvet black */
    padding: 1.1rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}



.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 32px; /* Premium subtle size */
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo:hover img {
    opacity: 0.8;
}

.lang-switcher {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    transition: color 0.4s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1.5rem; /* space between separator and text */
}

.lang-switcher:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101; /* Above the overlay */
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 28px;
    height: 1px;
    background-color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem; /* Tiny & premium */
    font-weight: 400;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.4s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Underline slide animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax scrolling effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Luxury cinema vignette gradient instead of a muddy flat overlay */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.25;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 300; /* Luxury thin styling */
    letter-spacing: -0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    height: clamp(60px, 12vw, 110px); /* Restored to the perfect majestic size */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #e0e0e0;
    max-width: 450px;
    line-height: 1.8;
}

.hero-cta-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 2.2rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-color); /* Turns pitch black */
    border-color: var(--text-primary);
}

.hero-bottom-text {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 10%;
    z-index: 2;
}

.credit {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.credit .name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 5px;
}

.credit .role {
    font-size: 0.65rem;
    color: #b0b0b0;
    letter-spacing: 1px;
}

/* Containers */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 6rem 5%;
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.8;
}

/* About */
.about {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8rem 0 2rem; /* Reduced bottom padding for a closer transition */
}

.about .container {
    padding-top: 0;
    padding-bottom: 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2.2fr; /* 2 columns for RTL layout */
    gap: 4rem;
    align-items: start;
    text-align: right;
    max-width: 1100px;
    margin: 0 auto;
}

.about-brand {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 3rem;
}

.about-brand .brand-logo {
    font-size: 3rem;
    font-weight: 300; /* Luxury thin styling */
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-brand .brand-sub {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-brand .brand-est {
    font-size: 0.7rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: inline-block;
    width: 80%;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-details p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

.about-meta, .about-scope {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.meta-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.meta-group p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-group ul {
    list-style: none;
    padding: 0;
}

.meta-group li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr; /* Stack beautifully on tablet/mobile */
        gap: 3rem;
    }
    .about-brand {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.gallery {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0 4.5rem; /* Aligned with standard vertical paddings and margins */
    background-color: #050505;
    overflow: visible;
}

/* Gallery Layout */
.collapsible-gallery {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    height: 500px; /* Stately locked vertical height of the monumental collage */
    overflow: visible;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: flex 5.0s cubic-bezier(0.1, 1, 0.1, 1); /* Double the slow drift duration to 5 seconds */
}

.gallery-col.col-portrait {
    flex: 1.2;
}

.gallery-col.col-landscape-group {
    flex: 1;
    gap: 1.5rem;
}

.monolithic-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.03); /* Delicate fine border outline */
    display: flex;
    flex-direction: column;
    transition: border-color 4.0s cubic-bezier(0.1, 1, 0.1, 1),
                box-shadow 4.0s cubic-bezier(0.1, 1, 0.1, 1),
                flex 5.0s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Portrait direct items take full height of column */
.gallery-col.col-portrait .monolithic-item {
    height: 100%;
}

/* Landscape nested items share height inside the column */
.gallery-col.col-landscape-group .monolithic-item {
    flex: 1;
    height: auto; /* Governed by flex share */
}

/* KINETIC ZERO-OVERLAP GRID EXPANSION & SHRINKAGE */

/* Width adjustments: when gallery is hovered, columns shrink by default, and hovered column expands */
.collapsible-gallery:hover .gallery-col {
    flex: 0.9; /* Minimal surrounding width shrinkage for peak atmospheric restraint */
}

.collapsible-gallery .gallery-col:hover {
    flex: 1.3; /* Quiet, whisper-soft width expansion */
}

/* Height adjustments: inside the landscape column, unhovered items shrink, hovered expands */
.gallery-col.col-landscape-group:hover .monolithic-item {
    flex: 0.9; /* Minimal surrounding height shrinkage */
}

.gallery-col.col-landscape-group .monolithic-item:hover {
    flex: 1.2; /* Quiet, whisper-soft vertical expansion */
}

/* Image & Hover details */
.monolithic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 7.0s cubic-bezier(0.1, 1, 0.1, 1); /* Massively slow cinematic zoom drift (7 seconds!) */
}

.monolithic-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.monolithic-item:hover img {
    transform: scale(1.02); /* Absolute pinnacle of whisper-quiet luxury drift (2% micro-zoom) */
}

/* Elegant Text Overlay */
.monolithic-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.8rem 2rem;
    z-index: 4;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.4) 60%, transparent 100%);
}

.monolithic-category {
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.85;
    transition: color 0.6s ease;
}

.monolithic-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.monolithic-desc {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    margin: 0.2rem 0 0 0;
    transition: opacity 3.5s cubic-bezier(0.1, 1, 0.1, 1),
                transform 3.5s cubic-bezier(0.1, 1, 0.1, 1); /* meditative text entry */
}

/* Hover Details Reveal */
.monolithic-item:hover .monolithic-desc {
    opacity: 0.95;
    transform: translateY(0);
}

.monolithic-item:hover .monolithic-category {
    color: #ffffff;
}

/* Responsive Grid System */
/* Responsive Layout */
@media (max-width: 1024px) {
    .collapsible-gallery {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }
    
    .gallery-col {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .gallery-col.col-landscape-group {
        gap: 2rem;
    }
    
    .gallery-col.col-portrait .monolithic-item {
        height: 380px !important;
    }
    
    .gallery-col.col-landscape-group .monolithic-item {
        flex: none !important;
        height: 240px !important;
    }
    
    /* Disable interactive flex expansions on tablet/mobile */
    .collapsible-gallery:hover .gallery-col {
        flex: none !important;
    }
    .collapsible-gallery .gallery-col:hover {
        flex: none !important;
    }
    .gallery-col.col-landscape-group:hover .monolithic-item {
        flex: none !important;
    }
    .gallery-col.col-landscape-group .monolithic-item:hover {
        flex: none !important;
    }
    
    .monolithic-desc {
        opacity: 0.95;
        transform: none;
    }
}

@media (max-width: 600px) {
    .collapsible-gallery {
        gap: 1.5rem;
    }
    
    .gallery-col.col-landscape-group {
        gap: 1.5rem;
    }
    
    .gallery-col.col-portrait .monolithic-item {
        height: 340px !important;
    }
    
    .gallery-col.col-landscape-group .monolithic-item {
        height: 200px !important;
    }
}

/* Editorial Articles Section */
.articles {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0 4.5rem; /* Matched to the perfect spacing between Gallery and Articles */
    background-color: var(--bg-color);
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.articles-header .section-title {
    margin-bottom: 0;
}

.section-subtitle-small {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.7;
    text-align: right;
}

.editorial-typo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
    margin-top: 4rem;
}

.inspired-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-decoration: none;
    cursor: pointer;
}

.inspired-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.inspired-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspired-card:hover .inspired-img-wrapper img {
    transform: scale(1.05);
}

.inspired-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inspired-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    transition: border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspired-card:hover .inspired-card-header {
    border-color: rgba(255, 255, 255, 0.3);
}

.inspired-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspired-card:hover .inspired-card-title {
    color: var(--text-primary);
}

.inspired-card-kicker {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 300;
}

.inspired-card-desc {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspired-card:hover .inspired-card-desc {
    opacity: 1;
}

@media (max-width: 1024px) {
    .editorial-typo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .editorial-typo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem;
        margin-top: 2rem;
    }
    .editorial-typo-grid .inspired-img-wrapper {
        height: 180px;
    }
    .editorial-typo-grid .inspired-card-title {
        font-size: 1.05rem;
    }
    .editorial-typo-grid .inspired-card-kicker {
        font-size: 0.75rem;
    }
    .editorial-typo-grid .inspired-card-desc {
        font-size: 0.82rem;
        line-height: 1.7;
    }
}

@media (max-width: 550px) {
    .editorial-typo-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }
    .editorial-typo-grid .inspired-img-wrapper {
        height: 220px;
    }
    .editorial-typo-grid .inspired-card-title {
        font-size: 1.15rem;
    }
    .editorial-typo-grid .inspired-card-kicker {
        display: inline-block;
        font-size: 0.78rem;
    }
    .editorial-typo-grid .inspired-card-desc {
        font-size: 0.88rem;
        line-height: 1.8;
    }
}

/* Footer Styles */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5rem 0 3rem;
    background-color: var(--bg-color);
}

/* Minimalist Contact CTA Section */
.contact-cta-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5.5rem 0; /* Refined breathing room to match page margins */
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
}

.contact-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-cta-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Tighter, more cohesive flow */
}

.contact-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem); /* Masterfully balanced size that whispers luxury */
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.3px;
}

.contact-cta-desc {
    font-size: 0.9rem; /* Delicate, elegant editorial typography */
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    opacity: 0.7; /* Soft contrast for a true quiet premium feel */
    margin: 0 auto;
    max-width: 580px;
}

.contact-cta-btn {
    margin-top: 0.8rem;
    align-self: center !important;
}

@media (max-width: 768px) {
    .contact-cta-section {
        padding: 4.5rem 0;
    }
}

/* Contact Section Styles (Redesigned with Premium Luxury Theme) */
.contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0 8rem; /* Top padding aligned to match the vertical spacing above */
    background-color: var(--bg-color);
    position: relative;
}

.contact-section .container {
    padding-top: 0;
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.3fr;
    gap: 7rem;
    align-items: start;
}

/* Left Column: Studio Board */
.contact-studio-card {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.studio-frame {
    position: relative;
    height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.studio-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-frame:hover .studio-image {
    transform: scale(1.05);
}

.studio-frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 20%, rgba(5, 5, 5, 0.85) 100%);
    z-index: 2;
}

.studio-frame-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem;
    text-align: right;
}

.studio-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.studio-frame-title {
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-primary);
}

.studio-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.8rem;
    max-width: 380px; /* Keep key-value columns connected and premium */
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    font-size: 0.72rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.meta-val {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* Right Column: Form */
.contact-form-wrapper {
    text-align: right;
}

.align-start {
    text-align: right;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}

.contact-form-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.35;
    color: var(--text-primary);
    max-width: 680px;
    margin: 0.6rem 0 0.8rem 0;
}

.section-desc-light {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.85;
}

.contact-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group-floating {
    position: relative;
    margin-bottom: 2.2rem;
    width: 100%;
}

.form-input-luxury, .form-textarea-luxury {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-primary);
    font-family: inherit;
    text-align: right;
    transition: border-color 0.4s ease;
}

.form-textarea-luxury {
    resize: none;
}

.form-input-luxury:focus, .form-textarea-luxury:focus {
    outline: none;
}

.form-input-luxury::placeholder,
.form-textarea-luxury::placeholder {
    color: transparent;
    opacity: 0;
    transition: color 0.3s ease;
}

.form-label-luxury {
    position: absolute;
    right: 0;
    top: 0.8rem;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.65;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
}

/* Floating behavior */
.form-input-luxury:focus ~ .form-label-luxury,
.form-input-luxury:not(:placeholder-shown) ~ .form-label-luxury,
.form-textarea-luxury:focus ~ .form-label-luxury,
.form-textarea-luxury:not(:placeholder-shown) ~ .form-label-luxury {
    transform: translateY(-1.8rem) scale(0.85);
    opacity: 0.9;
    color: #ffffff;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input-luxury:focus ~ .input-focus-line,
.form-textarea-luxury:focus ~ .input-focus-line {
    width: 100%;
}

/* Services Chip group */
.form-group-services {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.services-label {
    font-size: 0.78rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.services-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-chip {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.service-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip-content {
    display: inline-block;
    padding: 0.55rem 1.3rem;
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-chip:hover .chip-content {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

.service-chip input:checked + .chip-content {
    background-color: rgba(197, 168, 128, 0.08);
    border-color: #c5a880;
    color: #c5a880;
}

/* Luxury Submit Button */
.submit-btn-luxury {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.72rem 2.2rem;
    font-size: 0.7rem;
    font-weight: 500;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.submit-btn-luxury:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn-luxury:hover {
    border-color: #ffffff;
}

.submit-btn-luxury:hover .btn-text {
    color: #050505;
}

.submit-btn-luxury:hover .btn-icon {
    color: #050505;
    transform: translateX(5px); /* Slide right */
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contact-studio-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-section {
        padding: 6rem 0 5rem;
    }
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 3rem;
    text-align: right;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 40px; /* Slightly larger in the footer */
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-about-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease, padding-right 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-right: 4px;
}

.footer-info-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .brand-col {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 90;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        font-size: 1.1rem;
        font-weight: 300;
        letter-spacing: 3px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Specific Styles */
.about-page-section {
    padding: 5rem 0 1rem;
    background-color: var(--bg-color);
}

.about-page-section .container {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-links a.active {
    color: var(--text-primary) !important;
}

.nav-links a.active::after {
    transform: scaleX(1) !important;
}

/* Gallery Page Specific Styles */
.gallery-page-section {
    padding: 8rem 0 10rem;
    background-color: #050505;
    overflow: hidden;
}

.gallery-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.gallery-nav-controls {
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-nav-btn:hover {
    background-color: var(--text-primary);
    color: #050505;
    border-color: var(--text-primary);
}

.gallery-page-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 5% 6rem; /* extra bottom padding for staggered child elements */
    scrollbar-width: none; /* Firefox */
}

.gallery-page-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.gallery-page-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    align-items: flex-start;
}

.gallery-page-item {
    position: relative;
    width: 280px; /* Solid base width for collapsed cards */
    height: 480px; /* Elegant tall vertical orientation */
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    transition: width 2.2s cubic-bezier(0.15, 1, 0.3, 1), transform 2.2s cubic-bezier(0.15, 1, 0.3, 1);
}

/* Maintain beautiful staggered luxury layout */
.gallery-page-item:nth-child(even) {
    transform: translateY(50px);
}

.gallery-page-item:hover {
    width: 480px; /* Smooth horizontal expansion */
}

.gallery-page-item:hover:nth-child(even) {
    transform: translateY(50px);
}

.gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lenis Smooth Scroll Core Styles */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Elegant Gallery System */
.elegant-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.elegant-gallery-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.elegant-gallery-card:nth-child(even) {
    margin-top: 2rem;
}

.eg-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
}

.eg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), filter 1.6s ease;
    filter: brightness(0.9) grayscale(10%);
}

.elegant-gallery-card:hover .eg-image-wrapper img {
    transform: scale(1.04);
    filter: brightness(1.1) grayscale(0%);
}

.eg-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.eg-category {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color 0.4s ease;
}

.eg-title {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
}

.elegant-gallery-card:hover .eg-category {
    color: #fff;
}

@media (max-width: 900px) {
    .elegant-gallery-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-bottom: 0;
    }
    .elegant-gallery-card:nth-child(even) {
        margin-top: 0;
    }
    .eg-image-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* Elegant Articles List Design */
.elegant-article-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ea-item {
    display: grid;
    grid-template-columns: 40px 120px 1.5fr 2fr 40px;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.ea-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-index {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.ea-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 2px;
}

.ea-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.6s ease;
}

.ea-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ea-title {
    font-size: 1.5rem;
    font-weight: 400;
}

.ea-kicker {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.ea-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ea-arrow {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: left;
    transition: transform 0.4s ease, color 0.4s ease;
}

.ea-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.ea-item:hover .ea-image img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.ea-item:hover .ea-arrow {
    transform: translateX(-10px);
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .ea-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
    .ea-index, .ea-desc {
        display: none;
    }
    .ea-image {
        width: 100px;
        flex-shrink: 0;
    }
    .ea-content {
        flex-grow: 1;
    }
    .ea-arrow {
        flex-shrink: 0;
    }
}
@media (max-width: 600px) {
    .ea-item {
        padding: 1.5rem 0;
    }
}

.ea-image { display: none; }
}

/* Split Layout Articles Page */
.split-main {
    padding-top: 120px;
    background-color: var(--bg-color);
}
.split-section {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.split-section:last-child {
    border-bottom: none;
}
.split-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}
.split-header-col {
    flex: 0 0 30%;
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
}
.sticky-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sh-kicker {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}
.sh-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.3;
}
.split-list-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.figure-row {
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.4s ease;
}
.figure-row:first-child {
    padding-top: 0;
}
.figure-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.fr-image {
    width: 140px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.figure-row:hover .fr-image {
    width: 180px;
}
.fr-image::after {
    content: 'اقرأ الآن';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 400;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}
.figure-row:hover .fr-image::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.fr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.6s ease;
}
.figure-row:hover .fr-image img {
    filter: grayscale(0%) brightness(1);
}
.fr-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.fr-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.fr-name {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
    transition: color 0.4s ease;
}
.fr-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.fr-body p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-secondary);
    font-weight: 300;
    opacity: 0.9;
    transition: color 0.4s ease;
}
.figure-row:hover .fr-name {
    color: #fff;
}
.figure-row:hover .fr-body p {
    color: #ddd;
}
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 5%;
    }
    .split-header-col {
        position: static;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
    }
}
@media (max-width: 600px) {
    .figure-row {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 0;
    }
    .fr-image {
        width: 100% !important;
        height: 250px;
    }
}

        /* override body for dark theme matching the rest of the site */
        body {
            background-color: #050505 !important;
            color: var(--text-primary) !important;
        }

        /* Museum Staggered Flex Grid (Perfect rectangle boundary with dynamic internal heights) */
        .museum-grid {
            display: flex;
            gap: 3.5rem;
            padding: 6rem 6% 12rem;
            background-color: #050505;
            max-width: 1600px;
            margin: 0 auto;
        }
        .museum-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 5.5rem; /* Enforces equal vertical spacing inside all columns */
        }

        /* Museum Item Card */
        .museum-item {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
            cursor: pointer;
            text-decoration: none;
            position: relative;
            opacity: 0; /* يمنع ظهور البطاقات فجأة قبل بدء الأنيميشن */
        }
        .museum-img-wrapper {
            width: 100%;
            overflow: hidden;
            border-radius: 1px;
            background-color: #111111;
            /* Ultra-smooth transition for the scale and shadow */
            transition: transform 2.5s cubic-bezier(0.15, 1, 0.3, 1),
                        box-shadow 2.5s cubic-bezier(0.15, 1, 0.3, 1);
            position: relative;
            z-index: 1;
        }

        /* Three distinct responsive aspect ratios that mathematically sum up to 3.55 * W per column */
        .museum-img-wrapper.tall {
            aspect-ratio: 2 / 3;
        }
        .museum-img-wrapper.medium {
            aspect-ratio: 4 / 5;
        }
        .museum-img-wrapper.short {
            aspect-ratio: 5 / 4;
        }

        /* The morphing hover animation: Grows to a perfect square aspect ratio (1 / 1) */
        .museum-item:hover .museum-img-wrapper {
            transform: scale(1.02); /* Expands/grows the size slightly and elegantly */
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6); /* Premium deep dark shadow on active item */
            z-index: 10;
        }

        .museum-img-wrapper img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform 2.5s cubic-bezier(0.15, 1, 0.3, 1);
        }
        
        .museum-item:hover .museum-img-wrapper img {
            transform: scale(1.08); /* Slow majestic luxury cinematic zoom */
        }
        
        .museum-caption {
            font-size: 0.72rem;
            font-weight: 300;
            color: var(--text-secondary);
            text-align: right;
            letter-spacing: 0.5px;
            opacity: 0.85;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            transition: color 0.8s cubic-bezier(0.15, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.15, 1, 0.3, 1);
        }
        .museum-item:hover .museum-caption {
            color: var(--text-primary);
            opacity: 1;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1200px) {
            .museum-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 2.5rem;
                padding: 4rem 5%;
            }
            .museum-column {
                gap: 2.5rem;
            }
            .museum-img-wrapper.tall, .museum-img-wrapper.medium, .museum-img-wrapper.short {
                aspect-ratio: 1 / 1; /* Standardize on smaller tablets for layout stability */
            }
        }
        @media (max-width: 768px) {
            .museum-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
                padding: 2.5rem 4%;
            }
            .museum-img-wrapper.tall {
                aspect-ratio: 2 / 3;
            }
            .museum-img-wrapper.medium {
                aspect-ratio: 4 / 5;
            }
            .museum-img-wrapper.short {
                aspect-ratio: 5 / 4;
            }
            /* Disable morph animation on mobile to prevent layout shifts */
            .museum-item:hover .museum-img-wrapper {
                aspect-ratio: inherit !important;
                transform: none;
                box-shadow: none;
            }
        }
        @media (max-width: 480px) {
            .museum-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                padding: 2rem 3%;
            }
            .museum-column {
                gap: 1rem;
            }
            .museum-img-wrapper.tall {
                aspect-ratio: 2 / 3;
            }
            .museum-img-wrapper.medium {
                aspect-ratio: 4 / 5;
            }
            .museum-img-wrapper.short {
                aspect-ratio: 5 / 4;
            }
            .museum-caption {
                font-size: 0.65rem;
                letter-spacing: 0;
            }
        }
    
