:root {
    --black: #080808;
    --dark: #101010;
    --dark-soft: #171717;
    --dark-lighter: #1d1d1d;
    --white: #f2f2ef;
    --muted: #a4a4a0;
    --border: rgba(255, 255, 255, 0.15);
    --light-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family: "Inter", sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

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

button {
    color: inherit;
    font: inherit;
}

img {
    display: block;
    width: 100%;
}

/* Header */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 24px 5%;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: inline-flex;
    flex-direction: column;
    justify-self: start;
    font-family: "Anton", sans-serif;
    font-size: 1rem;
    line-height: 0.83;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a,
.header-book-link {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.desktop-nav a {
    transition: opacity 0.25s ease;
}

.desktop-nav a:hover {
    opacity: 0.6;
}

.header-book-link {
    justify-self: end;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--white);
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82vh;
    padding: 130px 8% 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image: url("../images/justin-hero2.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.94) 0%,
            rgba(0, 0, 0, 0.72) 45%,
            rgba(0, 0, 0, 0.28) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.eyebrow {
    margin-bottom: 24px;
    color: #c8c8c2;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;
    font-family: "Anton", sans-serif;
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-description {
    max-width: 490px;
    margin-top: 28px;
    color: #c1c1bd;
    font-size: 0.95rem;
    line-height: 1.8;
}

.hero-side-text {
    position: absolute;
    right: 3%;
    bottom: 50%;
    z-index: 2;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transform: translateY(50%) rotate(90deg);
    transform-origin: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 8%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 34px;
    padding: 0 30px;
    border: 1px solid;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.button-light {
    border-color: var(--white);
    color: var(--white);
}

.button-light:hover {
    background: var(--white);
    color: var(--black);
}

.button-dark {
    border-color: var(--white);
    color: var(--white);
}

.button-dark:hover {
    background: var(--white);
    color: var(--black);
}

/* Section headings */

.section-heading {
    width: min(900px, 90%);
    margin: 0 auto;
    padding: 110px 0 65px;
    text-align: center;
}

.section-heading h2,
.booking-content h2,
.faq-heading h2,
.contact-heading h2,
.booking-modal-card h2 {
    font-family: "Anton", sans-serif;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.section-description {
    max-width: 650px;
    margin: 28px auto 0;
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--white);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Portfolio */

.portfolio-section {
    background: #0d0d0d;
    color: var(--white);
    overflow: hidden;
}

.portfolio-section .eyebrow {
    color: #b9b9b4;
}

.portfolio-section .section-description {
    color: var(--muted);
}

.portfolio-section .text-link {
    border-bottom-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 82px;
    gap: 10px;
    padding: 0 3%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: var(--dark-soft);
    cursor: pointer;
}

.portfolio-item-large {
    grid-column: span 5;
    grid-row: span 7;
}

.portfolio-item-square {
    grid-column: span 3;
    grid-row: span 4;
}

.portfolio-item-wide {
    grid-column: span 4;
    grid-row: span 3;
}

.portfolio-item-small {
    grid-column: span 3;
    grid-row: span 3;
}

.portfolio-item-tall {
    grid-column: span 4;
    grid-row: span 6;
}

.portfolio-item-wide-two {
    grid-column: span 5;
    grid-row: span 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    background:
        linear-gradient(
            transparent 45%,
            rgba(0, 0, 0, 0.78)
        );
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover img {
    transform: scale(1.045);
    filter: grayscale(0%);
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-visible .portfolio-overlay {
    opacity: 1;
}

.portfolio-swipe-hint {
    display: none;
}

.portfolio-footer {
    padding: 50px 5% 110px;
    text-align: center;
}

.portfolio-footer .button {
    margin-top: 0;
}

/* =========================
   BOOKING
========================= */

.booking-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
    background: #000;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}


/* LEFT SIDE */

.booking-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 10%;
    background: #000;
    border-right: none;
}

.booking-content .eyebrow {
    margin-bottom: 28px;
}

.booking-content h2 {
    max-width: 600px;

    font-family: "Anton", sans-serif;
    font-size: clamp(4rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 0.95;

    text-transform: uppercase;
}

.booking-content > p:not(.eyebrow) {
    max-width: 540px;
    margin-top: 32px;

    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

.booking-content .button {
    align-self: flex-start;
    margin-top: 40px;
}


/* RIGHT SIDE */

.booking-image {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #000;
}

.booking-image img {
    position: absolute;

    top: 50%;
    left: 50%;

    width: auto;
    height: 108%;
    max-width: none;
    max-height: none;

    object-fit: contain;

    transform:
        translate(-50%, -50%)
        scale(1.08);

    filter:
        brightness(0.9)
        contrast(1.05);
}

/* FAQ */

.faq-section {
    padding: 120px 5%;
    background: #090909;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 10%;
    width: min(1300px, 100%);
    margin: 0 auto;
}

.faq-heading {
    position: sticky;
    top: 40px;
    align-self: start;
}

.faq-heading h2 {
    font-size: clamp(3.2rem, 5vw, 5rem);
}

.faq-heading > p:last-child {
    max-width: 420px;
    margin-top: 28px;
    color: var(--muted);
    line-height: 1.8;
}

.faq-item {
    border-top: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-question span:first-child {
    padding-right: 25px;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 300;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    max-width: 720px;
    padding: 0 0 30px;
    color: var(--muted);
    line-height: 1.8;
}

/* Contact */

.contact-section {
    padding: 120px 5%;
    background: #181818;
    color: var(--white);
}

.contact-heading {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.contact-heading .eyebrow {
    color: #b9b9b4;
}

.contact-heading h2 {
    max-width: 1000px;
    overflow-wrap: anywhere;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
    width: min(1200px, 100%);
    margin: 70px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.contact-block {
    color: #d0d0cc;
    line-height: 1.8;
}

.contact-label {
    margin-bottom: 15px;
    color: #858580;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-block a {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--white);
    color: var(--white);
}

/* Footer */

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 5%;
    border-top: 1px solid var(--border);
    background: var(--black);
    color: #797975;
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: rgba(0, 0, 0, 0.96);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 1200px;
    max-height: 88vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 5;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 2.6rem;
    cursor: pointer;
}

/* Booking modal */

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.96);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-card {
    position: relative;
    width: min(650px, 100%);
    padding: 70px 50px 50px;
    border: 1px solid var(--border);
    background: var(--dark);
    text-align: center;
}

.booking-modal-card h2 {
    font-size: clamp(3rem, 7vw, 5rem);
}

.booking-modal-card > p:not(.eyebrow) {
    margin-top: 26px;
    color: var(--muted);
    line-height: 1.8;
}

.booking-modal-close {
    top: 14px;
    right: 20px;
}

.booking-modal-card .button {
    margin-top: 30px;
}

/* Instagram Feed */
.instagram-feed-wrap {
    width: min(1100px, calc(100% - 48px));
    margin: 50px auto 0;
}

/* Tablet */

@media (max-width: 950px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
        padding: 0 4%;
    }

    .portfolio-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio-item-large,
    .portfolio-item-tall {
        grid-row: span 2;
    }

   .booking-section {
    grid-template-columns: 1fr;
}

.booking-content {
    order: 1;
    padding: 80px 7%;
    border-right: 0;
    border-bottom: 1px solid var(--light-border);
}

.booking-image {
    order: 2;
    min-height: 600px;
}

.booking-image img {
    height: 105%;

    transform:
        translate(-50%, -50%)
        scale(1.05);
}

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .faq-heading {
        position: static;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 600px) {
    .site-header {
        padding: 20px 5%;
    }

    .logo {
        font-size: 0.8rem;
    }

    .header-book-link {
        font-size: 0.6rem;
    }

    .hero {
        min-height: 760px;
        padding: 140px 6% 100px;
    }

    .hero-background {
        background-position: 58% center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.68);
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.7rem);
        line-height: 0.94;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .hero-side-text {
        display: none;
    }

    .scroll-indicator {
        left: 6%;
    }

    .section-heading {
        width: 88%;
        padding-top: 80px;
    }

  .booking-content {
    padding: 70px 6%;
}

.booking-content h2 {
    font-size: clamp(3.4rem, 15vw, 4.8rem);
}

.booking-image {
    min-height: 500px;
}

.booking-image img {
    height: 100%;

    transform:
        translate(-50%, -50%)
        scale(1);
}

    .section-heading h2,
    .booking-content h2,
    .contact-heading h2 {
        font-size: clamp(3.2rem, 15vw, 4.7rem);
    }

    /* Mobile carousel */

    .portfolio-grid {
        display: flex;
        gap: 14px;
        width: 100%;
        padding: 0 6% 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 6%;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-item,
    .portfolio-item:nth-child(n),
    .portfolio-item-large,
    .portfolio-item-square,
    .portfolio-item-wide,
    .portfolio-item-small,
    .portfolio-item-tall,
    .portfolio-item-wide-two {
        flex: 0 0 84%;
        width: 84%;
        height: 470px;
        min-height: 470px;
        grid-column: auto;
        grid-row: auto;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .portfolio-overlay {
        opacity: 1;
        background:
            linear-gradient(
                transparent 55%,
                rgba(0, 0, 0, 0.78)
            );
    }

    .portfolio-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 8px;
        color: var(--muted);
        font-size: 0.64rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .portfolio-swipe-hint span {
        font-size: 1rem;
    }

    .portfolio-footer {
        padding-top: 28px;
        padding-bottom: 80px;
    }

    .booking-image {
        min-height: 430px;
    }

    .booking-content {
        padding: 80px 6%;
    }

    .faq-section {
        padding: 90px 6%;
    }

    .faq-heading h2 {
        font-size: clamp(3rem, 14vw, 4.3rem);
    }

    .faq-question {
        padding: 25px 0;
    }

    .contact-section {
        padding: 90px 6%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 50px;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .booking-modal-card {
        padding: 65px 25px 42px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero-background {
        background-image: url("../images/justin-hero.jpeg");
        background-size: cover;
        background-position: center 28%;
        transform: none;
    }
}