/* ========== CSS CUSTOM PROPERTIES ========== */
        :root {
            --bg: #fafafa;
            --bg-alt: #f2f2f0;
            --bg-elevated: #ffffff;
            --text: #111111;
            --text-secondary: #6b6b6b;
            --text-tertiary: #999999;
            --border: #e5e5e3;
            --border-strong: #ccccca;

            --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
            --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
            --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2rem;
            --spacing-xl: 3rem;
            --spacing-2xl: 4rem;
            --spacing-3xl: 6rem;

            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-full: 100px;

            --container-max: 1400px;
            --header-height: 72px;
        }

        /* ========== RESET & BASE ========== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
            overscroll-behavior-x: none;
            width: 100%;
            max-width: 100vw;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            overflow-x: clip;
            overscroll-behavior-x: none;
            width: 100%;
            max-width: 100vw;
            position: relative;
        }

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

        a {
            text-decoration: none;
            color: inherit;
            -webkit-tap-highlight-color: transparent;
        }

        button {
            border: none;
            background: none;
            cursor: pointer;
            font-family: inherit;
            -webkit-tap-highlight-color: transparent;
        }

        ul, ol {
            list-style: none;
        }

        /* ========== UTILITIES ========== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--spacing-xl);
        }

        @media (max-width: 768px) {
            .container { padding: 0 var(--spacing-md); }
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ========== LOADER ========== */
        .loader {
            position: fixed;
            inset: 0;
            background: var(--bg);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: var(--spacing-sm);
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        .loader.is-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .loader__title {
            font-family: var(--font-serif);
            font-size: clamp(1.25rem, 3vw, 1.75rem);
            font-weight: 300;
            letter-spacing: 0.08em;
            opacity: 0;
            animation: loaderFade 0.8s ease 0.2s forwards;
        }

        .loader__bar {
            width: 60px;
            height: 2px;
            background: var(--border);
            border-radius: 2px;
            overflow: hidden;
            opacity: 0;
            animation: loaderFade 0.8s ease 0.4s forwards;
        }

        .loader__bar-fill {
            height: 100%;
            width: 0%;
            background: var(--text);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

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

        /* ========== HEADER ========== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 var(--spacing-xl);
            background: rgba(250, 250, 250, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            transform: translateY(-100%);
            animation: headerSlide 0.4s var(--ease-out-expo) 0.2s forwards;
            transition: box-shadow 0.3s ease;
        }

        /* Touch screens: no blur behind the fixed header (blur makes phone scrolling stutter) */
        @media (hover: none), (pointer: coarse), (max-width: 1024px) {
            .header {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                background: rgba(250, 250, 250, 0.97);
            }
        }

        .header.is-scrolled {
            box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
        }

        @keyframes headerSlide {
            to { transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .header { padding: 0 var(--spacing-md); }
        }

        .header__logo {
            font-family: 'Italiana', var(--font-serif);
            font-size: 0.875rem;
            font-weight: 400;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            white-space: nowrap;
            transition: opacity 0.3s ease;
        }

        .header__logo:hover { opacity: 0.7; }

        .header__nav {
            display: flex;
            align-items: center;
            gap: var(--spacing-lg);
        }

        @media (max-width: 768px) {
            .header__nav { display: none; }
        }

        .header__link {
            font-size: 0.8125rem;
            font-weight: 400;
            color: var(--text-secondary);
            letter-spacing: 0.01em;
            transition: color 0.3s ease;
            position: relative;
        }

        .header__link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--text);
            transition: width 0.4s var(--ease-out-expo);
        }

        .header__link:hover { color: var(--text); }
        .header__link:hover::after { width: 100%; }

        .header__lang {
            display: flex;
            gap: 2px;
            padding: 4px;
            border: 1px solid var(--border);
            border-radius: var(--radius-full);
        }

        .header__lang-btn {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            padding: 4px 10px;
            border-radius: var(--radius-full);
            color: var(--text-tertiary);
            transition: all 0.3s ease;
        }

        .header__lang-btn.is-active {
            background: var(--text);
            color: var(--bg);
        }

        /* Mobile menu button */
        .header__menu-btn {
            display: none;
            width: 32px;
            height: 32px;
            position: relative;
        }

        .header__menu-btn span {
            display: block;
            width: 20px;
            height: 1.5px;
            background: var(--text);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            transition: all 0.3s ease;
        }

        .header__menu-btn span:first-child { top: 35%; }
        .header__menu-btn span:last-child { bottom: 35%; }

        @media (max-width: 768px) {
            .header__menu-btn { display: block; }
        }

        /* Mobile nav overlay */
        .mobile-nav {
            position: fixed;
            inset: 0;
            z-index: 1001;
            background: var(--bg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-lg);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s var(--ease-out-expo);
        }

        .mobile-nav.is-open {
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav__link {
            font-family: var(--font-serif);
            font-size: 2rem;
            font-weight: 400;
            color: var(--text);
            transition: opacity 0.3s ease;
        }

        .mobile-nav__link:hover { opacity: 0.5; }

        .mobile-nav__close {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-nav__close::before,
        .mobile-nav__close::after {
            content: '';
            position: absolute;
            width: 22px;
            height: 2px;
            background: var(--text);
        }

        .mobile-nav__close:active { background: var(--bg-alt); }

        body:has(.mobile-nav.is-open) { overflow: hidden; }

        .mobile-nav__close::before { transform: rotate(45deg); }
        .mobile-nav__close::after { transform: rotate(-45deg); }

        /* ========== HERO SECTION ========== */
        .hero {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: var(--spacing-2xl);
            padding-top: calc(var(--header-height) + var(--spacing-3xl));
            padding-bottom: var(--spacing-3xl);
            padding-left: var(--spacing-xl);
            padding-right: var(--spacing-xl);
        }

        @media (max-width: 1024px) {
            .hero {
                grid-template-columns: 1fr;
                padding-left: var(--spacing-md);
                padding-right: var(--spacing-md);
                min-height: auto;
                padding-top: calc(var(--header-height) + var(--spacing-xl));
                padding-bottom: var(--spacing-xl);
            }
        }

        .hero__content {
            max-width: 600px;
        }

        @media (max-width: 1024px) {
            .hero__content { max-width: 100%; }
        }

        .hero__eyebrow {
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: var(--spacing-lg);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.5s var(--ease-out-expo) 0.1s forwards;
        }

        .hero__title {
            font-family: var(--font-serif);
            font-size: clamp(2.75rem, 6vw, 5rem);
            font-weight: 300;
            line-height: 1.05;
            letter-spacing: -0.01em;
            margin-bottom: var(--spacing-md);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 0.5s var(--ease-out-expo) 0.2s forwards;
        }

        .hero__subtitle {
            font-family: var(--font-serif);
            font-size: clamp(1.0625rem, 2vw, 1.375rem);
            font-weight: 300;
            font-style: italic;
            color: var(--text-secondary);
            margin-bottom: var(--spacing-lg);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.5s var(--ease-out-expo) 0.3s forwards;
        }

        .hero__desc {
            font-size: 1.0625rem;
            line-height: 1.75;
            color: var(--text-secondary);
            max-width: 480px;
            margin-bottom: var(--spacing-xl);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.5s var(--ease-out-expo) 0.4s forwards;
        }

        .hero__actions {
            display: flex;
            gap: var(--spacing-sm);
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.5s var(--ease-out-expo) 0.5s forwards;
        }

        .hero__image {
            position: relative;
            aspect-ratio: 3/4;
            max-width: 520px;
            justify-self: end;
            opacity: 0;
            transform: scale(0.95);
            animation: scaleIn 0.6s var(--ease-out-expo) 0.3s forwards;
        }

        @media (max-width: 1024px) {
            .hero__image {
                display: block;
                max-width: 100%;
                aspect-ratio: 4/3;
                margin-bottom: var(--spacing-lg);
                order: -1;
                justify-self: stretch;
            }
            .hero__content { order: 1; }
        }

        .hero__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: var(--radius-md);
        }

        .hero__image-caption {
            position: absolute;
            bottom: -2.5rem;
            left: 0;
            font-size: 0.8125rem;
            color: var(--text-tertiary);
        }

        @keyframes fadeUp {
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes scaleIn {
            to { opacity: 1; transform: scale(1); }
        }

        /* On mobile: instant hero content */
        @media (max-width: 768px) {
            .hero__eyebrow,
            .hero__title,
            .hero__subtitle,
            .hero__desc,
            .hero__actions,
            .hero__image {
                opacity: 1 !important;
                transform: none !important;
                animation: none !important;
            }

            .header {
                transform: none !important;
                animation: none !important;
            }

            .section {
                padding: var(--spacing-xl) 0;
            }
        }

        /* ========== BUTTONS ========== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.875rem 1.75rem;
            font-size: 0.8125rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            border-radius: var(--radius-full);
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .btn--primary {
            background: var(--text);
            color: var(--bg);
        }

        .btn--primary:hover {
            background: var(--text-secondary);
            transform: translateY(-2px);
        }

        .btn--outline {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn--outline:hover {
            border-color: var(--text);
            transform: translateY(-2px);
        }

        /* ========== MARQUEE ========== */
        .marquee {
            padding: var(--spacing-md) 0;
            overflow: hidden;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .marquee__inner {
            display: flex;
            animation: marqueeScroll 30s linear infinite;
            width: max-content;
        }

        @keyframes marqueeScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .marquee__item {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            padding: 0 var(--spacing-lg);
            font-family: var(--font-serif);
            font-size: 1.0625rem;
            font-style: italic;
            color: var(--text-secondary);
            white-space: nowrap;
        }

        .marquee__dot {
            width: 4px;
            height: 4px;
            background: var(--text-tertiary);
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* ========== SECTIONS ========== */
        .section {
            padding: var(--spacing-3xl) 0;
        }

        .section__header {
            max-width: 700px;
            margin-bottom: var(--spacing-2xl);
        }

        .section__header--center {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        .section__label {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: var(--spacing-sm);
        }

        .section__title {
            font-family: var(--font-serif);
            font-size: clamp(1.75rem, 3.5vw, 2.75rem);
            font-weight: 300;
            line-height: 1.2;
            letter-spacing: 0;
            margin-bottom: var(--spacing-sm);
        }

        .section__desc {
            font-size: 1.0625rem;
            line-height: 1.75;
            color: var(--text-secondary);
        }

        .section__divider {
            height: 1px;
            background: var(--border);
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--spacing-xl);
        }

        /* ========== VIDEO GRID ========== */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-md);
        }

        @media (max-width: 1024px) {
            .video-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 768px) {
            .video-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-xs); }
        }

        .video-card {
        }

        .video-card__embed {
            position: relative;
            aspect-ratio: 16/10;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: #000;
        }

        .video-card__embed video,
        .video-card__embed iframe {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: none;
        }

        .video-card__embed .yt-placeholder {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-card__embed .yt-placeholder::after {
            content: '▶';
            font-size: 2.5rem;
            color: #fff;
            background: rgba(0,0,0,0.6);
            width: 60px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .video-card__embed .yt-placeholder:hover::after {
            background: rgba(255,0,0,0.85);
        }

        .video-card__info {
            padding-top: var(--spacing-xs);
        }

        .video-card__title {
            font-family: var(--font-serif);
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.125rem;
        }

        .video-card__desc {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        /* ========== ABOUT ========== */
        .about-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: var(--spacing-2xl);
            align-items: start;
        }

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

        .about-text p {
            font-size: 1.0625rem;
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: var(--spacing-md);
        }

        .about-text p strong {
            color: var(--text);
            font-weight: 600;
        }

        .about-quote {
            padding: var(--spacing-md) 0 var(--spacing-md) var(--spacing-md);
            border-left: 2px solid var(--text);
            margin: var(--spacing-xl) 0;
        }

        .about-quote p {
            font-family: var(--font-serif);
            font-size: 1.25rem;
            font-style: italic;
            line-height: 1.6;
            color: var(--text);
            margin: 0 !important;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--spacing-sm);
            margin-top: var(--spacing-xl);
        }

        .stat {
            padding: var(--spacing-md);
            background: var(--bg-alt);
            border-radius: var(--radius-sm);
        }

        .stat__number {
            font-family: var(--font-serif);
            font-size: 2rem;
            font-weight: 400;
        }

        .stat__label {
            font-size: 0.8125rem;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }

        .about-image {
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .about-image img { width: 100%; height: auto; }

        .about-image__caption {
            margin-top: var(--spacing-sm);
            font-size: 0.8125rem;
            color: var(--text-tertiary);
        }

        /* ========== WORKS ========== */
        .works-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-md);
        }

        @media (max-width: 1024px) {
            .works-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 640px) {
            .works-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-xs); }
        }

        .work-card {
            cursor: pointer;
        }

        .work-card__image {
            position: relative;
            aspect-ratio: 4/5;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--bg-alt);
        }

        .work-card__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s var(--ease-out-expo);
        }

        .work-card:hover .work-card__image img {
            transform: scale(1.05);
        }

        .work-card__info {
            padding-top: var(--spacing-xs);
        }

        .work-card__category {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: 0.25rem;
        }

        .work-card__title {
            font-family: var(--font-serif);
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 0.125rem;
        }

        .work-card__desc {
            font-size: 0.8125rem;
            color: var(--text-secondary);
        }

        /* ========== QUOTE ========== */
        .quote {
            padding: var(--spacing-3xl) 0;
            text-align: center;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .quote__mark {
            font-family: var(--font-serif);
            font-size: 5rem;
            font-style: italic;
            font-weight: 200;
            line-height: 1;
            color: var(--border);
            margin-bottom: -1.5rem;
        }

        .quote__text {
            font-family: var(--font-serif);
            font-size: clamp(1.25rem, 2.5vw, 1.875rem);
            font-style: italic;
            font-weight: 300;
            line-height: 1.5;
            color: var(--text);
            max-width: 700px;
            margin: 0 auto var(--spacing-md);
        }

        .quote__author {
            font-size: 0.8125rem;
            font-weight: 500;
            color: var(--text-tertiary);
        }

        /* ========== PHILOSOPHY ========== */
        .philosophy-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-md);
        }

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

        .philosophy-card {
            padding: var(--spacing-lg);
            background: var(--bg-alt);
            border-radius: var(--radius-md);
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s var(--ease-out-expo);
        }

        .philosophy-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .philosophy-card__num {
            font-family: var(--font-serif);
            font-size: 1.75rem;
            font-weight: 300;
            color: var(--border-strong);
            margin-bottom: var(--spacing-md);
        }

        .philosophy-card__title {
            font-family: var(--font-serif);
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: var(--spacing-sm);
        }

        .philosophy-card__text {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--text-secondary);
        }

        /* ========== EXHIBITIONS ========== */
        .exhibition-block {
            margin-bottom: var(--spacing-2xl);
        }

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

        .exhibition-block__header {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-lg);
            margin-bottom: var(--spacing-md);
            align-items: start;
        }

        @media (max-width: 768px) {
            .exhibition-block__header {
                grid-template-columns: 1fr;
                gap: var(--spacing-sm);
            }

            .exhibition-block {
                margin-bottom: var(--spacing-lg);
            }

            .exhibition-block__title {
                font-size: 1.25rem;
            }

            .exhibition-block__desc {
                font-size: 0.875rem;
            }

            .exhibition-block__stats {
                gap: var(--spacing-sm);
            }

            .exhibition-block__stat-num {
                font-size: 1.25rem;
            }
        }

        .exhibition-block__date {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: 0.375rem;
        }

        .exhibition-block__type {
            display: inline-block;
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--bg);
            background: var(--text);
            padding: 3px 10px;
            border-radius: var(--radius-full);
            margin-bottom: var(--spacing-xs);
        }

        .exhibition-block__title {
            font-family: var(--font-serif);
            font-size: clamp(1.25rem, 2.5vw, 1.75rem);
            font-weight: 400;
            line-height: 1.3;
            margin-bottom: var(--spacing-xs);
        }

        .exhibition-block__location {
            font-size: 0.875rem;
            color: var(--text-secondary);
            font-style: italic;
            margin-bottom: var(--spacing-sm);
        }

        .exhibition-block__desc {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--text-secondary);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            overflow: hidden;
        }

        .exhibition-block__desc.is-expanded {
            display: block;
            -webkit-line-clamp: unset;
            line-clamp: unset;
            overflow: visible;
        }

        .exhibition-block__toggle {
            display: none;
            align-items: center;
            gap: 0.4em;
            margin-top: 0.75em;
            background: none;
            border: none;
            padding: 0;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-primary);
            cursor: pointer;
        }

        .exhibition-block__open {
            display: flex;
            width: fit-content;
            margin-top: var(--spacing-md);
            padding: 0.7rem 1.4rem;
        }

        .exhibition-block__open span {
            transition: transform 0.3s var(--ease-out-expo);
        }

        .exhibition-block__open:hover span {
            transform: translateX(3px);
        }

        .exhibition-block__toggle.is-visible {
            display: inline-flex;
        }

        .exhibition-block__toggle-arrow {
            display: inline-block;
            transition: transform 0.25s var(--ease-out-expo);
        }

        .exhibition-block__toggle.is-open .exhibition-block__toggle-arrow {
            transform: rotate(180deg);
        }

        .exhibition-block__stats {
            display: flex;
            gap: var(--spacing-lg);
            margin-top: var(--spacing-md);
            flex-wrap: wrap;
        }

        .exhibition-block__stat {
            text-align: center;
        }

        .exhibition-block__stat-num {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 400;
            display: block;
        }

        .exhibition-block__stat-label {
            font-size: 0.75rem;
            color: var(--text-tertiary);
        }

        .exhibition-block__photos {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--spacing-xs);
        }

        .exhibition-block__photo {
            border-radius: var(--radius-sm);
            overflow: hidden;
            aspect-ratio: 4/3;
            background: var(--bg-alt);
        }

        .exhibition-block__photo:only-child {
            grid-column: 1 / -1;
            aspect-ratio: 16/9;
        }

        .exhibition-block__photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .exhibition-block__divider {
            height: 1px;
            background: var(--border);
            margin-top: var(--spacing-2xl);
        }

        /* ========== TECHNOLOGIES ========== */
        .tech-block {
            margin-bottom: var(--spacing-2xl);
        }

        .tech-block:last-child {
            margin-bottom: 0;
        }

        .tech-block__inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-lg);
            align-items: start;
        }

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

        .tech-block__num {
            font-family: var(--font-serif);
            font-size: 2rem;
            font-weight: 300;
            color: var(--border-strong);
            margin-bottom: var(--spacing-xs);
        }

        .tech-block__title {
            font-family: var(--font-serif);
            font-size: clamp(1.25rem, 2.5vw, 1.5rem);
            font-weight: 500;
            margin-bottom: var(--spacing-sm);
        }

        .tech-block__desc {
            font-size: 0.9375rem;
            line-height: 1.75;
            color: var(--text-secondary);
        }

        .tech-block__photos {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-xs);
        }

        @media (max-width: 768px) {
            .tech-block__photos { grid-template-columns: repeat(2, 1fr); }
        }

        .tech-block__photo {
            border-radius: var(--radius-sm);
            overflow: hidden;
            aspect-ratio: 4/3;
            background: var(--bg-alt);
        }

        @media (max-width: 768px) {
            .tech-block__photo { }

            .tech-block {
                margin-bottom: var(--spacing-lg);
            }

            .tech-block__num {
                font-size: 1.5rem;
            }

            .tech-block__title {
                font-size: 1.125rem;
            }

            .tech-block__desc {
                font-size: 0.875rem;
            }
        }

        .tech-block__photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tech-block__divider {
            height: 1px;
            background: var(--border);
            margin-top: var(--spacing-2xl);
        }

        /* ========== RESIDENCY ========== */
        .residency-banner {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: var(--spacing-lg);
            background: var(--bg-alt);
            border-radius: var(--radius-md);
            overflow: hidden;
            align-items: center;
        }

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

            .residency-banner__body {
                padding: var(--spacing-md);
            }
        }

        .residency-banner__image {
            overflow: hidden;
            aspect-ratio: 4/3;
        }

        .residency-banner__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .residency-banner__body {
            padding: var(--spacing-lg);
        }

        .residency-banner__title {
            font-family: var(--font-serif);
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: var(--spacing-xs);
        }

        .residency-banner__desc {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--text-secondary);
        }

        /* AI Content: the drawings the renders are generated from */
        .ai-source { max-width: 760px; margin-bottom: var(--spacing-xl); }
        .ai-source__text { font-size: 1.0625rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: var(--spacing-sm); }
        .ai-source__link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.8125rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text);
            border-bottom: 1px solid var(--text);
            padding-bottom: 2px;
            margin-bottom: var(--spacing-md);
        }
        .ai-source__link span { transition: transform 0.3s var(--ease-out-expo); }
        .ai-source__link:hover span { transform: translateX(3px); }
        .ai-source__drawings { display: flex; gap: var(--spacing-sm); max-width: 640px; }
        .ai-source__drawing { display: block; flex: var(--r) 1 0; aspect-ratio: var(--r); min-width: 0; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease; }
        .ai-source__drawing picture, .ai-source__drawing img { display: block; width: 100%; height: 100%; object-fit: cover; }
        .ai-source__drawing:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
        @media (max-width: 640px) {
            .ai-source__drawings { gap: var(--spacing-xs); }
        }

        /* ========== DRAWINGS ========== */
        /* Rows of drawings: each item's flex-grow and aspect-ratio equal its width/height (--r),
           so a row is filled edge to edge at one common height, uncropped. */
        .drawings__rows { display: flex; flex-direction: column; gap: var(--spacing-md); }
        .drawings__row { display: flex; gap: var(--spacing-md); }
        .drawings__row > .drawing,
        .drawings__row > a {
            display: block;
            flex: var(--r) 1 0;
            aspect-ratio: var(--r);
            min-width: 0;
        }
        .drawing { overflow: hidden; background: var(--bg-alt); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
        .drawing picture, .drawing img { display: block; width: 100%; height: 100%; object-fit: cover; }
        .drawing img { transition: transform 0.6s var(--ease-out-expo); }
        .drawing:hover img { transform: scale(1.03); }
        .drawings__more {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--spacing-sm);
            flex-wrap: wrap;
            margin-top: var(--spacing-lg);
        }
        .drawings__count { font-size: 0.8125rem; color: var(--text-tertiary); letter-spacing: 0.04em; }
        .drawings__more .btn span { transition: transform 0.3s var(--ease-out-expo); }
        .drawings__more .btn:hover span { transform: translateX(3px); }
        @media (max-width: 768px) {
            .drawings__rows, .drawings__row { gap: var(--spacing-sm); }
        }
        /* Phones: two drawings per line */
        @media (max-width: 640px) {
            .drawings__row { flex-wrap: wrap; align-items: flex-start; }
            .drawings__row > .drawing,
            .drawings__row > a { flex: var(--r) var(--r) calc(var(--r) * 40vw); aspect-ratio: var(--r); }
        }

        /* Drawings → AI Content */
        .drawings-ai {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--spacing-md) var(--spacing-xl);
            flex-wrap: wrap;
            margin-top: var(--spacing-xl);
            padding-top: var(--spacing-lg);
            border-top: 1px solid var(--border);
        }
        .drawings-ai__text { flex: 1 1 420px; max-width: 700px; font-size: 1.0625rem; line-height: 1.75; color: var(--text-secondary); margin: 0; }
        .drawings-ai__btn span { transition: transform 0.3s var(--ease-out-expo); }
        .drawings-ai__btn:hover span { transform: translateX(3px); }

        /* ========== GALLERY ========== */
        .gallery__grid {
            column-count: 4;
            column-gap: var(--spacing-xs);
        }

        @media (max-width: 1024px) {
            .gallery__grid { column-count: 3; }
        }

        @media (max-width: 768px) {
            .gallery__grid { column-count: 2; }
        }

        .gallery__grid > a,
        .gallery__grid > .gallery__item {
            display: block;
            break-inside: avoid;
            -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
            margin-bottom: var(--spacing-xs);
        }

        /* Gallery page: rows of only tall or only wide photos.
           Each link's flex-grow and aspect-ratio equal the photo's width/height (--r),
           so every row is filled edge to edge at one common height, uncropped. */
        .gallery__rows {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-xs);
        }

        .gallery__row {
            display: flex;
            gap: var(--spacing-xs);
        }

        .gallery__row > a,
        .gallery__row > .gallery__item {
            display: block;
            flex: var(--r) 1 0;
            aspect-ratio: var(--r);
            min-width: 0;
        }

        .gallery__row .gallery__item,
        .gallery__row picture,
        .gallery__row img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Phones: two photos per line, a leftover photo takes the full width */
        @media (max-width: 640px) {
            .gallery__row { flex-wrap: wrap; }
            .gallery__row > a,
            .gallery__row > .gallery__item {
                flex: 1 1 calc(50% - var(--spacing-xs));
                aspect-ratio: auto;
                height: 150px;
            }
            .gallery__row--tall > a,
            .gallery__row--tall > .gallery__item { height: 240px; }
        }

        .gallery__item {
            border-radius: var(--radius-sm);
            overflow: hidden;
            background: var(--bg-alt);
        }

        .gallery__item img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s var(--ease-out-expo);
        }

        .gallery__item:hover img { transform: scale(1.08); }

        /* ========== GALLERY CAPTIONS ========== */
        .gallery__item { position: relative; }
        .gallery__caption {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            padding: 1.6rem 0.65rem 0.5rem;
            font-family: var(--font-sans);
            font-size: 0.6875rem;
            line-height: 1.3;
            letter-spacing: 0.02em;
            color: #fff;
            background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            pointer-events: none;
            z-index: 1;
        }
        .gallery__caption span { opacity: 0.75; }
        @media (max-width: 640px) {
            .gallery__caption { font-size: 0.625rem; padding: 1.2rem 0.5rem 0.4rem; }
        }

        /* ========== GALLERY PHOTO PAGE: previous / next ========== */
        /* The photo scales fluidly with the window (pure CSS, no jumps):
           at most the container width and a share of the screen height;
           tall (portrait) photos get a lower height limit. */
        .photo-view {
            position: relative;
            width: fit-content;
            max-width: 100%;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        .photo-view picture { display: block; }
        .photo-view img {
            display: block;
            width: auto !important;
            max-width: 100%;
            height: auto;
            max-height: min(78vh, 820px);
            max-height: min(78svh, 820px);
            transition: max-height 0.35s ease, opacity 0.35s ease;
        }
        .photo-view.is-tall img { max-height: min(64vh, 680px); max-height: min(64svh, 680px); }
        .photo-extra img { max-height: min(64vh, 640px); max-height: min(64svh, 640px); width: 100% !important; object-fit: cover; }

        /* Arrows stay fixed in the lower corners of the screen
           (the right one sits above the 3D-portal corner) */
        .photo-view__arrow {
            position: fixed;
            bottom: 88px;
            z-index: 900;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(17,17,17,0.45);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.85;
            transition: background 0.2s, opacity 0.2s;
            -webkit-tap-highlight-color: transparent;
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
        }
        .photo-view__arrow:hover, .photo-view__arrow:focus-visible { background: rgba(17,17,17,0.75); opacity: 1; outline: none; }
        .photo-view__arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
        .photo-view__arrow--prev { left: 24px; }
        .photo-view__arrow--next { right: 24px; }

        .photo-nav {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: var(--spacing-sm);
            margin-top: var(--spacing-md);
            padding-top: var(--spacing-md);
            border-top: 1px solid var(--border);
        }
        .photo-nav__link { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--text); }
        .photo-nav__link--next { text-align: right; align-items: flex-end; }
        .photo-nav__dir { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); }
        .photo-nav__title { font-size: 0.9375rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .photo-nav__link:hover .photo-nav__title { text-decoration: underline; }
        .photo-nav__count { font-size: 0.8125rem; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }

        @media (max-width: 640px) {
            .photo-view img { max-height: min(70vh, 640px); max-height: min(70svh, 640px); }
            .photo-view.is-tall img { max-height: min(60vh, 560px); max-height: min(60svh, 560px); }
            .photo-view__arrow { width: 38px; height: 38px; bottom: 72px; background: rgba(17,17,17,0.32); }
            .photo-view__arrow svg { width: 18px; height: 18px; }
            .photo-view__arrow--prev { left: 12px; }
            .photo-view__arrow--next { right: 12px; }
            .photo-nav__title { display: none; }
        }

        /* ========== CONTACT ========== */
        .contact {
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-form {
            display: grid;
            gap: var(--spacing-md);
        }

        .contact-form__row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-md);
        }

        @media (max-width: 640px) {
            .contact-form__row { grid-template-columns: 1fr; }
        }

        .contact-form__label {
            display: block;
            font-size: 0.8125rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }

        .contact-form__input {
            width: 100%;
            padding: 0.875rem 1rem;
            background: var(--bg-alt);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: var(--font-sans);
            font-size: 16px; /* prevents iOS zoom */
            color: var(--text);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .contact-form__input:focus {
            outline: none;
            border-color: var(--text);
            box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
        }

        .contact-form__textarea {
            min-height: 160px;
            resize: vertical;
            line-height: 1.6;
        }

        .contact-form__submit {
            width: 100%;
            padding: 1rem;
            background: var(--text);
            color: var(--bg);
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .contact-form__submit:hover {
            background: var(--text-secondary);
            transform: translateY(-2px);
        }

        .contact-form__submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* ========== FOOTER ========== */
        .footer {
            padding: var(--spacing-xl) 0;
            border-top: 1px solid var(--border);
        }

        .footer__inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: var(--spacing-md);
        }

        @media (max-width: 768px) {
            .footer__inner {
                flex-direction: column;
                text-align: center;
            }
        }

        .footer__brand {
            font-family: var(--font-serif);
            font-size: 1rem;
            font-weight: 400;
        }

        .footer__nav {
            display: flex;
            gap: var(--spacing-lg);
        }

        .footer__link {
            font-size: 0.8125rem;
            color: var(--text-secondary);
            transition: color 0.3s ease;
        }

        .footer__link:hover { color: var(--text); }

        @media (max-width: 768px) {
            .footer__nav { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
        }

        .footer__instagram {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text);
            transition: opacity 0.3s ease;
        }
        .footer__instagram svg { width: 24px; height: 24px; flex-shrink: 0; display: block; }
        .footer__instagram:hover { opacity: 0.75; }
        .footer__email {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text);
            transition: opacity 0.3s ease;
        }
        .footer__email:hover { opacity: 0.75; }
        .footer__contacts {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem 1.75rem;
            margin-right: 136px; /* keep clear of the floating prism button */
        }
        @media (max-width: 768px) {
            .footer__contacts { margin-right: 0; }
        }

        .contact-email {
            display: inline-block;
            margin-top: var(--spacing-md);
            font-family: var(--font-serif);
            font-size: clamp(1.25rem, 2.4vw, 1.625rem);
            color: var(--text);
            border-bottom: 1px solid currentColor;
            transition: opacity 0.3s ease;
        }
        .contact-email:hover { opacity: 0.7; }


        .footer__copy {
            font-size: 0.75rem;
            color: var(--text-tertiary);
        }

        /* ========== SCROLL REVEAL ========== */
        .reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s var(--ease-out-expo);
        }

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

        /* On mobile: show content immediately, no waiting */
        @media (max-width: 768px) {
            .reveal,
            .video-card,
            .work-card,
            .philosophy-card,
            .exhibition-block,
            .tech-block {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }
        }

        /* ========== SCROLLBAR ========== */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg); }
        ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }
        /* Header with language switcher: keep links on one line and switch to the menu earlier */
        .header__link { white-space: nowrap; }
        @media (max-width: 1180px) {
            .header__nav { gap: var(--spacing-md); }
        }
        @media (max-width: 1024px) {
            .header__nav { display: none; }
            .header__menu-btn { display: block; }
        }

        /* "Works" is no longer in the top navigation (header and mobile menu); the footer keeps it */
        .header__link[href$="works/"],
        .mobile-nav__link[href$="works/"] { display: none; }
