/* ==========================================================================
   Else gegen den Strich — folha de estilo
   Minimalismo editorial organizado pelos quatro elementos.

   Sistema em três "vozes" tipográficas:
   - Cormorant Garamond (romana): títulos
   - Cormorant Garamond (itálico): anotação — rótulos, linhas finas, legendas, notas
   - Source Sans 3: leitura e navegação

   Os quatro pigmentos (ocre, musgo, terracota, ardósia) só aparecem onde
   indicam um elemento. Nunca como decoração solta.

   Índice
    1. Fontes (hospedadas no próprio site, sem Google Fonts)
    2. Tokens
    3. Base
    4. Vozes tipográficas
    5. Layout
    6. Cabeçalho e navegação
    7. Marcadores dos elementos
    8. Links e botões
    9. Cards
   10. Página inicial
   11. Artigo
   12. Caixa de Beratung
   13. Rubrica (página de categoria)
   14. Über mich
   15. Páginas legais
   16. Rodapé
   17. Feuer: menu dos Orixás e páginas dos Orixás
   18. Utilitários, movimento reduzido, impressão
   ========================================================================== */


/* 1. Fontes --------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}


/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* Papel e tinta */
  --paper: #faf8f5;
  --paper-2: #f2eee7;
  --ink: #1e1e1e;
  --ink-2: #47423d;
  --ink-3: #6b645d;
  --rule: #ded7cc;

  /* Pigmentos: um por elemento (todos com contraste AA sobre o papel) */
  --luft: #85662a;   /* ocre */
  --erde: #2f4538;   /* musgo */
  --feuer: #8c4a32;  /* terracota */
  --wasser: #3a4f5c; /* ardósia */
  --accent: var(--feuer);
  --el: var(--ink);  /* pigmento do contexto; definido por [data-el] */

  /* Famílias */
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Escala tipográfica (progressão clássica 14/16/18/21/24/36/48/72) */
  --t-small: 0.875rem;
  --t-ui: 0.9375rem;
  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --t-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --t-annot: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --t-h3: clamp(1.5rem, 1.36rem + 0.6vw, 1.75rem);
  --t-h2: clamp(1.875rem, 1.6rem + 1.2vw, 2.25rem);
  --t-dek: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --t-h1: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --t-hero: clamp(2.75rem, 1.4rem + 5.2vw, 5.25rem);
  --t-display: clamp(4rem, 1.6rem + 10vw, 9rem);

  /* Espaços e medidas */
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --wide: 80rem;
  --measure: 40rem;   /* coluna de leitura: ~65–70 caracteres */
  --note: 16rem;      /* coluna de notas na margem */
  --note-gap: 3.5rem;
}

[data-el="luft"]   { --el: var(--luft); }
[data-el="erde"]   { --el: var(--erde); }
[data-el="feuer"]  { --el: var(--feuer); }
[data-el="wasser"] { --el: var(--wasser); }


/* 3. Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
p, figure, blockquote,
dl, dd, ol, ul {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: #ead8ce;
  color: var(--ink);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* 4. Vozes tipográficas --------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Voz de anotação: rótulos, linhas finas, legendas */
.annot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-annot);
  line-height: 1.35;
  color: var(--ink-2);
}

/* Linha fina sob títulos (Dek) */
.dek {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-dek);
  line-height: 1.3;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
}

.meta {
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-3);
}

/* Termos em iorubá e outras línguas: itálico, como manda a tradição editorial */
i[lang] {
  font-style: italic;
}

/* Capitular: primeira letra do ensaio, no pigmento do elemento */
/* Versão com float (Firefox); Chrome e Safari usam initial-letter abaixo */
.dropcap::first-letter {
  float: left;
  margin: 0.1em 0.1em 0 -0.02em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 5.6em;
  line-height: 0.78;
  color: var(--el);
}

@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .dropcap::first-letter {
    float: none;
    margin: 0 0.12em 0 0;
    font-size: inherit;
    line-height: normal;
    -webkit-initial-letter: 3;
    initial-letter: 3;
  }
}

/* No celular, só palavras muito longas são hifenizadas nos títulos */
@media (max-width: 39.99rem) {
  h1, h2, h3 {
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
  }
}


/* 5. Layout --------------------------------------------------------------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--band {
  background: var(--paper-2);
}

.section-title {
  font-size: var(--t-h2);
  line-height: 1.1;
}

/* Rótulo na margem esquerda, conteúdo à direita */
.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .split {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}


/* 6. Cabeçalho e navegação ------------------------------------------------ */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 3rem;
  padding-block: 1.25rem;
}

.brand-wrap {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem);
  line-height: 1;
  letter-spacing: 0.005em;
}

.brand__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: var(--ink-3);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem clamp(1rem, 1.6vw, 1.75rem);
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  font-size: var(--t-ui);
  color: var(--ink);
  text-decoration: none;
}

.nav-link:hover {
  border-bottom-color: var(--el);
}

.nav-link[aria-current] {
  border-bottom-color: var(--el);
  font-weight: 600;
}

.nav-link .glyph {
  width: 0.8em;
  height: 0.8em;
  color: var(--el);
}

.nav-sub {
  display: none;
}

/* "auf Etsy": só para leitores de tela na tela larga; visível no celular */
.nav-cta__more {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: var(--t-ui);
  color: var(--accent);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.nav-toggle {
  display: none;
}

@media (max-width: 63.99rem) {
  .brand__tagline {
    display: none;
  }

  .site-nav {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--rule);
  }

  .nav-list > li {
    border-bottom: 1px solid var(--rule);
  }

  .nav-link {
    display: flex;
    padding-block: 0.95rem;
    border-bottom: 0;
    font-size: 1.0625rem;
  }

  .nav-link[aria-current] {
    font-weight: 600;
  }

  .nav-sub {
    display: inline;
    margin-left: auto;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.0625rem;
    color: var(--ink-3);
  }

  .nav-list > .nav-list__cta {
    padding-block: 1.25rem 0.5rem;
    border-bottom: 0;
  }

  .nav-cta {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .nav-cta__more {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  /* Com JavaScript: menu recolhido atrás do botão "Menü" */
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 600 var(--t-ui) / 1 var(--sans);
    cursor: pointer;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
    padding-bottom: 0.5rem;
  }
}

.nav-toggle__icon {
  position: relative;
  width: 1.125rem;
  height: 0.625rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__icon::before {
  top: 0;
}

.nav-toggle__icon::after {
  top: calc(100% - 1.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: calc(50% - 0.75px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: rotate(-45deg);
}


/* 7. Marcadores dos elementos --------------------------------------------- */

/* Símbolos clássicos dos elementos, em traço fino */
.glyph {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linejoin: round;
  overflow: visible;
}

/* Rubrica de um texto: símbolo + nome do elemento */
.el-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: var(--t-annot);
  line-height: 1.2;
  color: var(--el);
  text-decoration: none;
}

.el-tag .glyph {
  width: 0.72em;
  height: 0.72em;
}

a.el-tag:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}


/* 8. Links e botões ------------------------------------------------------- */

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 var(--t-ui) / 1.2 var(--sans);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.btn--quiet {
  background: transparent;
  color: var(--ink);
}

.btn--quiet:hover {
  color: var(--paper);
}


/* 9. Cards ---------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: clamp(2.75rem, 2rem + 2vw, 3.75rem) clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

@media (min-width: 40rem) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}

.card .el-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 1.125rem;
}

.card__title {
  font-size: var(--t-h3);
  line-height: 1.12;
}

.card__title a {
  text-decoration: none;
}

/* O título cobre o card inteiro como área clicável */
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card:hover .card__title a {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.card__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.card__date {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: var(--t-small);
  color: var(--ink-3);
}


/* 10. Página inicial ------------------------------------------------------ */

/* Abertura: o ensaio mais recente, como uma página dupla de revista */
.hero {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(0.5rem, 2vw, 1.5rem);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2rem, 6vw, 6.5rem);
    align-items: start;
  }
}

.hero__title {
  margin-top: 1.25rem;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.hero__title a {
  text-decoration: none;
}

.hero__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.1em;
}

.hero__dek {
  margin-top: 1.75rem;
  max-width: 38ch;
}

.hero__date {
  margin-top: 1.5rem;
}

.hero__incipit {
  max-width: 34rem;
}

.hero__incipit p {
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.hero__incipit p + p {
  margin-top: 1em;
}

/* O último parágrafo se dissolve: o texto continua no artigo */
.hero__incipit .fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
}

.hero__more {
  display: inline-block;
  margin-top: 1rem;
}

@media (min-width: 64rem) {
  .hero__incipit {
    padding-top: 3.4rem;
  }
}

/* Os quatro elementos */
.elements__head {
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.elements__intro {
  max-width: 38rem;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

.element-grid {
  display: grid;
  gap: 3rem 2rem;
}

@media (min-width: 40rem) {
  .element-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .element-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .element-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.element {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--el);
}

.element .glyph {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--el);
}

.element__name {
  margin-top: 1.1rem;
  font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem);
  line-height: 1;
}

.element__name a {
  text-decoration: none;
}

.element__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.element:hover .element__name a {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.element__sub {
  margin-top: 0.4rem;
}

.element__text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Über mich em resumo */
.about-teaser {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 48rem) {
  .about-teaser {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: end;
  }
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
}

.about-teaser .portrait {
  max-width: 24rem;
}

.about-teaser__statement {
  margin-top: 1.5rem;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.18;
  text-wrap: balance;
}

.about-teaser__text {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: var(--ink-2);
}

.about-teaser__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}


/* 11. Artigo -------------------------------------------------------------- */

.article__head,
.prose,
.article__end {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

/* Telas largas: coluna de leitura deslocada à esquerda;
   numerais na margem esquerda, notas na margem direita */
@media (min-width: 75rem) {
  .article__head,
  .prose,
  .article__end {
    width: var(--measure);
    margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2 + 10rem));
    margin-right: auto;
  }
}

.article__head {
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.article__rubric {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}

.article__rubric .annot {
  color: var(--ink-3);
}

.article__title {
  margin-top: 1.5rem;
  font-size: var(--t-h1);
  line-height: 1.04;
  letter-spacing: -0.012em;
}

@media (min-width: 75rem) {
  .article__title {
    margin-right: calc(-1 * (var(--note) + var(--note-gap)));
  }
}

.article__dek {
  margin-top: 1.75rem;
  max-width: 42ch;
}

/* Ficha do texto (colofão): rótulo em itálico, valor em sans */
.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.75rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.colophon dt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink-3);
}

.colophon dd {
  font-size: var(--t-ui);
  line-height: 1.4;
}

.colophon a {
  text-decoration-color: var(--el);
}

/* Corpo do ensaio */
.prose {
  position: relative;
  counter-reset: abschnitt;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose p,
.prose li {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  text-wrap: pretty;
}

.prose a {
  text-decoration-color: var(--el);
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose h2 {
  margin-top: 2.6em;
  font-size: var(--t-h2);
  line-height: 1.12;
  counter-increment: abschnitt;
}

.prose h3 {
  margin-top: 2em;
  font-size: var(--t-h3);
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.85em;
}

/* Seções numeradas em romanos (I, II, III), como num ensaio impresso */
.prose--numbered h2::before {
  content: counter(abschnitt, upper-roman);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-annot);
  line-height: 1;
  color: var(--el);
}

@media (min-width: 64rem) {
  .prose--numbered h2::before {
    position: absolute;
    left: -5.5rem;
    width: 4rem;
    margin: 0;
    padding-top: 0.62em;
    text-align: right;
  }
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::marker {
  color: var(--el);
}

.prose blockquote:not(.pullquote) {
  padding-left: 1.25em;
  border-left: 1px solid var(--rule);
  color: var(--ink-2);
}

/* Citação de destaque: avança sobre a margem direita */
.prose .pullquote {
  margin-block: 2.6em;
}

.pullquote::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: var(--el);
}

.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.625rem);
  line-height: 1.16;
  text-wrap: balance;
  hyphens: manual;
  -webkit-hyphens: manual;
}

@media (min-width: 75rem) {
  .prose .pullquote {
    margin-right: calc(-1 * (var(--note) + var(--note-gap)));
  }
}

/* Nota de margem (glossário de termos) */
.prose .note {
  margin-block: 2em;
  padding: 1.25rem 1.5rem 1.4rem;
  border-top: 2px solid var(--el);
  background: var(--paper-2);
  font-size: var(--t-small);
  line-height: 1.55;
}

.note__title {
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--ink-2);
}

.note dl {
  display: grid;
  gap: 0.85rem;
}

.note dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

.note dd {
  margin-top: 0.1rem;
  color: var(--ink-2);
}

@media (min-width: 75rem) {
  .prose .note {
    float: right;
    clear: right;
    width: var(--note);
    margin: 0.4rem calc(-1 * (var(--note) + var(--note-gap))) 1rem 0;
    padding: 1.1rem 0 0;
    background: none;
  }
}

/* Imagens */
.prose figure {
  margin-block: 2.6em;
}

.prose figure img {
  width: 100%;
}

.prose figcaption {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink-3);
}

@media (min-width: 75rem) {
  .prose .figure--wide {
    margin-right: calc(-1 * (var(--note) + var(--note-gap)));
  }
}

/* Notas de rodapé */
.fn-ref {
  font-size: 0.68em;
  line-height: 0;
  vertical-align: super;
}

.fn-ref a {
  padding-inline: 0.12em;
  font-weight: 600;
  color: var(--el);
  text-decoration: none;
}

.footnotes {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--ink-2);
}

.footnotes__title {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink-2);
}

.footnotes ol {
  padding-left: 1.25em;
}

.footnotes li + li {
  margin-top: 0.65rem;
}

.footnotes li:target {
  background: var(--paper-2);
  outline: 0.4rem solid var(--paper-2);
}

.fn-back {
  margin-left: 0.35em;
  color: var(--ink-3);
}

.article__end {
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

.related {
  border-top: 1px solid var(--rule);
}


/* 12. Caixa de Beratung --------------------------------------------------- */

.beratung {
  margin-top: 4rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-top: 2px solid var(--accent);
  background: var(--paper-2);
}

.beratung__label {
  color: var(--accent);
}

.beratung__motto {
  margin-top: 0.85rem;
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  line-height: 1.1;
}

.beratung__text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--ink-2);
}

.beratung__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.beratung__note {
  font-size: var(--t-small);
  color: var(--ink-3);
}

.beratung__sig {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.beratung__sig img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.beratung__sig p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
}

.beratung__sig small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--t-small);
  color: var(--ink-3);
}


/* 13. Rubrica (página de categoria) --------------------------------------- */

.rubrik-hero {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5rem);
}

.rubrik-hero__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .rubrik-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
  }
}

.rubrik-hero .glyph {
  width: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  height: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  color: var(--el);
}

.rubrik-title {
  margin-top: 1.5rem;
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--el);
}

.rubrik-sub {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.15;
  color: var(--ink-2);
}

.rubrik-desc {
  max-width: 34rem;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

.entry-list {
  border-top: 1px solid var(--ink);
}

.entry {
  position: relative;
  display: grid;
  gap: 0.4rem 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 48rem) {
  .entry {
    grid-template-columns: 10rem minmax(0, 1fr) auto;
    align-items: baseline;
  }
}

.entry__date,
.entry__time {
  font-size: var(--t-small);
  color: var(--ink-3);
  white-space: nowrap;
}

.entry__title {
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  line-height: 1.12;
}

.entry__title a {
  text-decoration: none;
}

.entry__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.entry:hover .entry__title a {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.entry__excerpt {
  margin-top: 0.5rem;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}


/* 14. Über mich ----------------------------------------------------------- */

/* Duas colunas: o retrato acompanha a leitura à esquerda, o texto à direita */
.about {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) var(--section);
}

@media (min-width: 48rem) {
  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .about__aside {
    position: sticky;
    top: 2rem;
  }
}

.about .portrait {
  max-width: 30rem;
}

.about__title {
  font-size: var(--t-h1);
  line-height: 1;
}

.about__statement {
  margin-top: 1.75rem;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);
  line-height: 1.15;
  text-wrap: balance;
}

.about__lead {
  margin-top: 1.75rem;
  max-width: var(--measure);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

/* Aqui o corpo de texto segue a coluna da direita, sem as margens do artigo */
.prose.about__prose {
  width: auto;
  max-width: var(--measure);
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
}

.about__prose .pullquote {
  margin-right: 0;
}

.about__main .beratung {
  max-width: var(--measure);
}

/* Trajetória: ano na margem, estação ao lado */
.timeline {
  border-top: 1px solid var(--rule);
}

.prose .timeline {
  padding-left: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.prose .timeline li + li {
  margin-top: 0;
}

.timeline__year {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--accent);
}


/* 15. Páginas legais ------------------------------------------------------ */

.legal {
  padding-block: clamp(3rem, 2rem + 4.5vw, 6rem) var(--section);
}

.legal h1 {
  font-size: var(--t-h1);
}

.legal-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  font-size: var(--t-small);
  color: var(--ink-2);
}

.legal .prose h2 {
  margin-top: 2.25em;
  font-size: 1.625rem;
}


/* 16. Rodapé -------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: var(--t-ui);
  line-height: 1.55;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  gap: 2.75rem 2rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr);
  }
}

.footer-brand .brand__name {
  color: var(--ink);
}

.footer-tagline {
  margin-top: 0.9rem;
  max-width: 22rem;
}

/* Os quatro pigmentos lado a lado: a assinatura do blog */
.pigments {
  display: flex;
  width: 8rem;
  height: 3px;
  margin-top: 1.5rem;
}

.pigments span {
  flex: 1;
  background: var(--el);
}

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
}

.footer-list {
  display: grid;
  gap: 0.7rem;
}

.footer-list a {
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-el {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: baseline;
}

.footer-el .glyph {
  width: 0.75em;
  height: 0.75em;
  color: var(--el);
  transform: translateY(0.05em);
}

.footer-el__name {
  color: var(--ink);
  font-weight: 600;
}

.footer-el__sub {
  grid-column: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink-3);
}

.footer-motto {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.footer-text {
  margin-block: 0.75rem 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-small);
  color: var(--ink-3);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.footer-legal a {
  color: var(--ink-2);
}


/* 17. Feuer: menu dos Orixás e páginas dos Orixás ------------------------- */

/* Bolinhas com as cores tradicionais (como contas de um fio) */
.dots {
  display: inline-flex;
  flex: none;
  gap: 0.2rem;
}

.dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(30, 30, 30, 0.22);
}

/* Nos menus, as bolinhas ocupam sempre a mesma largura: os nomes ficam alinhados */
.subnav__list .dots,
.orixa-index .dots {
  width: 2.2rem;
}

/* Menu suspenso */
.subnav__intro {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
}

.subnav__intro:hover,
.subnav__list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--feuer);
  text-underline-offset: 0.2em;
}

.subnav__intro[aria-current],
.subnav__list a[aria-current] {
  color: var(--feuer);
  font-weight: 600;
}

.subnav__label {
  margin: 1.1rem 0 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink-3);
}

.subnav__list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.45rem;
  font-size: var(--t-ui);
  color: var(--ink);
  text-decoration: none;
}

.subnav-toggle {
  display: none;
}

.subnav-toggle__icon::before,
.subnav-toggle__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.subnav-toggle__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.subnav-toggle[aria-expanded="true"] .subnav-toggle__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (min-width: 64rem) {
  .site-header__inner {
    position: relative;
  }

  .subnav {
    position: absolute;
    top: calc(100% - 1.1rem);
    right: 0;
    z-index: 30;
    width: 40rem;
    padding: 1.5rem 1.75rem 1.4rem;
    border: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: 0 24px 48px -28px rgba(30, 30, 30, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.2s;
  }

  /* Ponte invisível: o mouse passa do link ao painel sem fechar o menu */
  .subnav::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 1.5rem;
  }

  .nav-item--sub:hover > .subnav,
  .nav-item--sub:focus-within > .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .subnav__list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    column-gap: 1.75rem;
  }
}

@media (max-width: 63.99rem) {
  .nav-item--sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-item--sub > .nav-link {
    flex: 1;
  }

  .js .subnav-toggle {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: 0.75rem;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .subnav {
    flex-basis: 100%;
    padding: 0.25rem 0 1.1rem;
  }

  .js .subnav {
    display: none;
  }

  .js .nav-item--sub.is-open > .subnav {
    display: block;
  }

  .subnav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .subnav__list a {
    padding-block: 0.6rem;
    font-size: 1rem;
  }
}

/* Faixa larga: imagem de abertura, alinhada com o texto */
.article__media {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

@media (min-width: 75rem) {
  .article__media {
    width: calc(var(--measure) + var(--note) + var(--note-gap));
    margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2 + 10rem));
    margin-right: auto;
  }
}

.article__media img {
  width: 100%;
}

.article__media figcaption {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink-3);
}

.article__media figcaption em {
  font-style: normal;
}

.orixa-hero img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* Título da série: a série em linha fina, o nome em destaque */
.series-title__series {
  display: block;
  max-width: 36ch;
  font-style: italic;
  font-size: var(--t-annot);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink-3);
}

.series-title__name {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(3rem, 1.8rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.iyami-title__sub {
  display: block;
  margin-top: 0.6rem;
  font-style: italic;
  font-size: 0.55em;
  line-height: 1.2;
  color: var(--ink-2);
}

.dek em {
  font-style: normal;
}

/* Abertura e Hinweis */
.prose .lead {
  font-size: var(--t-lead);
  line-height: 1.55;
}

.prose .hinweis p {
  color: var(--ink-2);
}

/* Anmerkung/Hinweis no meio do texto: caixa na própria coluna, sem ir para a margem */
.prose .note--inline {
  float: none;
  width: auto;
  margin: 2em 0;
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--paper-2);
}

/* Itan: a história ganha voz própria (serifa, fundo de papel) */
.prose .itan {
  margin-block: 2.75em;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem) clamp(1.75rem, 1rem + 2vw, 2.75rem);
  background: var(--paper-2);
}

.itan > * + * {
  margin-top: 1em;
}

.prose .itan__title {
  margin: 0 0 1.4rem;
  font-style: italic;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  line-height: 1.2;
  counter-increment: none;
}

.prose--numbered .itan__title::before,
.prose--numbered h2.plain::before {
  content: none;
}

.prose h2.plain {
  counter-increment: none;
}

.itan__title em {
  font-style: normal;
}

.itan p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
}

/* Listas com destaque em negrito: viram uma grade de leitura rápida */
.prose .traits,
.prose .orixa-cards {
  display: grid;
  gap: 1.75rem 2.25rem;
  margin-top: 1.5em;
  padding: 0;
}

@media (min-width: 48rem) {
  .prose .traits,
  .prose .orixa-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 75rem) {
  .prose .traits,
  .prose .orixa-cards {
    margin-right: calc(-1 * (var(--note) + var(--note-gap)));
  }
}

.prose .traits li,
.prose .orixa-cards li {
  position: relative;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.traits li > strong:first-child,
.orixa-cards li > strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--ink);
}

.orixa-cards li > strong {
  font-size: 1.5rem;
}

.orixa-cards .dots {
  margin-bottom: 0.7rem;
}

.prose .orixa-cards strong a {
  text-decoration: none;
}

.orixa-cards strong a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.prose .orixa-cards li:hover strong a {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
}

/* A Herausforderung für das Ori fecha o texto em destaque */
.prose .ori-panel {
  margin-top: 3em;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper-2);
}

.prose .ori-panel h2 {
  margin-top: 0;
}

.ori-panel p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
  line-height: 1.5;
}

/* Navegação da série e índice dos Orixás */
.series-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.series-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
}

.series-nav__next {
  grid-column: 2;
  align-items: flex-end;
  text-align: right;
}

.series-nav__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1.15;
}

.series-nav__link:hover .series-nav__name {
  text-decoration: underline;
  text-decoration-color: var(--el);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.orixa-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  column-gap: 2rem;
}

.orixa-index a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
}

.orixa-index a:hover {
  text-decoration: underline;
  text-decoration-color: var(--feuer);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.orixa-index a[aria-current] {
  color: var(--feuer);
  font-weight: 600;
}


/* Página inicial: apresentação com espaço para imagem */
.intro__text p {
  max-width: 38rem;
  margin-top: 1.15em;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.intro__text .intro__lead {
  margin-top: 1.75rem;
  font-size: var(--t-lead);
  line-height: 1.55;
}

.intro__text a {
  text-decoration-color: var(--accent);
}

.intro__text .intro__motto {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-dek);
  line-height: 1.25;
  color: var(--accent);
  hyphens: manual;
  -webkit-hyphens: manual;
}

.intro__media {
  max-width: 30rem;
}

.intro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
}

.intro {
  padding-bottom: var(--section);
}

/* Menus de Erde e Wasser: títulos dos ensaios, um por linha */
.subnav--texts .subnav__list {
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
}

.subnav--texts .subnav__list a {
  display: block;
  line-height: 1.4;
}

.subnav--texts .subnav__intro:hover,
.subnav--texts .subnav__list a:hover {
  text-decoration-color: var(--el);
}

.subnav--texts .subnav__intro[aria-current],
.subnav--texts .subnav__list a[aria-current] {
  color: var(--el);
}

@media (min-width: 64rem) {
  .subnav--texts {
    width: 30rem;
  }
}

/* Foto em formato retrato no artigo */
.article__media--portrait {
  max-width: 30rem;
}

@media (min-width: 75rem) {
  .article__media--portrait {
    width: 30rem;
  }
}


/* Über mich: nome e lema, frase final */
.about__statement strong {
  font-weight: 600;
}

.about__motto {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-size: 0.72em;
  line-height: 1.25;
  color: var(--ink-2);
}

.prose .about__closing {
  margin-top: 1.75em;
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  line-height: 1.3;
  hyphens: manual;
  -webkit-hyphens: manual;
}


/* Ajustes responsivos ------------------------------------------------------ */

img,
svg {
  max-width: 100%;
}

/* Celulares estreitos: nome do blog e botão de menu na mesma linha */
@media (max-width: 63.99rem) {
  .site-header__inner {
    column-gap: 0.75rem;
  }

  .brand-wrap {
    flex: 1 1 0;
    min-width: 0;
  }

  .js .nav-toggle {
    flex: none;
    min-height: 2.75rem;
  }
}

@media (max-width: 23.99rem) {
  .brand__name {
    font-size: 1.375rem;
  }

  .series-title__name {
    font-size: 2.5rem;
  }
}

/* Áreas de toque confortáveis no celular e no tablet */
@media (max-width: 63.99rem) {
  .footer-list {
    gap: 0.25rem;
  }

  .footer-list a,
  .footer-legal a {
    display: inline-block;
    padding-block: 0.55rem;
  }

  .footer-list a.footer-el {
    display: grid;
  }

  .text-link {
    display: inline-block;
    padding-block: 0.5rem;
  }

  .article__rubric a,
  .colophon a,
  .card .el-tag {
    display: inline-flex;
    padding-block: 0.5rem;
  }

  .article__rubric {
    align-items: center;
  }

  .series-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-nav__next {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
  }

  .series-nav__link {
    padding-block: 0.5rem;
  }

  .orixa-index a {
    padding-block: 1rem;
  }
}

/* Celular: a foto da apresentação vem logo depois do título */
@media (max-width: 47.99rem) {
  .intro .hero__grid {
    gap: 2rem;
  }

  .intro__media,
  .about .portrait,
  .about-teaser .portrait,
  .article__media--portrait {
    max-width: 26rem;
  }

  .beratung__actions .btn {
    width: 100%;
  }

  .colophon {
    gap: 0.75rem 2rem;
  }
}

/* Tablet em pé: retrato menor ao lado do texto */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .about {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 2.5rem;
  }
}

/* Telas de toque largas (tablet deitado): sem mouse, um botão abre as listas */
@media (min-width: 64rem) and (hover: none) {
  .nav-item--sub {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .js .subnav-toggle {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-item--sub.is-open > .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}

/* Telas muito largas: um pouco mais de respiro */
@media (min-width: 100rem) {
  :root {
    --wide: 86rem;
  }
}

/* Celular deitado: menos espaço vertical */
@media (max-height: 30rem) and (orientation: landscape) {
  :root {
    --section: 3rem;
  }
}


/* Menu no celular e no tablet: painel de tela cheia ------------------------- */

@media (max-width: 63.99rem) {
  .menu-open,
  .menu-open body {
    overflow: hidden;
  }

  .js .site-nav.is-open {
    position: fixed;
    top: var(--menu-top, 5.3rem);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: auto;
    padding: 0.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    animation: menu-in 0.22s ease both;
  }

  .nav-list {
    max-width: 34rem;
    margin-inline: auto;
    border-top: 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--rule);
  }

  /* Cada item: nome grande em serifa, descrição em itálico logo abaixo */
  .nav-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 0.7rem;
    padding-block: 1.05rem;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .nav-link:not([data-el]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-link[aria-current] {
    font-weight: 600;
    color: var(--el);
  }

  .nav-link:not([data-el])[aria-current] {
    color: var(--accent);
  }

  .nav-link .glyph {
    width: 0.62em;
    height: 0.62em;
  }

  .nav-sub {
    display: block;
    grid-column: 2;
    margin: 0.3rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: var(--ink-3);
  }

  /* Seta no lugar do "+" */
  .js .subnav-toggle {
    align-self: stretch;
    width: 3.25rem;
    height: auto;
    min-height: 3rem;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    color: var(--ink-2);
  }

  .subnav-toggle__icon::before {
    width: 0.6rem;
    height: 0.6rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    background: none;
    transform: translate(-50%, -70%) rotate(45deg);
  }

  .subnav-toggle__icon::after {
    content: none;
  }

  .subnav-toggle[aria-expanded="true"] .subnav-toggle__icon::before {
    transform: translate(-50%, -30%) rotate(-135deg);
  }

  /* Lista aberta: recuada, alinhada com o nome */
  .subnav {
    padding: 0 0 1.4rem 1.8rem;
  }

  .js .nav-item--sub.is-open > .subnav {
    animation: menu-in 0.2s ease both;
  }

  .subnav__intro {
    display: block;
    padding-block: 0.55rem;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
  }

  .subnav__label {
    margin: 0.5rem 0 0.2rem;
    padding-top: 0.85rem;
  }

  .subnav--texts .subnav__list {
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    border-top: 0;
  }

  .subnav__list a {
    padding-block: 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink-2);
  }

  .subnav__list a[aria-current] {
    color: var(--el, var(--feuer));
  }

  /* Beratung: botão cheio no fim do menu */
  .nav-list > .nav-list__cta {
    padding-block: 1.75rem 0;
    border-bottom: 0;
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    border-color: var(--accent);
    background: var(--accent);
    color: var(--paper);
    font-weight: 600;
    font-size: 1rem;
  }

  /* Botão de menu: o ícone vira um X, o rótulo não muda de largura */
  .js .nav-toggle {
    gap: 0.6rem;
    padding: 0.5rem 0 0.5rem 0.5rem;
  }
}

@media (max-width: 23.99rem) {
  .subnav {
    padding-left: 0;
  }

  .nav-link {
    font-size: 1.5rem;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .site-nav.is-open,
  .js .nav-item--sub.is-open > .subnav {
    animation: none;
  }
}


/* Anmerkung no fim do ensaio: glossário de termos */
.glossar dl {
  display: grid;
  gap: 1.1rem;
}

.glossar dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--ink);
}

.glossar dd {
  margin-top: 0.2rem;
  hyphens: auto;
  -webkit-hyphens: auto;
}


/* Oração no fim do ensaio: versos, um por linha */
.prose .gebet {
  margin-top: 3em;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-top: 2px solid var(--el);
  background: var(--paper-2);
}

.prose .gebet p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  line-height: 1.45;
  hyphens: manual;
  -webkit-hyphens: manual;
}


/* Página de erro (404) */
.about-hero-404 {
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) 0;
}


/* 18. Utilitários, movimento reduzido, impressão -------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Ensaios costumam ser impressos: versão limpa, só o texto */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .beratung,
  .related,
  .series-nav,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .article__head,
  .prose,
  .article__end {
    width: auto;
    margin: 0;
  }

  .article__title,
  .prose .pullquote,
  .prose .figure--wide {
    margin-right: 0;
  }

  .prose .note {
    float: none;
    width: auto;
    margin: 1.5em 0;
  }

  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
