/* ===== WreckedLeads blog + author pages =====
   Shared styles for /about, /blog, and /blog/* articles.
   Matches the marketing site's PURDUE gold/dark brand tokens. */

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

:root {
  --bg:         #0b0b0c;
  --bg-2:       #101012;
  --panel:      #19191c;
  --panel-2:    #232327;
  --ink:        #f1f1f2;
  --body:       #d4d7dd;
  --mut:        #9ba1ab;
  --mut-strong: #c9cdd4;
  --gold:       #ceb888;
  --gold-deep:  #b0975c;
  --on-gold:    #151515;
  --line:       rgba(255, 255, 255, 0.09);
  --green:      #4ade80;
}

html { scroll-behavior: smooth; }

/* Kill orphan words (one word alone on a line) site-wide: balance headings,
   keep paragraphs from ending on a lone word. */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

/* ===== TOP BAR: nav is now the shared component in /assets/nav.css ===== */

/* ===== PAGE SHELL ===== */
.wrap { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.wrap-wide { max-width: 1040px; }

/* ===== ARTICLE / PROSE ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.article-title {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 1.1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: var(--mut);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.article-meta a { color: var(--mut-strong); font-weight: 600; text-decoration: none; }
.article-meta a:hover { color: var(--gold); }
.article-meta .dot { color: var(--gold-deep); }

.prose p { font-size: 1.12rem; line-height: 1.78; margin: 0 0 1.35rem; color: var(--body); }
.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2.6rem 0 1rem;
}
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.9rem 0 0.7rem; }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.3rem; }
.prose li { font-size: 1.1rem; line-height: 1.7; margin: 0.5rem 0; color: var(--body); }
.prose strong { color: var(--mut-strong); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--gold-deep); }
.prose a:hover { color: #e7cf9c; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--panel);
  border-radius: 0 12px 12px 0;
  color: var(--mut-strong);
  font-size: 1.14rem;
  line-height: 1.7;
  font-style: italic;
}

/* Key-takeaways callout */
.takeaways {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
}
.takeaways h2 {
  font-size: 0.74rem !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem !important;
}
.takeaways ul { margin: 0 0 0 1.1rem; }
.takeaways li { font-size: 1rem; margin: 0.4rem 0; }

/* ===== FAQ ===== */
.faq { margin-top: 2.75rem; }
.faq h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; color: var(--ink); margin-bottom: 1rem; }
.faq-item { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq-item h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0 0 0.4rem; }
.faq-item p { font-size: 1.02rem; line-height: 1.7; color: var(--body); margin: 0; }

/* ===== AUTHOR CARD (end of article) ===== */
.author-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 3rem 0 0;
}
.avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -1px;
}
.avatar-lg { width: 96px; height: 96px; font-size: 2.1rem; }
.author-card .name { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.author-card .role { font-size: 0.9rem; color: var(--gold); font-weight: 600; margin: 0.15rem 0 0.6rem; }
.author-card .bio { font-size: 0.97rem; line-height: 1.65; color: var(--mut-strong); margin: 0 0 0.6rem; }
.author-card .more { font-size: 0.9rem; font-weight: 700; text-decoration: none; }

/* ===== END-OF-ARTICLE CTA ===== */
.cta-band {
  background: radial-gradient(ellipse at 50% 0%, rgba(206, 184, 136, 0.12) 0%, transparent 70%), var(--panel);
  border: 1px solid rgba(206, 184, 136, 0.4);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  margin: 2.5rem 0 0;
  text-align: center;
}
.cta-band h2 { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin: 0 0 0.5rem; }
.cta-band p { font-size: 1rem; color: var(--mut-strong); margin: 0 auto 1.3rem; max-width: 480px; }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.btn-gold:hover { filter: brightness(1.07); }

/* ===== BLOG INDEX ===== */
.blog-head { text-align: center; margin-bottom: 2.75rem; }
.blog-head h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.75rem; }
.blog-head p { font-size: 1.1rem; color: var(--mut); max-width: 560px; margin: 0 auto; }
.post-list { display: grid; gap: 1.25rem; }
.post-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.post-card:hover { border-color: rgba(206, 184, 136, 0.45); background: rgba(206, 184, 136, 0.04); transform: translateY(-3px); }
.post-card .cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.post-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin: 0.5rem 0 0.5rem; line-height: 1.2; }
.post-card p { font-size: 1rem; color: var(--mut); line-height: 1.6; margin: 0 0 0.75rem; }
.post-card .meta { font-size: 0.82rem; color: var(--mut); }

/* ===== ABOUT / AUTHOR PAGE ===== */
.about-hero { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.about-hero .name { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.about-hero .handle { color: var(--gold); font-weight: 700; }
.about-hero .role { font-size: 1.05rem; color: var(--mut-strong); margin-top: 0.5rem; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.fact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  text-align: center;
}
.fact .num { font-size: 1.9rem; font-weight: 900; color: var(--gold); letter-spacing: -1px; line-height: 1; }
.fact .label { font-size: 0.84rem; color: var(--mut); margin-top: 0.45rem; line-height: 1.4; }
@media (max-width: 600px) { .fact-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.blog-footer {
  background: #060607;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: 3.5rem;
}
.blog-footer .tag { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.8rem; }
.blog-footer p { color: #6b7077; font-size: 0.9rem; margin: 0.35rem 0; }
.blog-footer a { color: #8b9099; text-decoration: none; }
.blog-footer a:hover { color: var(--gold); }
