/*
Theme Name: Career Path Audit
Theme URI: https://careerpathaudit.com
Author: Career Path Audit
Author URI: https://careerpathaudit.com
Description: A creator-led WordPress theme for Career Path Audit — the free weekly newsletter that audits one career or degree per week with real data, real costs, real verdicts. Stripped-down homepage with hero, offer strip, YouTube features, archive of audits, and an email subscribe block. Dark editorial palette: charcoal base, gold + teal accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: career-path-audit
Tags: editorial, magazine, publication, newsletter, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --charcoal: #1A1A2E;          /* primary background */
  --charcoal-soft: #232338;     /* alternating section bg */
  --charcoal-deep: #12121F;     /* footer / deepest panel */
  --charcoal-card: #1F1F33;     /* card surface on charcoal */
  --paper: #F5F2EB;             /* primary text on dark */
  --paper-soft: rgba(245, 242, 235, 0.78);
  --paper-mute: rgba(245, 242, 235, 0.55);
  --paper-faint: rgba(245, 242, 235, 0.32);
  --gold: #F5A623;              /* primary accent */
  --gold-dark: #D88A0F;
  --gold-soft: rgba(245, 166, 35, 0.14);
  --teal: #00D4AA;              /* verdict / free accent */
  --teal-dark: #00B894;
  --teal-soft: rgba(0, 212, 170, 0.14);
  --line: rgba(245, 242, 235, 0.10);
  --line-strong: rgba(245, 242, 235, 0.22);
  --line-bright: rgba(245, 242, 235, 0.40);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--paper);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Subtle grain — keeps the dark from feeling flat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

a { color: inherit; }

::selection { background: var(--gold); color: var(--charcoal); }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   HEADER — wordmark + Subscribe CTA, no nav menus
   ============================================================ */
.cpa-masthead {
  border-bottom: 1px solid var(--line);
  background: rgba(26, 26, 46, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cpa-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.cpa-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.018em;
  color: var(--paper);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  transition: color 0.18s ease;
}
.cpa-wordmark:hover { color: var(--gold); }
.cpa-wordmark .cpa-wordmark-mark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 3px 6px;
  line-height: 1;
}
.cpa-masthead-cta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cpa-masthead-cta:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--charcoal);
}

/* ============================================================
   HERO
   ============================================================ */
.cpa-hero {
  border-bottom: 1px solid var(--line);
  padding: 110px 0 88px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
/* Soft gold radial behind the hero so the dark feels intentional, not flat */
.cpa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 480px at 50% 0%, rgba(245, 166, 35, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(0, 212, 170, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cpa-hero-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.cpa-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.cpa-hero-eyebrow::before,
.cpa-hero-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.cpa-hero-headline {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144;
  font-weight: 400;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--paper);
  margin-bottom: 28px;
}
.cpa-hero-headline em {
  font-style: italic;
  font-weight: 350;
  color: var(--gold);
}
.cpa-hero-headline .cpa-hero-headline-stack {
  display: block;
}
.cpa-hero-deck {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--paper-soft);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}
.cpa-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cpa-btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.cpa-btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.cpa-btn-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
}
.cpa-btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.cpa-btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Trust pills under the hero CTAs */
.cpa-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  max-width: 760px;
  margin: 0 auto;
}
.cpa-hero-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-soft);
  background: rgba(245, 242, 235, 0.04);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cpa-hero-pill .cpa-hero-pill-key {
  color: var(--teal);
  font-weight: 500;
}

/* ============================================================
   OFFER STRIP — "The Weekly Audit"
   ============================================================ */
.cpa-offer {
  background: var(--charcoal-soft);
  padding: 88px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.cpa-offer-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.cpa-offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}
.cpa-offer-tag .cpa-tag-free {
  background: var(--teal);
  color: var(--charcoal);
  padding: 3px 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.cpa-offer-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--paper);
  margin: 0 0 14px;
}
.cpa-offer-title em {
  font-style: italic;
  color: var(--gold);
}
.cpa-offer-subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper-soft);
  margin: 0;
}
.cpa-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cpa-offer-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 235, 0.015);
}
.cpa-offer-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-top: 2px;
}
.cpa-offer-check svg {
  width: 12px;
  height: 12px;
}
.cpa-offer-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--paper);
  margin: 0;
}
.cpa-offer-text strong {
  color: var(--paper);
  font-weight: 600;
}

/* ============================================================
   SECTION HEADS (shared)
   ============================================================ */
.cpa-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 32px;
  flex-wrap: wrap;
}
.cpa-section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.cpa-section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--paper);
  margin: 0;
}
.cpa-section-title em {
  font-style: italic;
  color: var(--gold);
}
.cpa-section-subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper-soft);
  margin: 14px 0 0;
  max-width: 640px;
}
.cpa-section-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  flex-shrink: 0;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.cpa-section-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   YOUTUBE
   ============================================================ */
.cpa-youtube {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}
.cpa-yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yt-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.22s ease;
}
.yt-card:hover { transform: translateY(-3px); }
.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal-deep);
  border: 1px solid var(--line);
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.22s ease;
}
.yt-card:hover .yt-thumb img {
  transform: scale(1.04);
  opacity: 0.92;
}
.yt-thumb.is-empty {
  background: var(--charcoal-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-thumb-placeholder {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--paper-mute);
}
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-play svg {
  width: 64px;
  height: 64px;
  transition: transform 0.22s ease;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}
.yt-card:hover .yt-play svg { transform: scale(1.08); }
.yt-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.32;
  color: var(--paper);
  margin: 16px 0 0;
  letter-spacing: -0.01em;
}
.yt-card:hover .yt-title { color: var(--gold); transition: color 0.18s ease; }

/* ============================================================
   ARCHIVE — Recent audits
   ============================================================ */
.cpa-archive {
  padding: 96px 0;
  background: var(--charcoal-soft);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.cpa-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cpa-archive-card {
  background: var(--charcoal-card);
  border: 1px solid var(--line);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
  position: relative;
}
.cpa-archive-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: rgba(245, 166, 35, 0.04);
}
.cpa-archive-card-empty {
  pointer-events: none;
  opacity: 0.85;
}
.cpa-archive-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.cpa-archive-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cpa-archive-tag-free {
  background: var(--teal);
  color: var(--charcoal);
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.cpa-archive-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.014em;
  color: var(--paper);
  margin: 0 0 14px;
  transition: color 0.18s ease;
}
.cpa-archive-card:hover .cpa-archive-title { color: var(--gold); }
.cpa-archive-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-soft);
  margin: 0 0 22px;
  flex: 1;
}
.cpa-archive-read {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cpa-archive-card:hover .cpa-archive-read { color: var(--gold); }

/* ============================================================
   SUBSCRIBE
   ============================================================ */
.cpa-subscribe {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.cpa-subscribe-card {
  background: var(--charcoal-card);
  color: var(--paper);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
/* Subtle gold glow inside the card */
.cpa-subscribe-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18), transparent 65%);
  pointer-events: none;
}
.cpa-subscribe-card .cpa-section-eyebrow {
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.cpa-subscribe-text {
  position: relative;
  z-index: 1;
}
.cpa-subscribe-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--paper);
  margin: 0 0 20px;
}
.cpa-subscribe-title em {
  font-style: italic;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.cpa-subscribe-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-soft);
  margin: 0 0 24px;
}
.cpa-subscribe-bullets {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cpa-subscribe-bullets li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--paper-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cpa-subscribe-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.cpa-subscribe-form {
  background: var(--paper);
  color: var(--charcoal);
  padding: 36px 32px;
  border: 1px solid var(--gold);
  position: relative;
  z-index: 1;
}
.cpa-subscribe-form-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: block;
}
.cpa-subscribe-form .newsletter-form-fallback {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cpa-subscribe-form .newsletter-form-fallback input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(26, 26, 46, 0.25);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  border-radius: 0;
}
.cpa-subscribe-form .newsletter-form-fallback input[type="email"]:focus {
  outline: none;
  border-color: var(--charcoal);
}
.cpa-subscribe-form .newsletter-form-fallback button {
  width: 100%;
  padding: 14px 20px;
  background: var(--charcoal);
  color: var(--paper);
  border: 1px solid var(--charcoal);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  border-radius: 0;
}
.cpa-subscribe-form .newsletter-form-fallback button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.cpa-subscribe-fineprint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 46, 0.65);
  margin: 16px 0 0;
  line-height: 1.5;
}

/* Make Fluent Forms blend with the subscribe card */
.cpa-subscribe-form .ff-el-group { margin-bottom: 12px; }
.cpa-subscribe-form .ff-el-input--label { display: none; }
.cpa-subscribe-form .ff_btn_style,
.cpa-subscribe-form button[type="submit"] {
  background: var(--charcoal) !important;
  color: var(--paper) !important;
  border: 1px solid var(--charcoal) !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  width: 100%;
  padding: 14px 20px !important;
  border-radius: 0 !important;
}
.cpa-subscribe-form .ff_btn_style:hover,
.cpa-subscribe-form button[type="submit"]:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--charcoal) !important;
}

/* ============================================================
   FOOTER — final CTA banner + brand block
   ============================================================ */
.cpa-footer {
  background: var(--charcoal-deep);
  color: var(--paper);
  padding: 0 0 36px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.cpa-footer-cta {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 600px 320px at 50% 0%, rgba(245, 166, 35, 0.10), transparent 60%),
    var(--charcoal-deep);
}
.cpa-footer-cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.cpa-footer-cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 18px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.cpa-footer-cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cpa-footer-cta-desc {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--paper-soft);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cpa-footer-cta-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.18s ease;
}
.cpa-footer-cta-btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--charcoal);
}

.cpa-footer-grid {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.cpa-footer-brand {
  max-width: 560px;
}
.cpa-wordmark-footer {
  color: var(--paper);
  font-size: 28px;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.018em;
  text-decoration: none;
  line-height: 1;
  transition: color 0.18s ease;
}
.cpa-wordmark-footer:hover { color: var(--gold); }
.cpa-wordmark-footer .cpa-wordmark-mark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 4px 7px;
  line-height: 1;
}
.cpa-footer-tagline {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--paper-soft);
  margin: 0 0 22px;
  font-style: italic;
}
.cpa-footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--paper-mute);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cpa-footer-legal a {
  color: var(--paper-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.cpa-footer-legal a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.cpa-footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}
.cpa-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cpa-footer-links li { margin-bottom: 10px; }
.cpa-footer-links a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--paper-soft);
  text-decoration: none;
  transition: color 0.18s ease;
}
.cpa-footer-links a:hover { color: var(--gold); }
.cpa-footer-placeholder {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--paper-faint);
  cursor: default;
}
.cpa-footer-bottom {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--paper-mute);
  padding-top: 28px;
}

/* ============================================================
   ARCHIVE / SINGLE / PAGE — for posts, pages, and category archives
   ============================================================ */
.archive-wrap, .single-post-wrap {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}
.archive-header {
  margin-bottom: 56px;
  max-width: 780px;
}
.archive-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.archive-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 20px;
}
.archive-title em {
  font-style: italic;
  color: var(--gold);
}
.archive-description {
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper-soft);
}
.archive-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.archive-item {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease;
  align-items: baseline;
}
.archive-item:hover { background: rgba(245, 166, 35, 0.04); }
.archive-item-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.archive-item-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 0 0 8px;
  transition: color 0.18s ease;
}
.archive-item:hover .archive-item-title { color: var(--gold); }
.archive-item-excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-soft);
  margin: 0;
}
.archive-item-category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}
.pagination {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.pagination a, .pagination .current {
  color: var(--paper);
  text-decoration: none;
  margin-right: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  transition: all 0.18s ease;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

/* Single post */
.single-post-header {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.single-post-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.single-post-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: var(--paper);
  margin: 0 0 24px;
}
.single-post-title em {
  font-style: italic;
  color: var(--gold);
}
.single-post-deck {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.45;
  color: var(--paper-soft);
  font-style: italic;
  font-weight: 350;
  margin: 0 0 24px;
}
.single-post-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.single-post-meta .author { color: var(--paper); }
.single-post-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--paper-faint);
}
.single-post-content {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--paper);
}
.single-post-content p { margin: 0 0 22px; }
.single-post-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 56px 0 18px;
}
.single-post-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  margin: 40px 0 14px;
}
.single-post-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, 0.4);
  text-underline-offset: 3px;
}
.single-post-content a:hover { text-decoration-color: var(--gold); }
.single-post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--paper);
}
.single-post-content ul, .single-post-content ol {
  margin: 0 0 22px 22px;
}
.single-post-content li { margin-bottom: 8px; }
.single-post-content code {
  background: var(--charcoal-soft);
  padding: 2px 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.92em;
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .cpa-offer-grid { grid-template-columns: 1fr; }
  .cpa-yt-grid { grid-template-columns: repeat(2, 1fr); }
  .cpa-yt-grid .yt-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .cpa-archive-grid { grid-template-columns: 1fr; gap: 18px; }
  .cpa-subscribe-card {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    gap: 36px;
  }
  .archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .archive-item-category { text-align: left; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .cpa-hero { padding: 72px 0 64px; }
  .cpa-offer { padding: 64px 0; }
  .cpa-youtube, .cpa-archive, .cpa-subscribe { padding: 64px 0; }
  .cpa-yt-grid { grid-template-columns: 1fr; gap: 24px; }
  .cpa-yt-grid .yt-card:nth-child(3) { max-width: 100%; }
  .yt-play svg { width: 52px; height: 52px; }
  .cpa-section-head { flex-direction: column; align-items: flex-start; }
  .cpa-subscribe-card { padding: 36px 24px; }
  .cpa-hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
  .cpa-btn { text-align: center; }
  .cpa-hero-pill { font-size: 10px; padding: 7px 12px; }
  .cpa-offer-item { padding: 22px 20px; }
  .cpa-footer-cta { padding: 56px 0; }
  .cpa-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .cpa-wordmark-footer { font-size: 24px; }
  .cpa-masthead-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .cpa-wordmark { font-size: 19px; }
  .cpa-wordmark .cpa-wordmark-mark { font-size: 9px; padding: 2px 5px; }
  .cpa-masthead-cta { font-size: 12px; padding: 9px 14px; }
}
