/* Birdie Central Blog — brand theme
   Palette: terracotta #C84F36 · gold #F7B32B · charcoal #2A2A2A · beige #F5F0EA */

:root {
  --terracotta: #C84F36;
  --gold: #F7B32B;
  --charcoal: #2A2A2A;
  --beige: #F5F0EA;
  --beige-deep: #ECE4D8;
  --line: #D9D0C7;
  --muted: #6E655B;
  --white: #FFFFFF;
  --measure: 68ch;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--beige);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--beige);
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto; padding: 1.1rem 1.25rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark .dot { color: var(--terracotta); }
.site-header nav a {
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  color: var(--charcoal); margin-left: 1.4rem; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-header nav a:hover { color: var(--terracotta); }
.site-header nav a.book {
  color: var(--white); background: var(--terracotta);
  padding: 0.45rem 0.9rem; border-radius: 4px;
}
.site-header nav a.book:hover { background: var(--charcoal); }

/* ---------- Gold rule motif (matches Birdie Central print theme) ---------- */
.gold-rule {
  height: 3px; background: var(--gold); border: 0;
  width: 72px; margin: 1.1rem 0 0;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Index hero ---------- */
.hero {
  max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.25rem 2.5rem;
}
.hero .eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta);
}
.hero h1 {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: expanded;
  font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.08;
  text-transform: uppercase; letter-spacing: 0.01em; margin-top: 0.6rem;
}
.hero p.dek {
  max-width: 54ch; margin-top: 1.1rem; color: var(--muted); font-size: 1.05rem;
}

/* ---------- Article list ---------- */
.post-list {
  max-width: 1080px; margin: 0 auto; padding: 0 1.25rem 4rem;
  display: grid; gap: 1.25rem;
}
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 1.6rem 1.75rem; display: block; text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.post-card h2 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.35rem;
  line-height: 1.25; color: var(--charcoal);
}
.post-card p { margin-top: 0.55rem; color: var(--muted); font-size: 0.97rem; }

/* ---------- Scorecard meta strip (signature element) ---------- */
.scorecard {
  display: flex; gap: 0; margin-top: 1rem; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; width: fit-content; max-width: 100%;
  background: var(--beige);
}
.scorecard div {
  padding: 0.4rem 0.95rem; border-right: 1px solid var(--line);
}
.scorecard div:last-child { border-right: 0; }
.scorecard .label {
  display: block; font-family: 'Archivo', sans-serif; font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.scorecard .value {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--charcoal);
  margin-top: 0.1rem;
}
.scorecard .value.pillar { color: var(--terracotta); }

/* ---------- Article page ---------- */
.article-header {
  max-width: var(--measure); margin: 0 auto; padding: 3.25rem 1.25rem 0.5rem;
}
.article-header .eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta);
}
.article-header h1 {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: expanded;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem); line-height: 1.12;
  margin-top: 0.6rem;
}
.article-body {
  max-width: var(--measure); margin: 0 auto; padding: 1.5rem 1.25rem 4rem;
}
.article-body h2 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.45rem;
  margin: 2.4rem 0 0.85rem; line-height: 1.25;
}
.article-body h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.12rem;
  margin: 1.8rem 0 0.6rem;
}
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.4rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body img {
  max-width: 100%; height: auto; border-radius: 8px; margin: 1.4rem 0;
  border: 1px solid var(--line);
}
.article-body strong { font-weight: 700; }

/* Callout — gold left border, matches print theme */
.callout {
  background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 1.1rem 1.35rem; margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* CTA block */
.cta-block {
  background: var(--charcoal); color: var(--beige); border-radius: 10px;
  padding: 1.8rem 1.9rem; margin: 2.2rem 0; text-align: center;
}
.cta-block h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: expanded;
  text-transform: uppercase; font-size: 1.25rem; margin: 0 0 0.5rem;
}
.cta-block p { color: #CFC8BE; margin-bottom: 1.1rem; font-size: 0.97rem; }
.cta-block a.btn {
  display: inline-block; background: var(--gold); color: var(--charcoal);
  font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.9rem; text-decoration: none;
  padding: 0.8rem 1.7rem; border-radius: 6px;
}
.cta-block a.btn:hover { background: var(--terracotta); color: var(--white); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 1rem 1.25rem; margin-bottom: 0.7rem;
}
.faq summary {
  font-weight: 700; cursor: pointer; font-size: 1rem;
  font-family: 'Archivo', sans-serif;
}
.faq details p { margin: 0.7rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--beige-deep);
  margin-top: 2rem;
}
.site-footer .inner {
  max-width: 1080px; margin: 0 auto; padding: 2rem 1.25rem;
  font-size: 0.88rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--terracotta); }

@media (max-width: 560px) {
  .site-header nav a { margin-left: 0.9rem; }
  .scorecard { width: 100%; }
  .scorecard div { flex: 1; padding: 0.4rem 0.6rem; }
}
