:root {
  color-scheme: light;
  --ink: #251f1b;
  --muted: #645a50;
  --paper: #f8f6f1;
  --line: #ded8ce;
  --accent: #743e37;
  --display: Georgia, "Times New Roman", serif;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button[hidden], [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; }
.shell { width: min(1360px, 100% - 88px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 10; left: 12px; top: 12px; background: white; padding: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font: 32px/.95 var(--display); letter-spacing: -.075em; width: max-content; }
.brand-mark { flex: 0 0 auto; width: 38px; height: auto; }
.brand-name > span { font-style: italic; color: var(--accent); }
.masthead nav { display: flex; gap: clamp(14px, 3vw, 42px); font-size: .84rem; align-items: center; }
.masthead a:hover, .footer a:hover { color: var(--accent); }
.jersey-link { color: var(--accent); font-weight: 700; }
.header-contact { justify-self: end; border: 1px solid #b4a89b; padding: .65rem 1rem; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 470px; margin-top: 27px; background: #ede6db; }
.hero-copy { padding: clamp(32px, 6.5vw, 100px); padding-right: clamp(22px, 4vw, 60px); align-self: center; }
.eyebrow { text-transform: uppercase; font-size: .68rem; letter-spacing: .18em; font-weight: 700; color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.065em; line-height: .97; }
h1 { margin: 20px 0; font-size: clamp(57px, 7vw, 117px); }
.intro { max-width: 330px; color: #5a4d40; margin-bottom: 29px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: white; padding: .8rem 1rem; font-size: .82rem; font-weight: 650; border: 1px solid var(--ink); min-height: 45px; }
.primary:hover { background: var(--accent); border-color: var(--accent); }
.hero-image, .category-picture { position: relative; isolation: isolate; display: block; overflow: hidden; background: #e9e1d5; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 52%; mix-blend-mode: multiply; }
.hero-image > span, .category-picture > span { position: absolute; bottom: 12px; left: 12px; background: var(--paper); padding: 7px 11px; font-size: .86rem; display: flex; gap: 14px; align-items: center; font-weight: 650; }
.hero-image:hover > span, .category-picture:hover > span { color: white; background: var(--accent); }
.category-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.category-picture, .jersey-card { min-height: 164px; }
.category-picture img { position: absolute; inset: 0; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category-picture:nth-child(2) { background: #e7e9e5; }
.category-picture:nth-child(3) { background: #efe9dd; }
.jersey-card { background: #4c2d2a; color: #fff9f4; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.jersey-card:hover { background: #673e39; }
.jersey-card small { text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; display: block; color: #f8dccc; }
.jersey-card strong { font: 25px/1.03 var(--display); display: block; margin: 8px 0; }
.jersey-card div > span { font-size: .71rem; }
.jersey-arrow { font-size: 1.2rem; }
.collection { padding-block: 82px; scroll-margin-top: 24px; }
.collection-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; column-gap: 26px; row-gap: 20px; margin-bottom: 25px; }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.search input { width: min(100%, 340px); min-width: min(260px, 70vw); padding: 10px 13px; border: 1px solid #aa9d8d; background: transparent; color: var(--ink); border-radius: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.filters button, .status-bar select { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 12px; font-size: .82rem; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.status-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 14px; font-size: .8rem; color: var(--muted); }
.status-bar select { max-width: min(240px, 50vw); }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px 14px; }
.product { display: flex; flex-direction: column; min-width: 0; }
.open-product { display: block; width: 100%; margin: 0; padding: 0; border: 0; color: inherit; background: transparent; text-align: start; }
.product-photo { width: 100%; aspect-ratio: 1; background-color: #f2efeb; background-repeat: no-repeat; }
.product-photo.no-photo { display: grid; place-items: center; color: var(--muted); font: italic 1rem var(--display); }
.product .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-top: 9px; color: var(--muted); font-size: .67rem; }
.product h3 { margin: 4px 0 11px; overflow-wrap: anywhere; font: 400 clamp(1rem, 1.45vw, 1.28rem)/1.14 var(--display); }
.product .ask { width: max-content; max-width: 100%; margin-top: auto; color: var(--accent); border-bottom: 1px solid #b38476; padding-bottom: 3px; font-size: .76rem; font-weight: 650; }
.product .ask:hover { color: var(--ink); border-color: var(--ink); }
.secondary { background: transparent; color: var(--ink); margin: 32px auto 0; display: flex; }
.secondary:hover { background: var(--ink); color: white; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 94px; padding-block: 25px; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 17px 24px; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .82rem; }
dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 0; width: min(800px, 100% - 28px); }
dialog::backdrop { background: #1b1512a8; }
.detail-inner { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.detail-copy { padding: 2.5rem 1.5rem; align-self: center; }
.detail-copy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .5rem 0 1rem; font-weight: 400; }
.ref { margin-bottom: 22px; color: var(--muted); font-size: .82rem; }
.close { z-index: 1; border: 1px solid var(--line); background: var(--paper); position: absolute; top: 9px; right: 9px; font-size: 1.35rem; line-height: 1; width: 38px; height: 38px; }
@media (max-width: 960px) {
  .shell { width: calc(100% - 44px); }
  .hero { min-height: 380px; }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 26px); }
  .masthead { min-height: 66px; grid-template-columns: 1fr auto; gap: 12px; }
  .masthead nav > a:first-child, .header-contact { display: none; }
  .wordmark { gap: 8px; font-size: 27px; }
  .brand-mark { width: 30px; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero-copy { padding: 30px 23px; }
  h1 { font-size: clamp(48px, 12vw, 65px); }
  .hero-image { height: 275px; }
  .category-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-picture, .jersey-card { min-height: 137px; }
  .category-picture > span { bottom: 7px; left: 7px; }
  .jersey-card { padding: 12px; }
  .jersey-card strong { font-size: 21px; }
  .jersey-arrow { display: none; }
  .collection { padding-block: 50px; }
  .search, .search input { width: 100%; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 10px; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-image { max-height: min(43vh, 380px); width: auto; justify-self: center; }
  .detail-copy { padding: 1rem 1.2rem 1.5rem; }
}
