:root {
    --bg: #f4efe7;
    --dark: #171512;
    --muted: #756e64;
    --accent: #c96b3b;
    --light: #fffaf2;
    --border: #ddd4c8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.5;
}

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

/* NAV */

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
}

.nav-links a {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-button {
    border: 1px solid var(--dark);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 140px 6vw 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}

h1 {
    font-size: clamp(4rem, 8vw, 8.5rem);
    line-height: 0.85;
    letter-spacing: -0.075em;
    max-width: 800px;
    margin-bottom: 35px;
}

.hero-copy {
    max-width: 480px;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    transition:
        transform 0.2s,
        background 0.2s;
}

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

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

.button-secondary {
    border: 1px solid var(--border);
}

/* HERO ART */

.coffee-art {
    width: min(42vw, 550px);
    aspect-ratio: 1;
    margin-left: auto;
    position: relative;
    display: grid;
    place-items: center;
}

.circle {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #d5b99b;
}

.cup {
    width: 58%;
    aspect-ratio: 1.25;
    background: #211d19;
    border-radius: 12% 12% 35% 35%;
    position: relative;
    z-index: 2;
    box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.18);
}

.coffee {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 84%;
    height: 25%;
    border-radius: 50%;
    background: #5b321e;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, .25);
}

.handle {
    position: absolute;
    right: -25%;
    top: 25%;
    width: 40%;
    height: 42%;
    border: 25px solid #211d19;
    border-left: 0;
    border-radius: 0 50% 50% 0;
}

.steam {
    position: absolute;
    top: -35%;
    left: 30%;
    width: 15px;
    height: 100px;
    border-left: 2px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    transform: rotate(10deg);
}

.steam.two {
    left: 50%;
    height: 130px;
    transform: rotate(-8deg);
}

/* MARQUEE */

.marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.marquee span {
    display: inline-block;
    margin-right: 45px;
    color: var(--muted);
}

/* STORY */

.story {
    padding: 140px 6vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.story h2,
.products h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: .95;
    letter-spacing: -.06em;
    margin-bottom: 30px;
}

.story p {
    max-width: 500px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.number {
    font-size: 12rem;
    font-weight: 900;
    line-height: .7;
    letter-spacing: -.1em;
    color: var(--accent);
    opacity: .9;
}

/* PRODUCTS */

.products {
    background: var(--dark);
    color: white;
    padding: 120px 6vw;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
}

.products-header p {
    max-width: 350px;
    color: #aaa39a;
}

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

.product {
    background: #24201c;
    padding: 30px;
    border-radius: 8px;
    transition: transform .25s;
}

.product:hover {
    transform: translateY(-6px);
}

.product-image {
    aspect-ratio: 1;
    background: #d4b38f;
    border-radius: 4px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    color: var(--dark);
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -.1em;
}

.product:nth-child(2) .product-image {
    background: #aeb69a;
}

.product:nth-child(3) .product-image {
    background: #c69c88;
}

.product h3 {
    font-size: 1.4rem;
    margin-bottom: 7px;
}

.product p {
    color: #aaa39a;
    font-size: .9rem;
    margin-bottom: 20px;
}

.price {
    font-weight: 700;
}

/* QUOTE */

.quote {
    padding: 150px 6vw;
    text-align: center;
}

blockquote {
    max-width: 1000px;
    margin: auto;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -.05em;
}

blockquote span {
    color: var(--accent);
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 35px 6vw;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: .8rem;
}

/* MOBILE */

@media (max-width: 800px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 130px;
    }

    .coffee-art {
        width: 85vw;
        margin: 20px auto 0;
    }

    .story {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .number {
        font-size: 8rem;
    }

    .products-header {
        display: block;
    }

    .products-header p {
        margin-top: 20px;
    }

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

    footer {
        flex-direction: column;
        gap: 10px;
    }
}