@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/inter-latin.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: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/pt-serif-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/pt-serif-latin.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;
}
:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --ink: #202820;
  --muted: #505b4d;
  --olive: #425d44;
  --line: #d8dcd0;
  --panel: #e8ebdf;
  --serif: "PT Serif", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
.shell { width: min(100% - 3.25rem, 73rem); margin-inline: auto; }
.top, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top { min-height: 5.1rem; border-bottom: 1px solid var(--line); }
.top nav a { display: inline-block; padding-block: .55rem; color: var(--muted); text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
  text-decoration: none;
}
.mark {
  width: .95rem;
  height: .95rem;
  background: var(--olive);
  border-radius: 50% 50% 50% .15rem;
  transform: rotate(-18deg);
}
.top nav a:hover, .brand:hover, .story h3 a:hover { color: var(--olive); text-decoration: underline; }
.skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 2;
  padding: .5rem 1rem;
  background: var(--paper);
  transform: translateY(-140%);
}
.skip:focus { transform: translateY(0); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  margin-block: 2rem 4.75rem;
  overflow: hidden;
  background: var(--panel);
  border-radius: 1.15rem;
}
.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 26rem;
  padding: clamp(2rem, 5vw, 4.25rem);
}
.topic { color: var(--olive); font-size: .78rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.hero h1 { max-width: 12ch; margin-block: .95rem 1.15rem; font-size: clamp(2.8rem, 5.2vw, 4.75rem); letter-spacing: -.06em; }
.lede { max-width: 36ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.125rem); }
.action {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.7rem;
  padding: .7rem 1.12rem;
  background: var(--olive);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2rem;
}
.action:hover { background: #2f4932; }
.feature {
  position: relative;
  min-height: 19rem;
  background: #c9cdc0;
}
.feature img, .feature figcaption { position: absolute; }
.feature img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature figcaption {
  right: .85rem;
  bottom: .85rem;
  padding: .25rem .6rem;
  background: #202820;
  color: #fff;
  border-radius: 1rem;
  font-size: .72rem;
}
.feature figcaption a { text-decoration: none; }
.feature figcaption a:hover { text-decoration: underline; }
.feature figcaption a:focus-visible { outline-color: #fff; }
.section { margin-bottom: 4.75rem; }
.section h2 { margin-bottom: 1.25rem; font-size: clamp(2.1rem, 4vw, 3.05rem); }
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 1.55rem; }
.story { overflow: hidden; border: 1px solid var(--line); border-radius: .95rem; background: #fcfbf6; }
.story-image { display: block; overflow: hidden; aspect-ratio: 16/8; background: #d6d1c1; }
.story-image img, .article-picture img { width: 100%; height: 100%; object-fit: cover; }
.usb-image img { object-position: 50% 38%; }
.story-copy { padding: clamp(1.2rem, 3vw, 2rem); }
.story h3 { margin-block: .55rem .8rem; font-size: clamp(1.55rem, 2.85vw, 2.1rem); }
.story h3 a, .read-link { text-decoration: none; }
.story-copy > p:not(.topic) { color: var(--muted); }
.read-link, .back { display: inline-flex; align-items: center; gap: .5rem; color: var(--olive); font-weight: 650; }
.story .read-link { margin-top: 1.1rem; }
.read-link:hover, .back:hover { text-decoration: underline; }
.footer { padding-block: 1.45rem 2rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer p { font-size: .88rem; }
.article { width: min(100%, 52rem); margin: 2rem auto 4rem; }
.back { text-decoration: none; }
.article-head { margin-block: 1.9rem; }
.article h1 { max-width: 20ch; margin-block: .55rem .95rem; font-size: clamp(2.6rem, 6vw, 4.35rem); letter-spacing: -.045em; }
.article-picture img { aspect-ratio: 16/8; border-radius: .9rem; }
.article-picture figcaption { margin-top: .4rem; color: var(--muted); text-align: right; font-size: .78rem; }
.article-body { width: min(100%, 43rem); margin: 2.4rem auto; }
.article-body h2 { margin-block: 1.85rem .65rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.article-body p + p { margin-top: .85rem; }
.article-body code { padding: .12em .3em; border-radius: .25rem; background: var(--panel); }
.article-body .reference { margin-top: 1.65rem; color: var(--olive); font-size: .9rem; }
.related { padding: 1rem 1.3rem; background: var(--panel); border-radius: .7rem; }
@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .top { min-height: 4.1rem; }
  .hero { grid-template-columns: 1fr; margin-block: 1.2rem 3.25rem; }
  .intro { min-height: auto; padding: 1.75rem 1.5rem; }
  .feature { min-height: 15rem; }
  .stories { grid-template-columns: 1fr; gap: 1rem; }
  .section { margin-bottom: 3.25rem; }
}
@media (max-width: 30rem) {
  .footer { align-items: flex-start; flex-direction: column; }
}
