@font-face {
  font-family: Literata;
  src: url("./assets/literata-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: oklch(96.9% 0.004 106);
  --ink: oklch(26% 0.025 147);
  --soft-ink: oklch(39% 0.023 147);
  --field: oklch(91% 0.019 121);
  --display: Literata, Georgia, serif;
  --body: Arial, Helvetica, sans-serif;
  --content: 1400px;
  --gutter: max(48px, calc((100vw - var(--content)) / 2));
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 40px; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 7px; }
.container { width: calc(100% - 2 * var(--gutter)); max-width: var(--content); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.header { padding-block: 38px; }
.wordmark { font-family: var(--display); font-size: 30px; line-height: 1.5; font-weight: 400; letter-spacing: -0.035em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 36px; }
nav a, .footer, .text-link { font-size: 16px; line-height: 1.6; }
nav a { padding-block: 12px; text-decoration: none; }
h1, h2, summary { font-family: var(--display); font-weight: 400; letter-spacing: -0.035em; }
h1, h2 { margin: 0; text-wrap: balance; }
h1 { grid-column: 1 / -1; font-size: clamp(72px, 6.1vw, 104px); line-height: 1.08; }
h2 { font-size: 42px; line-height: 1.2; }
p { margin: 0; font-size: 20px; line-height: 1.65; text-wrap: pretty; }
.hero { display: grid; grid-template-columns: 0.85fr 1.15fr; column-gap: 80px; row-gap: 42px; padding-block: 58px 0; }
.hero-copy { align-self: end; padding-bottom: 54px; }
.hero-copy p { margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; padding: 16px 22px; color: var(--paper); background: var(--ink); font-size: 16px; line-height: 1.6; text-decoration: none; transition: transform 160ms cubic-bezier(0.23,1,0.32,1); -webkit-tap-highlight-color: transparent; }
.button:active { transform: scale(0.98); }
.button svg { flex: 0 0 auto; transition: transform 160ms cubic-bezier(0.23,1,0.32,1); }
.cover { margin: 0; }
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--soft-ink); }
.notes { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; padding-block: 150px; }
.section-intro p { margin-top: 20px; color: var(--soft-ink); }
.stories { display: grid; align-content: start; gap: 40px; }
details { min-width: 0; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 8px; font-size: 30px; line-height: 1.4; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: 0 0 auto; }
details[open] summary svg { transform: rotate(45deg); }
.preview { margin-top: 8px; color: var(--soft-ink); font-size: 18px; line-height: 1.6; }
.story-body { padding-block: 24px 8px; max-width: 65ch; }
.story-body p { font-size: 18px; line-height: 1.7; }
.story-body p + p { margin-top: 16px; }
.about { background: var(--field); }
.about-inner { padding-block: 76px; }
.about p { max-width: 63ch; margin-top: 24px; }
.text-link { display: inline-block; margin-top: 28px; padding-block: 8px; }
.footer { padding-block: 44px; }
.footer > span { color: var(--soft-ink); font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  nav a:hover, .wordmark:hover, .text-link:hover { text-decoration: underline; }
  .button:hover svg { transform: translateX(4px); }
  summary:hover span { text-decoration: underline; text-underline-offset: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .button svg { transition: none; }
  .button:active, .button:hover svg { transform: none; }
}
