/* 52 Build Blog Styles — matches site design */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --teal: #14555A;
  --copper: #C7652E;
  --gold: #C4A55A;
  --dark: #0a0a0a;
  --dark-bg: #111111;
  --card-bg: #1a1a1a;
  --text: #e8e8e8;
  --text-muted: #999;
  --border: #2a2a2a;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--copper); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem; color: #fff;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-app-btn {
  background: var(--teal); color: #fff !important;
  padding: 0.45rem 1.1rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
}
.nav-app-btn:hover { background: #1a6b71; color: #fff !important; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ─── BLOG INDEX HERO ─── */
.blog-hero {
  padding: 140px 2rem 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-bg) 100%);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #fff; margin-bottom: 0.5rem;
}
.blog-hero h1 em { color: var(--gold); font-style: italic; }
.blog-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── BLOG INDEX GRID ─── */
.blog-grid {
  max-width: 960px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex; flex-direction: column; gap: 2rem;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  transition: border-color 0.3s, transform 0.2s;
}
.blog-card:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
.blog-card-meta {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 0.75rem;
}
.blog-card-tag {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--copper); background: rgba(199,101,46,0.12);
  padding: 0.2rem 0.6rem; border-radius: 4px;
}
.blog-card-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; color: #fff; margin-bottom: 0.6rem;
  line-height: 1.3;
}
.blog-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.blog-card .read-more {
  font-size: 0.85rem; font-weight: 700; color: var(--copper);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.blog-card .read-more:hover { color: var(--gold); }

/* ─── ARTICLE PAGE ─── */
.article-header {
  padding: 130px 2rem 50px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-bg) 100%);
  border-bottom: 1px solid var(--border);
}
.article-header .tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--copper); background: rgba(199,101,46,0.12);
  padding: 0.3rem 0.8rem; border-radius: 4px;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: #fff; max-width: 720px; margin: 0 auto 1rem;
  line-height: 1.2;
}
.article-header .subtitle {
  color: var(--text-muted); font-size: 1rem;
  max-width: 560px; margin: 0 auto;
}

.article-body {
  max-width: 720px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: #fff;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 {
  font-size: 1.15rem; color: var(--copper);
  font-weight: 700; margin: 2rem 0 0.75rem;
}
.article-body p {
  color: var(--text); font-size: 1rem;
  margin-bottom: 1.25rem; line-height: 1.75;
}
.article-body strong { color: #fff; }

/* Callout box */
.article-body .callout {
  background: rgba(199,101,46,0.08);
  border-left: 3px solid var(--copper);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 8px 8px 0;
}
.article-body .callout p { margin-bottom: 0; color: var(--text-muted); font-size: 0.95rem; }
.article-body .callout strong { color: var(--copper); }

/* Article CTA */
.article-cta {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  margin-top: 3rem;
  text-align: center;
}
.article-cta h3 {
  font-family: 'DM Serif Display', serif;
  color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem;
}
.article-cta p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.article-cta a.cta-btn {
  display: inline-block;
  background: var(--teal); color: #fff;
  padding: 0.65rem 1.75rem; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.article-cta a.cta-btn:hover { background: #1a6b71; }

/* Back to blog */
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--copper); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 960px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--text-muted);
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .article-body { padding: 2rem 1.25rem 4rem; }
}
