diff --git a/src/layouts/AppLayout.astro b/src/layouts/AppLayout.astro index 1ed27db..2053828 100644 --- a/src/layouts/AppLayout.astro +++ b/src/layouts/AppLayout.astro @@ -110,36 +110,36 @@ const year = new Date().getFullYear(); .wordmark-link { flex-shrink: 0; display: flex; - align-items: baseline; - gap: 14px; + align-items: center; + gap: 12px; border-bottom: none; color: var(--on-surface); + line-height: 1; /* belt + braces — no nav-row leading on the lockup */ } .wordmark-link:hover { border-bottom: none; color: var(--on-surface); } - /* Fenja logo's viewBox (265×101) puts its baseline ~3-4px above the - bottom edge to leave room for the 'j' descender. Pull the bottom of - the SVG down so the typographic baseline matches the wordmark text. */ .wordmark { - height: 22px; + height: 20px; width: auto; display: block; - transform: translateY(3px); } .wordmark-sep { color: var(--on-surface-muted); font-family: var(--font-serif); font-size: 18px; line-height: 1; - transform: translateY(-1px); + /* Optical kern — the bullet's typographic centre sits slightly above + its baseline in Newsreader; this nudges it onto the visual midline. */ + transform: translateY(-2px); } .wordmark-project { font-family: var(--font-serif); font-size: 18px; font-weight: 400; - line-height: 1; + line-height: 1.3; /* leaves room for italic ascenders on 'B'/'f' */ + padding-top: 2px; /* matches the descender slack in the Fenja SVG so caps sit on the same visual cap-line */ color: var(--on-surface); letter-spacing: var(--tracking-snug); }