
@font-face {
  font-family: "Cormorant";
  src: url("Cormorant-VariableFont_wght.ttf");
  font-style: normal;
}
@font-face {
  font-family: "Cormorant";
  src: url("Cormorant-Italic-VariableFont_wght.ttf");
  font-style: italic;
}
@font-face {
  font-family: "Mulish";
  src: url("Mulish-VariableFont_wght.ttf");
  font-style: normal;
}
@font-face {
  font-family: "Mulish";
  src: url("Mulish-Italic-VariableFont_wght.ttf");
  font-style: italic;
}

:root {
  --page-width: 960px;
  --header-fam: "Cormorant";
  --body-fam: "Mulish";
  --line: 0;
  --mid-green: #4f9c5a;
  --bad-pink: #ae5395;
  --desat-pink: #efa1a6;
  --grey-teal: #729397;
  --yelly: #f4b32c;
  --too-red: #dc1b27;
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  font-size: 16px;
  font-family: var(--body-fam);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 200;
}
.skip-to-content-link {
  left: 50%;
  position: absolute;
  transform: translateY(-100%);
  transition: transform 0.3s;
}
.skip-to-content-link:focus {
  transform: translateY(0%);
}
header, nav, main, footer {
  max-width: var(--page-width);
  margin: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
header {
  display: flex;
  flex-direction: column-reverse;
  padding: 4rem 0 4rem 0;
  align-items: center;
}
header a.home-link {
  font-size: 36px;
  font-family: var(--header-fam);
  margin: 0;
  line-height: 1;
  font-weight: 100;
  z-index: 10;
  color: inherit;
  text-decoration: none;
}
.agency {
  font-style: italic;
}
header svg {
  margin-top: -8px;
  margin-left: 4px;
}
header use {
  stroke-width: 0.1;
  transition: 1s stroke-width;
}
header:hover use {
  stroke-width: 0.3;
}
nav {
  font-size: 1rem;
}
nav a {
  text-decoration-thickness: 2px;
}
nav ul {
  list-style: none;
  text-align: right;
  margin: 0;
}
nav li {
  display: inline-block;
  margin-left: 0.2rem;
}
main {
  margin-bottom: 4rem;
}
footer {
  font-size: 0.8rem;
  text-align: right;
  margin-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px dotted var(--highlight);
}
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--highlight);
  transition: text-decoration-thickness .2s;
}
a:hover {
  text-decoration-thickness: 5px;
}
strong {
  font-weight: bold;
}
hr {
  border: none;
}
hr::after {
  display: block;
  text-align: center;
  width: 100%;
  height: 50px;
  background: var(--highlight, #000);
  content: "";
  mask: url(/img/asterism.svg);
  mask-position: center;
  mask-repeat: no-repeat;
}
h1 {
  margin: 0;
  line-height: 1.2;
}
h2 {
  font-size: inherit;
}
ol.postlist {
  list-style-type: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1.2;
}
ol.postlist > li {
  width: 300px;
  display: flex;
  flex-direction: column;
}
ol.postlist h3 {
  font-weight: bolder;
  font-size: inherit;
  margin: 0;
}
ol.postlist p:last-of-type {
  flex-grow: 1;
}
.meta {
  font-size: 0.8rem;
  text-align: right;
}
.meta .sep {
  color: var(--highlight);
}
.tags a, .meta a {
  text-decoration-thickness: 1px;
}
.tags a:hover, .meta a:hover {
  text-decoration-thickness: 3px;
}
.tags {
  font-size: 0.8rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
img.illustration {
  float: left;
  margin: 0 1rem 10px 0;
}
img, video {
  max-width: 100%;
}
.page {
  line-height: 1.3;
}
.page .meta {
  margin-bottom: 4rem;
}
.links-nextprev {
  clear: both;
  display: flex;
  gap: 1rem;
}
blockquote {
  clear: both;
  border-left: 0.5rem solid var(--highlight);
  margin-left: 0;
  padding-left: 1rem;
  font-style: italic;
}

@media only screen and (max-width:980px) {
  ol.postlist {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width:650px) {
  ol.postlist {
    grid-template-columns: 1fr;
  }
  ol.postlist > li {
    width: auto;
  }
}
