/* Sensory Shuffle blog: shared styles (build-less static), adapted from shower-tally/blog/blog.css */
:root {
  --cream: #f6f2ea;
  --cream-2: #efe8db;
  --green: #3e6e5a;
  --ink: #2b2824;
  --ink-soft: #5b544b;
  --body: #3a352f;
  --white: #ffffff;
  --move: #f2a65a;
  --touch: #7fb77e;
  --listen: #6fa8dc;
  --push: #c98bb9;
  --shadow: 0 18px 40px -22px rgba(43, 40, 36, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; }

/* --- Nav --- */
nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px;
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-2);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 20px; align-items: center; font-weight: 800; }
.nav-links a { color: var(--ink); text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-links .cta { background: var(--green); color: var(--white); padding: 9px 18px; border-radius: 999px; opacity: 1; white-space: nowrap; }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* --- Layout --- */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
main { padding: 36px 0 20px; }

/* --- Article --- */
article { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 5vw, 56px); }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--cream-2); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow.ot { background: var(--listen); }
article h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 14px; }
.byline { font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--cream-2); }
article h2 { font-size: clamp(1.35rem, 3.5vw, 1.75rem); font-weight: 900; letter-spacing: -0.02em; color: var(--ink); margin: 36px 0 12px; }
article h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 24px 0 6px; }
article p { font-size: 1.08rem; margin: 0 0 18px; }
article ul, article ol { margin: 0 0 20px; padding-left: 24px; }
article li { margin-bottom: 10px; font-size: 1.08rem; }
article strong { color: var(--ink); font-weight: 800; }
article a { text-decoration: underline; text-underline-offset: 2px; }

/* idea cards inside posts, colored by category */
.idea { border-left: 6px solid var(--cream-2); background: var(--cream); border-radius: 14px; padding: 16px 20px; margin: 0 0 16px; }
.idea h3 { margin: 0 0 4px; }
.idea .meta { font-size: 0.88rem; font-weight: 800; color: var(--ink-soft); margin-bottom: 8px; }
.idea ol { margin-bottom: 8px; }
.idea li { font-size: 1.02rem; margin-bottom: 4px; }
.idea p { font-size: 0.98rem; margin: 0; }
.idea.move { border-color: var(--move); }
.idea.touch { border-color: var(--touch); }
.idea.listen { border-color: var(--listen); }
.idea.push { border-color: var(--push); }

.note { background: var(--cream); border-left: 4px solid var(--green); border-radius: 12px; padding: 16px 20px; margin: 26px 0; font-size: 1rem; }
.disclaimer { background: var(--cream-2); border-left: 5px solid var(--move); border-radius: 12px; padding: 16px 20px; margin: 28px 0; font-weight: 800; color: var(--ink); }

/* --- CTA --- */
.cta-box { margin: 38px 0 6px; background: var(--cream-2); border-radius: var(--radius); padding: 30px 22px; text-align: center; }
.cta-box img { width: 68px; height: 68px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.cta-box h3 { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin: 0 0 8px; }
.cta-box p { color: var(--ink-soft); font-weight: 700; margin-bottom: 18px; font-size: 1rem; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--white) !important; text-decoration: none !important; padding: 13px 24px; border-radius: 15px; font-weight: 900; box-shadow: var(--shadow); }
.store-btn small { display: block; font-size: 0.68rem; font-weight: 700; opacity: 0.78; }
.store-btn .big { display: block; font-size: 1.1rem; line-height: 1; margin-top: 2px; }

/* --- Sources --- */
.sources h2 { margin-top: 40px; }
.sources li { font-size: 0.96rem; overflow-wrap: anywhere; }

/* --- Related --- */
.related { margin: 40px 0 10px; }
.related h2 { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin-bottom: 14px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { background: var(--white); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.98rem; line-height: 1.35; }
.related-card span { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--green); margin-bottom: 6px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

/* --- Blog index --- */
.blog-hero { text-align: center; padding: 16px 0 28px; }
.blog-hero img { width: 80px; height: 80px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.blog-hero p { font-size: 1.12rem; font-weight: 700; color: var(--ink-soft); max-width: 46ch; margin: 10px auto 0; }
.post-list { display: grid; gap: 16px; padding-bottom: 10px; }
.post-card { display: block; background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); text-decoration: none; color: var(--body); }
.post-card .tag { display: inline-block; font-weight: 800; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; background: var(--touch); }
.post-card .tag.ot { background: var(--listen); }
.post-card h2 { font-size: 1.35rem; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.post-card p { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }

/* --- Footer --- */
footer { padding: 40px 16px 60px; text-align: center; font-weight: 700; color: var(--ink-soft); }
footer .links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .fine { font-size: 0.84rem; font-weight: 600; opacity: 0.85; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
