/* STIX Two Text, self-hosted from @fontsource/stix-two-text (copied to /fonts/ by the build). */
@font-face { font-family: 'STIX Two Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/stix-two-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'STIX Two Text'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/stix-two-text-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'STIX Two Text'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/stix-two-text-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'STIX Two Text'; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/stix-two-text-latin-ext-700-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'STIX Two Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/stix-two-text-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'STIX Two Text'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/stix-two-text-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'STIX Two Text'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/stix-two-text-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'STIX Two Text'; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/stix-two-text-latin-700-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Tokens from the approved mocks. No all caps, no clamps or ellipses, no side or top border on cards. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: #111111;
  font-family: 'STIX Two Text', 'Times New Roman', serif;
  overflow-wrap: anywhere;
}
a { color: #111111; text-decoration: none; }
a:hover { color: #1E40AF; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Header and footer */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 56px 0 32px;
}
.site-header .name { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.site-header nav { display: flex; gap: 38px; font-size: 16px; }
.site-footer { margin-top: 100px; }
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 64px;
  border-top: 1px solid #DDDDDD;
  font-size: 14px;
  color: #555555;
}
.site-footer p { margin: 0; }
.site-footer a { color: #555555; }
.site-footer a:hover { color: #1E40AF; }

/* The cobalt band */
.band { background: #1E40AF; color: #FFFFFF; }
.band a { color: #FFFFFF; }
.band a:hover { color: #D3DCF7; }
.band h1 { font-size: 68px; line-height: 1.05; letter-spacing: -0.5px; }
.band .date { margin: 0; color: #D3DCF7; }

/* Home lead */
.lead .wrap { padding: 74px 0 62px; }
.lead h1 { max-width: 1000px; }
.lead .date { margin-top: 19px; font-size: 17px; }
.lead .excerpt { max-width: 860px; margin: 24px 0 0; font-size: 23px; line-height: 1.6; }
.band .button {
  display: inline-block;
  margin-top: 32px;
  min-width: 140px;
  height: 46px;
  padding: 0 24px;
  box-sizing: border-box;
  border-radius: 23px;
  background: #FFFFFF;
  color: #1E40AF;
  font-size: 15px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}
.band .button:hover { background: #D3DCF7; color: #1E40AF; }

/* More Writing and the older list pages */
.list { margin-top: 44px; }
.list > h1, .list > h2 { margin-bottom: 46px; font-size: 34px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.cards hr { height: 1px; margin: 60px 0 40px; border: 0; background: #EEEEEE; }
.card .date { margin: 0 0 10px; font-size: 14px; color: #555555; }
.card h3 { font-size: 28px; line-height: 1.2; }
.card .excerpt { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: #3A3A3A; }
.card .more { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 700; color: #1E40AF; }
.load-more-wrap { margin: 96px 0 0; text-align: center; }
.load-more {
  display: inline-block;
  min-width: 160px;
  height: 48px;
  padding: 0 24px;
  box-sizing: border-box;
  border: 0;
  border-radius: 24px;
  background: #1E40AF;
  color: #FFFFFF;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
  cursor: pointer;
}
.load-more:hover { color: #FFFFFF; background: #111111; }
.load-more:disabled { opacity: 0.6; cursor: default; }
.empty { padding-top: 74px; }
.empty h1 { font-size: 34px; }

/* Article: band, 680px column, bottom row */
.article-head {
  min-height: 348px;
  box-sizing: border-box;
  padding: 74px max(24px, 50% - 560px) 80px max(24px, 50% - 340px);
}
.article-head h1 { max-width: 900px; }
.article-head .date { margin-top: 29px; font-size: 18px; }
.prose {
  width: min(680px, 100% - 48px);
  margin: 70px auto 0;
  font-size: 21px;
  line-height: 1.7;
  color: #222222;
}
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol, .prose pre, .prose figure { margin: 0 0 29px; }
.prose h2, .prose h3, .prose h4 { color: #111111; line-height: 1.25; margin: 45px 0 20px; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 25px; }
.prose h4 { font-size: 21px; }
.prose a { color: #1E40AF; text-decoration: underline; text-underline-offset: 0.15em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li > ul, .prose li > ol { margin: 0; }
.prose blockquote { margin: 47px 0 39px; padding: 0; font-size: 28px; font-style: italic; line-height: 1.45; color: #1E40AF; }
.prose blockquote p { margin: 0; }
.prose sup { font-size: 14px; line-height: 0; }
.prose sup a { text-decoration: none; }
.prose figure img { display: block; max-width: 100%; height: auto; }
.prose figure.center img { margin-inline: auto; }
.prose figcaption { margin-top: 10px; font-size: 16px; line-height: 1.5; color: #555555; }
.prose figure.center figcaption { text-align: center; }
.prose pre { overflow-x: auto; padding: 16px 20px; border: 1px solid #EEEEEE; border-radius: 6px; font-size: 17px; line-height: 1.5; overflow-wrap: normal; }
.prose code { font-family: inherit; font-size: 0.92em; }
.prose :is(h2, h3, h4):has(+ ol.notes) { margin: 87px 0 18px; padding-top: 26px; border-top: 1px solid #DDDDDD; font-size: 20px; }
.prose ol.notes { padding-left: 0; list-style-position: inside; font-size: 16px; line-height: 1.6; color: #444444; }
.prose ol.notes li + li { margin-top: 8px; }
.prose ol.notes a { text-decoration: none; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid #EEEEEE;
  font-size: 20px;
  font-weight: 700;
}
.pager .all { margin-left: auto; color: #1E40AF; text-align: right; }

/* Phones: one column, smaller band text */
@media (max-width: 759px) {
  .site-header .wrap { padding: 32px 0 24px; }
  .site-header .name { font-size: 24px; }
  .site-header nav { gap: 24px; }
  .band h1 { font-size: 40px; line-height: 1.1; }
  .lead .wrap { padding: 48px 0 44px; }
  .lead .excerpt { font-size: 19px; }
  .article-head { min-height: 0; padding: 48px 24px 56px; }
  .article-head .date { margin-top: 20px; font-size: 16px; }
  .list > h1, .list > h2 { margin-bottom: 32px; font-size: 28px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .cards hr { margin: 40px 0; }
  .card h3 { font-size: 24px; }
  .load-more-wrap { margin-top: 64px; }
  .prose { margin-top: 48px; font-size: 19px; }
  .prose h2 { font-size: 26px; }
  .prose blockquote { font-size: 23px; }
  .pager { flex-direction: column; font-size: 18px; }
  .pager .all { margin-left: 0; text-align: left; }
  .site-footer { margin-top: 72px; }
}
