@charset "UTF-8";
/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

:root {
  color-scheme: light dark;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Radio Canada", system-ui, sans-serif;
  --page-width: 38rem;
  --bg: #faf7f2;
  --text: #2b2724;
  --muted: #6f665e;
  --accent: #a4472c;
  --rule: #e4ddd2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1c1a;
    --text: #ece4d8;
    --muted: #a59a8d;
    --accent: #e0937a;
    --rule: #3a3531;
  }
}

:root[data-theme=light] {
  color-scheme: light;
  --bg: #faf7f2;
  --text: #2b2724;
  --muted: #6f665e;
  --accent: #a4472c;
  --rule: #e4ddd2;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #1f1c1a;
  --text: #ece4d8;
  --muted: #a59a8d;
  --accent: #e0937a;
  --rule: #3a3531;
}

@media print {
  :root, :root[data-theme] {
    --bg: #ffffff;
    --text: #000000;
    --muted: #444444;
    --accent: #000000;
    --rule: #cccccc;
  }
}
body {
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 1.25rem 3rem;
}

header#top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
header#top .photo {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}
header#top .name {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}
header#top .contact {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
header#top .contact a + a::before {
  content: "·";
  color: var(--muted);
  display: inline-block;
  margin: 0 0.5rem;
}
@media (max-width: 520px) {
  header#top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  header#top .photo {
    width: 88px;
    height: 88px;
  }
  header#top .name {
    font-size: 1.9rem;
  }
}

.main p + p {
  margin-top: 0.9rem;
}
.main section + section {
  margin-top: 2.75rem;
}
.main h1 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}
.main h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

footer#bottom {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

.theme-toggle {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.25rem;
}
.theme-toggle button {
  font-size: 0.7rem;
  padding: 0.2em 0.5em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
}
.theme-toggle button:hover {
  color: var(--text);
}
.theme-toggle button[aria-pressed=true] {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle button {
    transition: color 0.1s, background-color 0.1s;
  }
}
@media print {
  .theme-toggle {
    display: none;
  }
}

.main .lede {
  font-size: 1.15rem;
}
.main dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.45rem 1.5rem;
}
.main dt {
  color: var(--muted);
}
.main dl + p {
  margin-top: 0.9rem;
}
@media (max-width: 520px) {
  .main dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .main dd + dt {
    margin-top: 0.6rem;
  }
}