:root {
    --green: #128c18;
    --forest: #2f7020;
    --deep: #153d1a;
    --lavender: #aa85a7;
    --cream: #f7f3e8;
    --ink: #20251f;
    --muted: #697066;
    --shell: min(1160px, calc(100% - 40px));
    --script: "Snell Roundhand", "Segoe Script", "URW Chancery L", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 17px/1.72 "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    line-height: 1.18;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 10px 16px;
    background: #fff;
}

.skip-link:focus {
    top: 10px;
}

.topbar {
    color: #fff;
    background: var(--green);
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 7px;
}

.topbar a {
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgb(255 255 255 / 0.97);
    border-bottom: 1px solid #e9e8e2;
}

.header-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    flex: 0 1 380px;
}

.brand img {
    width: min(100%, 360px);
}

.site-nav > ul {
    display: flex;
    align-items: center;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    position: relative;
}

.site-nav a {
    display: block;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav > ul > li > a {
    padding: 42px 0 38px;
    border-bottom: 3px solid transparent;
}

.site-nav li.active > a,
.site-nav a:hover {
    color: var(--green);
    border-color: var(--green);
}

.site-nav ul ul {
    position: absolute;
    top: calc(100% - 1px);
    left: -20px;
    display: none;
    min-width: 230px;
    margin: 0;
    padding: 12px 0;
    background: #fff;
    border-top: 3px solid var(--green);
    box-shadow: 0 12px 35px rgb(20 40 20 / 0.14);
    list-style: none;
}

.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
    display: block;
}

.site-nav ul ul a {
    padding: 10px 20px;
    border: 0;
    letter-spacing: 0.04em;
    text-transform: none;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.button {
    display: inline-block;
    padding: 14px 25px;
    color: #161516;
    background: var(--lavender);
    border: 2px solid var(--lavender);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.button:hover {
    color: #fff;
    background: #76087a;
    border-color: #76087a;
    transform: translateY(-2px);
}

.button-light {
    color: var(--deep);
    background: #fff;
    border-color: #fff;
}

.home-hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: center;
    color: #fff;
    background: url('/assets/site/hero.jpg') center 45% / cover fixed;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(10 32 13 / 0.69), rgb(10 25 12 / 0.12) 70%);
}

.hero-copy {
    position: relative;
    padding-block: 90px;
}

.hero-copy p {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 820px;
    margin: 0 0 32px;
    font-family: var(--script);
    font-size: clamp(4.2rem, 9vw, 7.7rem);
    font-weight: 400;
    line-height: 0.92;
}

.scroll-cue {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    animation: bob 1.8s infinite;
}

@keyframes bob {
    50% {
        transform: translateY(7px);
    }
}

.eyebrow {
    color: var(--green);
    font-size: 0.77rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.welcome {
    max-width: 770px;
    padding-block: 95px 70px;
    text-align: center;
}

.welcome h2,
.film-layout h2,
.latest h2 {
    margin: 3px 0 18px;
    font-family: var(--script);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 400;
}

.intro {
    margin: 0;
    color: var(--muted);
    font-size: 1.14rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 105px;
}

.feature-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    background: var(--deep);
    text-decoration: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgb(9 28 12 / 0.83));
}

.feature-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover img {
    transform: scale(1.045);
}

.feature-card span {
    position: absolute;
    z-index: 1;
    right: 30px;
    bottom: 28px;
    left: 30px;
    font-family: var(--script);
    font-size: 2.45rem;
    line-height: 1.1;
}

.feature-card small {
    display: block;
    margin-bottom: 7px;
    font: 700 0.68rem/1.2 "Avenir Next", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.film-section {
    padding-block: 95px;
    background: var(--cream);
}

.film-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.3fr;
    align-items: center;
    gap: 70px;
}

.film-layout p:last-child {
    color: var(--muted);
}

.film-layout .video-frame {
    margin: 0;
}

.latest {
    padding-block: 100px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading a {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-hero {
    padding-block: 78px 86px;
    color: #fff;
    background:
        linear-gradient(rgb(19 55 25 / 0.86), rgb(19 55 25 / 0.86)),
        url('/assets/site/hero.jpg') center / cover;
}

.page-hero span {
    color: #d3edca;
    font-size: 0.77rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 820px;
    margin: 8px 0 0;
    font-family: var(--script);
    font-size: clamp(3.6rem, 7vw, 6.6rem);
    font-weight: 400;
    line-height: 0.92;
}

.page-hero p {
    max-width: 590px;
    margin: 20px 0 0;
}

.article-heading > a {
    display: inline-block;
    margin-bottom: 46px;
    color: #d3edca;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.article-heading time {
    display: block;
    color: #d3edca;
    font-size: 0.77rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e6df;
    box-shadow: 0 12px 35px rgb(31 49 27 / 0.07);
}

.post-image {
    display: block;
    height: 235px;
    overflow: hidden;
    background: var(--cream);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}

.post-card:hover .post-image img {
    transform: scale(1.035);
}

.post-card-content {
    padding: 28px;
}

.post-card time {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.post-card h2 {
    margin: 7px 0 12px;
    font-family: Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.page-content .blog-posts {
    margin: 1.5rem 0;
}

.page-content .blog-posts .post-grid {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.page-content .post-card h2 {
    margin: 7px 0 12px;
    font-size: 1.55rem;
}

.page-content .post-card a {
    text-decoration: none;
}

.page-content a img {
    cursor: pointer;
}

.read-more,
.page-content .read-more {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-article {
    max-width: 920px;
    padding-block: 80px 110px;
}

.page-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 42px;
}

.page-row + .page-row {
    margin-top: 45px;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    box-shadow: 0 25px 55px rgb(35 48 31 / 0.18);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pinterest-board {
    min-height: 560px;
    padding: 20px;
    background: var(--cream);
    text-align: center;
}

.page-content img {
    cursor: zoom-in;
}

body:has(.lightbox[open]) {
    overflow: hidden;
}

.lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(12 18 12 / 0.94);
    color: #fff;
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
}

.lightbox::backdrop {
    background: transparent;
}

.lightbox figure {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100dvh;
    margin: 0;
    padding: 40px 0;
}

.lightbox img {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 110px);
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
}

.lightbox button {
    padding: 12px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
}

.lightbox button:hover,
.lightbox button:focus-visible {
    opacity: 1;
}

.lightbox button[hidden] {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 2.2rem;
}

.lightbox-previous {
    grid-column: 1;
    grid-row: 1;
}

.lightbox-next {
    grid-column: 3;
    grid-row: 1;
}

.lightbox-count {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    color: #cfd8cc;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.visit-strip {
    color: #fff;
    background: var(--forest);
}

.visit-inner {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.visit-strip span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.visit-strip h2 {
    margin: 2px 0 0;
    font-family: var(--script);
    font-size: 3.7rem;
    font-weight: 400;
}

.site-footer {
    padding-block: 38px;
    background: #f7f7f3;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-inner img {
    width: 230px;
}

.footer-inner a {
    color: var(--forest);
    text-decoration: none;
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 86px;
    }

    .brand {
        flex-basis: 285px;
    }

    .menu-toggle {
        display: grid;
        grid-template-columns: 25px auto;
        align-items: center;
        column-gap: 9px;
        padding: 10px 0;
    }

    .menu-toggle span {
        grid-column: 1;
        display: block;
        width: 25px;
        height: 2px;
        margin: 2px 0;
        background: var(--deep);
    }

    .menu-toggle b {
        grid-column: 2;
        grid-row: 1 / 4;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 15px 20px 28px;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 15px 30px rgb(0 0 0 / 0.1);
    }

    .menu-open .site-nav {
        display: block;
    }

    .site-nav > ul {
        display: block;
    }

    .site-nav > ul > li > a,
    .site-nav ul ul a {
        padding: 11px 0;
        border: 0;
    }

    .site-nav ul ul {
        position: static;
        display: block;
        padding: 0 0 5px 20px;
        border: 0;
        box-shadow: none;
    }

    .film-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 720px) {
    :root {
        --shell: min(100% - 28px, 1160px);
    }

    body {
        font-size: 16px;
    }

    .topbar-inner {
        justify-content: center;
    }

    .topbar a {
        display: none;
    }

    .brand {
        flex-basis: 230px;
    }

    .home-hero {
        min-height: 67vh;
        background-attachment: scroll;
    }

    .hero-copy h1 {
        font-size: clamp(3.8rem, 18vw, 5.5rem);
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding-bottom: 75px;
    }

    .feature-card,
    .feature-card img {
        min-height: 350px;
    }

    .welcome,
    .latest {
        padding-block: 70px;
    }

    .film-section {
        padding-block: 70px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        padding-block: 55px 62px;
    }

    .lightbox[open] {
        grid-template-columns: 40px 1fr 40px;
    }

    .lightbox button {
        padding: 6px;
        font-size: 2rem;
    }

    .page-article {
        padding-block: 55px 75px;
    }

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

    .page-row {
        grid-auto-flow: row;
        gap: 28px;
    }

    .page-row + .page-row {
        margin-top: 28px;
    }

    .visit-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .visit-inner {
        justify-content: center;
        padding-block: 45px;
    }

    .footer-inner {
        align-items: center;
        text-align: center;
    }
}
