/* ============================================
   CLAIM WEALTH — Global Stylesheet
   claimwealth.net
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: #7A6330;
  --gold-faint: rgba(201,168,76,0.08);
  --black: #070707;
  --dark: #0D0D0D;
  --dark-2: #131313;
  --dark-3: #1A1A1A;
  --dark-4: #222222;
  --dark-5: #2A2A2A;
  --text: #F0EDE8;
  --text-muted: #B8B2AA;
  --text-dim: #888078;
  --white: #F8F5F0;
  --serif: 'Syne', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'Space Mono', monospace;
  --radius: 2px;
  --transition: 0.25s ease;
  --max-w: 1140px;
  --max-w-text: 760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text); }

.label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container-text { max-width: var(--max-w-text); margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7,7,7,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.nav-logo span { color: var(--text-muted); font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 22px; height: 1px; background: var(--text-muted); display: block; transition: all var(--transition); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #111111 !important;
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold-faint); border-color: var(--gold); }

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}
.divider-center { margin: 1.5rem auto; }

/* ── GOLD LINE DECORATION ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .label { margin-bottom: 1rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: #C0BBB4; max-width: 540px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

/* ── ARTICLE CARD ── */
.card {
  background: var(--dark-2);
  border: 1px solid var(--dark-5);
  transition: border-color var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.card-img {
  width: 100%; aspect-ratio: 16/9;
  background: var(--dark-3);
  position: relative; overflow: hidden;
}
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2.5rem; color: var(--gold-dim);
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.card-excerpt { font-size: 0.88rem; color: #B0ABA5; line-height: 1.65; flex: 1; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--dark-5);
  display: flex; align-items: center; justify-content: space-between;
}
.card-read {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.4rem;
}
.card-read::after { content: '→'; transition: transform var(--transition); }
.card:hover .card-read::after { transform: translateX(3px); }
.card-time { font-size: 0.75rem; color: var(--text-dim); font-family: var(--mono); }

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ── AFFILIATE BOX ── */
.affiliate-box {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border: 1px solid var(--gold-dim);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  position: relative;
}
.affiliate-box::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.affiliate-box .label { margin-bottom: 0.75rem; display: block; }
.affiliate-box h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.affiliate-box p { font-size: 0.92rem; color: #C8C4BE; margin-bottom: 1.25rem; }

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: var(--dark-2);
  border: 1px solid var(--dark-5);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: #C0BBB4;
  margin: 2rem 0;
  line-height: 1.6;
}
.disclaimer-bar strong { color: var(--text); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-5);
  border-bottom: 1px solid var(--dark-5);
  padding: 4rem 0;
  text-align: center;
}
.newsletter-section h3 { margin-bottom: 0.75rem; }
.newsletter-section p { color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.aweber-form {
  display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.aweber-form input[type="email"] {
  flex: 1; min-width: 220px;
  background: var(--dark-4);
  border: 1px solid var(--dark-5);
  color: var(--text);
  padding: 0.85rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.aweber-form input[type="email"]:focus { border-color: var(--gold-dim); }
.aweber-form input[type="email"]::placeholder { color: var(--text-dim); }
.aweber-form button { flex-shrink: 0; }
.newsletter-note { font-size: 0.72rem; color: var(--text-dim); margin-top: 1rem; font-family: var(--mono); letter-spacing: 0.06em; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-4);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.2rem; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: #AAA49E; line-height: 1.75; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.87rem; color: #AAA49E; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--dark-4);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }
.footer-bottom a { color: var(--text-dim); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 5.5rem 0 1rem;
  border-bottom: 1px solid var(--dark-4);
}
.breadcrumb nav {
  position: static;
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 0;
  height: auto;
  display: block;
}
.breadcrumb-list {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.breadcrumb-list a { color: var(--text-dim); transition: color var(--transition); }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list .sep { color: var(--text-dim); }
.breadcrumb-list .current { color: var(--gold); }

/* ── ARTICLE PAGE ── */
.article-hero {
  padding: 5.5rem 0 3rem;
  border-bottom: 1px solid var(--dark-4);
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--black) 100%);
}
.article-category {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.article-title { margin-bottom: 1.25rem; }
.article-meta {
  display: flex; align-items: center; gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }
.article-body { padding: 3.5rem 0; }
.article-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--dark-4);
}
.article-content h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.article-content p { margin-bottom: 1.4rem; font-size: 1.05rem; line-height: 1.9; color: #E8E4DE; }
.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.article-content ul { list-style: none; margin-left: 0; }
.article-content ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #E8E4DE;
  margin-bottom: 0.5rem;
}
.article-content ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--gold);
  font-family: var(--mono);
}
.article-content ol { list-style: decimal; }
.article-content ol li { font-size: 1.05rem; line-height: 1.8; color: #E8E4DE; padding-left: 0.25rem; margin-bottom: 0.5rem; }
.article-content strong { color: var(--white); font-weight: 500; }
.article-content a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); transition: border-color var(--transition); }
.article-content a:hover { border-color: var(--gold); }
.article-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--dark-2);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── FAQ ── */
.faq-section { padding: 3rem 0; border-top: 1px solid var(--dark-4); }
.faq-item { border-bottom: 1px solid var(--dark-4); }
.faq-question {
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  gap: 1rem;
}
.faq-question .icon {
  color: var(--gold);
  font-size: 1.2rem;
  font-family: var(--mono);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-answer {
  padding: 0 0 1.25rem;
  font-size: 1rem;
  color: #D8D4CE;
  line-height: 1.85;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .icon { transform: rotate(45deg); }

/* ── RELATED ARTICLES ── */
.related-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--dark-4);
}

/* ── HERO BACKGROUND EFFECTS ── */
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(201,168,76,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 45% 65% at 15% 75%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.025;
  background-image:
    linear-gradient(rgba(201,168,76,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.8) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

/* ── RESOURCES PAGE ── */
.resource-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-5);
  padding: 2rem;
  transition: border-color var(--transition);
  position: relative;
}
.resource-card:hover { border-color: var(--gold-dim); }
.resource-card .badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold-faint);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 0.25rem 0.6rem;
}
.resource-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.resource-card p { font-size: 0.92rem; color: #C0BBB4; margin-bottom: 1.25rem; line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .aweber-form { flex-direction: column; }
  .aweber-form input[type="email"] { min-width: unset; width: 100%; }
  section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .container, .container-text { padding: 0 1.25rem; }
}

/* ── SOCIAL LINKS ── */
.social-links {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--dark-5);
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: var(--gold-faint);
}
.social-link svg {
  width: 15px; height: 15px;
  fill: currentColor;
}

/* ── SOCIAL LINKS FIX ── */
.social-links {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  min-width: 36px;
  border: 1px solid var(--dark-5);
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.social-link svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  fill: currentColor;
  display: block;
  overflow: visible;
  flex-shrink: 0;
}
.social-link:hover { background: var(--dark-3); }
.social-link[aria-label="Instagram"]:hover { border-color: #E1306C; color: #E1306C; }
.social-link[aria-label="TikTok"]:hover { border-color: #69C9D0; color: #69C9D0; }
.social-link[aria-label="YouTube"]:hover { border-color: #FF0000; color: #FF0000; }
.social-link[aria-label="Substack"]:hover { border-color: #FF6719; color: #FF6719; }

/* ── PERFORMANCE ── */
/* Ensure fonts don't block render */
@font-face { font-display: swap; }

/* Reduce paint complexity on scroll */
.nav { will-change: auto; }
.card { contain: layout style; }

/* Prevent layout shift from fonts loading */
body { font-synthesis: none; }
