:root {
  color-scheme: light;
  --paper: #f4f3ec;
  --card: #fffdf5;
  --ink: #244337;
  --muted: #50634f;
  --line: #cbd6c5;
  --accent: #804c24;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
.shell {
  width: min(100% - 2.75rem, 56rem);
  margin-inline: auto;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1.5rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 1.65rem/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
  text-decoration: none;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  font-size: .9rem;
}
.site-header nav a { padding-block: .6rem; }
.site-header nav a[aria-current] { font-weight: 650; }
.site-header nav .language-link {
  display: grid;
  min-width: 2.7rem;
  min-height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 650;
  text-decoration: none;
}
.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 1;
  padding: .6rem 1rem;
  background: var(--card);
}
.skip:focus { top: .75rem; }
.index-intro { margin-block: clamp(3rem, 8vw, 6rem) 2.2rem; }
h1, h2, .post-list summary {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1, h2 { margin-block: 0; }
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.index-intro p { margin: .9rem 0 0; color: var(--muted); }
.featured-preview {
  border: 1px solid #cad7c3;
  background: #e8eddf;
  border-radius: .55rem;
}
.featured-preview > summary {
  display: grid;
  justify-items: start;
  gap: .75rem;
  padding: clamp(1.3rem, 5vw, 2.5rem);
  padding-inline-end: max(3rem, 5vw);
}
.featured-preview > summary:hover { background: #e2ead8; }
.feature-title {
  font: clamp(1.95rem, 4vw, 3.1rem)/1.13 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.feature-label { font-size: .81rem; font-weight: 650; }
.post-date { color: var(--muted); font-size: .9rem; }
.years { margin-block: clamp(2.5rem, 7vw, 4rem); }
.years section + section { margin-top: 3.4rem; }
.years h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list summary {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: .2rem .85rem;
  align-items: baseline;
  padding-block: .84rem;
  padding-inline-end: 2.1rem;
  font-size: clamp(1.2rem, 3vw, 1.46rem);
  line-height: 1.26;
  overflow-wrap: anywhere;
}
.post-list summary:hover .post-title { text-decoration: underline; }
.post-preview > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}
.post-preview > summary::-webkit-details-marker { display: none; }
.post-preview > summary::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: .65rem;
  width: .48rem;
  aspect-ratio: 1;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-75%) rotate(45deg);
}
.post-preview[open] > summary::after { transform: translateY(-25%) rotate(225deg); }
.featured-preview > summary::after { inset-inline-end: 1.35rem; }
.preview-body {
  max-width: 65ch;
  padding-bottom: 1.05rem;
  font-size: .98rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.featured-preview .preview-body {
  max-width: 70ch;
  padding-inline: clamp(1.3rem, 5vw, 2.5rem);
  padding-bottom: clamp(1.3rem, 5vw, 2.5rem);
}
.preview-body p { margin: 0 0 .45rem; color: var(--muted); }
.preview-body a { display: inline-block; padding-block: .3rem; font-weight: 650; }
.preview-label { font-size: .82rem; font-weight: 650; }
.post-date { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1rem 2rem;
  font-size: .86rem;
  color: var(--muted);
}
.article-shell { width: min(100% - 2.75rem, 46rem); margin-inline: auto; }
.post-header {
  padding-block: clamp(2.5rem, 7.5vw, 5.5rem) clamp(1.7rem, 4.7vw, 2.7rem);
  border-bottom: 1px solid var(--line);
}
.archive-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-block: .35rem;
  font-size: .9rem;
}
.post-header time { display: block; margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.post-content {
  margin-block: 1.9rem 3rem;
  font: clamp(1.1rem, 1.02rem + .32vw, 1.28rem)/1.7 Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.post-content p, .post-content ol, .post-content ul { margin: 0 0 1.05em; }
.post-content ol, .post-content ul { padding-left: 1.6rem; }
.post-content li + li { margin-top: .4rem; }
.post-content img { display: block; max-width: 100%; height: auto; margin-block: .8rem; border-radius: .32rem; }
.post-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .8rem 1.25rem;
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--line);
}
.post-nav a { display: grid; gap: .35rem; padding: .4rem 0; text-decoration: none; }
.post-nav a:hover span:last-child { text-decoration: underline; }
.post-nav-label { color: var(--muted); font-size: .82rem; }
@media (max-width: 35rem) {
  .post-list summary { grid-template-columns: 1fr; }
  .post-date { font-size: .8rem; }
}
