/* ======================================================
   Growth Academy — Blog Article Stylesheet
   Editorial design system matching homepage
   Shared across all blog-*.html article pages
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

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

:root {
  --cream: #F5F0EB;
  --cream-alt: #FAF7F3;
  --dark: #231d18;
  --dark-bg: #1A1A1A;
  --mid: #5C4033;
  --muted: #8a7a6b;
  --gold: #C4A95B;
  --gold-on-light: #8B7530;
  --border: rgba(61,43,31,0.08);
  --line: rgba(61,43,31,0.08);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- NAV BAR (matches homepage exactly) ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61, 43, 31, 0.06);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 12px rgba(35, 29, 24, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}
.nav-logo {
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.5s ease;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  color: rgba(35, 29, 24, 0.55);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links .quiet-emphasis { font-weight: 600; }

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
}

/* ---- ARTICLE HEADER ---- */
.article-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 112px 24px 0;
}
.article-header .tag {
  display: inline-block;
  border: none;
  border-bottom: 1px solid var(--muted);
  background: none;
  padding: 0 0 4px;
  border-radius: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 20px;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 800px;
  font-weight: 500;
  text-transform: none;
  color: var(--dark);
}
.article-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ---- ARTICLE META ROW ---- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.article-date {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
  background: none;
  cursor: pointer;
}
.share-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.share-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ---- TWO-COLUMN LAYOUT ---- */
.article-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

/* ---- AUTHOR SIDEBAR ---- */
.author-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding-top: 8px;
}
.author-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.author-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dark);
  margin-bottom: 2px;
}
.author-column {
  font-family: var(--font-body);
  font-size: 0.63rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 400;
}
.author-bio {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- SIDEBAR SUBSCRIBE ---- */
.sidebar-subscribe {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sidebar-subscribe .sub-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 8px;
}
.sidebar-subscribe input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(245, 240, 235, 0.6);
  margin-bottom: 8px;
  outline: none;
  color: var(--dark);
}
.sidebar-subscribe input[type="email"]:focus {
  border-color: var(--gold);
}
.sidebar-subscribe button[type="submit"] {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--dark);
  color: #efcf87;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-transform: none;
  letter-spacing: 0.02em;
}
.sidebar-subscribe button[type="submit"]:hover {
  opacity: 0.85;
}

/* ---- ARTICLE CONTENT ---- */
.article-content {
  max-width: 720px;
  padding-bottom: 80px;
}

/* Hero image */
.article-content .hero-video {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 36px;
  text-decoration: none;
  background: #111;
}
.article-content .hero-video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Typography */
.article-content p {
  color: var(--mid);
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.82;
}
.article-content strong { color: var(--dark); }

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
  color: var(--dark);
  font-weight: 500;
  text-transform: none;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  margin: 40px 0 12px;
  color: var(--dark);
  font-weight: 500;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 24px;
  color: var(--mid);
}
.article-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.78;
}

/* Links */
.article-content a {
  color: var(--gold);
  text-decoration-color: rgba(196, 169, 91, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-content a:hover {
  text-decoration-color: var(--gold);
}

/* Blockquote / pull quote */
.article-content .quote,
.article-content .quote-block,
.article-content blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(196, 169, 91, 0.04);
  color: var(--mid);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

/* Box / callout */
.article-content .box {
  background: transparent;
  border: 1px solid rgba(61, 43, 31, 0.08);
  border-radius: 6px;
  padding: 24px;
  margin: 28px 0;
}
.article-content .box h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* TOC */
.article-content .toc ul { margin-left: 18px; }
.article-content .toc li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.5;
}
.article-content .toc a {
  color: var(--gold);
  text-decoration: none;
}
.article-content .toc a:hover { text-decoration: underline; }

/* FAQ */
.article-content .faq {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 8px;
}
.article-content .faq-item {
  padding: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.article-content .faq-item:last-child { border-bottom: none; }
.article-content .faq-q {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--dark);
  margin-bottom: 0;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-content .faq-q:hover {
  color: var(--gold);
  background: transparent;
}
.article-content .faq-q::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
  font-family: var(--font-body);
}
.article-content .faq-item.open .faq-q::after {
  content: '\2212';
}
.article-content .faq-a {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.75;
  padding: 0 0 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: none;
}
.article-content .faq-item.open .faq-a {
  display: block;
}

/* Sources */
.article-content .sources {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Link placeholders (dev) */
.article-content .link-placeholder {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #999;
  background: rgba(245, 240, 235, 0.6);
  border: 1px dashed rgba(61, 43, 31, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 8px 0 22px;
  display: inline-block;
}

/* ---- BOTTOM CTA SECTION ---- */
.article-cta {
  background: var(--dark);
  padding: 80px 24px;
  text-align: center;
}
.article-cta .cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.article-cta .cta-label {
  font-family: var(--font-body);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}
.article-cta h2, .article-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #efcf87;
  font-weight: 500;
  text-transform: none;
}
.article-cta p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-cta .btn-primary,
.article-cta .cta-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  background: var(--mid);
  color: #efcf87;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.article-cta .btn-primary:hover,
.article-cta .cta-primary:hover { opacity: 0.85; }
.article-cta .btn-secondary,
.article-cta .cta-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid rgba(196, 169, 91, 0.3);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.article-cta .btn-secondary:hover,
.article-cta .cta-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- NEWSLETTER SECTION ---- */
.article-newsletter {
  background: var(--dark);
  padding: 64px 24px;
  text-align: center;
}
.article-newsletter .nl-inner {
  max-width: 500px;
  margin: 0 auto;
}
.article-newsletter .nl-label {
  font-family: var(--font-body);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 14px;
}
.article-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: #efcf87;
  margin-bottom: 10px;
}
.article-newsletter p {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.article-newsletter .nl-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.article-newsletter .nl-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.article-newsletter .nl-input::placeholder { color: rgba(255,255,255,0.3); }
.article-newsletter .nl-input:focus { border-color: var(--gold); }
.article-newsletter .nl-submit {
  padding: 12px 24px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.article-newsletter .nl-submit:hover { background: var(--gold); }

/* ---- FOOTER ---- */
.article-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 24px;
  text-align: center;
}
.article-footer p {
  color: rgba(255,255,255,0.25);
  font-family: var(--font-body);
  font-size: 0.78rem;
}
.article-footer a { color: var(--gold); text-decoration: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(245, 240, 235, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    box-shadow: 0 2px 12px rgba(61,43,31,0.04);
  }
  .nav-links.open a {
    padding: 14px 16px;
    font-size: 13px;
    color: var(--dark);
  }
  .nav-mobile-toggle { display: block; }

  .article-header { padding: 92px 18px 0; }
  .article-header h1 { font-size: 1.8rem; }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 18px;
  }
  .author-sidebar {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
  }
  .author-photo {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }
  .author-bio { display: none; }

  .article-content h2 { margin-top: 40px; }

  .article-newsletter .nl-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .article-header h1 { font-size: 1.55rem; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-share { margin-left: 0; }
}
