:root {
  --fond: #f7f4ee;
  --texte: #1f1d1a;
  --discret: #6b645a;
  --accent: #b3261e;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #16161a;
    --texte: #ece8e1;
    --discret: #9b958c;
    --accent: #e5736b;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

/* Le symbole en haut, la citation centrée dans l'espace qui reste. */
body {
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
}

header {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
}

.symbole {
  width: clamp(7rem, 5rem + 8vw, 11rem);
  height: auto;
  fill: none;
  stroke: var(--accent);
  stroke-linejoin: miter;
}

/* Épaisseurs relevées sur le symbole de référence, dans un carré de 100. */
.symbole .anneau {
  stroke-width: 10.8;
}

.symbole .jambes {
  stroke-width: 12.2;
}

.symbole .barre {
  stroke-width: 10.7;
}

figure {
  max-width: 38rem;
  margin: 0;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.35;
  text-wrap: balance;
}

blockquote p::before {
  content: '«\00a0';
  color: var(--accent);
}

blockquote p::after {
  content: '\00a0»';
  color: var(--accent);
}

figcaption {
  margin-top: 1.25rem;
  color: var(--discret);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
}

figcaption::before {
  content: '— ';
}

button {
  font: inherit;
  font-size: 1rem;
  color: var(--discret);
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  color: var(--accent);
}

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

[hidden] {
  display: none !important;
}
