:root {
  color-scheme: light;
  --ink: #261f24;
  --muted: #635e5a;
  --line: #dfdcd4;
  --paper: #f8f7f2;
  --accent: #ffa952;
  font-family: "DM Sans", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #d46c17; outline-offset: 4px; }
.wrap { width: min(1184px, 90%); margin-inline: auto; }
.mast { background: #231e24; color: #fff9ec; }
.bar, .brand, nav, .browse, .section-head, .filters, footer { display: flex; align-items: center; }
.bar { height: 64px; justify-content: space-between; }
.brand { gap: 12px; font-size: 1.17rem; font-weight: 800; letter-spacing: .05em; }
.mark { width: 32px; height: 28px; background: var(--accent); clip-path: polygon(0 74%,12% 74%,12% 56%,24% 56%,24% 39%,37% 39%,37% 23%,50% 23%,50% 7%,63% 7%,63% 23%,75% 23%,75% 39%,87% 39%,87% 56%,100% 56%,100% 87%,82% 87%,82% 70%,69% 70%,69% 54%,56% 54%,56% 39%,44% 39%,44% 56%,32% 56%,32% 73%,19% 73%,19% 90%,0 90%); }
nav { gap: 30px; }
nav a { font-size: .92rem; color: #e4dfdf; }
nav a:hover { color: var(--accent); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #261b28; color: #fff8e9; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 22%; background: url("gym.webp") center 58% / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #261b28 10%, rgba(38,27,40,.99) 24%, rgba(38,27,40,.83) 35%, transparent 63%); }
.hero-inner { padding-block: clamp(38px,4.5vw,72px); }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(2.7rem,5vw,4.65rem); line-height: 1.16; letter-spacing: -.055em; font-weight: 900; }
h1 span { color: var(--accent); margin-left: .06em; }
.hero p { margin-top: 15px; color: #ede1dc; line-height: 1.7; }
.browse { display: inline-flex; gap: 11px; margin-top: 24px; padding: 11px 19px; border-radius: 5px; background: var(--accent); color: #2a2024; font-size: .95rem; font-weight: 750; }
.browse:hover { background: #ffbc79; }
.tiles { width: 6px; height: 6px; margin: 0 8px 8px 0; background: currentColor; box-shadow: 8px 0, 0 8px, 8px 8px; }
.catalog { padding-block: 38px 48px; }
.section-head { justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
h2 { font-size: clamp(1.65rem,2vw,2rem); letter-spacing: -.045em; }
.filters { gap: 4px; flex-wrap: wrap; }
.filters button { border: 0; cursor: pointer; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .88rem; padding: 8px 12px; border-radius: 5px; }
.filters button:hover { background: #eae7df; }
.filters button[aria-pressed="true"] { background: #322b30; color: #fff9ed; }
.filters span { margin-left: 2px; font-size: .8rem; opacity: .76; font-variant-numeric: tabular-nums; }
.cards { display: grid; gap: 23px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; background: #fffefa; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.card:hover { border-color: #b77d48; box-shadow: 0 3px 15px #33252012; }
.cover { position: relative; aspect-ratio: 2.05; overflow: hidden; background: #495a63; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover span { position: absolute; bottom: 11px; left: 14px; padding: 4px 9px; border-radius: 3px; color: #fff8ef; background: #262027ed; font-size: .8rem; font-weight: 650; }
.card-body { padding: 16px 19px 19px; }
h3 { font-size: 1.2rem; letter-spacing: -.035em; }
.card-body p { margin-top: 7px; font-size: 1rem; line-height: 1.65; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-block: 22px 36px; gap: 15px; font-size: .9rem; color: var(--muted); }
footer a { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 850px) {
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .hero::before { left: 10%; }
}
@media (max-width: 590px) {
  .bar { height: 56px; }
  nav { gap: 14px; }
  nav a { font-size: .85rem; }
  .hero::before { left: 0; background-position: 58% center; }
  .hero::after { background: linear-gradient(90deg,#251b28ed,rgba(38,27,40,.74) 50%,rgba(38,27,40,.18)); }
  .hero-inner { padding-block: 38px; }
  .hero p { max-width: 21em; }
  .wide { display: none; }
  .cards { grid-template-columns: 1fr; }
  .catalog { padding-top: 25px; }
  .filters { gap: 1px; }
  .filters button { padding: 8px 9px; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
