:root {
    color-scheme: light;
    --ink: #1d2421;
    --muted: #666d65;
    --paper: #f5f2ea;
    --green: #cbf16c;
    --line: #dcded4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #6d8d27;
    outline-offset: 5px;
}

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

.container {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--green);
    font-size: 19px;
    letter-spacing: -0.1em;
}

.brand-domain {
    color: var(--muted);
}

nav a,
.back-to-top {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

nav a span,
.back-to-top span {
    margin-left: 8px;
}

nav a:hover,
.back-to-top:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 0.94fr;
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    padding-block: clamp(75px, 10vw, 140px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 26px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7aa92f;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 25px;
    font-size: clamp(58px, 7.5vw, 102px);
    line-height: 0.98;
    letter-spacing: -0.075em;
}

h1 span {
    color: #769e36;
}

.hero-description {
    max-width: 410px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    min-height: 53px;
    padding: 0 20px;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.button:hover {
    background: #40513a;
}

.button span {
    font-size: 19px;
}

.hero-art {
    position: relative;
    padding: 20px 20px 47px;
    background: #dce8c5;
    border-radius: 5px;
}

.hero-art-inner {
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1.12;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.art-label,
.art-index {
    position: absolute;
    bottom: 17px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.art-label {
    left: 20px;
}

.art-label span {
    margin-right: 5px;
    font-size: 14px;
}

.art-index {
    right: 20px;
}

.gallery-section {
    padding-block: 96px 110px;
    background: #e8ebe1;
}

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

.section-heading .eyebrow {
    margin-bottom: 17px;
}

.section-number {
    color: #77943f;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(37px, 5vw, 59px);
    line-height: 1.05;
    letter-spacing: -0.065em;
}

h2 em {
    color: #77943f;
    font-family: Georgia, serif;
    font-weight: 400;
}

.section-heading > p {
    max-width: 290px;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 20px;
}

.gallery-card {
    min-width: 0;
    margin: 0;
}

.gallery-image {
    height: clamp(300px, 37vw, 450px);
    overflow: hidden;
    background: #fff;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

figcaption {
    display: flex;
    justify-content: space-between;
    padding-top: 17px;
    font-size: 14px;
    font-weight: 700;
}

.card-number {
    color: #7a8178;
    font-size: 11px;
    font-weight: 500;
}

.site-footer {
    background: var(--ink);
    color: #f5f2ea;
}

.footer-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand .brand-mark {
    background: var(--green);
    color: var(--ink);
}

.footer-inner p {
    margin: 0;
    color: #b7c0b5;
    font-size: 12px;
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 36px, 1200px);
    }

    .header-inner {
        min-height: 70px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-block: 75px;
    }

    .hero-art {
        max-width: 520px;
    }

    .gallery-section {
        padding-block: 75px;
    }

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

    .gallery {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery-image {
        height: auto;
        aspect-ratio: 1.15;
    }

    .footer-inner {
        align-items: start;
        flex-direction: column;
        padding-block: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
