/* ═══════════════════════════════════════════════
   AHARA PROVENANCE — provenance.css
   Forest green · Amber · Cream
   Earthy, artisanal, trust-building
═══════════════════════════════════════════════ */

:root {
    --ah-forest:     #1E3A2F;
    --ah-forest-md:  #2D5240;
    --ah-sage:       #4A7C59;
    --ah-amber:      #C8861A;
    --ah-amber-lt:   #E8A832;
    --ah-cream:      #F7F2E8;
    --ah-warm-white: #FEFCF7;
    --ah-text-dark:  #1A1A14;
    --ah-text-mid:   #4A4535;
    --ah-text-muted: #9A9580;
    --ah-border:     rgba(30,58,47,0.12);
}

/* ── Origin badge on product cards ── */
.ahara-origin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--ah-sage);
    letter-spacing: 0.04em;
    margin: 4px 0 8px;
    font-family: inherit;
}
.ahara-origin-badge svg { stroke: var(--ah-sage); flex-shrink: 0; }
.ahara-origin-badge a {
    color: var(--ah-sage);
    text-decoration: none;
    border-bottom: 1px solid rgba(74,124,89,0.3);
    line-height: 1.2;
    transition: color 0.2s, border-color 0.2s;
}
.ahara-origin-badge a:hover { color: var(--ah-forest); border-color: var(--ah-forest); }

/* ── Source panel on single product ── */
.ahara-source-panel {
    margin: 40px 0;
    padding: 32px;
    background: var(--ah-cream);
    border: 1px solid var(--ah-border);
    border-radius: 2px;
    border-left: 3px solid var(--ah-amber);
}
.ahara-sp-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.ahara-sp-label-line {
    flex: 1;
    height: 1px;
    background: var(--ah-border);
}
.ahara-sp-label-text {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ah-amber);
    white-space: nowrap;
    font-weight: 500;
}
.ahara-sp-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
}
.ahara-sp-photo {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.ahara-sp-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}
.ahara-sp-location {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.9);
    background: rgba(30,58,47,0.75);
    padding: 4px 8px;
    border-radius: 1px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.04em;
}
.ahara-sp-location svg { stroke: rgba(255,255,255,0.8); flex-shrink: 0; }
.ahara-sp-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--ah-forest);
    margin: 0 0 8px;
    line-height: 1.2;
}
.ahara-sp-ethos {
    font-style: italic;
    font-size: 14px;
    color: var(--ah-text-mid);
    line-height: 1.7;
    margin: 0 0 10px;
    padding-left: 12px;
    border-left: 2px solid rgba(200,134,26,0.4);
}
.ahara-sp-story {
    font-size: 13.5px;
    color: var(--ah-text-mid);
    line-height: 1.8;
    margin: 0 0 16px;
}
.ahara-sp-link {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ah-forest);
    text-decoration: none;
    border-bottom: 1px solid var(--ah-amber);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    font-weight: 500;
}
.ahara-sp-link:hover { color: var(--ah-amber); border-color: var(--ah-amber-lt); }

/* ── Sources grid (shortcode + index page) ── */
.ahara-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.ahara-source-card {
    display: block;
    text-decoration: none;
    background: var(--ah-warm-white);
    border: 1px solid var(--ah-border);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}
.ahara-source-card:hover { transform: translateY(-3px); border-color: var(--ah-amber); }
.ahara-sc-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--ah-cream);
}
.ahara-sc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.ahara-source-card:hover .ahara-sc-photo img { transform: scale(1.04); }
.ahara-sc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,58,47,0.45) 0%, transparent 60%);
    pointer-events: none;
}
.ahara-sc-body {
    padding: 16px 18px 18px;
}
.ahara-sc-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--ah-forest);
    margin-bottom: 5px;
    line-height: 1.25;
}
.ahara-sc-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ah-sage);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.ahara-sc-location svg { stroke: var(--ah-sage); flex-shrink: 0; }
.ahara-sc-ethos {
    font-size: 12.5px;
    color: var(--ah-text-mid);
    line-height: 1.65;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ahara-sc-count {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ah-amber);
    font-weight: 500;
}

/* ── Source archive page ── */
.ahara-source-archive { max-width: 1100px; margin: 0 auto; padding: 0 24px 64px; }

.ahara-source-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    margin-bottom: 56px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--ah-border);
}
.ahara-source-hero-img {
    position: relative;
    overflow: hidden;
    background: var(--ah-cream);
}
.ahara-source-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ahara-source-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(247,242,232,0.15) 100%);
    pointer-events: none;
}
.ahara-source-hero-content {
    background: var(--ah-cream);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ahara-source-eyebrow {
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ah-amber);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ahara-source-eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--ah-amber);
    display: inline-block;
}
.ahara-source-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    color: var(--ah-forest);
    line-height: 1.15;
    margin-bottom: 8px;
}
.ahara-source-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ah-sage);
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}
.ahara-source-location-row svg { stroke: var(--ah-sage); flex-shrink: 0; }
.ahara-source-ethos {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: var(--ah-text-mid);
    line-height: 1.7;
    padding: 16px 18px;
    border-left: 2px solid var(--ah-amber);
    background: rgba(200,134,26,0.05);
    margin-bottom: 22px;
    border-radius: 0 1px 1px 0;
}
.ahara-source-story {
    font-size: 14px;
    color: var(--ah-text-mid);
    line-height: 1.85;
    margin-bottom: 24px;
}
.ahara-source-story p { margin-bottom: 12px; }
.ahara-source-story p:last-child { margin-bottom: 0; }
.ahara-source-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ah-forest);
    text-decoration: none;
    border-bottom: 1px solid rgba(30,58,47,0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    font-weight: 500;
}
.ahara-source-website:hover { color: var(--ah-amber); border-color: var(--ah-amber); }

/* Source products section */
.ahara-source-products-hdr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ah-border);
}
.ahara-source-products-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--ah-forest);
}
.ahara-source-products-count {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ah-amber);
    font-weight: 500;
}

/* ── Sources index page ── */
.ahara-sources-index { max-width: 1100px; margin: 0 auto; padding: 0 24px 64px; }
.ahara-sources-index-hero {
    padding: 48px 0 36px;
    text-align: center;
    border-bottom: 1px solid var(--ah-border);
    margin-bottom: 48px;
}
.ahara-sources-index-label {
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ah-amber);
    margin-bottom: 12px;
}
.ahara-sources-index-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--ah-forest);
    line-height: 1.15;
    margin-bottom: 14px;
}
.ahara-sources-index-sub {
    font-size: 15px;
    color: var(--ah-text-mid);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

/* India map pin strip */
.ahara-state-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
}
.ahara-state-btn {
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
    border: 1px solid var(--ah-border);
    border-radius: 1px;
    background: var(--ah-warm-white);
    color: var(--ah-text-mid);
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}
.ahara-state-btn:hover,
.ahara-state-btn.active {
    background: var(--ah-forest);
    color: var(--ah-cream);
    border-color: var(--ah-forest);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ahara-source-hero { grid-template-columns: 1fr; }
    .ahara-source-hero-img { aspect-ratio: 16/9; height: auto; }
    .ahara-source-hero-content { padding: 28px 22px; }
    .ahara-source-name { font-size: 28px; }
    .ahara-sp-inner { grid-template-columns: 1fr; }
    .ahara-sp-photo img { aspect-ratio: 16/9; }
    .ahara-sources-index-title { font-size: 28px; }
    .ahara-sources-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
    .ahara-sources-grid { grid-template-columns: 1fr; }
    .ahara-source-panel { padding: 20px 16px; }
}
