:root {
    --ink: #163d2a;
    --cream: #f8f5ee;
    --sand: #e8dfcf;
    --orange: #e88729;
    --olive: #788452;
    --white: #fffdfa
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 16px/1.6 'DM Sans', sans-serif
}

h1,
h2,
h3 {
    font-family: Fraunces, serif;
    line-height: 1.08;
    margin: 0 0 20px;
    font-weight: 600
}

h1 {
    font-size: clamp(3.2rem, 6vw, 6.6rem)
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4.3rem)
}

h3 {
    font-size: 1.6rem
}

p {
    margin: 0 0 18px
}

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

.topbar {
    background: var(--ink);
    color: #e6eadf;
    text-align: center;
    padding: 8px 20px;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em
}

.topbar span {
    color: #e7a554;
    margin: 0 9px
}

.header {
    height: 104px;
    background: var(--white);
    display: flex;
    padding: 10px 6%;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 4
}

.logo {
    display: block;
    width: 245px
}

.logo img {
    display: block;
    width: 100%;
    height: auto
}

.header nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em
}

.header nav a:hover {
    color: var(--orange)
}

.header-cta,
.button {
    background: var(--orange);
    color: #fff;
    padding: 13px 19px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    border: 1px solid var(--orange);
    display: inline-block;
    cursor: pointer;
    transition: .2s
}

.header-cta {
    padding: 11px 13px;
    white-space: nowrap
}

.button:hover {
    background: #c96d14;
    border-color: #c96d14
}

.menu {
    display: none;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--ink)
}

.hero {
    min-height: 650px;
    padding: 110px 10%;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, #133223dc 0%, #1332238c 45%, #13322312 80%), url('img/frontimg.png') center/cover
}

.hero-copy {
    max-width: 760px
}

.kicker {
    font-size: .68rem;
    letter-spacing: .16em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px
}

.hero .kicker {
    color: #edb76e
}

.hero-copy>p:not(.kicker) {
    font-size: 1.08rem;
    max-width: 570px;
    color: #edf0e9
}

.hero-copy>div {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 25px
}

.plain-link {
    font-size: .76rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .07em;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px
}

.plain-link b,
.text-link b {
    font-size: 1.2rem;
    margin-left: 5px
}

.hero-stamp {
    position: absolute;
    right: 8%;
    bottom: 55px;
    width: 150px;
    height: 150px;
    border: 1px solid #ffffffa1;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    transform: rotate(-12deg);
    font-size: .56rem;
    letter-spacing: .12em
}

.hero-stamp b {
    font-family: Fraunces;
    font-size: 1.7rem;
    line-height: .85;
    margin: 9px 0
}

.intro {
    padding: 120px 11%;
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 14%
}

.intro>div:last-child {
    max-width: 500px
}

.intro>div:last-child>p:not(.kicker) {
    font-size: 1.05rem
}

.image-stack {
    height: 570px;
    position: relative;
    padding: 0 50px 48px 0
}

.image-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.image-stack span {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: var(--orange);
    color: #fff;
    font: 1.45rem/1.2 Fraunces;
    width: 190px
}

.text-link {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px
}

.collection {
    background: #eee7da;
    padding: 110px 7%
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 45px
}

.product-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.product-card {
    background: var(--white);
    overflow: hidden
}

.product-card img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
    transition: .5s
}

.product-card:hover img {
    transform: scale(1.04)
}

.product-card div {
    padding: 20px
}

.product-card p {
    margin: 0 0 7px;
    color: var(--orange);
    font-size: .65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .12em
}

.product-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px
}

.product-card span {
    font-size: .69rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .06em
}

.services {
    padding: 115px 10%;
    background: var(--ink);
    color: #f4f3eb;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 12%
}

.services .kicker,
.origin .kicker {
    color: #e9ae60
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.service-cards article {
    border-top: 1px solid #ffffff52;
    padding-top: 20px
}

.service-cards b {
    color: #eb9d49;
    font-size: .7rem;
    letter-spacing: .12em
}

.service-cards h3 {
    font-size: 1.45rem;
    margin: 13px 0
}

.service-cards p {
    font-size: .88rem;
    color: #d8ddd5
}

.origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #d8c8aa
}

.origin-image {
    min-height: 550px;
    background: url('img/frontimg.png') center/cover
}

.origin-copy {
    padding: 13%;
    align-self: center
}

.origin-copy>p:not(.kicker) {
    max-width: 470px
}

.light {
    background: var(--ink);
    border-color: var(--ink);
    margin-top: 10px
}

.contact {
    padding: 105px 12%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13%;
    background: var(--white)
}

.contact>div>p:not(.kicker) {
    max-width: 430px;
    font-size: 1.05rem
}

.contact form {
    background: var(--cream);
    padding: 35px
}

.contact label {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    display: block;
    margin-bottom: 13px
}

.contact input,
.contact select,
.contact textarea {
    width: 100%;
    display: block;
    margin-top: 5px;
    padding: 11px;
    border: 1px solid #ddd5c7;
    background: #fffefa;
    font: inherit;
    color: var(--ink)
}

.contact .button {
    width: 100%;
    border: 0;
    margin-top: 8px
}

footer {
    background: #102d20;
    color: #f2f1e8;
    padding: 60px 8%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px
}

footer img {
    width: 230px;
    background: #fff;
    padding: 3px
}

footer p {
    color: #bcc6bb;
    max-width: 390px;
    font-size: .88rem;
    margin-top: 20px
}

footer h4 {
    text-transform: uppercase;
    font-size: .68rem;
    letter-spacing: .12em;
    color: #e8ad61;
    margin: 0 0 14px
}

footer div:not(.footer-brand) a {
    display: block;
    color: #d8ded6;
    font-size: .83rem;
    margin: 7px 0
}

footer small {
    grid-column: 1/-1;
    color: #879688;
    font-size: .7rem;
    margin-top: 15px
}

.wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    border-radius: 28px;
    background: #27b765;
    color: white;
    padding: 12px 17px;
    z-index: 6;
    font-weight: 700;
    font-size: .8rem;
    box-shadow: 0 5px 18px #0004
}

.page-head {
    text-align: center;
    padding: 105px 20px 80px;
    background: #e9e0d1
}

.page-head>p:last-child {
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem
}

.catalog {
    padding: 65px 7% 110px
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 42px
}

.filters a {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    border: 1px solid #cfc4b2;
    padding: 9px 13px
}

.filters a.active,
.filters a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-detail>div:last-child {
    padding: 13% 15%;
    align-self: center
}

.back {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    display: inline-block;
    border-bottom: 1px solid;
    margin-bottom: 50px
}

.product-detail .kicker {
    margin-top: 0
}

.lead {
    font: 1.35rem/1.4 Fraunces
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #d5ccbf;
    border-bottom: 1px solid #d5ccbf;
    margin: 28px 0;
    padding: 15px 0;
    gap: 12px;
    font-size: .86rem
}

.specs b {
    display: block;
    text-transform: uppercase;
    font-size: .63rem;
    letter-spacing: .1em;
    color: var(--orange)
}

.steps {
    padding: 0 10% 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px
}

.steps article {
    padding-top: 25px;
    border-top: 2px solid var(--orange)
}

.steps b {
    font-size: .75rem;
    color: var(--orange);
    font-weight: 700
}

.steps h2 {
    font-size: 2rem;
    margin: 13px 0
}

.center-cta,
.thank {
    text-align: center;
    background: var(--ink);
    color: #fff;
    padding: 90px 20px
}

.center-cta .button {
    margin-top: 15px
}

.text-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 25px 110px
}

.text-page h2 {
    font-size: 2rem;
    margin-top: 45px
}

.gallery {
    padding: 0 6% 100px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 10px
}

.gallery img {
    width: 100%;
    height: 310px;
    object-fit: cover
}

.gallery img:first-child {
    height: 630px;
    grid-row: span 2
}

.thank {
    min-height: 55vh;
    padding-top: 130px
}

.thank .kicker {
    color: #ebb267
}

.admin-head {
    background: var(--ink);
    height: 74px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff
}

.admin-head a {
    font-size: .8rem
}

.admin-wrap {
    max-width: 1200px;
    padding: 55px 25px;
    margin: auto
}

.admin-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px
}

.admin-button {
    background: var(--orange);
    color: #fff;
    padding: 11px 15px;
    font-size: .75rem;
    font-weight: 700
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: .85rem
}

.table th,
.table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e9e3d7
}

.table th {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: #f4eee2
}

.admin-form {
    max-width: 800px;
    background: #fff;
    padding: 35px
}

.admin-form label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 12px 0
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd5c7;
    font: inherit
}

.login {
    min-height: 100vh;
    background: var(--ink);
    display: grid;
    place-items: center
}

.login form {
    background: #fffdf8;
    padding: 42px;
    width: min(410px, 90%)
}

.login .button {
    width: 100%;
    margin-top: 12px
}

@media(max-width:1000px) {
    .header nav {
        gap: 10px;
        font-size: .65rem
    }

    .product-grid,
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .intro {
        gap: 8%
    }

    .services {
        gap: 7%
    }
}

@media(max-width:700px) {
    .topbar {
        font-size: .56rem
    }

    .header {
        height: 78px;
        padding: 8px 5%
    }

    .logo {
        width: 185px
    }

    .menu {
        display: block;
        margin-left: auto
    }

    .header-cta {
        display: none
    }

    .header nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--ink);
        color: #fff;
        padding: 22px 6%;
        flex-direction: column;
        gap: 15px;
        font-size: .75rem
    }

    .header nav.show {
        display: flex
    }

    .hero {
        min-height: 610px;
        padding: 80px 8%
    }

    .hero-stamp {
        display: none
    }

    .hero-copy>div {
        gap: 15px;
        flex-wrap: wrap
    }

    .intro,
    .services,
    .origin,
    .contact,
    .product-detail {
        grid-template-columns: 1fr
    }

    .intro {
        padding: 75px 8%
    }

    .image-stack {
        height: 410px;
        padding-right: 30px
    }

    .collection {
        padding: 75px 6%
    }

    .section-title {
        display: block
    }

    .section-title .text-link {
        display: inline-block;
        margin-top: 4px
    }

    .product-grid,
    .catalog-grid {
        gap: 12px
    }

    .product-card img {
        height: 220px
    }

    .product-card div {
        padding: 15px
    }

    .product-card h3 {
        font-size: 1.25rem
    }

    .services {
        padding: 75px 8%
    }

    .service-cards {
        grid-template-columns: 1fr
    }

    .origin-image {
        min-height: 350px
    }

    .origin-copy {
        padding: 75px 8%
    }

    .contact {
        padding: 75px 8%;
        gap: 35px
    }

    .contact form {
        padding: 25px 18px
    }

    footer {
        grid-template-columns: 1fr;
        padding: 45px 8%;
        gap: 28px
    }

    .page-head {
        padding: 75px 20px 55px
    }

    .catalog {
        padding: 45px 6% 75px
    }

    .product-detail .detail-image {
        height: 420px
    }

    .product-detail>div:last-child {
        padding: 65px 9%
    }

    .back {
        margin-bottom: 35px
    }

    .steps {
        grid-template-columns: 1fr;
        padding: 0 9% 70px
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        padding: 0 4% 70px
    }

    .gallery img {
        height: 200px
    }

    .gallery img:first-child {
        height: 410px
    }

    .wa span {
        display: none
    }

    .wa {
        border-radius: 50%;
        padding: 13px;
        width: 48px;
        height: 48px;
        text-align: center
    }
}