:root {
  --ink: #000000;
  --muted-ink: #000000;
  --paper: #ffffff;
  --page: #f1f1ee;
  --hero: #faf9fc;
  --tile: #f7f3f9;
  --rule: #dededb;
  --nav: #ededed;
  --accent: #df7840;
  --nav-height: 54px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Karla", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid #e1e1e1;
  background: var(--nav);
}

.site-nav__inner {
  width: min(100% - 48px, 1180px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-nav__left,
.site-nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.article-back {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-back:hover,
.article-back:focus-visible,
.site-nav__link:hover,
.site-nav__link:focus-visible,
.byline a:hover,
.byline a:focus-visible,
.article-related a:hover,
.article-related a:focus-visible {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-nav__link {
  font-size: 14px;
  text-underline-offset: 4px;
}

.article-hero {
  position: relative;
  min-height: 372px;
  display: grid;
  place-items: center;
  background: var(--hero);
}

.article-hero__inner {
  width: min(100% - 64px, 900px);
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.article-hero__mark {
  width: 104px;
  height: 104px;
  display: block;
  justify-self: center;
}

.article-hero__portrait {
  width: 116px;
  height: 116px;
  display: block;
  justify-self: center;
  object-fit: contain;
}

.article-hero__portrait-link {
  display: block;
  justify-self: center;
}

.article-hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 47px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.byline {
  margin: 13px 0 0;
  color: var(--muted-ink);
  font-size: 15px;
}

.byline a {
  text-underline-offset: 3px;
}

.read-arrow {
  position: absolute;
  bottom: -23px;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid #bebebe;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  box-shadow: 0 4px 10px rgb(0 0 0 / 12%);
  transform: translateX(-50%);
}

.read-arrow::before {
  width: 15px;
  height: 15px;
  content: "";
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-4px) rotate(45deg);
}

.article-column {
  width: 50%;
  color: #000000;
  max-width: 960px;
  margin: 0 auto;
  padding: 78px 44px 98px;
  background: var(--paper);
}

.article-section {
  display: flow-root;
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.article-section h2 {
  margin: 0 0 17px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.article-section p {
  margin: 0 0 17px;
  color: #000000;
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 1.65;
  text-align: justify;
}

.article-section p:first-of-type::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.65em;
  line-height: 0.78;
}

.article-section-separator {
  clear: both;
  height: 0;
  margin: 36px 0 30px;
  border: 0;
  border-top: 1px solid var(--rule);
}

.article-mark {
  width: 42%;
  margin-top: 6px;
  margin-right: 0;
  margin-bottom: 12px;
  margin-left: 0;
  aspect-ratio: 11 / 7;
  overflow: hidden;
  background: var(--tile);
}

.article-mark--left {
  float: left;
  margin-right: 22px;
}

.article-mark--right {
  float: right;
  margin-left: 22px;
}

.article-mark img {
  width: 110%;
  height: 110%;
  margin: -5%;
  display: block;
  object-fit: contain;
}

.article-section em {
  font-style: normal;
}

.article-related {
  clear: both;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.article-related p {
  margin: 0;
}

.site-footer {
  min-height: 128px;
  padding: 38px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #202020;
  color: #f5f5f5;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  text-underline-offset: 3px;
}

body > .foot {
  margin-top: 0;
  padding: 0 37px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #eaeaea;
  color: #222;
  font: 400 12px/1 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
}

body > .foot a {
  color: inherit;
}

.blog-index {
  min-height: calc(100vh - var(--nav-height) - 128px);
  padding: 86px 24px 110px;
  background: var(--paper);
}

.blog-index__inner {
  width: min(100%, 820px);
  margin: 0 auto;
}

.blog-index h1 {
  margin: 0 0 50px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.article-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.article-card img {
  width: 190px;
  height: 190px;
  background: var(--tile);
}

.article-card h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3.4vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.article-card h2 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.article-card p {
  margin: 0 0 17px;
  color: #464646;
  font-size: 17px;
  line-height: 1.55;
}

.article-card__byline {
  font-size: 14px !important;
}

@media (min-width: 701px) and (max-width: 900px) {
  .article-column {
    width: 72%;
  }
}

@media (max-width: 700px) {
  .site-nav__inner {
    width: min(100% - 28px, 1180px);
    gap: 14px;
  }

  .site-nav__left {
    gap: 14px;
  }

  .article-back__wide,
  .site-nav__right .site-nav__link:first-child {
    display: none;
  }

  .article-hero {
    min-height: 510px;
  }

  .article-hero__inner {
    width: min(100% - 40px, 440px);
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 30px;
    text-align: center;
  }

  .article-hero__mark {
    width: 112px;
    height: 112px;
  }

  .article-hero__portrait {
    width: 128px;
    height: 128px;
  }

  .article-hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .article-column {
    width: 100%;
    padding: 70px 25px 78px;
  }

  .article-section p {
    font-size: 16.5px;
    text-align: left;
  }

  .article-mark,
  .article-mark--left,
  .article-mark--right {
    float: none;
    width: 100%;
    margin: 7px 0 18px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }

  body > .foot {
    margin-top: 0;
    padding: 0 20px;
    height: 50px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 11 / 7;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
