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

*, a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

html body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

html body.page {
    overflow: unset;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: #143927;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header.scrolled .header_logo h2 {
    color: #ffffff;
}

.header.scrolled .hamburger svg path {
    fill: #ffffff;
}

.ctm_container {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

/* Header padding stays fixed at 60px on desktop (768px+) */
@media (min-width: 768px) {
    .header .ctm_container {
        padding: 0 60px;
    }
}

.flx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header_logo h2 {
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
    text-decoration: none;
    margin: 0;
}

.header_logo {
    text-decoration: none;
    position: relative;
}

.logo-signature {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

.logo-signature.active {
    display: block;
}


.hamburger {
    position: fixed;
    top: 30px;
    right: 60px;
    z-index: 1002;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lottie-hamburger {
    width: 36px;
    height: 24px;
}

.hamburger:hover {
    opacity: 0.7;
}

.header.scrolled .hamburger:hover {
    opacity: 1;
}

.header.scrolled .hamburger:hover svg path {
    fill: #D5E325 !important;
}

/* When menu is open, force white icon (visible on green panel) */
.hamburger.menu-open svg path {
    fill: #fff !important;
}

.hamburger.menu-open:hover {
    opacity: 1;
}

.hamburger.menu-open:hover svg path {
    fill: #D5E325 !important;
}

/* Responsive header padding */
@media (max-width: 1919px) {
    .ctm_container {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .ctm_container {
        padding: 0 20px;
    }
}

/* Navigation */
.side-menu {
    position: fixed;
    top: 0;
    right: -490px;
    width: 490px;
    height: 100vh;
    height: 100dvh;
    background-color: #143927;
    z-index: 1001;
    transition: none;
    padding: 80px 40px;
}

/* JS adds this class after page init — enables slide animation */
.side-menu.menu-ready {
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-menu.active {
    right: 0;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

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

.side-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 28px;
}

.side-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.side-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays for each menu item */
.side-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.side-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.side-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.side-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.side-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.side-menu.active li:nth-child(6) { transition-delay: 0.35s; }

.side-menu a {
    color: #EFD9C8;
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    transition: color 0.3s ease, opacity 0.3s ease;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Flower icon - hidden by default */
.side-menu a::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h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wLS40NzQtLjU0OSw3Ljc1OCw3Ljc1OCwwLDAsMC0yLjExNy43MzFjLjQuMDI3LjI5NS0uMTA1LjYyMS0uMUEyLjMxNywyLjMxNywwLDAsMSw2OS43NDUsNjAuMzY4Wk04MS4yNzYsNjQuMkEzLjkwNywzLjkwNywwLDAsMCw3OS44LDYxLjExOGMtLjk1LS44NDEtMi41NjktLjQzOC0zLjc2My0uNTM3LS42MTctLjA1MS0xLjI2NS0uMTU3LTEuOS0uMjE4LTEsLjA0Ny0uOTg1LjEzOC0xLjY4My44OTNhMjguMzczLDI4LjM3MywwLDAsMSwzLjUyOSwyLjk5MywzLjY3NSwzLjY3NSwwLDAsMCwzLjQ3Mi45NzJBMy4zLDMuMywwLDAsMCw4MS4yNzYsNjQuMlptLTEyLjUtNS40MTNjLS42ODEuNDE5LS45NTQuOS0uNCwxLjY0OGwuMS0uMjEyYy0uMDkyLS40MjguMDUzLjIxNi0uMDUyLS4xNzdDNjguMyw1OS42MTksNjkuMDM1LDU5LjIzNCw2OC43NzQsNTguNzg2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzEwLjIyMSAyMzkuMDYzKSIgZmlsbD0iI2Q1ZTQyNSIvPgogIDwvZz4KPC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.side-menu a:hover::before,
.side-menu a:active::before,
.side-menu a.tap-active::before {
    opacity: 1;
    transform: translateX(0);
}

.side-menu a:hover,
.side-menu a:active,
.side-menu a.tap-active {
    color: #D5E525;
    opacity: 1;
}

/* Black Background Layer */
.black-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 100;
    opacity: 1;
    transition: opacity 1.2s ease;
}

.black-background.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Signature Layer */
.signature-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    pointer-events: none;
}

#lottieAnimation {
    width: 642px;
    max-width: 90vw;
    height: auto;
}

/* Artwork Slideshow Container */
.artwork-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Black Overlay - subtle darkening to make UI pop */
.artwork-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 50;
    pointer-events: none;
}

.artwork-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.artwork-slide.active {
    opacity: 1;
}

.artwork-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
    padding-top: 67px;
}

.main-content.visible {
    opacity: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ============================================
   Page Layout — used on inner pages
   ============================================ */
.page {
    background-color: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
}

.page .header_logo h2 {
    color: #143927;
}

.page .hamburger svg path {
    fill: #143927;
}

.page-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 100px 60px;
}

/* Page Title */
.page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #BFBFBF;
    margin-bottom: 80px;
}

.page-title h1 {
    font-size: 33px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0;
    color: #143927;
}

.page-title .title-icon {
    width: 50px;
    height: 50px;
}

/* Page Title — Flower Lottie hover animation */
.title-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.title-icon-wrapper .title-icon {
    width: 50px;
    height: 50px;
    display: block;
    transition: opacity 0.2s ease;
}

.title-icon-lottie {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    display: none;
}

.title-icon-lottie.active {
    display: block;
}

/* ============================================
   Portfolio Grid
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 80px;
    row-gap: 38px;
    margin-bottom: 80px;
}

.portfolio-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #e0e0e0;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.03);
}

.portfolio-card h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0;
    margin-top: 8px;
    color: #143927;
}

/* ============================================
   Works Grid (Gagosian approach — fixed-ratio containers, bottom-left images)
   ============================================ */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 40px;
    margin-bottom: 80px;
}

.works-grid .work-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.works-grid .work-item {
    position: relative;
    padding-bottom: 90%;
}

.work-item-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.works-grid .work-item .work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 1.56vw, 30px);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

.works-grid .work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay .work-tag {
    font-size: clamp(18px, 1.15vw, 22px);
    font-weight: 600;
    color: #143927;
}

.work-overlay .work-info {
    color: #143927;
}

.work-overlay .work-info .work-title {
    font-size: clamp(22px, 1.46vw, 28px);
    font-weight: 600;
    line-height: 1.3;
}

.work-overlay .work-info .work-year {
    font-size: clamp(22px, 1.46vw, 28px);
    font-weight: 600;
    line-height: 1.3;
}

.work-overlay .work-info .work-medium {
    font-size: clamp(19px, 1.25vw, 24px);
    font-weight: 500;
    line-height: 1.4;
}

.work-overlay .work-info .work-size {
    font-size: clamp(19px, 1.25vw, 24px);
    font-weight: 500;
    line-height: 1.4;
}

/* Exhibitions grid — year (dates) and medium (location) both 24px medium */
.exhibitions-grid-page .work-overlay .work-info .work-year {
    font-size: clamp(19px, 1.25vw, 24px);
    font-weight: 500;
    line-height: 1.4;
}

.works-grid .work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.works-grid .work-item:hover img {
    transform: scale(1.03);
}

/* ============================================
   Artwork Detail Page
   ============================================ */
.artwork-page {
    max-width: 1920px;
    margin: 0 auto;
    padding: 84px 178px 60px 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

.artwork-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex: 1;
    height: 600px;
}

.artwork-layout .artwork-details {
    transition: opacity 1.2s cubic-bezier(0, 0, 0.2, 1);
}

.artwork-layout .artwork-image {
    transition: opacity 1.2s cubic-bezier(0, 0, 0.2, 1);
}

.artwork-layout.fading .artwork-details {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.artwork-layout.fading .artwork-image {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.artwork-details {
    flex: 0 0 41%;
    padding: 0 40px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.artwork-title {
    font-size: 28px;
    font-weight: 700;
    color: #143927;
    line-height: 1.3;
    padding-bottom: 16px;
    border-bottom: 1px solid #BFBFBF;
    margin-bottom: 16px;
    width: 460px;
}

.artwork-meta {
    margin-bottom: 20px;
}

.artwork-year,
.artwork-medium,
.artwork-size {
    font-size: 18px;
    font-weight: 500;
    color: #999;
    line-height: 1.5;
    margin: 0;
    padding: 2px 0;
}

.artwork-enquire {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 50px;
    background-color: #143927;
    color: #ffffff;
    border: 2px solid #143927;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0;
    margin-bottom: 24px;
}

.artwork-enquire:hover,
.artwork-enquire:active,
.artwork-enquire.pressed {
    background-color: #fff;
    color: #143927;
    border: 2px solid #143927;
}

.artwork-enquire.pressed {
    transition: none;
}

.artwork-sold {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 500;
    color: #999;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 24px;
}

.artwork-thumbnails {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.artwork-thumb {
    width: 140px;
    height: 140px;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.artwork-thumb.active,
.artwork-thumb:hover {
    opacity: 1;
}

.artwork-thumb-image {
    width: 100%;
    height: 100%;
}

.artwork-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Smaller spinner for thumbnails */
.artwork-thumb-image.img-loading::after {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-width: 1.5px;
}

.artwork-wall-view {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #989898;
    padding: 0;
    transition: opacity 0.3s ease;
}

.artwork-wall-view img {
    width: 29px;
    height: 20px;
}

.artwork-wall-view:hover {
    opacity: 0.7;
}

/* AR Quick Look button */
.artwork-ar-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 176px;
    height: 40px;
    background-color: #143927;
    color: #ffffff;
    border: 2px solid #143927;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    padding: 0 20px;
}

.artwork-ar-view:hover,
.artwork-ar-view:active,
.artwork-ar-view.pressed {
    background-color: #fff;
    color: #143927;
    transition: none;
}

.artwork-ar-view img {
    width: auto;
    height: 22px;
}

.artwork-ar-view:hover img,
.artwork-ar-view:active img,
.artwork-ar-view.pressed img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(30%) saturate(1200%) hue-rotate(110deg) brightness(95%) contrast(95%);
}

.artwork-ar-view.loading {
    pointer-events: none;
    position: relative;
}

.artwork-ar-view.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ar-spin 0.6s linear infinite;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -10px;
}

@keyframes ar-spin {
    to { transform: rotate(360deg); }
}

/* AR Interstitial Overlay */
.ar-interstitial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    display: none;
}

.ar-interstitial.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ar-interstitial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0 24px;
    width: 100%;
}

.ar-interstitial-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #143927;
    margin: 0 0 8px 0;
    text-align: center;
}

.ar-interstitial-anim {
    width: 65vw;
    height: 65vw;
    max-width: 300px;
    max-height: 300px;
}

.ar-interstitial-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    text-align: center;
    margin: 20px 0 16px 0;
    line-height: 1.5;
    max-width: 320px;
}

.ar-interstitial-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 320px;
}

.ar-interstitial-tips li {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.ar-interstitial-tips li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #143927;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}

.ar-interstitial-tips li strong {
    color: #143927;
    font-weight: 600;
}

.ar-interstitial-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 270px;
    height: 50px;
    background-color: #143927;
    color: #ffffff;
    border: 2px solid #143927;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 60px;
    flex-shrink: 0;
}

.ar-interstitial-start img {
    width: auto;
    height: 20px;
    filter: brightness(0) invert(1);
}

.ar-interstitial-start:hover,
.ar-interstitial-start:active,
.ar-interstitial-start.pressed {
    background-color: #fff;
    color: #143927;
}

.ar-interstitial-start.pressed {
    transition: none;
}

.ar-interstitial-start:hover img,
.ar-interstitial-start:active img,
.ar-interstitial-start.pressed img {
    filter: brightness(0);
}

.ar-interstitial-start.loading {
    pointer-events: none;
    color: transparent;
    font-size: 0;
}

.ar-interstitial-start.loading img {
    visibility: hidden;
}

.ar-interstitial-start.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ar-spin 0.6s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;
}

.ar-interstitial-close {
    position: absolute;
    top: 31px;
    right: 66px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.ar-interstitial-close:hover {
    opacity: 0.5;
}

.ar-interstitial-close svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

@media (max-width: 1919px) {
    .ar-interstitial-close {
        right: 46px;
    }
}

@media (max-width: 767px) {
    .ar-interstitial-close {
        right: 26px;
        top: 20px;
    }
}

.artwork-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.artwork-image img {
    max-width: 100%;
    width: auto;
    height: 100%;
    display: block;
}

/* Artwork Navigation Arrows */
.artwork-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #D1D1D1;
    transition: color 0.3s ease;
    z-index: 10;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.artwork-nav:hover {
    color: #143927;
}

.artwork-nav.disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.artwork-nav-prev {
    left: 40px;
}

.artwork-nav-next {
    right: 80px;
}

/* Artwork Image Clickable */
.artwork-image img {
    cursor: pointer;
}

/* ============================================
   Image Loading States
   ============================================ */
.img-loading {
    background-color: #F8F8F8;
    position: relative;
}

.img-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid transparent;
    border-top-color: #C6C6C6;
    border-right-color: #C6C6C6;
    border-radius: 50%;
    animation: img-spin 0.8s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes img-spin {
    to { transform: rotate(360deg); }
}

.img-loading img {
    opacity: 0 !important;
    transition: none;
}

.img-loaded img {
    opacity: 1 !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.img-loaded::after {
    display: none;
}

.img-loaded {
    background-color: transparent;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #143927;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 24px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-banner-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.cookie-btn-accept {
    background-color: #fff;
    color: #143927;
}

.cookie-btn-accept:hover,
.cookie-btn-accept:active,
.cookie-btn-accept.pressed {
    background-color: transparent;
    color: #fff;
}

.cookie-btn-accept.pressed {
    transition: none;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
}

.cookie-btn-decline:hover,
.cookie-btn-decline:active,
.cookie-btn-decline.pressed {
    background-color: #fff;
    color: #143927;
}

.cookie-btn-decline.pressed {
    transition: none;
}

/* ============================================
   404 Not Found Page
   ============================================ */
.not-found {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    min-height: calc(100vh - 250px);
    padding: 120px 100px 60px;
    max-width: 1920px;
    margin: 0 auto;
}

.not-found-illustration {
    flex: 0 0 auto;
    max-width: 300px;
}

.not-found-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.not-found-content {
    flex: 0 1 500px;
}

.not-found-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: #143927;
    margin: 0 0 20px 0;
}

.not-found-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.not-found-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    background-color: #143927;
    color: #fff;
    border: 2px solid #143927;
    transition: all 0.3s ease;
}

.not-found-btn:hover {
    background-color: #fff;
    color: #143927;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
/* Hidden state — scoped to pages with reveal (body.has-reveal added by JS) */
.has-reveal .portfolio-card,
.has-reveal .work-link,
.has-reveal .site-footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 0, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 0, 0.3, 1);
    will-change: opacity, transform;
}

/* Revealed state — added by JS when element enters viewport */
.has-reveal .portfolio-card.revealed,
.has-reveal .work-link.revealed,
.has-reveal .site-footer.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: disable animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .has-reveal .portfolio-card,
    .has-reveal .work-link,
    .has-reveal .site-footer {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Lightbox / Zoom Overlay
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.visible {
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 31px;
    right: 66px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

@media (max-width: 1919px) {
    .lightbox-close {
        right: 46px;
    }
}

@media (max-width: 767px) {
    .lightbox-close {
        right: 26px;
    }
}

.lightbox-close:hover {
    opacity: 0.5;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.lightbox-content {
    height: calc(100% - 160px);
}

.lightbox-image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-signature {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.lightbox-signature img {
    height: 22px;
    width: auto;
    display: block;
}

.lightbox-image-wrapper img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.lightbox-image-wrapper.zoomed {
    cursor: none;
}

.lightbox-image-wrapper.zoomed img {
    transform: scale(3);
    transition: none;
}

/* ============================================
   Wall View Overlay
   ============================================ */
.wall-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wall-view.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wall-view.visible {
    opacity: 1;
}

.wall-view-content {
    height: calc(100% - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wall-view-content img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
}

/* ============================================
   Enquiry Form Modal
   ============================================ */
.enquiry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enquiry-overlay.active {
    display: flex;
}

.enquiry-overlay.visible {
    opacity: 1;
}

.enquiry-modal {
    background: #fff;
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 37px 40px 40px;
    position: relative;
    border: 2px solid #143927;
    box-sizing: border-box;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.enquiry-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.enquiry-close:hover {
    opacity: 0.5;
}

.enquiry-close svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.enquiry-error-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9;
}

.enquiry-error-overlay.active {
    display: block;
}

.enquiry-error {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    background: #143927;
    border: 2px solid #fff;
    padding: 20px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.enquiry-error.active {
    display: block;
}

.enquiry-error-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.enquiry-error-close:hover {
    opacity: 0.5;
}

.enquiry-error-close svg {
    pointer-events: none;
}

.enquiry-error-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    color: #fff;
    text-transform: uppercase;
}

.enquiry-error-message {
    margin: 20px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.enquiry-error-divider {
    border: none;
    border-top: 1px solid #fff;
    margin: 28px 0 20px;
}

.enquiry-error-ok {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 90px;
    height: 40px;
    background: #143927;
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.enquiry-error-ok:hover {
    background: #fff;
    color: #143927;
}

.enquiry-success {
    display: none;
    width: 580px;
    height: 190px;
    background: #fff;
    border: 1px solid #143927;
    box-sizing: border-box;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.enquiry-success.active {
    display: block;
}

.enquiry-success-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.enquiry-success-close:hover {
    opacity: 0.5;
}

.enquiry-success-close svg {
    pointer-events: none;
}

.enquiry-success-title {
    margin: 0;
    padding: 62px 0 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    color: #143927;
}

.enquiry-success-message {
    margin: 0;
    padding: 21px 0 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #143927;
}

.enquiry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: #143927;
    margin: 0 0 25px 0;
    line-height: 28px;
}

.enquiry-artwork-info {
    display: flex;
    gap: 20px;
    padding: 10px;
    border: 2px solid #143927;
    margin-bottom: 30px;
    width: 520px;
    height: 130px;
    max-width: 100%;
    box-sizing: border-box;
}

.enquiry-thumb {
    width: 108px;
    height: 108px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #143927;
}

.enquiry-artwork-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 108px;
    padding: 0;
}

.enquiry-artwork-details p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #143927;
    line-height: 20px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enquiry-field {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.enquiry-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #143927;
    width: 125px;
    min-width: 125px;
    flex-shrink: 0;
    padding-top: 14px;
}

.enquiry-field input,
.enquiry-field textarea {
    width: 380px;
    height: 50px;
    border: 2px solid #143927;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
    box-sizing: border-box;
}

.enquiry-field input:focus,
.enquiry-field textarea:focus {
    border-color: #143927;
}

.enquiry-field input:-webkit-autofill,
.enquiry-field input:-webkit-autofill:hover,
.enquiry-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #D6E6DF inset;
    -webkit-text-fill-color: #1a1a1a;
    transition: background-color 5000s ease-in-out 0s;
}

.enquiry-field textarea {
    resize: none;
    height: 120px;
}

.enquiry-newsletter {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.enquiry-newsletter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #143927;
    width: 125px;
    min-width: 125px;
    max-width: 125px;
    flex-shrink: 0;
    line-height: 1.4;
}

.enquiry-radio-group {
    display: flex;
    gap: 37px;
}

.enquiry-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 300;
    color: #143927;
}

.enquiry-radio input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #143927;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.enquiry-radio input[type="radio"]:checked {
    border: 2px solid #143927;
    background-image: radial-gradient(circle, #143927 6px, transparent 6px);
}

.enquiry-submit {
    background-color: #143927;
    color: #ffffff;
    border: 2px solid #143927;
    padding: 14px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 15px;
    margin-left: 140px;
}

.enquiry-submit:hover,
.enquiry-submit:active,
.enquiry-submit.pressed {
    background-color: #fff;
    color: #143927;
    border: 2px solid #143927;
}

.enquiry-submit.pressed {
    transition: none;
}

.enquiry-flower {
    position: absolute;
    width: 120px;
    height: 162.77px;
    right: 40px;
    top: 600px;
    pointer-events: none;
}

/* ============================================
   Bio Page
   ============================================ */
.bio-layout {
    display: flex;
    gap: 80px;
    margin-bottom: 80px;
}

.bio-portrait {
    flex: 0 0 601px;
}

.bio-portrait img {
    width: 601px;
    height: 1070px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.bio-lightbox-content {
    height: calc(100% - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-lightbox-content img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
}

.bio-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bio-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 40px;
    color: #143927;
    margin: 0 0 20px 0;
}

.bio-text p:last-of-type {
    margin-bottom: 0;
}

.bio-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 265px;
    height: 80px;
    background-color: #143927;
    color: #FCF5EA;
    border: 2px solid #143927;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.bio-download:hover,
.bio-download:active,
.bio-download.pressed {
    background-color: #fff;
    color: #143927;
    border: 2px solid #143927;
}

.bio-download.pressed {
    transition: none;
}

/* ============================================
   Legal Text (Privacy Policy)
   ============================================ */
.legal-text {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.legal-updated {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #7a7a7a;
    margin: 0 0 50px 0;
}

.legal-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
    color: #143927;
    margin: 40px 0 16px 0;
    letter-spacing: 0.02em;
}

.legal-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 28px;
    color: #143927;
    margin: 0 0 16px 0;
}

.legal-text ul {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.legal-text ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 28px;
    color: #143927;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.legal-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #143927;
}

.legal-text ul li strong {
    font-weight: 500;
}

.legal-text a {
    color: #143927;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-text a:hover {
    opacity: 0.7;
}

/* ============================================
   Exhibitions Section (Bio page)
   ============================================ */
.exhibitions-section {
    margin-bottom: 80px;
}

.exhibitions-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #BFBFBF;
    margin-bottom: 0;
}

.exhibitions-title h2 {
    font-size: 33px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0;
    color: #143927;
}

.exhibitions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 70px;
}

.exhibition-item {
    display: flex;
    align-items: baseline;
    gap: 40px;
    padding: 10px 0;
}

.exhibition-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 33px;
    font-weight: 500;
    color: #143927;
    flex-shrink: 0;
    width: 80px;
}

.exhibition-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #143927;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.exhibition-name:hover {
    opacity: 0.6;
}

/* ============================================
   Exhibition Gallery (exhibitions page)
   ============================================ */
.exhibition-gallery {
    margin-bottom: 80px;
    position: relative;
}

/* Gallery Loader — grey overlay with spinner covering main image + thumbnails */
.gallery-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F5F5F5;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.gallery-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.gallery-loader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #D1D1D1;
    border-top-color: #143927;
    border-radius: 50%;
    animation: img-spin 0.8s linear infinite;
}

/* While gallery is loading, hide the actual content behind the loader */
.exhibition-gallery .exhibition-gallery-row {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.exhibition-gallery.gallery-loaded .exhibition-gallery-row {
    opacity: 1;
}

.exhibition-gallery-row {
    position: relative;
}

.exhibition-nav-arrow {
    position: absolute;
    top: 0;
    height: 65vh;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #D1D1D1;
    transition: color 0.3s ease;
    z-index: 10;
}

.exhibition-nav-arrow:hover {
    color: #143927;
}

.exhibition-nav-arrow svg {
    width: 14px;
    height: 26px;
}

.exhibition-nav-arrow svg path {
    fill: currentColor;
}

.exhibition-nav-arrow.disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.exhibition-nav-prev {
    left: 0;
}

.exhibition-nav-next {
    right: 0;
}

.exhibition-main-image {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.exhibition-main-image img {
    max-width: 100%;
    width: auto;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

/* Hide main image + thumbs until gallery is loaded (loader covers them) */
.exhibition-gallery:not(.gallery-loaded) .exhibition-main-image img {
    opacity: 0;
}

.exhibition-thumbs-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibition-thumbs-track {
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 10px;
}

.exhibition-thumbs-strip {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.exhibition-thumb {
    flex-shrink: 0;
    height: 50px;
    width: auto;
    border: none;
    background: #F5F5F5;
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s ease-in;
}

.exhibition-thumb.active,
.exhibition-thumb:hover {
    transition: transform 0.3s ease-out;
}

.exhibition-thumb img {
    height: 100%;
    width: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exhibition-thumb.active img,
.exhibition-thumb:hover img {
    opacity: 1;
}

.exhibition-thumb:hover {
    transform: translateY(8px);
}

/* Exhibition Info / Description */
.exhibition-divider {
    border: none;
    border-top: 1px solid #BFBFBF;
    margin: 90px 0 60px 0;
}

.exhibition-info-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.exhibition-info-text {
    display: flex;
    flex-direction: column;
}

.exhibition-info-image img {
    display: block;
    width: 440px;
    height: auto;
}

.exhibition-info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #143927;
    margin: 0;
}

.exhibition-info-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #143927;
    margin: 10px 0 0 0;
}

.exhibition-info-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #143927;
    margin: 5px 0 0 0;
}

.exhibition-info-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #143927;
    margin: 60px 0 0 0;
    line-height: 1.4;
}

.exhibition-press-release {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #143927;
    text-decoration: underline;
    margin-top: auto;
}

/* Related Exhibitions */
.related-exhibitions {
    margin-top: 90px;
}

.related-exhibitions-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0;
    color: #143927;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #BFBFBF;
    margin-bottom: 80px;
}

.related-exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 50px;
    row-gap: 0;
}

.related-exhibition-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    text-decoration: none;
    color: #143927;
}

.related-exhibition-card .related-exhibition-img {
    overflow: hidden;
    position: relative;
    align-self: end;
}

.related-exhibition-info {
    padding-top: 16px;
    padding-bottom: 40px;
}

.related-exhibition-card .related-exhibition-img:not(.img-loading)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-exhibition-card:hover .related-exhibition-img:not(.img-loading)::after {
    opacity: 1;
}

.related-exhibition-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.related-exhibition-card:hover img {
    transform: scale(1.03);
}

.related-exhibition-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #143927;
    margin: 0;
}

.related-exhibition-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #143927;
    margin: 5px 0 0 0;
}

.related-exhibition-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #143927;
    margin: 2px 0 0 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.contact-image {
    flex: 0 0 404px;
}

.contact-image img {
    width: 404px;
    height: 534px;
    object-fit: cover;
    display: block;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #143927;
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #143927;
    text-decoration: none;
    margin: 0;
}

.contact-email {
    margin-top: 50px;
}

.contact-phone {
    margin-top: 19px;
}

a.contact-detail {
    transition: opacity 0.3s ease;
}

a.contact-detail:hover {
    opacity: 0.6;
}

/* Newsletter Section (Contact page) */
.newsletter-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

.newsletter-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #143927;
    margin: 0;
}

.newsletter-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #143927;
    margin: 22px 0 0 0;
}

.newsletter-form {
    margin-top: 11px;
}

.newsletter-field {
    width: 700px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.newsletter-input {
    flex: 1;
    height: 100%;
    border: 2px solid #143927;
    border-right: none;
    background: transparent;
    padding: 0 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    font-style: italic;
    color: #143927;
    outline: none;
    box-sizing: border-box;
}

.newsletter-input::placeholder {
    color: #143927;
    font-weight: 500;
    font-style: italic;
    opacity: 0.5;
}

.newsletter-submit {
    width: 270px;
    height: 100%;
    flex-shrink: 0;
    background-color: #143927;
    color: #ffffff;
    border: 2px solid #143927;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.newsletter-submit:hover,
.newsletter-submit:active,
.newsletter-submit.pressed {
    background-color: #ffffff;
    color: #143927;
}

.newsletter-submit.pressed {
    transition: none;
}

.newsletter-privacy {
    margin: 16px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #143927;
    line-height: 1.4;
}

.newsletter-success {
    width: 700px;
    height: 50px;
    background-color: #F9FAF2;
    border: 1px solid #143927;
    display: flex;
    align-items: center;
    padding: 0 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    color: #143927;
    box-sizing: border-box;
}

/* ============================================
   Footer
   ============================================ */
/* Empty state — placeholder cards when no content is available */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Placeholder portfolio cards (grey boxes when no content) */
.portfolio-card.placeholder {
    pointer-events: none;
}
.portfolio-card.placeholder .portfolio-card-image {
    background-color: #e8e8e8;
}
.portfolio-card.placeholder h3 {
    color: #143927;
}

/* Placeholder work items (grey boxes in artwork/exhibition grids) */
.work-link.placeholder {
    pointer-events: none;
}
.work-link.placeholder .work-item {
    background-color: #e8e8e8;
}

.site-footer {
    padding: 0 100px 50px;
    max-width: 1920px;
    margin: 0 auto;
}

.page .site-footer {
    margin-top: 90px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #BFBFBF;
    padding-top: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo img {
    height: 150px;
    width: auto;
}


.footer-copyright {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #143927;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.footer-links a {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #143927;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

.footer-credit {
    font-size: 14px;
    line-height: 18px;
    color: #143927;
    font-weight: 400;
    margin-top: 4px;
}

.footer-credit a {
    color: #143927;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 0.6;
}

.footer-right {
    display: flex;
    align-items: flex-start;
}

.footer-social a {
    color: #1a1a1a;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.6;
}

.footer-social img {
    width: 36px;
    height: 36px;
}

/* ============================================
   Responsive — Page layout
   ============================================ */
@media (max-width: 1280px) {
    .page-content {
        padding: 120px 60px 60px;
    }
    .site-footer {
        padding: 0 60px 50px;
    }
    .artwork-page {
        padding: 84px 60px 60px;
    }
    .bio-layout {
        gap: 50px;
    }
    .bio-portrait {
        flex: 0 0 400px;
    }
    .bio-portrait img {
        width: 400px;
        height: auto;
        aspect-ratio: 601 / 1070;
    }
    .bio-text p {
        font-size: 22px;
        line-height: 34px;
    }
    .bio-download {
        width: 230px;
        height: 65px;
        font-size: 22px;
    }
    .legal-text {
        padding: 0 30px;
    }
    .legal-text h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .legal-text p,
    .legal-text ul li {
        font-size: 16px;
        line-height: 26px;
    }
    .contact-image {
        flex: 0 0 340px;
    }
    .contact-image img {
        width: 340px;
        height: 449px;
    }
    .contact-heading {
        font-size: 28px;
    }
    .contact-detail {
        font-size: 22px;
        line-height: 34px;
    }
    .exhibition-thumb {
        height: 45px;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        row-gap: 0;
    }
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
        row-gap: 30px;
    }
    .artwork-layout {
        gap: 0;
    }
    .artwork-details {
        flex: 0 0 41%;
        padding-right: 30px;
    }
    .bio-layout {
        gap: 40px;
    }
    .bio-portrait {
        flex: 0 0 340px;
    }
    .bio-portrait img {
        width: 340px;
    }
    .bio-text p {
        font-size: 20px;
        line-height: 32px;
    }
    .bio-download {
        width: 210px;
        height: 60px;
        font-size: 20px;
    }
    .legal-text {
        padding: 0 20px;
    }
    .legal-text h2 {
        font-size: 19px;
        line-height: 28px;
    }
    .legal-text p,
    .legal-text ul li {
        font-size: 15px;
        line-height: 25px;
    }
    .contact-image {
        flex: 0 0 300px;
    }
    .contact-image img {
        width: 300px;
        height: 396px;
    }
    .contact-heading {
        font-size: 24px;
    }
    .contact-detail {
        font-size: 20px;
        line-height: 32px;
    }
    .cookie-banner-inner {
        padding: 24px 60px;
    }
    .not-found {
        padding: 120px 60px 60px;
        gap: 50px;
    }
    .not-found-illustration {
        max-width: 250px;
    }
}

@media (max-width: 767px) {
    html body.page {
        overflow-x: hidden;
    }

    /* ---- Homepage Slideshow ---- */
    .artwork-slide img {
        object-fit: cover;
        object-position: center center;
    }

    .page-content {
        padding: 100px 20px 40px;
    }
    .site-footer {
        padding: 0 20px 40px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .portfolio-card h3 {
        font-size: 20px;
        line-height: 26px;
    }
    .works-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
    }
    .works-grid .work-link {
        -webkit-tap-highlight-color: transparent;
    }
    .works-grid .work-item {
        padding-bottom: 0;
    }
    .works-grid .work-item .work-item-image {
        position: static;
        overflow: visible;
    }
    .works-grid .work-item .work-item-image img {
        position: static;
        width: 100%;
        height: auto;
    }
    /* Mobile: loading state on image wrapper only, not the whole card */
    .works-grid .work-item.img-loading {
        background-color: transparent;
    }
    .works-grid .work-item.img-loading::after {
        display: none;
    }
    .works-grid .work-item.img-loading .work-item-image {
        background-color: #F8F8F8;
        position: relative;
    }
    .works-grid .work-item.img-loading .work-item-image::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 24px;
        margin: -12px 0 0 -12px;
        border: 2px solid transparent;
        border-top-color: #C6C6C6;
        border-right-color: #C6C6C6;
        border-radius: 50%;
        animation: img-spin 0.8s linear infinite;
        z-index: 1;
        pointer-events: none;
    }
    .works-grid .work-item.img-loaded .work-item-image {
        background-color: transparent;
    }
    .works-grid .work-item.img-loaded .work-item-image::after {
        display: none;
    }
    /* Mobile: show artwork info below the image, not as hover overlay */
    .works-grid .work-item .work-overlay {
        position: static;
        opacity: 1;
        background-color: transparent;
        padding: 10px 0 32px 0;
        pointer-events: none;
        display: block;
        height: auto;
        width: auto;
    }
    .works-grid .work-item .work-overlay .work-info {
        color: #143927;
    }
    .works-grid .work-item .work-overlay .work-info .work-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 0;
    }
    .works-grid .work-item .work-overlay .work-info .work-year {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
    }
    .exhibitions-grid-page .work-item .work-overlay .work-info .work-year {
        font-size: 17px;
        font-weight: 500;
    }
    .works-grid .work-item .work-overlay .work-info .work-medium {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.4;
    }
    .works-grid .work-item .work-overlay .work-info .work-size {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.4;
    }
    .artwork-page {
        padding: 100px 20px 40px;
        min-height: auto;
        align-items: flex-start;
        overflow: clip;
    }
    .artwork-layout {
        flex-direction: column;
        gap: 0;
        height: auto;
    }
    /* Make details children become direct layout children for reordering */
    .artwork-details {
        display: contents;
    }
    /* Order: 1=title-row (title+arrows), 2=divider, 3=image, 4=thumbs, 5=meta, 6=enquire, 7=wall-view */
    .artwork-title-row {
        order: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 12px;
    }
    .artwork-title-row .artwork-title {
        order: 0;
        width: auto;
        font-size: 22px;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        flex: 1;
        min-width: 0;
        transition: opacity 0.5s ease;
    }
    .artwork-arrow-pair {
        display: flex;
        align-items: center;
        gap: 34px;
        flex-shrink: 0;
        margin-right: -8px;
    }
    .artwork-title {
        order: 1;
        width: 100%;
        font-size: 22px;
        padding-bottom: 12px;
        margin-bottom: 0;
        border-bottom: none;
    }
    .artwork-title-divider {
        order: 2;
        width: 100%;
        height: 1px;
        background: #BFBFBF;
        margin-bottom: 20px;
    }
    .artwork-image {
        order: 3;
        width: 100%;
        height: 50vh;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-bottom: 16px;
    }
    .artwork-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
    }
    .artwork-thumbnails {
        order: 4;
        gap: 12px;
        margin-bottom: 20px;
        justify-content: center;
    }
    .artwork-thumb {
        width: 70px;
        height: 70px;
    }
    .artwork-meta {
        order: 5;
        margin-bottom: 20px;
        text-align: center;
    }
    .artwork-year,
    .artwork-medium,
    .artwork-size {
        font-size: 16px;
    }
    .artwork-enquire {
        order: 6;
        width: 100%;
        height: 46px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .artwork-sold {
        order: 6;
        text-align: center;
        font-size: 26px;
        margin-bottom: 20px;
    }
    .artwork-wall-view {
        order: 7;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    .artwork-ar-view {
        order: 8;
        width: 176px;
        height: 40px;
        font-size: 15px;
        border-radius: 20px;
        margin-top: 16px;
        align-self: center;
    }
    .artwork-nav {
        position: static;
        transform: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: #D1D1D1;
        transition: opacity 0.3s ease;
        z-index: 10;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    .artwork-nav:hover {
        color: #D1D1D1;
    }
    .artwork-nav:active,
    .artwork-nav.tap-active {
        color: #143927 !important;
    }
    .artwork-nav.disabled {
        opacity: 0.2;
        pointer-events: none;
    }
    .artwork-nav svg {
        width: 12px;
        height: 24px;
    }
    /* Arrow pair in title row */
    .artwork-arrow-pair .artwork-nav {
        padding: 8px;
    }
    /* Image + thumbnails: slide transition */
    .artwork-layout .artwork-image,
    .artwork-layout .artwork-thumbnails {
        transition: transform 0.4s cubic-bezier(0, 0, 0.2, 1);
    }
    /* Everything below thumbnails: fade transition */
    /* Default = fade-in (ease-out); slide-out states override to ease-in */
    .artwork-layout .artwork-meta,
    .artwork-layout .artwork-enquire,
    .artwork-layout .artwork-sold,
    .artwork-layout .artwork-wall-view,
    .artwork-layout .artwork-ar-view,
    .artwork-layout .artwork-title {
        transition: opacity 0.3s ease-out;
    }
    /* Slide out left (swipe left → next) */
    .artwork-layout.slide-out-left .artwork-image,
    .artwork-layout.slide-out-left .artwork-thumbnails {
        transform: translateX(-100vw);
        transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1);
    }
    .artwork-layout.slide-out-left .artwork-meta,
    .artwork-layout.slide-out-left .artwork-enquire,
    .artwork-layout.slide-out-left .artwork-sold,
    .artwork-layout.slide-out-left .artwork-wall-view,
    .artwork-layout.slide-out-left .artwork-ar-view {
        opacity: 0;
        transition: opacity 0.3s ease-in;
    }
    /* Title fades out during slide-out */
    .artwork-layout.slide-out-left .artwork-title,
    .artwork-layout.slide-out-right .artwork-title {
        opacity: 0;
        transition: opacity 0.3s ease-in;
    }
    /* Slide out right (swipe right → prev) */
    .artwork-layout.slide-out-right .artwork-image,
    .artwork-layout.slide-out-right .artwork-thumbnails {
        transform: translateX(100vw);
        transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1);
    }
    .artwork-layout.slide-out-right .artwork-meta,
    .artwork-layout.slide-out-right .artwork-enquire,
    .artwork-layout.slide-out-right .artwork-sold,
    .artwork-layout.slide-out-right .artwork-wall-view,
    .artwork-layout.slide-out-right .artwork-ar-view {
        opacity: 0;
        transition: opacity 0.3s ease-in;
    }
    /* Pre-position: new content off-screen left */
    .artwork-layout.slide-in-left .artwork-image,
    .artwork-layout.slide-in-left .artwork-thumbnails {
        transform: translateX(-100vw);
        transition: none;
    }
    .artwork-layout.slide-in-left .artwork-meta,
    .artwork-layout.slide-in-left .artwork-enquire,
    .artwork-layout.slide-in-left .artwork-sold,
    .artwork-layout.slide-in-left .artwork-wall-view,
    .artwork-layout.slide-in-left .artwork-ar-view {
        opacity: 0;
        transition: none;
    }
    /* Title stays hidden until slide-in completes (opacity controlled by default transition) */
    .artwork-layout.slide-in-left .artwork-title,
    .artwork-layout.slide-in-right .artwork-title {
        opacity: 0;
        transition: none;
    }
    /* Pre-position: new content off-screen right */
    .artwork-layout.slide-in-right .artwork-image,
    .artwork-layout.slide-in-right .artwork-thumbnails {
        transform: translateX(100vw);
        transition: none;
    }
    .artwork-layout.slide-in-right .artwork-meta,
    .artwork-layout.slide-in-right .artwork-enquire,
    .artwork-layout.slide-in-right .artwork-sold,
    .artwork-layout.slide-in-right .artwork-wall-view,
    .artwork-layout.slide-in-right .artwork-ar-view {
        opacity: 0;
        transition: none;
    }
    .page-title h1 {
        font-size: 24px;
        line-height: 32px;
    }
    .page-title {
        margin-bottom: 30px;
        gap: 10px;
        align-items: flex-start;
        padding-top: 4px;
    }
    .page-title .title-icon,
    .title-icon-wrapper,
    .title-icon-wrapper .title-icon,
    .title-icon-lottie {
        width: 34px;
        height: 34px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-left {
        gap: 6px;
    }
    .footer-copyright {
        font-size: 16px;
        line-height: 20px;
    }
    .footer-links {
        margin-top: 2px;
    }
    .footer-links a {
        font-size: 16px;
        line-height: 20px;
    }
    .footer-right {
        padding-top: 0;
    }
    .bio-layout {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    .bio-portrait {
        flex: none;
        width: 100%;
    }
    .bio-portrait img {
        width: 100%;
        height: auto;
        aspect-ratio: 601 / 1070;
    }
    .bio-text p {
        font-size: 18px;
        line-height: 28px;
        margin: 0 0 16px 0;
    }
    .bio-download {
        width: 100%;
        height: 60px;
        font-size: 18px;
        margin-top: 20px;
    }
    .legal-text {
        padding: 0;
        margin-bottom: 40px;
    }
    .legal-updated {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .legal-text h2 {
        font-size: 17px;
        line-height: 26px;
        margin: 30px 0 12px 0;
    }
    .legal-text p,
    .legal-text ul li {
        font-size: 15px;
        line-height: 24px;
    }
    .exhibitions-section {
        margin-bottom: 40px;
    }
    .exhibitions-title h2 {
        font-size: 20px;
    }
    .exhibition-item {
        gap: 20px;
        padding: 8px 0;
    }
    .exhibition-year {
        font-size: 18px;
        width: 50px;
    }
    .exhibition-name {
        font-size: 18px;
    }
    .exhibition-gallery {
        margin-bottom: 40px;
    }
    .exhibition-main-image {
        margin-bottom: 12px;
    }
    .exhibition-main-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
    }
    .exhibition-thumbs-container {
        gap: 8px;
        margin-left: -20px;
        margin-right: -20px;
        position: relative;
    }
    .exhibition-thumbs-container::before,
    .exhibition-thumbs-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 24px;
        z-index: 2;
        pointer-events: none;
    }
    .exhibition-thumbs-container::before {
        left: 0;
        background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
    }
    .exhibition-thumbs-container::after {
        right: 0;
        background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
    }
    .exhibition-thumbs-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 0;
        padding-right: 0;
        overscroll-behavior-x: auto;
    }
    .exhibition-thumbs-track::-webkit-scrollbar {
        display: none;
    }
    .exhibition-thumbs-strip {
        justify-content: flex-start;
    }
    .exhibition-thumbs-strip::before,
    .exhibition-thumbs-strip::after {
        content: '';
        flex-shrink: 0;
        width: 20px;
        min-height: 1px;
    }
    .exhibition-thumb {
        height: 50px;
        background: none;
        touch-action: manipulation;
    }
    .exhibition-thumb img {
        opacity: 1;
    }
    .exhibition-thumb:hover {
        transform: none;
    }
    .exhibition-thumb.active {
        transform: translateY(8px);
    }
    .exhibition-nav-arrow {
        display: none;
    }
    .contact-layout {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }
    .contact-image {
        flex: none;
        width: 100%;
    }
    .contact-image img {
        width: 100%;
        height: auto;
    }
    .contact-info {
        padding-top: 0;
    }
    .contact-heading {
        font-size: 22px;
        margin-bottom: 0;
    }
    .contact-detail {
        font-size: 18px;
        line-height: 28px;
    }
    .contact-email {
        margin-top: 14px;
    }
    .contact-phone {
        margin-top: 10px;
    }
    .newsletter-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .newsletter-heading {
        font-size: 22px;
    }
    .newsletter-text {
        font-size: 18px;
        margin-top: 16px;
    }
    .newsletter-field {
        width: 100%;
        height: 44px;
    }
    .newsletter-input {
        font-size: 18px;
    }
    .newsletter-submit {
        width: auto;
        font-size: 14px;
        padding: 0 16px;
    }
    .newsletter-success {
        width: 100%;
        height: auto;
        min-height: 44px;
        font-size: 18px;
        justify-content: center;
        text-align: center;
        padding: 8px;
    }

    /* ---- Exhibition Detail Page ---- */
    .exhibition-info-layout {
        flex-direction: column;
        gap: 30px;
    }
    .exhibition-info-image img {
        width: 100%;
        height: auto;
    }
    .exhibition-info-title {
        font-size: 26px;
    }
    .exhibition-info-date {
        font-size: 20px;
    }
    .exhibition-info-location {
        font-size: 20px;
    }
    .exhibition-info-description {
        font-size: 20px;
        font-weight: 300;
        margin-top: 30px;
    }
    .exhibition-press-release {
        font-size: 20px;
        margin-top: 30px;
    }
    .exhibition-divider {
        margin: 40px 0 30px 0;
    }
    /* ---- Related Exhibitions ---- */
    .related-exhibitions {
        margin-top: 50px;
    }
    .related-exhibitions-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .related-exhibitions-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }
    .related-exhibition-card {
        width: auto;
    }
    .related-exhibition-info {
        padding-top: 12px;
        padding-bottom: 30px;
    }
    .related-exhibition-card h4 {
        font-size: 20px;
    }
    .related-exhibition-date {
        font-size: 17px;
    }
    .related-exhibition-location {
        font-size: 17px;
    }

    /* ---- Enquiry Form Modal ---- */
    .enquiry-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        padding: 30px 20px 30px;
        border: none;
        box-shadow: none;
    }
    .enquiry-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .enquiry-artwork-info {
        width: 100%;
        height: auto;
        gap: 15px;
        padding: 8px;
        margin-bottom: 20px;
    }
    .enquiry-thumb {
        width: 80px;
        height: 80px;
    }
    .enquiry-artwork-details {
        height: auto;
    }
    .enquiry-artwork-details p {
        font-size: 14px;
        line-height: 18px;
    }
    .enquiry-field {
        flex-direction: column;
        gap: 6px;
    }
    .enquiry-field label {
        width: auto;
        min-width: auto;
        padding-top: 0;
        font-size: 15px;
    }
    .enquiry-field input,
    .enquiry-field textarea {
        width: 100%;
        height: 44px;
        font-size: 14px;
    }
    .enquiry-field textarea {
        height: 100px;
    }
    .enquiry-newsletter {
        flex-direction: column;
        gap: 8px;
    }
    .enquiry-newsletter-label {
        width: auto;
        min-width: auto;
        max-width: none;
        font-size: 15px;
    }
    .enquiry-submit {
        width: 100%;
        margin-left: 0;
        font-size: 15px;
        padding: 12px 20px;
    }
    .enquiry-flower {
        display: none;
    }
    .enquiry-success {
        width: 90vw;
        height: auto;
        padding: 40px 20px 30px;
    }
    .enquiry-success-title {
        padding: 0;
        font-size: 20px;
    }
    .enquiry-success-message {
        padding: 15px 0 0 0;
        font-size: 16px;
    }
    .enquiry-error-title {
        font-size: 20px;
    }
    .enquiry-error-message {
        font-size: 16px;
    }

    /* ---- Lightbox / Wall View ---- */
    .lightbox {
        overflow: hidden;
    }
    .lightbox.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .lightbox-content {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    .lightbox-close,
    .wall-view .lightbox-close {
        background: rgba(255, 255, 255, 0.85);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 20px;
        right: 20px;
    }
    .lightbox-image-wrapper {
        position: absolute;
        top: 0;
        left: 15px;
        right: 15px;
        bottom: 0;
        overflow: hidden;
        cursor: default;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .lightbox-image-wrapper img {
        display: block;
        max-height: 100%;
        max-width: 100%;
        height: auto !important;
        width: auto !important;
        object-fit: contain;
        transform: none !important;
        transform-origin: center center;
        transition: none;
    }
    /* Zoom overlay — positioned exactly over the image via JS */
    .lightbox-zoom-overlay {
        display: none;
        position: absolute;
        background-repeat: no-repeat;
        z-index: 2;
        pointer-events: none;
    }
    .lightbox-zoom-overlay.active {
        display: block;
    }
    .wall-view {
        overflow: hidden;
    }
    .wall-view-content {
        width: 100%;
        height: 100%;
        padding: 60px 15px 20px;
        box-sizing: border-box;
        overflow: hidden;
    }
    .wall-view-content img {
        max-width: 100%;
        max-height: 100%;
    }

    /* Cookie banner mobile */
    .cookie-banner-inner {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }
    .cookie-banner-text {
        font-size: 14px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 12px;
    }

    /* 404 page mobile */
    .not-found {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 100px 20px 40px;
        min-height: calc(100vh - 200px);
        text-align: center;
    }
    .not-found-illustration {
        max-width: 220px;
        margin: 20px auto 0;
    }
    .not-found-content h1 {
        font-size: 42px;
    }
    .not-found-content p {
        font-size: 16px;
    }
}

/* ============================================
   Responsive — Homepage
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 0;
        height: 84px;
    }

    #lottieAnimation {
        width: 95%;
    }

    .side-menu {
        width: 100%;
        right: -100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .side-menu ul {
        align-items: center;
        margin-top: 0;
    }

    .side-menu a {
        text-align: center;
    }

    .side-menu a::before {
        display: none;
    }

    .tap-flower {
        position: absolute;
        right: calc(100% + 8px);
        top: 50%;
        margin-top: -13px;
        width: 26px;
        height: 26px;
        pointer-events: none;
        animation: flowerFadeIn 0.4s ease;
    }

    @keyframes flowerFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .side-menu.active {
        right: 0;
    }

    .hamburger {
        right: 20px;
    }
}

/* ============================================
   Touch devices: disable all hover effects
   ============================================ */
@media (hover: none) {
    .hamburger:hover {
        opacity: 1;
    }
    .header.scrolled .hamburger:hover svg path {
        fill: #fff !important;
    }
    .hamburger.menu-open:hover svg path {
        fill: #fff !important;
    }
    .side-menu a:hover {
        color: #EFD9C8;
        opacity: 1;
    }
    .side-menu a.tap-active {
        color: #D5E525;
        opacity: 1;
    }
    .side-menu a:hover::before {
        opacity: 0;
    }
    .portfolio-card:hover .portfolio-card-image img {
        transform: none;
    }
    .works-grid .work-item:hover img {
        transform: none;
    }
    .artwork-enquire:hover {
        background: #143927;
        color: #fff;
        border-color: #143927;
    }
    .artwork-enquire:active,
    .artwork-enquire.pressed {
        background: #fff;
        color: #143927;
        border-color: #143927;
        transition: none;
    }
    .artwork-thumb:hover {
        transform: none;
    }
    .artwork-wall-view:hover {
        color: #143927;
    }
    .artwork-ar-view:hover {
        background: #143927;
        color: #fff;
        border-color: #143927;
    }
    .artwork-ar-view:hover img {
        filter: none;
    }
    .artwork-ar-view:active,
    .artwork-ar-view.pressed {
        background: #fff;
        color: #143927;
        border-color: #143927;
        transition: none;
    }
    .artwork-ar-view:active img,
    .artwork-ar-view.pressed img {
        filter: brightness(0) saturate(100%) invert(18%) sepia(30%) saturate(1200%) hue-rotate(110deg) brightness(95%) contrast(95%);
    }
    .ar-interstitial-start:hover {
        background: #143927;
        color: #fff;
        border-color: #143927;
    }
    .ar-interstitial-start:hover img {
        filter: brightness(0) invert(1);
    }
    .ar-interstitial-start:active,
    .ar-interstitial-start.pressed {
        background: #fff;
        color: #143927;
        border-color: #143927;
        transition: none;
    }
    .ar-interstitial-start:active img,
    .ar-interstitial-start.pressed img {
        filter: brightness(0);
    }
    .artwork-nav:hover {
        color: #D1D1D1;
    }
    .lightbox-close:hover,
    .enquiry-close:hover,
    .enquiry-error-close:hover,
    .enquiry-success-close:hover {
        opacity: 1;
    }
    .enquiry-error-ok:hover {
        background: transparent;
    }
    .enquiry-submit:hover {
        background: #143927;
        color: #fff;
        border-color: #143927;
    }
    .enquiry-submit:active,
    .enquiry-submit.pressed {
        background: #fff;
        color: #143927;
        border-color: #143927;
        transition: none;
    }
    .bio-download:hover {
        background: #143927;
        color: #fff;
        border-color: #143927;
    }
    .bio-download:active,
    .bio-download.pressed {
        background: #fff;
        color: #143927;
        border-color: #143927;
        transition: none;
    }
    .exhibition-name:hover {
        opacity: 1;
    }
    .exhibition-nav-arrow:hover {
        color: #D1D1D1;
    }
    .exhibition-thumb:not(.active):hover {
        transform: none;
    }
    .exhibition-thumb.active:hover {
        transform: translateY(8px);
    }
    .exhibition-thumb:hover img {
        opacity: 1;
    }
    .related-exhibition-card:hover .related-exhibition-img:not(.img-loading)::after {
        opacity: 0;
    }
    .related-exhibition-card:hover img {
        transform: none;
    }
    a.contact-detail:hover {
        color: inherit;
    }
    .newsletter-submit:hover {
        background: #143927;
        color: #fff;
    }
    .newsletter-submit:active,
    .newsletter-submit.pressed {
        background: #fff;
        color: #143927;
        transition: none;
    }
    .cookie-btn-accept:hover {
        background: #fff;
        color: #143927;
    }
    .cookie-btn-accept:active,
    .cookie-btn-accept.pressed {
        background: transparent;
        color: #fff;
        transition: none;
    }
    .cookie-btn-decline:hover {
        background: transparent;
        color: #fff;
    }
    .cookie-btn-decline:active,
    .cookie-btn-decline.pressed {
        background: #fff;
        color: #143927;
        transition: none;
    }
    .footer-links a:hover {
        color: inherit;
    }
    .footer-social a:hover {
        opacity: 1;
    }
}
