/* 
   Katmandu Coffee - Modern Organic Minimalist Theme
   Typography: Manrope across the entire site
   ==========================================================================
   Site By:
   Angel Pradhan
   Marketing Manager, Alpine Coffee Estate Pvt. Ltd.
   https://facebook.com/itsangelpradhan
   
   Myuza Creative Studio
   myuza.com.np
   https://facebook.com/myuzacreativestudio
   ==========================================================================
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

img {
    max-width: 100%;
}

:root {
    /* Official Katmandu Coffee Brand Palette */
    --color-katmandu-red: #D1232A;
    --color-peak-white: #F0F3F4;
    --color-himalayan-brown: var(--color-katmandu-red);
    --color-mountain-stone: #A9A9A9;

    /* Theme Tokens */
    --bg-primary: #F0F3F4;
    /* Peak White */
    --bg-secondary: #F0F3F4;
    /* Soft Himalayan / Mountain Stone Tint */
    --text-primary: #1C252E;
    /* Rich Black */
    --text-secondary: #444444;
    /* Sharp Charcoal */
    --accent-color: #D1232A;
    /* Katmandu Red */
    --accent-hover: #B01B21;
    /* Deep Katmandu Red */
    --border-color: rgba(28, 37, 46, 0.08);
    /* Mountain Stone Subtle Border */

    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   CUSTOM BRAND SCROLLBAR (Katmandu Red)
   ========================================================================== */
html {
    scrollbar-color: var(--color-katmandu-red) #0B1015;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0B1015;
}

::-webkit-scrollbar-thumb {
    background: var(--color-katmandu-red);
    border-radius: 999px;
    border: 2.5px solid #0B1015;
    transition: background-color 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5323A;
}

::-webkit-scrollbar-thumb:active {
    background: #A6161C;
}

::-webkit-scrollbar-corner {
    background: #0B1015;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Editorial Welcome Screen (Full Background & Word-by-Word Quote Reveal)
   ========================================================================== */
.kc-welcome-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0B1015;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s ease-out, visibility 0.75s ease-out;
    will-change: opacity;
}

.kc-welcome-screen.fading-out {
    opacity: 0 !important;
    pointer-events: none !important;
}

.kc-welcome-screen.fading-out .welcome-content {
    opacity: 0 !important;
    transform: translateY(-16px) scale(0.97) !important;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out !important;
}

.kc-welcome-screen.fading-out .welcome-bg-img {
    transform: scale(1.08) !important;
    transition: transform 0.75s ease-out !important;
}

.kc-welcome-screen.opened {
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

/* Background Image & Ambient Scrim */
.kc-welcome-screen .welcome-bg-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.kc-welcome-screen .welcome-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: welcomeKenBurns 28s ease-in-out infinite alternate;
}

@keyframes welcomeKenBurns {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    50% {
        transform: scale(1.12) translate(-1%, -0.8%);
    }

    100% {
        transform: scale(1.07) translate(1%, 0.6%);
    }
}

.kc-welcome-screen .welcome-scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(11, 16, 21, 0.52) 0%, rgba(11, 16, 21, 0.82) 75%, #0B1015 100%);
}

/* Centered Editorial Content */
.kc-welcome-screen .welcome-content {
    position: relative;
    z-index: 10;
    max-width: 920px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* Welcome Center Content */
.welcome-content {
    position: relative;
    z-index: 10;
    max-width: 960px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Top-Right Audio Toggle Button */
.welcome-audio-wrap {
    position: absolute;
    top: 2.2rem;
    right: 2.5rem;
    z-index: 100;
    opacity: 0;
    animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

@media (max-width: 768px) {
    .welcome-audio-wrap {
        top: 1.2rem;
        right: 1.2rem;
    }
}

.welcome-audio-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    outline: none;
}

.welcome-audio-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

/* Sound Wave Animated Equalizer Bars */
.sound-bars {
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    height: 13px;
}

.sound-bars .bar {
    width: 2.5px;
    height: 100%;
    background: var(--color-katmandu-red);
    border-radius: 2px;
    transform-origin: bottom;
    transition: height 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.welcome-audio-btn.playing .bar-1 {
    animation: eqBar 0.9s ease-in-out infinite alternate 0.1s;
}

.welcome-audio-btn.playing .bar-2 {
    animation: eqBar 0.7s ease-in-out infinite alternate 0.25s;
}

.welcome-audio-btn.playing .bar-3 {
    animation: eqBar 1.1s ease-in-out infinite alternate 0.05s;
}

.welcome-audio-btn.playing .bar-4 {
    animation: eqBar 0.8s ease-in-out infinite alternate 0.35s;
}

@keyframes eqBar {
    0% {
        height: 25%;
    }

    100% {
        height: 100%;
    }
}

.welcome-audio-btn.muted .sound-bars .bar {
    height: 25% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    animation: none !important;
}

.welcome-audio-btn.muted .audio-label {
    color: rgba(255, 255, 255, 0.6);
}

/* Origin Pill */
.welcome-origin-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(240, 243, 244, 0.85);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

.welcome-origin-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-katmandu-red);
    box-shadow: 0 0 8px var(--color-katmandu-red);
}

/* Logo */
.welcome-logo-wrap {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: welcomeFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.25s;
}

.welcome-brand-logo {
    height: 48px;
    width: auto;
    opacity: 0.95;
    margin-bottom: 0.6rem;
}

.welcome-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-katmandu-red);
}

/* Contact Page Custom */

.contact_inf:hover {
    color: var(--color-katmandu-red) !important;
}

@keyframes welcomeFadeUp {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Founder Quote Container */
.welcome-quote-container {
    margin-bottom: 2.8rem;
    max-width: 860px;
}

.welcome-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.9vw, 2.2rem);
    font-weight: 500;
    color: #FAFAF9;
    line-height: 1.45;
    letter-spacing: -0.01em;
    margin: 0 0 1.4rem 0;
    padding: 0;
    border: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.35em;
    row-gap: 0.15em;
}

.welcome-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    filter: blur(5px);
    animation: welcomeWordFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--w-delay, 0.4s);
    will-change: opacity, transform, filter;
}

.welcome-reveal-word.accent-word {
    color: var(--color-katmandu-red);
    font-weight: 600;
}

@keyframes welcomeWordFadeIn {
    0% {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Founder Citation */
.welcome-founder-cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240, 243, 244, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(8px);
    animation: welcomeCiteFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--cite-delay, 2.5s);
}

.welcome-founder-cite .cite-line {
    width: 24px;
    height: 1px;
    background: var(--color-katmandu-red);
    display: inline-block;
}

@keyframes welcomeCiteFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Action Button */
.welcome-action-wrap {
    opacity: 0;
    transform: translateY(15px);
    animation: welcomeActionFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--btn-delay, 2.7s);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

@keyframes welcomeActionFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-explore-btn {
    position: relative;
    background: #FFFFFF;
    color: #11171E;
    border: none;
    border-radius: 999px;
    padding: 1.05rem 2.2rem 1.05rem 2.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.welcome-explore-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0;
    pointer-events: none;
    animation: btnPulseHalo 3s cubic-bezier(0.16, 1, 0.3, 1) infinite 3s;
}

@keyframes btnPulseHalo {
    0% {
        transform: scale(0.96);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.16);
        opacity: 0;
    }
}

.welcome-explore-btn:hover {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 45px rgba(210, 35, 42, 0.5);
}

.btn-arrow-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(17, 23, 30, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: transform 0.35s ease, background 0.35s ease;
}

.welcome-explore-btn:hover .btn-arrow-circle {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.welcome-hint {
    font-size: 0.72rem;
    color: rgba(240, 243, 244, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 0.95rem;
}

h4 {
    font-size: 0.82rem;
}

h5 {
    font-size: 0.7rem;
}

h6 {
    font-size: 0.58rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities (Fluid Responsive) */
.text-accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.font-heading {
    font-family: var(--font-heading);
}

.text-xl {
    font-size: clamp(1.65rem, 3.6vw, 2.85rem);
    letter-spacing: -0.02em;
}

.text-lg {
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.text-md {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.text-sm {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Layout Utilities (Fluid Responsive) */
.container,
.ed-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 2.5vw, 2.5rem);
    box-sizing: border-box;
}

.section {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    .grid-2 {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }
}

/* Header & Navigation (Fixed Height) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

header.scrolled {
    background-color: rgba(250, 249, 246, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Homepage Hero: In desktop view, header is hidden in hero section, smoothly appears when scrolling begins */
@media (min-width: 993px) {
    body.home-page header {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

    body.home-page header.scrolled {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Homepage Hero (Desktop): Zero top gap since header is hidden, impressive full desktop scale */
    body.home-page .nuwa-hero-section {
        padding-top: 0 !important;
        padding-bottom: 2.5rem;
    }

    body.home-page .nuwa-banner-wrapper {
        height: clamp(520px, 60vh, 680px);
        clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    }

    body.home-page .hero-text-overlay {
        padding-bottom: 9%;
    }

    body.home-page .hero-editorial-title {
        font-size: clamp(1.75rem, 3.2vw, 3.2rem);
    }

    body.home-page .nuwa-product-stage {
        margin-top: clamp(-280px, -29vh, -220px);
    }

    body.home-page .traveling-product-img {
        max-width: min(90vw, 620px);
        max-height: clamp(420px, 50vh, 560px);
    }
}

/* 13" - 15" Laptop Viewport Balancing (viewport height <= 780px) */
@media (min-width: 993px) and (max-height: 780px) {
    body.home-page .nuwa-banner-wrapper {
        height: clamp(480px, 60vh, 580px) !important;
    }

    body.home-page .hero-editorial-title {
        font-size: clamp(1.65rem, 2.8vw, 2.6rem) !important;
    }

    body.home-page .hero-text-overlay {
        padding-bottom: 8% !important;
    }

    body.home-page .nuwa-product-stage {
        margin-top: clamp(-270px, -29vh, -220px) !important;
    }

    body.home-page .traveling-product-img {
        max-width: 560px !important;
        max-height: clamp(400px, 50vh, 500px) !important;
    }

    #packaging-dock-slot,
    #packaging-tilt-box {
        min-height: 520px !important;
        max-width: 560px !important;
    }
}

/* All other pages: Header nav bar is ALWAYS visible at all times */
body:not(.home-page) header {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

@media (max-width: 992px) {
    header {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dropdown-item:hover {
    color: var(--accent-color);
    background-color: var(--bg-secondary);
}

.nav-links .btn {
    padding: 0.45rem 1.15rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border-radius: 4px;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(240, 243, 244, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem 2rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        gap: 1.25rem;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 4px;
        transition: background 0.2s;
    }

    .mobile-toggle:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(28, 37, 46, 0.04);
        border-radius: 6px;
        padding: 0.5rem 1rem;
        display: none;
        margin-top: 0.5rem;
        margin-left: 0.5rem;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-item {
        padding: 0.5rem 0;
        font-size: 0.88rem;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        margin-top: 0.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    /* offset for header */
}

/* Nuwa-Inspired Hero Style (Pure Visual: Farm Banner & Product Image) */
.nuwa-hero-section {
    position: relative;
    padding-top: clamp(3.2rem, 5vh, 4rem);
    padding-bottom: 2rem;
    background-color: var(--bg-primary);
    overflow: visible;
    z-index: 50;
}

.nuwa-banner-wrapper {
    position: relative;
    width: 100%;
    height: clamp(380px, 50vh, 520px);
    background-color: #1C252E;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
}

.nuwa-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: translateY(-8px) scale(1.01);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.nuwa-hero-section:hover .nuwa-banner-img {
    transform: scale(1);
}


/* Hero Top Brand Emblem (Centered at Top of Hero, Disappears on Scroll) */
.hero-top-brand-logo {
    position: absolute;
    top: 0;
    margin-top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 25;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    pointer-events: auto;
}

.hero-top-logo-img {
    height: clamp(85px, 13vh, 130px);
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.35s ease;
}

.hero-top-brand-logo:hover .hero-top-logo-img {
    transform: scale(1.04);
}

/* Disappear smoothly when scrolled */
body.is-scrolled .hero-top-brand-logo,
.hero-top-brand-logo.is-hidden,
header.scrolled~#swup .hero-top-brand-logo,
header.scrolled~main .hero-top-brand-logo {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, -18px) !important;
    pointer-events: none !important;
}

/* Hero Text Overlay for Homepage */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 8%;
    /* Push slightly up to avoid floating coffee bags */
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.hero-editorial-title {
    font-size: clamp(1.75rem, 3.5vw, 3.2rem);
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* Ensure the red accent inside the hero is clearly visible */
.hero-editorial-title .accent-font {
    color: var(--color-katmandu-red) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nuwa-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 14, 0.2) 0%, rgba(20, 16, 14, 0.05) 45%, rgba(250, 249, 246, 0.4) 100%);
    pointer-events: none;
}

/* Foreground Floating Product Composition (Viewport-Aware Scaling) */
.nuwa-product-stage {
    position: relative;
    margin-top: clamp(-230px, -27vh, -180px);
    z-index: 100;
    text-align: center;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.traveling-product-img {
    position: relative;
    max-width: min(90vw, 520px);
    max-height: clamp(360px, 48vh, 500px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: none;
    transform: scale(1.2);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    z-index: 100;
    pointer-events: none;
}

#packaging-dock-slot {
    min-height: 520px;
    height: 520px;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* High-Resolution & Large Desktop Breakpoints (1440px+) */
@media (min-width: 1440px) {
    body.home-page .nuwa-hero-section {
        padding-top: 0 !important;
        padding-bottom: 2.5rem;
    }

    .nuwa-hero-section {
        padding-top: clamp(3.5rem, 5vh, 4.2rem);
        padding-bottom: 2.5rem;
    }

    body.home-page .nuwa-banner-wrapper,
    .nuwa-banner-wrapper {
        height: clamp(560px, 62vh, 740px);
        clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
    }

    body.home-page .hero-editorial-title {
        font-size: clamp(2rem, 3.2vw, 3.5rem);
    }

    body.home-page .nuwa-product-stage,
    .nuwa-product-stage {
        margin-top: clamp(-310px, -30vh, -250px);
    }

    body.home-page .traveling-product-img,
    .traveling-product-img {
        max-width: 660px;
        max-height: clamp(440px, 52vh, 620px);
    }

    #packaging-tilt-box {
        max-width: 480px;
        min-height: 420px;
    }

    #packaging-dock-slot {
        min-height: 420px;
        height: 420px;
        max-width: 480px;
    }

    .container,
    .ed-container {
        max-width: 1420px;
        padding: 0 2.5rem;
    }
}

/* Ultra-wide & 4K Displays (1920px+) */
@media (min-width: 1920px) {
    body.home-page .nuwa-hero-section {
        padding-top: 0 !important;
        padding-bottom: 3rem;
    }

    .nuwa-hero-section {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    body.home-page .nuwa-banner-wrapper,
    .nuwa-banner-wrapper {
        height: clamp(640px, 66vh, 860px);
        clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    }

    body.home-page .hero-editorial-title {
        font-size: clamp(2.4rem, 3.5vw, 4.2rem);
    }

    body.home-page .nuwa-product-stage,
    .nuwa-product-stage {
        margin-top: clamp(-370px, -31vh, -300px);
    }

    body.home-page .traveling-product-img,
    .traveling-product-img {
        max-width: 780px;
        max-height: clamp(500px, 54vh, 720px);
    }

    #packaging-tilt-box {
        max-width: 520px;
        min-height: 460px;
    }

    #packaging-dock-slot {
        min-height: 460px;
        height: 460px;
        max-width: 520px;
    }

    .container,
    .ed-container {
        max-width: 1540px;
        padding: 0 3rem;
    }
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1199px) and (max-height: 700px) {
    .nuwa-banner-wrapper {
        height: 440px;
    }

    .nuwa-product-stage {
        margin-top: -240px;
    }

    .traveling-product-img {
        max-height: 380px;
    }
}

@media (max-width: 991px) {
    .nuwa-banner-wrapper {
        height: 480px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }

    .nuwa-product-stage {
        margin-top: -240px;
    }

    .traveling-product-img {
        max-width: 480px;
        max-height: 440px;
    }

    #packaging-tilt-box {
        max-width: 480px;
        min-height: 440px;
    }

    #packaging-dock-slot {
        min-height: 440px;
    }
}

@media (max-width: 768px) {
    .nuwa-banner-wrapper {
        height: 420px;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
    }

    .nuwa-product-stage {
        margin-top: -200px;
    }

    .traveling-product-img {
        max-width: 380px;
        max-height: 380px;
    }

    #packaging-tilt-box {
        max-width: 380px;
        min-height: 360px;
    }

    #packaging-dock-slot {
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .nuwa-banner-wrapper {
        height: 350px;
        clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
    }

    .nuwa-product-stage {
        margin-top: -155px;
    }

    .traveling-product-img {
        max-width: 290px;
        max-height: 290px;
    }

    #packaging-tilt-box {
        max-width: 290px;
        min-height: 290px;
    }

    #packaging-dock-slot {
        min-height: 290px;
    }
}

.hero-image-wrapper {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-8px) scale(1.01);
    transition: transform 1.5s ease-out;
}

.hero:hover .hero-image {
    transform: scale(1);
}

/* Flagship Card (Fluid Responsive) */
.flagship-card {
    background-color: #1C252E;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    color: #F0F3F4;
}

.flagship-content {
    flex: 1 1 450px;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F0F3F4;
}

.flagship-content h2,
.flagship-content h3 {
    color: #F0F3F4 !important;
}

.flagship-content p {
    color: rgba(255, 255, 255, 0.9);
}

.flagship-visual {
    flex: 1 1 350px;
    background-color: #1C252E;
    position: relative;
    min-height: clamp(260px, 35vw, 400px);
    color: rgba(255, 255, 255, 0.7);
}

/* Compact Why Us Section (Space-Efficient Comparison Matrix) */
.why-us-section {
    padding: 3.5rem 0 4rem;
    background-color: var(--bg-secondary);
    position: relative;
}

.why-us-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem;
}

.why-us-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.9rem;
    background: rgba(210, 35, 42, 0.08);
    border-radius: 50px;
}

.why-us-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0;
}

.compact-matrix-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .compact-matrix-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.matrix-column {
    border-radius: 10px;
    padding: 1.8rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.matrix-column.matrix-highlight {
    background-color: #F0F3F4;
    border: 1.5px solid rgba(210, 35, 42, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

.matrix-column.matrix-muted {
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
}

.matrix-col-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.matrix-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F0F3F4;
    background: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.matrix-badge.muted {
    background: #8c827a;
}

.matrix-col-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.matrix-col-title.muted {
    color: var(--text-secondary);
}

.matrix-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.matrix-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.matrix-icon {
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.matrix-icon.good {
    color: #28a745;
}

.matrix-icon.bad {
    color: #666666;
}

.matrix-text strong {
    color: var(--text-primary);
}

.matrix-column.matrix-muted .matrix-text {
    color: #444444;
}

/* Why Us Certifications Strip (Compact & High Trust) */
.why-us-certifications {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.cert-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-label i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.cert-badges-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-badge-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #F0F3F4;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-badge-item:hover {
    transform: translateY(-2px);
    border-color: rgba(210, 35, 42, 0.3);
}

.cert-icon {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.cert-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cert-info strong {
    font-size: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.cert-info span {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

@media (max-width: 860px) {
    .why-us-certifications {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cert-badges-wrap {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cert-badges-wrap {
        grid-template-columns: 1fr;
    }
}

/* Cards / Features */
.feature-card {
    padding: 3rem 2rem;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: var(--bg-primary);
    font-size: 0.99rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: block;
    color: rgba(250, 249, 246, 1);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.2s ease-out, transform 0.2s ease-out;
}

.footer-link:hover {
    color: var(--bg-primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 249, 246, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(250, 249, 246, 1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Immersive Hero */
.immersive-hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 170%;
    background: radial-gradient(circle at center, #F0EBE1 0%, #D3C5B5 100%);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 10;
    margin-top: -5rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Floating Parallax Elements */
.parallax-element {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 5;
    opacity: 0.15;
}

.bean-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    border-radius: 50%;
    background-color: var(--text-primary);
}

.bean-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 5%;
    border-radius: 50%;
    background-color: var(--text-primary);
}

.bean-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 25%;
    border-radius: 50%;
    background-color: var(--text-primary);
}

/* Ambient Noise Background */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* 3D Packaging Tilt */
.packaging-showcase {
    padding: 10rem 0;
}

.align-center {
    align-items: center;
}

.tilt-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 550px;
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;
}

.tilt-box-inner {
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    transform: translateZ(0);
    transition: transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.packaging-placeholder {
    text-align: center;
    transform: translateZ(50px);
    /* Pops out in 3D */
}

.glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    transform: translateZ(1px);
}

.tilt-box:hover .glare {
    opacity: 1;
}

/* Asymmetric Grid Journey */
.asymmetric-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.story-card {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.card-left {
    flex-direction: row;
}

.card-right {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    height: 500px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 249, 246, 1);
}

.story-content {
    flex: 1;
}

@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
        gap: 2rem;
    }

    .card-right {
        flex-direction: column;
        margin-top: 0 !important;
    }

    .story-image {
        height: 300px;
        width: 100%;
    }
}

.underline-link {
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
}

/* Premium Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    border-color: transparent;
}

.product-image-container {
    position: relative;
    height: 350px;
    overflow: hidden;
    background-color: #F0F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.product-card:hover .product-img {
    transform: translateY(-8px) scale(1.01);
}

.product-details {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Cinematic Media Blocks */
.cinematic-media-block {
    position: relative;
    width: 100%;
    min-height: 60vh;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3E4B41;
    /* Placeholder */
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: var(--transition);
}

.cinematic-media-block:hover .cinematic-bg {
    opacity: 0.7;
    transform: translateY(-8px) scale(1.01);
}

.cinematic-content {
    position: relative;
    z-index: 10;
    padding: 4rem;
    max-width: 600px;
    color: var(--bg-primary);
}

.cinematic-content h2,
.cinematic-content h3 {
    color: var(--bg-primary);
}

.cinematic-content p {
    color: rgba(250, 249, 246, 0.9);
}

/* Premium Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    border-color: transparent;
}

.product-image-container {
    position: relative;
    height: 350px;
    overflow: hidden;
    background-color: #F0F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.product-card:hover .product-img {
    transform: translateY(-8px) scale(1.01);
}

.product-details {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Cinematic Media Blocks */
.cinematic-media-block {
    position: relative;
    width: 100%;
    min-height: 60vh;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: var(--transition);
}

.cinematic-media-block:hover .cinematic-bg {
    opacity: 0.7;
    transform: translateY(-8px) scale(1.01);
}

.cinematic-content {
    position: relative;
    z-index: 10;
    padding: 4rem;
    max-width: 600px;
    color: var(--bg-primary);
}

.cinematic-content h2,
.cinematic-content h3 {
    color: var(--bg-primary);
}

.cinematic-content p {
    color: rgba(250, 249, 246, 0.9);
}

/* Button Hover Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

/* Cinematic Dark Overlays */
.cinematic-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Text Legibility on Dark Backgrounds */
.cinematic-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* =============================================
   Dark Background Text Legibility Overrides
   Applies to: hero-dark sections, cinematic blocks, dark inline panels
   ============================================= */

/* Headings */
.hero-dark h1,
.hero-dark h2,
.hero-dark h3,
.hero-dark h4,
.hero-dark h5,
.hero-dark h6,
.hero-dark .ed-title,
.hero-dark .ed-mega-title,
.hero-dark .ed-massive-title {
    color: #F0F3F4 !important;
}

.ed-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: 1.2rem;
}

.ed-massive-title {
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.ed-mega-title {
    font-size: clamp(2.3rem, 5.2vw, 4.4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.serif-italic {
    font-style: italic;
    font-weight: 400;
    color: var(--color-katmandu-red);
}

.ed-lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(28, 37, 46, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
}

.ed-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(28, 37, 46, 0.7);
    margin-bottom: 1.5rem;
}

.ed-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-katmandu-red);
    margin: 2rem 0;
}

.ed-section {
    padding: clamp(3rem, 6vh, 5rem) 0;
    position: relative;
    box-sizing: border-box;
}

/* ==========================================================================
   Viewport-Fitted Section Layouts (Full Visibility on Arrival)
   Ensures entire section content fits in viewport at once on desktop screens
   ========================================================================== */
@media (min-width: 993px) {

    .nuwa-hero-section,
    .ed-section {
        scroll-margin-top: 72px;
    }

    /* Full Viewport Visibility: Primary storytelling sections frame within screen on desktop */
    body.home-page .ed-section:not(.ed-process-section):not(.ed-connect-section):not(.theme-dark) {
        min-height: calc(100vh - 72px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(2rem, 3.8vh, 3.5rem) 0;
    }

    /* Red Bottom Banner / Connect Section (Above Footer Across All Pages) - Compact, Auto Height */
    .ed-section.theme-dark,
    .ed-section.ed-connect-section,
    .ed-section.ed-cta-section,
    .theme-dark.ed-section,
    .ed-connect-section,
    section.theme-dark {
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        padding: clamp(3.5rem, 5.5vh, 5rem) 0 !important;
    }

    /* Section 2: Split Layout (The Whole Value Chain) - Spacious & Uncramped */
    .ed-packaging-showcase .ed-container {
        max-width: 1360px;
        width: 100%;
    }

    .ed-packaging-showcase .ed-split-layout {
        display: grid;
        grid-template-columns: 0.88fr 1.12fr;
        gap: clamp(3rem, 5.5vw, 6.5rem);
        align-items: center;
        width: 100%;
    }

    .ed-packaging-showcase .ed-dock-wrapper {
        height: clamp(320px, 44vh, 430px);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ed-packaging-showcase #packaging-dock-slot,
    .ed-packaging-showcase #packaging-tilt-box {
        max-width: clamp(340px, 38vw, 440px);
        min-height: clamp(320px, 44vh, 430px);
        height: clamp(320px, 44vh, 430px);
        width: 100%;
    }

    .ed-packaging-showcase .ed-content-wrapper {
        width: 100%;
        max-width: 650px;
    }

    .ed-packaging-showcase .ed-eyebrow {
        margin-bottom: 0.75rem;
        display: inline-block;
    }

    .ed-packaging-showcase .ed-title {
        font-size: clamp(2rem, 3vw, 2.85rem);
        line-height: 1.15;
        margin-bottom: 0.75rem;
        letter-spacing: -0.015em;
    }

    .ed-packaging-showcase .ed-divider {
        margin: 0.75rem 0 1.1rem;
        width: 48px;
    }

    .ed-packaging-showcase .ed-lead-text {
        margin-bottom: 1.25rem;
        font-size: clamp(0.95rem, 1.05vw, 1.05rem);
        line-height: 1.65;
        max-width: 580px;
    }

    .ed-packaging-showcase .ed-specs-list {
        display: flex;
        gap: clamp(2rem, 3.5vw, 3.5rem);
        margin: 1.25rem 0 1.5rem;
        padding: 0.85rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .ed-packaging-showcase .spec-label {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .ed-packaging-showcase .spec-value {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .ed-packaging-showcase .ed-link-btn {
        margin-top: 0.25rem;
        display: inline-flex;
    }

    /* Section 3: The Estate Section */
    .ed-asymmetric-grid {
        gap: clamp(2.5rem, 4vw, 4rem);
        align-items: center;
    }

    .ed-col-images {
        height: clamp(380px, 52vh, 500px);
    }

    .ed-col-text .ed-text {
        margin-bottom: clamp(0.75rem, 1.5vh, 1.2rem);
        font-size: clamp(0.9rem, 1vw, 1rem);
        line-height: 1.6;
    }

    /* Section 4: Collection Section */
    .ed-collection-section .ed-section-header .ed-title {
        margin-bottom: 0.4rem;
    }

    .ed-collection-section .ed-lead-text {
        margin-bottom: clamp(1rem, 2vh, 1.5rem) !important;
    }

    .ed-floating-gallery-wrap {
        margin-top: clamp(1rem, 2vh, 1.8rem);
    }

    .ed-collection-section .coffee-card-stage {
        height: clamp(190px, 26vh, 240px);
    }

    /* Section 5: The Process Section */
    .ed-process-section {
        padding: clamp(3.5rem, 6vh, 5rem) 0;
    }

    .ed-process-section .ed-sticky-sidebar {
        top: 96px;
    }

    .ed-process-item {
        margin-bottom: clamp(2rem, 3.5vh, 3.5rem);
    }

    .process-image {
        height: clamp(220px, 30vh, 300px);
    }

    .process-card {
        padding: clamp(1.5rem, 2.2vh, 2rem);
        gap: clamp(1rem, 1.8vh, 1.4rem);
    }

    /* Section 6 & 9: Large Titles & CTAs */
    .ed-mega-title {
        margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
        font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    }

    .ed-connect-section .ed-lead-text {
        margin-bottom: clamp(1.5rem, 2.5vh, 2.5rem) !important;
    }
}

.ed-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 2.5vw, 2.5rem);
    box-sizing: border-box;
}

/* --- Reveal Animations (Subtle & Clean) --- */
.reveal-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-block.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section 2: Split Layout (Art in Every Bag) --- */
.ed-split-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}

.ed-dock-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 600px;
    /* Match bag height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-dock-halo {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 35, 42, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    animation: pulseHalo 8s infinite alternate ease-in-out;
}

@keyframes pulseHalo {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.packaging-dock-slot {
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 10;
}

.ed-content-wrapper {
    flex: 1;
    min-width: 0;
}

.ed-specs-list {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-katmandu-red);
    font-weight: 600;
}

.spec-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.ed-link-btn {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.ed-link-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.ed-link-btn:hover::after {
    transform: translateX(0);
}

.ed-link-btn .arrow {
    transition: transform 0.3s ease;
}

.ed-link-btn:hover .arrow {
    transform: translateX(5px);
}

/* --- Section 3: The Estate (Broken Grid) --- */
.ed-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.ed-col-images {
    position: relative;
    height: 700px;
}

.ed-image-wrap {
    overflow: hidden;
    position: absolute;
}

.ed-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-tall {
    width: 65%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.img-wide {
    width: 70%;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.ed-signature {
    margin-top: 3rem;
    font-size: 2.5rem;
    color: var(--color-katmandu-red);
    opacity: 0.8;
}

/* --- Section 4: Collection (Homepage Featured Roasts) --- */
.ed-collection-section {
    padding: 6rem 0;
}

.ed-collection-section .ed-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.ed-floating-gallery-wrap {
    margin-top: 2.5rem;
    position: relative;
    width: 100%;
}

.home-carousel-nav-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}

.ed-home-product-track {
    width: 100%;
}

/* 3-Column Flexible Grid Mode (when <= 3 products) */
.ed-home-product-track.grid-mode {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 2.5vw, 2.75rem);
    width: 100%;
    margin: 0 auto;
}

.ed-home-product-track.grid-mode .home-product-card {
    width: 100%;
    max-width: 100%;
}

/* Dynamic Carousel Slider Mode (when > 3 products) */
.ed-home-product-track.slider-mode {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: clamp(1.5rem, 2vw, 2.25rem);
    padding: 0.75rem 0.5rem 2rem 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.ed-home-product-track.slider-mode::-webkit-scrollbar {
    display: none;
}

.ed-home-product-track.slider-mode .home-product-card {
    flex: 0 0 clamp(290px, 30vw, 360px);
    min-width: 280px;
    max-width: 380px;
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .ed-home-product-track.grid-mode {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .ed-home-product-track.slider-mode .home-product-card {
        flex: 0 0 clamp(270px, 42vw, 320px);
    }
}

@media (max-width: 640px) {
    .ed-home-product-track.grid-mode {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.25rem;
        padding-bottom: 1.25rem;
        scrollbar-width: none;
    }

    .ed-home-product-track.grid-mode .home-product-card,
    .ed-home-product-track.slider-mode .home-product-card {
        flex: 0 0 82vw;
        max-width: 300px;
        scroll-snap-align: center;
    }
}

/* Enhanced Editorial Home Product Card (The Product Journey) */
.home-product-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 1.35rem 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    box-sizing: border-box;
}

.home-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.09);
    border-color: rgba(209, 35, 42, 0.3);
}

.home-card-header {
    margin-bottom: 0.85rem;
    text-align: left;
}

.home-card-eyebrow-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.home-card-series-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7A8590;
}

.home-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    margin: 0;
    line-height: 1.25;
    text-align: left;
    transition: color 0.25s ease;
}

.home-product-card:hover .home-card-title {
    color: #9B1419;
}

.home-card-stage {
    background: #FFFFFF;
    border-radius: 14px;
    height: 270px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0.95rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.home-card-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.home-product-card:hover .home-card-img {
    transform: scale(1.07);
}

.home-card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.home-card-notes {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.45;
    margin: 0.35rem 0 0.85rem;
    min-height: 2.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.home-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.home-card-cta i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.home-product-card:hover .home-card-cta {
    color: #9B1419;
}

.home-product-card:hover .home-card-cta i {
    transform: translateX(4px);
}

.ed-product-item,
.coffee-hover-card {
    flex: 0 0 220px;
    max-width: 220px;
    width: 100%;
    text-decoration: none;
    scroll-snap-align: center;
    position: relative;
    display: block;
    cursor: default;
}

/* Homepage Featured Product Card (Clean Link to Catalog) */
.ed-home-product-card {
    flex: 0 0 270px;
    text-decoration: none;
    scroll-snap-align: center;
    position: relative;
    display: block;
    cursor: pointer;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-home-product-card:hover {
    transform: translateY(-8px);
}

.ed-home-card-stage {
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.ed-home-product-card:hover .ed-home-card-stage {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(209, 35, 42, 0.25);
}

.ed-home-card-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}

.ed-home-product-card:hover .ed-home-card-img {
    transform: scale(1.06);
    filter: brightness(1.02);
}

.ed-home-card-hover-cue {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(28, 37, 46, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    pointer-events: none;
}

.ed-home-product-card:hover .ed-home-card-hover-cue {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Catalog Target Card Scroll & Pulse Highlight */
.target-coffee-product {
    scroll-margin-top: 120px;
    scroll-margin-left: 24px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.target-coffee-product.is-targeted .coffee-card-stage {
    animation: targetProductPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-color: rgba(209, 35, 42, 0.7) !important;
}

@keyframes targetProductPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(209, 35, 42, 0.65), 0 8px 24px rgba(209, 35, 42, 0.25);
        border-color: #D1232A;
        transform: translateY(-4px);
    }

    35% {
        box-shadow: 0 0 0 8px rgba(209, 35, 42, 0.22), 0 16px 36px rgba(209, 35, 42, 0.3);
        border-color: #D1232A;
        transform: translateY(-4px);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(209, 35, 42, 0), 0 10px 24px rgba(209, 35, 42, 0.12);
        border-color: rgba(209, 35, 42, 0.4);
        transform: translateY(-2px);
    }

    100% {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.06);
        transform: translateY(0);
    }
}

/* Coffee Page: Catalog 2-Column Layout with Sticky Sidebar */
.catalog-page-wrapper {
    width: 100%;
}

.catalog-layout-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: stretch;
}

.catalog-sidebar {
    position: relative;
    width: 100%;
    align-self: stretch;
    height: 100%;
}

.catalog-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.75rem 1.35rem;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    z-index: 20;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 35, 42, 0.3) transparent;
}

.catalog-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}

.catalog-sidebar-sticky::-webkit-scrollbar-thumb {
    background: rgba(209, 35, 42, 0.25);
    border-radius: 4px;
}

.catalog-sidebar-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.catalog-sidebar-header .ed-eyebrow {
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    display: block;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.catalog-series-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.series-nav-group {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.25s ease;
}

.series-nav-group:hover,
.series-nav-group.is-active {
    background: #FFFFFF;
    border-color: rgba(209, 35, 42, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.series-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.series-nav-group.is-active .series-nav-header,
.series-nav-header:hover {
    color: var(--color-katmandu-red);
}

.series-count-pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-secondary);
}

.series-nav-group.is-active .series-count-pill {
    background: rgba(209, 35, 42, 0.1);
    color: var(--color-katmandu-red);
}

.series-blends-list {
    list-style: none;
    padding: 0.15rem 0.5rem 0.65rem 0.85rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.blend-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.blend-nav-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.blend-nav-link:hover,
.blend-nav-link.is-active {
    color: var(--color-katmandu-red);
    font-weight: 600;
    transform: translateX(3px);
}

.blend-nav-link:hover .blend-nav-dot,
.blend-nav-link.is-active .blend-nav-dot {
    opacity: 1;
    transform: scale(1.5);
}

.catalog-sidebar-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sidebar-help-link:hover {
    transform: translateX(3px);
}

.catalog-content-area {
    min-width: 0;
    width: 100%;
}

.catalog-series-section {
    margin-bottom: 3rem !important;
    border-bottom: #A9A9A9 1px solid;
    padding-bottom: 1.5rem;
    scroll-margin-top: 110px;
}

.catalog-series-section:last-child {
    margin-bottom: 0;
}

/* Coffee Page: Fixed 3-Column Grid & Carousel Track */
.coffee-carousel-wrapper {
    position: relative;
    width: 100%;
}

.coffee-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.coffee-carousel-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(28, 37, 46, 0.15);
    background: #FFFFFF;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav-btn:hover {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    border-color: var(--color-katmandu-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(210, 35, 42, 0.3);
}

/* 2-Column Grid Mode (when <= 2 products) */
.coffee-carousel-track.grid-mode {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    gap: 1.25rem;
    width: calc(100% + 1.5rem);
    margin: -0.75rem -0.75rem 0 -0.75rem;
    padding: 0.75rem;
}

.coffee-carousel-track.grid-mode .coffee-hover-card {
    flex: initial;
    width: 100%;
    max-width: 220px;
}

/* Carousel Slider Mode (when > 2 products, or on mobile) */
.coffee-carousel-track.slider-mode {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    width: calc(100% + 1.5rem);
    margin: -0.75rem -0.75rem 0 -0.75rem;
    padding: 0.75rem 0.75rem 1.5rem 0.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.coffee-carousel-track.slider-mode::-webkit-scrollbar {
    display: none;
}

.coffee-carousel-track.slider-mode .coffee-hover-card {
    flex: 0 0 220px;
    min-width: 180px;
    max-width: 220px;
    scroll-snap-align: start;
}

@media (max-width: 1200px) {
    .catalog-layout-grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 2rem;
    }

    .coffee-carousel-track.grid-mode {
        grid-template-columns: repeat(auto-fill, minmax(170px, 210px));
        gap: 1.15rem;
    }

    .coffee-carousel-track.slider-mode .coffee-hover-card {
        flex: 0 0 210px;
        max-width: 210px;
    }
}

@media (max-width: 992px) {
    .catalog-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .catalog-sidebar-sticky {
        position: static;
        padding: 1.25rem 1rem;
    }

    .catalog-series-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .coffee-carousel-header {
        margin-bottom: 1.5rem;
    }

    .coffee-carousel-track.grid-mode {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.15rem;
        padding-bottom: 1.25rem;
        scrollbar-width: none;
    }

    .coffee-carousel-track.grid-mode .coffee-hover-card,
    .coffee-carousel-track.slider-mode .coffee-hover-card {
        flex: 0 0 75vw;
        max-width: 270px;
        scroll-snap-align: center;
    }

    .carousel-nav-btn {
        width: 38px;
        height: 38px;
    }
}

.ed-product-image-wrap,
.coffee-card-stage {
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.ed-product-item:hover .ed-product-image-wrap,
.coffee-hover-card:hover .coffee-card-stage {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(209, 35, 42, 0.25);
}

.ed-product-image-wrap img,
.coffee-card-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}

.ed-product-item:hover .ed-product-image-wrap img,
.coffee-hover-card:hover .coffee-card-stage .coffee-card-img,
.coffee-hover-card:hover .coffee-card-img,
.coffee-card-stage:hover .coffee-card-img {
    transform: scale(1.06);
    filter: brightness(1.02);
}

.ed-roast-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 700;
    z-index: 10;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Hover Details Glassmorphic Overlay Drawer Over Image (Lighter, subtle blur) */
.coffee-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 32, 0.88) 0%, rgba(17, 24, 32, 0.62) 48%, rgba(17, 24, 32, 0.12) 78%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #FFFFFF;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    border-radius: 14px;
}

.ed-product-item:hover .coffee-card-overlay,
.coffee-hover-card:hover .coffee-card-overlay,
.coffee-card-stage:hover .coffee-card-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.coffee-overlay-inner {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transform: translateY(8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-product-item:hover .coffee-overlay-inner,
.coffee-hover-card:hover .coffee-overlay-inner,
.coffee-card-stage:hover .coffee-overlay-inner {
    transform: translateY(0) !important;
}

.coffee-card-overlay,
.coffee-card-overlay *,
.coffee-card-overlay p,
.coffee-card-overlay .coffee-quick-inquire-btn {
    filter: none !important;
    transition-delay: 0s !important;
}

.coffee-overlay-notes {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5rem;
    text-align: left;
}

.overlay-mini-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #FF5A60;
    margin-bottom: 0.15rem;
}

.overlay-notes-text {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    line-height: 1.3;
    color: #FFFFFF !important;
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    opacity: 1 !important;
}

.coffee-overlay-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    text-align: left;
}

.overlay-spec-pill {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 0.32rem 0.55rem;
    display: flex;
    flex-direction: column;
}

.overlay-spec-pill .sp-lbl {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.overlay-spec-pill .sp-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coffee-overlay-action {
    margin-top: 0.35rem;
    display: flex;
    gap: 0.5rem;
}

.coffee-view-detail-btn {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.8rem;
    background: var(--color-katmandu-red);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 14px rgba(209, 35, 42, 0.4);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.coffee-view-detail-btn:hover {
    background: #E02B32;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(209, 35, 42, 0.55);
}

.coffee-view-detail-btn i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.coffee-view-detail-btn:hover i {
    transform: translateX(3px);
}

.coffee-quick-inquire-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.coffee-quick-inquire-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.coffee-quick-inquire-btn i {
    font-size: 0.7rem;
}

.coffee-card-header {
    text-align: left;
    margin-bottom: 0.65rem;
}

.coffee-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    margin-bottom: 0.25rem;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.ed-product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.coffee-hover-card:hover .coffee-card-title {
    color: #9B1419;
}

.ed-product-info h3 a:hover {
    color: var(--color-katmandu-red);
}

/* Card Sticker Pill & Metadata */
.coffee-stage-sticker-pill {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.coffee-stage-sticker-pill .sticker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--sticker-color, #D1232A);
}

.coffee-card-price-row {
    margin-bottom: 0.35rem;
}

.coffee-card-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    letter-spacing: 0.02em;
    display: inline-block;
}

.coffee-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coffee-card-notes {
    font-size: 0.78rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    line-height: 1.3;
}

.coffee-card-notes i {
    color: var(--color-katmandu-red);
    font-size: 0.72rem;
    flex-shrink: 0;
}

.coffee-card-notes span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-product-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.ed-product-info .tasting-notes {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.ed-product-info .origin-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0;
}

.ed-drag-indicator {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 1rem;
    opacity: 0.5;
}

/* ==========================================================================
   DEDICATED COFFEE BLENDS PRODUCT DETAIL PAGE
   ========================================================================== */
.pd-page-wrapper {
    background-color: var(--bg-primary);
    padding: 8.5rem 0 6rem;
}

.pd-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pd-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pd-breadcrumbs a:hover {
    color: var(--color-katmandu-red);
}

.pd-breadcrumbs .sep {
    opacity: 0.4;
    font-size: 0.75rem;
}

.pd-breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 700;
}

.pd-layout-grid {
    display: grid;
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: flex-start;
}

.pd-visual-column {
    position: sticky;
    position: -webkit-sticky;
    top: 96px;
}

.pd-stage-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
    padding: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

.pd-stage-img {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    will-change: transform, transform-origin;
}

.pd-stage-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 5;
}

.pd-stage-status {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2e7d32;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pd-stage-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e7d32;
}

.pd-details-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pd-stage-sticker-pill {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 5;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: #FFFFFF;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pd-stage-sticker-pill .sticker-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 8px var(--sticker-color, #D1232A);
}

.pd-header-block {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pd-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.pd-sticker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

.pd-sticker-pill .sticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 6px var(--sticker-color, #D1232A);
}

.pd-series-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-katmandu-red);
    font-weight: 800;
}

.pd-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    color: var(--text-primary);
    line-height: 1.15;
    margin: 0;
}

.pd-pricing-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.pd-price {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pd-package-badge {
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 600;
}

.pd-notes-card {
    background: #FFFFFF;
    border-left: 4px solid var(--color-katmandu-red);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pd-notes-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-katmandu-red);
    font-weight: 800;
    margin-bottom: 0.35rem;
    display: block;
}

.pd-notes-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
    font-weight: 600;
}

.pd-desc-block {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.pd-specs-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-specs-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pd-spec-box {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pd-spec-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 700;
}

.pd-spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pd-actions-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pd-inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1.05rem 2.25rem;
    background: var(--color-katmandu-red);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 24px rgba(209, 35, 42, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-inquire-btn:hover {
    background: #B01B21;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(209, 35, 42, 0.5);
}

.pd-wholesale-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.05rem 1.75rem;
    background: transparent;
    color: var(--text-primary) !important;
    border: 1px solid rgba(28, 37, 46, 0.25);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.pd-wholesale-btn:hover {
    background: #FFFFFF;
    border-color: var(--color-katmandu-red);
    color: var(--color-katmandu-red) !important;
    transform: translateY(-2px);
}

.pd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
    transition: color 0.2s ease;
}

.pd-back-link:hover {
    color: var(--color-katmandu-red);
}

.pd-related-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.75rem);
    margin-top: 3.5rem;
    width: 100%;
}

.pd-related-grid .coffee-hover-card {
    max-width: 100% !important;
    width: 100% !important;
    flex: initial !important;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 1.5rem;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.pd-related-grid .coffee-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.09);
    border-color: rgba(209, 35, 42, 0.3);
}

.pd-related-grid .coffee-card-header {
    margin-bottom: 1.15rem;
    text-align: left;
}

.pd-related-grid .coffee-card-header .home-card-series-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7A8590;
    margin-bottom: 0.45rem;
    display: block;
}

.pd-related-grid .coffee-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.4vw, 1.55rem);
    font-weight: 700;
    color: var(--color-katmandu-red);
    line-height: 1.25;
    margin: 0;
    transition: color 0.2s ease;
}

.pd-related-grid .coffee-hover-card:hover .coffee-card-title {
    color: #9B1419;
}

.pd-related-grid .coffee-card-stage {
    background: #FFFFFF;
    border-radius: 14px;
    height: clamp(300px, 30vw, 360px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.pd-related-grid .coffee-card-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.pd-related-grid .coffee-hover-card:hover .coffee-card-img {
    transform: scale(1.07);
}

@media (max-width: 992px) {
    .pd-related-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .pd-related-grid .coffee-card-stage {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .pd-related-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .pd-related-grid .coffee-card-stage {
        height: 290px;
    }
}

@media (max-width: 992px) {
    .pd-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pd-visual-column {
        position: static;
    }

    .pd-stage-card {
        padding: 0;
        min-height: auto;
        aspect-ratio: 1 / 1;
    }

    .pd-stage-img {
        max-height: none;
        width: 100%;
        height: 100%;
    }

    .pd-specs-grid {
        grid-template-columns: 1fr;
    }

    .pd-back-link {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* --- Section 5: The Process (Sticky Vertical) --- */
@media (min-width: 992px) {
    .reverse-on-desktop {
        flex-direction: row-reverse !important;
    }
}

.ed-sticky-layout {
    display: flex;
    position: relative;
    align-items: flex-start;
    gap: 3.5rem;
}

.ed-sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    align-self: flex-start;
    width: 35%;
    flex-shrink: 0;
    z-index: 5;
}

.ed-scroll-content {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 1rem;
}

.ed-process-item {
    position: relative;
    width: 100%;
}

.process-card {
    background: #F0F3F4;
    padding: 2.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-image {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.process-card:hover .process-image img {
    transform: scale(1.04);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(28, 37, 46, 0.03);
    /* Huge barely visible watermark */
    line-height: 1;
    z-index: 0;
}

.process-content {
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--color-katmandu-red);
    margin-bottom: 0.8rem;
}

.process-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Section 6: Marquee --- */
.ed-marquee-section {
    padding: 3.5rem 0;
    background: var(--text-primary);
    color: #F0F3F4;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.ed-marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeAnim 65s linear infinite;
    will-change: transform;
}

.ed-marquee-section:hover .ed-marquee-content,
.ed-marquee-container:hover .ed-marquee-content,
.ed-marquee-content:hover {
    animation-play-state: paused;
}

.ed-marquee-content .marquee-item {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    margin: 0;
    padding: 0;
}

.ed-marquee-content .marquee-item:hover {
    color: #FFFFFF;
}

.ed-marquee-content .dot {
    color: var(--color-katmandu-red);
    margin: 0 1.5rem;
    font-size: 1.25rem;
    display: inline-block;
}

@keyframes marqueeAnim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Section 7: Connect --- */
.ed-btn-light {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #F0F3F4;
    color: var(--color-himalayan-brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ed-btn-light:hover {
    background: var(--color-katmandu-red);
    color: #F0F3F4;
}

/* Responsive adjustments */
@media (max-width: 991px) {

    .ed-split-layout,
    .ed-asymmetric-grid,
    .ed-sticky-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .ed-asymmetric-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .ed-dock-wrapper {
        height: 400px !important;
        min-height: 0 !important;
    }

    .ed-sticky-sidebar {
        position: relative;
        top: 0;
        width: 100%;
    }

    .ed-scrolling-content {
        width: 100%;
    }

    .ed-image-wrap {
        position: relative;
        width: 100%;
        height: 350px !important;
        box-shadow: none;
    }

    .ed-col-images {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .img-tall,
    .img-wide {
        right: 0;
        bottom: 0;
        top: 0;
        left: 0;
    }

    .process-number {
        font-size: 5rem;
        top: 10px;
        right: 10px;
    }

    .process-card {
        padding: 1.75rem;
    }

    .process-image {
        height: 240px;
    }

    .ed-scroll-content {
        width: 100%;
        gap: 2rem;
    }

    .ed-sticky-sidebar {
        position: relative;
        width: 100%;
        top: 0;
    }

    .ed-sticky-layout {
        flex-direction: column;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   THEME HELPER (DARK BACKGROUND CONTRAST)
   ========================================================================== */
.theme-dark {
    background-color: var(--color-himalayan-brown);
    color: #F0F3F4;
    position: relative;
    z-index: 1;
}

.theme-dark::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../.././assets/images/katmandu.png');
    /* Recommended for background images so they fill the space nicely: */
    background-size: cover;
    background-position: top center;

    opacity: 0.2;
    mix-blend-mode: multiply;
    z-index: -1;
}

.footers::before {
    background-image: none !important;
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark .ed-title,
.theme-dark .ed-mega-title {
    color: #F0F3F4 !important;
}

.theme-dark p,
.theme-dark li,
.theme-dark span,
.theme-dark .ed-lead-text,
.theme-dark .ed-text {
    color: rgba(255, 255, 255, 1) !important;
}

.theme-dark .text-accent,
.theme-dark .accent-font {
    color: var(--color-katmandu-red) !important;
}

.theme-dark .ed-btn-light {
    background: #F0F3F4 !important;
    color: var(--color-himalayan-brown) !important;
}

.theme-dark .ed-btn-light:hover {
    background: #1C252E !important;
    color: #F0F3F4 !important;
    border-color: #1C252E !important;
}

/* ==========================================================================
   FOOTER SEPARATION
   ========================================================================== */
footer.theme-dark,
footer {
    background-color: #1C252E !important;
}

/* Sleek Black Editorial Button */
.btn-black {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #1C252E;
    color: #F0F3F4 !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-black:hover {
    background: var(--color-katmandu-red);
    transform: translateY(-2px);
}

.sociallink {
    color: var(--bg-primary);
    font-size: 1.2rem;
    background: var(--color-katmandu-red);
    padding: 5px 10px 5px 10px;
    border-radius: 10%;
}

.sociallink:hover {
    color: var(--color-katmandu-red);
    background: var(--bg-primary);
    border-radius: 10%;
}

/* ==========================================================================
   BLACK THEME ENHANCEMENTS
   ========================================================================== */
.theme-dark[style*="background-color: #1C252E"] .ed-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

.theme-dark[style*="background-color: #1C252E"] .spec-label {
    color: rgba(255, 255, 255, 0.5);
}

.theme-dark[style*="background-color: #1C252E"] .spec-value {
    color: #F0F3F4;
}

.theme-dark[style*="background-color: #1C252E"] .ed-link-btn {
    overflow: hidden;
    color: #F0F3F4;
}

.theme-dark[style*="background-color: #1C252E"] .ed-link-btn::after {
    background: #F0F3F4;
}

.theme-dark[style*="background-color: #1C252E"] .ed-link-btn:hover {
    color: var(--color-katmandu-red);
}

/* ==========================================================================
   SMOOTH MASKING TRANSITIONS (Awwwards Style)
   ========================================================================== */

/* The element starts fully clipped from the top/bottom */
.reveal-block,
.reveal-up,
.fade-up {
    /* Safe fallback */
    opacity: 1;

    transform: translateY(0);
    transition: clip-path 1.4s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.4s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: clip-path, transform, opacity;
}

.reveal-block.visible,
.reveal-up.visible,
.fade-up.visible,
.in-view {
    opacity: 1;
    clip-path: none;
    transform: translateY(0);
}

/* Sections themselves can have a subtle masking reveal */
.ed-section {
    position: relative;
    z-index: 1;
}








/* ==========================================================================
   USER REQUEST: TYPOGRAPHY HIERARCHY FINAL
   Typography: Manrope everywhere (Headings, Subheadings, Body)
   Secondary/Sub: Manrope (Descriptions, p, span, body)
   Accent: Standard Typography with brand color
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

img {
    max-width: 100%;
}

:root {
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* All Headings -> Manrope Bold */
h1,
h2,
h3,
h4,
h5,
h6,
.ed-title,
.ed-mega-title,
.ed-massive-title,
.font-heading {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
}

/* Descriptions / Body -> Manrope */
body,
p,
li,
div,
span,
.ed-text,
.ed-lead-text,
.spec-label,
.spec-value,
.subheading {
    font-family: var(--font-body);
}

/* Accent Highlight */
.accent-font {

    font-weight: normal !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: inline-block;
}


/* ==========================================================================
   USER REQUEST: STRICT NO ITALICS
   Primary and Secondary fonts must NOT have italics.
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.ed-title,
.ed-mega-title,
.ed-massive-title,
.font-heading {
    font-style: normal !important;
}

body,
p,
li,
div,
.ed-text,
.ed-lead-text,
.spec-label,
.spec-value,
.subheading {
    font-style: normal !important;
}

span:not(.accent-font) {
    font-style: normal !important;
}

em,
i:not([class*="fa-"]) {
    font-style: normal !important;
}

/* ==========================================================================
   SWUP PAGE TRANSITIONS
   ========================================================================== */
.transition-fade {
    transition: opacity 0.4s ease;
    opacity: 1;
}

html.is-animating .transition-fade {
    opacity: 0;
}

/* ==========================================================================
   PARALLAX TILT EFFECTS
   ========================================================================== */
.tilt-element {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-element img {
    transform: translateZ(30px);
}

/* ==========================================================================
   USER REQUEST: HEADINGS RED AND BLACK
   Enforcing true Black (#1C252E) for all headings, instead of brown.
   Accent text remains Katmandu Red (#D2232A).
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.ed-title,
.ed-mega-title,
.ed-massive-title,
.font-heading {
    color: #1C252E !important;
}

/* Ensure Red accents override the black */
h1 .text-katmandu-red,
h2 .text-katmandu-red,
h3 .text-katmandu-red,
h4 .text-katmandu-red,
h5 .text-katmandu-red,
h6 .text-katmandu-red,
.ed-mega-title .text-katmandu-red,
.ed-title .text-katmandu-red,
.accent-font {
    color: var(--color-katmandu-red) !important;
}

/* Preserve white headings on dark backgrounds */
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark .ed-title,
.theme-dark .ed-mega-title {
    color: #F0F3F4 !important;
}



/* ==========================================================================
   STRICT TYPOGRAPHY ENFORCEMENT & READABILITY FIXES
   ========================================================================== */

/* 1. Ensure NO Manrope (body font) is used inside ANY heading, ever. */
h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 *,
.ed-title *,
.ed-mega-title *,
.ed-massive-title * {
    font-family: var(--font-heading) !important;
}

/* 2. Fix readability: Make sure headings are Glacier White (#F0F3F4) when on Katmandu Red backgrounds */
.bg-himalayan-brown h1,
.bg-himalayan-brown h2,
.bg-himalayan-brown h3,
.bg-himalayan-brown h4,
.bg-himalayan-brown h5,
.bg-himalayan-brown h6,
.bg-himalayan-brown .ed-title,
.bg-himalayan-brown .ed-mega-title,
.bg-himalayan-brown .ed-massive-title,
.bg-himalayan-brown p,
.bg-himalayan-brown span,
.bg-himalayan-brown div {
    color: #F0F3F4 !important;
}

/* Ensure red accents still show up if they are specifically placed inside a white-text dark section */
/* Actually, on a red background, a red accent is invisible! So if there's an accent on a red background, it should be white. */
.bg-himalayan-brown .text-katmandu-red,
.bg-himalayan-brown .accent-font {
    color: #FFFFFF !important;
    /* Stand out on red */
}

/* 3. Fix invisible red accents on solid Red backgrounds (.theme-dark) */
.theme-dark .text-katmandu-red,
.theme-dark .accent-font {
    color: #F0F3F4 !important;
}

/* Fix button hovers on Red backgrounds */
.bg-himalayan-brown .btn:hover,
.bg-himalayan-brown .btn-primary:hover,
.bg-himalayan-brown .ed-btn-light:hover,
.theme-dark .btn:hover,
.theme-dark .btn-primary:hover,
.theme-dark .ed-btn-light:hover {
    background: #1C252E !important;
    color: #F0F3F4 !important;
    border-color: #1C252E !important;
}

/* ==========================================================================
   CURSOR INVERT ON DARK BACKGROUNDS
   ========================================================================== */
























/* ==========================================================================
   CUSTOM MAGNETIC CURSOR (High-Z-Index & Smooth Difference Mode)
   ========================================================================== */
@media (pointer: fine) {

    body,
    a,
    button,
    .welcome-explore-btn,
    .ed-product-card,
    .tilt-element {
        cursor: none !important;
    }
}

.kc-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background-color: #FFFFFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, transform 0.15s ease-out;
    will-change: left, top, transform;
    opacity: 0;
}

.kc-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.3s ease,
        border-color 0.3s ease;
    will-change: left, top, transform;
    opacity: 0;
}

.kc-cursor-follower.kc-hover {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

.kc-cursor-follower.kc-explore {
    width: 84px;
    height: 84px;
    background-color: #FFFFFF;
    border: none;
    mix-blend-mode: normal;
    color: #11171E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.kc-cursor.kc-explore {
    opacity: 0;
}

/* Hide custom cursor on touch/coarse pointer devices */
@media (pointer: coarse) {

    .kc-cursor,
    .kc-cursor-follower {
        display: none !important;
    }
}

/* ==========================================================================
   RESTORED MISSING CLASSES
   ========================================================================== */
.ed-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.ed-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--color-katmandu-red);
    vertical-align: middle;
    margin-right: 12px;
}

/* .accent-font {
    color: var(--color-katmandu-red) !important;
    font-style: normal !important;
    display: inline-block;
}

.ed-signature {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

[style*="Abhaya Libre"] {
    font-family: 'Manrope', -apple-system, sans-serif !important;
}
[style*="Manrope"] {
    font-family: 'Manrope', -apple-system, sans-serif !important;
}

/* 
  Rich Text Reset: When titles and eyebrows are edited via the backend Quill editor, 
  they get wrapped in <p> tags. We neutralize these <p> tags inside headings so 
  they don't break the layout or add unwanted margins.
*/
.ed-eyebrow p,
.ed-title p,
.ed-mega-title p,
.ed-massive-title p,
h1 p,
h2 p,
h3 p,
h4 p,
h5 p,
h6 p {
    display: block;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   CREATIVE ENHANCEMENTS
   ========================================================================== */

/* ------------------------------------------------------------------
   1. GRAIN / NOISE TEXTURE OVERLAY
   ------------------------------------------------------------------ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    opacity: 0.028;
    mix-blend-mode: multiply;
}

/* ------------------------------------------------------------------
   2. UNIVERSAL WORD-BY-WORD TITLE FADE-IN WITH BLUR REVEAL EFFECT
      (Matching the Welcome Screen Editorial Style)
   ------------------------------------------------------------------ */

/* Each word starts invisible and blurred — JS sets --w-delay per word */
.title-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    filter: blur(5px);
    will-change: opacity, transform, filter;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

/* Trigger: JS adds .title-animated to the heading element when it enters viewport */
.title-animated .title-reveal-word {
    animation: titleWordFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--w-delay, 0.18s);
}

/* Keyframe — identical to welcomeWordFadeIn on the welcome screen */
@keyframes titleWordFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Fallback for whole-title reveal when not split into words */
.title-animated:not(.words-split) {
    animation: titleWordFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--w-delay, 0.18s);
}

/* ------------------------------------------------------------------
   3. CHOREOGRAPHED CASCADING SWIPE-UP FOR ALL EDITORIAL ELEMENTS
      (Eyebrows → Title words → Descriptions → Specs → Buttons)

      SINGLE TRIGGER: .content-animated is added by JS per-element
      via IntersectionObserver. Each element gets its own precise
      --cascade-delay set by initCascadingEditorialElements().
      DO NOT add extra reveal triggers here — they create conflicts.
   ------------------------------------------------------------------ */

/* ── Hidden / pre-animation state ────────────────────────────────── */

/* Phase 1 – Eyebrows & Provenance Badges */
.ed-eyebrow,
.section-eyebrow,
.provenance-badge,
.badge-pill,
.section-badge,
.ed-subtitle,
.farm-eyebrow,
.journey-tag,
.pillar-number {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
    will-change: opacity, transform, filter;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--cascade-delay, 0.08s);
}

/* Phase 3 – Descriptions, Paragraphs & Support Text (Fast Swipe Fade-In) */
main p:not(.welcome-quote-text):not(.title-reveal-word),
.ed-desc,
.ed-lead,
.ed-lead-text,
.ed-text,
.pillar-desc,
.process-content p,
.process-step p,
.process-item p,
.ed-text-col p,
.text-col p,
.feature-content p,
.lead-text,
.section-desc,
.swipe-fade-in {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
    will-change: opacity, transform, filter;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--cascade-delay, 0.42s);
}

/* Phase 4 – Spec lists & feature items */
.ed-specs-list,
.spec-item,
.spec-badge,
.feature-list,
.feature-item,
.journey-meta-grid,
.journey-meta-item,
.estate-stat-card,
.stat-item,
.detail-spec-item,
.coffee-spec-item {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(3px);
    will-change: opacity, transform, filter;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--cascade-delay, 0.50s);
}

/* Phase 5 – Buttons & CTAs */
.ed-cta-group,
.btn-row,
.hero-cta,
.spec-action,
.cta-group,
.action-wrap,
main .btn:not(header .btn):not(.nav-links .btn):not(.welcome-explore-btn),
main button:not(#kc-welcome-screen button):not(.mobile-toggle),
main a.btn,
.ed-link-btn,
.ed-btn-light,
.ed-btn-dark,
main a.ed-btn-light,
main a.ed-btn-dark,
main a.ed-link-btn {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(12px);
    filter: blur(3px);
    will-change: opacity, transform, filter;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--cascade-delay, 0.58s);
}

/* ── Revealed state — .content-animated added by JS per element ──── */
.content-animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}


/* ------------------------------------------------------------------
   5. MOUNTAIN SVG PARALLAX DIVIDER
   ------------------------------------------------------------------ */
.mountain-divider {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    margin-top: -2px;
    z-index: 99;
    pointer-events: none;
}

.mountain-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mtn-layer-back {
    opacity: 0.15;
}

.mtn-layer-mid {
    opacity: 0.32;
}

.mtn-layer-front {
    opacity: 1;
}

/* ------------------------------------------------------------------
   6. PRODUCT CARD HOVER — FLAVOR PROFILE REVEAL
   ------------------------------------------------------------------ */
.product-card-wrap {
    position: relative;
    overflow: hidden;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 37, 46, 0.95) 0%, rgba(28, 37, 46, 0.65) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.38s cubic-bezier(0.25, 1, 0.5, 1), transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.product-card-wrap:hover .product-card-overlay,
.product-card-wrap:focus-within .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.flavor-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.62rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    border-radius: 2px;
}

.product-overlay-cta {
    color: #fff;
    font-size: 0.72rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-overlay-cta .arrow {
    transition: transform 0.3s ease;
}

.product-card-wrap:hover .product-overlay-cta .arrow {
    transform: translateX(5px);
}

/* ------------------------------------------------------------------
   7. ROASTING TEMPERATURE ARC
   ------------------------------------------------------------------ */
.roast-arc-section {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.roast-arc-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.roast-arc-header {
    text-align: center;
    margin-bottom: 3rem;
}

#roast-curve-path {
    stroke: var(--color-katmandu-red);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 950;
    stroke-dashoffset: 950;
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

#roast-curve-path.animate {
    stroke-dashoffset: 0;
}

#roast-curve-fill {
    opacity: 0;
    transition: opacity 2s ease 0.4s;
}

#roast-curve-fill.animate {
    opacity: 0.08;
}

.roast-stage-dot {
    opacity: 0;
    transition: opacity 0.4s ease;
    fill: var(--color-katmandu-red);
}

.roast-stage-dot.visible {
    opacity: 1;
}

.roast-stage-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    fill: var(--text-secondary);
    font-family: var(--font-body);
}

.roast-stage-temp {
    font-size: 0.82rem;
    font-family: var(--font-heading);
    fill: var(--color-katmandu-red);
}

@media (max-width: 600px) {
    .roast-arc-section {
        padding: 3rem 0 2rem;
    }

    .roast-arc-wrapper {
        padding: 0 1rem;
    }
}

/* ------------------------------------------------------------------
   9. FOOTER ORIGIN JOURNEY STRIP
   ------------------------------------------------------------------ */
.footer-journey {
    background: #141c24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.8rem 0;
}

.footer-journey-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.journey-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 110px;
}

.journey-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(209, 35, 42, 0.1);
    border: 1px solid rgba(209, 35, 42, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-katmandu-red);
    transition: background 0.3s ease, transform 0.3s ease;
}

.journey-node:hover .journey-icon {
    background: rgba(209, 35, 42, 0.2);
    transform: scale(1.08);
}

.journey-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
}

.journey-sublabel {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-heading);
    text-align: center;
    margin-top: -0.15rem;
}

.journey-connector {
    flex: 1;
    max-width: 90px;
    min-width: 28px;
    height: 2px;
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
}

.journey-connector::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to right,
            rgba(209, 35, 42, 0.55) 0px,
            rgba(209, 35, 42, 0.55) 6px,
            transparent 6px,
            transparent 14px);
    animation: dashTravel 1.5s linear infinite;
}

@keyframes dashTravel {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(14px);
    }
}

@media (max-width: 480px) {
    .journey-connector {
        display: none;
    }

    .footer-journey-inner {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   GOOGLE RECAPTCHA V3 BADGE & FLOATING CONTROLS
   ========================================================================== */
.grecaptcha-badge {
    z-index: 999990 !important;
    position: fixed !important;
    bottom: 24px !important;
    right: -188px !important;
    box-shadow: -2px 4px 16px rgba(0, 0, 0, 0.14) !important;
    border-radius: 8px 0 0 8px !important;
    overflow: hidden !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within {
    right: 0 !important;
    box-shadow: -4px 6px 24px rgba(0, 0, 0, 0.22) !important;
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================================== */
.kc-back-to-top {
    position: fixed;
    bottom: 84px;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #11171E;
    color: #F0F3F4;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999980;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    outline: none;
    padding: 0;
}

.kc-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.kc-back-to-top:hover {
    background: var(--color-katmandu-red);
    border-color: var(--color-katmandu-red);
    color: #FFFFFF;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(209, 35, 42, 0.45);
}

.kc-back-to-top .btt-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.kc-back-to-top:hover .btt-icon {
    transform: translateY(-2px);
}

.btt-progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.btt-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.btt-circle-bar {
    fill: none;
    stroke: var(--color-katmandu-red);
    stroke-width: 2.5;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease, stroke 0.3s ease;
}

.kc-back-to-top:hover .btt-circle-bar {
    stroke: #FFFFFF;
}

@media (max-width: 768px) {
    .grecaptcha-badge {
        bottom: 18px !important;
        right: -160px !important;
        transform: scale(0.85);
        transform-origin: bottom right;
    }

    .grecaptcha-badge:hover,
    .grecaptcha-badge:focus-within {
        right: 0 !important;
    }

    .kc-back-to-top {
        bottom: 74px !important;
        right: 1rem !important;
        width: 44px;
        height: 44px;
    }
}


/* ==========================================================================
   SEAMLESS FOOTER & JOURNEY ENFORCEMENT (Zero Gap & Crisp Contrast)
   ========================================================================== */
main {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

section,
.ed-section,
.theme-dark,
.ed-connect-section {
    margin-bottom: 0 !important;
}

footer {
    display: block;
    margin: 0 !important;
    padding-top: 0 !important;
    background-color: #1C252E !important;
    position: relative;
    z-index: 10;
}

.footer-journey {
    display: block !important;
    width: 100% !important;
    background: #141c24 !important;
    background-color: #141c24 !important;
    margin: 0 !important;
    padding: 3.5rem 0 3rem !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    z-index: 10 !important;
}

.footer-journey h1,
.footer-journey h2,
.footer-journey h3,
.footer-journey h4,
.footer-journey .journey-title {
    color: #FFFFFF !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.35rem, 2.8vw, 1.8rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0.2rem 0 0 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.footer-journey .ed-eyebrow {
    color: var(--color-katmandu-red) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

.footer-journey .journey-sublabel {
    color: #F0F3F4 !important;
    font-weight: 500 !important;
}

.footer-journey .journey-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   PILLARS 4-COLUMN GRID
   ========================================================================== */
.pillars-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}

.pillar-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2.2rem 1.8rem;
    border: 1px solid rgba(28, 37, 46, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.pillar-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-katmandu-red);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.pillar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .pillars-4col-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .pillars-4col-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .pillar-card {
        padding: 1.8rem 1.5rem;
    }
}

/* ==========================================================================
   COMPREHENSIVE SITE-WIDE RESPONSIVE SYSTEM
   ========================================================================== */

/* 1. Touch Support for Coffee Hover Cards */
.coffee-hover-card.is-active .coffee-card-stage .coffee-card-img,
.coffee-hover-card.is-active .coffee-card-img {
    transform: scale(1.06) !important;
}

.coffee-hover-card.is-active .coffee-card-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.coffee-hover-card.is-active .coffee-overlay-inner {
    transform: translateY(0) !important;
}

/* 2. Responsive Breakpoint: Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .ed-floating-gallery {
        gap: 2rem;
        padding: 1.5rem 4% 3rem;
    }

    .ed-product-item,
    .ed-home-product-card,
    .coffee-hover-card {
        flex: 0 0 300px;
    }
}

/* 3. Responsive Breakpoint: Tablets (<= 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-title,
    .ed-lead-title {
        font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
        line-height: 1.15 !important;
    }

    .section-title,
    .ed-title {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem) !important;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ed-split-layout,
    .ed-asymmetric-grid {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .ed-product-item,
    .ed-home-product-card,
    .coffee-hover-card {
        flex: 0 0 280px;
    }

    .ed-home-card-stage,
    .coffee-card-stage {
        height: 280px;
    }

    .btn-row,
    .ed-cta-group,
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .btn-row .btn,
    .ed-cta-group .btn,
    .hero-cta .btn {
        width: 100%;
    }
}

/* =========================================================================
   FLAGSHIP CAFE MASONRY GALLERY
   ========================================================================= */
.flagship-gallery-section {
    padding: 7rem 0 8rem;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.flagship-gallery-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.flagship-masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.flagship-masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.flagship-masonry-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(209, 35, 42, 0.3);
}

.flagship-masonry-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111111;
}

.flagship-masonry-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flagship-masonry-item:hover .flagship-masonry-media img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .flagship-masonry-grid {
        column-count: 2;
        column-gap: 1.25rem;
    }

    .flagship-masonry-item {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .flagship-masonry-grid {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .kc-back-to-top {
        bottom: 1.25rem !important;
        right: 1.25rem !important;
        width: 44px !important;
        height: 44px !important;
    }

    .journey-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* 4. Responsive Breakpoint: Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .ed-floating-gallery {
        padding: 1rem 1rem 2.5rem;
        gap: 1.25rem;
    }

    .ed-product-item,
    .ed-home-product-card,
    .coffee-hover-card {
        flex: 0 0 80vw;
        max-width: 270px;
    }

    .ed-home-card-stage,
    .coffee-card-stage {
        height: 260px;
    }

    .journey-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .welcome-audio-wrap {
        top: 1rem;
        right: 1rem;
    }
}

/* =========================================================================
   FOUNDERS & LEADERSHIP SECTION (Compact & Balanced)
   ========================================================================= */
.founders-section {
    padding: 4.5rem 0 5rem;
    background-color: var(--bg-primary);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.founders-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.founders-visual-wrap {
    position: relative;
}

.founders-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    height: 360px;
    background: #1A1A1A;
}

.founders-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founders-badge-pill {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left: 3px solid var(--color-katmandu-red);
}

.founders-badge-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.founders-badge-sub {
    font-size: 0.74rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.founders-quote-card {
    background: var(--bg-secondary);
    border-left: 4px solid var(--color-katmandu-red);
    border-radius: 12px;
    padding: 1.25rem 1.6rem;
    margin-top: 1.25rem;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.founders-quote-icon {
    font-size: 1.35rem;
    color: rgba(209, 35, 42, 0.25);
    margin-bottom: 0.35rem;
}

.founders-quote-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.founders-quote-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.founders-author-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin: 0;
}

.founders-author-role {
    font-size: 0.75rem;
    color: var(--color-katmandu-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 992px) {
    .founders-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .founders-image-card {
        height: 320px;
    }
}

/* ==========================================================================
   ICED ESPRESSO COMPACT PRODUCT CARDS
   ========================================================================== */
.iced-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .iced-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .iced-product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.iced-flavor-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1.15rem;
    border: 1px solid rgba(28, 37, 46, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    position: relative;
}

.iced-flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
    border-color: rgba(209, 35, 42, 0.25);
}

.iced-card-stage {
    height: 155px;
    background: #F6F8F9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.9rem;
    overflow: hidden;
    padding: 0.6rem;
}

.iced-card-stage-img {
    max-height: 135px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.iced-flavor-card:hover .iced-card-stage-img {
    transform: scale(1.06);
}

.iced-stage-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid rgba(28, 37, 46, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.iced-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.iced-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.iced-card-desc {
    font-size: 0.83rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.iced-card-price{
    color: var(--color-katmandu-red);
    font-weight: 700;
}

.iced-card-footer {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(28, 37, 46, 0.06);
    margin-top: auto;
}

.iced-card-btn {
    background: var(--text-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.iced-card-btn:hover {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(209, 35, 42, 0.25);
}

.iced-card-btn .arrow {
    transition: transform 0.25s ease;
}

.iced-card-btn:hover .arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   HOMEPAGE BRAND PARTNER LOGO MARQUEE (5 Logos Visible at Once)
   ========================================================================== */
.ed-brand-marquee-section {
    padding: 4.5rem 0 5rem;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ed-brand-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.ed-brand-marquee-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    padding: 0.75rem 0;
}

.ed-brand-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: brandMarqueeScroll 28s linear infinite;
    will-change: transform;
}

.ed-brand-marquee-track:hover,
.ed-brand-marquee-track-wrapper:hover .ed-brand-marquee-track {
    animation-play-state: paused;
}

.ed-brand-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

/* Exactly 5 Logos visible across the container on desktop */
.ed-brand-card {
    flex: 0 0 216px;
    width: 216px;
    height: 94px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid rgba(28, 37, 46, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
}

.ed-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(209, 35, 42, 0.3);
}

.ed-brand-logo-img {
    max-height: 46px;
    max-width: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: grayscale(12%) contrast(98%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.ed-brand-card:hover .ed-brand-logo-img {
    filter: grayscale(0%) contrast(105%);
    transform: scale(1.08);
}

@media (min-width: 1200px) {
    .ed-brand-card {
        flex: 0 0 220px;
        width: 220px;
    }
}

@media (max-width: 1100px) {
    .ed-brand-card {
        flex: 0 0 190px;
        width: 190px;
        height: 88px;
    }
}

@media (max-width: 768px) {
    .ed-brand-group {
        gap: 0.85rem;
        padding-right: 0.85rem;
    }

    .ed-brand-card {
        flex: 0 0 150px;
        width: 150px;
        height: 80px;
        padding: 0.75rem 0.85rem;
    }

    .ed-brand-logo-img {
        max-height: 38px;
    }
}

@media (max-width: 480px) {
    .ed-brand-card {
        flex: 0 0 130px;
        width: 130px;
        height: 72px;
    }

    .ed-brand-logo-img {
        max-height: 32px;
    }
}

@keyframes brandMarqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   PERFECT RESPONSIVE DESIGN SYSTEM & MOBILE EXPERIENCE
   ========================================================================== */

/* 1. Global Zero-Overflow & Layout Resilience without breaking sticky positioning */
html {
    overflow-x: clip;
    max-width: 100%;
}

body {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* 2. Fluid Editorial Page Hero (Unified for Subpages) */
.ed-page-hero {
    padding-top: 20vh !important;
    padding-bottom: 20vh !important;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.ed-page-hero>.ed-container {
    width: 100%;
}

.iced-hero-visual-wrapper {
    width: 100%;
    min-height: 0;
}

@media (max-width: 992px) {
    .ed-page-hero {
        padding-top: clamp(6.5rem, 12vw, 8rem) !important;
        padding-bottom: clamp(3.5rem, 7vw, 4.5rem) !important;
        min-height: auto !important;
    }
}

@media (max-width: 576px) {
    .ed-page-hero {
        padding-top: clamp(5.75rem, 14vw, 7rem) !important;
        padding-bottom: clamp(2.75rem, 6vw, 3.75rem) !important;
        min-height: auto !important;
    }
}

/* 3. Fluid Section Spacing */
@media (max-width: 992px) {
    .ed-section {
        padding: clamp(3.5rem, 7vw, 5rem) 0;
    }
}

@media (max-width: 576px) {
    .ed-section {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }
}

/* 4. Fluid Typography & Overflow Safety */
.ed-mega-title,
.ed-massive-title,
.hero-editorial-title,
.ed-title,
.hero-title,
.pd-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .ed-mega-title {
        font-size: clamp(2rem, 7.5vw, 2.9rem) !important;
        line-height: 1.15 !important;
    }

    .ed-massive-title {
        font-size: clamp(2.35rem, 9vw, 3.5rem) !important;
        line-height: 1.1 !important;
    }

    .ed-title {
        font-size: clamp(1.6rem, 5.5vw, 2.15rem) !important;
        line-height: 1.25 !important;
    }

    .hero-editorial-title {
        font-size: clamp(1.3rem, 5.2vw, 1.95rem) !important;
        line-height: 1.15 !important;
    }

    .ed-lead-text p,
    .ed-lead-text {
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
    }
}

@media (max-width: 480px) {
    .ed-mega-title {
        font-size: clamp(1.75rem, 7vw, 2.2rem) !important;
        line-height: 1.2 !important;
    }

    .ed-massive-title {
        font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
        line-height: 1.12 !important;
    }

    .ed-title {
        font-size: clamp(1.4rem, 5.2vw, 1.8rem) !important;
    }

    .hero-editorial-title {
        font-size: clamp(1.1rem, 4.2vw, 1.55rem) !important;
    }

    .ed-lead-text p,
    .ed-lead-text {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
    }
}

/* 5. Mobile Navigation Backdrop & Enhanced Drawer */
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 24, 30, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    pointer-events: none;
}

body.mobile-nav-active .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-nav-active {
    overflow: hidden !important;
}

@media (max-width: 992px) {
    header {
        z-index: 1001 !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 1.35rem !important;
        color: var(--text-primary) !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 1002 !important;
    }

    .nav-links {
        display: none;
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        background: rgba(250, 249, 246, 0.98) !important;
        background-color: #FAFAF9 !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        flex-direction: column !important;
        padding: 1.25rem 1.5rem 2rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
        gap: 0.5rem !important;
        max-height: calc(100vh - 72px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 1000 !important;
    }

    .nav-links.active {
        display: flex !important;
        animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .nav-links .nav-link {
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        color: var(--text-primary) !important;
        padding: 0.75rem 0.25rem !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        text-decoration: none !important;
        width: 100% !important;
    }

    .nav-links .dropdown {
        width: 100% !important;
    }

    .nav-links .dropdown>.nav-link {
        cursor: pointer !important;
    }

    .nav-links .dropdown-menu {
        margin-left: 0 !important;
        padding: 0.35rem 0.75rem !important;
        background: rgba(28, 37, 46, 0.04) !important;
        border-radius: 8px !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.35rem !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        position: static !important;
        transform: none !important;
    }

    .nav-links .dropdown.active .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        gap: 0.25rem !important;
    }

    .nav-links .dropdown-item {
        padding: 0.65rem 0.5rem !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        font-size: 0.95rem !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
        border-radius: 4px !important;
    }

    .nav-links .dropdown-item:active,
    .nav-links .dropdown-item:hover {
        color: var(--color-katmandu-red) !important;
        background: rgba(28, 37, 46, 0.03) !important;
    }

    .dropdown>.nav-link i.fa-chevron-down {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .dropdown.active>.nav-link i.fa-chevron-down {
        transform: rotate(180deg) !important;
    }

    .nav-links .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 0.85rem 1.5rem !important;
        margin-top: 0.75rem !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
    }
}

/* Homepage Hero & Showcase Gap Reduction (Mobile Only - Desktop untouched) */
@media (max-width: 991px) {
    .nuwa-hero-section {
        padding-bottom: 0 !important;
    }

    .nuwa-product-stage {
        margin-bottom: 0 !important;
    }

    .ed-packaging-showcase {
        padding-top: 1.5rem !important;
    }

    .ed-packaging-showcase .ed-dock-wrapper {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ed-packaging-showcase .ed-split-layout {
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .nuwa-hero-section {
        padding-bottom: 0 !important;
    }

    .nuwa-product-stage {
        margin-bottom: -1.25rem !important;
    }

    .ed-packaging-showcase {
        padding-top: 0.75rem !important;
    }

    .ed-packaging-showcase .ed-dock-wrapper {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .nuwa-product-stage {
        margin-bottom: 1.75rem !important;
    }

    .ed-packaging-showcase {
        padding-top: 0.5rem !important;
    }
}

/* 6. Contact Page Layout & Form Responsiveness */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: start;
    width: 100%;
}

.contact-details-col {
    width: 100%;
    min-width: 0;
}

.kc-contact-form-wrapper {
    background: var(--bg-secondary);
    padding: clamp(1.75rem, 3.5vw, 3.5rem) !important;
    border-radius: 14px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: auto !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

@media (max-width: 991px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    /* Prevent iOS Safari 16px auto-zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }

    .kc-contact-form-wrapper {
        padding: 1.5rem 1.25rem !important;
        border-radius: 12px;
    }
}

/* 7. Responsive Dock & Images */
@media (max-width: 991px) {
    .ed-dock-wrapper {
        width: 100% !important;
        height: clamp(260px, 50vw, 420px) !important;
        min-height: 0 !important;
    }
}

/* 8. Process Timeline & Sticky Layout (Desktop & Mobile) */
.ed-sticky-layout {
    display: flex;
    position: relative;
    align-items: flex-start !important;
    gap: clamp(2rem, 3.5vw, 3.5rem);
}

.ed-sticky-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 120px !important;
    align-self: flex-start !important;
    width: 35% !important;
    flex: 0 0 35% !important;
    flex-shrink: 0 !important;
    z-index: 5;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ed-sticky-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.ed-sticky-content .ed-eyebrow,
.ed-sticky-content .ed-title,
.ed-sticky-content .ed-text,
.ed-sticky-content p,
.ed-sticky-content .title-reveal-word {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.ed-scroll-content {
    width: 65% !important;
    flex: 0 0 65% !important;
}

@media (max-width: 991px) {
    .ed-sticky-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .ed-sticky-sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem !important;
        display: block !important;
        visibility: visible !important;
    }

    .ed-scroll-content {
        width: 100% !important;
        flex: 0 0 100% !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .process-card {
        padding: 1.35rem 1.15rem !important;
        gap: 1rem !important;
    }

    .process-image {
        height: 200px !important;
    }

    .process-number {
        font-size: 3.5rem !important;
        top: 10px !important;
        right: 12px !important;
        opacity: 0.12 !important;
    }

    .ed-specs-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .spec-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .process-image {
        height: 160px !important;
    }

    .process-number {
        font-size: 2.75rem !important;
        top: 8px !important;
        right: 8px !important;
    }
}

/* 9. Product Catalog & Details Responsive Improvements */
@media (max-width: 992px) {
    .pd-page-wrapper {
        padding: 6.5rem 0 3.5rem !important;
    }
}

@media (max-width: 768px) {
    .pd-stage-card {
        min-height: auto !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1;
    }

    .pd-stage-img {
        max-height: none !important;
        width: 100% !important;
        height: 100% !important;
    }

    .pd-inquire-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .pd-page-wrapper {
        padding: 5.5rem 0 2.5rem !important;
    }
}

/* 10. Footer & Back-to-Top Touch Target */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.25rem !important;
    }

    .footer-col {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center !important;
    }

    .kc-back-to-top {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* 11. Touch Targets Minimum 44px */
@media (max-width: 768px) {

    .ed-btn-light,
    .btn,
    .ed-link-btn,
    .iced-card-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Leaflet Custom Map Styling */
.kc-map-pin {
    filter: none !important;
    box-shadow: none !important;
    border-radius: 0;
    transition: transform 0.25s ease;
}

.kc-map-pin:hover {
    transform: scale(1.1);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   18 YEARS OF KATMANDU COFFEE SECTION (Shared Component)
   ========================================================================== */
.kc-18years-section {
    padding: 5.5rem 0;
    position: relative;
    border-top: 1px solid rgba(28, 37, 46, 0.06);
    border-bottom: 1px solid rgba(28, 37, 46, 0.06);
}

.kc-18years-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

.kc-18years-content {
    max-width: 620px;
}

.kc-18years-title {
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    line-height: 1.18;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.kc-18years-desc {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
}

.kc-18years-action {
    display: flex;
    align-items: center;
}

.kc-know-more-btn {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.kc-18years-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.kc-18years-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.kc-18years-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.08));
}

.kc-18years-image-wrapper:hover .kc-18years-img {
    transform: scale(1.03);
}

.kc-18years-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.15rem;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 3.5px solid var(--color-katmandu-red);
    pointer-events: none;
}

.kc-badge-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-katmandu-red);
    font-family: var(--font-heading);
}

.kc-badge-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.kc-badge-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kc-badge-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .kc-18years-section {
        padding: 4rem 0;
    }

    .kc-18years-layout {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        text-align: center;
    }

    .kc-18years-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .kc-18years-content .ed-divider {
        margin: 1.25rem auto;
    }

    .kc-18years-action {
        justify-content: center;
    }

    .kc-18years-visual {
        order: -1;
    }

    .kc-18years-image-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }

    .kc-18years-img {
        width: 100%;
        max-width: 340px;
        height: auto;
        max-height: 380px;
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .kc-18years-section {
        padding: 3.25rem 0;
    }

    .kc-18years-title {
        font-size: 1.85rem;
    }

    .kc-18years-desc {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .kc-18years-image-wrapper {
        max-width: 290px;
        margin: 0 auto;
    }

    .kc-18years-img {
        width: 100%;
        max-width: 270px;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    .kc-18years-badge {
        bottom: 0.85rem;
        left: 0.85rem;
        padding: 0.6rem 0.9rem;
    }

    .kc-badge-number {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   COFFEE PORTAL & CATALOG LIVE FILTERS
   ========================================================================== */
.portal-nav-container {
    padding: 1.5rem 0 2rem;
    position: relative;
    z-index: 30;
}

.portal-nav-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: #FFFFFF;
    padding: 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    max-width: 820px;
    margin: 0 auto;
}

.portal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 40px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
}

.portal-tab-btn:hover {
    color: var(--color-katmandu-red);
    background: rgba(209, 35, 42, 0.05);
}

.portal-tab-btn.is-active {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(209, 35, 42, 0.25);
}

.portal-tab-btn .badge-count {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.portal-tab-btn.is-active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Interactive Filter Controls Bar */
.catalog-filter-bar {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    margin-bottom: 2.5rem;
}

.catalog-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-search-box {
    position: relative;
    flex: 1 1 240px;
}

.filter-search-box i.fa-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.85rem;
}

.filter-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 0.88rem;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--color-katmandu-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(209, 35, 42, 0.1);
}

.filter-select-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.filter-select {
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #fafafa;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.filter-select:focus,
.filter-select:hover {
    outline: none;
    border-color: var(--color-katmandu-red);
    background: #fff;
}

.filter-status-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.reset-filter-btn {
    background: none;
    border: none;
    color: var(--color-katmandu-red);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.reset-filter-btn:hover {
    text-decoration: underline;
}

/* Series Editorial Description */
.series-editorial-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.35rem;
    max-width: 680px;
}

/* Coffee Format / Grind Pill */
.product-format-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4B5563;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 0.35rem;
}

/* ==========================================================================
   COFFEE CAPSULES SECTION
   ========================================================================== */
.capsules-section-wrapper {
    background: var(--bg-primary);
    padding: 5rem 0 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.capsules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capsule-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.capsule-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.capsule-badge-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.capsule-visual-stage {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    margin-bottom: 1.5rem;
}

.capsule-visual-stage img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
    transition: transform 0.35s ease;
}

.capsule-card:hover .capsule-visual-stage img {
    transform: scale(1.05);
}

.capsule-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.capsule-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.capsule-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.capsule-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-katmandu-red);
}

/* ==========================================================================
   FOUNDER YOUTUBE INTERVIEW CARD
   ========================================================================== */
.founder-video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #111;
    margin-top: 2rem;
}

.founder-video-thumb-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
}

.founder-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: brightness(0.85);
}

.founder-video-thumb-wrapper:hover .founder-video-thumb {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.founder-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.founder-play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    padding-left: 5px;
    box-shadow: 0 0 0 12px rgba(209, 35, 42, 0.3), 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 5;
}

.founder-video-thumb-wrapper:hover .founder-play-btn-circle {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 0 18px rgba(209, 35, 42, 0.4), 0 14px 40px rgba(0, 0, 0, 0.5);
}

.founder-video-info {
    position: relative;
    z-index: 4;
}

.founder-video-heading {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.founder-video-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    margin: 0;
}

/* Lightbox Modal for Video */
.kc-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.kc-video-modal.is-open {
    display: flex;
}

.kc-video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.kc-video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   OUR TEAM PAGE STYLES
   ========================================================================== */
.team-grid-section {
    padding: 4rem 0 6rem;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem 2rem;
    margin-top: 3rem;
}

.team-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.team-photo-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #f4f1ea;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-content-body {
    padding: 1.5rem;
}

.team-role-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-katmandu-red);
    margin-bottom: 0.35rem;
    display: block;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   PARTNERS & HORECA PAGE STYLES
   ========================================================================== */
.horeca-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0;
}

.horeca-pillar-card {
    background: #FFFFFF;
    padding: 2.25rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.horeca-pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(209, 35, 42, 0.08);
    color: var(--color-katmandu-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.horeca-partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.horeca-logo-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    transition: all 0.25s ease;
}

.horeca-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(209, 35, 42, 0.2);
}

.horeca-logo-img {
    max-height: 48px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.25s ease;
}

.horeca-logo-card:hover .horeca-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   OUR COFFEES MASTER HUB - 3 CATEGORY GRIDS WITH BACKGROUND IMAGES
   ========================================================================== */
.category-portal-section {
    padding: 3.5rem 0 6rem;
    background-color: var(--bg-primary);
}

.category-portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .category-portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-portal-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

.category-portal-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.category-portal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
    border-color: rgba(210, 35, 42, 0.45);
}

.category-portal-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.category-portal-card:hover .category-portal-bg {
    transform: scale(1.08);
}

.category-portal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 45%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 2;
    transition: background 0.35s ease;
}

.category-portal-card:hover .category-portal-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.92) 100%);
}

.category-portal-content {
    position: relative;
    z-index: 3;
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-portal-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    border-radius: 30px;
}

.category-portal-arrow-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.35s ease;
}

.category-portal-card:hover .category-portal-arrow-circle {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    transform: rotate(-45deg) scale(1.08);
}

.category-portal-bottom {
    margin-top: auto;
}

.category-portal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.4vw, 2.2rem);
    color: #FFFFFF !important;
    margin: 0 0 0.6rem;
    line-height: 1.15;
    font-weight: 700;
}

.category-portal-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.category-portal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.category-portal-pill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.category-portal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 13px 20px;
    border-radius: 8px;
    background: #FFFFFF;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.category-portal-card:hover .category-portal-cta-btn {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(210, 35, 42, 0.4);
}

/* ==========================================================================
   SINGLE-CAPSULE FLAGSHIP SHOWCASE
   ========================================================================== */
.capsule-flagship-section {
    padding: 2rem 0 5rem;
    background-color: var(--bg-secondary);
}

.capsule-flagship-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .capsule-flagship-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }
}

.capsule-flagship-stage {
    position: relative;
    background: radial-gradient(circle at center, rgba(210, 35, 42, 0.05) 0%, rgba(0, 0, 0, 0.02) 70%, transparent 100%);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 480px;
    overflow: hidden;
}

.capsule-flagship-img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.14));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capsule-flagship-stage:hover .capsule-flagship-img {
    transform: translateY(-4px) scale(1.02);
}

.capsule-stage-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.capsule-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.09);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    width: fit-content;
}

.capsule-eco-badge i {
    color: #10B981;
    font-size: 0.85rem;
}

.capsule-floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.09);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.capsule-flagship-content {
    display: flex;
    flex-direction: column;
}

.capsule-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.capsule-roast-badge {
    background: #1F2937;
    color: #F9FAFB;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 6px;
}

.capsule-single-origin-badge {
    background: rgba(210, 35, 42, 0.1);
    color: var(--color-katmandu-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.capsule-flagship-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    color: var(--text-primary);
    margin: 0 0 0.85rem;
    line-height: 1.15;
    font-weight: 700;
}

.capsule-flagship-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

.capsule-flavor-row {
    margin-bottom: 1.75rem;
}

.capsule-flavor-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.capsule-flavor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.capsule-flavor-pill {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.capsule-flavor-pill i {
    color: var(--color-katmandu-red);
    font-size: 0.7rem;
}

.capsule-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .capsule-specs-grid {
        grid-template-columns: 1fr;
    }
}

.capsule-spec-item {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
}

.capsule-spec-key {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.capsule-spec-val {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 700;
}

.capsule-action-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.capsule-action-row .btn {
    padding: 13px 26px;
    font-weight: 700;
    font-size: 0.92rem;
}

/* 4-STYLE SERVING GUIDE */
.capsule-serve-guide {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-top: 4.5rem;
}

.capsule-serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.capsule-serve-box {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.capsule-serve-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(210, 35, 42, 0.2);
}

.capsule-serve-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(210, 35, 42, 0.08);
    color: var(--color-katmandu-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.35rem;
}

.capsule-serve-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.capsule-serve-volume {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    display: block;
}

.capsule-serve-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   TEAM DIRECTORY & CIRCLE AVATAR SYSTEM
   ========================================================================== */
.team-wing-group {
    margin-bottom: 7rem;
}

.team-wing-group:last-child {
    margin-bottom: 0;
}

.team-wing-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--color-katmandu-red:);
    margin: 0 0 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(210, 35, 42, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-wing-heading i {
    color: var(--color-katmandu-red);
    font-size: 1.15rem;
}

.team-circle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 3rem 2rem;
}

.team-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
}

.team-circle-photo-wrapper {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.15rem;
    position: relative;
    background: linear-gradient(135deg, #FAF8F5 0%, #EFE9E0 100%);
    border: 3px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-circle-initials {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-katmandu-red);
    letter-spacing: 0.04em;
    user-select: none;
}

.team-circle-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.team-circle-role {
    font-size: 0.86rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.team-filter-container {
    margin: 2.5rem auto 0;
    max-width: 1000px;
}

.team-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.team-filter-btn {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.team-filter-btn:hover {
    border-color: var(--color-katmandu-red);
    color: var(--color-katmandu-red);
    background: rgba(210, 35, 42, 0.04);
}

.team-filter-btn.is-active {
    background: var(--color-katmandu-red);
    color: #FFFFFF;
    border-color: var(--color-katmandu-red);
    box-shadow: 0 4px 14px rgba(210, 35, 42, 0.3);
}

.team-filter-btn .team-count-badge {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    border-radius: 12px;
    padding: 2px 7px;
    font-size: 0.72rem;
    font-weight: 700;
}

.team-filter-btn.is-active .team-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.team-search-wrapper {
    max-width: 480px;
    margin: 0 auto 3rem;
    position: relative;
}

.team-search-input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    font-size: 0.92rem;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.team-search-input:focus {
    outline: none;
    border-color: var(--color-katmandu-red);
    box-shadow: 0 4px 20px rgba(210, 35, 42, 0.12);
}

.team-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 0.9rem;
}

.team-avatar-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #FAF8F5 0%, #EFE9E0 100%);
    min-height: 220px;
}

.team-avatar-initials {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--color-katmandu-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(210, 35, 42, 0.15);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar-initials {
    transform: scale(1.08);
    border-color: var(--color-katmandu-red);
}

.team-avatar-wing-tag {
    position: absolute;
    bottom: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.team-wing-section {
    padding: 4rem 0 2rem;
}

.team-wing-section:first-of-type {
    padding-top: 2rem;
}

.team-wing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.team-wing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-katmandu-red);
    background: rgba(210, 35, 42, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.team-wing-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--text-primary);
    margin: 0;
}

.team-wing-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0.35rem 0 0;
    max-width: 650px;
}

.team-wing-count-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

/* =========================================================================
   ABOUT US PAGE REFINED EDITORIAL LAYOUT
   ========================================================================= */

/* Origin Section Split Layout */
.about-origin-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.about-origin-visual {
    position: sticky;
    top: 110px;
    height: 560px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    background: #1A1A1A;
}

.about-origin-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-origin-visual:hover img {
    transform: scale(1.03);
}

.about-origin-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    border-left: 3px solid var(--color-katmandu-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-origin-badge i {
    color: var(--color-katmandu-red);
}

.about-lead-para {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.about-highlight-card {
    background: #FAF7F2;
    border-left: 4px solid var(--color-katmandu-red);
    padding: 1.35rem 1.65rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.75;
}

.about-story-para {
    font-size: 0.96rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Founders Narrative & Cinematic Video */
.about-founders-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.about-founders-visual {
    position: relative;
    height: 440px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    background: #1A1A1A;
}

.about-founders-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-founders-visual:hover img {
    transform: scale(1.03);
}

.about-founder-quote-para {
    background: #FAF7F2;
    padding: 1.15rem 1.5rem;
    border-radius: 10px;
    border-left: 3px solid rgba(209, 35, 42, 0.5);
    margin: 1.25rem 0;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-primary);
}

/* Cinematic Spotlight Banner for Founder Interview */
.about-founder-video-banner {
    margin-top: 3.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    background: #111;
    position: relative;
}

.about-founder-video-wrapper {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 280px;
    cursor: pointer;
    overflow: hidden;
}

.about-founder-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.about-founder-video-wrapper:hover img {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.about-founder-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.45) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 2.5rem;
    z-index: 2;
}

/* Culture & Education 4-Column Grid */
.culture-edu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.culture-edu-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 2.2rem 1.8rem;
    border: 1px solid rgba(28, 37, 46, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.culture-edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.culture-edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(209, 35, 42, 0.25);
}

.culture-edu-card:hover::before {
    background: var(--color-katmandu-red);
}

.culture-edu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.culture-edu-icon-chip {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(209, 35, 42, 0.08);
    color: var(--color-katmandu-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.culture-edu-card:hover .culture-edu-icon-chip {
    transform: scale(1.08);
    background: var(--color-katmandu-red);
    color: #FFFFFF;
}

.culture-edu-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(28, 37, 46, 0.3);
    letter-spacing: 0.08em;
}

.culture-edu-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.culture-edu-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* All About Coffee (What is Coffee / Why Coffee) Structured Layout */
.coffee-fundamentals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.coffee-fundamental-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 2.75rem 2.5rem;
    border: 1px solid rgba(28, 37, 46, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.coffee-fundamental-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(28, 37, 46, 0.08);
}

.coffee-fundamental-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(209, 35, 42, 0.08);
    color: var(--color-katmandu-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.coffee-fundamental-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.coffee-insight-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.coffee-insight-item {
    background: #FAF8F5;
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    border-left: 3px solid rgba(209, 35, 42, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.coffee-insight-item:hover {
    transform: translateX(4px);
    border-left-color: var(--color-katmandu-red);
    background: #F6F2EC;
}

.coffee-insight-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.coffee-insight-body {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Breakpoints for About Page Refinements */
@media (max-width: 1199px) {
    .culture-edu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .about-origin-grid,
    .about-founders-grid,
    .coffee-fundamentals-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-origin-visual {
        position: relative;
        top: auto;
        height: 380px;
    }

    .about-founders-visual {
        height: 360px;
    }

    .about-founder-video-wrapper {
        aspect-ratio: 16 / 9;
    }

    .coffee-fundamental-card {
        padding: 2rem 1.75rem;
    }
}

@media (max-width: 640px) {
    .culture-edu-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-origin-visual {
        height: 300px;
    }

    .about-founders-visual {
        height: 300px;
    }

    .about-founder-video-scrim {
        padding: 1.25rem;
    }
}