* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 60px));
    margin: 0 auto;
}

/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    color: #ffffff;
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 36px;
    font-size: 14px;
}

.nav a {
    opacity: 0.85;
}

.nav a:hover {
    opacity: 1;
}

/* TYPOGRAPHY */

.eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(50px, 7vw, 100px);
    line-height: 0.96;
    font-weight: 600;
    letter-spacing: -4px;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -2px;
}

h3 {
    margin-bottom: 14px;
    font-size: 24px;
}

p {
    line-height: 1.7;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid #171717;
    background: #171717;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.button-outline {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}

.button-light {
    background: transparent;
    color: #171717;
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: url("../img/hero.jpg") center / cover no-repeat;
    color: #ffffff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-text {
    max-width: 620px;
    margin-bottom: 36px;
    font-size: 18px;
}

/* SECTIONS */

.section,
.cta {
    position: relative;
}

.section {
    padding: 130px 0;
}

.section-light {
    background: #f5f5f2;
}

.section-dark {
    background: #171717;
    color: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 70px;
}

/* FEATURES */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.feature {
    padding-top: 24px;
    border-top: 1px solid #c8c8c4;
}

.feature-number {
    display: block;
    margin-bottom: 40px;
    font-size: 13px;
    opacity: 0.55;
}

/* SPLIT */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.split-content {
    max-width: 520px;
}

.split-content p {
    color: rgba(255, 255, 255, 0.72);
}

.split-image {
    overflow: hidden;
}

.split-image img {
    height: 650px;
    object-fit: cover;
}

/* GALLERY - MASONRY */

.gallery-editorial {
    width: 100%;
}

.gallery-photo {
    width: calc((100% - 36px) / 3);
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(35px) scale(0.97);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-photo.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;
}

.gallery-photo:hover img {
    transform: scale(1.02);
}

/* LOCATION */

.cta {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: url("../img/photo-12.jpg") center center / cover no-repeat;
    color: #ffffff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 42px 46px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
}

.cta-content > p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
}

#location-sections {
    max-width: 720px;
    margin: 28px 0 32px;
}

.location-list {
    margin-bottom: 18px;
}

.location-list:last-child {
    margin-bottom: 0;
}

.location-list-title {
    margin: 0 0 8px;
    font-weight: 500;
    color: #ffffff;
}

.location-list ul {
    margin: 0;
    padding-left: 20px;
}

.location-list li {
    margin-bottom: 6px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.location-list li:last-child {
    margin-bottom: 0;
}

/* CONTACT */

.contact-simple {
    max-width: 760px;
}

.contact-simple p {
    max-width: 620px;
}

.contact-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* BACK TO TOP */

.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 24px;
    z-index: 5;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.55;
}

.back-to-top:hover {
    opacity: 1;
}

.section-dark .back-to-top,
.cta .back-to-top {
    color: #ffffff;
}

/* FOOTER */

.footer {
    padding: 35px 0;
    background: #171717;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 30px;
    align-items: center;
}

.footer-notice {
    grid-column: 1 / -1;
    margin: 0;
    max-width: 900px;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.94);
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 88vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.lightbox-close {
    top: 20px;
    right: 28px;
    font-size: 48px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 72px;
    line-height: 1;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    letter-spacing: 1px;
}

/* TABLET */

@media (max-width: 900px) {
    .container {
        width: min(100% - 40px, 1200px);
    }

    .section {
        padding: 90px 0;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .split-image img {
        height: 500px;
    }

    .gallery-photo {
        width: calc((100% - 14px) / 2);
        margin-bottom: 14px;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 70px;
    }

    .logo {
        font-size: 18px;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .hero-video {
        display: none;
    }

    .hero-content {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-text {
        font-size: 16px;
    }

    h1 {
        font-size: 50px;
        line-height: 1;
        letter-spacing: -2px;
    }

    h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .split-image img {
        height: 420px;
    }

    .gallery-photo {
        width: 100%;
        margin-bottom: 12px;
    }

    .cta {
        min-height: 550px;
        padding: 70px 0;
    }

    .cta-content {
        padding: 28px 24px;
    }

    #location-sections {
        margin: 25px 0 32px;
    }

    .location-list {
        margin-bottom: 20px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        font-size: 11px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-notice {
        margin-top: 12px;
        font-size: 10px;
    }

    .lightbox-image {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 52px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 14px;
        right: 18px;
        font-size: 42px;
    }
}