
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* Respect user motion preferences */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #2c3e50;
            background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
            min-height: 100vh;
        }

        header {
            background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
            padding: 2rem 2rem 0.25rem;
            text-align: center;
        }

        .bold-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(2.5rem, 8vw, 10rem);
            line-height: 0.9;
            letter-spacing: 0.02em;
            margin-bottom: 1rem;
        }

        .bold-title .word {
            display: block;
        }

        .bold-title .word:nth-child(1) {
            background: linear-gradient(135deg, #ff6b6b, #ffa726);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .bold-title .word:nth-child(2) {
            background: linear-gradient(135deg, #42a5f5, #ab47bc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        header p {
            font-size: clamp(1rem, 2vw, 1.5rem);
            color: #7f8c8d;
            font-weight: 700;
            margin-top: 1rem;
        }
        
        /* Skip to main content link for accessibility */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: #667eea;
            color: #fff;
            padding: 8px;
            text-decoration: none;
            z-index: 100;
        }
        
        .skip-link:focus {
            top: 0;
        }

        .hero-banner {
            max-width: 1400px;
            margin: 0.25rem auto 1rem;
            padding: 0 2rem;
        }

        .anchor-nav {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            max-width: 1400px;
            margin: 1rem auto;
            padding: 0 2rem;
        }

        .anchor-link {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            text-decoration: none;
            font-weight: 700;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            border-radius: 12px;
            transition: all 0.3s;
            padding: 1rem 1.5rem;
            font-family: 'Inter', sans-serif;
            min-height: 60px;
            color: white;
        }
        
        .anchor-link:focus {
            outline: 3px solid #fff;
            outline-offset: 2px;
        }

        .anchor-link:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .anchor-link:nth-child(2) { background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%); }
        .anchor-link:nth-child(3) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .anchor-link:nth-child(4) { background: linear-gradient(135deg, #f5576c 0%, #ffa726 100%); }

        .anchor-link:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        .hero-container {
            position: relative;
            width: 100%;
            height: 425px;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 12px 48px rgba(0,0,0,0.15);
        }

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

        .hero-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            width: 90%;
            z-index: 2;
        }

        .hero-text h2 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(1.75rem, 6vw, 5rem);
            font-weight: 400;
            text-shadow: 0 4px 24px rgba(0,0,0,0.9);
            margin-bottom: 1rem;
            letter-spacing: 0.1em;
            line-height: 1;
        }

        .hero-text p {
            font-size: clamp(1rem, 2vw, 1.5rem);
            font-weight: 700;
            text-shadow: 0 2px 12px rgba(0,0,0,0.8);
        }

        .rainbow-nav {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1400px;
            margin: 1.5rem auto;
            padding: 0 2rem;
        }

        .rainbow-box {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            text-decoration: none;
            font-weight: 400;
            font-size: clamp(0.9rem, 1.8vw, 1.1rem);
            border-radius: 16px;
            transition: all 0.3s;
            padding: 1.5rem;
            font-family: 'Inter', sans-serif;
            min-height: 80px;
        }
        
        .rainbow-box:focus {
            outline: 3px solid #667eea;
            outline-offset: 2px;
        }

        .rainbow-box:nth-child(1) { background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(2) { background: linear-gradient(135deg, rgba(118, 75, 162, 0.85) 0%, rgba(240, 147, 251, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(3) { background: linear-gradient(135deg, rgba(240, 147, 251, 0.85) 0%, rgba(245, 87, 108, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(4) { background: linear-gradient(135deg, rgba(245, 87, 108, 0.85) 0%, rgba(255, 167, 38, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(5) { background: linear-gradient(135deg, rgba(255, 167, 38, 0.85) 0%, rgba(254, 225, 64, 0.85) 100%); color: #2c3e50; }
        .rainbow-box:nth-child(6) { background: linear-gradient(135deg, rgba(66, 165, 245, 0.85) 0%, rgba(102, 126, 234, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(7) { background: linear-gradient(135deg, rgba(102, 187, 106, 0.85) 0%, rgba(66, 165, 245, 0.85) 100%); color: white; }
        .rainbow-box:nth-child(8) { background: linear-gradient(135deg, rgba(38, 198, 218, 0.85) 0%, rgba(102, 187, 106, 0.85) 100%); color: white; }

        .rainbow-box:hover {
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 16px 48px rgba(0,0,0,0.2);
        }

        a.coming {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }
        
        span.coming {
            opacity: 0.5;
            cursor: not-allowed;
        }

        a.coming:hover {
            transform: none;
            box-shadow: none;
        }
        
        span.coming:hover {
            transform: none;
            box-shadow: none;
        }

        main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .callout-box {
            background: rgba(255, 255, 255, 0.85);
            color: #2c3e50;
            padding: 3rem;
            border-radius: 24px;
            margin: 1rem 0;
            box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
        }

        .callout-box h3 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .callout-box p {
            font-size: clamp(1rem, 1.8vw, 1.2rem);
            line-height: 1.6;
        }

        .callout-box a {
            color: #2c3e50;
            position: relative;
            display: inline-block;
            font-weight: 600;
            font-style: italic;
        }

        .callout-box a::after {
            content: '';
            position: absolute;
            left: -4px;
            right: -4px;
            bottom: -2px;
            height: 12px;
            background: blue;
            transform: skewX(-10deg) rotate(-1deg);
            z-index: -1;
        }

        p.callout {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(1.3rem, 2.5vw, 1.8rem);
            font-weight: 500;
            letter-spacing: 0.04em;
            margin: .8rem 0;
            border-bottom: 5px solid;
            border-image: linear-gradient(45deg, 
                #ff0000 0%, 
                #ff7f00 14%, 
                #ffff00 28%, 
                #00ff00 42%, 
                #00ffff 57%, 
                #0000ff 71%, 
                #8b00ff 85%, 
                #ff00ff 100%
            ) 1;
        }

        .featured-images {
            margin: 1rem 0;
        }

        .featured-images h3 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: .5rem;
            text-align: center;
            background: linear-gradient(135deg, #ff6b6b, #ffa726);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .layout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .layout-grid .featured-image:nth-child(1),
        .layout-grid .featured-image:nth-child(2) {
            grid-column: 1;
        }

        .layout-grid .featured-image:nth-child(3) {
            grid-column: 2;
            grid-row: 1 / span 2;
        }

        .layout-double {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-bottom: 2rem;
        }

        /* #about: text on left, image on right */
        #about.callout-box {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
        }

        .about-text {
            flex: 1 1 0;
            min-width: 0;
        }

        .about-text img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
            margin: 1rem 0;
        }

        .about-image {
            flex: 0 0 280px;
            width: 280px;
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        }

        /* #prints: first print full-width on top, then two images side by side */
        .prints-top {
            margin-bottom: 2rem;
        }

        .prints-bottom {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .layout-single {
            width: 100%;
            margin-bottom: 3rem;
        }

        .layout-three {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .layout-three .main-image {
            grid-row: 1 / 3;
        }

        .featured-image {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }

        .featured-image:hover {
            transform: scale(1.02);
        }

        .featured-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .featured-image .caption {
            padding: 1.5rem;

        }

        .featured-image .caption h4 {
            font-size: clamp(1.2rem, 2vw, 1.5rem);
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        .featured-image .caption p {
            color: #7f8c8d;
        }

        /* Filter Buttons */
        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.75rem 2rem;
            font-family: 'Inter', sans-serif;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            font-weight: 700;
            border: 3px solid #2c3e50;
            background: white;
            color: #2c3e50;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: capitalize;
            min-height: 44px;
            min-width: 44px;
        }
        
        .filter-btn:focus {
            outline: 3px solid #667eea;
            outline-offset: 2px;
        }

        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: #667eea;
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        }

        .masonry-grid {
            column-count: 4;
            column-gap: 2rem;
            margin-top: 1rem;
        }

        .masonry-item {
            display: inline-block;
            width: 100%;
            margin-bottom: 2rem;
            break-inside: avoid;
            overflow: visible;  /* Changed from hidden to allow label above */
            transition: all 0.3s ease;
            position: relative;
        }

        .masonry-item:hover {
            transform: translateY(-4px);
        }

        /* Rainbow gradient border - only applied when filtered */
        /* Apply border to img element, not container */
        .masonry-item.filtered img {
            border: 8px solid;
            border-image: linear-gradient(45deg, 
                #ff0000 0%, 
                #ff7f00 14%, 
                #ffff00 28%, 
                #00ff00 42%, 
                #00ffff 57%, 
                #0000ff 71%, 
                #8b00ff 85%, 
                #ff00ff 100%
            ) 1;
            border-radius: 16px;
            animation: highlightPulse 0.6s ease;
        }

        .masonry-item.highlight {
            animation: highlightPulse 0.6s ease;
        }

        @keyframes highlightPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
            50% { transform: scale(1.05); box-shadow: 0 12px 48px rgba(102, 126, 234, 0.4); }
        }

        .masonry-item img {
            max-width: 100%;
            height: auto;
            display: block;
            background-color: #f5f5f5; /* Placeholder color while loading */
        }
        
        /* Lazy loading fade-in effect */
        img[loading="lazy"] {
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        img[loading="lazy"].loaded {
            opacity: 1;
        }

        .masonry-item {
            position: relative;
            margin-bottom: 2.5rem;
        }

        .category-label {
            position: absolute;
            top: -2.5rem;
            left: 0;
            padding: 0.3rem 0.8rem;
            background: #f093fb;
            color: #000;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border: 2px solid #000;
            z-index: 10;  /* Added for proper stacking in Firefox */
        }

        .category-label::after {
            content: "▼";
            position: absolute;
            bottom: -1.5rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1.5rem;
            color: #f093fb;
            font-weight: 700;
        }

        .night-sky-heading {
            background: linear-gradient(135deg, #42a5f5, #667eea, #ab47bc) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        .uwt-gallery {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .uwt-row {
            display: grid;
            gap: 1rem;
        }

        .uwt-full {
            grid-template-columns: 1fr;
        }

        .uwt-two {
            grid-template-columns: 1fr 1fr;
        }

        .uwt-three {
            grid-template-columns: 1fr 1fr 1fr;
        }

        /* Row where the last image (free.jpeg, 276px natural width) must not upscale */
        .uwt-three-free {
            grid-template-columns: 1fr 1fr 276px;
        }

        .uwt-img-natural img {
            width: auto;
            max-width: 100%;
        }

        .uwt-img {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        }

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

        @media (max-width: 900px) {
            .uwt-two,
            .uwt-three,
            .uwt-three-free {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 600px) {
            .uwt-two,
            .uwt-three,
            .uwt-three-free {
                grid-template-columns: 1fr;
            }
        }

        footer {
            text-align: center;
            padding: 0rem 2rem;
            color: #7f8c8d;
            background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
            margin-top: 3rem;
            font-weight: 500;
        }
        
        footer a {
        color: #777777;
        }
        
        footer a:hover {
        color: blue;
        }

        @media (max-width: 1200px) {
            .masonry-grid { column-count: 3; }
            .layout-grid { 
                grid-template-columns: 1fr;
            }
            .layout-grid .featured-image:nth-child(1),
            .layout-grid .featured-image:nth-child(2),
            .layout-grid .featured-image:nth-child(3) {
                grid-column: 1;
                grid-row: auto;
            }
            .layout-double { grid-template-columns: 1fr; }
            .about-image { flex: 0 0 220px; width: 220px; }
        }

        @media (max-width: 900px) {
            .rainbow-nav { grid-template-columns: 1fr; }
            .anchor-nav { 
                grid-template-columns: 1fr; 
                gap: 1rem;
                padding: 0 1rem;
            }
            .masonry-grid { column-count: 2; }
            .hero-container { height: 280px; }
            .layout-three { grid-template-columns: 1fr; }
            .layout-three .main-image { grid-row: auto; }
            .callout-box { 
                margin: 1rem 0; 
                padding: 2rem;
            }
            .layout-grid { grid-template-columns: 1fr; }
            .layout-double { grid-template-columns: 1fr; }
            #about.callout-box { flex-direction: column; }
            .about-image { flex: none; width: 100%; }
            .prints-bottom { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .hero-container { height: 200px; }
            .rainbow-nav { grid-template-columns: 1fr; }
            .rainbow-box { 
                min-height: 70px; 
                padding: 1.25rem;
            }
            .masonry-grid { column-count: 1; }
            .callout-box { 
                padding: 1.5rem;
                margin: 0.75rem 0;
            }
            header, .hero-banner, .rainbow-nav, main, footer {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            p.callout { 
                margin: 0.6rem 0;
            }
        }
    