/* ═══════════════════════════════════════════════════════════════
   LIGHTHOUSE — Content Pages Stylesheet
   Matches the home page design system exactly.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a09;
  --bg-subtle: #111110;
  --text: #d4cfc6;
  --text-dim: #7a756b;
  --text-bright: #f0ece4;
  --accent: #8a7e6b;
  --accent-warm: #b09d7e;
  --line: rgba(138, 126, 107, 0.15);
  --line-bright: rgba(138, 126, 107, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

body {
  font-family: 'Libre Franklin', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── NAVIGATION / BREADCRUMB ─── */
.content-nav {
  padding: 2rem 2rem 0;
  max-width: 780px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-warm);
}

.breadcrumb .sep {
  color: var(--line-bright);
  font-size: 0.6rem;
}

.breadcrumb .current {
  color: var(--accent);
}

/* ─── ARTICLE HEADER ─── */
.article-header {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem 0;
  text-align: center;
}

.article-eyebrow {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
}

.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-bright);
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.article-header h1 em {
  font-style: italic;
  color: var(--accent-warm);
}

/* ─── ANSWER CAPSULE ─── */
.answer-capsule {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.answer-capsule p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.answer-capsule p:last-child {
  margin-bottom: 0;
}

.answer-capsule p:first-child {
  color: var(--text-bright);
  font-size: 1.05rem;
}

/* ─── ARTICLE BODY ─── */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-bright);
  line-height: 1.3;
  margin: 3.5rem 0 1.5rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-bright);
  margin: 2.5rem 0 1rem;
}

.article-body h4 {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body strong {
  color: var(--text-bright);
  font-weight: 400;
}

.article-body em {
  font-style: italic;
  color: var(--accent-warm);
}

.article-body a {
  color: var(--accent-warm);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.article-body a:hover {
  color: var(--text-bright);
  border-color: var(--accent-warm);
}

/* Lists */
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.article-body li strong {
  color: var(--text-bright);
}

/* Blockquotes */
.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-subtle);
}

.article-body blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Section dividers within article */
.article-body .section-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 3rem auto;
}

/* ─── INTERNAL LINK CARDS ─── */
.related-guides {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.related-guides .section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.4s ease;
}

.related-card:hover {
  border-color: var(--accent);
}

.related-card .card-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.related-card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-bright);
  line-height: 1.35;
}

/* ─── CTA SECTION ─── */
.article-cta {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.article-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-bright);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.article-cta p {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--accent);
  color: var(--text-bright);
  text-decoration: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.4s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ─── FOOTER ─── */
.content-footer {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.content-footer p {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.content-footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-footer a:hover {
  color: var(--accent-warm);
}

/* ─── FAQ SECTION ─── */
.faq-section {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
  margin: 2rem 0 3rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
}

.toc-title {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
}

.toc li {
  counter-increment: toc;
  margin-bottom: 0.5rem;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero) " ";
  color: var(--line-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.toc a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.toc a:hover {
  color: var(--accent-warm);
}

/* ─── PILLAR PAGE SPECIFIC ─── */
.pillar-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .article-header {
    padding: 3rem 1.25rem 0;
  }

  .answer-capsule {
    padding: 2rem 1.25rem;
  }

  .article-body {
    padding: 2.5rem 1.25rem 3rem;
  }

  .related-guides {
    padding: 2rem 1.25rem;
  }

  .article-cta {
    padding: 3rem 1.25rem;
  }

  .content-nav {
    padding: 1.5rem 1.25rem 0;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
