/* =========================================
   VILLAGE LIFE KAMPOT
   MOBILE FIRST
   ========================================= */

:root {
    --paper: #f2efe7;
    --ink: #1d241e;
    --dark: #111511;
    --line: rgba(29, 36, 30, 0.18);
}


/* RESET */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.55;
}

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

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


/* TYPOGRAPHY */

.eyebrow {
    margin-bottom: 1.4rem;

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.2em;
}

h1,
h2 {
    font-weight: 600;
}


/* =========================================
   NAV
   ========================================= */

.nav {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 10;

    width: 100%;

    padding: 1.3rem 1.25rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: white;
}

.logo {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nav-book {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;

    border-bottom: 1px solid white;

    padding-bottom: 3px;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    min-height: 92svh;

    display: flex;
    align-items: flex-end;

    color: white;

    overflow: hidden;
}

.hero-photo {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/villagelifeblessing.webp")
        center center / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;

    padding: 0 1.25rem 3rem;
}

.hero h1 {
    max-width: 700px;

    font-size: clamp(3.2rem, 15vw, 7rem);

    line-height: 0.88;

    letter-spacing: -0.065em;
}

.hero-description {
    max-width: 360px;

    margin: 1.7rem 0;

    font-size: 1rem;
}

.button {
    display: inline-block;

    padding: 0.85rem 1.1rem;

    border: 1px solid currentColor;

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

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


/* =========================================
   INTRO
   ========================================= */

.intro {
    padding: 5rem 1.25rem 6rem;
}

.section-number {
    margin-bottom: 2.5rem;

    font-size: 0.65rem;

    letter-spacing: 0.15em;
}

.intro h2 {
    margin-bottom: 2rem;

    font-size: clamp(3.2rem, 15vw, 6rem);

    line-height: 0.9;

    letter-spacing: -0.06em;
}

.intro-copy > p:not(.eyebrow):not(.closing-line) {
    max-width: 600px;

    margin-bottom: 1.3rem;
}

.intro .lead {
    font-size: 1.25rem;

    line-height: 1.4;
}

.closing-line {
    margin-top: 2.5rem;

    font-size: 1.1rem;
    font-weight: 700;
}


/* =========================================
   FULL PHOTO
   ========================================= */

.full-photo {
    position: relative;
}

.full-photo img {
    height: 72svh;

    object-fit: cover;
}

.photo-label {
    position: absolute;

    left: 1.25rem;
    bottom: 1.25rem;

    color: white;

    font-size: 0.6rem;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.photo-label span {
    margin-right: 1rem;
}


/* =========================================
   CONTENT BLOCK
   ========================================= */

.content-block {
    display: flex;
    flex-direction: column;
}

.content-image {
    order: 1;
}

.content-image img {
    height: 75vw;
    min-height: 330px;

    object-fit: cover;
}

.content-copy {
    order: 2;

    padding: 5rem 1.25rem;
}

.content-copy h2 {
    margin-bottom: 2rem;

    font-size: clamp(3rem, 13vw, 6rem);

    line-height: 0.9;

    letter-spacing: -0.06em;
}

.content-copy p:not(.eyebrow) {
    max-width: 520px;

    margin-bottom: 1.2rem;
}

.text-link {
    display: inline-block;

    margin-top: 1.2rem;

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    border-bottom: 1px solid currentColor;

    padding-bottom: 4px;
}


/* =========================================
   IMAGE GRID
   ========================================= */

.image-grid {
    display: grid;

    grid-template-columns: 1fr;
}

.image-grid img {
    width: 100%;
    height: 100vw;

    object-fit: cover;
}

.image-grid .grid-wide img {
    height: 70vw;
}


/* =========================================
   STATEMENT
   ========================================= */

.statement {
    padding: 5rem 1.25rem;

    background: var(--dark);

    color: var(--paper);
}

.statement > div + div {
    margin-top: 5rem;
}

.statement h2 {
    font-size: clamp(2.5rem, 11vw, 5rem);

    line-height: 0.95;

    letter-spacing: -0.05em;
}


/* =========================================
   RIVER
   ========================================= */

.river {
    background: #e5e0d4;
}


/* =========================================
   FOOD
   ========================================= */

.food {
    background: var(--paper);
}


/* =========================================
   BLESSING IMAGE
   ========================================= */

.blessing img {
    height: 78svh;
}

.photo-message {
    position: absolute;

    left: 1.25rem;
    right: 1.25rem;
    bottom: 2rem;

    color: white;
}

.photo-message h2 {
    font-size: clamp(2.8rem, 12vw, 6rem);

    line-height: 0.9;

    letter-spacing: -0.06em;
}


/* =========================================
   LOCATION
   ========================================= */

.location {
    padding: 6rem 1.25rem;

    text-align: center;
}

.location h2 {
    margin-bottom: 2rem;

    font-size: clamp(3rem, 13vw, 6rem);

    line-height: 0.9;

    letter-spacing: -0.06em;
}

.location p:not(.eyebrow) {
    max-width: 560px;

    margin: 0 auto 2rem;

    font-size: 1.05rem;
}

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


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 4rem 1.25rem 1.5rem;

    background: var(--dark);

    color: var(--paper);
}

.footer-brand {
    margin-bottom: 4rem;

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 0.2em;
}

.footer-info {
    display: grid;

    gap: 2rem;

    padding-bottom: 4rem;
}

.footer-info .eyebrow {
    margin-bottom: 0.4rem;
}

.footer-info p,
.footer-info a {
    font-size: 0.8rem;
}

.footer-bottom {
    padding-top: 1.2rem;

    border-top: 1px solid rgba(255,255,255,0.18);

    font-size: 0.55rem;

    letter-spacing: 0.12em;
}


/* =========================================
   TABLET
   ========================================= */

@media (min-width: 700px) {

    .nav {
        padding: 1.5rem 4vw;
    }

    .hero-content {
        padding:
            0
            4vw
            5vw;
    }

    .intro {
        padding: 10rem 8vw;

        display: grid;
        grid-template-columns: 120px 1fr;
    }

    .section-number {
        margin: 0;
    }

    .content-block {
        display: grid;
        grid-template-columns: 1fr 1fr;

        min-height: 700px;
    }

    .content-image,
    .content-copy {
        order: unset;
    }

    .content-image img {
        height: 100%;
        min-height: 700px;
    }

    .content-copy {
        padding: 8vw;
    }

    .image-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-grid .grid-wide {
        grid-column: 1 / -1;
    }

    .image-grid img {
        height: 50vw;
    }

    .image-grid .grid-wide img {
        height: 55vw;
    }

    .statement {
        padding: 9vw 8vw;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 8vw;
    }

    .statement > div + div {
        margin-top: 0;
    }

    .footer-info {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 1100px) {

    .nav {
        padding: 2rem 5vw;
    }

    .nav-book {
        display: none;
    }

    .hero-content {
        padding:
            0
            5vw
            6vw;
    }

    .hero h1 {
        font-size: clamp(5rem, 8vw, 9rem);
    }

    .intro {
        padding:
            13vw
            8vw;
    }

    .full-photo img {
        height: 88vh;
    }

    .content-copy {
        padding: 9vw;
    }

    .image-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .image-grid .grid-wide {
        grid-column: auto;
    }

    .image-grid img,
    .image-grid .grid-wide img {
        height: 32vw;
    }

    .statement {
        padding: 10vw 8vw;
    }

    .location {
        padding: 13vw 8vw;
    }

    footer {
        padding:
            5rem
            5vw
            2rem;
    }

}