/* I. C Topete: site stylesheet. One serif typeface, dark text on off-white, narrow column. */

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fcfbf8;
  --ink: #1e1e1e;
  --mute: #5c5a56;
  --rule: #dcd8d0;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums;
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
}
nav a { color: var(--mute); text-decoration: none; padding: 0.25rem 0; }
nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
nav a[aria-current="page"] { color: var(--ink); }

h1, h2 { font-weight: 400; line-height: 1.2; margin: 0; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; }
h1 + h2 { margin-top: 1.75rem; }

p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.intro .who { flex: 1 1 16rem; }
.intro .who p { margin: 0; }
.intro .who h1 { margin-bottom: 0.75rem; }
.intro .contact { margin-top: 1rem; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { margin: 0 0 1.4rem; }
.list .venue { font-style: italic; }
.list .link { display: block; font-size: 0.95rem; margin-top: 0.15rem; }
.list .term { color: var(--mute); }

dl { margin: 0; }
dt { font-weight: 400; margin-top: 0.9rem; }
dd { margin: 0; color: var(--mute); }

@media (max-width: 600px) {
  body { font-size: 18px; }
  .page { padding: 1.5rem 1.25rem 3rem; }
  nav { margin-bottom: 2.5rem; }
  h1 { font-size: 1.85rem; }
  }
