:root {
    --ink: #14291c;
    --muted: #4c5e51;
    --green: #237b44;
    --bright: #25a85a;
    --forest: #10291d;
    --sage: #eef4ea;
    --paper: #faf8f4;
    --line: #d8e2d7;
    --wrap: 1170px;
    color: var(--ink);
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
    font-size: 1rem;
    line-height: 1.6;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
button,
input,
textarea {
    font: inherit;
}
:focus-visible {
    outline: 3px solid #8a6540;
    outline-offset: 3px;
}
h1,
h2,
h3,
p {
    margin: 0 0 0.8rem;
}
h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.035em;
}
h1 {
    font-size: clamp(2.65rem, 5.2vw, 5.25rem);
    max-width: 15ch;
}
h2 {
    font-size: clamp(1.7rem, 3.1vw, 3.05rem);
}
h3 {
    font-size: 1.15rem;
}
.wrap {
    width: min(var(--wrap), calc(100% - 3rem));
    margin-inline: auto;
}
.site-header { background: white; }
.header-layout,
.brand,
.main-nav,
.header-actions,
.language-links,
.hero-actions {
    display: flex;
    align-items: center;
}
.header-layout {
    min-height: 5.1rem;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand {
    gap: 0.65rem;
    flex: none;
    font-size: 1.3rem;
}
.brand img {
    object-fit: contain;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    font-family: Georgia, serif;
}
.brand strong span,
.main-nav [aria-current],
.language-links [aria-current] {
    color: var(--green);
}
.main-nav {
    flex-wrap: wrap;
    gap: 0.45rem 1.3rem;
    font-size: 0.95rem;
}
.header-actions {
    gap: 0.85rem;
}
.language-links {
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 2.7rem;
    padding: 0.55rem 1.2rem;
    border: 1px solid transparent;
    background: var(--green);
    color: white;
    border-radius: 0.35rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.25;
}
.button:hover {
    background: #175d32;
    text-decoration: none;
}
.button-outline {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}
.button-outline:hover {
    background: #fff8;
}
.hero {
    min-height: 22rem;
    position: relative;
    display: grid;
    align-items: center;
    isolation: isolate;
    background: var(--sage);
    overflow: hidden;
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero.has-image:not(.hero-news)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        #eef4e9 0%,
        #eef4e9db 39%,
        transparent 78%
    );
}
[dir="rtl"] .hero.has-image:not(.hero-news)::before {
    transform: scaleX(-1);
}
.hero-content {
    padding-block: 4rem;
}
.hero-content p {
    max-width: 49ch;
    color: #314233;
}
.hero-actions {
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.hero-news {
    color: white;
    background: var(--forest);
    text-align: center;
    border-end-start-radius: 48% 12%;
    border-end-end-radius: 48% 12%;
}
.hero-news::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #07150ca8;
    z-index: -1;
}
.hero-news h1,
.hero-news p {
    margin-inline: auto;
    color: white;
}
.metrics {
    padding-block: 4rem;
    text-align: center;
    font-weight: 700;
    color: var(--green);
    font-size: clamp(1rem, 2vw, 1.45rem);
}
.category-band {
    background: linear-gradient(135deg, #1c8848, #41b66b);
    color: white;
    padding-block: 4rem;
}
.category-band h2 {
    margin-bottom: 2rem;
}
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}
.category-cards {
    display: grid;
    grid-auto-columns: minmax(185px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding: 0.2rem 0.2rem 1.2rem;
}
.category-cards > * {
    scroll-snap-align: start;
}
.card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: white;
    color: var(--ink);
    border: 1px solid #e1e8df;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 3px 10px #152d1710;
}
.card:hover {
    box-shadow: 0 8px 21px #15351d22;
}
.card img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: cover;
}
.card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card h3 {
    margin: 0.25rem 0 0.55rem;
    color: var(--green);
}
.card p,
.card time {
    font-size: 0.875rem;
    color: var(--muted);
}
.card-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--green);
    font-size: 0.875rem;
}
.home-section {
    padding-block: 4.5rem;
}
.home-section:nth-of-type(even) {
    background: var(--paper);
}
.home-section h2 {
    color: var(--green);
}
.home-section-grid,
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
}
.home-section-grid > img {
    width: 100%;
    max-height: 29rem;
    object-fit: cover;
    border-radius: 1.2rem;
}
.supply-chain .home-section-grid:not(:has(img)) {
    display: block;
    text-align: center;
}
.listing-layout {
    padding-block: 2rem 4rem;
}
.with-filters {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 1.25rem;
}
.filters {
    background: #f5f7f2;
    border-radius: 0.6rem;
    padding: 1rem;
    align-self: start;
}
.filters h2 {
    font-size: 1.2rem;
}
.filters a {
    display: block;
    padding: 0.3rem 0;
}
.filters [aria-current] {
    color: var(--green);
    font-weight: 750;
}
.search {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}
.search input {
    flex: 1;
    min-width: 0;
}
input,
textarea {
    width: 100%;
    border: 1px solid #bccbbc;
    border-radius: 0.4rem;
    padding: 0.65rem 0.8rem;
    background: white;
    color: var(--ink);
}
.pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.pagination a {
    color: var(--green);
    text-decoration: underline;
}
.text-page,
.detail {
    padding-block: 3rem 5rem;
}
.text-page .prose {
    max-width: 75ch;
}
.prose {
    white-space: pre-line;
}
.detail-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
    margin-top: 1.8rem;
}
.back,
.lead {
    color: var(--muted);
}
.gallery {
    margin-bottom: 1.5rem;
}
.gallery-stage { position: relative; }
.gallery-position { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-stage > [data-gallery-main] {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: var(--sage);
    border-radius: 1rem;
}
.gallery-controls button {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dce8df;
    border-radius: 50%;
    background: white;
    color: var(--forest);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 3px 12px #193c2633;
}
.gallery-controls button:hover { background: #edf5ea; }
.gallery-controls [data-gallery-previous] { inset-inline-start: .6rem; }
.gallery-controls [data-gallery-next] { inset-inline-end: .6rem; }
[dir="rtl"] .gallery-controls button span { transform: scaleX(-1); }
.thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.65rem;
    overflow: auto;
}
.thumbnails button {
    background: white;
    border: 2px solid var(--line);
    border-radius: 0.45rem;
    padding: 0.15rem;
    cursor: pointer;
    flex: none;
}
.thumbnails button[aria-pressed="true"] {
    border-color: var(--green);
}
.thumbnails img {
    width: 4.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.25rem;
}
.specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2rem;
}
.specs caption {
    text-align: start;
    font-size: 1.35rem;
    font-weight: 750;
    padding-bottom: 0.5rem;
}
.specs th,
.specs td {
    text-align: start;
    border: 1px solid var(--line);
    padding: 0.65rem 0.8rem;
}
.specs th {
    background: var(--sage);
}
.request-panel {
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    background: #f8fbf7;
    padding: 1rem;
}
.request-panel summary {
    display: flex;
    cursor: pointer;
}
.inquiry-form {
    max-width: 46rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}
.inquiry-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 650;
}
.inquiry-form input,
.inquiry-form textarea {
    margin-top: 0.25rem;
    font-weight: 400;
}
.inquiry-form .full {
    grid-column: 1/-1;
}
.notice,
.error {
    padding: 0.55rem;
    border-radius: 0.35rem;
    display: block;
}
.notice {
    margin-top: 1rem;
    background: var(--sage);
    color: var(--green);
}
.error {
    background: #fff1ee;
    color: #8f301d;
}
.site-footer {
    background: var(--forest);
    color: #f1f6ef;
    padding-top: 3.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-brand {
    font-size: 1.4rem;
}
.footer-grid h2 {
    font-size: 1.05rem;
    color: #c3d882;
}
.footer-grid a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.footer-end {
    border-top: 1px solid #81998770;
    margin-top: 2rem;
    padding-block: 1rem;
    font-size: 0.85rem;
}
@media (max-width: 1020px) {
    .header-layout {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-block: 0.75rem;
    }
    .main-nav {
        order: 3;
        width: 100%;
    }
    .cards:not(.category-cards) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 750px) {
    .wrap {
        width: calc(100% - 2rem);
    }
    .home-section-grid,
    .detail-grid,
    .with-filters {
        grid-template-columns: 1fr;
    }
    .cards:not(.category-cards),
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filters a {
        display: inline-block;
        margin-inline-end: 0.8rem;
    }
    .hero {
        min-height: 20rem;
    }
    .hero.has-image:not(.hero-news)::before {
        background: #eef4e9c7;
    }
    .header-actions .button {
        display: none;
    }
}
@media (max-width: 420px) {
    .footer-grid,
    .inquiry-form {
        grid-template-columns: 1fr;
    }
    .cards:not(.category-cards) {
        gap: 0.6rem;
    }
    .card-content {
        padding: 0.7rem;
    }
}
.hero.has-image:not(.hero-news) .hero-image {
    inset-inline-start: auto;
    width: min(63%, 62rem);
    object-position: right center;
}
[dir="rtl"] .hero.has-image:not(.hero-news) .hero-image {
    object-position: left center;
    transform: scaleX(-1);
}
.hero-news .hero-image {
    object-position: center;
}
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 1rem;
    list-style-type: none;
    padding: 0;
    margin: 2rem 0;
}
.process li {
    font-weight: 700;
}
.process span {
    display: grid;
    place-items: center;
    margin: 0 auto 0.55rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--sage);
    color: var(--green);
}
.footer-end,
.footer-end div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.7rem 1.2rem;
}
@media (max-width: 750px) {
    .hero.has-image:not(.hero-news) .hero-image {
        width: 100%;
        object-position: right center;
    }
}
.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.8rem;
    background: var(--sage);
}
.newsletter h2 {
    font-size: 1.35rem;
}
.newsletter p,
.newsletter .search {
    margin: 0;
}
.newsletter label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 650;
}
@media (max-width: 630px) {
    .newsletter {
        grid-template-columns: 1fr;
    }
}
.hero:not(.hero-news) h1 {
    max-width: 19ch;
    font-size: clamp(2.7rem, 4.6vw, 4.9rem);
}
.hero.has-image:not(.hero-news)::before {
    background: linear-gradient(
        90deg,
        var(--sage) 0%,
        var(--sage) 27%,
        #eef4e9ad 46%,
        transparent 70%
    );
}
@media (max-width: 750px) {
    .hero.has-image:not(.hero-news)::before {
        background: #eef4e9d5;
    }
}

.photo-credits {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.photo-credits a {
  text-decoration: underline;
}

.gallery-controls [data-gallery-autoplay] {
    top: auto;
    bottom: .6rem;
    inset-inline-end: .6rem;
    translate: none;
    width: auto;
    min-height: 40px;
    height: auto;
    padding: .45rem .7rem;
    font-size: .78rem;
}
