/* ═══════════════════════════════════════════
   APERTURE & INDIGO ART GALLERY — CSS
   Modern, artsy, award-winning design
   ═══════════════════════════════════════════ */

:root {
    /* — Color Palette — */
    --color-bg-deep: #050510;
    --color-bg-dark: #0a0e27;
    --color-bg-charcoal: #12121e;
    --color-bg-surface: #1a1a2e;

    --color-gradient-start: #0a0e27;
    --color-gradient-mid: #1a1a40;
    --color-gradient-end: #2d1b69;
    --color-gradient-accent: #4a148c;

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #6a6a7a;

    --color-accent: #b388ff;
    --color-accent-soft: rgba(179, 136, 255, 0.15);
    --color-accent-glow: rgba(179, 136, 255, 0.4);

    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.08);

    /* — Typography — */
    --font-display: 'Playfair Display', 'Bodoni Moda', 'Didot', serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', 'Satoshi', system-ui, sans-serif;

    /* — Spacing — */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;

    /* — Transitions — */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-dramatic: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Global Reset ── */
*, *::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;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-deep);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

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

/* ── Noise Overlay ── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Navigation ── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--space-lg);
    transition: background 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.main-nav.scrolled {
    background: rgba(10, 14, 39, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.nav-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-accent-soft), transparent);
    transition: left 0.5s var(--ease-smooth);
}

.nav-cta:hover {
    background: var(--color-accent-soft);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.nav-cta:hover::before {
    left: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all 0.3s var(--ease-smooth);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg-surface);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 6rem var(--space-md) var(--space-md);
    gap: var(--space-sm);
    transition: right 0.4s var(--ease-out-expo);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

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

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-glass-border);
    transition: color 0.3s var(--ease-smooth), padding-left 0.3s var(--ease-smooth);
}

.mobile-link:hover {
    color: var(--color-accent);
    padding-left: 1rem;
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--space-xxl) var(--space-lg) var(--space-xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-mid) 40%, var(--color-gradient-end) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(179, 136, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(74, 20, 140, 0.12) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--color-bg-charcoal), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-md);
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s var(--ease-smooth);
}

.hero-frame:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) scale(1.02);
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-glow {
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-accent-glow), transparent 50%);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
}

.floating-tag {
    position: absolute;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    color: var(--color-text-secondary);
    animation: float 6s ease-in-out infinite;
}

.tag-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.tag-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-gradient-accent));
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px rgba(179, 136, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(179, 136, 255, 0.4);
}

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

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

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

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-full {
    width: 100%;
}

/* ── Section Labels / Titles ── */
.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 500px;
}

/* ── Slanted Section Dividers ── */
.slant-top,
.slant-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.slant-top {
    top: -1px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
    background: var(--color-bg-charcoal);
}

.slant-bottom {
    bottom: -1px;
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
    background: var(--color-bg-charcoal);
}

.slant-dark {
    background: var(--color-bg-charcoal);
}

.slant-light {
    background: var(--color-gradient-end);
}

/* ── Manifesto Section ── */
.manifesto {
    position: relative;
    background: var(--color-bg-charcoal);
    padding: var(--space-xxl) var(--space-lg);
}

.manifesto-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.manifesto-quote {
    grid-column: 1 / 3;
}

.manifesto-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.manifesto-quote cite {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-style: normal;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.manifesto-body {
    grid-column: 1 / 3;
    max-width: 540px;
}

.manifesto-body p {
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.manifesto-image {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    justify-self: center;
}

.tilt-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--ease-smooth);
    transform-style: preserve-3d;
}

.tilt-card img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--ease-smooth);
}

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

/* ── Walkthrough / Parallax Exhibition ── */
.walkthrough {
    position: relative;
    padding: var(--space-xxl) 0;
    background: var(--color-bg-deep);
}

.walkthrough-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-lg);
}

.walkthrough-container {
    position: relative;
    height: 350vh;
}

.walkthrough-track {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    will-change: transform;
}

.walkthrough-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
    pointer-events: none;
    will-change: transform, opacity;
}

.walkthrough-scene:first-child {
    opacity: 1;
    pointer-events: all;
}

.scene-bg {
    position: absolute;
    inset: -5%;
    z-index: 0;
    will-change: transform;
}

.scene-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.8);
    transform: scale(1.08);
}

.scene-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 20%, var(--color-bg-deep) 70%),
        linear-gradient(to bottom, var(--color-bg-deep) 0%, transparent 25%, transparent 75%, var(--color-bg-deep) 100%);
}

.scene-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.scene-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.2;
    margin-bottom: var(--space-sm);
}

.scene-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.scene-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.walkthrough-progress {
    position: fixed;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--color-glass-border);
    border-radius: 2px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.walkthrough-progress.visible {
    opacity: 1;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* ── Gallery Section ── */
.gallery {
    position: relative;
    background: var(--color-bg-charcoal);
    padding: var(--space-xxl) var(--space-lg) var(--space-xl);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(4) {
    aspect-ratio: 3/4;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) {
    aspect-ratio: 4/3;
}

.card-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.card-frame:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-accent-glow);
}

.card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth), filter 0.4s var(--ease-smooth);
}

.card-frame:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(5, 5, 16, 0.9) 0%, transparent 60%);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.card-frame:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.card-category {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.card-artist {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 300;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    pointer-events: none;
}

.card-frame:hover .card-glow {
    border-color: var(--color-accent-glow);
    box-shadow: inset 0 0 20px var(--color-accent-soft);
}

.gallery-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ── Artists Section ── */
.artists {
    position: relative;
    padding: var(--space-xxl) var(--space-lg);
    background: linear-gradient(180deg, var(--color-bg-charcoal) 0%, var(--color-bg-dark) 100%);
}

.artists-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.artist-card {
    text-align: center;
}

.artist-portrait {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
    aspect-ratio: 4/5;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.artist-portrait:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--color-accent-glow);
}

.artist-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.artist-portrait:hover img {
    transform: scale(1.05);
}

.portrait-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-charcoal) 0%, transparent 50%);
    opacity: 0.6;
    transition: opacity 0.3s var(--ease-smooth);
}

.artist-portrait:hover .portrait-shade {
    opacity: 0.8;
}

.artist-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.artist-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.artist-bio {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ── Visit / Contact Section ── */
.visit {
    position: relative;
    background: var(--color-bg-deep);
    padding: var(--space-xxl) var(--space-lg);
}

.visit-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.visit-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 420px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.detail-value {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 400;
}

.glass-panel {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.visit-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    padding: 1rem 1rem 0.75rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent-glow);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.2s var(--ease-smooth);
    background: transparent;
    padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.7rem;
    color: var(--color-accent);
    background: var(--color-bg-surface);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
}

.form-success.visible {
    display: flex;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    border: 1px solid var(--color-accent-glow);
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.form-success p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 320px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Footer ── */
.site-footer {
    background: var(--color-bg-charcoal);
    border-top: 1px solid var(--color-glass-border);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 260px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.footer-col a {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease-smooth), padding-left 0.3s var(--ease-smooth);
}

.footer-col a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* ── Character Reveal Animation ── */
.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: charReveal 0.6s var(--ease-out-expo) forwards;
}

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

/* ── Fade Up Animation ── */
[data-fade-up] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-fade-up].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-visual {
        order: -1;
    }

    .hero-frame {
        max-width: 320px;
        transform: none;
    }

    .manifesto-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .manifesto-quote,
    .manifesto-body,
    .manifesto-image {
        grid-column: auto;
        grid-row: auto;
    }

    .manifesto-image {
        justify-self: center;
        max-width: 350px;
    }

    .visit-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Lightbox ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-smooth);
    cursor: zoom-out;
    padding: var(--space-lg);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.35s var(--ease-out-expo);
}

.lightbox.active img {
    transform: scale(1);
}

/* ── Collection Modal ── */
.collection-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-smooth);
}

.collection-modal.active {
    opacity: 1;
    pointer-events: all;
}

.collection-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.collection-modal-inner {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1200px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.collection-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.collection-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.collection-preview {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.collection-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s var(--ease-smooth);
}

.collection-strip {
    flex: 0 0 auto;
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-sm) 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.collection-strip::-webkit-scrollbar {
    height: 6px;
}

.collection-strip::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

.collection-thumb {
    flex: 0 0 auto;
    width: 160px;
    height: 110px;
    cursor: pointer;
}

.collection-thumb .card-frame {
    width: 100%;
    height: 100%;
}

.collection-thumb.active .card-frame {
    border-color: var(--color-accent-glow);
    box-shadow: inset 0 0 20px var(--color-accent-soft), 0 0 0 2px var(--color-accent);
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        padding: 1rem var(--space-md);
    }

    .hero {
        padding: 8rem var(--space-md) var(--space-xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .artists-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .walkthrough-container {
        height: auto;
    }

    .walkthrough-track {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: var(--space-lg);
    }

    .walkthrough-scene {
        position: relative;
        opacity: 1;
        pointer-events: all;
        min-height: 80vh;
    }

    .scene-bg {
        inset: -2%;
    }

    .scene-bg img {
        transform: scale(1.04);
    }

    .walkthrough-progress {
        display: none;
    }

    .gallery-cta {
        margin-top: var(--space-lg);
    }

    .visit {
        padding: var(--space-xl) var(--space-md);
    }

    .manifesto {
        padding: var(--space-xl) var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .collection-modal-inner {
        width: 95vw;
        height: 90vh;
    }

    .collection-thumb {
        width: 120px;
        height: 85px;
    }
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .char-reveal .char {
        opacity: 1;
        transform: none;
    }

    [data-fade-up] {
        opacity: 1;
        transform: none;
    }
}
