/* Layout chrome — Udemy places, our material. Square corners. Heavy ink. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
}
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 12px;
  height: 26px;
  background: var(--fire);
  display: inline-block;
}
.logo em { font-style: italic; font-weight: 900; }

.search {
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 42px;
  border: 2px solid var(--ink);
  background: var(--white);
  max-width: 720px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  min-width: 0;
  color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search button {
  width: 46px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}
.header-links .bag { font-size: 14px; font-weight: 600; padding: 0 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { color: var(--ink); background: var(--well); }
.btn--fire {
  background: var(--fire);
  border-color: var(--fire);
  color: var(--paper);
}
.btn--fire:hover {
  color: var(--paper);
  background: var(--fire-ink);
  border-color: var(--fire-ink);
}
.btn--block { width: 100%; height: 48px; font-size: 16px; }
.btn--xl { height: 56px; font-size: 17px; width: 100%; }

.subnav {
  display: flex;
  gap: 22px;
  padding: 0 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  overflow-x: auto;
  background: var(--paper);
}
.subnav a {
  white-space: nowrap;
  color: var(--ink);
  padding: 8px 0 8px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.subnav a:hover, .subnav a.is-on {
  color: var(--fire);
  border-bottom-color: var(--fire);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Aisle head — want as H1, not a publisher mast. Short so ~5 rows hit the first screen. */
.aisle-head { padding: 10px 0 2px; }
.aisle-head h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.aisle-head .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.pills { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 0 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill:hover, .pill.is-on { background: var(--ink); color: var(--paper); }

.grid-cat {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 48px;
}
.filters { font-size: 14px; }
.filter { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.filter h4 {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  cursor: pointer;
  font-size: 13px;
}
.filter input { accent-color: var(--fire); }
.filter .n {
  color: var(--muted);
  margin-left: auto;
  font-size: 12px;
  font-family: var(--mono);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.toolbar strong { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.sort {
  height: 36px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0 10px;
  font-weight: 600;
}

/* Fat Udemy rows — tight enough that the first screen is a scan, not two tiles */
.row {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
  color: inherit;
}
.row:hover { color: inherit; }
.row .cover {
  width: 168px;
  aspect-ratio: 16 / 9;
  padding: 0 10px 8px;
}
.row .cover .cover__register {
  height: 10px;
  flex-basis: 10px;
  margin: 0 -10px 6px;
  width: calc(100% + 20px);
}
.row .cover .cover__title { font-size: 16px; margin: 4px 0 4px; }
.row .cover .cover__sub { display: none; }
.row__mid { min-width: 0; padding-top: 2px; display: flex; flex-direction: column; justify-content: center; }
.row__result {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.row__sit {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
}
.row__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  min-width: 108px;
  padding: 0;
}
.price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.once {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.row--buyable .row__buy .price { font-size: 18px; }
.row--density .row__buy { display: none; }
.row--density { grid-template-columns: 168px 1fr; }

.shelf { padding: 28px 0 40px; border-top: 2px solid var(--ink); }
.shelf:first-of-type { border-top: 0; padding-top: 8px; }
.shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.shelf__head h2 { font-size: 28px; font-weight: 700; font-style: italic; }
.shelf__head a { font-size: 14px; font-weight: 600; color: var(--fire); }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.rail > * { scroll-snap-align: start; }
.card { width: 240px; flex: 0 0 240px; color: inherit; }
.card:hover { color: inherit; }
.card .cover__title { font-size: 26px; }
.card__sit {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  font-weight: 500;
}

.site-footer {
  background: var(--hero);
  color: #C9C0B0;
  padding: 48px 0 24px;
  margin-top: 24px;
  font-size: 13px;
}
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h4 {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--paper);
  margin-bottom: 12px;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #3A342C;
}

/* PDP */
.hero {
  background: var(--hero);
  color: var(--paper);
  padding: 28px 0 48px;
  border-bottom: 12px solid var(--fire);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  padding-right: 380px;
}
.crumbs { font-size: 12px; color: #A39B8F; margin-bottom: 16px; }
.crumbs a { color: #D4CCC0; }
.sit-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero .lede { font-size: 18px; color: #C9C0B0; margin-top: 14px; max-width: 46ch; }

.pdp-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 64px;
  display: grid;
  grid-template-columns: 1.7fr 340px;
  gap: 28px;
  align-items: start;
}
.buy {
  background: var(--paper);
  border: 3px solid var(--ink);
  position: sticky;
  top: 80px;
  color: var(--ink);
  margin-top: -200px;
}
.buy .cover { border: 0; border-bottom: 3px solid var(--ink); aspect-ratio: 16 / 9; }
.buy .cover__title { font-size: 28px; }
.buy__pad { padding: 18px; }
.buy .price { font-size: 32px; }
.buy .once { display: block; margin: 4px 0 16px; color: var(--fire); font-size: 12px; }
.buy ul {
  list-style: none;
  padding: 14px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--rule);
}
.buy li {
  font-size: 13px;
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--ink);
}
.buy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 4px;
  background: var(--fire);
}

.acc { border: 2px solid var(--ink); margin-top: 8px; }
.acc details { border-bottom: 1px solid var(--rule); }
.acc details:last-child { border-bottom: 0; }
.acc summary {
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--fire);
  font-size: 20px;
}
.acc details[open] summary::after { content: "–"; }
.acc .acc__body { padding: 0 16px 16px; color: var(--muted); font-size: 14px; }
.gate {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  display: block;
  margin-bottom: 6px;
}

.fbt {
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 22px;
  margin: 28px 0;
}
.fbt h3 { font-size: 26px; font-style: italic; margin-bottom: 16px; }
.fbt__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fbt__item { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 220px; }
.fbt__item .cover { width: 140px; flex: 0 0 140px; }
.fbt__item .cover__title { font-size: 16px; }
.fbt__plus {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 900;
  color: var(--fire);
}
.fbt__total { margin-left: auto; text-align: right; min-width: 180px; }
.fbt__total .price { font-size: 24px; display: block; margin: 6px 0 10px; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fire);
  font-weight: 600;
}
.note { font-size: 12px; color: var(--muted); }

.m-buy {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 70;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-top: 8px solid var(--fire);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Checkout */
.chk-head {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.firebar { height: 12px; background: var(--fire); }
.page { max-width: 1080px; margin: 0 auto; padding: 36px 22px 80px; }
.chk {
  display: grid;
  grid-template-columns: 1.5fr 340px;
  gap: 32px;
  align-items: start;
}
.box {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 20px;
  margin: 0 0 18px;
}
.item { display: flex; gap: 14px; align-items: center; }
.item .cover { width: 140px; flex: 0 0 140px; }
.item .cover__title { font-size: 16px; }
.sum {
  position: sticky;
  top: 24px;
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 20px;
}
.sum h2 { font-size: 22px; font-style: italic; margin-bottom: 12px; }
.line { display: flex; justify-content: space-between; margin: 8px 0; font-size: 14px; }
.line--tot {
  font-size: 18px;
  font-weight: 700;
  border-top: 2px solid var(--ink);
  padding-top: 12px;
  margin-top: 12px;
}
.pay-row { display: flex; gap: 8px; margin-bottom: 12px; }
.pay-row span {
  border: 2px solid var(--ink);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.field { margin: 0 0 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input, .field select {
  width: 100%;
  height: 46px;
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
}

/* Signup */
.split {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.type-col {
  background: var(--hero);
  color: var(--paper);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 12px solid var(--fire);
}
.type-col h1 {
  font-size: clamp(48px, 6vw, 84px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  max-width: 10ch;
}
.type-col p { margin-top: 20px; color: #C9C0B0; font-size: 18px; max-width: 28ch; }
.form-col {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
.form-col h2 { font-size: 32px; font-style: italic; margin-bottom: 20px; }
.alt { display: flex; gap: 8px; margin-top: 16px; }
.alt a {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 13px;
}
.foot-login {
  margin-top: 24px;
  padding: 14px;
  background: var(--well);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 980px) {
  .grid-cat, .pdp-grid, .chk, .split { grid-template-columns: 1fr; }
  .buy { position: static; margin-top: 16px; }
  .hero-inner { padding-right: 22px; }
  .row, .row--density { grid-template-columns: 1fr; }
  .row .cover { width: 100%; }
  .row__buy {
    flex-direction: row;
    align-items: center;
    min-width: 0;
  }
  .header-links .bag { display: inline; }
  .m-buy { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fbt__total { margin-left: 0; text-align: left; width: 100%; }
  .type-col { padding: 36px 22px; border-right: 0; border-bottom: 12px solid var(--fire); }
  .form-col { padding: 36px 22px; }
  .sum { position: static; }
  .filters { display: none; }
}

/* Home swagger — first visit, then the directory. */
.mast {
  background: var(--hero);
  color: var(--paper);
  padding: 28px 0 34px;
  border-bottom: 12px solid var(--fire);
}
.mast h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.mast .lede {
  font-size: 18px;
  color: #C9C0B0;
  margin-top: 14px;
  max-width: 40ch;
}
.tag-ai {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire);
  border: 1.5px solid var(--fire);
  padding: 3px 7px;
}
.row .tag-ai { margin-top: 6px; }

/* Noa rails — home + aisle. PDP rules above stay. */
.btn--buy {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  margin-top: 8px;
}


/* HOME MAST — Rico swagger. Not a category H1. Not a manifesto. */
.mast {
  background: var(--hero);
  color: var(--paper);
  padding: 56px 0 52px;
  border-bottom: 18px solid var(--fire);
}
.mast .kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 16px;
}
.mast h1 {
  font-size: clamp(52px, 8.4vw, 108px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  max-width: 11ch;
}
.mast .lede {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  max-width: 32ch;
  line-height: 1.3;
}

/* SHELVES as Udemy rails — six cards, then See all. Never a stacked fat list. */
.shelf {
  padding: 40px 0 12px;
}
.shelf + .shelf { border-top: 2px solid var(--ink); }
.shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.shelf__head h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.shelf__head a {
  font-size: 15px;
  font-weight: 700;
  color: var(--fire);
  white-space: nowrap;
}
.shelf__head a:hover { color: var(--fire-ink); }

.rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 10px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink); }
.rail::-webkit-scrollbar-track { background: var(--well); }

.card {
  width: var(--card-w);
  flex: 0 0 var(--card-w);
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover { color: inherit; }
.card:hover .cover { outline: 3px solid var(--fire); outline-offset: 0; }
.card .cover__title { font-size: 27px; }

.card__body { padding: 10px 2px 0; }
.card__sit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

/* Udemy Premium-style chip — directory swagger, not a lecture */
.chip-ai {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--fire);
  color: var(--fire);
  padding: 2px 7px;
  margin-top: 8px;
  line-height: 1.4;
}

.card__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.once {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.card--density .card__buy,
.card--density .cover__price { display: none; }

/* AISLE — fat list + filter sidebar. Not used on home. */
.aisle-head { padding: 28px 0 8px; }
.aisle-head h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.aisle-head .count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.pills { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill:hover, .pill.is-on { background: var(--ink); color: var(--paper); }

.grid-cat {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 48px;
}
.filters { font-size: 14px; }
.filter { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.filter h4 {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  cursor: pointer;
  font-size: 13px;
}
.filter input { accent-color: var(--fire); }
.filter .n {
  color: var(--muted);
  margin-left: auto;
  font-size: 12px;
  font-family: var(--mono);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink);
}
.toolbar strong { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.sort {
  height: 36px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0 10px;
  font-weight: 600;
}

.row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
  color: inherit;
}
.row:hover { color: inherit; }
.row .cover { width: 260px; }
.row .cover__title { font-size: 26px; }
.row__mid { min-width: 0; padding-top: 2px; display: flex; flex-direction: column; }
.row__result {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.row__sit {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.row__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 118px;
  padding: 4px 0;
}
.row__buy .price { font-size: 22px; }
.row--density { grid-template-columns: 260px 1fr; }
.row--density .row__buy { display: none; }

.site-footer {
  background: var(--hero);
  color: #C9C0B0;
  padding: 48px 0 24px;
  margin-top: 32px;
  font-size: 13px;
}
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h4 {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--paper);
  margin-bottom: 12px;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #3A342C;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fire);
  font-weight: 600;
}

@media (max-width: 980px) {
  .grid-cat { grid-template-columns: 1fr; }
  .row, .row--density { grid-template-columns: 1fr; }
  .row .cover { width: 100%; }
  .row__buy { flex-direction: row; align-items: center; min-width: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .filters { display: none; }
  .mast h1 { font-size: 48px; }
  .card { width: 210px; flex-basis: 210px; }
  .card .cover__title { font-size: 24px; }
  .header-links .bag { display: inline; }
}
