:root {
    --bg: #0a0a09;
    --bg-soft: #11110f;
    --text: #f3f1eb;
    --muted: #9a9992;
    --line: rgba(255, 255, 255, .13);
    --accent: #cfc7ae;
    --header-height: 80px
}

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

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden
}

body.modal-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

img {
    display: block;
    width: 100%
}

.container {
    width: min(1400px, calc(100% - 80px));
    margin: auto
}

.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s;
    mix-blend-mode: difference
}

.cursor.active {
    width: 50px;
    height: 50px;
    background: #fff
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background .4s, backdrop-filter .4s
}

.header.scrolled {
    background: rgba(10, 10, 9, .78);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line)
}

.nav {
    width: min(1500px, calc(100% - 70px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    width: auto;
    height: 42px
}

.logo img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 34px
}

.logo-name {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    white-space: nowrap
}

.logo-brian {
    color: #f3f1eb
}

.logo-mestre {
    color: #cfc7ae;
    font-weight: 300
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none
}

.nav-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #dddcd6;
    transition: color .3s
}

.nav-links a:hover {
    color: #fff
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 18px
}

.social-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--muted);
    font-size: 15px;
    transition: color .3s, transform .3s
}

.social-nav a:hover {
    color: #fff;
    transform: translateY(-2px)
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 1px;
    background: #fff;
    margin: 6px 0
}

.hero {
    height: 100svh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .1), rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, .88) 100%), url("../assets/images/first-volcano.jpg");
    background-size: cover;
    background-position: center 43%;
    transform: scale(1.03);
    animation: heroZoom 12s ease-out forwards
}

.hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 55%)
}

@keyframes heroZoom {
    from {
        transform: scale(1.08)
    }

    to {
        transform: scale(1)
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 75px
}

.hero-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: #d1d0c9;
    margin-bottom: 22px
}

.hero-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(55px, 9vw, 145px);
    font-weight: 300;
    line-height: .85;
    letter-spacing: -.065em;
    max-width: 1000px
}

.hero-title strong {
    font-weight: 600
}

.hero-bottom {
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.hero-description {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.7;
    color: #c0bfb9
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: #aaa9a2
}

.scroll-line {
    width: 55px;
    height: 1px;
    background: rgba(255, 255, 255, .5)
}

.section {
    padding: 150px 0
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 65px
}

.section-number {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .2em;
    margin-bottom: 12px
}

.section-title {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: clamp(42px, 6vw, 82px);
    letter-spacing: -.055em;
    line-height: .95
}

.section-title strong {
    font-weight: 600
}

.section-intro {
    max-width: 390px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8
}

.work-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px
}

.work-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #151512
}

.work-card.large,
.work-card.small {
    height: 760px
}

.work-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .7s
}

.work-card:hover img {
    transform: scale(1.045);
    filter: brightness(.78)
}

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background: linear-gradient(transparent 45%, rgba(0, 0, 0, .75))
}

.work-type {
    color: #c4c2bb;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .22em;
    margin-bottom: 10px
}

.work-name {
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 400
}

.work-location {
    color: #bbb9b2;
    font-size: 12px;
    margin-top: 7px
}

.photography {
    background: #0d0d0c
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px
}

.photo-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #161613
}

.photo-item:nth-child(1) {
    grid-column: span 7
}

.photo-item:nth-child(2) {
    grid-column: span 5
}

.photo-item:nth-child(3) {
    grid-column: span 4
}

.photo-item:nth-child(4) {
    grid-column: span 8
}

.photo-item:nth-child(5),
.photo-item:nth-child(6) {
    grid-column: span 6
}

.photo-item img {
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2, .7, .2, 1)
}

.photo-item:nth-child(1) img,
.photo-item:nth-child(2) img,
.photo-item:nth-child(4) img {
    aspect-ratio: 16/10
}

.photo-item:hover img {
    transform: scale(1.04)
}

.photo-caption {
    position: absolute;
    left: 22px;
    bottom: 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: .4s;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7)
}

.photo-item:hover .photo-caption {
    opacity: 1;
    transform: none
}

.photo-caption strong {
    display: block;
    font-size: 13px;
    font-weight: 400
}

.photo-caption span {
    font-size: 10px;
    color: #ccc
}

.film {
    padding-top: 170px
}

.film-feature {
    position: relative;
    display: block;
    height: min(75vh, 780px);
    min-height: 550px;
    overflow: hidden;
    cursor: pointer;
    background: #111
}

.film-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s
}

.film-feature:hover img {
    transform: scale(1.025)
}

.film-feature:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent 65%)
}

.play-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s
}

.play-button i {
    font-size: 16px;
    margin-left: 3px
}

.film-feature:hover .play-button {
    background: #fff;
    color: #111;
    transform: translate(-50%, -50%) scale(1.08)
}

.film-info {
    position: absolute;
    z-index: 3;
    bottom: 35px;
    left: 35px
}

.film-label {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #bdbcb5;
    margin-bottom: 10px
}

.film-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 5vw, 70px);
    font-weight: 300;
    letter-spacing: -.05em;
    max-width: 900px
}

.reels {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.reel {
    aspect-ratio: 9/16;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #151513
}

.reel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s, filter .5s
}

.reel:hover img {
    transform: scale(1.04);
    filter: brightness(.72)
}

.reel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, .2), transparent 35%, rgba(0, 0, 0, .65))
}

.reel-number {
    font-size: 10px;
    letter-spacing: .15em
}

.reel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.reel-title {
    font-size: 14px
}

.reel-play {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.reel-play i {
    font-size: 15px
}

.film-cta {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em
}

.film-social-links {
    display: flex;
    gap: 25px
}

.film-social-links a {
    color: #ddd;
    transition: color .3s
}

.film-social-links a:hover {
    color: #fff
}

.about {
    border-top: 1px solid var(--line)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center
}

.about-image {
    height: 700px;
    overflow: hidden;
    position: relative;
    background: #151512
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.about-image-caption {
    position: absolute;
    left: 25px;
    bottom: 20px;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #ddd;
    text-shadow: 0 2px 10px #000
}

.about-text .section-title {
    margin-bottom: 35px
}

.about-text p {
    max-width: 520px;
    color: #aaa9a2;
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 25px
}

.about-signature {
    margin-top: 45px;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: .05em
}

.contact {
    padding-bottom: 100px
}

.contact-inner {
    border-top: 1px solid var(--line);
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    gap: 50px
}

.contact-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(45px, 7vw, 100px);
    font-weight: 300;
    line-height: .95;
    letter-spacing: -.06em
}

.contact-title strong {
    font-weight: 600
}

.contact-right {
    max-width: 420px;
    padding-top: 10px
}

.contact-right p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px
}

.contact-link {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 8px
}

.contact-socials {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 30px
}

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa9a2;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    transition: color .3s
}

.contact-socials a i {
    font-size: 17px
}

.contact-socials a:hover {
    color: #fff
}

.footer {
    border-top: 1px solid var(--line);
    padding: 35px 0
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-copy {
    font-size: 11px;
    color: #696862
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #85847e;
    font-size: 11px;
    transition: color .3s, transform .3s
}

.footer-links a:hover {
    color: #fff;
    transform: translateY(-2px)
}

.footer-links a i {
    font-size: 15px
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .9s ease, transform .9s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px
}

.modal.active {
    display: flex
}

.modal-image {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    object-fit: contain
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 25px;
    cursor: pointer
}

.modal-info {
    position: absolute;
    left: 30px;
    bottom: 25px;
    color: #aaa;
    font-size: 11px;
    letter-spacing: .1em
}

@media(max-width:900px) {
    .logo {
        gap: 7px;
        height: 38px
    }

    .logo img {
        width: 31px;
        height: 31px;
        flex-basis: 31px
    }

    .logo-name {
        font-size: 12px;
        letter-spacing: .06em
    }

    .logo-name {
        gap: 4px
    }

    .container {
        width: calc(100% - 40px)
    }

    .nav {
        width: calc(100% - 40px)
    }

    .nav-links,
    .social-nav {
        display: none
    }

    .menu-btn {
        display: block
    }

    .header.menu-open {
        background: rgba(10, 10, 9, .96)
    }

    .header.menu-open .nav-links {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 30px 20px 40px;
        background: rgba(10, 10, 9, .97);
        border-top: 1px solid var(--line)
    }

    .hero-content {
        width: calc(100% - 40px);
        padding-bottom: 55px
    }

    .hero {
        min-height: 650px
    }

    .hero-bottom {
        align-items: flex-start;
        gap: 30px;
        flex-direction: column
    }

    .scroll-indicator {
        display: none
    }

    .section {
        padding: 100px 0
    }

    .section-header {
        display: block;
        margin-bottom: 40px
    }

    .section-intro {
        margin-top: 25px
    }

    .work-grid {
        grid-template-columns: 1fr
    }

    .work-card.large,
    .work-card.small {
        height: 600px
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr
    }

    .photo-item:nth-child(n) {
        grid-column: span 1
    }

    .photo-item:nth-child(1),
    .photo-item:nth-child(4) {
        grid-column: span 2
    }

    .film {
        padding-top: 100px
    }

    .film-feature {
        min-height: 500px
    }

    .reels {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .reels .reel:last-child {
        display: none
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .about-image {
        height: 600px
    }

    .contact-inner {
        flex-direction: column;
        padding-top: 70px
    }

    .film-cta {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column
    }
}

@media(max-width:560px) {
    .hero-title {
        font-size: 58px
    }

    .work-card.large,
    .work-card.small {
        height: 500px
    }

    .photo-grid {
        display: grid;
        grid-template-columns: 1fr
    }

    .photo-item:nth-child(n) {
        grid-column: span 1
    }

    .photo-item img {
        aspect-ratio: 4/5 !important
    }

    .reels {
        grid-template-columns: 1fr 1fr
    }

    .about-image {
        height: 520px
    }

    .footer-inner {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column
    }

    .cursor {
        display: none
    }

    .film-title {
        font-size: 35px
    }

    .contact-socials {
        flex-wrap: wrap
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .hero-image,
    .reveal {
        animation: none;
        transition: none
    }

    .photo-item img,
    .work-card img,
    .film-feature img {
        transition: none
    }
}