/* ══════════════════════════════════════════
   NOISE FLOOR — Theme v1.9.0 (DS v2)
   Tokens alinhados ao noisefloor-advisory-site.html
   ══════════════════════════════════════════ */

:root {
  /* --- DS v2 tokens (canônicos do advisory-site) --- */
  --nf-cream:        #fafaf7;   /* bg principal */
  --nf-cream-soft:   #f4f2ec;   /* cards, blocos secundários */
  --nf-ink:          #1a1a1a;   /* headlines, body */
  --nf-ink-soft:     #2c2c2c;   /* texto secundário */
  --nf-muted:        #6b6b6b;   /* labels, mono dimmed */
  --nf-muted-soft:   #9a9a9a;   /* texto fantasma */
  --nf-line:         #e2dfd6;   /* bordas padrão */
  --nf-line-strong:  #c9c5b8;   /* bordas firmes */
  --nf-gold:         #8E2D50;   /* accent principal */
  --nf-gold-deep:    #7A2645;   /* footer invertido, hover escuro */
  --nf-gold-soft:    rgba(142, 45, 80, 0.12);

  /* --- Fontes DS v2 --- */
  --nf-font-display: 'Inter Tight', system-ui, sans-serif;
  --nf-font-body-v2: 'Inter', system-ui, sans-serif;
  --nf-font-mono-v2: 'IBM Plex Mono', ui-monospace, monospace;

  /* --- Aliases v1.x (retrocompat — apontam pros tokens v2) --- */
  --nf-bg:             var(--nf-cream);
  --nf-bg-warm:        var(--nf-cream-soft);
  --nf-header-bg:      var(--nf-cream-soft);
  --nf-text:           var(--nf-ink);
  --nf-text-secondary: var(--nf-ink-soft);
  --nf-text-muted:     var(--nf-muted);
  --nf-green:          var(--nf-gold);
  --nf-green-hover:    var(--nf-gold-deep);
  --nf-border:         var(--nf-line);

  /* Fonts: agora apontam pro DS v2; posts antigos com inline
     'Instrument Serif' / 'DM Sans' / 'JetBrains Mono' continuam
     funcionando porque specificity inline > var(). */
  --nf-font-title: var(--nf-font-display);
  --nf-font-body:  var(--nf-font-body-v2);
  --nf-font-mono:  var(--nf-font-mono-v2);

  /* Section colors (mantidas) */
  --nf-hk:  #c4382a;
  --nf-anf: #8E2D50;
  --nf-ent: #3366cc;
  --nf-els: #c48a1a;
  --nf-lau: #5C2D91;
  --nf-ess: #0e7c7b;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--nf-font-body);
  background: var(--nf-bg);
  color: var(--nf-text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.home-template {
  background: var(--nf-gold-deep);
}
.nf-home-body {
  background: var(--nf-cream);
}

a { color: inherit; text-decoration: none; }

/* ══════════════════════════
   HEADER
   ══════════════════════════ */
.nf-header {
  background: var(--nf-cream);
  border-bottom: 1px solid var(--nf-line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nf-header-inner {
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

/* v1.9.0: wordmark DS v2 — [noise floor] com brackets em mono */
.nf-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--nf-ink);
  transition: color 0.2s;
  white-space: nowrap;
  line-height: 1;
  --nf-logo-accent: #8E2D50;
}

/* Hero: só wordmark sem descriptor */
.nf-logo-hero {
  height: 2.2em;
  width: auto;
  display: block;
}
/* Scrolled / outras páginas: wordmark com descriptor */
.nf-logo-full {
  height: 3.13em;
  width: auto;
  display: none;
}
/* Home não-scrolled: mostra hero, esconde full */
.home-template .nf-header:not(.scrolled) .nf-logo-hero { display: block; }
.home-template .nf-header:not(.scrolled) .nf-logo-full  { display: none; }
/* Home scrolled e demais páginas: esconde hero, mostra full */
.home-template .nf-header.scrolled .nf-logo-hero { display: none; }
.home-template .nf-header.scrolled .nf-logo-full  { display: block; }
body:not(.home-template) .nf-logo-hero { display: none; }
body:not(.home-template) .nf-logo-full  { display: block; }

.nf-drawer-logo .nf-logo-svg {
  height: 2.4em;
}
.nf-logo:hover { color: var(--nf-gold-deep); }

.nf-nav {
  display: flex;
  gap: 1.5rem;
}
.nf-nav a {
  font-family: var(--nf-font-body);
  font-size: 0.85rem;
  color: var(--nf-text-secondary);
  transition: color 0.2s;
}
.nf-nav a:hover { color: var(--nf-green); }
.nf-nav-ext { opacity: 0.6; }
.nf-nav-ext:hover { opacity: 1; color: var(--nf-text) !important; }
.nf-drawer-ext { opacity: 0.7; }

.nf-header-actions {
  /* spacer before subscribe */
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nf-search-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--nf-text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nf-search-btn:hover { color: var(--nf-green); }

.nf-signin {
  font-family: var(--nf-font-body);
  font-size: 0.82rem;
  color: var(--nf-text-muted);
  transition: color 0.2s;
  cursor: pointer;
}
.nf-signin:hover { color: var(--nf-text); }

.nf-subscribe-btn {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--nf-green);
  color: #fff;
  padding: 0.55rem 1.5rem;
  border-radius: 2px;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  margin-left: auto;
  white-space: nowrap;
}
.nf-subscribe-btn:hover { background: var(--nf-green-hover); }

/* ══════════════════════════
   HERO — v1.9.0
   ══════════════════════════ */
.nf-hero {
  position: relative;
  background: var(--nf-cream);
  padding-bottom: 9rem;
  overflow: hidden;
}

#nf-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.nf-filter-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.nf-filter-box h1 {
  font-family: var(--nf-font-display);
  font-size: 2.6rem;
  font-weight: 600;
  font-style: normal;
  color: var(--nf-ink);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Subscribe form */
.nf-subscribe-form {
  display: flex;
  max-width: 380px;
  margin: 0 auto;
}

.nf-subscribe-form input[type="email"] {
  flex: 1;
  font-family: var(--nf-font-body);
  font-size: 0.88rem;
  border: 1px solid var(--nf-border);
  border-right: none;
  border-radius: 3px 0 0 3px;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--nf-text);
  caret-color: var(--nf-green);
  outline: none;
  transition: border-color 0.2s;
}
.nf-subscribe-form input[type="email"]::placeholder { color: #bbb; }
.nf-subscribe-form input[type="email"]:focus { border-color: var(--nf-green); }

.nf-subscribe-form button,
.nf-subscribe-form a.nf-subscribe-btn {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--nf-green);
  color: #fff;
  border: 1px solid var(--nf-green);
  border-radius: 0 3px 3px 0;
  padding: 0.65rem 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nf-subscribe-form button:hover,
.nf-subscribe-form a.nf-subscribe-btn:hover { background: var(--nf-green-hover); }

.nf-form-msg {
  font-family: var(--nf-font-mono);
  font-size: 0.72rem;
  color: #c4382a;
  margin-top: 0.6rem;
  min-height: 1.2em;
}
.nf-form-success {
  font-family: var(--nf-font-mono);
  font-size: 0.72rem;
  color: var(--nf-green);
  margin-top: 0.6rem;
}

/* ══════════════════════════
   HERO LABELS (ruído / filtro / sinal limpo)
   ══════════════════════════ */
.nf-hero-labels {
  position: absolute;
  bottom: 5rem;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  pointer-events: none;
}
.nf-hero-label-item {
  font-family: var(--nf-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-green);
  opacity: 0.4;
}
.nf-hero-label-item--center {
  opacity: 0.22;
  text-align: center;
}
.nf-hero-label-item--left  { text-align: left; }
.nf-hero-label-item--right { text-align: right; }

/* ══════════════════════════
   WAVE INFO BAR
   ══════════════════════════ */
.nf-wave-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(250, 250, 247, 0.94);
  border-top: 1px solid var(--nf-line);
}

.nf-wave-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nf-wave-title {
  font-family: var(--nf-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-green);
}

.nf-wave-domain {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
}

.nf-wave-desc {
  font-family: var(--nf-font-body);
  font-size: 0.78rem;
  color: var(--nf-text-secondary);
  max-width: 480px;
  line-height: 1.4;
}

.nf-wave-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nf-wave-counter {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--nf-text-muted);
}

.nf-refresh-btn {
  background: none;
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--nf-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.nf-refresh-btn:hover { color: var(--nf-green); border-color: var(--nf-green); }

/* ══════════════════════════
   FEED / POST CARDS
   ══════════════════════════ */
.nf-feed {
  padding: 3rem 1.5rem;
}

.nf-feed-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.nf-card {
  border-bottom: 1px solid var(--nf-line);
  padding-bottom: 2.5rem;
}
.nf-card:last-child { border-bottom: none; }

.nf-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.nf-card-date,
.nf-card-reading {
  font-family: var(--nf-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-muted);
}

.nf-card-title {
  font-family: var(--nf-font-display);
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
  color: var(--nf-ink);
}
.nf-card-title a { transition: color 0.2s; color: inherit; }
.nf-card-title a:hover { color: var(--nf-gold-deep); }

.nf-card-excerpt {
  font-family: var(--nf-font-body-v2);
  font-size: 0.95rem;
  color: var(--nf-ink-soft);
  line-height: 1.65;
}

/* ══════════════════════════
   TAGS (seção badges)
   ══════════════════════════ */
.nf-tag {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.nf-tag:hover { opacity: 0.75; }

.nf-tag-hypekiller {
  background: rgba(196, 56, 42, 0.1);
  border: 1px solid rgba(196, 56, 42, 0.28);
  color: var(--nf-hk);
}
.nf-tag-acima-do-noise-floor {
  background: rgba(142, 45, 80, 0.1);
  border: 1px solid rgba(142, 45, 80, 0.28);
  color: var(--nf-anf);
}
.nf-tag-entropia {
  background: rgba(51, 102, 204, 0.1);
  border: 1px solid rgba(51, 102, 204, 0.28);
  color: var(--nf-ent);
}
.nf-tag-elefante-na-sala {
  background: rgba(196, 138, 26, 0.1);
  border: 1px solid rgba(196, 138, 26, 0.28);
  color: var(--nf-els);
}
.nf-tag-laudo {
  background: rgba(92, 45, 145, 0.1);
  border: 1px solid rgba(92, 45, 145, 0.28);
  color: var(--nf-lau);
}
.nf-tag-essays {
  background: rgba(14, 124, 123, 0.1);
  border: 1px solid rgba(14, 124, 123, 0.28);
  color: var(--nf-ess);
}

/* ══════════════════════════
   POST SINGLE
   ══════════════════════════ */
.nf-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.nf-post-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--nf-border);
  padding-bottom: 2rem;
}

.nf-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.nf-post-date,
.nf-post-reading {
  font-family: var(--nf-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
}

.nf-post-title {
  font-family: var(--nf-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--nf-ink);
}

.nf-post-excerpt {
  font-family: var(--nf-font-body-v2);
  font-size: 1.08rem;
  color: var(--nf-ink-soft);
  line-height: 1.6;
}

/* Post content typography */
.nf-post-content {
  font-family: var(--nf-font-body-v2);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--nf-ink);
}
.nf-post-content h2 {
  font-family: var(--nf-font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 3rem 0 0.8rem;
  color: var(--nf-ink);
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--nf-line);
}
.nf-post-content h3 {
  font-family: var(--nf-font-display);
  font-size: 1.18rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.6rem;
  position: relative;
  color: var(--nf-ink-soft);
}
.nf-post-content p { margin-bottom: 1.25rem; }
.nf-post-content strong { font-weight: 600; }
.nf-post-content em { font-style: italic; }
.nf-post-content blockquote {
  border-left: 3px solid var(--nf-green);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--nf-text-secondary);
  font-style: italic;
}
.nf-post-content code {
  font-family: var(--nf-font-mono);
  font-size: 0.85em;
  background: rgba(142, 45, 80, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
.nf-post-content a {
  color: var(--nf-green);
  border-bottom: 1px solid rgba(142, 45, 80, 0.3);
  transition: border-color 0.2s;
}
.nf-post-content a:hover { border-color: var(--nf-green); }
.nf-post-content hr {
  border: none;
  border-top: 1px solid var(--nf-border);
  margin: 2.5rem 0;
}

.nf-post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nf-border);
}
.nf-back {
  font-family: var(--nf-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  transition: color 0.2s;
}
.nf-back:hover { color: var(--nf-green); }

/* ══════════════════════════
   PAGE (manifesto, sobre)
   ══════════════════════════ */
.nf-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.nf-page-header { margin-bottom: 2rem; }
.nf-page-title {
  font-family: var(--nf-font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-ink);
}
.nf-page-content {
  font-family: var(--nf-font-body-v2);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--nf-ink);
}
.nf-page-content p { margin-bottom: 1.25rem; }
.nf-page-content h2 {
  font-family: var(--nf-font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.8rem;
  color: var(--nf-ink);
}
.nf-page-content a { color: var(--nf-green); }

/* ══════════════════════════
   ARCHIVE (tag pages)
   ══════════════════════════ */
.nf-archive { padding: 3rem 1.5rem; }
.nf-archive-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--nf-border);
}
.nf-archive-label {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-bottom: 0.4rem;
}
.nf-archive-title {
  font-family: var(--nf-font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nf-archive-title.nf-tag-hypekiller       { color: var(--nf-hk);  }
.nf-archive-title.nf-tag-acima-do-noise-floor { color: var(--nf-anf); }
.nf-archive-title.nf-tag-entropia         { color: var(--nf-ent); }
.nf-archive-title.nf-tag-elefante-na-sala { color: var(--nf-els); }
.nf-archive-title.nf-tag-laudo            { color: var(--nf-lau); }
.nf-archive-title.nf-tag-essays           { color: var(--nf-ess); }
.nf-archive-desc {
  font-size: 0.92rem;
  color: var(--nf-text-secondary);
  margin-top: 0.5rem;
}

/* ══════════════════════════
   PAGINATION
   ══════════════════════════ */
.pagination {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--nf-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
}
.pagination a { color: var(--nf-green); }

/* ══════════════════════════
   FOOTER — v1.9.0 INVERTIDO (verde-deep)
   ══════════════════════════ */
.nf-footer {
  background: var(--nf-gold-deep);
  border-top: none;
  padding: 3rem 1.5rem 2.5rem;
  margin-top: 4rem;
  color: var(--nf-cream);
}

.nf-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.nf-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
  position: relative;
}
.nf-footer-col + .nf-footer-col {
  border-left: 1px solid rgba(250, 250, 247, 0.15);
  padding-left: 1.75rem;
}

.nf-footer-col a {
  font-family: var(--nf-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.70);
  transition: color 0.2s, opacity 0.2s;
}
.nf-footer-col a:hover {
  color: rgba(250, 250, 247, 1);
}

/* Hover por cor de seção — em fundo verde-deep usamos versão clarinha pra contraste */
.nf-footer-col a.nf-tag-hk:hover  { color: #ff8a7a; }
.nf-footer-col a.nf-tag-anf:hover { color: #00ff88; }
.nf-footer-col a.nf-tag-ent:hover { color: #8aa9ff; }
.nf-footer-col a.nf-tag-els:hover { color: #ffc870; }
.nf-footer-col a.nf-tag-lau:hover { color: #c4a0f0; }
.nf-footer-col a.nf-tag-ess:hover { color: #6fe0d0; }

.nf-footer-right { margin-left: auto; }
.nf-footer-right.nf-footer-col + .nf-footer-col,
.nf-footer-right.nf-footer-col {
  border-left: none;
  padding-left: 0;
}
.nf-footer-tagline {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.82);
}

/* ══════════════════════════
   ERROR
   ══════════════════════════ */
.nf-error {
  text-align: center;
  padding: 6rem 1.5rem;
}
.nf-error-code {
  font-family: var(--nf-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-bottom: 1rem;
}
.nf-error h1 {
  font-family: var(--nf-font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.nf-error a {
  font-family: var(--nf-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-green);
}

/* ══════════════════════════
   GHOST KOENIG EDITOR — required classes
   ══════════════════════════ */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 2rem);
  margin-right: calc(50% - 50vw + 2rem);
  max-width: 1000px;
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.kg-image { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.kg-card { margin: 2rem 0; }

.kg-bookmark-card {
  border: 1px solid var(--nf-border);
  border-radius: 4px;
  overflow: hidden;
}

.kg-video-card video { width: 100%; }

.kg-gallery-card .kg-gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kg-gallery-image img { width: 100%; height: auto; display: block; }


.nf-tip {
  border-bottom: 2px solid var(--nf-green);
  background: rgba(142, 45, 80, 0.08);
  border-radius: 2px;
  padding: 0 2px;
  cursor: help;
  position: relative;
  color: inherit;
}
.nf-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: var(--nf-font-body);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 4px;
  width: 380px;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 100;
  white-space: normal;
}
.nf-tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a1a1a;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 100;
}
.nf-tip:hover::after,
.nf-tip:hover::before { opacity: 1; }

/* nf-tip mobile — v1.8.7: tooltip didático adaptado a touch
   (hover não dispara em touch, então tap-to-toggle via :focus/:active) */
@media (max-width: 768px) {
  .nf-tip {
    /* permite focus em elemento não-interativo via tabindex em runtime;
       fallback é :active que dispara no tap */
  }
  .nf-tip::after {
    width: 280px;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px 14px;
  }
  .nf-tip:focus::after,
  .nf-tip:focus::before,
  .nf-tip:active::after,
  .nf-tip:active::before { opacity: 1; }
}

/* ══════════════════════════
   RESPONSIVE — MOBILE
   v1.4.7: wave-bar visível no mobile, só contador escondido
   ══════════════════════════ */
@media (max-width: 768px) {
  /* Mantém botão ↻ visível, esconde apenas o contador "X / 23" */
  .nf-wave-bar { display: flex; padding: 0.75rem 1rem; }
  .nf-wave-counter { display: none; }

  /* Hero padding mobile */
  .nf-hero { padding-bottom: 5.5rem; }

  .nf-filter-box {
    padding: 2rem 1.2rem 2rem;
  }

  .nf-filter-box h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .nf-header-inner {
    padding: 0 1rem;
    gap: 1rem;
  }

  .nf-nav { display: none; }

  .nf-subscribe-btn { display: none; } /* FAB faz esse papel no mobile */

  .nf-post,
  .nf-page,
  .nf-archive {
    padding: 2rem 1rem 3rem;
  }

  .nf-post-title { font-size: 1.75rem; }

  .nf-footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nf-footer-right { margin-left: 0; }

  .nf-subscribe-form { max-width: 100%; }

  .nf-hero-labels { bottom: 2rem; }
}

/* ══════════════════════════
   SIGNUP PAGE
   ══════════════════════════ */
.nf-signup-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 4rem 1.5rem;
}
.nf-signup-inner {
  text-align: center;
  max-width: 480px;
}
.nf-signup-inner h1 {
  font-family: var(--nf-font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.nf-signup-inner > p {
  font-size: 0.95rem;
  color: var(--nf-text-secondary);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════
   SEARCH PAGE (Pagefind)
   ══════════════════════════ */
.nf-search-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.nf-search-page h1 {
  font-family: var(--nf-font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--nf-ink);
}

/* Pagefind UI overrides — alinha com o visual NF */
.pagefind-ui {
  --pagefind-ui-scale: 0.85;
  --pagefind-ui-primary: #8E2D50;
  --pagefind-ui-text: #1a1a1a;
  --pagefind-ui-background: #f8f5f0;
  --pagefind-ui-border: rgba(0,0,0,0.12);
  --pagefind-ui-tag: #8E2D50;
  --pagefind-ui-font: 'DM Sans', -apple-system, sans-serif;
}

.pagefind-ui__search-input {
  font-family: var(--nf-font-body) !important;
  border-radius: 3px !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: #fff !important;
}

.pagefind-ui__search-input:focus {
  border-color: var(--nf-green) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(142, 45, 80, 0.12) !important;
}

.pagefind-ui__result-title a {
  font-family: var(--nf-font-title) !important;
  color: var(--nf-text) !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
}

.pagefind-ui__result-title a:hover {
  color: var(--nf-green) !important;
}

.pagefind-ui__result-excerpt {
  font-size: 0.875rem !important;
  color: var(--nf-text-secondary) !important;
  line-height: 1.6 !important;
}

.pagefind-ui__result-tag {
  font-family: var(--nf-font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: rgba(142, 45, 80, 0.08) !important;
  color: var(--nf-green) !important;
  border: none !important;
}

.pagefind-ui__button {
  font-family: var(--nf-font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: var(--nf-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
}

.nf-search-empty {
  font-family: var(--nf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-top: 3rem;
  text-align: center;
}

/* ══════════════════════════════════════════
   CTA PANEL — FAB fixo bottom-right em todas as telas
   v1.6.0
   ══════════════════════════════════════════ */

/* Post wrap — single column em todas as telas */
.nf-post-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem; /* bottom padding pro FAB */
  display: block;
}

.nf-post-wrap .nf-post {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Sidebar desativada em todas as telas */
.nf-cta-col { display: none; }

/* ══════════════════════════
   FAB — fixo bottom-right, todas as telas
   ══════════════════════════ */
.nf-mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; /* sempre visível após scroll, todas as telas */
}
.nf-mobile-fab.nf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cada botão FAB */
.nf-fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.nf-fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.24);
}
.nf-fab-btn:active { transform: translateY(0); }

/* Subscribe — verde */
.nf-fab-subscribe {
  background: var(--nf-green);
  color: #fff;
}
.nf-fab-subscribe svg { width: 18px; height: 18px; }

/* Share — branco com borda */
.nf-fab-share {
  background: #fff;
  color: rgba(26,26,26,0.5);
  border: 1px solid rgba(0,0,0,0.12) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.nf-fab-share svg { width: 16px; height: 16px; }

/* Dropdown do FAB share — abre pra cima, alinhado à direita */
.nf-mobile-share-wrap {
  position: relative;
}
.nf-mobile-share-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 4px;
  overflow: hidden;
  width: 170px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  z-index: 400;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nf-mobile-share-dropdown.nf-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nf-mobile-share-dropdown .nf-share-item { padding: 11px 14px; }

.nf-share-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-family: var(--nf-font-body);
  font-size: 0.78rem;
  color: rgba(26,26,26,0.65);
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  transition: background 0.1s;
}
.nf-share-item:last-child { border-bottom: none; }
.nf-share-item:hover { background: rgba(0,0,0,0.03); }
.nf-share-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.45; }
.nf-share-copy { color: var(--nf-green); }
.nf-share-copy svg { opacity: 0.8; color: var(--nf-green); }

/* ══════════════════════════
   RESPONSIVE — só ajuste de padding
   ══════════════════════════ */
@media (max-width: 768px) {
  .nf-post-wrap {
    max-width: 100%;
    padding: 2rem 1.25rem 5rem;
  }
}

/* ══════════════════════════════════════════
   NAV DROPDOWN — Categorias
   ══════════════════════════════════════════ */

.nf-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nf-nav-item {
  position: relative;
}

.nf-nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--nf-font-body);
  font-size: 0.85rem;
  color: var(--nf-text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.nf-nav-item > a:hover { color: var(--nf-text); }

.nf-nav-item > a svg {
  width: 10px;
  height: 10px;
  opacity: 0.4;
  transition: transform 0.2s;
}
.nf-nav-item:hover > a svg {
  transform: rotate(180deg);
}

.nf-nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 3px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  overflow: hidden;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 500;
}
.nf-nav-item:hover .nf-nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* triangle */
.nf-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: none;
  border-bottom-color: rgba(0,0,0,0.08);
}
.nf-nav-dropdown::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: none;
  border-bottom-color: #fff;
}

.nf-nav-dropdown a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.1s;
  text-decoration: none;
}
.nf-nav-dropdown a:last-child { border-bottom: none; }
.nf-nav-dropdown a:hover { background: rgba(0,0,0,0.02); }

/* Tag chips inside dropdown — same pattern as post tags */
.nf-dd-tag {
  font-family: var(--nf-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.nf-dd-hk  { background: rgba(196,56,42,0.1);  color: var(--nf-hk);  }
.nf-dd-anf { background: rgba(142, 45, 80, 0.1);  color: var(--nf-anf); }
.nf-dd-ent { background: rgba(51,102,204,0.1); color: var(--nf-ent); }
.nf-dd-els { background: rgba(196,138,26,0.1); color: var(--nf-els); }
.nf-dd-lau { background: rgba(92,45,145,0.1);  color: var(--nf-lau); }
.nf-dd-ess { background: rgba(14,124,123,0.1); color: var(--nf-ess); }

@media (max-width: 768px) {
  .nf-nav-item { display: none; }
}

/* ══════════════════════════════════════════
   NF-SUBHEAD — subtítulo de seção inline nos posts
   Classe CSS para subheadings dentro do corpo do artigo
   Substituir o inline style com font-size:11px por esta classe
   v1.6.9
   ══════════════════════════════════════════ */

.nf-subhead {
  font-family: var(--nf-font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-text-secondary);
  margin: 2.5rem 0 1rem;
  display: block;
}

/* Cor por seção — aplica a cor certa ao span interno */
.nf-subhead-hk  { color: var(--nf-hk);  }
.nf-subhead-anf { color: var(--nf-anf); }
.nf-subhead-ent { color: var(--nf-ent); }
.nf-subhead-els { color: var(--nf-els); }
.nf-subhead-lau { color: var(--nf-lau); }
.nf-subhead-ess { color: var(--nf-ess); }

/* ══════════════════════════════════════════
   MOBILE NAV — Hamburger + Drawer lateral
   v1.6.9
   ══════════════════════════════════════════ */

/* Botão hamburger — só mobile */
.nf-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
  color: var(--nf-text-secondary);
  transition: color 0.2s;
}
.nf-hamburger:hover { color: var(--nf-green); }
.nf-hamburger svg { display: block; }

/* Overlay escuro */
.nf-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.25s;
}
.nf-drawer-overlay.nf-open {
  display: block;
  opacity: 1;
}

/* Drawer lateral */
.nf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: var(--nf-header-bg);
  border-left: 1px solid var(--nf-border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0 2rem;
  overflow-y: auto;
}
.nf-drawer.nf-open {
  transform: translateX(0);
}

/* Header do drawer — logo + fechar */
.nf-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--nf-border);
  margin-bottom: 0.75rem;
}
.nf-drawer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  font-family: var(--nf-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--nf-ink);
}
.nf-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--nf-text-secondary);
  transition: color 0.2s;
}
.nf-drawer-close:hover { color: var(--nf-green); }

/* Links principais */
.nf-drawer-link {
  display: block;
  font-family: var(--nf-font-body);
  font-size: 0.9rem;
  color: var(--nf-text-secondary);
  padding: 0.7rem 1.25rem;
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
}
.nf-drawer-link:hover {
  color: var(--nf-text);
  background: rgba(0,0,0,0.03);
}

/* Label "Categorias" no drawer */
.nf-drawer-section-label {
  font-family: var(--nf-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  padding: 1.25rem 1.25rem 0.5rem;
}

/* Chips de categoria no drawer */
.nf-drawer-cats {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 0.75rem;
}
.nf-drawer-cats a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.5rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.nf-drawer-cats a:hover { background: rgba(0,0,0,0.04); }

@media (max-width: 768px) {
  .nf-hamburger { display: flex; align-items: center; }
  /* Esconde nav e botão assinar no header mobile */
  .nf-nav { display: none !important; }
  .nf-header-actions .nf-subscribe-btn { display: none; }
  /* Remove margin-left: auto do actions pra não empurrar hamburger */
  .nf-header-actions { margin-left: 0; }
  /* Logo fica à esquerda, search no meio, hamburger à direita */
  .nf-header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
  }
  .nf-logo {
    justify-self: start;
  }
}


/* ══════════════════════════════════════════
   v1.8.0 — ADIÇÕES
   ══════════════════════════════════════════ */

/* ── READING WIDTH
   760px → ~72 chars/linha @ 16px DM Sans
   Melhor ergonomia para textos 2k–4.5k palavras
   Override do 900px do wrap original
   ────────────────────────────────────────── */
.nf-post-wrap {
  max-width: 760px;
}

/* ── READING PROGRESS BAR
   Linha verde de 2px no topo. Só aparece em posts.
   JS em default.hbs alimenta a largura via CSS var.
   ────────────────────────────────────────── */
#nf-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--nf-green);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: width 0.08s linear;
  box-shadow: 0 1px 8px rgba(142, 45, 80, 0.55);
}
.post-template #nf-progress {
  opacity: 1;
}

/* ── NF-DETAILS — colapsáveis
   Resolve o CSS inline em cada post do dossiê.
   Artigos existentes: os inline styles do <div> interno
   convivem sem conflito (inline > cascata).
   Novas ocorrências: zero inline CSS necessário.
   ────────────────────────────────────────── */
.nf-details {
  border: 1px solid rgba(92, 45, 145, 0.18);
  border-radius: 4px;
  margin: 20px 0;
  overflow: hidden;
}
.nf-details summary {
  font-family: var(--nf-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-lau);
  padding: 11px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  user-select: none;
  background: rgba(92, 45, 145, 0.04);
  transition: background 0.15s;
}
.nf-details summary::-webkit-details-marker { display: none; }
.nf-details summary::before {
  content: '▶';
  font-size: 7px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
  opacity: 0.7;
}
.nf-details[open] > summary::before {
  transform: rotate(90deg);
}
.nf-details summary:hover {
  background: rgba(92, 45, 145, 0.08);
}
.nf-details[open] > summary {
  border-bottom: 1px solid rgba(92, 45, 145, 0.12);
}
/* Conteúdo dentro do details quando não tem div wrapper */
.nf-details > p,
.nf-details > ul,
.nf-details > ol {
  padding: 14px 16px;
  font-family: var(--nf-font-body);
  font-size: 14px;
  color: var(--nf-text);
  line-height: 1.7;
  margin: 0;
}

/* ── NF-ESSENCIAL — bloco de highlights
   Replica exatamente o CSS inline atual dos posts.
   A partir de agora: só classe, sem inline.
   ────────────────────────────────────────── */
.nf-essencial {
  border-left: 4px solid var(--nf-lau);
  background: rgba(92, 45, 145, 0.05);
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.nf-essencial-label {
  font-family: var(--nf-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nf-lau);
  margin-bottom: 10px;
  display: block;
}
.nf-essencial ul {
  margin: 0;
  padding-left: 18px;
}
.nf-essencial li {
  font-family: var(--nf-font-body);
  font-size: 15px;
  color: var(--nf-text);
  line-height: 1.65;
  margin-bottom: 6px;
}
.nf-essencial li:last-child { margin-bottom: 0; }
.nf-essencial > p {
  font-family: var(--nf-font-body);
  font-size: 15px;
  color: var(--nf-text);
  line-height: 1.65;
  margin: 0;
}

/* ── TABLES
   Post-content tables sem estilo anteriormente.
   Ghost não injeta classes — aplica via descendant.
   ────────────────────────────────────────── */
.nf-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
}
.nf-post-content th {
  font-family: var(--nf-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  padding: 0.55rem 0.9rem;
  border-bottom: 2px solid var(--nf-border);
  text-align: left;
  font-weight: 400;
}
.nf-post-content td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--nf-border);
  vertical-align: top;
}
.nf-post-content tr:last-child td { border-bottom: none; }
.nf-post-content tbody tr:hover td {
  background: rgba(0, 0, 0, 0.018);
}

/* ── FIGCAPTION / IMAGE CAPTIONS
   ────────────────────────────────────────── */
.nf-post-content figcaption,
.kg-image-card figcaption,
.kg-gallery-card figcaption {
  font-family: var(--nf-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--nf-text-muted);
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* ── CODE BLOCKS (Koenig editor)
   Estilo anterior: herdava padrão do browser.
   ────────────────────────────────────────── */
.kg-code-card {
  margin: 2rem 0;
}
.kg-code-card pre {
  background: #f0ede7;
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 1.2rem 1.4rem;
  overflow-x: auto;
  margin: 0;
}
.kg-code-card pre code {
  font-family: var(--nf-font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--nf-text);
  background: none;
  padding: 0;
  border-radius: 0;
}

/* ── HEADING ANCHORS
   JS em post.hbs injeta .nf-anchor em cada h2/h3.
   Hover revela o link de seção.
   ────────────────────────────────────────── */
.nf-anchor {
  opacity: 0;
  margin-left: 0.45em;
  color: var(--nf-green);
  font-family: var(--nf-font-mono);
  font-size: 0.6em;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.15s;
  vertical-align: middle;
  line-height: 1;
}
.nf-post-content h2:hover .nf-anchor,
.nf-post-content h3:hover .nf-anchor {
  opacity: 0.6;
}
.nf-anchor:hover {
  opacity: 1 !important;
}

/* ── NF-CALLOUT — novo componente
   Para artigos futuros. Não exige reescrita.
   3 variantes: padrão / warn / alert / signal
   Uso: <div class="nf-callout nf-callout--warn">
          <span class="nf-callout-icon">⚠</span>
          <div class="nf-callout-body"><p>Texto</p></div>
        </div>
   ────────────────────────────────────────── */
.nf-callout {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  margin: 2rem 0;
  border-radius: 3px;
  border: 1px solid var(--nf-border);
  background: var(--nf-bg-warm);
}
.nf-callout-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.7;
  opacity: 0.75;
}
.nf-callout-body {
  font-family: var(--nf-font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--nf-text-secondary);
}
.nf-callout-body p { margin: 0; }
.nf-callout--warn {
  border-color: rgba(196, 138, 26, 0.28);
  background: rgba(196, 138, 26, 0.04);
}
.nf-callout--alert {
  border-color: rgba(196, 58, 42, 0.22);
  background: rgba(196, 58, 42, 0.04);
}
.nf-callout--signal {
  border-color: rgba(142, 45, 80, 0.22);
  background: rgba(142, 45, 80, 0.04);
}

/* ── NF-MODAL — overrides de contraste (v1.8.1)
   .nf-modal-eyebrow tem color:#5C2D91 inline nos posts —
   roxo escuro em fundo #1a1a1a é ilegível.
   Override aqui: roxo claro suficiente pra fundo dark.
   ────────────────────────────────────────── */
.nf-modal-header .nf-modal-eyebrow {
  color: #b388ff !important;
}
html {
  scroll-behavior: smooth;
}

/* ── FOCUS STATES — acessibilidade básica
   ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--nf-green);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── PRINT STYLES
   Oculta UI, otimiza tipografia.
   Útil para imprimir/exportar PDF do dossiê.
   ────────────────────────────────────────── */
@media print {
  .nf-header,
  .nf-footer,
  .nf-mobile-fab,
  #nf-progress,
  .nf-post-footer,
  .nf-anchor,
  .nf-drawer,
  .nf-drawer-overlay { display: none !important; }

  body { background: #fff; color: #000; }

  .nf-post-wrap {
    max-width: 100%;
    padding: 0;
  }

  .nf-post-content {
    font-size: 11pt;
    line-height: 1.75;
    color: #000;
  }
  .nf-post-title {
    font-size: 20pt;
    color: #000;
  }
  .nf-post-content a {
    color: #000;
    border-bottom: none;
  }
  .nf-post-content a[href]::after {
    content: " [" attr(href) "]";
    font-size: 0.72em;
    color: #666;
    font-family: var(--nf-font-mono);
  }
  /* Suprime tooltips no print */
  .nf-tip::after,
  .nf-tip::before { display: none !important; }
  /* Abre todos os details automaticamente no print */
  .nf-details[open],
  .nf-details { overflow: visible; }
  .nf-details summary { background: none; border: none; }
  .nf-essencial {
    border-left: 3px solid #333;
    background: #f5f5f5;
  }
  .nf-post-content table { page-break-inside: avoid; }
}


/* ══════════════════════════════════════════
   v1.8.1 — FIXES
   ══════════════════════════════════════════ */

/* ── FIX 1: Progress bar — espessura 2px → 4px
   ────────────────────────────────────────── */
#nf-progress {
  height: 4px;
}

/* ── FIX 2: Modal eyebrow — contraste no fundo escuro
   .nf-modal-header { background: #1a1a1a } está inline no artigo.
   #5C2D91 nesse fundo = WCAG fail (ratio ~3.1).
   Override com especificidade maior que o <style> do post:
   roxo claro com ratio >4.5 em #1a1a1a.
   ────────────────────────────────────────── */
.nf-modal-header .nf-modal-eyebrow {
  color: #c4a0f0 !important;
}

/* ── FIX 3: Print — cabeçalho com nome + blog
   body::before injeta linha de identidade no topo.
   Fontes do Google Fonts não carregam no print —
   fallback para monospace nativo (aceita degrade).
   ────────────────────────────────────────── */
@media print {
  body::before {
    content: 'NOISE FLOOR  ×  Anna Graboski';
    display: block;
    font-family: 'IBM Plex Mono', 'SF Mono', monospace;
    font-size: 8pt;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #333;
    padding-bottom: 10pt;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20pt;
  }

  /* FIX 4: Print — details colapsáveis
     CSS sozinho não abre <details> fechados.
     Force display do conteúdo não-summary.
     O JS beforeprint em default.hbs faz o open,
     este CSS é o fallback de segurança.
  ────────────────────────────────────────── */
  .nf-details > *:not(summary) {
    display: block !important;
  }
  .nf-details summary::before {
    display: none;
  }
  .nf-details summary {
    background: none !important;
    border: none !important;
    padding-left: 0 !important;
    font-weight: 600;
  }

  /* FIX 5: Print — post-index (flex inline colapsa)
     Os cards do índice usam display:flex com inline styles.
     No print, força block para evitar colapso.
     Aplica via .nf-post-content que é o container.
  ────────────────────────────────────────── */
  .nf-post-content [style*="display: flex"],
  .nf-post-content [style*="display:flex"] {
    display: block !important;
  }
  /* Restaura os numerinhos do índice como texto inline */
  .nf-post-content [style*="width: 32px"],
  .nf-post-content [style*="width: 28px"],
  .nf-post-content [style*="min-width: 32px"],
  .nf-post-content [style*="min-width: 28px"] {
    display: inline !important;
    width: auto !important;
    min-width: auto !important;
    padding-right: 8px;
  }
}


/* ══════════════════════════════════════════
   v1.8.2 — FIXES
   ══════════════════════════════════════════ */

/* ── FIX: Progress bar — abaixo do header (não escondida por ele)
   Header tem 52px de altura. Bar fica em top: 52px.
   Espessura 5px. box-shadow acentua a visibilidade.
   ────────────────────────────────────────── */
#nf-progress {
  top: 52px;
  height: 5px;
  box-shadow: 0 1px 10px rgba(142, 45, 80, 0.60);
  border-radius: 0 3px 3px 0;
}

/* ── FIX: .nf-subhead — padroniza o estilo de subtítulo de seção
   Resolve inconsistência entre class vs inline styles nos artigos existentes.
   Os inline styles nos artigos antigos continuam ganhando da cascata —
   este fix é para artigos novos e garante que a classe está correta.
   ────────────────────────────────────────── */
.nf-subhead {
  font-family: var(--nf-font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;
  color: var(--nf-text-muted) !important;
  margin: 2.5rem 0 0.9rem !important;
  display: block !important;
  line-height: 1.4 !important;
}
/* Cores por seção sobrescrevem o muted padrão */
.nf-subhead.nf-subhead-hk  { color: var(--nf-hk)  !important; }
.nf-subhead.nf-subhead-anf { color: var(--nf-anf) !important; }
.nf-subhead.nf-subhead-ent { color: var(--nf-ent) !important; }
.nf-subhead.nf-subhead-els { color: var(--nf-els) !important; }
.nf-subhead.nf-subhead-lau { color: var(--nf-lau) !important; }
.nf-subhead.nf-subhead-ess { color: var(--nf-ess) !important; }


/* ══════════════════════════════════════════
   v1.9.1 — Override fontes antigas em inline styles dos posts
   Posts antigos publicados antes do DS v2 têm inline font-family 'DM Sans',
   'Instrument Serif', 'JetBrains Mono' com specificity inline (1,0,0,0)
   que ganha do CSS do tema. Mapeia de volta pras fontes v2.
   ══════════════════════════════════════════ */

/* DM Sans → Inter */
.nf-post-content [style*="DM Sans"],
.nf-post-content [style*="'DM Sans'"],
.nf-post-content [style*="\"DM Sans\""],
.nf-page-content [style*="DM Sans"],
.nf-page-content [style*="'DM Sans'"],
.nf-page-content [style*="\"DM Sans\""],
.gh-content [style*="DM Sans"],
.gh-content [style*="'DM Sans'"],
.gh-content [style*="\"DM Sans\""] {
  font-family: var(--nf-font-body-v2), -apple-system, sans-serif !important;
}

/* Instrument Serif → Inter Tight */
.nf-post-content [style*="Instrument Serif"],
.nf-post-content [style*="'Instrument Serif'"],
.nf-post-content [style*="\"Instrument Serif\""],
.nf-page-content [style*="Instrument Serif"],
.nf-page-content [style*="'Instrument Serif'"],
.nf-page-content [style*="\"Instrument Serif\""],
.gh-content [style*="Instrument Serif"],
.gh-content [style*="'Instrument Serif'"],
.gh-content [style*="\"Instrument Serif\""] {
  font-family: var(--nf-font-display), system-ui, sans-serif !important;
}

/* JetBrains Mono → IBM Plex Mono */
.nf-post-content [style*="JetBrains Mono"],
.nf-post-content [style*="'JetBrains Mono'"],
.nf-post-content [style*="\"JetBrains Mono\""],
.nf-page-content [style*="JetBrains Mono"],
.nf-page-content [style*="'JetBrains Mono'"],
.nf-page-content [style*="\"JetBrains Mono\""],
.gh-content [style*="JetBrains Mono"],
.gh-content [style*="'JetBrains Mono'"],
.gh-content [style*="\"JetBrains Mono\""] {
  font-family: var(--nf-font-mono-v2), ui-monospace, monospace !important;
}

/* ══════════════════════════════════════════
   SEARCH MODAL — v1.8.5
   ══════════════════════════════════════════ */

.nf-smodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 18, 14, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  padding-left: 1rem;
  padding-right: 1rem;
  animation: nf-smodal-in 0.15s ease;
}
.nf-smodal-overlay[hidden] { display: none; }

@keyframes nf-smodal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nf-smodal {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 2px 12px rgba(0,0,0,0.10);
  overflow: hidden;
  animation: nf-smodal-slide 0.15s ease;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

@keyframes nf-smodal-slide {
  from { transform: translateY(-8px); opacity: 0.8; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Input row */
.nf-smodal-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--nf-border);
  flex-shrink: 0;
}
.nf-smodal-icon {
  color: var(--nf-text-muted);
  flex-shrink: 0;
}
#nf-smodal-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--nf-font-body);
  font-size: 1.05rem;
  color: var(--nf-text);
  padding: 1rem 0;
  background: none;
  caret-color: var(--nf-green);
}
#nf-smodal-input::placeholder { color: #bbb; }
#nf-smodal-input::-webkit-search-cancel-button { display: none; }

.nf-smodal-esc {
  font-family: var(--nf-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--nf-text-muted);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  transition: border-color 0.15s, color 0.15s;
}
.nf-smodal-esc:hover {
  border-color: var(--nf-text-muted);
  color: var(--nf-text);
}

/* Status */
.nf-smodal-status {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  padding: 0.6rem 1.25rem 0;
  min-height: 1.4rem;
  flex-shrink: 0;
}
.nf-smodal-status.loading { color: var(--nf-green); }
.nf-smodal-status.error   { color: var(--nf-hk); }

/* Results scrollable */
.nf-smodal-results {
  overflow-y: auto;
  padding: 0.5rem 0 0.75rem;
  flex: 1;
}

.nf-smodal-result {
  display: block;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.1s;
}
.nf-smodal-result:last-child { border-bottom: none; }
.nf-smodal-result:hover {
  background: rgba(142, 45, 80, 0.04);
}
.nf-smodal-result:hover .nf-smodal-rtitle {
  color: var(--nf-green);
}

.nf-smodal-rmeta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}
.nf-smodal-date {
  font-family: var(--nf-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nf-text-muted);
}
.nf-smodal-rtitle {
  font-family: var(--nf-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--nf-ink);
  line-height: 1.3;
  margin-bottom: 0.2rem;
  transition: color 0.1s;
}
.nf-smodal-rexcerpt {
  font-family: var(--nf-font-body);
  font-size: 0.82rem;
  color: var(--nf-text-secondary);
  line-height: 1.55;
}
.nf-smodal-rtitle mark,
.nf-smodal-rexcerpt mark {
  background: rgba(142, 45, 80, 0.14);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  font-style: normal;
}

.nf-smodal-empty {
  font-family: var(--nf-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--nf-text-muted);
  text-align: center;
  padding: 2rem 1.25rem;
}

/* Tags dentro do modal — herdam o .nf-tag do tema */
.nf-smodal-rmeta .nf-tag {
  font-size: 0.52rem;
  padding: 0.15rem 0.45rem;
}

@media (max-width: 768px) {
  .nf-smodal-overlay { padding-top: 60px; }
  .nf-smodal { max-height: calc(100vh - 80px); }
}

/* ══════════════════════════════════════════
   v1.9.2 — NUVEM INTERATIVA (hero cloud)
   Substitui o waveform anterior. Modo demo silencioso:
   - Wordmark interno, controles, ghosts e CTA escondidos
   - Auto-cycle entre as 3 perspectivas a cada 4s
   - Click/drag continuam funcionando (hover dispara tooltip)
   Tokens escopados em .nf-hero-cloud pra nao colidir com :root do tema.
   ══════════════════════════════════════════ */

.nf-hero-cloud {
  /* Tokens locais (escopo da nuvem) */
  --display: var(--nf-font-display);
  --body: var(--nf-font-body-v2);
  --mono: var(--nf-font-mono-v2);
  --bg: var(--nf-cream);
  --bg-soft: var(--nf-cream-soft);
  --ink: #14140f;
  --ink-soft: #3a3a32;
  --muted: #888880;
  --muted-deep: #b8b5a8;
  --line: #d8d3c0;
  --c-emp: #16c878;
  --c-clev: #0a7849;
  --c-inv: #054a2e;
  --c-hot: #14140f;
  --c-hot-med: #3a3a32;
  --c-hot-cold: #b8b5a8;
  --c-active: var(--c-clev);
  --gold: var(--nf-gold);
  --gold-deep: var(--nf-gold-deep);
  --gold-soft: var(--nf-gold-soft);

  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  height: auto;
  min-height: 68vh;
  overflow: hidden;
  padding-top: 0;
}
  .nfc-frame {
    width: 100vw; height: 100vh; min-height: 800px;
    position: relative; overflow: hidden;
  }
  .nfc-head {
    position: absolute; top: 24px; left: 36px; right: 36px;
    z-index: 10; display: flex; align-items: center; justify-content: space-between;
    pointer-events: none;
  }
  .nfc-wordmark { display: flex; align-items: baseline; gap: 10px; pointer-events: auto; }
  .nfc-wm-brackets { font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--muted); }
  .nfc-wm-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
  .nfc-wm-div { color: var(--muted-deep); font-family: var(--mono); }
  .nfc-wm-adv {
    font-family: var(--mono); font-weight: 500; font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--c-active); transition: color 0.6s;
  }
  .nfc-controls { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
  .nfc-persp {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; padding: 9px 16px;
    border: 1px solid var(--line); background: transparent;
    color: var(--muted); cursor: pointer; font-weight: 500;
    transition: all 0.25s;
  }
  .nfc-persp:hover { border-color: var(--ink); color: var(--ink); }
  .nfc-persp.nfc-active {
    background: var(--c-active); color: var(--bg); border-color: var(--c-active);
  }
  .nfc-pause-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--line); background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    margin-left: 6px; transition: all 0.2s;
  }
  .nfc-pause-btn:hover { border-color: var(--ink); }
  .nfc-pause-btn svg { width: 12px; height: 12px; }
  .nfc-pause-btn .nfc-ico-play { display: none; }
  .nfc-pause-btn.nfc-paused .nfc-ico-pause { display: none; }
  .nfc-pause-btn.nfc-paused .nfc-ico-play { display: block; }
  .nfc-reset-btn {
    font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
    text-transform: uppercase; padding: 9px 14px;
    border: 1px solid var(--line); background: transparent;
    color: var(--muted); cursor: pointer;
    margin-left: 4px; transition: all 0.2s;
  }
  .nfc-reset-btn:hover { border-color: var(--ink); color: var(--ink); }

  .nfc-cycle-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    z-index: 11; background: transparent;
  }
  .nfc-cycle-fill {
    height: 100%; background: var(--c-active); width: 0%;
    transition: background 0.6s;
  }

  .nfc-canvas { width: 100%; height: 100%; display: block; cursor: default; }
  .nfc-canvas .nfc-node circle.main {
    cursor: pointer;
    transition: r 0.25s, fill 0.45s, opacity 0.45s;
  }
  .nfc-canvas .nfc-node.nfc-dragging circle { cursor: grabbing; }
  .nfc-canvas .nfc-node text {
    pointer-events: none; user-select: none;
    transition: opacity 0.45s, fill 0.45s, font-size 0.45s;
  }
  .nfc-canvas .nfc-link { transition: stroke 0.6s, stroke-opacity 0.6s; }
  .nfc-canvas .nfc-node.nfc-manual circle.main { stroke: var(--ink); stroke-width: 0.6; stroke-dasharray: 2,2; }

  .nfc-persp-info {
    position: absolute; z-index: 9;
    pointer-events: none;
    transition: opacity 0.45s;
    max-width: 360px;
    padding: 18px 22px;
    background: rgba(250, 248, 241, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(20, 20, 15, 0.04), 0 8px 32px rgba(20, 20, 15, 0.05);
  }
  .nfc-persp-info.tl { top: 76px; left: 24px; }
  .nfc-persp-info.tr { top: 76px; right: 24px; text-align: right; }
  .nfc-persp-info.br { bottom: 64px; right: 24px; text-align: right; }

  .nfc-pi-tag {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
    font-weight: 500;
  }
  .nfc-pi-name {
    font-family: var(--display); font-weight: 700; font-size: 30px;
    line-height: 1; letter-spacing: -0.015em;
    color: var(--c-active); margin-bottom: 8px;
    transition: color 0.6s;
  }
  .nfc-pi-context {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
    color: var(--muted); margin-bottom: 16px; line-height: 1.5;
  }
  .nfc-pi-frase {
    font-family: var(--display); font-weight: 500; font-size: 16px;
    line-height: 1.35; color: var(--ink); margin-bottom: 16px;
    letter-spacing: -0.005em;
  }
  .nfc-pi-frase em {
    color: var(--c-active); font-style: normal;
    border-bottom: 2px solid var(--c-active);
    transition: color 0.6s, border-color 0.6s;
  }
  .nfc-pi-dados {
    display: flex; flex-direction: column; gap: 14px;
    padding-top: 18px; border-top: 1px solid var(--line);
  }
  .nfc-pi-dado {
    display: flex; flex-direction: column; gap: 4px;
    padding-left: 14px;
    border-left: 2px solid var(--c-active);
    transition: border-color 0.45s;
  }
  .nfc-pi-dado .nfc-num {
    font-family: var(--display); font-weight: 700; font-size: 28px;
    color: var(--c-active); transition: color 0.6s; letter-spacing: -0.02em;
    line-height: 1;
  }
  .nfc-pi-dado .nfc-claim {
    font-family: var(--body); font-size: 12.5px; font-weight: 400;
    color: var(--ink-soft); line-height: 1.4;
    letter-spacing: 0.005em;
  }
  .nfc-pi-dado .nfc-fonte {
    font-family: var(--mono); font-size: 9px;
    color: var(--muted); letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
  }
  .nfc-persp-info.tr .nfc-pi-dado,
  .nfc-persp-info.br .nfc-pi-dado {
    padding-left: 0; padding-right: 14px;
    border-left: none; border-right: 2px solid var(--c-active);
    align-items: flex-end;
  }

  .nfc-persp-ghost {
    position: absolute; z-index: 8; pointer-events: none;
    opacity: 0.18;
    padding: 12px 16px;
  }
  .nfc-persp-ghost.tl { top: 84px; left: 32px; }
  .nfc-persp-ghost.tr { top: 84px; right: 32px; text-align: right; }
  .nfc-persp-ghost.br { bottom: 72px; right: 32px; text-align: right; }
  .nfc-pg-tag {
    font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
  }
  .nfc-pg-name {
    font-family: var(--display); font-weight: 600; font-size: 22px;
    line-height: 1; letter-spacing: -0.01em; color: var(--ink);
  }

  .nfc-tooltip {
    position: absolute; z-index: 50; pointer-events: none;
    background: var(--ink); color: var(--bg);
    padding: 16px 18px; max-width: 340px;
    border-left: 3px solid var(--c-active);
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s, border-color 0.45s;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  }
  .nfc-tooltip.nfc-visible { opacity: 1; transform: translateY(0); }
  .nfc-tt-head {
    font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted-deep);
    margin-bottom: 8px; display: flex; gap: 8px; align-items: center;
  }
  .nfc-tt-persp { color: var(--c-active); transition: color 0.45s; font-weight: 600; }
  .nfc-tt-concern {
    font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em;
    text-transform: uppercase; padding: 2px 6px;
    border: 1px solid; display: inline-block;
    margin-left: auto;
  }
  .nfc-tt-concern.c3 { color: var(--c-active); border-color: var(--c-active); font-weight: 700; }
  .nfc-tt-concern.c2 { color: var(--ink); border-color: var(--ink-soft); }
  .nfc-tt-concern.c1 { color: var(--muted-deep); border-color: var(--muted-deep); }
  .nfc-tt-type {
    font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em;
    color: var(--muted); text-transform: uppercase; margin-bottom: 6px;
  }
  .nfc-tt-node {
    font-family: var(--display); font-weight: 700; font-size: 18px;
    color: var(--bg); margin-bottom: 10px; letter-spacing: -0.005em;
  }
  .nfc-tt-body {
    font-family: var(--body); font-size: 13px;
    line-height: 1.55; color: rgba(250,248,241,0.88);
  }

  .nfc-cta {
    position: absolute; bottom: 28px; left: 36px;
    z-index: 10; display: flex; flex-direction: column;
    gap: 6px; pointer-events: none; max-width: 360px;
  }
  .nfc-cta-line {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
    color: var(--muted); text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
  }
  .nfc-cta-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-active); transition: background 0.45s;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
  }
  .nfc-cta-line strong { color: var(--ink-soft); font-weight: 500; }
  .nfc-cta-line kbd {
    font-family: var(--mono); background: var(--bg-soft); border: 1px solid var(--line);
    padding: 2px 6px; font-size: 9px; margin: 0 2px; color: var(--ink-soft);
  }


/* === HERO COM NUVEM INTERATIVA === */
.nf-hero-cloud {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
}
.nf-hero-cloud .nfc-frame {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
}
.nf-hero-cloud .nfc-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
/* esconde wordmark interno da nuvem — o header do site já cobre */
.nf-hero-cloud .nfc-head .nfc-wordmark { display: none; }
.nf-hero-cloud .nfc-head {
  top: 110px !important;
  left: 36px !important;
  right: auto !important;
  width: 500px !important;
  max-width: calc(100vw - 380px) !important;
  justify-content: flex-start !important;
}
.nf-hero-cloud .nfc-controls {
  width: 100% !important;
  justify-content: space-between !important;
  gap: 4px !important;
}
.nf-hero-cloud .nfc-controls .nfc-persp {
  flex: 1 1 auto;
  text-align: center;
  padding: 9px 8px !important;
  font-size: 9.5px !important;
}
.nf-hero-cloud .nfc-cycle-bar { top: 0 !important; }
.nf-hero-cloud .nfc-persp-info,
.nf-hero-cloud .nfc-persp-info.tl,
.nf-hero-cloud .nfc-persp-info.tr,
.nf-hero-cloud .nfc-persp-info.br {
  top: 110px !important;
}

/* Botões das perspectivas + pause + reset com fundo opaco */
.nf-hero-cloud .nfc-persp,
.nf-hero-cloud .nfc-pause-btn,
.nf-hero-cloud .nfc-reset-btn {
  background: var(--bg) !important;
}
.nf-hero-cloud .nfc-persp.nfc-active {
  background: var(--c-active, var(--gold)) !important;
  color: var(--bg) !important;
}

/* Pitch sobreposto centro-esquerda — com backdrop pra leitura limpa */
.nf-hero-pitch {
  position: absolute;
  top: 180px;
  left: 36px;
  z-index: 6;
  max-width: 500px;
  pointer-events: none;
  padding: 32px 36px;
  background: rgba(250, 248, 241, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(20, 20, 15, 0.03), 0 12px 40px rgba(20, 20, 15, 0.05);
}
.nf-hero-pitch .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.nf-hero-pitch h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.nf-hero-pitch h1 em {
  font-style: normal;
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 1px;
}
.nf-hero-pitch .lede {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 420px;
}

/* Persp-info do site (override do v5) — desloca pra cantos sem texto do pitch */
.nf-hero-cloud .nfc-persp-info {
  background: rgba(250, 248, 241, 0.92) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 22px !important;
}
/* Caixa da perspectiva FIXA à direita (independente de p.pos) */
.nf-hero-cloud .nfc-persp-info,
.nf-hero-cloud .nfc-persp-info.tl,
.nf-hero-cloud .nfc-persp-info.tr,
.nf-hero-cloud .nfc-persp-info.br {
  top: 110px !important;
  bottom: auto !important;
  left: auto !important;
  right: 36px !important;
  text-align: right !important;
  transform: none !important;
}
/* Borda lateral do dado vira direita sempre */
.nf-hero-cloud .nfc-persp-info .nfc-pi-dado {
  padding-left: 0 !important;
  padding-right: 14px !important;
  border-left: none !important;
  border-right: 2px solid var(--c-active) !important;
  align-items: flex-end !important;
}
.nf-hero-cloud .nfc-persp-ghost { display: none !important; }
.nf-hero-cloud .nfc-cta { display: none !important; }

/* Scroll cue na base */
.nf-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

@media (max-width: 860px) {
  .nf-hero-cloud {
    height: auto !important;
    min-height: 100vh !important;
    padding-bottom: 32px;
  }
  .nf-hero-cloud .nfc-frame {
    height: 100vh !important;
    min-height: 540px !important;
  }
  .nf-hero-cloud .nfc-head {
    top: 90px !important;
    left: 16px !important;
    width: calc(100vw - 32px) !important;
    max-width: none !important;
  }
  .nf-hero-cloud .nfc-controls .nfc-persp {
    font-size: 9px !important;
    padding: 8px 6px !important;
    letter-spacing: 0.1em !important;
  }
  .nf-hero-pitch {
    left: 16px;
    right: 16px;
    max-width: none;
    top: 170px;
    padding: 20px 22px;
  }
  .nf-hero-pitch h1 { font-size: 26px; line-height: 1.15; }
  .nf-hero-pitch .lede { font-size: 14px; }
  .nf-hero-pitch .label { font-size: 10px; margin-bottom: 14px; }
  .nf-hero-cloud .nfc-persp-info,
  .nf-hero-cloud .nfc-persp-info.tl,
  .nf-hero-cloud .nfc-persp-info.tr,
  .nf-hero-cloud .nfc-persp-info.br {
    top: auto !important;
    bottom: 24px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
    text-align: left !important;
    padding: 14px 18px !important;
  }
  .nf-hero-cloud .nfc-persp-info .nfc-pi-name { font-size: 22px; }
  .nf-hero-cloud .nfc-persp-info .nfc-pi-frase { font-size: 14px; }
  .nf-hero-cloud .nfc-persp-info .nfc-pi-context { display: none; }
  .nf-hero-cloud .nfc-persp-info .nfc-pi-dados { display: none; }
  .nf-hero-cloud .nfc-persp-info .nfc-pi-dado {
    padding-left: 12px !important;
    padding-right: 0 !important;
    border-left: 2px solid var(--c-active) !important;
    border-right: none !important;
    align-items: flex-start !important;
  }
}

/* NFA footer parity */
.nf-footer {
  padding: 56px 0 80px;
  background: var(--nf-gold-deep);
  color: var(--nf-cream);
  margin-top: 0;
  border-top: 0;
}
.nf-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: block;
}
.nf-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.nf-footer .footer-brand {
  font-family: var(--nf-font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--nf-cream);
  margin-bottom: 8px;
}
.nf-footer .footer-brand .brackets {
  font-family: var(--nf-font-mono);
  font-weight: 500;
  color: rgba(250, 248, 241, 0.55);
}
.nf-footer .footer-brand .footer-division {
  font-family: var(--nf-font-mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--nf-cream);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-left: 1px solid rgba(250, 248, 241, 0.3);
  padding-left: 10px;
  margin-left: 6px;
}
.nf-footer .footer-tag {
  font-family: var(--nf-font-mono);
  font-size: 11px;
  color: rgba(250, 248, 241, 0.7);
  letter-spacing: 0.04em;
  line-height: 1.6;
  max-width: 360px;
}
.nf-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf-footer .footer-col a {
  color: rgba(250, 248, 241, 0.82);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s;
}
.nf-footer .footer-col a:hover {
  color: var(--nf-cream);
}
.nf-footer .footer-fine {
  border-top: 1px solid rgba(250, 248, 241, 0.15);
  padding-top: 24px;
  font-family: var(--nf-font-mono);
  font-size: 11px;
  color: rgba(250, 248, 241, 0.5);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.nf-footer .footer-fine strong {
  color: rgba(250, 248, 241, 0.85);
  font-weight: 500;
}
.nf-footer .footer-fine button {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(250, 248, 241, 0.72);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nf-footer .footer-fine button:hover {
  color: var(--nf-cream);
}

@media (max-width: 860px) {
  .nf-footer {
    padding: 56px 0 80px;
  }
  .nf-footer-inner {
    padding: 0 28px;
  }
  .nf-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Intelligence home: green hero, search, 3:1 feed/filter layout */
.home-template .nf-header:not(.scrolled) {
  background: var(--nf-gold-deep);
  border-bottom: none;
}
.home-template .nf-header:not(.scrolled) .nf-logo,
.home-template .nf-header:not(.scrolled) .nf-nav a {
  color: #ffffff;
  --nf-logo-accent: #ffffff;
}
/* nf-logo-bracket removido (logo agora é SVG); brackets em svg usam fill hardcoded */
.home-template .nf-header:not(.scrolled) .nf-nav a:not(.nf-nav-scout) {
  color: rgba(255, 255, 255, 0.78);
}
.home-template .nf-header:not(.scrolled) .nf-nav a:not(.nf-nav-scout):hover {
  color: #ffffff;
}
.home-template .nf-header:not(.scrolled) .nf-nav-scout {
  border-color: transparent;
  color: #ffffff !important;
}
.home-template .nf-header:not(.scrolled) .nf-nav a.nf-subscribe-btn {
  background: #ffffff;
  color: var(--nf-gold-deep) !important;
}

.nf-editorial-intro {
  background: var(--nf-gold-deep);
  border-bottom: 0;
  color: #ffffff;
  padding: 132px 28px 58px;
}
.nf-editorial-inner {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  max-width: 1080px;
}
.nf-editorial-intro .nf-section-kicker {
  color: #ffffff;
}
.nf-editorial-intro h1 {
  color: #ffffff;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.98;
  margin-bottom: 22px;
}
.nf-editorial-intro p:last-child {
  color: #ffffff;
  font-size: 19px;
  max-width: 680px;
}
.nf-editorial-copy p {
  color: #ffffff;
}
.nf-hero-search {
  border-left: 3px solid rgba(250, 248, 241, 0.42);
  padding-left: 24px;
}
.nf-hero-search label {
  color: rgba(250, 248, 241, 0.66);
  display: block;
  font-family: var(--nf-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.nf-hero-search-field {
  align-items: center;
  background: rgba(250, 248, 241, 0.1);
  border: 1px solid rgba(250, 248, 241, 0.34);
  display: flex;
  gap: 12px;
  min-height: 54px;
  padding: 0 8px 0 16px;
}
.nf-hero-search-field input {
  background: transparent;
  border: 0;
  color: rgba(250, 248, 241, 0.94);
  flex: 1;
  font: 500 15px var(--nf-font-body-v2);
  min-width: 0;
  outline: 0;
}
.nf-hero-search-field input::placeholder {
  color: rgba(250, 248, 241, 0.58);
}
.nf-hero-search-field button {
  align-items: center;
  background: rgba(250, 248, 241, 0.94);
  border: 0;
  color: var(--nf-gold-deep);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 42px;
}
.nf-hero-search-field button svg {
  height: 18px;
  width: 18px;
}

.nf-home-body {
  padding: 48px 28px 76px;
}
.nf-home-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  margin: 0 auto;
  max-width: 1080px;
}
.nf-home-body .nf-feed {
  padding: 0;
}
.nf-home-body .nf-feed-inner {
  max-width: none;
}
.nf-home-body .nf-card {
  margin-bottom: 30px;
  padding: 0 0 34px;
}
.nf-category-filter {
  border-left: 1px solid var(--nf-line);
  padding-left: 24px;
  position: sticky;
  top: 92px;
}
.nf-category-filter h2 {
  color: var(--nf-muted);
  font-family: var(--nf-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.nf-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf-filter {
  align-items: center;
  border: 1px solid var(--nf-line);
  color: var(--nf-ink);
  display: flex;
  justify-content: space-between;
  padding: 11px 12px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.nf-filter span {
  font-family: var(--nf-font-display);
  font-size: 15px;
  font-weight: 600;
}
.nf-filter:hover,
.nf-filter.is-active {
  background: var(--nf-cream-soft);
  border-color: var(--nf-gold);
  color: var(--nf-gold-deep);
}
.nf-filter-hk {
  background: rgba(196, 56, 42, 0.08);
  border-color: rgba(196, 56, 42, 0.32);
  color: var(--nf-hk);
}
.nf-filter-anf {
  background: rgba(142, 45, 80, 0.08);
  border-color: rgba(142, 45, 80, 0.32);
  color: var(--nf-anf);
}
.nf-filter-ent {
  background: rgba(51, 102, 204, 0.08);
  border-color: rgba(51, 102, 204, 0.32);
  color: var(--nf-ent);
}
.nf-filter-els {
  background: rgba(196, 138, 26, 0.08);
  border-color: rgba(196, 138, 26, 0.32);
  color: var(--nf-els);
}
.nf-filter-lau {
  background: rgba(92, 45, 145, 0.08);
  border-color: rgba(92, 45, 145, 0.32);
  color: var(--nf-lau);
}
.nf-filter-ess {
  background: rgba(14, 124, 123, 0.08);
  border-color: rgba(14, 124, 123, 0.32);
  color: var(--nf-ess);
}
.nf-filter-hk:hover { border-color: var(--nf-hk); color: var(--nf-hk); }
.nf-filter-anf:hover { border-color: var(--nf-anf); color: var(--nf-anf); }
.nf-filter-ent:hover { border-color: var(--nf-ent); color: var(--nf-ent); }
.nf-filter-els:hover { border-color: var(--nf-els); color: var(--nf-els); }
.nf-filter-lau:hover { border-color: var(--nf-lau); color: var(--nf-lau); }
.nf-filter-ess:hover { border-color: var(--nf-ess); color: var(--nf-ess); }
.nf-pagination-wrap {
  margin-top: 20px;
}

@media (max-width: 860px) {
  .nf-editorial-intro {
    padding: 104px 16px 40px;
  }
  .nf-editorial-inner,
  .nf-home-layout {
    grid-template-columns: 1fr;
  }
  .nf-editorial-inner {
    gap: 30px;
  }
  .nf-hero-search {
    border-left: 0;
    border-top: 1px solid rgba(250, 248, 241, 0.22);
    padding: 22px 0 0;
  }
  .nf-hero-search-field {
    flex-wrap: wrap;
    padding: 12px;
  }
  .nf-hero-search-field button {
    width: 100%;
  }
  .nf-home-body {
    padding: 32px 16px 56px;
  }
  .nf-category-filter {
    border-left: 0;
    border-top: 1px solid var(--nf-line);
    min-width: 0;
    order: -1;
    overflow: hidden;
    padding: 22px 0 0;
    position: static;
  }
  .nf-filter-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .nf-filter {
    flex: 0 0 auto;
    min-width: 120px;
  }
}
@media (max-width: 520px) {
  .nf-hero-cloud .nfc-controls .nfc-pause-btn,
  .nf-hero-cloud .nfc-controls .nfc-reset-btn { display: none !important; }
  .nf-hero-pitch h1 { font-size: 22px; }
}

/* ── Overrides modo demo silencioso ─────────────────────── */
.nf-hero-cloud .nfc-head .nfc-wordmark { display: none !important; }
.nf-hero-cloud .nfc-controls { display: none !important; }
.nf-hero-cloud .nfc-cta { display: none !important; }
.nf-hero-cloud .nfc-persp-ghost { display: none !important; }
.nf-hero-cloud .nfc-cycle-bar { display: none !important; }

/* Reduz altura do frame interno (override do 100vh do advisory) */
.nf-hero-cloud .nfc-frame {
  height: 68vh !important;
  min-height: 560px !important;
  width: 100% !important;
}

/* Pitch caixa permanece visivel */
.nf-hero-cloud .nf-hero-pitch {
  top: 96px;  /* abaixo do header sticky do tema (52px) com folga */
}

/* nf-subscribe-form dentro do pitch (reusa estilos do tema) */
.nf-hero-pitch .nf-subscribe-form { max-width: 360px; margin: 0; }

/* Persp-info top tambem desce */
.nf-hero-cloud .nfc-persp-info,
.nf-hero-cloud .nfc-persp-info.tl,
.nf-hero-cloud .nfc-persp-info.tr,
.nf-hero-cloud .nfc-persp-info.br {
  top: 96px !important;
}

/* Mobile: nuvem ainda menor, pitch full-width */
@media (max-width: 768px) {
  .nf-hero-cloud { min-height: auto !important; }
  .nf-hero-cloud .nfc-frame { height: 75vh !important; min-height: 480px !important; }
  .nf-hero-cloud .nf-hero-pitch {
    top: 70px;
    left: 16px;
    right: 16px;
    max-width: none;
    padding: 20px 22px;
  }
  .nf-hero-cloud .nf-hero-pitch h1 { font-size: 26px; }
  .nf-hero-cloud .nf-hero-pitch .lede { font-size: 14px; }
  .nf-hero-cloud .nfc-persp-info,
  .nf-hero-cloud .nfc-persp-info.tl,
  .nf-hero-cloud .nfc-persp-info.tr,
  .nf-hero-cloud .nfc-persp-info.br {
    top: auto !important;
    bottom: 24px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
    text-align: left !important;
  }
}

/* ══════════════════════════════════════════
   Intelligence section alignment — NFA continuity pass
   ══════════════════════════════════════════ */

.nf-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--nf-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.35s, backdrop-filter 0.35s;
}
.nf-header.scrolled,
body:not(.home-template) .nf-header {
  background-color: rgba(250, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nf-header-inner {
  max-width: 1136px;
  height: 64px;
  padding: 0 28px;
  gap: 28px;
}
.nf-logo {
  font-size: 20px;
}
.nf-logo:hover {
  color: var(--nf-ink);
}
.nf-nav {
  gap: 28px;
  margin-left: auto;
}
.nf-nav a {
  color: var(--nf-muted);
  font-size: 14px;
}
.nf-nav a:hover {
  color: var(--nf-ink);
}
.nf-nav .nf-subscribe-btn {
  color: #ffffff;
  background: var(--nf-green);
}
.nf-nav .nf-subscribe-btn:hover {
  background: var(--nf-green-hover);
  color: #ffffff;
}
.nf-nav-scout {
  border: 1px solid transparent;
  color: var(--nf-ink) !important;
  font-family: var(--nf-font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  margin: -6px 0;
  padding: 6px 10px;
  text-transform: uppercase;
}
.nf-nav-scout:hover {
  background: var(--nf-gold-soft);
  border-color: transparent;
  color: var(--nf-gold-deep) !important;
}
.nf-header-actions {
  margin-left: 0;
  gap: 16px;
}
.nf-search-btn {
  display: none;
  color: var(--nf-muted);
}
.nf-search-btn:hover {
  color: var(--nf-ink);
}
.nf-subscribe-btn {
  border-radius: 100px;
  background: var(--nf-gold);
  box-shadow: 0 4px 16px rgba(142, 45, 80, 0.18);
  color: #fff;
  font-family: var(--nf-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  padding: 12px 22px;
  text-transform: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.nf-subscribe-btn:hover {
  background: var(--nf-gold-deep);
  box-shadow: 0 8px 22px rgba(142, 45, 80, 0.26);
  transform: translateY(-1px);
}

.nf-editorial-intro {
  border-bottom: none;
  padding: 134px 28px 42px;
}
.nf-editorial-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.nf-section-kicker {
  color: var(--nf-gold);
  font-family: var(--nf-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.nf-editorial-intro h1 {
  color: #ffffff;
  font-family: var(--nf-font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.nf-editorial-intro p,
.nf-editorial-intro p:last-child {
  color: #ffffff;
  font-family: var(--nf-font-body-v2);
  font-size: 19px;
  line-height: 1.5;
  max-width: 560px;
}

.nf-feed {
  padding: 42px 28px 24px;
}
.nf-feed-inner {
  max-width: 1080px;
  gap: 0;
}
.nf-card {
  border-bottom: 1px solid var(--nf-line);
  padding: 30px 0 34px;
}
.nf-card:first-child {
  padding-top: 0;
}
.nf-card-meta {
  margin-bottom: 12px;
}
.nf-card-title {
  font-size: clamp(19px, 2.4vw, 27px);
  max-width: 780px;
}
.nf-card-excerpt {
  max-width: 700px;
}

.nf-post {
  max-width: 820px;
  padding: 126px 28px 56px;
}
.nf-post-header {
  border-bottom: 1px solid var(--nf-line);
  margin-bottom: 34px;
  padding-bottom: 30px;
}
.nf-post-meta {
  margin-bottom: 18px;
}
.nf-post-author,
.nf-post-date,
.nf-post-reading {
  color: var(--nf-muted);
  font-family: var(--nf-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nf-post-title {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.nf-post-excerpt {
  font-size: 19px;
  max-width: 680px;
}
.nf-post-feature {
  margin: 0 0 42px;
}
.nf-post-feature img {
  border: 1px solid var(--nf-line);
  display: block;
  height: auto;
  width: 100%;
}
.nf-post-feature figcaption,
.nf-post-content figcaption {
  color: var(--nf-muted);
  font-family: var(--nf-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 10px;
}
.nf-post-content {
  font-size: 17px;
  line-height: 1.76;
}
.nf-post-content h2 {
  font-size: 30px;
}
.nf-post-content h3 {
  font-size: 22px;
}
.nf-post-content blockquote {
  background: var(--nf-cream-soft);
  border-left: 3px solid var(--nf-gold);
  color: var(--nf-ink-soft);
  font-family: var(--nf-font-display);
  font-size: 22px;
  font-style: normal;
  line-height: 1.45;
  margin: 34px 0;
  padding: 22px 26px;
}
.nf-post-content img,
.nf-post-content video,
.nf-post-content iframe {
  max-width: 100%;
}
.nf-post-subscribe {
  background: var(--nf-cream-soft);
  border-left: 3px solid var(--nf-gold);
  margin-top: 48px;
  padding: 28px;
}
.nf-post-subscribe h2 {
  color: var(--nf-ink);
  font-family: var(--nf-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.nf-post-subscribe .nf-subscribe-btn {
  display: inline-flex;
  margin-left: 0;
}

.nf-footer {
  margin-top: 0;
  padding: 56px 28px 80px;
}
.nf-footer-inner {
  max-width: 1080px;
}
.nf-footer-col a {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.nf-footer-tagline {
  font-family: var(--nf-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  max-width: 320px;
  text-transform: none;
}
.nf-drawer-subscribe {
  color: var(--nf-gold-deep) !important;
}

@media (max-width: 860px) {
  .nf-header-inner {
    min-height: 57px;
    padding: 14px 16px;
  }
  .nf-nav,
  .nf-search-btn {
    display: none;
  }
  .nf-header-actions {
    margin-left: auto;
  }
  .nf-hamburger {
    border: 1px solid var(--nf-line);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nf-editorial-intro {
    padding: 102px 16px 34px;
  }
  .nf-feed {
    padding: 34px 16px 10px;
  }
  .nf-card {
    padding: 26px 0 30px;
  }
  .nf-post {
    padding: 98px 16px 44px;
  }
  .nf-post-title {
    font-size: 36px;
  }
  .nf-post-content {
    font-size: 16px;
  }
  .nf-post-content blockquote {
    font-size: 20px;
    padding: 18px 20px;
  }
  .nf-footer {
    padding: 44px 16px 56px;
  }
  .nf-footer-col + .nf-footer-col {
    border-left: 0;
    padding-left: 0;
  }
}

/* Final footer lock: keep Ghost footer identical to NFA after legacy overrides. */
.nf-footer {
  padding: 56px 0 80px;
  background: var(--nf-gold-deep);
  color: var(--nf-cream);
  margin-top: 0;
}
.nf-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: block;
}
.nf-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.nf-footer .footer-col + .footer-col {
  border-left: 0;
  padding-left: 0;
}
@media (max-width: 860px) {
  .nf-footer {
    padding: 56px 0 80px;
  }
  .nf-footer-inner {
    padding: 0 28px;
  }
  .nf-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
