
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
    
    body {
        font-family: Arial, Helvetica, sans-serif;
        color: #111;
        background-color: #fff;
        line-height: 1.6;
    }
    
    header {
        position: sticky;
        top: 0;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.25rem;
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid #e9e9e9;
        backdrop-filter: blur(6px);
    }
    
    .brand {
        display: flex;
        align-items: center;
    }

    .brand img {
        height: 60px;
        width: auto;
        display: block;
    }
    
    nav ul {
        list-style: none;
        display: flex;
        gap: 2rem;
    }
    
    nav a {
        color: #111;
        text-decoration: none;
        position: relative;
    }
    
    nav a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 2px;
        background: #111;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }
    
    nav a:hover::after,
    nav a:focus::after {
        transform: scaleX(1);
    }
    
    .hero {
        min-height: 28vh;
        display: grid;
        place-items: center;
        padding: 3rem 1.25rem;
        background-color: #fff;
    }
    
    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        color: #555;
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
        line-height: 1.6;
        font-weight: 300;
    }

    .hero img {
        height: 400px;
        width: auto;
        display: block;
    }
    
    .section {
        padding: 3.5rem 1.25rem;
    }
    
    .sectionTitle {
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        margin-bottom: 1rem;
        position: relative;
        padding-top: 1rem;
    }
    
    .sectionTitle::before {
        content: "";
        display: block;
        width: 100%;
        max-width: 1200px;
        height: 2px;
        background: #111;
        margin: 0 auto 1rem;
    }
    
    .sectionNote {
        text-align: center;
        color: #666;
        margin-bottom: 1.5rem;
    }
    
    .narrow {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .galleryGrid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .galleryGrid figure {
        overflow: hidden;
        background: #eee;
    }
    
    .galleryGrid img {
        display: block;
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .galleryGrid figure:hover img {
        transform: scale(1.04);
    }

    footer {
        margin-top: 2rem;
        padding: 2rem 1.25rem;
        border-top: 1px solid #e9e9e9;
        text-align: center;
        color: #666;
    }

    .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.85);
            display: none; /* hidden by default */
            align-items: center;
            justify-content: center;
            padding: 2rem;
            z-index: 9999;
        }
        
        .lightbox.isOpen { 
            display: flex; 
        }
        
        .lightboxFigure {
            margin: 0;
            max-width: min(92vw, 1200px);
            max-height: 82vh;
            display: grid;
            gap: .75rem;
            justify-items: center;
        }
        
        .lightboxFigure img {
            max-width: 100%;
            max-height: 72vh;
            display: block;
            border-radius: 4px;
        }
        
        .lightboxFigure figcaption {
            color: #eee;
            font-size: .95rem;
            text-align: center;
        }
        
        .lightboxClose,
        .lightboxPrev,
        .lightboxNext {
            position: absolute;
            background: rgba(255,255,255,0.12);
            color: #fff;
            border: 0;
            width: 44px;
            height: 44px;
            border-radius: 999px;
            font-size: 1.6rem;
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: background .2s ease;
        }
        
        .lightboxClose { 
            top: 1rem; right: 1rem; 
        }
        .lightboxPrev { 
            left: 1rem; top: 50%; transform: translateY(-50%); 
        }
        .lightboxNext { 
            right: 1rem; top: 50%; transform: translateY(-50%); 
        }
        
        .lightboxClose:hover,
        .lightboxPrev:hover,
        .lightboxNext:hover { 
            background: rgba(255,255,255,0.2); 
        }
        
        /* Allow closing by clicking the backdrop (but not the figure) */
        .lightbox { 
            cursor: zoom-out; 
        }
        .lightboxFigure { 
            cursor: auto; 
        }

    .hamburger {
        display: none;
    }
    
    
    @media (max-width: 900px) {
        .galleryGrid {
        grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 620px) {
        .galleryGrid {
        grid-template-columns: 1fr;
        }
    
        .hero h1 {
        font-size: 2.2rem;
        }
    
        nav ul {
        gap: 1rem;
        }
    }

    @media (max-width: 768px) {
        .hero p {
            font-size: 1rem;
            padding: 0 1rem;
        }

        .hamburger {
            display: inline-flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 999; /* ensures it sits above nav */
        }

        .hamburger span {
            width: 26px;
            height: 3px;
            background-color: #111;
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        .hamburger.is-active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.is-active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.is-active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        #primaryNav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        #primaryNav.open {
            display: flex;
        }

        #primaryNav ul {
            flex-direction: column;
            width: 100%;
        }

        #primaryNav li {
            width: 100%;
            text-align: center;
        }

        #primaryNav a {
            display: block;
            padding: 1rem 0;
            width: 100%;
            text-decoration: none;
            color: #111;
        }

    }