/* =========================================================
   ATELIER — PREMIUM MINIMALIST STORE
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #171717;
    --dark: #242424;
    --text: #363636;
    --muted: #777;
    --light: #f6f5f2;
    --white: #ffffff;
    --line: #deddd8;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1240px;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin-inline: auto;
}

.eyebrow {
    display: block;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;

    color: #777;
}

.text-link {
    display: inline-block;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;

    border-bottom: 1px solid var(--black);

    padding-bottom: 5px;

    transition: .3s ease;
}

.text-link:hover {
    opacity: .5;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    background: rgba(255,255,255,.96);

    border-bottom: 1px solid #eee;

    position: relative;
    z-index: 20;
}

.nav {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 4px;
}

.logo span {
    font-family: var(--serif);
    font-size: 25px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.menu a {
    position: relative;

    color: #666;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition: .3s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--black);
}

.menu a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background: var(--black);
}

.nav-cart {
    border: 1px solid var(--black);

    padding: 10px 22px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: .3s ease;
}

.nav-cart:hover {
    background: var(--black);
    color: white;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 100px 0 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.hero-content {
    padding-left: 30px;
}

.hero-content h1 {
    margin-top: 24px;

    font-size: clamp(55px, 6vw, 92px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: -4px;

    color: var(--black);
}

.hero-content h1 em,
.hero h2 em,
.statement-section em,
.page-hero h1 em,
.about-content h2 em,
.collection-banner em,
.newsletter h2 em {
    font-family: var(--serif);
    font-weight: 400;
}

.hero-content > p {
    max-width: 470px;

    margin: 35px 0;

    color: #666;

    font-size: 16px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 28px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-dark {
    background: var(--black);
    color: white;

    transition: .3s ease;
}

.btn-dark:hover {
    background: #444;
}

.hero-visual {
    position: relative;
}

.hero-image {
    height: 680px;
    overflow: hidden;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
}

.hero-label {
    position: absolute;

    left: -55px;
    bottom: 35px;

    background: white;

    padding: 20px 25px;

    display: flex;
    align-items: center;
    gap: 20px;

    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.hero-label span {
    font-family: var(--serif);
    font-size: 28px;
}

.hero-label p {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 1.5px;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    padding: 130px 0;

    background: var(--light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 70px;
}

.section-number {
    font-family: var(--serif);
    font-size: 30px;
}

.intro-grid h2 {
    margin: 20px 0 30px;

    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -2px;
}

.large-text {
    max-width: 650px;

    margin-bottom: 30px;

    font-size: 19px;
    line-height: 1.8;

    color: #5d5d5d;
}


/* =========================================================
   FEATURED
========================================================= */

.featured-section {
    padding: 130px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 14px;

    font-size: 55px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: .78;
    background: #eee;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 2;

    background: white;

    padding: 6px 10px;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.product-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 17px 2px;
}

.product-info h3 {
    color: var(--black);

    font-size: 14px;
    font-weight: 500;
}

.product-info p {
    color: #888;

    font-size: 11px;
}

.product-info strong {
    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement-section {
    padding: 170px 0;

    background: var(--black);
    color: white;

    text-align: center;
}

.statement-section .eyebrow {
    color: #aaa;
}

.statement-section h2 {
    margin-top: 30px;

    font-size: clamp(42px, 5.5vw, 80px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -3px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
    padding: 100px 0;

    background: var(--light);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.newsletter h2 {
    margin-top: 10px;

    font-size: 45px;
    font-weight: 400;
    line-height: 1;
}

.newsletter-form {
    display: flex;

    width: 450px;

    border-bottom: 1px solid #aaa;
}

.newsletter-form input {
    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;

    padding: 14px 0;

    color: var(--black);
}

.newsletter-form button {
    border: 0;
    background: transparent;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;

    cursor: pointer;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding: 120px 0 100px;
}

.page-hero h1 {
    margin-top: 25px;

    font-size: clamp(55px, 7vw, 100px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: -4px;
}

.page-hero p {
    max-width: 560px;

    margin-top: 35px;

    color: #666;

    font-size: 17px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-image {
    padding-bottom: 120px;
}

.about-image img {
    height: 650px;
    object-fit: cover;
}

.about-content {
    padding: 120px 0;

    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 70px;
}

.about-content h2 {
    margin: 20px 0 35px;

    font-size: 65px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -3px;
}

.about-content p {
    max-width: 720px;

    margin-bottom: 22px;

    font-size: 17px;
    color: #5e5e5e;
}

.values-section {
    padding: 130px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.value-card {
    border-top: 1px solid var(--line);

    padding-top: 25px;
}

.value-card span {
    font-family: var(--serif);
    font-size: 25px;
}

.value-card h3 {
    margin: 50px 0 12px;

    font-size: 20px;
    font-weight: 500;
}

.value-card p {
    color: #777;
}

.about-quote {
    padding: 150px 0;

    background: var(--black);
    color: white;

    text-align: center;
}

.about-quote blockquote {
    font-family: var(--serif);

    font-size: clamp(35px, 5vw, 68px);
    line-height: 1.15;
}

.about-quote span {
    display: block;

    margin-top: 35px;

    color: #aaa;

    font-size: 9px;
    letter-spacing: 2px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    padding: 0 0 130px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding: 18px 0;

    margin-bottom: 45px;

    font-size: 9px;
    letter-spacing: 1.5px;
}

.filter-links {
    display: flex;
    gap: 25px;
}

.filter-links a {
    color: #888;
}

.filter-links a.selected {
    color: var(--black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 55px 28px;
}

.collection-banner {
    padding: 160px 0;

    background: var(--light);
}

.collection-banner h2 {
    margin-top: 25px;

    font-size: clamp(48px, 6vw, 85px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -3px;
}


/* =========================================================
   PRIVACY
========================================================= */

.legal-hero {
    padding-bottom: 110px;
}

.legal-section {
    padding: 100px 0 150px;

    background: var(--light);
}

.legal-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 100px;
}

.legal-sidebar {
    position: sticky;
    top: 30px;

    align-self: start;

    display: flex;
    flex-direction: column;

    gap: 13px;
}

.legal-sidebar span {
    margin-bottom: 10px;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.legal-sidebar a {
    color: #777;

    font-size: 12px;

    transition: .3s ease;
}

.legal-sidebar a:hover {
    color: var(--black);
}

.legal-content {
    max-width: 750px;
}

.legal-content section {
    padding-bottom: 70px;
    margin-bottom: 70px;

    border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
    border-bottom: 0;
}

.legal-number {
    font-family: var(--serif);

    font-size: 25px;
}

.legal-content h2 {
    margin: 18px 0 22px;

    font-size: 32px;
    font-weight: 400;
}

.legal-content p {
    color: #666;

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 75px 0 30px;

    background: #111;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 70px;
}

.footer .logo {
    display: inline-block;
}

.footer p {
    max-width: 300px;

    margin-top: 20px;

    color: #888;

    font-size: 12px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    margin-bottom: 18px;

    color: #888;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-grid a:not(.logo) {
    margin-bottom: 9px;

    color: #bbb;

    font-size: 11px;

    transition: .3s ease;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    border-top: 1px solid #333;

    padding-top: 25px;

    color: #666;

    font-size: 9px;
    letter-spacing: .5px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .container {
        width: min(
            calc(100% - 40px),
            var(--container)
        );
    }

    .menu {
        gap: 18px;
    }

    .hero {
        padding: 65px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-image {
        height: 560px;
    }

    .hero-label {
        left: 15px;
    }

    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
    }

    .about-image img {
        height: 500px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .legal-sidebar {
        position: static;

        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

}


@media (max-width: 650px) {

    .container {
        width: calc(100% - 30px);
    }

    .nav {
        min-height: 75px;
    }

    .menu {
        display: none;
    }

    .nav-cart {
        padding: 8px 14px;
    }

    .hero-content h1,
    .page-hero h1 {
        letter-spacing: -2px;
    }

    .hero-image {
        height: 440px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .intro-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .intro-section,
    .featured-section,
    .about-content,
    .values-section {
        padding: 80px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .section-heading h2 {
        font-size: 45px;
    }

    .product-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .statement-section,
    .about-quote,
    .collection-banner {
        padding: 100px 0;
    }

    .newsletter {
        padding: 70px 0;
    }

    .newsletter h2 {
        font-size: 38px;
    }

    .about-image {
        padding-bottom: 70px;
    }

    .about-image img {
        height: 400px;
    }

    .about-content h2 {
        font-size: 48px;
    }

    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .filter-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .legal-section {
        padding: 70px 0 100px;
    }

    .legal-sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}