/* Journal — Notebook
 *
 * Estas regras estavam repetidas, iguais, nas 4 páginas do grupo.
 * Passaram para aqui para deixarem de divergir sozinhas: mudar a tipografia
 * do Journal passa a ser um sítio em vez de 4.
 *
 * O que ficou no <style> de cada página é o que difere entre elas — não por
 * esquecimento, mas porque uniformizar mudaria o aspecto das páginas, e isso
 * é uma decisão de desenho.
 *
 * Gerado por scripts/extrair-css-journal.mjs. As alterações a mão sobrevivem
 * — o script não volta a correr sozinho.
 */

:root {
  --paper: #F0EBE3;
  --ink: #2C2520;
  --ink-soft: #5A4F44;
  --ink-muted: #8B7E6F;
  --ink-fade: #a89880;
  --rule: #a89880;
  --rule-soft: rgba(168, 152, 128, 0.4);

  --serif: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --max: 980px;
  --col: 540px;
  --pad-x: clamp(28px, 7vw, 96px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px var(--pad-x);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

.bar a { transition: color 0.3s; }

.bar a:hover { color: var(--ink); }

.bar__logo {
  display: inline-flex;
  align-items: center;
  height: 20px;
}

.bar__logo img {
  height: 20px;
  width: auto;
  display: block;
}

.bar__right { display: flex; gap: 24px; align-items: center; }

.head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12vh var(--pad-x) 8vh;
  text-align: center;
}

.head__kicker {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 38px;
  font-weight: 400;
}

.head__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 28px;
}

.head__meta {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

.divider-short {
  display: flex;
  justify-content: center;
  margin: 0 auto 64px;
}

.divider-short::before {
  content: '';
  width: 56px;
  height: 0.5px;
  background: var(--rule);
}

.body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 1.6em;
  font-weight: 400;
}

.body em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05em;
  color: var(--ink);
  font-weight: 400;
}

.body strong {
  font-weight: 500;
  color: var(--ink);
}

.signoff {
  text-align: center;
  margin-top: 88px;
  padding: 0 var(--pad-x);
}

.signoff__rule {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.signoff__rule::before {
  content: '';
  width: 56px;
  height: 0.5px;
  background: var(--rule);
}

.signoff__author {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.signoff__role {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 28px;
}

.signoff__orig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 300;
}

.next {
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 28px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 0.5px solid var(--rule-soft);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

.next a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .next { flex-direction: column; gap: 12px; align-items: flex-start; }
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x) 64px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-fade);
  font-weight: 400;
}

.foot__center {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-fade);
  font-weight: 300;
}

@media (max-width: 600px) {
  .foot { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.head > * { animation: rise 1.0s ease-out backwards; }

.head__kicker { animation-delay: 0.05s; }

.head__title  { animation-delay: 0.18s; }

.head__lede   { animation-delay: 0.42s; }

.head__meta   { animation-delay: 0.62s; }

@media (prefers-reduced-motion: reduce) {
  .head > * { animation: none; }
  html { scroll-behavior: auto; }
}
