:root {
    --bg-deep: #080808;
    --bg-surface: #111111;
    --bg-elevated: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #6b6b6b;
    --accent: #d4b87a;
    --accent-subtle: #d4b87a20;
    --border-subtle: #ffffff0a;
    --border-medium: #ffffff12;
    --overlay-bg: #000000f2;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nav-height: 64px;
    --container-max: 1400px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    cursor: default;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: transparent;
    transition: background 0.5s var(--transition-smooth), opacity 0.6s, transform 0.6s;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
}
.navbar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.navbar.scrolled {
    background: #080808e6;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}
.navbar-brand:hover { color: var(--accent); }
.navbar-nav {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.navbar-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s;
}
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--transition-smooth);
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    z-index: 1001;
}
.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}

/* SPLASH */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    background: var(--bg-deep);
    transition: opacity 0.7s, visibility 0.7s;
    opacity: 1;
    visibility: visible;
}
.splash.dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.splash-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--transition-smooth);
    filter: brightness(0.85) contrast(1.05);
}
.splash-left:hover img { transform: scale(1.06); }
.splash-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, #080808 100%);
    pointer-events: none;
    z-index: 1;
}
.splash-left .overlay-protect {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    pointer-events: auto;
}
.splash-right {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    background: var(--bg-deep);
    z-index: 3;
}
.splash-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.splash-tagline em { font-style: italic; color: var(--accent); }
.splash-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 380px;
}
.splash-social {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.splash-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.35s;
}
.splash-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px #00000040;
}
.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    align-self: flex-start;
    transition: all 0.45s;
}
.btn-enter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s;
    z-index: 0;
}
.btn-enter:hover::before { transform: scaleX(1); }
.btn-enter:hover {
    color: var(--bg-deep);
    letter-spacing: 0.16em;
    box-shadow: 0 0 40px #ffffff15;
}
.btn-enter span { position: relative; z-index: 1; }
.btn-enter .arrow {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.35s var(--transition-bounce);
}
.btn-enter:hover .arrow { transform: translateX(6px); }

/* MAIN CONTENT */
.main-content { padding-top: var(--nav-height); }

/* GALLERY */
.section-gallery {
    padding: 2rem 1.5rem 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}
.section-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}
.masonry-grid {
    column-count: 4;
    column-gap: 1.25rem;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-surface);
    transition: transform 0.5s, box-shadow 0.5s;
    opacity: 0;
    transform: translateY(30px);
}
.gallery-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px #00000060;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: brightness(0.9);
    transition: filter 0.5s, transform 0.5s;
}
.gallery-item:hover img {
    filter: brightness(1.05);
    transform: scale(1.03);
}
.img-protect-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    cursor: pointer;
}
.gallery-item .item-number {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 4;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffffcc;
    background: #00000060;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .item-number { opacity: 1; }

/* ---------- ABOUT SECTION ---------- */
.section-about {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 5rem;    /* reduced top padding to bring text up */
    border-top: 1px solid var(--border-subtle);
}
.section-eyebrow {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}
.section-about h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.section-rule {
    width: 56px;
    height: 1px;
    margin: 2rem auto 2.5rem;
    background: var(--accent);
    opacity: 0.55;
}
.about-copy {
    max-width: 680px;
    margin: 0 auto;
}
.about-copy p {
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
}
.about-copy p:last-child {
    margin-bottom: 0;
}
.about-accent {
    color: var(--accent);
    font-style: italic;
}

/* ---------- CONTACT SECTION ---------- */
.section-contact {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 2rem;
    border-top: 1px solid var(--border-subtle);
}
.contact-heading,
.contact-subheading {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
}
.contact-heading {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}
.contact-subheading {
    margin-top: 0.25rem;
    color: var(--text-primary);
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-style: italic;
}
.section-contact p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}
.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.contact-email {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.contact-email:hover {
    color: #e0c68c;
    border-bottom-color: var(--accent);
}
.contact-social-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}
.contact-social-row a {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s, letter-spacing 0.3s;
}
.contact-social-row a:hover {
    color: var(--accent);
    letter-spacing: 0.22em;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    touch-action: none;
    overscroll-behavior: contain;
    transition: opacity 0.4s, visibility 0.4s, background 0.25s ease;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    touch-action: none;
}
.lightbox-content.swiping {
    transition: none;
}

.lightbox-content.animate-back {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 30px 80px #00000080;
}
.lightbox-content .img-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}
.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 10001;
    background: #ffffff10;
    border: 1px solid #ffffff20;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}
.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}
.lightbox-close:hover { background: #ffffff25; transform: rotate(90deg); }
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
}
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }
.lightbox-nav:hover { background: #ffffff25; box-shadow: 0 8px 30px #00000050; }
.lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #ffffff90;
    pointer-events: none;
}
.site-footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    border-top: 1px solid var(--border-subtle);
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 60px;
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, color 0.3s, border-color 0.3s;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
    white-space: nowrap;
    min-width: 180px;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.back-to-top svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .masonry-grid { column-count: 3; column-gap: 1rem; }
    .gallery-item { margin-bottom: 1rem; }
    .splash-right { flex: 0 0 400px; padding: 2.5rem; }
    .splash-tagline { font-size: 2.2rem; }
}
@media (max-width: 900px) {
    .splash { flex-direction: column; }
    .splash-left { flex: 0 0 45vh; min-height: 300px; }
    .splash-left::after { background: linear-gradient(to bottom, transparent 50%, #080808 100%); }
    .splash-right { flex: 1; padding: 2rem 1.8rem; justify-content: flex-start; text-align: center; align-items: center; }
    .splash-tagline { font-size: 1.8rem; }
    .splash-subtitle { text-align: center; max-width: 100%; }
    .btn-enter { align-self: center; }
    .masonry-grid { column-count: 2; column-gap: 0.75rem; }
    .gallery-item { margin-bottom: 0.75rem; }
    .navbar { padding: 0 1.2rem; }
    .navbar-nav { gap: 1.5rem; }
    .section-gallery { padding: 1.5rem 0.8rem 3rem; }
    .section-about,
    .section-contact { padding: 4.5rem 1.5rem; }
}
@media (max-width: 540px) {
    .splash-left { flex: 0 0 35vh; min-height: 220px; }
    .splash-right { padding: 1.5rem 1.2rem; }
    .splash-tagline { font-size: 1.5rem; }
    .splash-subtitle { font-size: 0.8rem; margin-bottom: 1.8rem; }
    .splash-social { gap: 1rem; margin-bottom: 2rem; }
    .splash-social a { width: 38px; height: 38px; }
    .btn-enter { padding: 0.8rem 1.8rem; font-size: 0.72rem; }
    .masonry-grid { column-count: 1; }
    .gallery-item { margin-bottom: 0.6rem; border-radius: var(--radius-sm); }
    .navbar-nav { gap: 1rem; }
    .navbar-nav a { font-size: 0.7rem; }
    .navbar-brand { font-size: 1.1rem; }
    .navbar { padding: 0 0.8rem; }
    .section-gallery { padding: 1rem 0.4rem 2rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-about h2 { font-size: 2rem; }
    .about-copy p,
    .section-contact p { font-size: 0.88rem; line-height: 1.8; }
    .contact-heading,
    .contact-subheading { font-size: 2.25rem; }
    .contact-email { font-size: 1.1rem; }
    .section-rule { margin-top: 1.5rem; margin-bottom: 2rem; }
    .lightbox-content { max-width: 95vw; max-height: 75vh; }
    .lightbox-close { top: 0.8rem; right: 0.8rem; width: 36px; height: 36px; }
    .lightbox-nav { width: 34px; height: 34px; }
    .lightbox-nav.prev { left: 0.4rem; }
    .lightbox-nav.next { right: 0.4rem; }
    .back-to-top {
        bottom: 16px;
        padding: 12px 24px;
        font-size: 0.72rem;
        gap: 6px;
        min-width: auto;
        border-radius: 40px;
    }
    .back-to-top svg { width: 14px; height: 14px; }
}
@media (max-width: 380px) {
    .splash-tagline { font-size: 1.3rem; }
    .splash-subtitle { font-size: 0.72rem; }
    .btn-enter { padding: 0.7rem 1.4rem; font-size: 0.68rem; }
    .navbar-nav { gap: 0.7rem; }
    .navbar-nav a { font-size: 0.65rem; }
    .lightbox-nav { width: 30px; height: 30px; font-size: 0.95rem; }
    .lightbox-nav.prev { left: 0.25rem; }
    .lightbox-nav.next { right: 0.25rem; }  
}

/* Invisible edge guards — absorb Android back-gesture swipes while lightbox is open */
.lightbox::before,
.lightbox::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 25px;
    z-index: 1;
    background: transparent;
    pointer-events: auto;
    touch-action: none;
}
.lightbox::before { left: 0; }
.lightbox::after  { right: 0; }