/* 

 * ALPINE COFFEE ESTATE - Modern Minimalist Light Theme
    Designed and Developed by: Angel Pradhan
    https://facebook.com/itsangelpradhan
 * Sleek, Bright, Sans-Serif only, Premium Feel

 */

:root {
    /* Colors - Bright Minimalist Mode */
    --clr-bg: #FAFAFA;
    /* Clean White */
    --clr-surface: #F3F4F6;
    /* Soft Light Gray/Cream */
    --clr-surface-light: #E5E7EB;
    --clr-accent: #980000;
    /* Terroir Ochre / Roasted Crema */
    --clr-text-primary: #111213;
    /* Deep Roasted Black */
    --clr-text-secondary: #4B5563;
    /* Muted Slate */
    --clr-border: rgba(17, 18, 19, 0.1);
    /* Dark border with low opacity */
    /* Typography - Zero Serifs */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    /* Spacing & Layout */
    --space-sm: clamp(1rem, 2vw, 2rem);
    --space-md: clamp(2rem, 4vw, 4rem);
    --space-lg: clamp(4rem, 8vw, 8rem);
    --max-width: 1400px;
    /* Animation Speeds */
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--clr-bg);
    color: var(--clr-text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Desktop Scroll Snap & Viewport Lock */
@media screen and (min-width: 769px) {
    html {
        scroll-snap-type: y mandatory;
        overflow-y: scroll;
        height: 100%;
    }

    body {
        height: 100%;
    }
}

main {
    display: contents;
}

/* Typography */

h1,

h2,

h3,

h4,

.brand-name {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.brand-link:hover .nav-brand-logo {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-primary);
}

.section-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.65rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 3.4rem);
    margin-bottom: clamp(0.35rem, 0.9vh, 0.75rem);
    line-height: 1.12;
}

p {
    color: var(--clr-text-secondary);
}

/* Utilities */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: var(--space-lg) 0;
}

.bg-surface {
    background-color: var(--clr-surface);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: var(--space-md);
}

.max-w-md {
    max-width: 780px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.align-center {
    align-items: center;
}

/* Buttons */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-accent);
    color: #FAFAFA;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--clr-text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--clr-text-primary);
    border: 1px solid rgba(17, 18, 19, 0.25);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--clr-text-primary);
    background: rgba(17, 18, 19, 0.04);
    transform: translateY(-2px);
}

/* Glass Navigation */

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, font-weight 0.2s;
    position: relative;
}

.nav-links a:hover,

.nav-links a.active {
    color: var(--clr-text-primary);
    font-weight: 600;
}

/* =========================================

   FLOATING SECTION NAV (PAGINATION DOTS)

   ========================================= */

.section-nav {
    position: fixed;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}

.section-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.section-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(17, 18, 19, 0.25);
    border: 1px solid rgba(17, 18, 19, 0.1);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-dot:hover::before {
    transform: scale(1.4);
    background: var(--clr-accent);
}

.section-dot.active::before {
    width: 10px;
    height: 10px;
    background: var(--clr-accent);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(140, 83, 43, 0.25);
}

.dot-label {
    position: absolute;
    right: calc(100% + 10px);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-primary);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.section-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}

.section-dot.active .dot-label {
    color: var(--clr-accent);
    border-color: rgba(140, 83, 43, 0.3);
}

/* =========================================

   FULL PAGE SCROLL SNAP SYSTEM

   ========================================= */

.full-page-section {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-top: calc(65px + 1.2vh);
    padding-bottom: clamp(0.75rem, 1.8vh, 1.6rem);
    overflow: hidden;
}

/* [01] Hero Section */

.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at center, var(--clr-bg) 0%, var(--clr-surface-light) 100%);
    z-index: 0;
}

.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--clr-bg) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.badge {
    display: inline-block;
    border: 1px solid var(--clr-accent);
    padding: 0.45rem 1.15rem;
    border-radius: 100px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    background: rgba(152, 0, 0, 0.04);
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    margin-bottom: 1.25rem;
    color: var(--clr-text-primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.hero-cta-group a {
    pointer-events: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.75rem;
    right: 2.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(3px);
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--clr-text-secondary);
    transition: color 0.3s ease;
}

.scroll-indicator:hover span {
    color: var(--clr-accent);
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: var(--clr-border);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-accent);
    transform: translateY(-100%);
    animation: scrollSlideY 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollSlideY {
    0% {
        transform: translateY(-100%);
    }

    60%,

    100% {
        transform: translateY(100%);
    }

}

/* [02] Manifesto Section */

.manifesto-text p {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--clr-text-primary);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-accent);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Manifesto Anniversary Badge */

.anniversary-highlight {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-left: 4px solid #D2232A;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    max-width: 480px;
}

.anniversary-badge-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
}

.anniversary-highlight:hover .anniversary-badge-img {
    transform: scale(1.06) rotate(-2deg);
}

.anniversary-desc h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--clr-text-primary);
}

.anniversary-desc p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--clr-text-secondary);
}

/* [03] Ecosystem Section & Bento Grid (1 Hero Left + 2x2 Right) */

.ecosystem-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(75px + 1vh);
    padding-bottom: 2vh;
    box-sizing: border-box;
}

.ecosystem-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(215px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    width: 100%;
}

/* Split Card Container */
.ecosystem-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(24, 21, 19, 0.12);
    border-color: rgba(140, 83, 43, 0.35);
}

/* Top Split: Crisp Full-Color Photo (55-60%) */
.card-media {
    position: relative;
    width: 100%;
    height: 56%;
    min-height: 120px;
    overflow: hidden;
    background: #1C1917;
}

.card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.ecosystem-card:hover .card-media-img {
    transform: scale(1.08);
}

/* Tag positioned as floating pill badge on the top-left of the photo */
.card-media .card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.22rem 0.65rem;
    border-radius: 100px;
    border: 1px solid rgba(140, 83, 43, 0.16);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Bottom Split: Clean Brand Info & Logo Stage (40-45%) */
.card-body {
    flex: 1;
    height: 44%;
    padding: 0.75rem 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.35rem;
}

.subbrand-logo {
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-ktm-coffee {
    max-height: 52px;
    max-width: 190px;
}

.logo-ktm-brew {
    max-height: 46px;
    max-width: 170px;
}

.logo-caffeophilia {
    max-height: 52px;
    max-width: 170px;
}

.logo-kafemandu {
    max-height: 46px;
    max-width: 140px;
}

.logo-iced {
    max-height: 48px;
    width: 48px;
}

.ecosystem-card:hover .subbrand-logo {
    transform: scale(1.05);
}

.card-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 0.2rem 0.65rem;
    background: var(--clr-surface);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-desc {
    display: none;
}

/* Luxury Dark Slide-up Hover Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(28, 25, 23, 0.94) 0%, rgba(16, 14, 13, 0.98) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FAF9F6;
    border: none;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    transform: translateY(102%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    z-index: 5;
}

.ecosystem-card:hover .card-overlay,
.ecosystem-card:focus-within .card-overlay {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.overlay-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C89B7B;
    margin-bottom: 0.45rem;
}

.card-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.card-overlay p {
    font-size: 0.8rem;
    line-height: 1.48;
    color: var(--clr-text-secondary);
    margin-bottom: 0.85rem;
}

.overlay-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E2A169;
    padding: 0.22rem 0.7rem;
    border: 1px solid rgba(226, 161, 105, 0.35);
    border-radius: 100px;
    background: rgba(226, 161, 105, 0.08);
}

/* [04] The Farm at Nuwakot */

.farm-section {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--clr-bg);
}

.farm-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.farm-description {
    color: var(--clr-text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0.75rem;
    max-width: 560px;
}

.farm-subtext {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.65rem;
    max-width: 560px;
}

.farm-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--clr-border);
    max-width: 560px;
}

.farm-highlight-item {
    display: flex;
    flex-direction: column;
}

.highlight-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-accent);
    line-height: 1.2;
}

.highlight-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-text-secondary);
    margin-top: 0.35rem;
    font-weight: 500;
}

.farm-actions {
    margin-top: 1.75rem;
}

.farm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.farm-btn-icon {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.farm-btn:hover .farm-btn-icon {
    transform: translateX(4px);
}

.farm-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.farm-image-frame {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    max-height: clamp(230px, 46vh, 480px);
    height: clamp(230px, 46vh, 480px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: 0 20px 45px rgba(24, 21, 19, 0.1);
    background: transparent;
}

.farm-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: clamp(230px, 46vh, 480px);
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.farm-image-frame:hover .farm-img {
    transform: scale(1.03);
}

.farm-badge-floating {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(24, 21, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.farm-badge-floating .badge-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
}

/* [05] Roastery */

.roastery-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.roastery-image-frame {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    max-height: clamp(230px, 46vh, 480px);
    height: clamp(230px, 46vh, 480px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: 0 20px 45px rgba(24, 21, 19, 0.1);
    background: transparent;
}

.roastery-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: clamp(230px, 46vh, 480px);
    object-fit: contain;
    border-radius: 18px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.roastery-image-frame:hover .roastery-img {
    transform: scale(1.03);
}

.roastery-info .subtitle {
    color: var(--clr-text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.specs-list {
    margin-top: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--clr-border);
}

.spec-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.spec-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-accent);
    flex-shrink: 0;
}

.spec-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-primary);
}

.spec-val {
    color: var(--clr-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* [06] Mission & Vision */

.mission-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.4rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 2.25rem);
    max-width: 1080px;
    margin: clamp(0.75rem, 1.8vh, 1.75rem) auto 0;
    align-items: stretch;
}

.mv-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: clamp(1.25rem, 2.2vh, 2.25rem) clamp(1.25rem, 1.8vw, 2.25rem);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-accent) 0%, #B8860B 100%);
    opacity: 0.85;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    border-color: rgba(152, 0, 0, 0.2);
}

.mv-card-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.mv-number {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.04em;
}

.mv-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clr-text-secondary);
}

.mv-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.35vw, 1.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--clr-text-primary);
    margin-bottom: clamp(0.4rem, 0.8vh, 0.85rem);
    letter-spacing: -0.01em;
}

.mv-statement {
    font-size: clamp(0.82rem, 0.95vw, 0.94rem);
    line-height: 1.55;
    color: var(--clr-text-secondary);
    margin-bottom: clamp(0.6rem, 1.2vh, 1.4rem);
    flex-grow: 1;
}

.mv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.3rem, 0.5vw, 0.5rem);
    padding-top: clamp(0.65rem, 1.2vh, 1.15rem);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mv-tag {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--clr-text-secondary);
    background: var(--clr-surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.mv-card:hover .mv-tag {
    background: rgba(152, 0, 0, 0.04);
    color: var(--clr-accent);
    border-color: rgba(152, 0, 0, 0.12);
}

/* Hero Physics Canvas Styles */

#beans-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    touch-action: pan-y;
    filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.3));
}

#beans-canvas-container canvas {
    touch-action: pan-y;
}

.pointer-passthrough {
    pointer-events: none;
    z-index: 10;
}

.interactive-element {
    pointer-events: auto;
}

/* [06] Contact & Headquarters Section */

.modern-footer {
    border-top: 1px solid var(--clr-border);
    background: linear-gradient(180deg, #FBFBFB 0%, #F5F4F1 100%);
    position: relative;
}

.modern-footer.full-page-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(75px + 1vh);
    padding-bottom: 1.5vh;
}

.contact-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.contact-header {
    margin-bottom: 0.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.footer-brand-card,

.footer-form-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 1.35rem 1.65rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--clr-border);
}

.footer-brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.contact-brand-header h4 {
    font-size: 1.1rem;
    color: var(--clr-text-primary);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--clr-accent);
    font-weight: 500;
}

.footer-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 0.85rem 0;
}

.location-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
}

.location-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.2rem;
}

.location-card h5 {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-bottom: 0.2rem;
}

.loc-address {
    font-size: 0.74rem;
    color: var(--clr-text-secondary);
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.loc-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.loc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: var(--clr-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.loc-link:hover {
    color: var(--clr-accent);
}

.divisions-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.division-pill {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    background: rgba(17, 18, 19, 0.04);
    border: 1px solid rgba(17, 18, 19, 0.08);
    border-radius: 100px;
    color: var(--clr-text-secondary);
}

/* Form Card */

.form-header h4 {
    font-size: 1.1rem;
    color: var(--clr-text-primary);
    margin-bottom: 0.2rem;
}

.form-header p {
    font-size: 0.78rem;
    color: var(--clr-text-secondary);
    margin-bottom: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sleek-form .input-group {
    margin-bottom: 0.65rem;
}

.sleek-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-text-secondary);
    margin-bottom: 0.2rem;
}

.sleek-form input,

.sleek-form textarea,

.sleek-select {
    width: 100%;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    color: var(--clr-text-primary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    transition: border-color 0.2s, background 0.2s;
}

.sleek-form textarea {
    resize: none;
}

.sleek-form input:focus,

.sleek-form textarea:focus,

.sleek-select:focus {
    outline: none;
    border-color: var(--clr-accent);
    background: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--clr-border);
    padding-top: 0.75rem;
    font-size: 0.74rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--clr-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--clr-accent);
}

/* Animation Utility Classes */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Premium Split Text Animations */

.split-text {
    /* Container for the masked words */
}

.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.1em;
    /* Prevent descenders from clipping */
    margin-right: 0.2em;
    /* Space between words */
}

.word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.is-visible .word-inner {
    transform: translateY(0);
}

/* =========================================

   REFINEMENTS - quieter, flatter, less templated

   ========================================= */

.badge {
    border: none;
    border-left: 2px solid var(--clr-accent);
    border-radius: 0;
    background: none;
    padding: 0.1rem 0 0.1rem 0.75rem;
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-primary:hover {
    box-shadow: none;
}

.section-dot.active::before {
    box-shadow: none;
}

.dot-label {
    backdrop-filter: none;
    -webkit-filter: none;
    box-shadow: none;
    border-radius: 3px;
}

.ecosystem-card {
    border-radius: 8px;
    box-shadow: none;
}

.ecosystem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 21, 19, 0.08);
}

.card-overlay {
    border-radius: 8px;
    background: #ffffff;
}

.card-tag,

.overlay-tag {
    letter-spacing: 0.08em;
}

.overlay-badge {
    border-radius: 3px;
    background: none;
}

.card-subtitle {
    border-radius: 3px;
    background: none;
    border: none;
    padding: 0;
    color: var(--clr-text-secondary);
}

.logo-iced {
    box-shadow: none;
    border-radius: 6px;
}

.anniversary-highlight {
    border-radius: 6px;
    box-shadow: none;
}

.spec-val {
    font-weight: 500;
}

.tabs-container {
    border-radius: 6px;
    box-shadow: none;
}

.tab-btn {
    letter-spacing: 0;
}

.modern-footer {
    background: var(--clr-surface);
}

.footer-grid {
    gap: 4rem;
    align-items: start;
}

.footer-brand-logo {
    height: 52px;
    margin-bottom: 1.5rem;
}

.footer-locations {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0;
}

.location-block h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--clr-text-primary);
}

.location-block p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.1rem;
}

.footer-form h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
}

.sleek-form input,

.sleek-form textarea {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
}

.sleek-form label {
    display: none;
}

.footer-bottom {
    margin-top: 2rem;
}

/* ---- Footer / Contact layout ---- */

.modern-footer.full-page-section {
    padding-top: calc(65px + 1.2vh);
    padding-bottom: 0;
    justify-content: flex-start;
}

.contact-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: auto;
    justify-content: flex-start;
}

.footer-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(1.5rem, 3.5vw, 4rem);
    align-items: center;
    margin: 0;
    padding-bottom: clamp(0.5rem, 1vh, 1rem);
}

.footer-brand-logo {
    height: clamp(34px, 4.5vh, 52px);
    width: auto;
    margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
    display: block;
}

.footer-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 2rem);
}

.location-block {
    padding-left: clamp(0.5rem, 1vw, 1rem);
    border-left: 2px solid var(--clr-accent);
}

.location-block h5 {
    font-size: clamp(0.85rem, 1vw, 1rem);
    margin-bottom: 0.25rem;
}

.location-block p {
    font-size: clamp(0.75rem, 0.85vw, 0.88rem);
    line-height: 1.45;
    margin: 0;
}

.footer-form {
    max-width: none;
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: clamp(0.85rem, 1.8vh, 1.6rem) clamp(1rem, 1.6vw, 1.85rem);
}

.footer-form h4 {
    font-size: clamp(1.1rem, 1.4vw, 1.45rem);
    margin-bottom: clamp(0.4rem, 0.8vh, 0.85rem);
}

.sleek-form .input-group {
    margin-bottom: clamp(0.35rem, 0.7vh, 0.65rem);
}

.sleek-form input,

.sleek-form textarea {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: clamp(0.45rem, 0.85vh, 0.7rem) clamp(0.65rem, 1vw, 0.95rem);
    font-size: clamp(0.78rem, 0.85vw, 0.88rem);
    width: 100%;
    font-family: var(--font-body);
}

.sleek-form textarea {
    resize: none;
    display: block;
}

.footer-bottom {
    margin: 0;
    padding: clamp(0.45rem, 0.9vh, 0.85rem) 0;
    border-top: 1px solid var(--clr-border);
    font-size: clamp(0.7rem, 0.78vw, 0.78rem);
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

}

.footer-map {
    margin: 0;
    width: 100%;
    height: clamp(100px, 17vh, 200px);
    border: 0;
    border-top: 1px solid var(--clr-border);
    border-radius: 0;
    flex-shrink: 0;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: none;
}

.footer-bottom-wrap {
    flex-shrink: 0;
}

.footer-grid {
    padding-bottom: 1.5rem;
}

/* =========================================

   ECOSYSTEM - 1 Hero Left + 2x2 Grid Right

   Katmandu Coffee (Hero) + KTM BrewTech, Caffeophilia, ICED Espresso, Kafemandu

   ========================================= */

/* Desktop & Laptop Layout (min-width: 769px) */

@media screen and (min-width: 769px) {
    .cards-grid {
        display: grid;
        grid-template-columns: 1.18fr 1fr 1fr;
        grid-template-rows: repeat(2, clamp(135px, 22.5vh, 260px));
        gap: clamp(0.6rem, 1.1vw, 1.15rem);
        align-items: stretch;
        width: 100%;
        margin-top: clamp(0.5rem, 1.4vh, 1.35rem);
    }

    /* 1. Katmandu Coffee - Tall Flagship Hero spanning left column (rows 1 & 2) */
    .ecosystem-card:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    /* 2. KTM BrewTech - Row 1, Col 2 */
    .ecosystem-card:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    /* 3. Caffeophilia - Row 1, Col 3 */
    .ecosystem-card:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    /* 4. ICED Espresso - Row 2, Col 2 */
    .ecosystem-card:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    /* 5. Kafemandu - Row 2, Col 3 */
    .ecosystem-card:nth-child(5) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    /* Hero Card (Katmandu Coffee) Proportions */
    .ecosystem-card:nth-child(1) .card-body {
        padding: clamp(0.75rem, 1.5vh, 1.4rem) clamp(0.85rem, 1.3vw, 1.6rem);
    }

    .ecosystem-card:nth-child(1) .logo-stage {
        height: clamp(50px, 7.5vh, 85px);
        max-width: 280px;
        padding: 0.35rem 0.85rem;
    }

    .ecosystem-card:nth-child(1) .logo-ktm-coffee {
        max-height: clamp(42px, 6.5vh, 72px);
        max-width: 240px;
    }

    .ecosystem-card:nth-child(1) .card-tag {
        font-size: clamp(0.62rem, 0.72vw, 0.72rem);
    }

    .ecosystem-card:nth-child(1) .card-subtitle {
        font-size: clamp(0.72rem, 0.82vw, 0.85rem);
        padding: 0.25rem 0.8rem;
    }

    .ecosystem-card:nth-child(1) .card-overlay {
        padding: clamp(1.2rem, 2.5vh, 2.2rem) clamp(1rem, 1.8vw, 1.8rem);
    }

    .ecosystem-card:nth-child(1) .card-overlay h4 {
        font-size: clamp(1.15rem, 1.5vw, 1.55rem);
        margin-bottom: clamp(0.35rem, 0.8vh, 0.6rem);
    }

    .ecosystem-card:nth-child(1) .card-overlay p {
        font-size: clamp(0.78rem, 0.88vw, 0.92rem);
        line-height: 1.5;
        margin-bottom: clamp(0.5rem, 1vh, 0.9rem);
    }

    /* 2x2 Grid Right Cards Proportions */
    .ecosystem-card:not(:nth-child(1)) .card-body {
        padding: clamp(0.45rem, 0.9vh, 0.8rem) clamp(0.5rem, 0.9vw, 1rem);
    }

    .ecosystem-card:not(:nth-child(1)) .logo-stage {
        height: clamp(34px, 5vh, 50px);
        padding: 0.15rem 0.5rem;
        margin: 0.15rem 0;
    }

    .ecosystem-card:not(:nth-child(1)) .card-tag {
        font-size: clamp(0.58rem, 0.64vw, 0.64rem);
    }

    .ecosystem-card:not(:nth-child(1)) .card-subtitle {
        font-size: clamp(0.66rem, 0.72vw, 0.74rem);
    }

    .ecosystem-card:not(:nth-child(1)) .card-overlay {
        padding: clamp(0.75rem, 1.4vh, 1.25rem) clamp(0.75rem, 1vw, 1.15rem);
    }

    .ecosystem-card:not(:nth-child(1)) .card-overlay h4 {
        font-size: clamp(0.95rem, 1.15vw, 1.15rem);
        margin-bottom: 0.25rem;
    }

    .ecosystem-card:not(:nth-child(1)) .card-overlay p {
        font-size: clamp(0.72rem, 0.78vw, 0.8rem);
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }

    .ecosystem-card:not(:nth-child(1)) .card-overlay .overlay-badge {
        font-size: 0.62rem;
        padding: 0.18rem 0.5rem;
    }

    .logo-ktm-brew {
        max-height: clamp(28px, 4.2vh, 44px);
        max-width: 160px;
    }

    .logo-caffeophilia {
        max-height: clamp(32px, 4.8vh, 50px);
        max-width: 160px;
    }

    .logo-iced {
        max-height: clamp(30px, 4.4vh, 46px);
        width: auto;
    }

    .logo-kafemandu {
        max-height: clamp(28px, 4.2vh, 44px);
        max-width: 140px;
    }
}