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

        :root {
            --primary-navy: #1e3d6f;
            --primary-blue: #2c5aa0;
            --primary-cyan: #06b6d4;
            --accent-cyan: #4fc3f7;
            --accent-orange: #f39c12;
            --accent-green: #10b981;
            --text-dark: #2d2d2d;
            --text-light: #555;
            --background-light: #f8f9fa;
            --background-white: #ffffff;
            --border-light: #e5e7eb;
            --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
            --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
        }

        [data-theme="dark"] {
            --primary-navy: #4fc3f7;
            --primary-blue: #3b82f6;
            --primary-cyan: #22d3ee;
            --text-dark: #f0f0f0;
            --text-light: #d0d0d0;
            --background-light: #1a1a1a;
            --background-white: #2d2d2d;
            --border-light: #374151;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--background-white);
        }

        .container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

        /* ===== HERO ===== */
        .hero {
            background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
            color: white;
            padding: 3rem 0 2.5rem;
            text-align: center;
        }
        .hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.75rem; }
        .hero p { opacity: 0.92; max-width: 720px; margin: 0 auto; font-size: clamp(1rem, 2vw, 1.15rem); }

        /* ===== SECTION HEADER ===== */
        .symposium-section { padding: 3rem 0; }
        .symposium-section:nth-child(even) { background: var(--background-light); }

        .symposium-section h2 {
            font-size: clamp(1.4rem, 3vw, 1.9rem);
            color: var(--primary-navy);
            margin-bottom: 0.4rem;
        }
        [data-theme="dark"] .symposium-section h2 { color: var(--primary-cyan); }

        .section-meta {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        /* ===== PIXIESET-STYLE MASONRY (CSS COLUMNS) ===== */
        .photo-grid {
            column-count: 4;
            column-gap: 12px;
            margin-top: 1.5rem;
        }

        @media (max-width: 1100px) { .photo-grid { column-count: 3; } }
        @media (max-width: 800px)  { .photo-grid { column-count: 2; } }
        @media (max-width: 520px)  { .photo-grid { column-count: 1; } }

        /* No-op legacy classes — column layout creates rhythm via natural aspect ratios */
        .photo-grid.tall, .photo-grid.normal { }

        .photo-tile {
            position: relative;
            display: block;
            overflow: hidden;
            border-radius: 8px;
            cursor: zoom-in;
            margin: 0 0 12px;
            break-inside: avoid;
            -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .photo-tile:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        /* Legacy span classes — no longer meaningful under column layout */
        .photo-tile.span-2-rows, .photo-tile.span-2-cols { }

        .photo-tile img {
            width: 100%;
            height: auto;
            display: block;
        }

        .photo-tile .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 1rem 0.85rem 0.7rem;
            font-size: 0.8rem;
            font-weight: 500;
            opacity: 0;
            transform: translateY(20%);
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: none;
        }

        .photo-tile:hover .caption {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== EMPTY STATE / GROWING NOTICE ===== */
        .growing-notice {
            column-span: all;
            -webkit-column-span: all;
            break-inside: avoid;
            display: block;
            border: 2px dashed var(--border-light);
            border-radius: 12px;
            padding: 2.5rem 2rem;
            margin-bottom: 12px;
            text-align: center;
            color: var(--text-light);
        }

        .growing-notice h3 {
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .growing-notice a {
            color: var(--primary-blue);
            font-weight: 600;
        }

        /* ===== INTRO BAR (about the gallery) ===== */
        .intro-bar {
            background: var(--background-light);
            border-bottom: 1px solid var(--border-light);
            padding: 1.5rem 0;
        }
        .intro-bar .container {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: center;
            justify-content: space-between;
            font-size: 0.92rem;
            color: var(--text-light);
        }
        .intro-bar strong { color: var(--text-dark); }

        /* ===== LIGHTBOX ===== */
        .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.92);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 2rem;
            cursor: zoom-out;
        }
        .lightbox.open { display: flex; }
        .lightbox img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 4px;
        }
        .lightbox-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255,255,255,0.15);
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .lightbox-close:hover { background: rgba(255,255,255,0.3); }

        /* ===== FOOTER ===== */
        .footer { background: var(--primary-navy); color: white; padding: 3rem 0 1rem; margin-top: 4rem; }
        .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
        .footer-section h3, .footer-section h4 { color: var(--accent-cyan); margin-bottom: 1rem; }
        .footer-section ul { list-style: none; }
        .footer-section ul li { margin-bottom: 0.5rem; }
        .footer-section a { color: white; text-decoration: none; opacity: 0.85; }
        .footer-section a:hover { opacity: 1; }
        .footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); opacity: 0.8; font-size: 0.9rem; }

        @media (max-width: 800px) { .footer-content { grid-template-columns: 1fr; text-align: center; } }
