* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f3eb;
  color: #302c28;
  font: 16px/1.8 system-ui,"Microsoft YaHei",sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid #a24b35;
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
header {
  background: #fffaf3;
  border-bottom: 1px solid #ddd3c5;
}
.wrap {
  width: min(1160px,calc(100% - 40px));
  margin: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #913c30;
}
.brand img {
  width: 40px;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
main {
  padding: 32px 0 64px;
}
.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: #342d29;
  color: #fff7e9;
  border-radius: 5px;
  overflow: hidden;
}
.hero-copy {
  padding: 48px 38px;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #c28b61;
  font-weight: 700;
}
h1,h2,h3 {
  line-height: 1.35;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(30px,4vw,52px);
}
h2 {
  font-size: 29px;
}
h3 {
  font-size: 21px;
}
p {
  margin: 0 0 18px;
}
.btn {
  display: inline-block;
  background: #a64738;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
}
.muted {
  color: #73685e;
}
.hero .muted {
  color: #e5d5c4;
}
.section {
  margin-top: 46px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  flex-wrap: wrap;
}
.genres {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.genre {
  background: #eae0d0;
  padding: 24px;
  border-top: 3px solid #a64738;
}
.genre:nth-child(2) {
  background: #dce5df;
}
.genre:nth-child(3) {
  background: #e0e0e9;
}
.genre:nth-child(4) {
  background: #f0dfd4;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.card {
  background: #fffaf3;
  border: 1px solid #e0d6c8;
  padding: 15px;
  min-width: 0;
}
.cover {
  aspect-ratio: 2/1;
  background: #e9d8c5;
  margin-bottom: 15px;
  width: 100%;
}
.tag {
  font-size: 13px;
  color: #913c30;
  font-weight: 700;
}
.card p {
  font-size: 14px;
  color: #60564d;
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.guide {
  padding: 22px;
  background: #fffaf3;
  border-left: 3px solid #9c4836;
}
.crumb {
  font-size: 13px;
  color: #75675b;
  margin-bottom: 24px;
}
.article {
  max-width: 800px;
  margin: auto;
  background: #fffaf3;
  padding: 38px;
}
.article h2 {
  margin-top: 30px;
  font-size: 24px;
}
.article img {
  max-width: 460px;
}
.meta {
  padding: 12px 0;
  border-block: 1px solid #ddd3c5;
  margin: 20px 0;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
input,select,button {
  font: inherit;
  padding: 10px;
  border: 1px solid #b9a99a;
  background: white;
  border-radius: 4px;
  max-width: 100%;
}
footer {
  background: #302c28;
  color: #e9dfd1;
  padding: 32px 0;
}
footer a {
  margin-right: 18px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  z-index: 5;
}
[hidden] {
  display: none !important;
}
@media(max-width:850px) {
  .cards,.genres {
    grid-template-columns: repeat(2,1fr);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero img {
    max-height: 360px;
  }
  .hero-copy {
    padding: 30px;
  }
  .article {
    padding: 24px;
  }
}
@media(max-width:480px) {
  .wrap {
    width: calc(100% - 28px);
  }
  nav {
    gap: 8px 14px;
  }
  .cards,.guide-list {
    grid-template-columns: 1fr;
  }
  .genre {
    padding: 14px;
  }
  .hero-copy {
    padding: 24px;
  }
  .article {
    padding: 18px;
  }
  .filters>* {
    width: 100%;
  }
  h2 {
    font-size: 24px;
  }
}
