:root {
    --hero: url('../img/index/hero.webp');
    --muted: #b3b3b3
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .05)), var(--hero);
    background-size: cover;
    background-position: center;
    z-index: -2
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6));
    z-index: -1
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 72px);
    margin: 0 0 4px
}

.sub {
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 22px);
    opacity: .9;
    margin: 0 0 20px
}

.hero-copy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 16vh;
    width: min(1000px, 92vw)
}

@media (max-width:768px) {
    .hero-copy {
        top: 14vh
    }
}

.cta-row {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 84px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0
}

@media (max-width:1024px) {
    .cta-row {
        bottom: 76px
    }
}

@media (max-width:768px) {
    .cta-row {
        bottom: 64px
    }
}

.tagbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center
}

.tag {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #eee;
    font-size: 12px
}

@media (max-width:640px) {
    .hero {
        justify-content: flex-end;
        align-items: center;
        padding-top: 110px;
        padding-bottom: 120px
    }

    .hero-copy {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 14vh;
        width: min(1000px, 92vw)
    }

    .cta-row {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        margin: 0;
        width: auto
    }

    .cta-row .btn {
        width: fit-content;
        padding: 10px 16px;
        font-size: 14px;
        flex-shrink: 0
    }

    .tagbar {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 32px;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin: 0;
        width: auto;
        max-width: 92vw
    }

    .tagbar .tag {
        flex: 0 0 auto;
        display: inline-block;
        text-align: center;
        font-size: 9px;
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.01em;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        white-space: nowrap;
        line-height: 1.2;
        min-width: 0
    }
}

@media (min-width:641px) and (max-width:1024px) {
    .cta-row {
        bottom: 82px
    }

    .tagbar {
        width: min(560px, 85vw);
        gap: 18px;
        flex-wrap: nowrap;
        bottom: 32px
    }

    .tag {
        font-size: 12px;
        padding: 6px 16px;
        white-space: nowrap
    }
}

.top-picks {
    padding: 40px 0 32px 0
}

.tp-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 18px
}

.tp-eyebrow {
    color: var(--gold);
    letter-spacing: .2em;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase
}

.tp-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.6vw, 44px);
    margin: 0
}

.tp-sub {
    color: var(--muted);
    margin: 0
}

.tp-slider {
    position: relative;
    width: min(1200px, 95vw);
    margin: 24px auto 16px;
    background: rgba(255, 255, 255, .02);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.tp-viewport {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    contain: layout style paint
}

.tp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    transition: opacity .4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    will-change: transform, opacity;
    backface-visibility: hidden
}

.tp-slide.active {
    opacity: 1;
    transform: translate3d(0, 0, 0)
}

.tp-slide.prev {
    transform: translate3d(-100%, 0, 0)
}

.tp-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    will-change: transform
}

.tp-card:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .4)
}

.tp-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.tp-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0)
}

.tp-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 28px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .2), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    backdrop-filter: blur(1px);
    transform: translateZ(0)
}

.tp-meta {
    display: grid;
    gap: 8px;
    flex: 1
}

.tp-album {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5)
}

.tp-tags {
    color: #e0e0e0;
    opacity: .95;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}

.tp-open {
    flex: 0 0 auto;
    background: var(--gold);
    color: #111;
    border: none;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 12px rgba(199, 162, 91, .3);
    will-change: transform
}

.tp-card:hover .tp-open {
    background: #d4a85a;
    transform: translate3d(6px, 0, 0) scale3d(1.05, 1.05, 1);
    box-shadow: 0 6px 16px rgba(199, 162, 91, .4)
}

.tp-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10
}

.tp-arrow {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .6);
    background: rgba(0, 0, 0, .6);
    display: grid;
    place-items: center;
    pointer-events: auto;
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
    backdrop-filter: blur(4px);
    will-change: transform
}

.tp-arrow:hover {
    background: rgba(0, 0, 0, .8);
    border-color: var(--gold);
    transform: translate3d(0, -50%, 0) scale3d(1.1, 1.1, 1)
}

.tp-arrow:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px
}

.tp-arrow svg {
    width: 20px;
    height: 20px;
    color: #fff;
    transition: color .3s ease
}

.tp-arrow:hover svg {
    color: var(--gold)
}

.tp-prev {
    left: 16px
}

.tp-next {
    right: 16px
}

.tp-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, .05);
    border-radius: 16px;
    backdrop-filter: blur(4px)
}

.tp-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    border: 2px solid rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
    will-change: transform
}

.tp-dot:hover {
    background: rgba(255, 255, 255, .7);
    transform: scale3d(1.2, 1.2, 1)
}

.tp-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(199, 162, 91, .5)
}

@media (max-width: 980px) {
    .tp-slider {
        width: 95vw;
        padding: 16px;
        margin: 20px auto 12px
    }

    .tp-viewport {
        border-radius: 16px
    }

    .tp-overlay {
        padding: 20px 20px 16px
    }

    .tp-album {
        font-size: 18px
    }

    .tp-tags {
        font-size: 13px
    }

    .tp-open {
        padding: 10px 14px;
        font-size: 13px
    }

    .tp-arrow {
        width: 44px;
        height: 44px
    }

    .tp-arrow svg {
        width: 16px;
        height: 16px
    }

    .tp-prev {
        left: 12px
    }

    .tp-next {
        right: 12px
    }

    .tp-dots {
        margin-top: 16px;
        padding: 10px;
        gap: 10px
    }

    .tp-dot {
        width: 8px;
        height: 8px
    }
}

@media (max-width: 640px) {
    .tp-viewport {
        aspect-ratio: 4/3;
        min-height: 220px
    }

    .tp-overlay {
        padding: 16px
    }

    .tp-album {
        font-size: 16px
    }

    .tp-tags {
        font-size: 12px
    }

    .tp-open {
        padding: 8px 12px;
        font-size: 12px
    }
}

#portfolio,
#about {
    width: min(800px, 92vw);
    margin: 48px auto;
    text-align: center
}

.services {
    padding: 32px 0 40px 0
}

.services-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 32px
}

.services-head h2,
.services-head p {
    margin: 0
}

.services-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.6vw, 44px);
    color: #fff
}

.services-head p {
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 18px)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

@media (max-width:900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .services-grid {
        grid-template-columns: 1fr
    }
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .12)
}

.service-thumb {
    aspect-ratio: 4/5;
    overflow: hidden
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease
}

.service-card:hover .service-thumb img {
    transform: scale(1.03)
}

.service-body {
    padding: 14px 16px
}

.service-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px
}

.service-desc {
    margin: 0;
    color: #e0e0e0;
    font-size: 14px
}

.services-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px
}

.services-feature {
    margin: 40px auto 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: min(420px, 92vw)
}

.services-feature__head {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.services-feature__eyebrow {
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700
}

.services-feature__title {
    margin: 0;
    font-size: clamp(22px, 3.4vw, 28px);
    color: #fff;
    font-family: 'Playfair Display', serif
}

.services-feature__frame {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45)
}

.services-feature__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    background: #000
}

.services-feature__video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, .4)
}

@media (max-width:640px) {
    .services-feature {
        margin: 36px auto 28px
    }
}

.video-showcase {
    padding: 48px 0 40px
}

.video-showcase__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    width: min(780px, 92vw);
    margin: 0 auto 28px
}

.video-showcase__eyebrow {
    color: var(--gold);
    letter-spacing: .18em;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0
}

.video-showcase__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4.8vw, 46px);
    margin: 0;
    color: #fff
}

.video-showcase__subtitle {
    color: var(--muted);
    margin: 0;
    font-size: clamp(16px, 2.2vw, 18px)
}

.video-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1200px, 95vw);
    margin: 0 auto
}

.video-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(20, 20, 20, .9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.video-card__frame {
    position: relative;
    aspect-ratio: 16/9;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .12), transparent 60%), #111;
    display: grid;
    place-items: center;
    overflow: hidden
}

.video-card__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .12), transparent 65%), radial-gradient(circle at 70% 60%, rgba(199, 162, 91, .18), transparent 75%);
    mix-blend-mode: screen;
    opacity: .45;
    pointer-events: none
}

.video-card__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    border: none
}

.video-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .75);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #f5f5f5;
    z-index: 2
}

.video-card__body {
    padding: 20px 22px 24px;
    display: grid;
    gap: 10px
}

.video-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff
}

.video-card__description {
    margin: 0;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5
}

.video-card:hover .video-card__badge {
    border-color: var(--gold);
    color: var(--gold)
}

@media (max-width:1024px) {
    .video-showcase__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:700px) {
    .video-showcase {
        padding: 40px 0 32px
    }

    .video-showcase__grid {
        grid-template-columns: 1fr
    }

    .video-card__body {
        padding: 18px 18px 22px
    }

    .video-card__title {
        font-size: 18px
    }

    .video-card__description {
        font-size: 14px
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2000
}

.lightbox.open {
    display: flex
}

.lightbox-content {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(20, 20, 20, .7);
    padding: 8px
}

.portrait-frame {
    width: min(480px, 90vw);
    aspect-ratio: 2/3;
    max-height: 86vh
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, .75)
}