:root {
    --bg: #f4f9f4;
    --surface: #ffffff;
    --surface-soft: #eef6ee;
    --primary: #1f6b45;
    --primary-deep: #13442c;
    --text: #163025;
    --muted: #5e766c;
    --border: #d2e4d6;
    --radius: 16px;
    --shadow: 0 12px 30px rgba(19, 68, 44, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    font-family: "Noto Serif SC", serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: inherit;
}

.container {
    width: min(1280px, calc(100% - 3rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 249, 244, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-deep);
    white-space: nowrap;
}

.brand i {
    color: var(--primary);
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-deep);
    font-size: 0.96rem;
}

.nav-list a:hover {
    color: var(--primary);
}

.hero {
    padding: 0 0;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(244, 249, 244, 0.92), rgba(244, 249, 244, 0.95)),
    url("../images/unsplash-hero-bg.jpg") center / cover no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-content h1 {
    margin: 0.2rem 0 0.8rem;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-deep);
}

.hero-content p {
    margin: 0;
}

.tagline {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-deep);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--surface-soft);
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.hero-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.hero-card h2 {
    margin: 0 0 0.7rem;
    font-size: 1.25rem;
    color: var(--primary-deep);
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-card li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--border);
}

.hero-card li:last-child {
    border-bottom: 0;
}

.hero-card b {
    color: var(--primary);
}

.hero-card p {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 0 0;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}




#products {
    background: linear-gradient(rgba(244, 249, 244, 0.75), rgba(244, 249, 244, 0.95)), url("../images/unsplash-product-classic.jpg") center / cover fixed;
}
#story {
    background: linear-gradient(rgba(244, 249, 244, 0.85), rgba(244, 249, 244, 0.9)), url("../images/tea-nature.jpg") center / cover fixed;
}
#highlights {
    background: linear-gradient(rgba(244, 249, 244, 0.85), rgba(244, 249, 244, 0.95)), url("../images/photo-1578985545062-69928b1d9587.jpeg") center / cover fixed;
}
#stores {
    background: linear-gradient(rgba(244, 249, 244, 0.8), rgba(244, 249, 244, 0.95)), url("../images/unsplash-store-3.jpg") center / cover fixed;
}
#contact {
    background: linear-gradient(rgba(19, 44, 28, 0.9), rgba(19, 44, 28, 0.95)), url("../images/unsplash-hero-bg.jpg") center / cover fixed;
}
#contact h2, #contact p, #contact a {
    color: rgba(255, 255, 255, 0.9);
}
#contact .contact-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.section-head {
    margin-bottom: 4rem;
    text-align: center;
}

.section h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: var(--primary-deep);
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.mini-card,
.store-grid article,
.contact-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.info-card:hover,
.mini-card:hover,
.store-grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(19, 68, 44, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.info-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.card-media {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.45rem;
}

.info-card h3,
.mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.mini-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.mini-card h3,
.store-grid h3 {
    margin: 0.65rem 0 0.45rem;
    font-size: 1.35rem;
    color: var(--primary-deep);
}

.info-card p,
.mini-card p,
.store-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: start;
}

.story-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.story-media {
    width: 100%;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
}

.story-content p {
    margin: 0 0 1.2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.story-content p:last-of-type {
    margin-bottom: 0;
}

.story-metrics {
    margin-top: 0.8rem;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(19, 68, 44, 0.1);
}

.metrics {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem;
}

.metrics b {
    display: block;
    font-size: 1.4rem;
    color: var(--primary-deep);
    line-height: 1.2;
}

.metrics span {
    color: var(--muted);
    font-size: 0.9rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.store-photos {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.store-photos img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-box p {
    margin: 0.35rem 0;
}

.contact-box a {
    color: var(--primary);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 1.1rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    scroll-snap-align: end;
}

@media (max-width: 980px) {
    .hero-grid,
    .two-col,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .store-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero,
    .section {
        height: auto;
        padding: 5rem 0; /* add padding so content doesn't stick to the edge on mobile when height auto applies */
        justify-content: flex-start;
        align-items: stretch;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0.8rem 0 0.4rem;
    }
    
    .site-header nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .site-header nav::-webkit-scrollbar {
        display: none;
    }

    .nav-list {
        flex-wrap: nowrap;
        gap: 1.5rem;
        padding: 0 0.5rem 0.5rem;
        justify-content: flex-start;
        /* create some spacing to allow scrolling indicator */
    }
    
    .nav-list a {
        white-space: nowrap;
        font-weight: 500;
    }

    .hero {
        padding-top: 3.4rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .card-grid.three,
    .card-grid.four,
    .metrics {
        grid-template-columns: 1fr;
    }

    .store-photos {
        grid-template-columns: 1fr;
    }
}
