@font-face {
  font-family: Sora;
  src: url("/assets/sora-400.ttf") format("truetype");
  font-display: swap;
}
:root {
  --paper: #fdfcfb;
  --ink: #101114;
  --muted: #555258;
  --line: #d4cdcd;
  --red: #a31329;
  --space: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 system-ui, sans-serif; }
h1, h2, .brand, .rows strong { font-family: Sora, system-ui, sans-serif; font-weight: 400; }
h1, h2, p, figure { margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 5.6vw, 5.8rem); letter-spacing: -.065em; line-height: 1.04; }
h2 { font-size: clamp(1.55rem, 3vw, 2.8rem); letter-spacing: -.05em; line-height: 1.15; }
a { color: var(--red); text-underline-offset: .2em; }
a:focus-visible { outline: solid 2px var(--red); outline-offset: 3px; }
.frame { margin: 14px auto; width: calc(100% - 32px); max-width: 1720px; border: 1px solid var(--line); }
header { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--space); border-bottom: 1px solid var(--line); }
header a, nav a, .rows a, .button { text-decoration: none; }
header a:hover, nav a:hover { text-decoration: underline; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.brand img { width: 92px; }
.brand span { border-left: 1px solid var(--line); padding-left: 16px; }
.cover { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.cover div { padding: clamp(38px, 6vw, 96px) var(--space); }
.cover p, .lead { font-size: clamp(1.08rem, 1.6vw, 1.48rem); max-width: 38ch; color: var(--muted); }
.art { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.button { display: inline-block; color: white; background: var(--red); padding: 10px 22px; margin-top: 8px; }
.button:hover { background: #650717; }
.catalog { padding: var(--space); display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space); }
.rows a { display: grid; grid-template-columns: 1fr auto; padding: 14px 8px; border-top: 1px solid var(--line); color: var(--ink); transition: background .15s; }
.rows a:hover { background: #f8e9e8; }
.rows span, figcaption { color: var(--muted); font-size: .9rem; }
.rows b { grid-area: 1 / 2 / 3 / 3; align-self: center; color: var(--red); }
.layout { display: grid; grid-template-columns: minmax(210px, 23%) 1fr; }
aside { border-right: 1px solid var(--line); padding: 30px var(--space); }
nav { position: sticky; top: 24px; display: grid; gap: 10px; }
nav strong { margin-top: 14px; }
.article { padding: var(--space); min-width: 0; max-width: 930px; }
.article h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.article section { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.article h2 { font-size: 1.65rem; }
li { margin-bottom: 12px; }
pre { overflow-x: auto; background: #f7f3f2; padding: 14px; font-size: .88em; }
figure img { display: block; max-width: 100%; max-height: 460px; border: 1px solid var(--line); }
blockquote { border-left: 3px solid var(--red); padding-left: 16px; margin: 20px 0; }
.skip { position: absolute; transform: translateY(-160%); background: white; }
.skip:focus { transform: none; }
@media (max-width: 700px) {
  .frame { width: calc(100% - 16px); margin: 8px auto; }
  .cover, .catalog, .layout { grid-template-columns: 1fr; }
  .art { height: 110px; }
  aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px var(--space); }
  nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; }
  nav strong { display: none; }
  ol { padding-left: 1.3em; }
}
