@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400&display=swap');

:root {
  --bg: #fcf8f4;
  --ink: #1a1410;
  --mute: #8a7f76;
  --sable: #b07f3c;
  --line: #e7ddd2;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: var(--ink); }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

/* "mèche" wordmark — exact spec from the Mèche Brand Identity (.wm .gw::after):
   Fraunces 400, letter-spacing -0.045em; the è is a plain "e" + a 22°-tilted caramel
   stroke (top .18em, left .18em, w .5em, h .07em, transform-origin left center). */
.wm {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}
.wm .gw { position: relative; }
.wm .gw::after {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0.18em;
  width: 0.5em;
  height: 0.07em;
  background: var(--sable);
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(22deg);
}

.lang { font-size: 0.8rem; letter-spacing: 0.06em; }
.lang a { color: var(--mute); text-decoration: none; padding: 0 4px; }
.lang a.active { color: var(--ink); font-weight: 600; }
.lang span { color: var(--line); }

h1 { font-size: 1.7rem; margin: 0 0 4px; }
h2 { font-size: 1.05rem; margin: 2rem 0 6px; }
p, li { margin: 0 0 0.9rem; }
ul { padding-left: 1.2rem; }
.updated { color: var(--mute); font-size: 0.85rem; margin-bottom: 2rem; }

.nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.nav a { margin-right: 1.2rem; color: var(--mute); }
.home-links { margin-top: 1.5rem; }
.home-links a { display: inline-block; margin-right: 1.2rem; font-weight: 600; }
