/* ============================================================
   Loving Matcha — shared design tokens & navigation
   Included by every page (index, blog, articles).
   Page-specific layout stays in each page's own <style> block;
   anything here can be overridden locally since this file is
   linked before each page's inline styles.
   ============================================================ */

:root {
    --matcha-deep: #2D5A3D;
    --matcha: #4A7C59;
    --matcha-light: #6B8E5E;
    --matcha-pale: #A8C69F;
    --matcha-mist: #E8F0E4;
    --cream: #FAF9F6;
    --cream-warm: #F5F2EC;
    --earth: #8B7355;
    --earth-light: #C4B49A;
    --charcoal: #2C2C2C;
    --charcoal-light: #5A5A5A;
    --white: #FFFFFF;
    --shadow: rgba(45, 90, 61, 0.08);
    --shadow-lg: rgba(45, 90, 61, 0.15);
}

/* ===== Navigation ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 198, 159, 0.2);
    transition: all 0.4s ease;
}
nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
nav .logo {
    font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
    font-weight: 500; color: var(--matcha-deep); letter-spacing: 0.5px; text-decoration: none;
}
nav .logo span { color: var(--matcha); font-style: italic; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-size: 0.9rem; font-weight: 400; color: var(--charcoal-light);
    letter-spacing: 0.3px; position: relative; text-decoration: none;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px; background: var(--matcha); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--matcha-deep); }
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span {
    display: block; width: 24px; height: 1.5px;
    background: var(--matcha-deep); margin: 6px 0; transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 0.85rem; color: var(--charcoal-light); margin-bottom: 28px;
}
.breadcrumb a { color: var(--charcoal-light); text-decoration: none; transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--matcha-deep); }
.breadcrumb .breadcrumb-sep { color: var(--matcha-pale); }
.breadcrumb .breadcrumb-current { color: var(--matcha-deep); font-weight: 500; }

/* ===== Footer social links ===== */
.footer-social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.footer-social-link:hover { color: var(--matcha-pale); border-color: var(--matcha-pale); }
.footer-social-link svg { width: 18px; height: 18px; }

/* ===== Article / blog footer ===== */
.site-footer {
    background: var(--charcoal); color: #fff; padding: 40px 24px; text-align: center;
    margin-top: 60px; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.site-footer p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 12px; text-decoration: none; }
.site-footer .logo span { color: var(--matcha-pale); font-style: italic; }
.footer-disclaimer {
    max-width: 640px; margin: 16px auto 0; padding-top: 16px;
    font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.12);
}

/* ===== Related articles ===== */
.related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--matcha-mist); }
.related h3 { margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    display: block; background: var(--cream); border: 1px solid var(--matcha-mist);
    border-radius: 12px; padding: 20px; text-decoration: none; transition: all 0.3s ease;
}
.related-card:hover { border-color: var(--matcha-pale); box-shadow: 0 8px 24px rgba(45,90,61,0.08); transform: translateY(-3px); }
.related-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; color: var(--matcha); background: var(--matcha-mist);
    padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.related-card h4 {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.15rem; font-weight: 500;
    color: var(--matcha-deep); line-height: 1.3; margin: 0;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ===== Recipe ingredient/method box (single-recipe articles) ===== */
.recipe-box { background: var(--cream); border: 1px solid var(--matcha-mist); border-radius: 16px; padding: 24px 28px; margin: 20px 0 32px; }
.recipe-box h4 { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--matcha); margin: 0 0 12px; }
.recipe-box ul { margin-bottom: 0; }
.grade-pill { display: inline-block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; background: var(--matcha-deep); color: #fff; padding: 3px 12px; border-radius: 20px; margin-bottom: 4px; }
