@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Medium.subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-SemiBold.subset.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f203d;
  --navy-deep: #081224;
  --oxblood: #5a1a1f;
  --ivory: #ede4d4;
  --ivory-muted: rgba(237, 228, 212, 0.72);
  --gold: #dbbb90;
  --gold-soft: #eacca1;
  --measure: 38rem;
}

* { box-sizing: border-box; }

html { background: var(--navy-deep); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--ivory);
  font-family: "EB Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-soft); }

a:hover { color: var(--gold); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy-deep);
}

.mark {
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.links { display: flex; gap: 1.25rem; }

.links a {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

main {
  width: min(var(--measure), calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  flex: 1;
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.date {
  margin: 0 0 1.75rem;
  color: var(--ivory-muted);
  font-size: 1rem;
}

h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.75rem 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-soft);
}

h2::before {
  content: "";
  width: 0.28rem;
  height: 0.95rem;
  background: var(--oxblood);
  flex: none;
}

p { margin: 0.55rem 0; }

ul { margin: 0.4rem 0 0.4rem 1.2rem; padding: 0; }

li { margin: 0.35rem 0; }

.foot {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: var(--navy-deep);
}

.foot a {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
