/* ═══════════════════════════════════════════════════════════════════════════
   PAGE-LEVEL STYLES — Hero, sections, page-specific layouts
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── HERO (Homepage) ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: clamp(620px, 92vh, 880px);
    background: var(--eco-ink);
    color: var(--pure);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url('../images/bharat-image-info.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(1.05);
    transform: scale(1.05);
    transition: transform 6s var(--ease-out);
}
.hero-video {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.1);
}
@media (max-width: 768px) {
    .hero-video { display: none; }
}
.hero:hover .hero-bg { transform: scale(1.1); }
.hero-overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(115deg, rgba(10,31,28,0.92) 0%, rgba(13,59,46,0.78) 45%, rgba(13,59,46,0.30) 100%),
        var(--grad-mesh);
}
.hero-grain {
    position: absolute; inset: 0; z-index: -1;
    opacity: 0.05;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
    background-size: 4px 4px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: var(--maxw); margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--space-6) clamp(3rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: center;
    min-height: inherit;
}
/* hero-inner responsive grid handled in responsive.css */

.hero-content { max-width: 720px; animation: fade-up 1.1s var(--ease-out) both; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-3);
    padding: 8px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(52,211,153,0.25);
    border-radius: var(--r-pill);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--eco-glow);
    margin-bottom: var(--space-6);
}
.hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--eco-glow);
    box-shadow: 0 0 12px var(--eco-glow);
    animation: glow-pulse 2.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-6);
    color: var(--pure);
}
.hero-title .accent {
    display: inline-block;
    padding-right: 0.12em;
    background: linear-gradient(120deg, #34d399 0%, #6ee7b7 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}
.hero-lede {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    line-height: var(--lh-base);
    max-width: 580px;
    margin-bottom: var(--space-8);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    animation: fade-up 1.3s var(--ease-out) both;
    animation-delay: 0.3s;
}
/* hero-stats responsive grid handled in responsive.css */

.hero-scroll {
    position: absolute; bottom: var(--space-8); left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
    animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── PAGE HERO (interior pages) ──────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding: clamp(6rem, 12vw, 9rem) 0 clamp(4rem, 7vw, 6rem);
    background: var(--grad-hero);
    color: var(--pure);
    overflow: hidden;
    isolation: isolate;
}
/* Subtle corner watermark — no longer center illustration */
.page-hero-art {
    position: absolute;
    right: -8%;
    bottom: -12%;
    width: clamp(200px, 22vw, 320px);
    height: auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
    filter: brightness(3) grayscale(1) contrast(0.6);
    mix-blend-mode: overlay;
}
/* page-hero-art responsive handled in responsive.css */
.page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--grad-mesh);
    opacity: 0.7;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -2;
    opacity: 0.06;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
    background-size: 4px 4px;
}

.page-hero-inner {
    max-width: var(--maxw); margin-inline: auto;
    padding-inline: var(--space-6);
    text-align: center;
}
.page-hero-eyebrow {
    color: var(--eco-glow);
    font-size: 0.74rem; letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--space-5);
    display: inline-block;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--pure);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}
.page-hero h1 em {
    font-style: italic;
    background: linear-gradient(120deg, #34d399 0%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p {
    font-size: var(--fs-md);
    color: rgba(255,255,255,0.72);
    max-width: 680px; margin-inline: auto;
}

.breadcrumb {
    display: flex; gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--space-5);
}
.breadcrumb a:hover { color: var(--eco-glow); }
.breadcrumb [aria-current="page"] { color: var(--eco-glow); }
.page-hero-eyebrow { display: block; }

/* ─── SECTION VARIANTS ────────────────────────────────────────────────────── */
.section-cream { background: var(--cream); }
.section-light { background: var(--slate-50); }
.section-mint  { background: var(--eco-fog); }
.section-dark {
    background: var(--grad-dark);
    color: var(--pure);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--pure); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--grad-mesh); opacity: 0.5;
}

/* ─── PRODUCTS SHOWCASE (Homepage) ────────────────────────────────────────── */
.products-marquee {
    overflow: hidden;
    padding-block: var(--space-8);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.products-track {
    display: flex; gap: var(--space-6);
    animation: marquee 60s linear infinite;
    width: max-content;
}
.products-marquee:hover .products-track { animation-play-state: paused; }
.product-card {
    flex: 0 0 320px;
    background: var(--pure);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.product-card .card-media { aspect-ratio: 4 / 3; }
.product-card .card-body { padding: var(--space-5); gap: var(--space-2); }

/* ─── FULL-WIDTH BANNER ───────────────────────────────────────────────────── */
.full-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: var(--eco-ink);
    aspect-ratio: 21 / 9;
    max-height: 700px;
}
.full-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s var(--ease-out);
}
.full-banner:hover img { transform: scale(1.04); }
.full-banner-overlay {
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10,31,28,0.10) 0%, transparent 30%, transparent 70%, rgba(10,31,28,0.25) 100%);
}
/* full-banner aspect ratio handled in responsive.css */

/* ─── SPLIT (Image + Text) — mobile-first, scales up at md ───────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr;        /* mobile default */
    gap: var(--space-8);
    align-items: center;
}
/* tablet+ split into 2 columns — handled in responsive.css */
.split-media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::before {
    content: ''; position: absolute;
    inset: -20px; z-index: -1;
    background: var(--grad-emerald);
    filter: blur(50px); opacity: 0.18;
    border-radius: var(--r-xl);
}
.split-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-5);
}
.split-content h2 em {
    font-style: italic; color: var(--eco-primary);
}
.split-content p { color: var(--slate-500); font-size: var(--fs-md); margin-bottom: var(--space-4); line-height: var(--lh-loose); }

/* ─── MISSION COLLAGE ─────────────────────────────────────────────────────── */
.mission-grid-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    height: 560px;
}
/* Proper 5-image collage: tall sides, wide top-centre, two small bottom tiles */
.mission-grid-collage .mission-tile-left      { grid-column: 1 / 2; grid-row: 1 / 3; }
.mission-grid-collage .mission-tile-top-mid   { grid-column: 2 / 4; grid-row: 1 / 2; }
.mission-grid-collage .mission-tile-right     { grid-column: 4 / 5; grid-row: 1 / 3; }
.mission-grid-collage .mission-tile-bot-left  { grid-column: 2 / 3; grid-row: 2 / 3; }
.mission-grid-collage .mission-tile-bot-right { grid-column: 3 / 4; grid-row: 2 / 3; }
.mission-grid-collage > * {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    background: var(--slate-200);
}
.mission-grid-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.mission-grid-collage > *:hover img { transform: scale(1.06); }
/* collage responsive grid handled in responsive.css */

/* ─── TABS ────────────────────────────────────────────────────────────────── */
.tabs {
    display: flex; justify-content: center; gap: 6px;
    background: var(--slate-100);
    padding: 6px;
    border-radius: var(--r-pill);
    width: max-content;
    margin-inline: auto;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}
.tab-btn {
    padding: 10px 22px;
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--r-pill);
    color: var(--slate-700);
    transition: all var(--t-base) var(--ease-out);
}
.tab-btn.is-active {
    background: var(--pure);
    color: var(--eco-deep);
    box-shadow: var(--shadow);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up 0.5s var(--ease-out); }

/* ─── NEWS / TIMELINE ─────────────────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; }
.news-item {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--slate-200);
    transition: padding-left var(--t-base) var(--ease-out);
}
.news-item:hover { padding-left: var(--space-4); }
.news-date {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eco-primary);
    font-weight: 700;
}
.news-title { font-size: var(--fs-md); color: var(--slate-900); line-height: var(--lh-snug); font-weight: 500; }
.news-arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--eco-primary);
    transition: all var(--t-base) var(--ease-out);
}
.news-item:hover .news-arrow { background: var(--eco-primary); color: var(--pure); border-color: var(--eco-primary); }

/* news-item responsive handled in responsive.css */

/* ─── JOB LIST (Career) ───────────────────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: var(--space-4); }
.job-card {
    display: flex; justify-content: space-between; align-items: center;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-8);
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    transition: all var(--t-base) var(--ease-out);
}
.job-card:hover {
    border-color: rgba(21,128,61,0.20);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.job-info h3 { font-size: var(--fs-md); margin-bottom: 4px; color: var(--ink); }
.job-meta { display: flex; gap: var(--space-3); font-size: 0.82rem; color: var(--slate-500); flex-wrap: wrap; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--eco-fog);
    color: var(--eco-primary);
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
/* job-card responsive handled in responsive.css */

/* ─── OUTLETS GRID ────────────────────────────────────────────────────────── */
.outlet-tabs {
    display: flex; gap: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-8);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    /* Soft fade on right edge to hint at more content */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
}
.outlet-tabs::-webkit-scrollbar { display: none; }
.outlet-tab {
    /* CRITICAL: don't shrink below content — the global min-width:0 reset
       (added to prevent horizontal overflow elsewhere) would otherwise let
       these flex items shrink and clip their text with ellipsis. */
    flex: 0 0 auto;
    min-width: max-content;
    padding: 10px 18px;
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--slate-700);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    scroll-snap-align: start;
    transition: all var(--t-fast);
}
.outlet-tab:hover { border-color: var(--eco-primary); color: var(--eco-deep); }
.outlet-tab.is-active {
    background: var(--eco-deep); color: var(--pure); border-color: var(--eco-deep);
}
.outlet-search {
    position: relative; max-width: 480px; margin: 0 auto var(--space-8);
}
.outlet-search input {
    width: 100%; padding: 14px 18px 14px 46px;
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    transition: all var(--t-fast);
}
.outlet-search input:focus { outline: none; border-color: var(--eco-primary); box-shadow: 0 0 0 4px rgba(21,128,61,0.08); }
.outlet-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-400); }

.outlet-card {
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-left: 3px solid var(--eco-primary);
    border-radius: var(--r-md);
    padding: var(--space-5);
    transition: all var(--t-base) var(--ease-out);
}
.outlet-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--eco-bright); }
.outlet-card-head { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }
.outlet-card-head svg { flex-shrink: 0; color: var(--eco-primary); margin-top: 2px; }
.outlet-city { font-size: var(--fs-md); font-weight: 700; color: var(--ink); line-height: 1.2; }
.outlet-state { font-size: 0.78rem; color: var(--eco-primary); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.outlet-address { font-size: 0.86rem; color: var(--slate-500); line-height: var(--lh-base); }

/* ─── CTA BLOCKS ──────────────────────────────────────────────────────────── */
/* ─── CTA BLOCKS ──────────────────────────────────────────────────────────── */
.cta-block {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    background: var(--grad-hero);
    border-radius: var(--r-xl);
    color: var(--pure);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.cta-block::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--grad-mesh); opacity: 0.6;
}
.cta-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    color: var(--pure);
    margin-bottom: var(--space-4);
}
.cta-block p {
    color: rgba(255,255,255,0.75);
    max-width: 600px; margin-inline: auto;
    margin-bottom: var(--space-6);
    font-size: var(--fs-md);
}

/* ─── CERTIFICATIONS / TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
    display: flex; justify-content: space-around; align-items: center;
    gap: var(--space-6); flex-wrap: wrap;
    padding: var(--space-8) 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.trust-item { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); color: var(--slate-700); font-weight: 600; }
.trust-item svg { color: var(--eco-primary); flex-shrink: 0; }

/* ─── LEGAL PAGES ─────────────────────────────────────────────────────────── */
.legal-content {
    max-width: 820px; margin-inline: auto;
    padding-inline: var(--space-6);
    color: var(--slate-700);
    line-height: var(--lh-loose);
}
.legal-content h2 {
    font-size: var(--fs-xl);
    color: var(--eco-deep);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: var(--space-4); }
.legal-content ul { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.legal-content li { margin-bottom: var(--space-2); list-style: disc; }
.legal-content a { color: var(--eco-primary); border-bottom: 1px solid currentColor; }

/* ─── THANK YOU PAGE ──────────────────────────────────────────────────────── */
.thankyou {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    padding: var(--space-16) var(--space-6);
    background: linear-gradient(180deg, var(--eco-fog) 0%, var(--pure) 100%);
}
.thankyou-card {
    max-width: 480px; width: 100%;
    background: var(--pure);
    border-radius: var(--r-xl);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.thankyou-icon {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--grad-emerald);
    color: var(--pure);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-glow);
}
.thankyou h1 { color: var(--eco-deep); font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.thankyou p { color: var(--slate-500); margin-bottom: var(--space-6); }

/* ─── PARTNER FORM ────────────────────────────────────────────────────────── */
.partner-form-wrap {
    background: var(--pure);
    border-radius: var(--r-2xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
}
.partner-form-wrap h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    text-align: center;
    margin-bottom: var(--space-3);
    color: var(--eco-deep);
}
.partner-form-wrap > p { text-align: center; color: var(--slate-500); margin-bottom: var(--space-8); }

.form-section {
    margin-bottom: var(--space-8);
}
.form-section-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--eco-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--slate-200);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}
.form-grid .full { grid-column: 1 / -1; }
/* form-grid responsive handled in responsive.css */

/* ─── BPL hero distinct ───────────────────────────────────────────────────── */
.bpl-features { display: grid; gap: var(--space-5); }
/* bpl-features responsive grid handled in responsive.css */
.bpl-feature {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-5);
    background: var(--pure);
    border-radius: var(--r-md);
    border: 1px solid var(--slate-200);
    transition: all var(--t-base);
}
.bpl-feature:hover { border-color: rgba(21,128,61,0.2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bpl-feature-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: var(--r-sm);
    background: var(--eco-fog); color: var(--eco-primary);
    display: inline-flex; align-items: center; justify-content: center;
}
.bpl-feature-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* ─── SUSTAINABILITY BAND ─────────────────────────────────────────────────── */
.sustain-band {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--eco-fog) 0%, var(--cream) 100%);
    border-radius: var(--r-2xl);
    border: 1px solid rgba(21,128,61,0.10);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.sustain-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 100% 0%, rgba(52,211,153,0.18), transparent 50%);
}
.sustain-band-text h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    margin: var(--space-3) 0 var(--space-4);
}
.sustain-band-art img { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
/* sustain-band responsive handled in responsive.css */

/* ─── ECOSYSTEM ───────────────────────────────────────────────────────────── */
.ecosystem-grid {
    display: grid;
    gap: var(--space-5);
}
/* ecosystem-grid responsive columns handled in responsive.css */
.ecosystem-card {
    position: relative;
    padding: var(--space-6);
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    text-align: center;
    transition: all var(--t-base) var(--ease-out);
    overflow: hidden;
    isolation: isolate;
}
.ecosystem-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(52,211,153,0.10), transparent 60%);
    opacity: 0;
    transition: opacity var(--t-base);
}
.ecosystem-card:hover { transform: translateY(-6px); border-color: rgba(21,128,61,0.20); box-shadow: var(--shadow-lg); }
.ecosystem-card:hover::before { opacity: 1; }
.ecosystem-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: var(--space-4);
    transition: transform var(--t-base) var(--ease-out);
}
.ecosystem-card:hover img { transform: scale(1.05) rotate(-2deg); }
.ecosystem-card h3 { font-size: var(--fs-md); color: var(--ink); margin-bottom: var(--space-2); }
.ecosystem-card p { color: var(--slate-500); font-size: var(--fs-sm); line-height: var(--lh-base); }

/* ─── SOCIAL FEED ─────────────────────────────────────────────────────────── */
.social-grid {
    display: grid;
    gap: var(--space-5);
    margin-bottom: var(--space-12);
}
/* social-grid responsive columns handled in responsive.css */
.social-card {
    position: relative;
    padding: var(--space-6);
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    color: var(--ink);
    overflow: hidden;
    isolation: isolate;
    transition: all var(--t-base) var(--ease-out);
    display: flex; flex-direction: column;
    min-height: 280px;
}
.social-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--social-accent, var(--eco-primary));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base) var(--ease-out);
}
.social-card::after {
    content: ''; position: absolute; z-index: -1;
    width: 240px; height: 240px;
    bottom: -100px; right: -100px;
    background: var(--social-accent, var(--eco-primary));
    opacity: 0; filter: blur(60px);
    transition: opacity var(--t-base);
}
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--social-accent, var(--eco-primary));
}
.social-card:hover::before { transform: scaleX(1); }
.social-card:hover::after { opacity: 0.12; }
.social-card:hover .social-icon { background: var(--social-accent); color: var(--pure); transform: rotate(-6deg); }
.social-card:hover .social-cta { gap: 10px; }

.social-card-facebook  { --social-accent: #1877f2; }
.social-card-instagram { --social-accent: #e1306c; }
.social-card-linkedin  { --social-accent: #0a66c2; }

.social-card-head {
    display: flex; align-items: center; gap: var(--space-4);
    margin-bottom: var(--space-4);
}
.social-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--social-accent, var(--eco-primary)) 10%, transparent);
    color: var(--social-accent, var(--eco-primary));
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all var(--t-base) var(--ease-out);
}
.social-card-head h3 {
    font-size: var(--fs-lg);
    color: var(--ink);
    margin-bottom: 2px;
    line-height: 1.1;
}
.social-handle {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.04em;
}
.social-desc {
    color: var(--slate-500);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
    flex: 1;
    margin-bottom: var(--space-5);
}
.social-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--slate-200);
    flex-wrap: wrap; gap: var(--space-3);
}
.social-stat { font-size: 0.78rem; color: var(--slate-500); }
.social-stat strong { color: var(--ink); font-weight: 700; }
.social-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.84rem; font-weight: 600;
    color: var(--social-accent, var(--eco-primary));
    transition: gap var(--t-base);
}

/* ─── LIVE FACEBOOK FEED ── premium light wrapper, mobile-responsive ──────── */
.fb-feed {
    margin-top: clamp(2rem, 5vw, 3.5rem);
    background: var(--pure);
    border: 1px solid var(--slate-100);
    border-radius: var(--r-xl);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 4px 20px rgba(10, 31, 28, 0.04);
}
.fb-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    padding-bottom: clamp(1rem, 2.5vw, 1.25rem);
    border-bottom: 1px solid var(--slate-100);
}
.fb-feed-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--eco-primary);
    margin-right: auto;
}
.fb-feed-head h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    color: var(--eco-deep);
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
    flex: 1 1 60%;
    order: 2;
    width: 100%;
}
.fb-feed-head h3 em {
    font-style: italic;
    color: var(--eco-primary);
}
.fb-feed-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--eco-primary);
    padding: 8px 14px;
    border: 1px solid rgba(21, 128, 61, 0.18);
    border-radius: var(--r-pill);
    transition: all var(--t-fast);
    order: 3;
    flex-shrink: 0;
}
.fb-feed-view:hover {
    background: var(--eco-primary);
    color: var(--pure);
    border-color: var(--eco-primary);
    transform: translateY(-1px);
}
.fb-feed-view svg { transition: transform var(--t-fast); }
.fb-feed-view:hover svg { transform: translateX(2px); }

.fb-feed-frame {
    display: flex;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--r-md);
    padding: clamp(8px, 2vw, 14px);
    overflow: hidden;
}
.fb-feed-frame iframe {
    width: 100% !important;
    max-width: 500px;
    height: 700px;
    border: 0;
    background: var(--pure);
    border-radius: var(--r-sm);
    display: block;
}
/* Smaller phones: reduce height so feed fits without endless scroll */
@media (max-width: 480px) {
    .fb-feed-frame iframe { height: 600px; }
}
@media (max-width: 360px) {
    .fb-feed-frame iframe { height: 540px; }
}

/* ─── DOWNLOADS ───────────────────────────────────────────────────────────── */
.downloads-grid {
    display: grid;
    gap: var(--space-4);
}
/* downloads-grid responsive columns handled in responsive.css */
.download-card {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: var(--pure);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    color: var(--ink);
    transition: all var(--t-base) var(--ease-out);
}
.download-card:hover {
    transform: translateY(-3px);
    border-color: var(--eco-primary);
    box-shadow: var(--shadow-md);
}
.download-card:hover .download-arrow { transform: translateX(4px); color: var(--eco-primary); }
.download-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-sm);
    background: var(--eco-fog);
    color: var(--eco-primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.download-card strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.download-card span { font-size: 0.78rem; color: var(--slate-500); }
.download-card div { flex: 1; }
.download-arrow { color: var(--slate-400); transition: all var(--t-base); }

/* ─── CUSTOM CURSOR ───────────────────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    mix-blend-mode: difference;
    will-change: transform;
    opacity: 0;
    transition: opacity 200ms var(--ease-out), background-color 200ms var(--ease-out), width 200ms var(--ease-out), height 200ms var(--ease-out);
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--eco-glow);
    margin: -4px 0 0 -4px;
    box-shadow: 0 0 16px rgba(52,211,153,0.6);
}
.cursor-ring {
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(52,211,153,0.5);
}
.cursor-ready .cursor-dot,
.cursor-ready .cursor-ring { opacity: 1; }
.cursor-hover .cursor-dot {
    width: 0; height: 0;
    background: transparent;
}
.cursor-hover .cursor-ring {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(52,211,153,0.15);
    border-color: rgba(52,211,153,0.9);
}
.cursor-text .cursor-ring {
    width: 4px; height: 28px;
    margin: -14px 0 0 -2px;
    border-radius: 2px;
    background: var(--eco-glow);
    border: 0;
}
.cursor-text .cursor-dot { opacity: 0; }

@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* Lift micro-animations for headings */
.lift-on-hover {
    transition: transform var(--t-base) var(--ease-out);
}
.lift-on-hover:hover { transform: translateY(-3px); }

/* Magnetic CTA glow */
.glow-on-hover {
    position: relative; isolation: isolate;
}
.glow-on-hover::before {
    content: ''; position: absolute; z-index: -1;
    inset: -8px;
    background: radial-gradient(circle, rgba(52,211,153,0.25), transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--t-base);
}
.glow-on-hover:hover::before { opacity: 1; }

/* ─── 404 ─────────────────────────────────────────────────────────────────── */
.error-page {
    min-height: 70vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: var(--space-16) var(--space-6);
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(7rem, 18vw, 12rem);
    font-weight: 500;
    line-height: 1;
    background: var(--grad-emerald);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-4);
}

/* ─── GALLERY (gallery.php) ───────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    /* min() guard prevents overflow on very narrow phones; ~2 columns on
       phones, scaling up automatically on larger screens. */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: var(--space-3);
}
@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: var(--space-4);
    }
}
.gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--slate-100);
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 16px 14px;
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    background: linear-gradient(to top, rgba(10, 31, 28, 0.82), transparent);
}

/* ─── VIDEO CAROUSEL (hover to play, mute toggle) ─────────────────────────── */
.video-carousel {
    position: relative;
    margin-bottom: var(--space-6);
}
.video-carousel-track {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.video-carousel-track::-webkit-scrollbar { display: none; }

.video-card {
    position: relative;
    margin: 0;
    /* Show all videos in a single row on desktop (4 across), reduced size */
    flex: 0 0 calc((100% - 3 * var(--space-4)) / 4);
    scroll-snap-align: start;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 3 / 4;   /* uniform, compact */
}
/* Orientation no longer changes layout inside the carousel — keep cells uniform */
.video-card.is-landscape,
.video-card.is-portrait { aspect-ratio: 3 / 4; }
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-card figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 34px 16px 14px;
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    background: linear-gradient(to top, rgba(10, 31, 28, 0.85), transparent);
    pointer-events: none;
}

/* Centered play hint — fades out while playing */
.video-hint {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(10, 31, 28, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.video-hint svg { margin-left: 3px; }
.video-card.is-playing .video-hint {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Mute / unmute toggle */
.video-mute {
    position: absolute;
    top: 12px; right: 12px;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(10, 31, 28, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background var(--t-fast), transform var(--t-fast);
    z-index: 2;
}
.video-mute:hover {
    background: var(--eco-primary);
    transform: scale(1.08);
}
.video-mute .icon-on { display: none; }
.video-mute .icon-off { display: block; }
.video-card:not(.is-muted) .video-mute .icon-on { display: block; }
.video-card:not(.is-muted) .video-mute .icon-off { display: none; }

/* Prev / next arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--pure);
    color: var(--eco-deep);
    box-shadow: var(--shadow-md);
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 4;
    transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-btn:hover { background: var(--eco-primary); color: #fff; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
.video-carousel.is-static .carousel-btn { display: none; }   /* nothing to scroll */

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-4);
}
.carousel-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--slate-300);
    transition: background var(--t-fast), width var(--t-fast);
}
.carousel-dots button.is-active {
    background: var(--eco-primary);
    width: 22px;
    border-radius: 4px;
}
.video-carousel.is-static .carousel-dots { display: none; }

/* Fewer per row as the screen narrows — carousel scrolls when they overflow */
@media (max-width: 900px) {
    .video-card { flex-basis: calc((100% - var(--space-4)) / 2); }   /* 2 across */
}
@media (max-width: 560px) {
    .video-card { flex-basis: 100%; }                                /* 1 across */
}
