/* ============================================================
   TALK FRENCH CANADA — Ghost Theme v2.0.0
   Performance: Critical CSS inline in <head>, this file async
   ============================================================ */

/* ── Extended variables (critical vars are inline in default.hbs) ── */
:root {
  --gh-font-heading: 'Playfair Display', Georgia, serif;
  --gh-font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --red:        #C8102E;
  --red-dark:   #9E0A22;
  --red-light:  #fdf0f2;
  --black:      #0D0D0D;
  --charcoal:   #1c1c1e;
  --gray-mid:   #6b6b6b;
  --gray-light: #f5f4f0;
  --white:      #fafafa;
  --border:     rgba(0,0,0,0.08);
  --font-display: var(--gh-font-heading);
  --font-body:    var(--gh-font-body);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;
  --max-w:       1200px;
  --content-w:   740px;
  --shadow-hover: 0 14px 40px rgba(0,0,0,0.12);
}

/* ── Base ── */
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* font-display swap for self-hosted fallback */
@font-face {
  font-family: 'Playfair Display';
  font-display: swap;
  src: local('Playfair Display');
}
@font-face {
  font-family: 'DM Sans';
  font-display: swap;
  src: local('DM Sans');
}

/* ── Skip link (accessibility) ── */
.tfc-skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--red); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 99999;
  transition: top 0.2s;
}
.tfc-skip-link:focus { top: 1rem; }

/* ── Focus styles ── */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tfc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.65rem 1.4rem; border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  text-decoration: none;
}
.tfc-btn:hover { transform: translateY(-2px); }
.tfc-btn:active { transform: translateY(0); }
.tfc-btn--red         { background: var(--red); color: #fff; }
.tfc-btn--red:hover   { background: var(--red-dark); color: #fff; }
.tfc-btn--white       { background: #fff; color: var(--red); }
.tfc-btn--white:hover { background: #f0f0f0; color: var(--red); }
.tfc-btn--outline       { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.tfc-btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.tfc-btn--outline-white       { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.tfc-btn--outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }
.tfc-btn--ghost       { background: transparent; border-color: var(--border); color: var(--black); }
.tfc-btn--ghost:hover { background: var(--gray-light); }
.tfc-btn--sm   { font-size: 0.72rem; padding: 0.5rem 1rem; }
.tfc-btn--lg   { font-size: 0.9rem; padding: 0.9rem 2rem; }
.tfc-btn--full { width: 100%; justify-content: center; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.tfc-eyebrow {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.75rem;
}
.tfc-eyebrow--dark  { color: var(--gray-mid); }
.tfc-eyebrow--faded { color: rgba(255,255,255,0.65); }
.tfc-eyebrow--link:hover { text-decoration: underline; }
.tfc-section-header { text-align: center; margin-bottom: 3rem; }
.tfc-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--black);
  letter-spacing: -0.02em; line-height: 1.2;
}

/* ============================================================
   HEADER (extends critical CSS)
   ============================================================ */
.tfc-header { transition: box-shadow 0.3s; }

/* Brand / Logo */
.tfc-header__brand { display: flex; align-items: center; text-decoration: none; }
.tfc-header__logo  { height: 38px; width: auto; }
.tfc-header__wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Nav links — clean, modern, sentence-case */
.tfc-nav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
}
.tfc-nav__list li { display: inline-flex; align-items: center; }
.tfc-nav__list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #555;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.tfc-nav__list a:hover {
  color: var(--red);
  background: rgba(200,16,46,0.06);
}

/* CTA button in header */
.tfc-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.tfc-header__actions .tfc-btn--red {
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Burger */
.tfc-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.tfc-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.tfc-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tfc-burger.open span:nth-child(2) { opacity: 0; }
.tfc-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.tfc-mobile-menu {
  position: fixed; inset: 68px 0 0 0;
  background: var(--white); z-index: 700; padding: 2rem;
  transform: translateX(100%); transition: transform 0.3s ease;
  border-top: 1px solid var(--border); overflow-y: auto;
}
.tfc-mobile-menu.open { transform: translateX(0); }
.tfc-mobile-menu__list { display: flex; flex-direction: column; gap: 1.25rem; }
.tfc-mobile-menu__list a {
  font-size: 1.1rem; font-weight: 500; color: var(--black); transition: color 0.2s;
}
.tfc-mobile-menu__list a:hover { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.tfc-hero {
  background: var(--black); padding: 7rem 2rem 5rem;
  text-align: center; position: relative; overflow: hidden;
  contain: layout style;
}
.tfc-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(200,16,46,0.22) 0%, transparent 70%);
}
.tfc-hero__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.tfc-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 1.5rem;
}
.tfc-hero__title em { font-style: italic; color: rgba(255,255,255,0.72); }
.tfc-hero__desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.62);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.tfc-hero__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.tfc-hero__stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1; flex-wrap: wrap;
}
.tfc-hero__stat { text-align: center; }
.tfc-hero__stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -0.03em;
}
.tfc-hero__stat-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============================================================
   POST FEED
   ============================================================ */
.tfc-posts-section { padding: 5rem 2rem; }
.tfc-posts-section__inner { max-width: var(--max-w); margin: 0 auto; }
.tfc-postfeed {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.tfc-postfeed--grid { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CARDS
   ============================================================ */
.tfc-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  contain: layout style;
  animation: fadeUp 0.5s ease both;
}
.tfc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200,16,46,0.2);
}

/* Featured */
.tfc-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.25fr 1fr; min-height: 400px;
}
.tfc-card__img-wrap--featured { aspect-ratio: auto !important; height: 100%; }

.tfc-card__img-wrap {
  display: block; overflow: hidden; aspect-ratio: 16/9;
}
.tfc-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
  will-change: transform;
}
.tfc-card:hover .tfc-card__img { transform: scale(1.05); }

.tfc-card__body {
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex; flex-direction: column; flex: 1;
}
.tfc-card__body--featured { padding: 2.5rem 2.25rem; justify-content: center; }

.tfc-card__tag {
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.5rem; display: block; transition: opacity 0.2s;
}
.tfc-card__tag:hover { opacity: 0.75; }

.tfc-card__title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; line-height: 1.28; color: var(--black); margin-bottom: 0.6rem;
}
.tfc-card__title--lg { font-size: 1.7rem; }
.tfc-card__title a { color: inherit; transition: color 0.2s; }
.tfc-card__title a:hover { color: var(--red); }

.tfc-card__excerpt {
  font-size: 0.9rem; color: var(--gray-mid); line-height: 1.65;
  flex: 1; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tfc-card__meta {
  font-size: 0.78rem; color: var(--gray-mid);
  display: flex; align-items: center; gap: 6px; margin-top: auto;
}
.tfc-card--sm .tfc-card__title { font-size: 0.95rem; }
.tfc-card--sm .tfc-card__body  { padding: 1rem 1.1rem 1.3rem; }

.tfc-empty { grid-column: 1/-1; text-align: center; padding: 4rem; color: var(--gray-mid); }

/* ============================================================
   ARTICLE
   ============================================================ */
.tfc-article { max-width: var(--content-w); margin: 0 auto; padding-bottom: 5rem; }

.tfc-article__header {
  background: var(--black); padding: 5rem 2rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.tfc-article__header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,16,46,0.22) 0%, transparent 70%);
}
.tfc-article__header-inner { position: relative; z-index: 1; max-width: var(--content-w); margin: 0 auto; }

/* Breadcrumb */
.tfc-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.tfc-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.tfc-breadcrumb a:hover { color: var(--red); }
.tfc-breadcrumb span[aria-current] { color: rgba(255,255,255,0.3); }

.tfc-article__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.03em; color: #fff; margin-bottom: 1.25rem;
}
.tfc-article__excerpt {
  font-size: 1.1rem; color: rgba(255,255,255,0.62); line-height: 1.65;
  max-width: 580px; margin: 0 auto 1.5rem; font-style: italic;
}
.tfc-article__byline { display: flex; justify-content: center; margin-top: 1.5rem; }

.tfc-author-mini { display: flex; align-items: center; gap: 10px; }
.tfc-author-mini__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.tfc-author-mini__initials { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.tfc-author-mini__name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.tfc-author-mini__meta { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Cover */
.tfc-article__cover { max-width: var(--content-w); margin: 0 auto; overflow: hidden; }
.tfc-article__cover-img { width: 100%; height: auto; }
.tfc-article__caption { font-size: 0.8rem; color: var(--gray-mid); text-align: center; padding: 0.5rem 1rem; font-style: italic; }

/* Content */
.tfc-article__content {
  padding: 3rem 2rem; font-size: 1.05rem; line-height: 1.85; color: var(--charcoal);
}

/* Ghost Koenig card classes (REQUIRED) */
.kg-width-wide { position: relative; width: 85vw; max-width: 1200px; margin: 1.5em calc(50% - 42.5vw); }
.kg-width-full { position: relative; width: 100vw; margin: 1.5em calc(50% - 50vw); }
@media (max-width: 900px) {
  .kg-width-wide, .kg-width-full { width: auto; margin: 1.5em -1.25rem; }
}
.kg-image-card img, .kg-gallery-card img { border-radius: var(--radius-md); }
.kg-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 8px; }
.kg-video-card video { width: 100%; border-radius: var(--radius-md); }
.kg-embed-card { display: flex; justify-content: center; margin: 1.5rem 0; }
.kg-bookmark-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; margin: 1.5rem 0; }
.kg-bookmark-content { padding: 1.25rem; flex: 1; }
.kg-bookmark-title { font-weight: 600; margin-bottom: 0.25rem; }
.kg-bookmark-description { font-size: 0.85rem; color: var(--gray-mid); }
.kg-callout-card { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--gray-light); border-radius: var(--radius-md); border-left: 4px solid var(--red); margin: 1.5rem 0; }
.kg-toggle-card { border: 1px solid var(--border); border-radius: var(--radius-md); margin: 1.5rem 0; overflow: hidden; }
.kg-toggle-heading-text { padding: 1rem 1.25rem; font-weight: 600; }
.kg-toggle-content { padding: 0 1.25rem 1rem; }

/* Content typography */
.gh-content > * + * { margin-top: 1.5rem; }
.gh-content h2 {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em;
  margin-top: 3rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--gray-light);
}
.gh-content h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--black); margin-top: 2.5rem; }
.gh-content h4 { font-size: 1rem; font-weight: 600; color: var(--black); margin-top: 2rem; }
.gh-content p { margin-bottom: 1.5rem; }
.gh-content a { color: var(--red); text-decoration: underline; text-decoration-color: rgba(200,16,46,0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.gh-content a:hover { text-decoration-color: var(--red); }
.gh-content blockquote { background: var(--red-light); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.25rem 1.5rem; margin: 2.5rem 0; font-style: italic; font-size: 1.05rem; color: var(--charcoal); }
.gh-content ul { padding-left: 0; }
.gh-content ul li { padding-left: 1.4rem; position: relative; margin-bottom: 0.5rem; }
.gh-content ul li::before { content: '▸'; color: var(--red); position: absolute; left: 0; font-size: 0.75em; top: 0.28em; }
.gh-content ol { padding-left: 1.5rem; }
.gh-content ol li { margin-bottom: 0.5rem; }
.gh-content ol li::marker { color: var(--red); font-weight: 600; }
.gh-content img { border-radius: var(--radius-md); margin: 2rem auto; }
.gh-content figure { margin: 2rem 0; }
.gh-content figcaption { font-size: 0.82rem; color: var(--gray-mid); text-align: center; margin-top: 0.5rem; font-style: italic; }
.gh-content hr { border: none; border-top: 2px solid var(--gray-light); margin: 3rem 0; }
.gh-content pre { background: var(--charcoal); color: #e2e8f0; padding: 1.5rem; border-radius: var(--radius-md); overflow-x: auto; font-size: 0.88rem; line-height: 1.6; }
.gh-content code { background: var(--gray-light); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.88em; }
.gh-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.gh-content th, .gh-content td { padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; }
.gh-content th { background: var(--gray-light); font-weight: 600; }

/* Inline CTA */
.tfc-inline-cta { background: var(--black); border-radius: var(--radius-lg); padding: 3rem 2rem; margin: 3rem 2rem; text-align: center; position: relative; overflow: hidden; }
.tfc-inline-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(200,16,46,0.1); pointer-events: none; }
.tfc-inline-cta .tfc-eyebrow { color: var(--red); }
.tfc-inline-cta__title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; position: relative; }
.tfc-inline-cta__desc { font-size: 0.95rem; color: rgba(255,255,255,0.58); margin-bottom: 2rem; position: relative; }

/* Tags */
.tfc-article__tags { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0 2rem 2rem; }
.tfc-article__tags-label { font-size: 0.78rem; color: var(--gray-mid); font-weight: 500; }
.tfc-tag-pill { display: inline-block; background: var(--red-light); color: var(--red-dark); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: var(--radius-pill); transition: background 0.2s; }
.tfc-tag-pill:hover { background: #f5c6ce; }

/* Author box */
.tfc-author-box { display: flex; align-items: center; gap: 1.25rem; margin: 0 2rem 3rem; padding: 1.5rem; background: var(--gray-light); border-radius: var(--radius-md); }
.tfc-author-box__avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); flex-shrink: 0; }
.tfc-author-box__initials { width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.tfc-author-box__name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.tfc-author-box__bio  { font-size: 0.875rem; color: var(--gray-mid); }

/* ============================================================
   RELATED
   ============================================================ */
.tfc-related { background: var(--gray-light); padding: 4rem 2rem; }
.tfc-related__inner { max-width: var(--max-w); margin: 0 auto; }
.tfc-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.tfc-cta-section { background: var(--red); padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; contain: layout style; }
.tfc-cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0,0,0,0.25) 0%, transparent 70%); pointer-events: none; }
.tfc-cta-section__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.tfc-cta-section__title { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.25rem; }
.tfc-cta-section__desc { font-size: 1.05rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 2.5rem; }
.tfc-cta-section__note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.75rem; }
.tfc-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.tfc-proof-card { background: rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; text-align: left; }
.tfc-proof-card__text   { font-size: 0.88rem; color: rgba(255,255,255,0.85); font-style: italic; line-height: 1.6; margin-bottom: 0.75rem; }
.tfc-proof-card__author { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 600; }

/* ============================================================
   PAGINATION
   ============================================================ */
.tfc-pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.tfc-pagination__info { font-size: 0.82rem; color: var(--gray-mid); }

/* ============================================================
   TAG / AUTHOR HEADERS
   ============================================================ */
.tfc-tag-header { background: var(--gray-light); padding: 5rem 2rem 4rem; text-align: center; border-bottom: 1px solid var(--border); }
.tfc-tag-header__inner { max-width: 600px; margin: 0 auto; }
.tfc-tag-header__img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.tfc-tag-header__title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--black); letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.tfc-tag-header__desc  { color: var(--gray-mid); margin-bottom: 0.5rem; }
.tfc-tag-header__count { font-size: 0.82rem; color: var(--gray-mid); }

.tfc-author-header { background: var(--gray-light); padding: 5rem 2rem 4rem; border-bottom: 1px solid var(--border); }
.tfc-author-header__inner { max-width: var(--content-w); margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.tfc-author-header__avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); flex-shrink: 0; }
.tfc-author-header__initials { width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.tfc-author-header__name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--black); margin-bottom: 0.5rem; }
.tfc-author-header__bio  { color: var(--gray-mid); }

/* ============================================================
   FOOTER
   ============================================================ */
.tfc-footer { background: var(--black); padding: 4rem 2rem 0; }
.tfc-footer__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.tfc-footer__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.tfc-footer__desc { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 1.5rem; }
.tfc-footer__col-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.tfc-footer__links li { margin-bottom: 0.5rem; }
.tfc-footer__links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.tfc-footer__links a:hover { color: var(--red); }
.tfc-footer__bottom { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0 2rem; font-size: 0.78rem; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 0.5rem; }

/* ============================================================
   STICKY CTA
   ============================================================ */
.tfc-sticky-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--red); color: #fff;
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.75rem 1.4rem; border-radius: var(--radius-pill);
  box-shadow: 0 6px 28px rgba(200,16,46,0.4);
  z-index: 700; opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  display: flex; align-items: center; gap: 6px;
  will-change: opacity, transform;
}
.tfc-sticky-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.tfc-sticky-cta:hover { background: var(--red-dark); color: #fff; }

/* ============================================================
   ERROR
   ============================================================ */
.tfc-error { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.tfc-error__inner { max-width: 480px; }
.tfc-error__code { display: block; font-family: var(--font-display); font-size: 7rem; font-weight: 900; color: var(--gray-light); line-height: 1; margin-bottom: 1rem; }
.tfc-error__title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--black); margin-bottom: 1rem; }
.tfc-error__desc { color: var(--gray-mid); margin-bottom: 2rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tfc-card, .tfc-btn { animation: none !important; transition: none !important; }
}
.tfc-postfeed .tfc-card:nth-child(1) { animation-delay: 0.05s; }
.tfc-postfeed .tfc-card:nth-child(2) { animation-delay: 0.10s; }
.tfc-postfeed .tfc-card:nth-child(3) { animation-delay: 0.15s; }
.tfc-postfeed .tfc-card:nth-child(4) { animation-delay: 0.20s; }
.tfc-postfeed .tfc-card:nth-child(5) { animation-delay: 0.25s; }
.tfc-postfeed .tfc-card:nth-child(6) { animation-delay: 0.30s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tfc-postfeed { grid-template-columns: repeat(2, 1fr); }
  .tfc-postfeed--grid { grid-template-columns: repeat(2, 1fr); }
  .tfc-card--featured { grid-template-columns: 1fr; min-height: auto; }
  .tfc-card__img-wrap--featured { aspect-ratio: 16/9 !important; height: auto; }
  .tfc-related__grid { grid-template-columns: repeat(2, 1fr); }
  .tfc-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tfc-nav { display: none; }
  .tfc-burger { display: flex; }
  .tfc-hero { padding: 5rem 1.5rem 3.5rem; }
  .tfc-hero__stats { gap: 2rem; }
  .tfc-postfeed { grid-template-columns: 1fr; }
  .tfc-postfeed--grid { grid-template-columns: 1fr; }
  .tfc-posts-section { padding: 3rem 1.25rem; }
  .tfc-related__grid { grid-template-columns: 1fr; }
  .tfc-proof-grid { grid-template-columns: 1fr; }
  .tfc-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .tfc-footer__bottom { flex-direction: column; text-align: center; }
  .tfc-sticky-cta { left: 1rem; right: 1rem; justify-content: center; bottom: 1rem; }
  .tfc-article__content { padding: 2rem 1.25rem; }
  .tfc-inline-cta { margin: 2rem 1.25rem; padding: 2rem 1.25rem; }
  .tfc-author-box { margin: 0 1.25rem 2rem; }
  .tfc-article__tags { padding: 0 1.25rem 1.5rem; }
  .tfc-author-header__inner { flex-direction: column; text-align: center; }
  .tfc-breadcrumb { font-size: 0.7rem; }
}
