:root {
    --bg: #f5f4ef;
    --bg-light: #fbfaf7;
    --text: #222721;
    --muted: #71756d;
    --green: #687462;
    --green-dark: #1e2a22;
    --green-deep: #172019;
    --line: rgba(34, 39, 33, .14);
    --white: #ffffff;
    --max-width: 1280px;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 130px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 34px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green);
}

.section-label--light {
    color: rgba(255,255,255,.64);
}

h1, h2, h3 {
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.04em;
}

h2 {
    font-size: clamp(3rem, 5.5vw, 5.7rem);
}

h2 span {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;
}

p {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 25px;
    border: 1px solid transparent;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .035em;
    transition: .25s ease;
}

.btn--primary {
    color: var(--white);
    background: var(--green-dark);
}

.btn--primary:hover {
    background: var(--green);
}

.btn--light {
    color: var(--green-dark);
    background: var(--white);
}

.btn--light:hover {
    transform: translateY(-2px);
}

.btn--link {
    padding-left: 8px;
    padding-right: 8px;
    color: var(--white);
}

.btn--link span,
.text-link span,
.btn--shop span {
    transition: transform .25s ease;
}

.btn--link:hover span,
.text-link:hover span,
.btn--shop:hover span {
    transform: translateX(5px);
}

.header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--white);
    transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.header.scrolled {
    color: var(--text);
    background: rgba(251,250,247,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -.07em;
}

.logo span {
    color: #99a78e;
}

.logo--light {
    color: var(--white);
}

.nav {
    display: flex;
    align-items: center;
    gap: 31px;
    margin-left: auto;
    margin-right: 34px;
}

.nav a {
    font-size: .82rem;
    font-weight: 600;
}

.nav a:hover {
    opacity: .62;
}

.header__shop {
    border-color: rgba(255,255,255,.42);
    color: var(--white);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.header.scrolled .header__shop {
    color: var(--white);
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: 14px;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition: .25s;
}

.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #263226;
}

.hero__background,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__background img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroScale 18s ease-out both;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(17,26,19,.78) 0%, rgba(17,26,19,.48) 43%, rgba(17,26,19,.06) 78%),
        linear-gradient(0deg, rgba(17,26,19,.48), transparent 45%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    font-size: .72rem;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.hero__eyebrow span {
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,.5);
}

.hero h1 {
    max-width: 930px;
    font-size: clamp(3.7rem, 7.2vw, 7.7rem);
    line-height: .93;
}

.hero h1 em {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.hero__description {
    max-width: 620px;
    margin-top: 34px;
    font-size: 1.04rem;
    color: rgba(255,255,255,.78);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 40px;
}

.hero__bottom {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.18);
}

.hero__bottom .container {
    display: flex;
    gap: 8px;
    padding: 22px 0;
    font-size: .82rem;
}

.hero__bottom strong {
    font-weight: 700;
}

.intro {
    background: var(--bg-light);
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
}

.intro__content {
    max-width: 950px;
}

.intro__content p {
    max-width: 690px;
    margin-top: 44px;
    margin-left: auto;
    font-size: 1.05rem;
}

.products {
    padding-top: 30px;
    background: var(--bg-light);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.45fr .55fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 65px;
}

.section-heading p {
    max-width: 430px;
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 36px;
}

.product-card {
    background: #efeee8;
}

.product-card--large {
    grid-row: span 2;
}

.product-card__image {
    display: block;
    overflow: hidden;
}

.product-card__image img {
    height: 360px;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.product-card--large .product-card__image img {
    height: 740px;
}

.product-card:hover .product-card__image img {
    transform: scale(1.035);
}

.product-card__content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 30px 31px;
}

.product-card__content > div > span {
    font-size: .67rem;
    color: var(--green);
}

.product-card h3 {
    margin-top: 6px;
    font-size: 1.7rem;
}

.product-card p {
    max-width: 410px;
    margin-top: 12px;
    font-size: .9rem;
}

.arrow-link {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: .25s;
}

.arrow-link:hover {
    color: var(--white);
    background: var(--green-dark);
}

.products__footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 42px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: .86rem;
    font-weight: 700;
}

.production {
    padding: 135px 0 110px;
    color: var(--white);
    background: var(--green-deep);
}

.production__top {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.production__text h2 {
    font-size: clamp(3rem, 5vw, 5.4rem);
}

.production__text p {
    max-width: 530px;
    margin-top: 35px;
    color: rgba(255,255,255,.63);
}

.production__image {
    overflow: hidden;
}

.production__image img {
    height: 600px;
    object-fit: cover;
    filter: saturate(.65);
    transition: transform .8s ease;
}

.production__image:hover img {
    transform: scale(1.025);
}

.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 85px;
    border-top: 1px solid rgba(255,255,255,.17);
}

.process__item {
    min-height: 220px;
    padding: 26px 24px 20px 0;
    border-right: 1px solid rgba(255,255,255,.12);
}

.process__item:not(:first-child) {
    padding-left: 24px;
}

.process__item:last-child {
    border-right: 0;
}

.process__item span {
    font-size: .66rem;
    color: rgba(255,255,255,.42);
}

.process__item h3 {
    margin-top: 35px;
    font-size: 1.22rem;
}

.process__item p {
    margin-top: 15px;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}

.numbers {
    background: #efeee8;
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.number {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 34px;
    border-right: 1px solid var(--line);
}

.number:first-child {
    padding-left: 0;
}

.number:last-child {
    border-right: 0;
}

.number strong {
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    font-weight: 500;
    letter-spacing: -.06em;
}

.number span {
    margin-top: 5px;
    color: var(--muted);
    font-size: .82rem;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-top: 90px;
}

.advantage > span {
    display: inline-block;
    margin-bottom: 35px;
    font-size: .68rem;
    color: var(--green);
}

.advantage h3 {
    font-size: 1.45rem;
}

.advantage p {
    max-width: 320px;
    margin-top: 15px;
}

.design {
    background: var(--bg-light);
}

.design__heading {
    max-width: 920px;
}

.design__heading p {
    max-width: 600px;
    margin: 34px 0 0 auto;
}

.design-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    grid-template-rows: 330px 330px;
    gap: 28px;
    margin-top: 70px;
}

.design-grid__item {
    overflow: hidden;
}

.design-grid__item--a {
    grid-row: span 2;
}

.design-grid__item img {
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.design-grid__item:hover img {
    transform: scale(1.035);
}

.b2b {
    padding: 140px 0;
    background: #dfe2d9;
}

.b2b__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.b2b__content h2 {
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.b2b__content h3 {
    margin-top: 20px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
}

.b2b__content p {
    max-width: 540px;
    margin: 28px 0 34px;
}

.b2b__services {
    border-top: 1px solid rgba(34,39,33,.22);
}

.b2b__services div {
    display: flex;
    gap: 28px;
    padding: 21px 4px;
    border-bottom: 1px solid rgba(34,39,33,.22);
    font-size: .95rem;
    font-weight: 600;
}

.b2b__services span {
    min-width: 25px;
    font-size: .67rem;
    color: var(--green);
}

.about {
    background: var(--bg-light);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: center;
}

.about__image {
    overflow: hidden;
}

.about__image img {
    height: 710px;
    object-fit: cover;
    filter: saturate(.7);
}

.about__content p {
    max-width: 540px;
    margin-top: 28px;
}

.about__content strong {
    display: block;
    margin-top: 40px;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-cta {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.shop-cta__image,
.shop-cta__overlay {
    position: absolute;
    inset: 0;
}

.shop-cta__image img {
    height: 100%;
    object-fit: cover;
}

.shop-cta__overlay {
    background: linear-gradient(90deg, rgba(20,30,22,.72), rgba(20,30,22,.22));
}

.shop-cta__content {
    position: relative;
    z-index: 2;
}

.shop-cta h2 {
    max-width: 850px;
}

.shop-cta p {
    margin: 24px 0 34px;
    color: rgba(255,255,255,.74);
}

.contact {
    background: #f2f1ec;
}

.contact__heading {
    margin-bottom: 60px;
}

.contact__paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 52px;
    background: var(--white);
}

.contact-card--dark {
    color: var(--white);
    background: var(--green-dark);
}

.contact-card > span {
    margin-bottom: 60px;
    font-size: .7rem;
    color: var(--green);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card--dark > span,
.contact-card--dark p {
    color: rgba(255,255,255,.6);
}

.contact-card h3 {
    max-width: 500px;
    font-size: 2rem;
}

.contact-card p {
    max-width: 470px;
    margin-top: 16px;
}

.contact-card .text-link {
    margin-top: auto;
}

.text-link--light {
    color: var(--white);
}

.contact__details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 70px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.contact__details > div > span {
    display: block;
    margin-bottom: 8px;
    font-size: .67rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact__details a,
.contact__details p {
    font-size: .9rem;
    color: var(--text);
}

.footer {
    padding: 65px 0 24px;
    color: var(--white);
    background: #111713;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 70px;
}

.footer__top p {
    margin-top: 10px;
    font-size: .82rem;
    color: rgba(255,255,255,.46);
}

.footer__nav {
    display: flex;
    gap: 30px;
    font-size: .82rem;
}

.footer__nav a:hover {
    opacity: .55;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .7rem;
    color: rgba(255,255,255,.44);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroScale {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1050px) {
    .nav {
        gap: 18px;
        margin-right: 18px;
    }

    .production__top,
    .about__grid,
    .b2b__grid {
        gap: 50px;
    }

    .process {
        grid-template-columns: repeat(3, 1fr);
    }

    .process__item {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(calc(100% - 34px), var(--max-width));
    }

    .section {
        padding: 90px 0;
    }

    .header__shop {
        margin-left: auto;
        min-height: 44px;
        padding: 0 15px;
        font-size: .72rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        z-index: 999;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 26px 24px;
        color: var(--text);
        background: var(--bg-light);
        transform: translateX(100%);
        transition: transform .3s ease;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .hero {
        min-height: 820px;
    }

    .hero__overlay {
        background:
            linear-gradient(90deg, rgba(17,26,19,.78), rgba(17,26,19,.3)),
            linear-gradient(0deg, rgba(17,26,19,.62), transparent 60%);
    }

    .hero h1 {
        font-size: clamp(3.3rem, 12vw, 5.2rem);
    }

    .intro__grid,
    .section-heading,
    .production__top,
    .b2b__grid,
    .about__grid {
        grid-template-columns: 1fr;
    }

    .intro__content p {
        margin-left: 0;
    }

    .section-heading {
        gap: 25px;
    }

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

    .product-card--large {
        grid-row: auto;
    }

    .product-card__image img,
    .product-card--large .product-card__image img {
        height: 470px;
    }

    .production__image img,
    .about__image img {
        height: 520px;
    }

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

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

    .number:nth-child(2) {
        border-right: 0;
    }

    .number:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .advantages {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .design-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 420px 260px;
    }

    .design-grid__item--a {
        grid-column: 1 / -1;
        grid-row: auto;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    h2 {
        font-size: 2.75rem;
    }

    .header__shop {
        font-size: 0;
        padding: 0 13px;
    }

    .header__shop::before {
        content: "Sklep";
        font-size: .72rem;
    }

    .header__shop span {
        font-size: .78rem;
    }

    .hero {
        min-height: 760px;
        align-items: flex-end;
    }

    .hero__content {
        padding-bottom: 130px;
    }

    .hero__eyebrow {
        max-width: 280px;
        flex-wrap: wrap;
        gap: 8px;
        font-size: .61rem;
    }

    .hero__eyebrow span {
        width: 20px;
    }

    .hero h1 {
        font-size: 3.65rem;
    }

    .hero__description {
        font-size: .91rem;
    }

    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .intro__grid {
        gap: 10px;
    }

    .product-card__image img,
    .product-card--large .product-card__image img {
        height: 360px;
    }

    .product-card__content {
        padding: 24px 20px;
    }

    .production {
        padding: 90px 0 70px;
    }

    .production__image img,
    .about__image img {
        height: 390px;
    }

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

    .process__item,
    .process__item:not(:first-child) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
    }

    .process__item h3 {
        margin-top: 20px;
    }

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

    .number,
    .number:first-child {
        min-height: 150px;
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .number:last-child {
        border-bottom: 0;
    }

    .design-grid {
        display: block;
    }

    .design-grid__item {
        height: 350px;
        margin-bottom: 18px;
    }

    .b2b {
        padding: 90px 0;
    }

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

    .contact-card {
        min-height: 320px;
        padding: 34px 26px;
    }

    .contact__details {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .shop-cta {
        min-height: 630px;
    }

    .footer__top,
    .footer__bottom {
        flex-direction: column;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 15px 25px;
    }
}
