:root {
  color-scheme: light;
  --paper: #f7f0e4;
  --paper-deep: #f1eadd;
  --ink: #1c1a18;
  --muted: #6e655c;
  --red: #af0a14;
  --line: rgba(28, 26, 24, 0.16);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 "Manrope", sans-serif; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  min-height: 76px; padding: 18px clamp(22px, 5vw, 80px); display: flex;
  align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-decoration: none; }
.brand-mark { width: 13px; height: 13px; border: 1px solid var(--red); transform: rotate(45deg); }
.site-header nav { display: flex; gap: 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current] { color: var(--red); }

.intro { padding: clamp(48px, 6vw, 76px) 0 24px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Bodoni Moda", serif; font-weight: 400; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(52px, 6vw, 74px); line-height: 1.06; }
.lead { max-width: 790px; margin: 16px 0 0; color: #3f3934; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.6; }
.topics { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.topics span { padding: 7px 13px; border: 1px solid #cba9a5; border-radius: 999px; color: var(--red); background: #fffaf1; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.catalog { padding-block: clamp(34px, 4vw, 56px) 100px; }
.article-feed { display: flex; flex-direction: column; gap: clamp(34px, 4vw, 56px); }
.article-card { display: grid; grid-template-columns: minmax(260px, 42%) minmax(0, 1fr); min-height: 285px; overflow: hidden; background: #fffaf1; border: 1px solid var(--line); border-radius: 10px; }
.card-image { display: block; overflow: hidden; background: var(--paper-deep); }
.card-image img { display: block; width: 100%; height: 100%; min-height: 285px; object-fit: cover; transition: transform .25s ease; }
.card-image:hover img { transform: scale(1.025); }
.card-content { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 3vw, 38px); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 700; }
.card-meta span { color: var(--red); padding: 3px 9px; border: 1px solid #cba9a5; border-radius: 2px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.card-content h2 { margin: 0; font-size: clamp(27px, 2.8vw, 38px); line-height: 1.2; }
.card-content h2 a { text-decoration: none; }
.card-excerpt { color: #4a433d; margin: 16px 0 22px; font-size: 15px; line-height: 1.7; }
.card-author { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.author-avatar { display: block; flex: none; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; background: var(--paper-deep); }
.card-author img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(2.6); transform-origin: 50% 22%; }
a:hover, a:focus-visible { color: var(--red); }

.site-footer { padding: 38px max(24px, calc((100vw - 1120px)/2)); background: #100e0d; color: var(--paper); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }
.site-footer a { text-decoration: none; }

@media (max-width: 700px) {
  .site-header { min-height: 66px; }
  .brand { font-size: 11px; letter-spacing: .12em; }
  .site-header nav { gap: 14px; font-size: 11px; }
  .container { width: calc(100% - 38px); }
  .article-card { grid-template-columns: 1fr; }
  .card-image img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}
