:root {
    --ink: #20231d;
    --muted: #686d61;
    --olive: #66704f;
    --olive-dark: #4f583d;
    --cream: #f5f0e5;
    --paper: #fffdf8;
    --line: rgba(32, 35, 29, 0.14);
    --accent: #597d8a;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(52, 57, 43, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.s-wrap {
    min-height: 100vh;
}

/* Top navigation */
.s-header {
    width: 100%;
    height: 122px;
    min-height: 122px;
    padding: 0 clamp(2.8rem, 5vw, 7.2rem);
    background: rgba(79, 88, 61, 0.97);
    border-bottom: 0;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: fixed;
    inset: 0 0 auto;
    box-shadow: 0 12px 35px rgba(35, 39, 28, 0.12);
    backdrop-filter: blur(18px);
}

.header__top {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    background: transparent;
    position: static;
}

.header__logo {
    position: static;
    transform: none;
    margin: 0;
}

.header__logo img {
    width: 248px;
    max-height: 106px;
}

.header__nav-wrap {
    flex: 1;
    margin: 0 0 0 clamp(3rem, 5vw, 6.5rem);
    background: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 2.8vw, 3.8rem);
    font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.header__nav li {
    width: auto;
    padding: 0;
}

.header__nav li a {
    line-height: normal;
    padding: 1.2rem 0;
    color: var(--cream);
}

.header__nav li:hover > a,
.header__nav li:focus > a,
.header__nav li.current > a {
    color: #fffdf8;
    opacity: 1;
}

.header__nav li.current > a {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    color: var(--cream);
    background: rgba(255, 253, 248, 0.12);
    border: 1px solid rgba(245, 240, 229, 0.55);
    border-radius: 999px;
    text-decoration: none;
}

.header__nav li.current > a::after {
    display: none;
}

.header__social {
    display: none;
}

.header__social a {
    background: rgba(255, 255, 255, 0.09);
}

.s-search,
.pgn {
    display: none;
}

/* Shared page frame */
.s-content,
.s-footer {
    width: 100%;
    max-width: none;
    padding-left: 0;
}

.s-content {
    padding-top: 122px;
}

.s-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 3rem 5rem;
    border-top: 1px solid var(--line);
    font-size: 1.35rem;
}

.footer__copyright {
    white-space: normal;
}

.go-top a,
.go-top a:visited {
    background-color: var(--olive-dark);
    border-radius: 50%;
}

/* Homepage */
.home-intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(4.5rem, 6vw, 7rem) 3rem clamp(6rem, 8vw, 9rem);
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(4rem, 7vw, 8rem);
    align-items: center;
}

.home-intro__eyebrow,
.listing-intro__eyebrow {
    margin: 0 0 2rem;
    color: var(--olive-dark);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-intro h1 {
    max-width: 820px;
    margin: 0 0 3rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 5.5vw, 6.8rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.home-intro h1 em {
    color: var(--olive);
    font-weight: 400;
}

.home-intro__photo {
    width: 100%;
    max-width: 380px;
    position: relative;
    justify-self: center;
}

.home-intro__photo::after {
    content: "";
    width: 70%;
    height: 70%;
    border: 1px solid rgba(79, 88, 61, 0.26);
    border-radius: var(--radius);
    position: absolute;
    right: -1.8rem;
    bottom: -1.8rem;
    z-index: -1;
}

.home-intro__photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow);
}

.home-intro__copy p {
    max-width: 680px;
    margin: 0 0 1.8rem;
    color: var(--muted);
    font-size: 1.8rem;
    line-height: 1.7;
}

.home-intro__copy .home-intro__eyebrow {
    margin-bottom: 2.4rem;
    color: var(--ink);
    font-size: clamp(3.4rem, 4.5vw, 5.2rem);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.1;
    text-transform: none;
}

.home-intro__copy .text-link {
    margin-top: 1rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--olive-dark);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-link::after {
    content: "↗";
    font-size: 1.6rem;
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translate(3px, -3px);
}

.section-heading {
    max-width: 1180px;
    margin: 0 auto 3rem;
    padding: 0 3rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0 0 2rem;
    font-size: clamp(2.6rem, 3vw, 4rem);
    letter-spacing: -0.025em;
}

.section-heading span {
    color: var(--muted);
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Listing cards */
.masonry-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 3rem 10rem;
}

.masonry {
    width: 100% !important;
    height: auto !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.masonry .grid-sizer {
    display: none;
}

.masonry__brick {
    width: auto !important;
    margin: 0 !important;
    padding: 0;
    position: static !important;
    transform: none !important;
}

.masonry .entry {
    margin: 0;
    height: 100%;
    border: 1px solid rgba(32, 35, 29, 0.09);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.masonry .entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.masonry .entry__thumb {
    aspect-ratio: 16 / 9;
}

.masonry .entry__thumb-link,
.masonry .entry__thumb-link img {
    width: 100%;
    height: 100%;
}

.masonry .entry__thumb-link img {
    object-fit: cover;
}

.masonry .entry__thumb-link::before,
.masonry .entry__thumb-link::after {
    display: none;
}

.masonry .entry__text,
.masonry .entry:not(:has(.entry__thumb)) .entry__text {
    padding: clamp(2.8rem, 4vw, 4.2rem);
}

.masonry .entry__title {
    margin-bottom: 1.4rem;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    line-height: 1.13;
    letter-spacing: -0.025em;
}

.masonry .entry__meta {
    color: var(--olive-dark);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.masonry .entry__excerpt {
    margin-top: 2.4rem;
}

.masonry .entry__excerpt p {
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1.7;
}

.text-only-card {
    min-height: 330px;
}

/* Compact homepage postcard grid */
.home-posts {
    max-width: 1000px;
}

.home-posts .masonry {
    height: auto !important;
    display: flex;
    gap: 2rem;
}

.home-post-column {
    min-width: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.home-posts .masonry__brick {
    padding: 0;
}

.home-posts .entry {
    width: 100% !important;
    min-height: 0;
    display: block;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

.home-posts .entry__thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.home-posts .entry__text,
.home-posts .entry:not(:has(.entry__thumb)) .entry__text {
    padding: 2.6rem 2.8rem;
    background: #ffffff;
}

.home-posts .entry__title {
    margin-bottom: 1.2rem;
    font-size: clamp(2rem, 2.4vw, 2.6rem);
}

.home-posts .entry__excerpt {
    margin-top: 1.6rem;
}

.home-posts .entry__excerpt p {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.6;
}

.home-posts .entry__meta {
    font-size: 0.95rem;
}

.home-posts .text-only-card {
    min-height: 250px;
}

/* Interior pages */
.listing-intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(7rem, 10vw, 11rem) 3rem 5rem;
}

.listing-intro h1 {
    max-width: 800px;
    margin: 0 0 1.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.4rem, 6vw, 7.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.listing-intro p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 1.75rem;
    line-height: 1.65;
}

.empty-page-message {
    min-height: 320px;
    padding: 6rem;
    border: 1px dashed rgba(32, 35, 29, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.45);
    display: grid;
    place-items: center;
    text-align: center;
}

.empty-page-message p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 1.8rem;
}

.content__page {
    max-width: 850px;
    padding: clamp(7rem, 10vw, 11rem) 3rem 10rem;
}

.content__page .entry {
    background: transparent;
}

.content__page .media-wrap img {
    border-radius: var(--radius);
}

.content__page-header {
    text-align: left;
}

.content__page-header .display-1,
.content__page .entry__header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 6vw, 6.8rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.content__page p,
.entry__content p {
    color: #3e4239;
    font-size: 1.8rem;
    line-height: 1.8;
}

.entry__content img,
.entry__media img,
.entry__post-thumb img {
    border-radius: var(--radius);
}

.entry__tags {
    display: none;
}

.about-page-socials {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.about-page-socials > p {
    margin: 0 0 1.4rem;
    color: var(--olive-dark);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-page-socials > div {
    display: flex;
    gap: 1.2rem;
}

.about-page-socials a {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: var(--olive-dark);
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-page-socials a:hover,
.about-page-socials a:focus {
    background: var(--olive);
    transform: translateY(-2px);
}

.about-page-socials img {
    width: 2.8rem;
    height: 2.8rem;
    margin: 0;
}

.content__page.about-page {
    max-width: 1180px;
}

.about-page__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(4rem, 7vw, 8rem);
    align-items: start;
}

.about-page__photo {
    position: relative;
}

.about-page__photo::after {
    content: "";
    width: 72%;
    height: 72%;
    border: 1px solid rgba(79, 88, 61, 0.25);
    border-radius: var(--radius);
    position: absolute;
    right: -1.6rem;
    bottom: -1.6rem;
    z-index: -1;
}

.about-page__photo img {
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-page__copy .content__page-header {
    margin-bottom: 3rem;
}

.about-page__copy p {
    font-size: 1.7rem;
}

@media screen and (max-width: 1100px) {
    .s-header {
        height: 118px;
        min-height: 118px;
        padding: 0 2.6rem;
        display: flex;
        background: rgba(79, 88, 61, 0.97);
    }

    .header__top {
        width: auto;
        height: auto;
        background: transparent;
        position: static;
    }

    .header__logo img {
        width: 232px;
        max-height: 100px;
    }

    .header__nav-wrap {
        opacity: 1;
        visibility: visible;
        width: auto;
        height: auto;
        margin: 0 0 0 3rem;
        padding: 0;
        background: transparent;
        overflow: visible;
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        border: 0;
    }

    .header__nav {
        display: flex;
        gap: clamp(1.6rem, 2.2vw, 2.8rem);
        border: 0;
        font-size: 1.7rem;
    }

    .header__nav li {
        width: auto;
        border: 0;
    }

    .header__nav > li > a {
        line-height: normal;
        white-space: nowrap;
    }

    .header__nav li.current > a::after {
        display: none;
    }

    .header__menu-toggle,
    .header__social {
        display: none;
    }

    .s-content {
        padding-top: 118px;
    }
}

@media screen and (max-width: 760px) {
    .s-header {
        height: 154px;
        min-height: 154px;
        padding: 0;
        display: block;
        background: var(--olive-dark);
        box-shadow: 0 8px 28px rgba(35, 39, 28, 0.1);
    }

    .header__top {
        height: 98px;
        position: relative;
        background: var(--olive-dark);
    }

    .header__logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .header__logo img {
        width: 232px;
        max-height: 94px;
    }

    .header__menu-toggle {
        display: none;
    }

    .header__nav-wrap {
        opacity: 1;
        visibility: visible;
        width: 100%;
        height: 56px;
        margin: 0;
        padding: 0 2.2rem;
        background: var(--paper);
        overflow-x: auto;
        overflow-y: hidden;
        position: absolute;
        top: 98px;
        left: 0;
        display: block;
        scrollbar-width: none;
        border: 0;
    }

    .header__nav-wrap::-webkit-scrollbar {
        display: none;
    }

    .header__nav {
        width: max-content;
        display: flex;
        gap: 2.6rem;
        border: 0;
        font-size: 1.42rem;
    }

    .header__nav > li {
        width: auto;
        border: 0;
        flex: 0 0 auto;
    }

    .header__nav > li > a {
        line-height: 56px;
        padding: 0;
        color: var(--muted);
        white-space: nowrap;
    }

    .header__nav li.current > a {
        position: relative;
        padding: 0;
        color: var(--olive-dark);
        background: transparent;
    }

    .header__nav li.current > a::after {
        content: "";
        display: block;
        height: 2px;
        margin: -9px 0 0;
        background: var(--olive-dark);
    }

    .header__social {
        display: none;
    }

    .s-content {
        padding-top: 154px;
    }

    .home-intro {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-top: 4.5rem;
    }

    .home-intro__photo {
        max-width: 400px;
    }

    .home-intro__photo img {
        aspect-ratio: 4 / 5;
        object-position: center;
    }

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

    .section-heading {
        align-items: flex-end;
    }

    .section-heading span {
        display: none;
    }

    .text-only-card {
        min-height: 0;
    }

    .about-page__layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-page__photo {
        max-width: 440px;
    }

    .about-page__photo img {
        aspect-ratio: 4 / 5;
        object-position: center;
    }

    .home-posts .entry {
        display: block;
    }

    .home-posts .entry__thumb {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .home-posts .masonry {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .home-intro,
    .listing-intro,
    .section-heading,
    .masonry-wrap,
    .content__page {
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }

    .home-intro h1 {
        font-size: 4.6rem;
    }

    .masonry .entry__text,
    .masonry .entry:not(:has(.entry__thumb)) .entry__text {
        padding: 2.8rem 2.6rem;
    }

    .empty-page-message {
        padding: 4rem 2.5rem;
    }

    .s-footer {
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
}
