/* TT McCarthy Consulting — Insights article stylesheet
   Shares the brand palette/type system defined in ttmccarthy_website.html */

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

:root {
  --navy-deep:   #0B1733;
  --navy:        #0B1733;
  --navy-mid:    #0F2147;
  --blue:        #3B6FE0;
  --blue-bright: #5B8DEF;
  --blue-light:  #7A9AC0;
  --blue-pale:   #DBE4F5;
  --white:       #FFFFFF;
  --off-white:   #F5F8FC;
  --border:      #D4E0EF;
  --text:        #1A2A3A;
  --text-muted:  #5A6E82;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* NAV — matches homepage */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(59, 111, 224, 0.2);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 3px;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue-bright) !important; }

@media (max-width: 960px) {
  .nav-links { display: none; }
}

/* ARTICLE HEADER */
.article-hero {
  background: var(--navy);
  padding: 140px 2rem 60px;
}

.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--blue-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.article-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

.article-hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 1.25rem;
}

.article-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ARTICLE BODY */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 2rem 40px;
}

.article-body p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.article-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.9rem;
}

.article-body strong { color: var(--navy); }

.article-body .lede {
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.75;
  font-family: 'Source Serif 4', Georgia, serif;
  margin-bottom: 2rem;
}

.article-body .pull-question {
  border-left: 3px solid var(--blue);
  background: var(--off-white);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: var(--navy);
  font-style: italic;
  margin: 2rem 0;
}

.article-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
}

.article-tags .tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background: var(--blue-pale);
  border-radius: 2px;
  padding: 0.25rem 0.6rem;
}

/* ARTICLE CTA */
.article-cta {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 70px 2rem;
}

.article-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.article-cta h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.article-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--blue-bright); }

/* RELATED */
.related {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 2rem 0;
}

.related-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.related-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.related-list li {
  border-bottom: 1px solid var(--border);
}

.related-list a {
  display: block;
  padding: 1.1rem 0;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.related-list a:hover { color: var(--blue); }

.related-list span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* FOOTER — matches homepage */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(59,111,224,0.15);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--blue-light); }

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .article-hero { padding: 115px 1.25rem 45px; }
  .article-body, .related { padding-left: 1.25rem; padding-right: 1.25rem; }
  .article-cta { padding: 50px 1.25rem; }
}
