/* =====================================================
   BERRY & CROSS — BOTANICAL PALETTE
   Inspired by the Berry & Cross colour artwork
===================================================== */

:root {

    /* -------------------------------------------------
       CORE PALETTE
    ------------------------------------------------- */

    /* Warm parchment / background */
    --cream: #E5DED0;
    --cream-dark: #D6CCBA;

    /* Soft paper */
    --paper: #F3EEE4;
    --paper-light: #F8F4EC;

    /* Botanical olive */
    --sage: #81785B;
    --sage-dark: #625C45;
    --sage-light: #9A9274;

    /* Berry pink */
    --rose: #B9786B;
    --rose-light: #D0A097;
    --rose-dark: #955B52;

    /* Antique purple */
    --purple: #817B8B;
    --purple-dark: #625E6B;
    --purple-light: #AAA5B0;

    /* Dusty blue */
    --blue: #68797B;
    --blue-dark: #4F6062;
    --blue-light: #8B9999;

    /* Berry red */
    --red: #A95143;
    --red-dark: #843F37;
    --red-light: #C47B70;

    /* Antique yellow / ochre */
    --gold: #B89459;
    --gold-dark: #8E7042;
    --gold-light: #D0B47D;

    /* Cola / main detail */
    --brown: #5A4840;
    --brown-dark: #332925;
    --brown-light: #78665B;

    /* Stone / drop shadow */
    --stone: #AEA28F;
    --stone-light: #C5BBAA;
    --stone-dark: #918675;

    /* Typography */
    --text: #443A34;
    --text-light: #756B62;

    --white: #FFFFFF;

    /* Borders */
    --border: rgba(51, 41, 37, 0.18);
    --border-light: rgba(51, 41, 37, 0.10);

    /* Typography */
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    /* Layout */
    --container: 1180px;

    /* Shadows */
    --shadow:
        0 20px 50px rgba(51, 41, 37, 0.12);

    --shadow-soft:
        0 10px 30px rgba(51, 41, 37, 0.08);

}


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.7;
}

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

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

button {
    font-family: inherit;
}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
.logo {
    font-family: var(--serif);
}

h1,
h2,
h3,
p {
    max-width: 100%;
}

em {
    color: var(--red);
    font-weight: 500;
}

.eyebrow {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.centered {
    text-align: center;
}

.section-title {
    color: var(--brown-dark);
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 0.98;
}

.section-description {
    max-width: 390px;
    color: var(--text-light);
}


/* =====================================================
   CONTAINERS
===================================================== */

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

    margin-inline: auto;
}

.narrow-container {
    max-width: 760px;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(229, 222, 208, 0.94);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* Logo */

.logo {
    position: relative;

    display: flex;
    align-items: center;
    gap: 5px;

    color: var(--brown-dark);

    font-size: 2rem;
    font-weight: 600;

    line-height: 1;
	padding: 5px;
}

.logo-main,
.logo-cross {
    letter-spacing: -0.05em;
}

.logo-amp {
    color: var(--red);
    font-size: 1.4rem;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 0.84rem;
    font-weight: 500;
}

.main-nav a {
    position: relative;
    color: var(--brown);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--red);

    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}


/* Header button */

.nav-button {
    border: 1px solid var(--brown);

    padding: 11px 19px;

    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    transition:
        background 0.25s,
        color 0.25s;
}

.nav-button:hover {
    background: var(--brown-dark);
    color: var(--cream);
}


/* Mobile menu */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 1px;

    margin: 5px auto;

    background: var(--brown);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    padding:
        100px
        0
        110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(129, 123, 139, 0.10),
            transparent 28%
        ),
        var(--cream);
}

.hero-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items: center;

    gap: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 600px;

    color: var(--brown-dark);

    font-size:
        clamp(4rem, 8vw, 7rem);

    font-weight: 500;

    line-height: 0.83;

    letter-spacing: -0.04em;

    margin-bottom: 32px;
}

.hero-text {
    max-width: 510px;

    color: var(--text-light);

    font-size: 1.05rem;

    margin-bottom: 35px;
}

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


/* =====================================================
   BUTTONS
===================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 51px;

    padding:
        0 23px;

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    transition:
        transform 0.25s,
        background 0.25s,
        color 0.25s,
        border-color 0.25s;
}

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


/* Olive primary */

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

.button-primary:hover {
    background: var(--sage-dark);
}


/* Outline */

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

.button-secondary:hover {
    background: var(--brown-dark);
    color: var(--paper);
}


/* Cola */

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

.button-dark:hover {
    background: var(--red);
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;

    padding: 15px;

    background: var(--paper);

    box-shadow: var(--shadow);

    transform: rotate(1.5deg);

    border: 1px solid var(--stone-light);
}

.hero-image-frame::before {
    content: "";

    position: absolute;

    inset: 8px;

    border: 1px solid var(--border);

    pointer-events: none;
}

.hero-image-frame img {
    aspect-ratio: 1 / 1.08;

    object-fit: cover;
}

.hero-caption {
    position: absolute;

    right: -25px;
    bottom: -20px;

    padding: 18px 25px;

    background: var(--red);

    color: var(--white);

    box-shadow: var(--shadow);
}

.hero-caption span,
.hero-caption small {
    display: block;
}

.hero-caption span {
    font-family: var(--serif);

    font-size: 1.45rem;
}

.hero-caption small {
    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.hero-note {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 32px;

    color: var(--text-light);

    font-family: var(--serif);

    font-size: 1rem;
}

.leaf {
    color: var(--sage);

    font-size: 1.6rem;
}


/* =====================================================
   INTRO
===================================================== */

.intro-section {
    padding: 120px 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.42),
            transparent
        ),
        var(--paper);

    border-block:
        1px solid var(--border);
}

.section-flourish {
    color: var(--purple);

    font-family: var(--serif);

    font-size: 4rem;

    line-height: 1;

    text-align: center;

    margin-bottom: 10px;
}

.intro-section .section-title {
    margin-bottom: 30px;
}

.intro-copy {
    max-width: 680px;

    margin: 0 auto 17px;

    color: var(--text-light);

    text-align: center;

    font-size: 1.05rem;
}


/* =====================================================
   COLLECTIONS
===================================================== */

.collections-section {
    padding: 120px 0;

    background: var(--cream);
}

.section-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 60px;
}

.collection-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        1fr;

    gap: 25px;
}

.collection-card {
    background: var(--paper);

    border: 1px solid var(--border);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.collection-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color: var(--stone);
}

.collection-large {
    margin-top: 60px;
}

.collection-image {
    overflow: hidden;
}

.collection-image img {
    aspect-ratio: 1 / 0.9;

    object-fit: cover;

    transition: transform .5s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.04);
}

.collection-large .collection-image img {
    aspect-ratio: 1 / 1.08;
}

.collection-content {
    position: relative;

    padding: 28px;
}

.card-number {
    color: var(--red);

    font-size: 0.7rem;

    letter-spacing: 0.12em;
}

.collection-content h3 {
    color: var(--brown-dark);

    font-size: 2rem;

    font-weight: 500;

    margin: 5px 0 8px;
}

.collection-content p {
    color: var(--text-light);

    font-size: 0.9rem;

    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--brown);

    font-size: 0.76rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .06em;
}

.text-link span {
    color: var(--red);

    font-size: 1.2rem;

    transition: transform .2s;
}

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


/* =====================================================
   FURNITURE
===================================================== */

.furniture-section {
    padding: 120px 0;

    background: var(--sage);

    color: var(--white);
}

.furniture-section .section-title {
    color: var(--paper-light);
}

.furniture-section em {
    color: var(--gold-light);
}

.furniture-section .eyebrow {
    color: var(--rose-light);
}

.furniture-intro {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;
}

.furniture-copy {
    color: rgba(255,255,255,.78);

    font-size: 0.95rem;
}

.furniture-copy p {
    margin-bottom: 15px;
}

.furniture-copy .button {
    margin-top: 15px;
}

.furniture-gallery {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr;

    gap: 18px;

    align-items: start;
}

.furniture-item {
    position: relative;

    overflow: hidden;

    background: var(--paper);
}

.furniture-item-large {
    margin-top: 60px;
}

.furniture-item img {
    aspect-ratio: 0.9 / 1;

    object-fit: cover;

    transition: transform .5s;
}

.furniture-item-large img {
    aspect-ratio: 1 / 1.08;
}

.furniture-item:hover img {
    transform: scale(1.04);
}

.furniture-label {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    padding: 12px 15px;

    background: rgba(243, 238, 228, .95);

    color: var(--brown);
}

.furniture-label span,
.furniture-label strong {
    display: block;
}

.furniture-label span {
    color: var(--red);

    font-size: .65rem;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.furniture-label strong {
    font-family: var(--serif);

    font-size: 1.3rem;

    font-weight: 600;
}


/* =====================================================
   BEFORE / AFTER
===================================================== */

.story-section {
    padding: 120px 0;

    background: var(--paper);
}

.story-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    align-items: center;

    gap: 100px;
}

.before-after {
    display: grid;

    grid-template-columns: 1fr 1fr;

    position: relative;
}

.before,
.after {
    position: relative;

    border: 10px solid var(--cream);

    box-shadow: var(--shadow);
}

.before {
    transform: rotate(-3deg);

    z-index: 1;
}

.after {
    transform: rotate(4deg);

    margin-left: -40px;

    margin-top: 80px;

    z-index: 2;
}

.before img,
.after img {
    aspect-ratio: .85 / 1;

    object-fit: cover;
}

.before span,
.after span {
    position: absolute;

    bottom: 10px;
    left: 10px;

    padding: 5px 12px;

    background: var(--brown-dark);

    color: var(--white);

    font-family: var(--serif);

    font-size: 1.1rem;
}

.after span {
    background: var(--red);
}

.story-content > p:not(.eyebrow) {
    color: var(--text-light);

    margin-top: 20px;
}

.signature {
    margin-top: 35px;
}

.signature span,
.signature strong {
    display: block;
}

.signature span {
    color: var(--text-light);

    font-family: var(--serif);

    font-style: italic;
}

.signature strong {
    color: var(--brown);

    font-family: var(--serif);

    font-size: 2rem;
}


/* =====================================================
   BESPOKE
===================================================== */

.bespoke-section {
    padding: 120px 0;

    overflow: hidden;

    background: var(--cream);
}

.bespoke-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items: center;

    gap: 100px;
}

.bespoke-content > p:not(.eyebrow) {
    max-width: 530px;

    margin: 25px 0;

    color: var(--text-light);
}

.feature-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    list-style: none;

    max-width: 500px;

    margin: 30px 0;

    gap: 9px;
}

.feature-list li {
    color: var(--brown);

    font-family: var(--serif);

    font-size: 1.2rem;
}

.feature-list span {
    color: var(--red);

    margin-right: 8px;
}


/* =====================================================
   STATIONERY STACK
===================================================== */

.stationery-stack {
    position: relative;

    min-height: 530px;
}

.paper {
    position: absolute;

    width: 70%;
    height: 75%;

    border-radius: 2px;

    box-shadow: var(--shadow);
}

.paper-back {
    top: 40px;
    left: 20%;

    background: var(--rose-light);

    transform: rotate(8deg);
}

.paper-middle {
    top: 20px;
    left: 15%;

    background: var(--purple-light);

    transform: rotate(-5deg);
}

.paper-front {
    top: 0;
    left: 10%;

    padding: 12px;

    background: var(--paper);

    transform: rotate(2deg);
}

.paper-front img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 100px 0;

    background: var(--cream);
}

.contact-card {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    background: var(--brown-dark);

    color: var(--white);

    box-shadow: var(--shadow);
}

.contact-main {
    padding: 70px;
}

.contact-main .eyebrow {
    color: var(--gold-light);
}

.contact-main h2 {
    max-width: 600px;

    font-size:
        clamp(3rem, 5vw, 5rem);

    font-weight: 500;

    line-height: .95;

    margin-bottom: 25px;
}

.contact-main em {
    color: var(--rose-light);
}

.contact-main p:not(.eyebrow) {
    max-width: 520px;

    color: rgba(255,255,255,.7);
}

.contact-details {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 28px;

    padding: 70px;

    background: var(--blue);
}

.contact-person {
    display: flex;

    flex-direction: column;
}

.contact-role {
    color: var(--gold-light);

    font-family: var(--serif);

    font-size: 1.4rem;
}

.contact-person a {
    color: white;

    font-size: 1rem;
}

.contact-person a:hover {
    color: var(--rose-light);

    text-decoration: underline;
}


/* =====================================================
   SOCIAL
===================================================== */

.social-section {
    padding: 100px 0;

    background: var(--cream-dark);
}

.social-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 100px;
}

.social-copy h2 {
    color: var(--brown-dark);

    font-family: var(--serif);

    font-size: 4rem;

    line-height: .95;

    margin-bottom: 25px;
}

.social-copy > p:not(.eyebrow) {
    max-width: 500px;

    color: var(--text-light);
}

.social-links {
    display: flex;

    gap: 25px;

    margin-top: 30px;
}

.social-links a {
    color: var(--brown);

    border-bottom: 1px solid var(--brown);

    font-family: var(--serif);

    font-size: 1.3rem;
}

.social-links a:hover {
    color: var(--red);

    border-color: var(--red);
}

.qr-grid {
    display: flex;

    justify-content: center;

    gap: 30px;
}

.qr-card {
    width: 180px;

    padding: 15px;

    background: var(--paper);

    border: 1px solid var(--border-light);

    box-shadow: var(--shadow);

    text-align: center;
}

.qr-card img {
    aspect-ratio: 1;

    margin-bottom: 12px;
}

.qr-card span {
    font-family: var(--serif);

    font-size: 1.3rem;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    padding: 70px 0 25px;

    background: var(--brown-dark);

    color: rgba(255,255,255,.75);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        1fr;

    gap: 60px;

    padding-bottom: 60px;
}

.footer-logo {
    color: var(--paper-light);

    font-size: 2.5rem;

    margin-bottom: 10px;
}

.footer-brand p {
    font-size: .75rem;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.footer-nav,
.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: .85rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--rose-light);
}

.footer-contact > span {
    color: var(--gold-light);

    font-family: var(--serif);

    font-size: 1.4rem;

    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.15);

    font-size: .7rem;

    text-transform: uppercase;

    letter-spacing: .08em;
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 950px) {

    .main-nav {
        gap: 17px;
    }

    .nav-button {
        display: none;
    }

    .hero-grid,
    .story-grid,
    .bespoke-grid {
        gap: 55px;
    }

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

    .collection-large {
        margin-top: 0;
        grid-column: span 2;
    }

    .collection-large .collection-image img {
        aspect-ratio: 1.6 / 1;
    }

    .furniture-intro {
        grid-template-columns: 1fr 1fr;
    }

    .furniture-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .furniture-item-large {
        grid-column: span 2;
        margin-top: 0;
    }

    .furniture-item-large img {
        aspect-ratio: 1.5 / 1;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .social-grid {
        gap: 50px;
    }

}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 720px) {

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


    /* Header */

    .nav-wrapper {
        min-height: 75px;
    }

    .main-nav {
        position: fixed;

        top: 75px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px;

        background: var(--paper);

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 14px;
    }

    .menu-toggle {
        display: block;
    }


    /* Hero */

    .hero {
        padding: 65px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

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

    .hero-image-wrapper {
        max-width: 550px;

        margin-inline: auto;
    }

    .hero-caption {
        right: 0;
    }


    /* Intro */

    .intro-section,
    .collections-section,
    .furniture-section,
    .story-section,
    .bespoke-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 3.1rem;
    }


    /* Collections */

    .section-heading {
        display: block;

        margin-bottom: 40px;
    }

    .section-description {
        margin-top: 20px;
    }

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

    .collection-large {
        grid-column: auto;
    }

    .collection-large .collection-image img {
        aspect-ratio: 1 / .9;
    }


    /* Furniture */

    .furniture-intro {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .furniture-gallery {
        grid-template-columns: 1fr;
    }

    .furniture-item-large {
        grid-column: auto;
    }


    /* Story */

    .story-grid {
        grid-template-columns: 1fr;

        gap: 80px;
    }

    .before-after {
        max-width: 500px;

        margin-inline: auto;
    }


    /* Bespoke */

    .bespoke-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .stationery-stack {
        min-height: 450px;
    }


    /* Contact */

    .contact-card {
        margin-inline: -15px;
    }

    .contact-main,
    .contact-details {
        padding: 45px 30px;
    }

    .contact-main h2 {
        font-size: 3.5rem;
    }


    /* Social */

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

    .social-copy h2 {
        font-size: 3.4rem;
    }

    .qr-grid {
        justify-content: flex-start;
    }

    .qr-card {
        width: 140px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

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

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .before,
    .after {
        margin: 0;
    }

    .after {
        margin-top: -25px;
        margin-left: 35px;
    }

    .stationery-stack {
        min-height: 350px;
    }

    .paper {
        width: 82%;
    }

    .qr-grid {
        gap: 12px;
    }

    .qr-card {
        width: 125px;
    }

}
