/* ─────────────────────────────────────────
   MIND YOUR DAYS — ARTICLE STYLES
   Shared by all /pillar/ cornerstone pages
───────────────────────────────────────── */

:root {
  --sage:       #7A9E7E;
  --sage-light: #B8CFBA;
  --sage-dark:  #4E7054;
  --moss:       #3B5249;
  --cream:      #F5F0E8;
  --sand:       #E8DFD0;
  --warm-white: #FDFAF5;
  --ink:        #1C2B22;
  --mist:       #8FA89A;
  --gold:       #C8A96E;
  --gold-light: #E8D5A8;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122, 158, 126, 0.18);
  transition: padding 0.4s var(--ease-smooth);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--moss);
}
.nav-logo span { color: var(--gold); font-style: italic; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage-dark); }

.nav-cta {
  background: var(--moss);
  color: var(--cream) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2rem;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

/* ── ARTICLE HERO ── */
.article-hero {
  padding: 9rem 4rem 4rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(122,158,126,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(200,169,110,0.12) 0%, transparent 55%);
}

.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--sage-dark); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--moss); }
.breadcrumb .sep { margin: 0 0.6rem; color: rgba(143,168,154,0.5); }

.article-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.article-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.article-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.article-hero h1 em { font-style: italic; color: var(--sage-dark); }

.article-deck {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: var(--moss);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--mist);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta strong { color: var(--sage-dark); font-weight: 500; }

/* ── ARTICLE BODY ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  font-size: 1.04rem;
  color: var(--ink);
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote,
.article-body > figure {
  margin-bottom: 1.4rem;
}

.article-body p { line-height: 1.85; color: rgba(28,43,34,0.88); }
.article-body p.lead {
  font-size: 1.18rem;
  color: var(--moss);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 3rem 0 1rem;
  letter-spacing: -0.01em;
}
.article-body h2 em { font-style: italic; color: var(--sage-dark); }

.article-body h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--moss);
  margin: 2.2rem 0 0.8rem;
}

.article-body h4 {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.6rem;
  font-weight: 500;
}

.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.6rem; line-height: 1.75; }
.article-body li::marker { color: var(--sage); }

.article-body a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(78,112,84,0.35);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.article-body a:hover {
  color: var(--moss);
  text-decoration-color: var(--moss);
}

.article-body blockquote {
  border-left: 3px solid var(--sage);
  padding: 0.4rem 1.4rem;
  margin: 2rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--moss);
  line-height: 1.55;
}

.callout {
  background: var(--cream);
  border: 1px solid rgba(122,158,126,0.2);
  border-left: 4px solid var(--sage);
  border-radius: 0.8rem;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.callout h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--sage-dark);
}
.callout p { margin: 0; font-size: 0.95rem; line-height: 1.7; }

/* ── TOC ── */
.toc {
  background: var(--warm-white);
  border: 1px solid rgba(122,158,126,0.2);
  border-radius: 1rem;
  padding: 1.4rem 1.6rem;
  margin: 0 0 2.6rem;
}
.toc-title {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
}
.toc li {
  counter-increment: toc;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--sage);
  margin-right: 0.7rem;
  font-family: var(--ff-display);
  font-size: 0.95rem;
}
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--sage-dark); }

/* ── FAQ on article ── */
.article-faq {
  background: var(--cream);
  padding: 5rem 2rem;
}
.article-faq-inner { max-width: 720px; margin: 0 auto; }
.article-faq h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.article-faq .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.article-faq .faq-list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.article-faq details {
  background: var(--warm-white);
  border: 1px solid rgba(122,158,126,0.18);
  border-radius: 0.9rem;
  padding: 1rem 1.3rem;
  transition: border-color 0.3s;
}
.article-faq details[open] { border-color: rgba(122,158,126,0.4); }
.article-faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: '+';
  font-family: var(--ff-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sage-dark);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.article-faq details[open] summary::after { transform: rotate(45deg); }
.article-faq details p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: rgba(28,43,34,0.78);
  line-height: 1.75;
}

/* ── INLINE CTA ── */
.inline-cta {
  background: var(--moss);
  color: var(--cream);
  border-radius: 1.2rem;
  padding: 2.2rem 2rem;
  margin: 2.6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 30%, rgba(122,158,126,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(200,169,110,0.18) 0%, transparent 55%);
}
.inline-cta > * { position: relative; z-index: 1; }
.inline-cta h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.inline-cta p {
  color: rgba(245,240,232,0.85);
  font-size: 0.95rem;
  max-width: 42ch;
  margin: 0 auto 1.4rem;
}
.inline-cta a {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.inline-cta a:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── RELATED ── */
.related {
  padding: 5rem 2rem;
  background: var(--warm-white);
}
.related-inner { max-width: 1100px; margin: 0 auto; }
.related h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  text-align: center;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.related .eyebrow {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.related-card {
  background: var(--cream);
  border: 1px solid rgba(122,158,126,0.18);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow: 0 12px 30px rgba(59,82,73,0.08);
}
.related-card .emoji { font-size: 1.6rem; margin-bottom: 0.3rem; }
.related-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--moss);
}
.related-card p {
  font-size: 0.85rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ── FOOTER ── */
footer.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 4rem 4rem 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { color: var(--cream); margin-bottom: 1rem; display: block; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(143,168,154,0.7);
  max-width: 30ch;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(143,168,154,0.6);
  transition: color 0.3s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--sage-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(143,168,154,0.4);
}
.footer-bottom a { color: rgba(143,168,154,0.5); transition: color 0.3s; text-decoration: none; }
.footer-bottom a:hover { color: var(--sage-light); }
.social-links { display: flex; gap: 0.8rem; align-items: center; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,220,0,0.6);
  color: #ffdc00;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.2s;
}
.social-icon:hover {
  color: var(--sage-light);
  border-color: var(--sage-light);
  background: rgba(122,158,126,0.1);
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav.site-nav { padding: 1.2rem 2rem; }
  .nav-links { gap: 1.5rem; }
  .article-hero { padding: 8rem 1.6rem 3.5rem; }
  .article-body { padding: 3rem 1.4rem 2rem; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  footer.site-footer { padding: 3rem 2rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .article-hero { padding: 7rem 1.2rem 3rem; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
