:root {
    --ink: #192126;
    --muted: #5d6871;
    --paper: #fbfaf7;
    --panel: #ffffff;
    --line: #d9dedc;
    --green: #1f6f5b;
    --yellow: #f0b429;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.58;
}

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

a {
    color: inherit;
}

.header {
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.94);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav,
.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand,
.back {
    font-weight: 800;
    text-decoration: none;
}

.back {
    color: var(--green);
}

.hero {
    padding: 72px 0 42px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: 0;
}

h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.7rem);
}

.lead {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.16rem;
    margin: 20px 0 0;
}

.cover {
    margin-top: 34px;
    border-radius: 8px;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.section {
    padding: 46px 0;
}

.grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

.panel,
.gallery figure {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel {
    padding: 22px;
}

.panel h2,
.panel h3 {
    margin-top: 0;
}

.panel p,
.panel li {
    color: var(--muted);
}

.panel ul,
.panel ol {
    padding-left: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 6px;
    background: var(--yellow);
    color: #1d1b13;
    font-weight: 800;
    text-decoration: none;
}

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

.gallery figure {
    margin: 0;
    overflow: hidden;
}

.gallery img,
.gallery video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #111;
}

.gallery figcaption {
    padding: 11px 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer {
    margin-top: 40px;
    padding: 26px 0;
    background: #162024;
    color: #d8e0df;
}

@media (max-width: 820px) {
    .nav,
    .grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
