:root {
    --bg-paper: #f5f4f0;
    --bg-white: #ffffff;
    --ink: #141413;
    --stone: #6e6c64;
    --sage: #526647;
    --terracotta: #c15535;
    --border: rgba(20, 20, 19, 0.14);
    --border-strong: rgba(20, 20, 19, 0.3);

    --font-display: "Playfair Display", "Noto Serif JP", Georgia, serif;
    --font-body: "Alegreya Sans", "Noto Sans JP", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    background: var(--bg-paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
}

a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-color: var(--border-strong);
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
    color: var(--terracotta);
    text-decoration-color: var(--terracotta);
}

/* Transparent Over-Hero Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(20, 20, 19, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.28s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    background: rgba(245, 244, 240, 0.92);
    border-bottom-color: var(--border);
}

.header-inner,
.section-inner,
.footer-inner {
    max-width: 64rem;
    margin: 0 auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.section-band {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border);
}

.section-paper {
    background: var(--bg-paper);
}

.section-white {
    background: var(--bg-white);
}

.section-illustration {
    display: block;
    width: 100%;
    max-width: 15rem;
    height: auto;
    margin-top: 2rem;
    opacity: 0.9;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #ffffff;
}

.site-header.is-scrolled .brand {
    color: var(--ink);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.site-header.is-scrolled .lang-switch {
    border-color: var(--border-strong);
}

.site-header.is-scrolled .lang-btn {
    color: var(--stone);
}

.site-header.is-scrolled .lang-btn.is-active {
    background: var(--ink);
    color: #ffffff;
}

.archive-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.3rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.archive-pill:hover {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
}

.site-header.is-scrolled .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.site-header.is-scrolled .lang-switch {
    border-color: var(--border-strong);
}

.site-header.is-scrolled .lang-btn {
    color: var(--stone);
}

.site-header.is-scrolled .lang-btn.is-active {
    background: var(--ink);
    color: #ffffff;
}

.archive-pill {
    color: var(--ink);
    border-color: var(--border-strong);
}

.site-header.is-scrolled .archive-pill:hover {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

/* Hero Cover */
.hero-cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    background-image: url("素材/主视觉.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--ink);
    color: #f5f4f0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 20, 19, 0.88) 0%,
        rgba(20, 20, 19, 0.42) 55%,
        rgba(20, 20, 19, 0.22) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 8rem 2.5rem 5rem;
}

.hero-status {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: #f5f4f0;
    border: 1px solid rgba(245, 244, 240, 0.45);
    padding: 0.2rem 0.6rem;
    margin: 0 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.85rem, 6.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 0;
    color: #ffffff;
}

.hero-lead {
    max-width: 40rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(245, 244, 240, 0.9);
    margin: 0.85rem 0 1.65rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

.hero-archive-btn {
    display: inline-block;
    background: var(--terracotta);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.65rem 1.35rem;
    border: 1px solid var(--terracotta);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-archive-btn:hover {
    background: #a9472a;
    border-color: #a9472a;
    color: #ffffff;
}

.hero-dates {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(245, 244, 240, 0.8);
}

/* Editorial Photo Wall (No Title, Featured Red Lamp) */
.photo-wall-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}

.wall-thanks {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--terracotta);
    margin: 0 0 1.5rem;
}

.photo-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 13.5rem;
    gap: 0.75rem;
}

.wall-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    overflow: hidden;
}

.wall-caption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 2.25rem 0.9rem 0.8rem;
    background: linear-gradient(to top, rgba(20, 20, 19, 0.82) 0%, rgba(20, 20, 19, 0) 100%);
    color: #f5f4f0;
    text-align: left;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.wall-caption strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

.wall-caption span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    color: rgba(245, 244, 240, 0.82);
}

.wall-item:hover .wall-caption,
.wall-item:focus-visible .wall-caption {
    opacity: 1;
}

.wall-item--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.wall-item--wide {
    grid-column: span 2;
}

.wall-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.wall-item:hover img,
.wall-item:focus-visible img {
    transform: scale(1.03);
}

.wall-item:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.online-gallery-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 1.15rem 1.5rem;
    border: 1px solid var(--border-strong);
    background: var(--bg-white);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.construction-icon {
    color: var(--terracotta);
    flex-shrink: 0;
}

.reveal,
.photo-wall .wall-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible,
.photo-wall .wall-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .photo-wall .wall-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Headings */
h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 0;
}

/* Recap & Blended Poster */
.recap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 4.5rem;
}

.recap-copy h2 {
    margin-bottom: 1.75rem;
}

.exhibition-meta {
    margin: 0 0 2rem;
    border-top: 1px solid var(--border);
}

.exhibition-meta > div {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.exhibition-meta dt {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--stone);
    padding-top: 0.15rem;
}

.exhibition-meta dd {
    margin: 0;
}

.recap-text p {
    margin: 0 0 1.1rem;
    max-width: 38rem;
    font-size: 1rem;
}

.recap-text p:last-child {
    margin-bottom: 0;
}

.recap-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--stone);
}

.hero-poster {
    margin: 0;
    justify-self: end;
    width: 100%;
    max-width: 24rem;
}

.poster-blend {
    height: auto;
    mix-blend-mode: multiply;
}

.poster-blend img {
    height: auto;
}

.event-wall-section {
    position: relative;
    overflow: hidden;
}

.floating-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-bubble {
    --bubble-width: clamp(8rem, 15vw, 13rem);
    position: absolute;
    left: clamp(0.5rem, var(--bubble-left), calc(100% - var(--bubble-width) - 0.5rem));
    width: var(--bubble-width);
    height: auto;
    mix-blend-mode: multiply;
    filter: brightness(1.45) contrast(1.65) saturate(1.25);
    opacity: 0;
    animation: bubbleFloat 5.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bubbleFloat {
    0% {
        opacity: 0;
        translate: 0 14px;
        scale: 0.92;
    }
    18% {
        opacity: 0.92;
        translate: 0 0;
        scale: 1;
    }
    78% {
        opacity: 0.9;
        translate: 0 -10px;
        scale: 1;
    }
    100% {
        opacity: 0;
        translate: 0 -22px;
        scale: 0.96;
    }
}

.event-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 15rem;
    gap: 0.75rem;
}

.event-item--wide {
    grid-column: span 2;
}

.event-item--tall {
    grid-row: span 2;
}

.salon-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--sage);
    margin: 0.65rem 0 1.25rem;
}

.salon-photo {
    margin: 0;
}

/* Concept & Next Exhibition */
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 4rem;
    align-items: center;
}

.split-grid--media-right {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.section-illustration {
    display: block;
    width: 100%;
    max-width: 16rem;
    height: auto;
    margin: 0 auto;
    opacity: 0.92;
}

.concept-lead {
    margin-top: 1.5rem;
}

.next-body h2 {
    margin-bottom: 1.75rem;
}

.split-grid p {
    margin: 0 0 1rem;
    max-width: 40rem;
}

.split-grid p:last-child {
    margin-bottom: 0;
}

.note-muted {
    color: var(--stone);
    font-size: 0.92rem;
}

/* Footer & Contact */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}

.footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    font-size: 0.875rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.footer-desc {
    margin: 0 0 0.65rem;
    color: var(--stone);
}

.footer-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.partner-logo {
    height: 1.75rem;
    width: auto;
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 1.25rem;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--stone);
}

/* Lightbox */
.lightbox {
    border: 1px solid var(--ink);
    background: var(--bg-paper);
    padding: 1.25rem;
    max-width: min(92vw, 48rem);
    max-height: 92vh;
}

.lightbox::backdrop {
    background: rgba(20, 20, 19, 0.8);
}

.lightbox-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lightbox-close {
    align-self: flex-end;
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    cursor: pointer;
}

.lightbox-close:hover {
    border-color: var(--ink);
}

.lightbox img {
    display: block;
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

#lightbox-caption {
    margin: 0;
    font-size: 0.875rem;
    color: var(--stone);
    text-align: center;
}

/* Responsive */
@media (max-width: 48rem) {
    .event-wall {
        display: block;
        column-count: 2;
        column-gap: 0.65rem;
    }

    .event-wall .wall-item {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 0 0.65rem;
        break-inside: avoid;
    }

    .event-wall .wall-item img {
        height: auto;
        object-fit: contain;
        transform: none;
    }
}

@media (max-width: 56rem) {
    .wall-thanks {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--terracotta);
    margin: 0 0 1.5rem;
}

.photo-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 13rem;
    }

    .wall-item--feature {
        grid-column: span 2;
        grid-row: span 2;
    }

    .wall-item--wide {
        grid-column: span 2;
    }

    .recap,
    .split-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .hero-poster {
        justify-self: start;
        max-width: 22rem;
    }
}

@media (max-width: 36rem) {
    .wall-thanks {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--terracotta);
    margin: 0 0 1.5rem;
}

.photo-wall {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 15rem;
    }

    .wall-item--feature,
    .wall-item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}
