/* Main CSS */

:root {
    --pad: 35px;
    --color-bg: #eeeff5;
    --color-text: #000000;
    --color-muted: #8a8680;
    --color-border: #d6d1ca;
    --color-card-bg: #edeae5;
    --font-serif: "sitka-banner-semibold", sans-serif;
    --header-h: 138px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
.g-header-1 {
    font-size: 48px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.03em;
}

h2,
.g-header-2 {
    font-size: 36px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
}

h3,
.g-header-3 {
    font-size: 28px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
}

h4 {
    font-size: 24px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
}

h5 {
    font-size: 18px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
}

h6 {
    font-size: 16px;
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
}

div,
p,
span,
li,
a {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.01rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.g-container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.g-section {
    color: #000000;
    line-height: 1.2;
    overflow-x: hidden;
    background-color: #ffffff;
    font-size: 16px;
}

input,
input:focus,
input:active,
input:hover,
button,
button:hover,
button:focus,
button:active {
    outline: none;
}

.reveal {
    opacity: 0;
    transition: 0.5s linear;
}

.reveal.is-visible {
    opacity: 1;
    transition: 0.5s linear;
}

.reveal-stagger>* {
    opacity: 0;
    transition: 0.5s linear;
}

.reveal-stagger.is-visible>*:nth-child(1) {
    transition-delay: 0s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
    transition-delay: 0.16s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
    transition-delay: 0.24s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
    transition-delay: 0.32s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
    transition-delay: 0.40s;
}

.reveal-stagger.is-visible>*:nth-child(7) {
    transition-delay: 0.48s;
}

.reveal-stagger.is-visible>*:nth-child(8) {
    transition-delay: 0.56s;
}

.reveal-stagger.is-visible>* {
    opacity: 1;
}

.swipe-from-right {
    opacity: 0;
    transform: translateX(100vw);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.swipe-from-right.is-visible {
    opacity: 1;
    transform: none;
}

.hero {
    min-height: calc(100vh - var(--header-h));
    padding: var(--pad);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.hero .swiper {
    width: 100%;
    flex: 1;
    overflow: visible;
}

.hero .swiper-wrapper {
    align-items: stretch;
}

.hero .swiper-slide {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    cursor: grab;
}

.hero .swiper-slide:active {
    cursor: grabbing;
}

.slide-image-wrap {
    flex: 1;
    overflow: hidden;
}

.slide-image-wrap img {
    display: block;
    width: auto;
    height: 100%;
    max-height: calc(100vh - var(--header-h) - var(--pad) * 2 - 60px);
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.swiper-slide:hover .slide-image-wrap img {
    transform: scale(1.03);
}

.slide-caption {
    padding: 16px 0px 5px 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 64px;
}

.caption-info {
    font-size: 12px;
    line-height: 1.2;
    color: #000000;
}

.section-about {
    padding: var(--pad);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.section-about .info-grid {
    min-height: calc(100vh - 120px);
    min-height: calc(100svh - 120px);
}

.info-cell.mz-long-format .info-cell-content:last-child {
    margin-bottom: 0px;
}

.section-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--pad);
    flex-wrap: wrap;
    gap: 16px;
}

.section-nav .logo {
    font-family: var(--font-serif);
    font-size: 14px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
}

.section-nav .logo:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.section-nav nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.section-nav nav a {
    font-size: 13px;
    text-decoration: none;
    color: var(--color-text);
    padding: 0px 0px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.section-nav nav a:hover,
.section-nav nav a.active {
    color: var(--color-text);
    text-decoration: underline;
}

.section-nav nav a.active {
    color: var(--color-text);
    text-decoration: underline;
}

.info-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    position: relative;
}

.info-cell {
    width: 100%;
    max-width: 310px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 260px;
}

.info-cell-content {
    width: 100%;
    max-width: 278px;
    margin-bottom: 50px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-cell-content,
.info-cell-content p {
    font-size: 14px;
}

.info-cell-content a {
    font-size: 14px;
    text-decoration: underline;
    color: #000000;
    font-style: italic;
}

.info-cell-content a:hover {
    color: #3b3b3b;
}

.info-cell.mz-long-format {
    border-left: 1px solid #00000036;
    padding-left: 30px;
}

.info-cell.mz-long-format .info-cell-content {
    max-width: 236px;
}

.mz-info-cell-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mz-product-advertising-wrap {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0px;
    position: relative;
    z-index: 10;
    padding-top: 45px;
}

.mz-product-advertising {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 12px;
    position: sticky;
    bottom: 35px;
    gap: 25px;
    border-radius: 3px;
}

.mz-product-advertising-info {
    min-width: 125px;
}

.mz-advertising-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.1;
}

.mz-advertising-category {
    font-size: 14px;
    margin-bottom: 8px;
}

.mz-advertising-link {
    font-size: 14px;
    text-decoration: underline;
    color: #000000;
    font-style: italic;
    font-weight: 700;
}

.mz-advertising-link:hover {
    color: #3b3b3b;
    text-decoration: underline;
}

.mz-product-advertising-img {
    width: 132px;
    aspect-ratio: 131 / 118;
    object-fit: contain;
    background-position: center center;
}

/* Default state for mobile nav */
.mobile-bottom-nav {
    display: none;
}

/* Hero Slider Navigation */
.hero-slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.hero-swiper-prev,
.hero-swiper-next {
    position: static !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    cursor: pointer;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
    content: '' !important;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    font-family: none !important;
}

.hero-swiper-prev::after {
    border-width: 6px 8px 6px 0;
    border-color: transparent #000000 transparent transparent;
}

.hero-swiper-next::after {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #000000;
}

.hero-swiper-prev.swiper-button-disabled,
.hero-swiper-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
}

.exhibition-single-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 25px var(--pad) 0px;
}

.exhibition-top {
    margin-bottom: 35px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.3s ease;
}

.back-to-home:hover {
    opacity: 0.7;
    text-decoration: none;
    color: var(--color-text);
}

.back-icon {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px 6px 0;
    border-color: transparent #000000 transparent transparent;
    margin: 0px 12px -2px 0px;
}

.exhibition-content {
    display: flex;
    gap: 35px;
    align-items: stretch;
    flex-grow: 1;
}

.exhibition-left {
    width: 55.55%;
    display: flex;
    flex-direction: column;
}

.exhibition-right {
    width: 44.45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exhibition-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.exhibition-featured-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    object-position: left top;
}

.exhibition-info {
    margin-bottom: 40px;
}

.caption-info.slide-name {
    font-weight: 700;
}

.exhibition-title {
    font-size: 14px;
    margin-bottom: 0px;
    font-family: var(--font-serif);
    font-weight: 700;
}

.exhibition-meta-item {
    font-size: 14px;
    margin-bottom: 0px;
}

.exhibition-meta-item span {
    font-size: 14px;
}

.exhibition-description {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    max-width: 302px;
}

.exhibition-description p {
    font-size: 14px;
}

.exhibition-description p:last-child {
    margin-bottom: 0;
}

.exhibition-related {
    margin-top: auto;
}

.related-title {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-serif);
}

.related-swiper {
    width: 100%;
    overflow: hidden;
}

.related-swiper .swiper-slide {
    width: auto;
    height: 245px;
}

.related-slide-link {
    display: block;
    height: 100%;
}

.related-slide-link img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.bottom-nav-exhibition {
    margin-top: 70px;
}

@media screen and (min-width: 768px) {
    html {
        scroll-snap-type: y mandatory;
    }
    .hero, .section-about {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    html:has(.g-about-page-variation) {
        scroll-snap-type: none;
    }
}

/* About Page Fixed Elements */
.g-about-page-variation .exhibition-top {
    position: fixed;
    top: var(--pad);
    left: var(--pad);
    z-index: 100;
    margin-bottom: 0 !important;
}

.g-about-page-variation .info-grid {
    padding-top: 50px;
}

.g-about-page-variation .mz-product-advertising-wrap {
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden;
}

.g-about-page-variation .mz-product-advertising {
    position: fixed;
    bottom: var(--pad);
    right: var(--pad);
    z-index: 100;
    margin-bottom: 0 !important;
}