:root {
    --purple-light: #c9a7eb;
    --purple-mid:   #7b3fa0;
    --purple-dark:  #2a0a3a;
    --near-black:   #0a0010;
    --text-primary: #f0e8ff;
    --text-dim:     #a989c5;
    --accent:       #d4a8ff;
    --nav-h: 70px;
    }

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

    html { scroll-behavior: smooth; }

    body {
    background: linear-gradient(160deg, #1a0a2e 0%, #0d0118 40%, #000008 100%);
    min-height: 100vh;
    color: var(--text-primary);
    font-family: 'Google Sans', sans-serif;
    font-weight: 200;
    overflow-x: hidden;
    }

    /* ── NOISE OVERLAY ── */
    body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: .6;
    }

    /* ── NAVBAR ── */
    nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: linear-gradient(to bottom, rgba(10,0,24,.92), rgba(10,0,24,0));
    backdrop-filter: blur(6px);
    }

    .nav-title {
    font-family: 'Google Sans', serif;
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: .35em;
    color: var(--accent);
    text-transform: uppercase;
    text-decoration: none;
    user-select: none;
    }

    /* Hamburger button */
    .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 200;
    }
    .hamburger span {
    display: block;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform .35s ease, opacity .25s ease, width .3s ease;
    transform-origin: center;
    }
    .hamburger span:nth-child(1) { width: 100%; }
    .hamburger span:nth-child(2) { width: 70%; margin-left: auto; }
    .hamburger span:nth-child(3) { width: 100%; }

    .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 100%; }
    .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    /* Dropdown menu */
    .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 100vw);
    height: 100vh;
    background: linear-gradient(135deg, rgba(42,10,58,.97) 0%, rgba(10,0,16,.99) 100%);
    border-left: 1px solid rgba(201,167,235,.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.77,0,.175,1);
    z-index: 150;
    }
    .nav-menu.open { transform: translateX(0); }

    .nav-menu a {
    font-family: 'Google Sans', serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: .08em;
    color: var(--text-dim);
    text-decoration: none;
    padding: .5rem 0;
    position: relative;
    transition: color .25s;
    }
    .nav-menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 4px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .35s ease;
    }
    .nav-menu a:hover { color: var(--accent); }
    .nav-menu a:hover::after { width: 100%; }

    /* Menu overlay */
    .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 140;
    }
    .overlay.active { opacity: 1; pointer-events: all; }

    /* ── HERO ── */
    .hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    }
    .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(123,63,160,.35) 0%, transparent 70%);
    pointer-events: none;
    }
    .hero h1 {
    font-family: 'Google Sans', serif;
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 300;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1;
    animation: fadeUp .9s ease both;
    }
    .hero-sub {
    margin-top: 1.2rem;
    font-size: clamp(.75rem, 1.5vw, .95rem);
    letter-spacing: .45em;
    color: var(--text-dim);
    text-transform: uppercase;
    animation: fadeUp .9s .2s ease both;
    }
    .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--text-dim);
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    animation: fadeUp .9s .5s ease both;
    }
    .scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--purple-mid), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
    }

    @keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
    }

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

    /* ── SECTION LABEL ── */
    .section-label {
    text-align: center;
    padding: 4rem 1rem 2rem;
    position: relative;
    z-index: 1;
    }
    .section-label h2 {
    font-family: 'Google Sans', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-primary);
    }
    .section-label .rule {
    margin: 1rem auto 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    }

    /* ── GALLERY GRID ── */
    .gallery {
    display: grid;
    gap: 4px;
    padding: 0 4px;
    position: relative;
    z-index: 1;
    }

    /* Desktop: 3 columns */
    @media (min-width: 768px) {
    .gallery {
      grid-template-columns: repeat(3, 1fr);
      padding: 0 2rem;
      gap: 6px;
    }
    }

    /* Mobile: 1 column, each card fills screen width */
    @media (max-width: 767px) {
    .gallery {
      grid-template-columns: 1fr;
      gap: 2px;
      padding: 0;
    }
    }

    /* Photo card */
    .photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: rgba(201,167,235,.06);
    cursor: pointer;
    }

    @media (max-width: 767px) {
    .photo-card {
      aspect-ratio: auto;
      height: 100vw; /* square on mobile */
    }
    }

    .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.9) saturate(.85);
    transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .6s ease;
    }
    .photo-card:hover img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.1);
    }

    /* Placeholder when no real image */
    .photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--text-dim);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: transform .6s ease;
    }
    .photo-card:hover .photo-placeholder { transform: scale(1.03); }
    .photo-placeholder svg {
    width: 36px; height: 36px;
    opacity: .35;
    }

    /* Overlay caption */
    .card-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1.2rem .9rem;
    background: linear-gradient(to top, rgba(5,0,12,.85) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform .4s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    }
    .photo-card:hover .card-caption { transform: translateY(0); }
    .card-caption span {
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--text-dim);
    text-transform: uppercase;
    }
    .card-caption em {
    font-family: 'Google Sans', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--accent);
    }

    /* Gradient tint on card bg */
    .card-bg-1 { background: linear-gradient(135deg, #1a0832 0%, #0d0020 100%); }
    .card-bg-2 { background: linear-gradient(135deg, #0f0520 0%, #180a28 100%); }
    .card-bg-3 { background: linear-gradient(135deg, #200935 0%, #0a0015 100%); }

    /* ── FOOTER ── */
    footer {
    margin-top: 6rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(201,167,235,.1);
    background: linear-gradient(to bottom, transparent, rgba(5,0,12,.8));
    padding: 4rem 2.5rem 3rem;
    }

    .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    }

    @media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    }

    .footer-col h3 {
    font-family: 'Google Sans', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    }
    .footer-col p, .footer-col a {
    font-size: .78rem;
    line-height: 1.85;
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    transition: color .2s;
    }
    .footer-col a:hover { color: var(--text-primary); }

    .footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201,167,235,.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    }
    .footer-bottom p {
    font-size: .68rem;
    letter-spacing: .15em;
    color: rgba(169,137,197,.4);
    text-transform: uppercase;
    }