:root {
    --cream: #f4f0e7;
    --ink: #162019;
    --accent: #ffffff;
    --line: rgba(244, 240, 231, .36);
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--cream);
    background: #101510;
    font-family: "DM Sans", sans-serif;
}

.page {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.mosaic {
    position: absolute;
    inset: -12px;
    z-index: -3;
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr 1.1fr;
    grid-template-rows: 1.08fr .92fr 1fr;
    gap: 7px;
    background: #182019;
}

.tile {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: #263028;
}

.tile:nth-child(1) { grid-row: span 2; }
.tile:nth-child(4) { grid-column: span 2; }
.tile:nth-child(7) { grid-row: span 2; }
.tile:nth-child(9) { grid-column: span 2; }

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    filter: saturate(.88) contrast(1.03);
    transform: scale(1.045);
    transition: opacity 1.35s ease-in-out, transform 7s ease;
}

.tile img.is-visible { opacity: 1; }

.tile:nth-child(3n + 1) img {
    animation: breathe-a 18s ease-in-out infinite alternate;
}

.tile:nth-child(3n + 2) img {
    animation: breathe-b 22s ease-in-out infinite alternate;
}

.tile:nth-child(3n) img {
    animation: breathe-a 25s ease-in-out infinite alternate-reverse;
}

.page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(12, 17, 13, .9) 0%, rgba(12, 17, 13, .57) 43%, rgba(12, 17, 13, .12) 72%),
        linear-gradient(0deg, rgba(7, 11, 8, .78), transparent 42%);
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    box-shadow: inset 0 0 140px rgba(0, 0, 0, .28);
    pointer-events: none;
}

.topbar {
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(22px, 3vw, 44px) clamp(22px, 5vw, 78px);
}

.mark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mark::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.place {
    color: rgba(244, 240, 231, .75);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 110px clamp(22px, 5vw, 78px) 150px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-family: "Newsreader", serif;
    font-size: clamp(54px, 8.4vw, 126px);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -.045em;
    text-wrap: balance;
}

h1 em {
    display: block;
    color: inherit;
    font-weight: 400;
}

.intro {
    max-width: 510px;
    margin: 30px 0 34px;
    color: rgba(244, 240, 231, .82);
    font-family: "Newsreader", serif;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.42;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    min-height: 54px;
    padding: 0 8px 0 22px;
    color: var(--ink);
    background: var(--cream);
    border-radius: 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: background .25s ease, transform .25s ease;
}

.cta span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--cream);
    background: var(--ink);
    font-size: 18px;
}

.cta:hover,
.cta:focus-visible {
    background: #ffffff;
    transform: translateY(-2px);
}

.footer-note {
    position: absolute;
    inset: auto clamp(22px, 5vw, 78px) clamp(22px, 3vw, 42px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: rgba(244, 240, 231, .72);
    font-size: 12px;
    letter-spacing: .04em;
}

.footer-note p { margin: 0; }

.footer-note a {
    color: inherit;
    text-underline-offset: 4px;
}

@keyframes breathe-a {
    to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); }
}

@keyframes breathe-b {
    to { transform: scale(1.08) translate3d(1%, .9%, 0); }
}

@media (max-width: 760px) {
    .mosaic {
        grid-template-columns: 1.15fr .85fr;
        grid-template-rows: repeat(5, 1fr);
        gap: 5px;
    }

    .tile:nth-child(1),
    .tile:nth-child(7) {
        grid-row: span 2;
    }

    .tile:nth-child(4),
    .tile:nth-child(9) {
        grid-column: auto;
    }

    .tile:nth-child(n + 9) { display: none; }

    .page::before {
        background:
            linear-gradient(90deg, rgba(10, 15, 11, .86), rgba(10, 15, 11, .27)),
            linear-gradient(0deg, rgba(7, 11, 8, .9), transparent 60%);
    }

    .place { display: none; }

    .hero {
        align-items: flex-end;
        padding-bottom: 130px;
    }

    h1 { font-size: clamp(50px, 16vw, 78px); }

    .intro {
        margin: 24px 0 28px;
        font-size: 19px;
    }

    .footer-note { align-items: start; }
    .footer-note p:first-child { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    .tile img {
        animation: none !important;
        transition: none;
    }

    .cta { transition: none; }
}
