:root {
  --background: #e8e8e8;
  --header: #557bc6;
  --surface: #fff;
  --ink: #000;
  --muted: #606060;
  --accent: #a721d3;
  --line: #c6c6c6;
}

@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/Inter-upright-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter var";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/Inter-italic-var.woff2") format("woff2");
}

html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  background: var(--background); color: var(--ink);
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.8rem; letter-spacing: -.015em; line-height: 1.5; margin: 0;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--accent); text-decoration: underline; transition: all .15s linear; }
a:hover, a:focus { text-decoration: none; }
p, ul, ol, blockquote, figure { margin: 0 0 2rem; }
ul, ol { padding-left: 2.5rem; }
li { margin: .5rem 0; }
h1, h2, h3, h4 { line-height: 1.15; margin: 3.5rem 0 2rem; }
h1 { font-size: 4.8rem; letter-spacing: -.04em; }
h2 { font-size: 3.6rem; letter-spacing: -.04em; }
h3 { font-size: 2.4rem; letter-spacing: -.03em; }
img, video, iframe { display: block; height: auto; max-width: 100%; }
blockquote { border-left: .2rem solid var(--accent); padding: .5rem 0 .5rem 2rem; }
hr { border: 0; border-top: .1rem solid var(--line); margin: 4rem 0; }

.skip-link { left: -9999px; position: absolute; top: 1rem; z-index: 2; }
.skip-link:focus { background: #fff; left: 1rem; padding: 1rem; }
.section-inner { margin: 0 auto; max-width: 1200px; width: calc(100% - 8rem); }
.site-header { background: var(--header); color: #21002d; }
.header-inner { align-items: center; display: flex; justify-content: space-between; max-width: 1680px; padding-bottom: 3.15rem; padding-top: 3.15rem; }
.header-titles p { margin: 0; }
.header-titles { align-items: baseline; display: flex; gap: 2.4rem; }
.site-title { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.site-title a { color: inherit; text-decoration: none; }
.site-description { color: #000; font-size: 1.8rem; }
.primary-menu { display: flex; flex-wrap: wrap; gap: 2.4rem; justify-content: flex-end; }
.primary-menu a { color: #21002d; font-size: 1.8rem; font-weight: 600; text-decoration: none; }
.primary-menu a:hover, .primary-menu a:focus, .primary-menu a[aria-current="page"] { text-decoration: underline; }
.header-actions { align-items: center; display: flex; gap: 3rem; }
.menu-toggle { align-items: center; background: transparent; border: 0; color: #21002d; cursor: pointer; display: flex; flex-direction: column; font: inherit; font-size: 1.4rem; gap: .2rem; line-height: 1; padding: 0 0 0 2.4rem; }
.menu-toggle span:first-child { font-size: 2.4rem; letter-spacing: .15em; line-height: .65; }
.menu-modal[hidden] { display: none; }
.menu-modal { background: rgba(0, 0, 0, .72); inset: 0; position: fixed; z-index: 10; }
.menu-modal-inner { background: var(--surface); min-height: 100%; padding: 8rem 6rem; position: absolute; right: 0; top: 0; width: min(42rem, 88vw); }
.menu-close { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 4rem; line-height: 1; padding: 0; position: absolute; right: 3rem; top: 2.5rem; }
.menu-modal-title { color: var(--muted); font-size: 1.4rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.modal-menu { display: flex; flex-direction: column; gap: 2rem; }
.modal-menu a { color: var(--ink); font-size: 2.8rem; text-decoration: none; }
.modal-menu a:hover, .modal-menu a:focus { color: var(--accent); }
body.menu-open { overflow: hidden; }
.site-content { margin: 0 auto; max-width: 1200px; padding: 8rem 0 10rem; }
.home-intro { margin: 0 auto; }
.home-intro > h1, .archive-header { text-align: center; }
.intro-copy { color: var(--muted); margin: 0 auto 7rem; max-width: 650px; text-align: center; }
.post-card { border-bottom: .1rem solid var(--line); padding: 0 0 6rem; margin: 0 auto 6rem; max-width: 900px; }
.entry-header { text-align: center; }
.entry-categories, .entry-tags { color: var(--muted); font-size: 1.4rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.entry-categories { margin-bottom: 2rem; }
.entry-categories a { color: var(--accent); }
.entry-tags a { color: inherit; }
.entry-title {
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
  letter-spacing: -.0415625em;
  line-height: 1.138888889;
  margin: 0 auto 2.5rem;
  max-width: 760px;
}
.post-card .entry-title, .single-header .entry-title { font-size: 6.4rem; font-weight: 800; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover, .entry-title a:focus { color: var(--accent); }
.post-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 1.4rem; justify-content: center; list-style: none; margin: 0 auto 3rem; padding: 0; }
.post-meta li { margin: 0; }
.post-meta li + li::before { content: " · "; padding: 0 .8rem; }
.post-meta time { color: inherit; display: inline; font-size: inherit; margin: 0; }
.featured-media { display: block; margin: 0 auto 3rem; max-width: 900px; }
.featured-media img { margin: 0 auto; width: 100%; }
.entry-summary { margin: 0 auto; max-width: 760px; }
.read-more { white-space: nowrap; }
.entry-tags { letter-spacing: 0; margin: 3rem auto 0; max-width: 760px; text-transform: none; }
.archive-header { margin-bottom: 7rem; }
.archive-header h1 { margin-bottom: 1.5rem; }
.archive-header div { color: var(--muted); margin: auto; max-width: 650px; }
.taxonomy-list { list-style: none; margin: 4rem auto; max-width: 760px; padding: 0; }
.taxonomy-list li { border-bottom: .1rem solid var(--line); display: flex; justify-content: space-between; padding: 1.5rem 0; }
.taxonomy-list span { color: var(--muted); }
.single-entry { margin: 0 auto; max-width: 1200px; }
.single-header { margin: 0 auto 6rem; max-width: 850px; }
.entry-content { font-size: 1.9rem; margin: 0 auto; max-width: 760px; }
.entry-content h2 { margin-top: 5rem; }
.entry-content img { margin: 3rem auto; }
.entry-content a { overflow-wrap: anywhere; }
.post-navigation { border-top: .1rem solid var(--line); display: flex; gap: 3rem; justify-content: space-between; margin: 6rem auto 0; max-width: 760px; padding-top: 2rem; }
.site-footer { background: var(--surface); border-top: .1rem solid var(--line); padding: 6rem 0 2rem; }
.footer-inner { display: grid; gap: 6rem; grid-template-columns: repeat(2, 1fr); }
.site-footer p { color: var(--muted); font-size: 1.5rem; }
.footer-heading { color: var(--ink) !important; font-weight: 600; margin-bottom: .8rem; }
.copyright { margin: 6rem auto 0; max-width: 1200px; width: calc(100% - 8rem); }

@media (max-width: 700px) {
  .section-inner, .copyright { width: calc(100% - 4rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 2.5rem; }
  .header-inner { align-items: center; flex-direction: row; }
  .header-titles { display: block; }
  .site-description { display: none; }
  .primary-menu { display: none; }
  .header-actions { margin-left: auto; }
  .site-content { padding: 5rem 2rem 7rem; }
  h1 { font-size: 3.6rem; }
  h2 { font-size: 3rem; }
  .single-header .entry-title { font-size: 3.6rem; }
  .post-card .entry-title { font-size: 3.2rem; }
  .post-card { padding-bottom: 4rem; margin-bottom: 4rem; }
  .post-meta { display: block; }
  .post-meta li + li::before { content: ""; padding: 0; }
  .post-meta li + li { margin-top: .4rem; }
  .footer-inner { gap: 2rem; grid-template-columns: 1fr; }
  .post-navigation { display: block; }
  .post-navigation a { display: block; margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
