/* Blue Mind Body Soul: shared look and feel. Loaded after each page's own styles. */
:root {
  --bm-navy: #16324f; --bm-blue: #2c5aa0; --bm-teal: #2a8a7a; --bm-sea: #4db8a8;
  --bm-mint: #9fd3c7; --bm-foam: #e8f5f1; --bm-sand: #f8f5ef; --bm-paper: #fffdf9;
  --bm-ink: #1d2b36; --bm-muted: #5a6a75; --bm-line: #e3e8e6;
  --bm-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --bm-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bm-radius: 18px; --bm-shadow: 0 1px 2px rgba(22,50,79,.06), 0 8px 28px rgba(22,50,79,.08);
}
html { scroll-behavior: smooth; }
body { font-family: var(--bm-sans); color: var(--bm-ink); background: var(--bm-sand); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bm-sea); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bm-mint); color: var(--bm-navy); }

/* ---------- Header ---------- */
header.site-header { padding: 0; color: var(--bm-ink); box-shadow: none; margin: 0; }
.site-header nav.sh-nav { display: block; position: static; max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; flex-direction: row; }
.site-header .sh-links li { margin: 0; padding: 0; list-style: none; }
.site-header .sh-links a { margin: 0; opacity: 1; }
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(248,245,239,.86); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(22,50,79,.08); }
.site-header .sh-inner { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header .sh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bm-navy); font-family: var(--bm-serif); font-weight: 700; font-size: 1.18rem; letter-spacing: .1px; white-space: nowrap; }
.site-header .sh-brand img { width: 34px; height: 34px; flex: none; }
.site-header .sh-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-header .sh-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--bm-muted); text-decoration: none; font-size: .93rem; font-weight: 500; transition: color .2s, background .2s; }
.site-header .sh-links a:hover { color: var(--bm-navy); background: rgba(77,184,168,.12); }
.site-header .sh-links a[aria-current="page"] { color: var(--bm-teal); font-weight: 600; }
.site-header .sh-links .sh-cta { margin-left: 8px; background: var(--bm-navy); color: #fff; padding: 9px 18px; font-weight: 600; }
.site-header .sh-links .sh-cta:hover { background: var(--bm-teal); color: #fff; }
.site-header .sh-toggle { display: none; background: none; border: 1px solid var(--bm-line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--bm-navy); }
.site-header .sh-toggle span, .site-header .sh-toggle span::before, .site-header .sh-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.site-header .sh-toggle span::before { position: absolute; top: -6px; } .site-header .sh-toggle span::after { position: absolute; top: 6px; }
.site-header.open .sh-toggle span { background: transparent; }
.site-header.open .sh-toggle span::before { top: 0; transform: rotate(45deg); } .site-header.open .sh-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 920px) {
  .site-header .sh-toggle { display: inline-flex; order: 3; margin-left: auto; }
  .site-header .sh-inner { position: relative; }
  .site-header .sh-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--bm-paper); border-bottom: 1px solid var(--bm-line); box-shadow: 0 16px 30px rgba(22,50,79,.1); }
  .site-header.open .sh-links { display: flex; }
  .site-header .sh-links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .site-header .sh-links .sh-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--bm-navy); color: #b7c6d3; padding: 64px 24px 32px; margin-top: 0; text-align: left; border: 0; position: relative; overflow: hidden; }
footer.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: url("/images/art/wave-top.svg") center top / 100% 100% no-repeat; }
footer.site-footer .footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--bm-serif); color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
footer.site-footer .footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 5px; }
footer.site-footer .footer-desc { text-align: left; font-size: .9rem; line-height: 1.7; max-width: 320px; color: #b7c6d3; margin: 0; }
footer.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
footer.site-footer .footer-social a { color: #dbe6ee; text-decoration: none; font-size: .8rem; font-weight: 500; padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; transition: background .2s, border-color .2s; }
footer.site-footer .footer-social a:hover { background: rgba(255,255,255,.08); border-color: var(--bm-mint); }
footer.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.4px; margin: 0 0 14px; font-family: var(--bm-sans); }
footer.site-footer .footer-links a { display: block; color: #b7c6d3; text-decoration: none; font-size: .92rem; padding: 5px 0; transition: color .2s; }
footer.site-footer .footer-links a:hover { color: var(--bm-mint); }
footer.site-footer .footer-bottom { max-width: 1160px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8ea3b4; text-align: left; }
@media (max-width: 820px) { footer.site-footer .footer-inner { grid-template-columns: 1fr 1fr; } footer.site-footer .footer-inner > div:first-child { grid-column: 1 / -1; } }

/* ---------- Shared building blocks (main pages) ---------- */
.t-page .section h2, .t-page h1, .t-page h2 { letter-spacing: -.2px; }
.t-page .section-label { color: var(--bm-teal); letter-spacing: 1.6px; font-size: .76rem; }
.t-page .section h2 { color: var(--bm-navy); }
.t-page .section > p, .t-page .section p { color: var(--bm-muted); }

/* Hero (homepage) */
.t-page .hero.hero-art { position: relative; min-height: min(78vh, 640px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px 24px 140px; background: var(--bm-navy) url("/images/art/hero-lake.svg") center 60% / cover no-repeat; overflow: hidden; isolation: isolate; }
.t-page .hero.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,36,58,.55) 0%, rgba(16,36,58,.25) 45%, rgba(16,36,58,.55) 100%); }
.t-page .hero.hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: url("/images/art/wave-sand.svg") center bottom / 100% 100% no-repeat; }
.t-page .hero.hero-art .hero-kicker { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--bm-mint); margin-bottom: 18px; }
.t-page .hero.hero-art h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 780px; line-height: 1.12; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.t-page .hero.hero-art p { font-size: clamp(1.02rem, 1.6vw, 1.18rem); opacity: .95; max-width: 600px; }
.hero-cta, .btn-primary { display: inline-flex !important; align-items: center; gap: 8px; background: #fff; color: var(--bm-navy) !important; padding: 15px 30px !important; border-radius: 999px !important; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s, background .2s; }
.hero-cta:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.hero-trust { margin-top: 14px !important; font-size: .86rem !important; opacity: .85 !important; }
.hero-alt { margin-top: 26px !important; font-size: .95rem !important; }
.hero-alt a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(159,211,199,.8); }

/* Pillars */
.t-page .pillar { background: var(--bm-paper); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 34px 26px; box-shadow: none; text-align: left; }
.t-page .pillar:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow); border-color: transparent; }
.t-page .pillar h3 { font-family: var(--bm-serif); color: var(--bm-navy); font-size: 1.22rem; }
.pillar-icon.pi { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 0 18px; font-size: 0; }
.pillar-icon.pi img { width: 30px; height: 30px; }
.pi-mind { background: #e4eefb; } .pi-body { background: #e3f4ef; } .pi-soul { background: #f6ece2; } .pi-kitchen { background: #eef3e3; }

/* Cards with illustration thumbs */
.post-card, .rcard { background: var(--bm-paper) !important; border: 1px solid var(--bm-line) !important; border-radius: var(--bm-radius) !important; overflow: hidden; box-shadow: none !important; transition: transform .25s, box-shadow .25s, border-color .25s !important; }
.post-card:hover, .rcard:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow) !important; border-color: transparent !important; }
.post-thumb.art, .rthumb.art { position: relative; height: auto !important; aspect-ratio: 16 / 9; background-color: var(--bm-foam) !important; background-size: cover !important; background-position: center !important; padding: 0 !important; }
.post-thumb.art span, .rthumb.art span { display: none !important; }
.post-thumb.art img, .rthumb.art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb.art img, .rcard:hover .rthumb.art img { transform: scale(1.04); }
.post-thumb.art, .rthumb.art { overflow: hidden; }
.post-card .post-tag, .post-card .post-category { color: var(--bm-teal) !important; letter-spacing: 1.2px; font-size: .72rem !important; font-weight: 600 !important; text-transform: uppercase; background: none !important; padding: 0 !important; }
.post-card h3, .rcard h3 { font-family: var(--bm-serif) !important; color: var(--bm-navy) !important; line-height: 1.3 !important; }
.post-card h3 a { color: inherit !important; }
.post-card .read-more { color: var(--bm-teal) !important; font-weight: 600; }


/* About illustration */
.about-image.about-art { background: var(--bm-foam) url("/images/photos/about.jpg") center / cover no-repeat !important; font-size: 0 !important; border-radius: 24px !important; min-height: 320px; }

/* Newsletter / CTA microcopy (value, risk, friction, action) */
.newsletter { margin-left: auto !important; margin-right: auto !important; width: calc(100% - 48px); box-sizing: border-box; border-radius: 28px !important; background: linear-gradient(135deg, #eaf3fb 0%, #e5f4ef 100%) !important; border: 1px solid #d7e9e3; position: relative; overflow: hidden; }
.newsletter h2 { color: var(--bm-navy) !important; }
.cta-reassure { list-style: none; padding: 0; margin: 18px auto 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .86rem; color: var(--bm-muted); }
.cta-reassure li { display: flex; align-items: center; gap: 6px; margin: 0 !important; }
.cta-reassure li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("/images/art/icon-check.svg") center / contain no-repeat; }

/* ---------- Blog posts ---------- */
.t-post { background: var(--bm-sand) !important; font-family: var(--bm-sans) !important; color: var(--bm-ink); line-height: 1.75; font-size: 1.06rem; }
.t-post .container { max-width: 760px !important; padding: 0 22px 3rem !important; }
.t-post .post-banner { margin: 28px auto 0; max-width: 1000px; padding: 0 22px; }
.t-post .post-banner img { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 24px; background: var(--bm-foam); }
.t-post article { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 2.4rem 0 0 !important; margin-bottom: 1rem !important; }
.t-post article h1 { font-family: var(--bm-serif) !important; color: var(--bm-navy) !important; font-size: clamp(2rem, 4.6vw, 2.9rem) !important; line-height: 1.15 !important; letter-spacing: -.4px; margin: .4rem 0 1rem !important; font-weight: 700; }
.t-post article h2 { font-family: var(--bm-serif) !important; color: var(--bm-navy) !important; border: 0 !important; padding: 0 !important; font-size: clamp(1.45rem, 3vw, 1.8rem) !important; line-height: 1.25; margin: 2.6rem 0 .9rem !important; letter-spacing: -.2px; }
.t-post article h3 { color: var(--bm-teal) !important; font-size: 1.18rem !important; margin: 1.8rem 0 .6rem !important; }
.t-post article p { text-align: left !important; margin-bottom: 1.25rem; }
.t-post article a { color: var(--bm-blue); text-decoration: underline; text-decoration-color: rgba(44,90,160,.35); text-decoration-thickness: 1.5px; }
.t-post article a:hover { text-decoration-color: var(--bm-blue); }
.t-post article ul, .t-post article ol { margin-left: 1.4rem !important; }
.t-post article li { margin-bottom: .55rem; }
.t-post .article-meta { border: 0 !important; padding: 0 !important; margin: 0 !important; color: var(--bm-muted) !important; font-size: .88rem !important; display: flex; flex-wrap: wrap; gap: 4px 16px; text-transform: none; letter-spacing: .2px; }
.t-post .article-meta span { margin: 0 !important; }
.t-post .article-meta span + span::before { content: "\00B7"; margin-right: 16px; color: var(--bm-mint); }
.t-post .highlight, .t-post .strategy-card, .t-post .protocol, .t-post .insight-card, .t-post .stage-card, .t-post .caution, .t-post .warning, .t-post .pillar-card, .t-post .protocol-card, .t-post .reflection-box, .t-post .caution-box { border-radius: 16px !important; border-left-width: 4px !important; background: var(--bm-paper) !important; box-shadow: 0 1px 0 rgba(22,50,79,.04); }
.t-post .highlight { background: linear-gradient(120deg, #eef5fc 0%, #e9f6f1 100%) !important; }
.t-post .cta-box { background: var(--bm-navy) url("/images/art/cta-waves.svg") center bottom / 100% auto no-repeat !important; border-radius: 24px !important; padding: 2.6rem 2rem 3.4rem !important; margin-top: 3rem !important; }
.t-post .cta-box h3 { color: #fff !important; font-family: var(--bm-serif) !important; font-size: 1.5rem !important; margin-top: 0 !important; }
.t-post .cta-box p { color: #d7e4ec; text-align: center !important; }
.t-post .cta-button { border-radius: 999px !important; padding: .9rem 2rem !important; color: var(--bm-navy) !important; font-weight: 600 !important; text-decoration: none !important; }
.t-post .cta-box .cta-reassure { color: #b9cfdb; }
.t-post .tags { border-top: 1px solid var(--bm-line) !important; }
.t-post .tag { background: var(--bm-foam) !important; color: var(--bm-teal) !important; }
.t-post table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.t-post th { background: var(--bm-foam) !important; color: var(--bm-navy) !important; }
@media (max-width: 768px) {
  .t-post { font-size: 1.02rem; }
  .t-post .post-banner { margin-top: 16px; padding: 0 14px; }
  .t-post .post-banner img { border-radius: 18px; aspect-ratio: 16 / 9; }
  .t-post .container { padding: 0 18px 2rem !important; }
  .t-post article { padding-top: 1.6rem !important; }
}

/* Inner-page heroes: light, like the homepage */
.t-page .hero:not(.hero-art) { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--bm-ink) !important; padding: 88px 24px 76px !important;
  background: radial-gradient(720px 420px at 92% -12%, rgba(159,211,199,.55), transparent 68%), radial-gradient(640px 380px at -6% 112%, rgba(44,90,160,.10), transparent 70%), linear-gradient(180deg, var(--bm-sand) 0%, #f1f6f3 100%) !important;
  border-bottom: 1px solid var(--bm-line); }
.t-page .hero:not(.hero-art)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/images/art/cta-waves.svg") center bottom / 1400px auto no-repeat; opacity: .07; }
.t-page .hero:not(.hero-art)::after { content: none; }
.t-page .hero:not(.hero-art) h1 { color: var(--bm-navy) !important; font-family: var(--bm-serif); font-size: clamp(2.2rem, 4.8vw, 3.4rem) !important; line-height: 1.1 !important; letter-spacing: -.6px; max-width: 820px; margin: 0 auto 18px !important; text-shadow: none; }
.t-page .hero:not(.hero-art) p { color: var(--bm-muted) !important; opacity: 1 !important; font-size: clamp(1.02rem, 1.6vw, 1.16rem) !important; max-width: 620px; margin-left: auto; margin-right: auto; }
.t-page .hero:not(.hero-art) a:not(.bm-btn) { color: var(--bm-teal) !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(42,138,122,.35); text-decoration-thickness: 1.5px; }
.t-page .hero:not(.hero-art) a:not(.bm-btn):hover { text-decoration-color: var(--bm-teal); }
.t-page .hero:not(.hero-art) .updated { color: var(--bm-muted); opacity: 1; }
.t-page .hero .hero-label { display: inline-flex; align-items: center; gap: 12px; color: var(--bm-teal) !important; opacity: 1 !important; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.t-page .hero .hero-label::before, .t-page .hero .hero-label::after { content: ""; width: 28px; height: 1.5px; background: var(--bm-sea); }
.t-page .hero .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.t-page .hero .hero-note { margin-top: 14px !important; font-size: .86rem !important; }
@media (max-width: 720px) { .t-page .hero:not(.hero-art) { padding: 60px 20px 52px !important; } .t-page .hero .hero-actions .bm-btn { flex: 1 1 100%; } }

/* Buttons: one style everywhere (navy pill, teal on hover) */
.bm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; background: var(--bm-navy); color: #fff !important; border: 0; cursor: pointer; font-family: inherit; box-shadow: 0 10px 24px rgba(22,50,79,.2); transition: transform .2s, box-shadow .2s, background .2s; }
.bm-btn:hover { background: var(--bm-teal); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42,138,122,.26); }
.bm-btn.ghost { background: transparent; color: var(--bm-navy) !important; border: 1.5px solid rgba(22,50,79,.22); box-shadow: none; }
.bm-btn.ghost:hover { border-color: var(--bm-navy); background: rgba(255,255,255,.6); transform: none; }
.t-page .cta-btn, .t-page .youtube-btn, .t-page .product-btn:not(.disabled):not(.outline), .t-page .card .actions .btn:not(.ghost) { background: var(--bm-navy) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important; box-shadow: 0 10px 24px rgba(22,50,79,.18); transition: transform .2s, box-shadow .2s, background .2s; }
.t-page .cta-btn:hover, .t-page .youtube-btn:hover, .t-page .product-btn:not(.disabled):not(.outline):hover, .t-page .card .actions .btn:not(.ghost):hover { background: var(--bm-teal) !important; transform: translateY(-2px); }
.t-page .product-btn.outline, .t-page .card .actions .btn.ghost { border-radius: 999px !important; color: var(--bm-navy) !important; border: 1.5px solid rgba(22,50,79,.22) !important; background: transparent !important; }
.t-page .product-btn.outline:hover, .t-page .card .actions .btn.ghost:hover { border-color: var(--bm-navy) !important; background: rgba(255,255,255,.6) !important; }
.t-page .product-btn.disabled { border-radius: 999px !important; }

/* Section headings on inner pages match the homepage */
.t-page h2 { font-family: var(--bm-serif); color: var(--bm-navy); }
.t-page .crumbs a { color: var(--bm-teal); }

/* Recipe pages */
.recipe-banner { max-width: 1000px; margin: 24px auto 0; padding: 0 22px; }
.recipe-banner img { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 24px; }

@media print {
  .site-header, footer.site-footer, .post-banner, .recipe-banner { display: none !important; }
  body { background: #fff !important; }
}

/* Whole card is clickable: the card's own link stretches over the full card */
.resource-card, .post-card, .affiliate-card, .product-card, .podcast-item { position: relative; cursor: pointer; }
.resource-card .resource-link::after,
.post-card .read-more::after,
.affiliate-card .affiliate-link::after,
.product-card a.product-btn::after,
.podcast-item .podcast-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product-card:not(:has(a.product-btn)) { cursor: default; }
.resource-card .resource-link:focus-visible, .post-card .read-more:focus-visible, .affiliate-card .affiliate-link:focus-visible, .product-card a.product-btn:focus-visible, .podcast-item .podcast-link:focus-visible { outline: none; }
.resource-card .resource-link:focus-visible::after, .post-card .read-more:focus-visible::after, .affiliate-card .affiliate-link:focus-visible::after, .product-card a.product-btn:focus-visible::after, .podcast-item .podcast-link:focus-visible::after { outline: 3px solid var(--bm-teal, #2a8a7e); outline-offset: 3px; }
.t-post .post-banner figcaption.photo-credit { margin: 8px 6px 0; font-size: .74rem; line-height: 1.4; color: var(--bm-muted); text-align: right; }
.t-post .post-banner figcaption.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
