/* The Nox theme of the app (CLAUDE.md, Colours), with its bundled serif. */
@font-face { font-family: "Gentium Book Plus"; src: url("fonts/GentiumBookPlus-Regular.ttf"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gentium Book Plus"; src: url("fonts/GentiumBookPlus-Italic.ttf"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gentium Book Plus"; src: url("fonts/GentiumBookPlus-Bold.ttf"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #000000;
  --ink: #FFFFFF;
  --rubric: #FF8080;
  --accent: #FF4D33;
  --chrome: #B2B2B2;
}

* { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 2.5rem 1.75rem 4rem;
  background: var(--ground);
  color: var(--ink);
  font-family: "Gentium Book Plus", "Hoefler Text", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--chrome);
  margin-bottom: 2.5rem;
}
nav a { color: var(--chrome); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }

header { text-align: center; }
header img { width: 96px; height: 96px; border-radius: 22px; }
h1 { font-weight: 400; font-size: 1.75rem; margin: 0.75rem 0 0.25rem; }
.date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  color: var(--rubric);
  margin: 0;
}

hr {
  width: 83px;
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 2.5rem auto;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.75rem;
}
hr + h2 { margin-top: 0; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.25rem; }

p, li { margin: 0 0 0.75rem; }
ul, ol { padding-left: 1.4rem; }
em, .rubric { color: var(--rubric); }
a { color: var(--rubric); }
.lead { font-size: 1.3rem; text-align: center; }
.contact { font-size: 1.3rem; text-align: center; }

footer {
  margin-top: 3rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--chrome);
}
footer a { color: var(--chrome); }
