* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

html.lock,
body.lock {
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #ff6a9b, #b43b9b, #4a2c7f);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

body.blur-on .wrapper {
    filter: blur(10px);
    transition: filter 0.25s ease;
}

a {
    text-decoration: none;
    color: #fff;
}

img {
    width: 100%;
    height: 100%;
    display: block;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    transition: filter 0.25s ease;
}

header {
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffeb3b;
}

.menu-btn {
    display: none;
    background: #ff6a9b;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.page-wrap {
    position: relative;
}

.box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.hero,
.photo-hero {
    min-height: 58vh;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
    padding: 42px;
    margin-bottom: 30px;
}

.hero-left,
.photo-hero-left,
.photo-hero-right {
    min-width: 0;
}

.hero-right,
.photo-hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-hero-right {
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3.2rem, 7vw, 6rem);
    margin-bottom: 20px;
    line-height: 0.95;
}

.page-text h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.8rem);
    margin-bottom: 20px;
    line-height: 0.95;
}

.hero-text p,
.page-text p {
    font-size: 1.05rem;
    max-width: 620px;
    margin-bottom: 25px;
}

.hero-swap,
.photo-hero-swap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 4.6;
    height: auto;
    overflow: hidden;
}

.hero-swap img {
    object-fit: cover;
}

.photo-hero-swap img {
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
}

.btn {
    display: inline-block;
    background-color: #ff6a9b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background-color: #e54a79;
}

.about {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 28px;
    align-items: start;
}

.art-about {
    grid-template-columns: 0.9fr 1.1fr;
}

.text,
.page {
    padding: 28px;
    margin-bottom: 22px;
}

.text h2,
.page h1,
.title h2 {
    margin-bottom: 12px;
}

.side-stack {
    display: grid;
    gap: 18px;
}

.camera-pic,
.group-pic {
    height: 280px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.camera-pic img,
.group-pic img {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.camera-pic:hover,
.group-pic:hover {
    transform: scale(1.02);
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: start;
}

.small-pic {
    height: 260px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.small-pic img {
    object-fit: cover;
}

.small-pic:hover {
    transform: scale(1.03);
}

.swap {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.swap:hover {
    transform: scale(1.02);
}

.swap img {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.swap .img-a {
    opacity: 1;
}

.swap .img-b {
    opacity: 0;
}

.swap:hover .img-a {
    opacity: 0;
    transform: scale(1.05);
}

.swap:hover .img-b {
    opacity: 1;
    transform: scale(1.05);
}

.card-img {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.title {
    margin: 16px 0 20px;
    text-align: center;
}

.home-grid,
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.item {
    display: block;
    padding: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.item h3 {
    margin: 14px 0 8px;
}

.spline {
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
}

.spline spline-viewer {
    width: 100%;
    height: 420px;
    display: block;
    border-radius: 20px;
}

.photo-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 24px;
}

.jump {
    padding: 14px 18px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.jump:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.08);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.small-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.shot {
    overflow: hidden;
    height: 190px;
    padding: 10px;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shot:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 7, 20, 0.74);
    backdrop-filter: blur(10px);
}

.lightbox-wrap {
    position: relative;
    z-index: 2;
    width: min(1100px, 92vw);
    height: min(86vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox.show .lightbox-wrap {
    transform: scale(1);
    opacity: 1;
}

.lightbox-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 22px;
    background: rgba(12, 12, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 16, 32, 0.82);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.08);
    background: rgba(45, 35, 70, 0.92);
}

.site-btn {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    padding: 12px 20px;
    border-radius: 10px;
    background: #ff6a9b;
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.site-btn:hover {
    background: #e54a79;
    transform: scale(1.04);
}

.top-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.small-logo {
    width: 130px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.small-logo:hover {
    transform: scale(1.05);
}

.spline-card {
    padding: 16px;
}

.spline-card spline-viewer {
    width: 100%;
    height: 260px;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.spline-card h3 {
    margin-top: 4px;
}

.canva-box {
    padding: 16px;
    margin-bottom: 24px;
}

.canva-frame {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: 16px;
    display: block;
}

.model-box {
    padding: 16px;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-box spline-viewer {
    width: 92%;
    height: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 25px 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .hero,
    .photo-hero,
    .about,
    .art-about {
        grid-template-columns: 1fr;
    }

    .hero-right,
    .photo-hero-left {
        justify-content: flex-start;
    }

    .hero-swap {
        max-width: 360px;
    }

    .photo-hero-swap {
        max-width: 420px;
    }

    .photo-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .menu-btn {
        display: block;
    }

    .nav {
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .hero,
    .photo-hero {
        min-height: auto;
        padding: 28px 24px;
    }

    .hero-text h1,
    .page-text h1 {
        font-size: 2.5rem;
    }

    .spline spline-viewer {
        height: 320px;
    }

    .canva-frame {
        height: 420px;
    }

    .model-box spline-viewer {
        width: 94%;
        height: 400px;
    }
}

@media (max-width: 640px) {
    .gallery-row,
    .photo-nav,
    .home-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid,
    .small-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shot {
        height: 170px;
    }

    .small-pic,
    .camera-pic,
    .group-pic {
        height: 220px;
    }

    .hero-swap,
    .photo-hero-swap {
        height: 360px;
    }

    .lightbox {
        padding: 16px;
    }

    .canva-frame {
        height: 340px;
    }

    .model-box spline-viewer {
        width: 100%;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .photo-grid,
    .small-grid {
        grid-template-columns: 1fr;
    }

    .shot {
        height: 220px;
    }
}

.embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.embed-card {
    padding: 14px;
}

.embed-card iframe {
    width: 100%;
    height: 320px;
    border: none;
    border-radius: 14px;
    display: block;
}

@media (max-width: 900px) {
    .embed-card iframe {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .embed-card iframe {
        height: 280px;
    }
}

.ig-link {
    display: flex;
    align-items: center;
}

.ig-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ig-icon:hover {
    transform: scale(1.2);
}

.ig-box {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.ig-box p {
    margin-bottom: 12px;
}

.ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #ff6a9b;
    font-weight: 600;
    transition: 0.3s ease;
}

.ig-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ig-btn:hover {
    background: #e54a79;
    transform: scale(1.05);
}