﻿:root {
    --ink: #18211b;
    --espresso: #281f1a;
    --jade: #486b5c;
    --jade2: #a8c0ad;
    --cream: #f3eee5;
    --sand: #ded1bd;
    --line: rgba(24, 33, 27, .17);
    --white: #fffaf2;
    --serif: "Segoe UI", "Avenir Next", "Trebuchet MS", Georgia, serif;
    --sans: "Segoe UI", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.5
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .04;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E")
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer;
    border: 0
}

.container {
    width: min(1220px, calc(100% - 64px));
    margin: auto
}

.eyebrow {
    font: 11px var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--jade);
    font-weight: 500
}

.display {
    font-family: var(--serif);
    letter-spacing: -.065em;
    line-height: .94
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    color: var(--white)
}

.nav {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .22)
}

.brand {
    font: 700 24px var(--serif);
    letter-spacing: -.07em
}

.navlinks {
    display: flex;
    gap: 27px;
    font-size: 12px;
    letter-spacing: .02em
}

.navlinks a {
    opacity: .82;
    transition: .25s
}

.navlinks a:hover {
    opacity: 1;
    color: #c6dbc5
}

.navright {
    display: flex;
    gap: 16px;
    align-items: center
}

.cart-button {
    color: inherit;
    background: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.cart-count {
    background: var(--jade2);
    color: var(--ink);
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    font-size: 10px
}

.hero {
    min-height: 790px;
    background: linear-gradient(90deg, rgba(11, 18, 14, .86) 0%, rgba(18, 29, 21, .48) 54%, rgba(20, 29, 24, .12) 100%), url('https://images.unsplash.com/photo-1524350876685-274059332603?auto=format&fit=crop&w=2200&q=90') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--cream) 0%, transparent 11%)
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    width: min(690px, 100%)
}

.hero h1 {
    font-size: clamp(58px, 8vw, 108px);
    margin: 21px 0 31px
}

.hero h1 em {
    font-style: normal;
    color: #c6d7c5
}

.hero-copy {
    font-size: 16px;
    max-width: 430px;
    color: rgba(255, 250, 242, .8);
    margin-bottom: 34px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    background: var(--jade);
    color: var(--white);
    padding: 16px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .09em;
    transition: .3s
}

.button:hover {
    background: #5f8874;
    transform: translateY(-2px)
}

.button.light {
    background: var(--white);
    color: var(--ink)
}

.scroll-note {
    position: absolute;
    bottom: 110px;
    right: 0;
    writing-mode: vertical-rl;
    font: 10px var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .65
}

.mountains {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 1
}

.mountains path {
    fill: var(--cream)
}

section {
    padding: 130px 0
}

.intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: end
}

.intro h2 {
    font-size: clamp(42px, 5.2vw, 72px);
    margin: 18px 0 0;
    max-width: 730px
}

.intro h2 span {
    color: var(--jade)
}

.intro p {
    font-size: 16px;
    color: #586159;
    max-width: 380px;
    margin: 0 0 5px
}

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stat {
    padding: 28px 22px 28px 0;
    border-right: 1px solid var(--line)
}

.stat:not(:first-child) {
    padding-left: 25px
}

.stat:last-child {
    border: 0
}

.stat b {
    display: block;
    font: 800 31px var(--serif);
    letter-spacing: -.05em;
    margin-bottom: 5px
}

.stat span {
    font-size: 11px;
    color: #69736b;
    text-transform: uppercase;
    letter-spacing: .05em
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px
}

.section-head h2 {
    font-size: clamp(45px, 5vw, 68px);
    margin: 14px 0 0
}

.section-head p {
    max-width: 300px;
    color: #69736b;
    font-size: 14px;
    margin: 0
}

.products {
    background: #e9e0d1
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.product {
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: .35s
}

.product:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(50, 39, 25, .13)
}

.product-image {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative
}

.product:nth-child(1) .product-image {
    background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1100&q=88')
}

.product:nth-child(2) .product-image {
    background-image: url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=1100&q=88')
}

.product:nth-child(3) .product-image {
    background-image: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=1100&q=88')
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--cream);
    padding: 7px 9px;
    font: 10px var(--mono);
    text-transform: uppercase
}

.product-info {
    padding: 22px
}

.product-info h3 {
    font: 700 24px var(--serif);
    letter-spacing: -.04em;
    margin: 0 0 8px
}

.notes {
    color: #6d756e;
    font-size: 12px;
    min-height: 42px
}

.product-meta {
    border-top: 1px solid var(--line);
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 17px
}

.price {
    font: 500 14px var(--mono)
}

.add {
    background: var(--ink);
    color: var(--white);
    padding: 11px 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .07em
}

.add:hover {
    background: var(--jade)
}

.origin {
    background: var(--ink);
    color: var(--white);
    overflow: hidden
}

.origin .eyebrow {
    color: var(--jade2)
}

.origin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center
}

.origin h2 {
    font-size: clamp(45px, 5vw, 70px);
    margin: 18px 0 28px
}

.origin h2 span {
    color: var(--jade2)
}

.origin-copy {
    color: rgba(255, 250, 242, .67);
    max-width: 445px;
    font-size: 15px
}

.origin-link {
    display: inline-flex;
    color: var(--jade2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 24px;
    border-bottom: 1px solid var(--jade2);
    padding-bottom: 8px
}

.image-stack {
    height: 560px;
    position: relative
}

.image-stack .main-img {
    width: 77%;
    height: 82%;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0
}

.image-stack .small-img {
    width: 44%;
    height: 42%;
    object-fit: cover;
    position: absolute;
    left: 0;
    bottom: 0;
    border: 12px solid var(--ink)
}

.image-label {
    position: absolute;
    right: 19%;
    bottom: 7%;
    font: 10px var(--mono);
    writing-mode: vertical-rl;
    letter-spacing: .1em;
    color: var(--jade2)
}

.finder {
    background: var(--sand)
}

.finder-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 110px;
    align-items: start
}

.finder h2 {
    font-size: clamp(42px, 5vw, 67px);
    margin: 14px 0 20px
}

.finder p {
    color: #657067;
    max-width: 320px
}

.quiz {
    background: var(--white);
    padding: 36px;
    box-shadow: 0 15px 45px rgba(60, 49, 35, .08)
}

.quiz-question {
    font: 700 20px var(--serif);
    margin: 0 0 23px
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px
}

.option {
    border: 1px solid var(--line);
    background: transparent;
    padding: 12px 15px;
    font-size: 12px;
    color: #586159
}

.option.active,
.option:hover {
    background: var(--jade);
    border-color: var(--jade);
    color: var(--white)
}

.recommendation {
    display: none;
    border-top: 1px solid var(--line);
    padding-top: 24px
}

.recommendation.show {
    display: block
}

.rec-title {
    font: 700 27px var(--serif);
    margin: 5px 0
}

.rec-copy {
    font-size: 13px;
    color: #687269
}

.newsletter {
    background: var(--jade);
    color: var(--white);
    padding: 95px 0
}

.news-grid {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.newsletter h2 {
    font-size: clamp(43px, 5vw, 66px);
    max-width: 640px;
    margin: 14px 0 0
}

.signup {
    width: min(420px, 100%);
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    padding-bottom: 10px
}

.signup input {
    background: none;
    border: 0;
    outline: 0;
    color: white;
    flex: 1;
    font: 13px var(--sans)
}

.signup input::placeholder {
    color: rgba(255, 255, 255, .7)
}

.signup button {
    background: none;
    color: var(--white);
    font: 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .08em
}

.footer {
    background: var(--espresso);
    color: var(--white);
    padding: 44px 0 25px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 60px
}

.footer-brand {
    font: 700 28px var(--serif);
    letter-spacing: -.07em
}

.footer-links {
    display: flex;
    gap: 72px
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-links strong {
    font: 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 250, 242, .75)
}

.footer-links a {
    color: rgba(255, 250, 242, .75);
    font-size: 14px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 18px;
    color: rgba(255, 250, 242, .65);
    font-size: 12px
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 18, .24);
    opacity: 0;
    pointer-events: none;
    transition: .25s
}

.overlay.show {
    opacity: 1;
    pointer-events: auto
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100vh;
    background: var(--white);
    box-shadow: -12px 0 36px rgba(16, 19, 17, .18);
    transform: translateX(103%);
    transition: .32s;
    display: flex;
    flex-direction: column;
    z-index: 30;
    padding: 32px 26px
}

.drawer.open {
    transform: translateX(0)
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.drawer-head h2 {
    margin: 0;
    font: 700 30px var(--serif);
    letter-spacing: -.04em
}

.close {
    background: none;
    font-size: 28px;
    color: var(--ink);
    padding: 0
}

.cart-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item b {
    display: block;
    font-size: 15px;
    margin-bottom: 2px
}

.cart-item small {
    color: #67736d;
    font: 12px var(--sans)
}

.remove {
    background: none;
    color: var(--jade);
    font: 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    font: 12px var(--mono);
    text-transform: uppercase;
    letter-spacing: .08em
}

.cart-total strong {
    font-size: 20px;
    font-family: var(--serif);
    letter-spacing: -.04em
}

.checkout {
    margin-top: 18px;
    justify-content: center;
    width: 100%
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media (max-width:980px) {

    .intro,
    .origin-grid,
    .finder-grid,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr;
        display: grid
    }

    .finder-grid,
    .origin-grid,
    .intro {
        gap: 42px
    }

    .products .product-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-top {
        padding-bottom: 30px
    }

    .footer-links {
        gap: 30px
    }
}

@media (max-width:700px) {
    .container {
        width: min(100% - 28px, 1220px)
    }

    .nav {
        height: 74px
    }

    .navlinks {
        display: none
    }

    .hero {
        min-height: 620px
    }

    .hero h1 {
        font-size: clamp(46px, 16vw, 75px)
    }

    .products .product-grid,
    .stats {
        grid-template-columns: 1fr
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-top: 18px
    }

    .product-image {
        height: 300px
    }

    .image-stack {
        height: 430px
    }

    .news-grid {
        display: block
    }

    .signup {
        margin-top: 25px
    }

    .footer-links {
        flex-direction: column;
        gap: 22px
    }

    .footer-bottom {
        flex-direction: column
    }

    .drawer {
        width: 100%
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .button,
    .product,
    .option {
        transition: none
    }
}