/* =====================================================
   JAWARASLOT COFFEE
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #fbfaf8;
    color: #171310;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


img {
    max-width: 100%;
    display: block;
}


h1,
h2,
h3 {
    margin: 0;
}


p {
    margin: 0;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --black: #171310;

    --dark: #231c18;

    --cream: #f4ede5;

    --cream-dark: #e9ddd1;

    --paper: #fbfaf8;

    --brown: #73402f;

    --brown-light: #c98a70;

    --muted: #756b63;

    --line: #ddd4ca;

    --white: #ffffff;

    --container: 1180px;

}


/* =====================================================
   CONTAINER
===================================================== */

.container {

    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(251, 250, 248, 0.94);

    border-bottom:
        1px solid var(--line);

    backdrop-filter:
        blur(14px);

}


.header-inner {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.12em;

}


.brand-symbol {

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--black);

    border-radius: 50%;

    font-family:
        Georgia,
        serif;

    font-size: 19px;

}


.brand-name span {

    font-weight: 400;

}


.main-nav {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 11px;

}


.main-nav a:not(.nav-button):hover {

    text-decoration: underline;

}


.nav-button {

    padding:
        11px 18px;

    border:
        1px solid var(--black);

    border-radius: 999px;

    font-weight: 700;

}


.menu-toggle {

    display: none;

    width: 42px;

    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 23px;

    height: 2px;

    margin:
        5px auto;

    background: var(--black);

}


/* =====================================================
   HERO
===================================================== */

.hero {

    background:
        var(--cream);

    overflow: hidden;

}


.hero-inner {

    min-height: 680px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;

    padding:
        70px 0;

}


.eyebrow {

    margin-bottom: 20px;

    color:
        var(--muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

}


.hero h1 {

    max-width: 720px;

    margin-bottom: 28px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(50px, 6vw, 84px);

    font-weight: 500;

    line-height: 0.99;

}


.hero h1 em {

    color:
        var(--brown);

    font-style: italic;

}


.hero-description {

    max-width: 600px;

    color:
        var(--muted);

    font-size: 15px;

    line-height: 1.85;

}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 34px;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        13px 22px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;

}


.button:hover {

    transform:
        translateY(-2px);

    opacity:
        0.88;

}


.button-dark {

    background:
        var(--black);

    color:
        var(--white);

}


.button-light {

    background:
        var(--white);

    color:
        var(--black);

}


.text-button {

    font-size: 11px;

    font-weight: 700;

}


.text-button span {

    margin-left: 6px;

    font-size: 16px;

}


.hero-stats {

    max-width: 600px;

    display: flex;

    gap: 35px;

    margin-top: 55px;

    padding-top: 18px;

    border-top:
        1px solid var(--line);

}


.stat {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.stat strong {

    font-family:
        Georgia,
        serif;

    font-size: 20px;

    font-weight: 500;

}


.stat span {

    color:
        var(--muted);

    font-size: 8px;

    letter-spacing: 0.13em;

    text-transform: uppercase;

}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {

    position: relative;

    height: 600px;

    display: grid;

    place-items: center;

}


.hero-circle {

    position: absolute;

    width: 470px;

    max-width: 80%;

    aspect-ratio: 1;

    border-radius: 50%;

    background:
        #e2d1c0;

}


.coffee-bag {

    position: absolute;

    z-index: 3;

    width: 245px;

    height: 360px;

    background:
        #1c1917;

    border-radius:
        12px 12px 18px 18px;

    box-shadow:
        24px 35px 45px
        rgba(0, 0, 0, 0.18);

    transform:
        rotate(-3deg);

}


.bag-top {

    height: 38px;

    border-bottom:
        1px solid #403934;

}


.bag-label {

    position: absolute;

    top: 72px;

    right: 24px;

    bottom: 45px;

    left: 24px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border:
        1px solid #81756d;

    color:
        #ede2d7;

}


.bag-label span {

    font-size: 8px;

    letter-spacing: 0.23em;

}


.bag-label strong {

    font-family:
        Georgia,
        serif;

    font-size: 28px;

    font-weight: 500;

    letter-spacing: 0.08em;

}


.bag-label small {

    font-size: 7px;

    letter-spacing: 0.18em;

}


.bag-label i {

    margin-top: 23px;

    color:
        var(--brown-light);

    font-family:
        Georgia,
        serif;

    font-size: 16px;

}


/* =====================================================
   COFFEE CUP
===================================================== */

.coffee-cup {

    position: absolute;

    z-index: 5;

    right: 3%;

    bottom: 84px;

    width: 175px;

    height: 105px;

    background:
        #eee7de;

    border-radius:
        0 0 85px 85px;

    box-shadow:
        10px 18px 25px
        rgba(0, 0, 0, 0.14);

}


.coffee-surface {

    position: absolute;

    top: -8px;

    left: 9px;

    width: 157px;

    height: 29px;

    background:
        #2a211c;

    border-radius: 50%;

}


.cup-handle {

    position: absolute;

    top: 12px;

    right: -33px;

    width: 38px;

    height: 54px;

    border:
        11px solid #eee7de;

    border-left: 0;

    border-radius:
        0 40px 40px 0;

}


/* =====================================================
   COFFEE BEANS
===================================================== */

.coffee-bean {

    position: absolute;

    z-index: 7;

    width: 20px;

    height: 31px;

    background:
        #39271f;

    border-radius: 50%;

}


.coffee-bean::after {

    content: "";

    position: absolute;

    top: 4px;

    left: 9px;

    width: 2px;

    height: 23px;

    background:
        #a27b67;

}


.bean-one {

    top: 18%;

    left: 10%;

    transform:
        rotate(35deg);

}


.bean-two {

    top: 12%;

    right: 9%;

    transform:
        rotate(-28deg)
        scale(0.72);

}


.bean-three {

    bottom: 21%;

    left: 13%;

    transform:
        rotate(-18deg)
        scale(0.65);

}


.visual-shadow {

    position: absolute;

    right: 0;

    bottom: 68px;

    z-index: 2;

    width: 330px;

    height: 28px;

    border-radius: 50%;

    background:
        #c9b9a8;

    filter:
        blur(5px);

}


/* =====================================================
   BRAND STRIP
===================================================== */

.brand-strip {

    background:
        var(--black);

    color:
        #f2e9df;

}


.brand-strip-inner {

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    overflow: hidden;

    white-space: nowrap;

    font-size: 9px;

    letter-spacing: 0.17em;

}


.brand-strip-inner b {

    color:
        var(--brown-light);

}


/* =====================================================
   GENERAL SECTION
===================================================== */

.section {

    padding:
        110px 0;

}


.story-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        11vw;

}


.section-heading h2 {

    max-width: 620px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px, 4.5vw, 64px);

    font-weight: 500;

    line-height: 1.06;

}


.story-content {

    padding-top: 32px;

}


.story-content p {

    max-width: 600px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.9;

}


.story-content p + p {

    margin-top: 26px;

}


/* =====================================================
   COLLECTION
===================================================== */

.collection {

    background:
        #ebe1d7;

}


.collection-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 52px;

}


.collection-heading h2 {

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(42px, 4.5vw, 64px);

    font-weight: 500;

    line-height: 1.06;

}


.collection-heading > p {

    max-width: 280px;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.7;

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.product-card {

    background:
        var(--paper);

    overflow:
        hidden;

}


.product-visual {

    position: relative;

    height: 430px;

    display: grid;

    place-items: center;

}


.product-visual.classic {

    background:
        #e3d7ca;

}


.product-visual.bold {

    background:
        #26211e;

    color:
        #eee4db;

}


.product-visual.origin {

    background:
        #744233;

    color:
        #eee4db;

}


.product-number {

    position: absolute;

    top: 20px;

    left: 20px;

    font-size: 9px;

    letter-spacing: 0.14em;

}


.product-package {

    width: 180px;

    height: 295px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 35px 15px;

    background:
        #1b1815;

    color:
        #eadfd4;

    border-radius: 8px;

    box-shadow:
        18px 25px 35px
        rgba(0, 0, 0, 0.17);

    transform:
        rotate(-2deg);

}


.product-visual.bold
.product-package {

    background:
        #11100f;

}


.product-visual.origin
.product-package {

    background:
        #40251f;

}


.product-package span {

    font-size: 7px;

    letter-spacing: 0.21em;

}


.product-package strong {

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-weight: 500;

    letter-spacing: 0.07em;

}


.product-package small {

    font-size: 6px;

    letter-spacing: 0.16em;

}


.product-package i {

    margin-top: 23px;

    color:
        var(--brown-light);

    font-family:
        Georgia,
        serif;

    font-size: 15px;

}


.product-info {

    padding:
        25px;

}


.product-info > small {

    color:
        var(--muted);

    font-size: 8px;

    letter-spacing: 0.18em;

}


.product-info h3 {

    margin:
        7px 0 5px;

    font-family:
        Georgia,
        serif;

    font-size: 29px;

    font-weight: 500;

}


.product-info .flavor {

    margin-bottom:
        18px;

    color:
        var(--brown);

    font-size: 10px;

    font-weight: 700;

}


.product-info > p:last-child {

    padding-top:
        18px;

    border-top:
        1px solid var(--line);

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.75;

}


/* =====================================================
   PROCESS
===================================================== */

.process {

    padding-top:
        0;

}


.process-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10vw;

    align-items:
        center;

}


.process-visual {

    height:
        570px;

    display:
        grid;

    place-items:
        center;

    background:
        #2a211d;

    overflow:
        hidden;

}


.process-ring {

    width:
        330px;

    height:
        330px;

    display:
        grid;

    place-items:
        center;

    border:
        42px solid #5c3c2e;

    border-radius:
        50%;

    box-shadow:
        inset 0 0 0 20px #34251f;

}


.process-ring span {

    color:
        #eadfd4;

    text-align:
        center;

    font-size:
        10px;

    line-height:
        1.8;

    letter-spacing:
        0.25em;

}


.process-content h2 {

    max-width:
        620px;

    margin-bottom:
        24px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(42px, 4.5vw, 64px);

    font-weight:
        500;

    line-height:
        1.06;

}


.process-description {

    max-width:
        600px;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.9;

}


.process-steps {

    margin-top:
        38px;

    border-top:
        1px solid var(--line);

}


.process-step {

    display:
        grid;

    grid-template-columns:
        45px 1fr;

    gap:
        15px;

    padding:
        19px 0;

    border-bottom:
        1px solid var(--line);

}


.process-step > strong {

    font-family:
        Georgia,
        serif;

    font-size:
        18px;

    font-weight:
        500;

}


.process-step h3 {

    margin-bottom:
        5px;

    font-size:
        13px;

}


.process-step p {

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.7;

}


/* =====================================================
   REVIEWS
===================================================== */

.reviews {

    background:
        var(--cream);

}


.review-heading {

    max-width:
        700px;

}


.review-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        22px;

    margin-top:
        52px;

}


.review-card {

    margin:
        0;

    padding:
        34px;

    background:
        var(--paper);

    font-family:
        Georgia,
        serif;

    font-size:
        18px;

    line-height:
        1.65;

}


.review-card cite {

    display:
        block;

    margin-top:
        30px;

    color:
        var(--muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        9px;

    font-style:
        normal;

    letter-spacing:
        0.1em;

}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta {

    padding:
        0 0 100px;

    background:
        var(--cream);

}


.cta-box {

    padding:
        100px 40px;

    background:
        var(--black);

    color:
        #f5ece3;

    text-align:
        center;

}


.cta-box .eyebrow {

    color:
        #b7a99e;

}


.cta-box h2 {

    max-width:
        800px;

    margin:
        0 auto 38px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(42px, 5vw, 70px);

    font-weight:
        500;

    line-height:
        1.05;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    padding:
        50px 0;

    border-top:
        1px solid var(--line);

}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap:
        30px;

    align-items:
        end;

}


.footer-brand-area > p {

    margin-top:
        12px;

    color:
        var(--muted);

    font-size:
        11px;

}


.footer-nav {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        18px;

    font-size:
        10px;

}


.copyright {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        9px;

    text-align:
        right;

}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.reveal {

    opacity:
        0;

    transform:
        translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.reveal.is-visible {

    opacity:
        1;

    transform:
        translateY(0);

}


.reveal-delay {

    transition-delay:
        0.12s;

}


.reveal-delay-2 {

    transition-delay:
        0.22s;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
	
	.hero-visual {
    min-height: 470px;
}

	.hero-image-wrapper {
    max-width: 500px;
}
	
    .container {

        width:
            min(
                var(--container),
                calc(100% - 36px)
            );

    }


    .header-inner {

        min-height:
            72px;

    }


    .menu-toggle {

        display:
            block;

    }


    .main-nav {

        position:
            fixed;

        top:
            72px;

        left:
            0;

        right:
            0;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            10px 18px 22px;

        background:
            var(--paper);

        border-bottom:
            1px solid var(--line);

        transform:
            translateY(-130%);

        transition:
            transform 0.25s ease;

    }


    .main-nav.open {

        transform:
            translateY(0);

    }


    .main-nav a {

        padding:
            14px 0;

    }


    .main-nav .nav-button {

        text-align:
            center;

        margin-top:
            8px;

    }


    .hero-inner {

        grid-template-columns:
            1fr;

        padding:
            50px 0 45px;

    }


    .hero-visual {

        height:
            450px;

        order:
            -1;

    }


    .hero h1 {

        font-size:
            clamp(
                48px,
                10vw,
                72px
            );

    }


    .story-grid {

        grid-template-columns:
            1fr;

        gap:
            40px;

    }


    .story-content {

        padding-top:
            0;

    }


    .collection-heading {

        display:
            block;

    }


    .collection-heading > p {

        margin-top:
            18px;

    }


    .product-grid {

        grid-template-columns:
            1fr;

    }


    .process-grid {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


    .process-visual {

        height:
            420px;

    }


    .review-grid {

        grid-template-columns:
            1fr;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }


    .copyright {

        text-align:
            left;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 560px) {
	
	.hero-visual {
    min-height: 360px;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 390px;
}

.hero-image {
    aspect-ratio: 4 / 5;
}

    .brand-logo {
        width: 155px;
        max-height: 44px;
    }

}
	
    .section {

        padding:
            78px 0;

    }


    .hero-inner {

        padding-top:
            35px;

    }


    .hero-visual {

        height:
            370px;

    }


    .hero-circle {

        width:
            290px;

    }


    .coffee-bag {

        transform:
            scale(0.72)
            rotate(-3deg);

    }


    .coffee-cup {

        right:
            0;

        bottom:
            45px;

        transform:
            scale(0.72);

    }


    .visual-shadow {

        right:
            -10px;

        bottom:
            42px;

        width:
            270px;

    }


    .hero-actions {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            18px;

    }


    .hero-stats {

        gap:
            18px;

        margin-top:
            42px;

    }


    .hero-stats span {

        font-size:
            7px;

    }


    .product-visual {

        height:
            390px;

    }


    .process-visual {

        height:
            350px;

    }


    .process-ring {

        width:
            250px;

        height:
            250px;

        border-width:
            30px;

    }


    .cta-box {

        padding:
            75px 22px;

    }


    .final-cta {

        padding-bottom:
            70px;

    }


    .brand-strip-inner {

        justify-content:
            flex-start;

    }

}

/* =====================================================
   BRAND LOGO
===================================================== */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 185px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

/* =====================================================
   HERO PRODUCT IMAGE
===================================================== */

.hero-visual {
    position: relative;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.hero-image-wrapper {
    position: relative;

    width: 100%;
    max-width: 590px;

    overflow: hidden;

    border-radius: 4px;
}


.hero-image-wrapper::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.04),
            transparent 50%
        );

    pointer-events: none;
}


.hero-image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.hero-image-wrapper:hover .hero-image {
    transform:
        scale(1.025);
}