/* tokens
   tile bg: #FFFFFF   grout: #E4E4E0   board paper: #FAFAF6   ink: #141210
   accent: #CCFF00 (acid lime, off the cleaver edge in the art, also the chain's own neon)
   type: Permanent Marker (hand-inked headings/labels), Space Mono (CA + prices, real case, copyable)
   corner radius: 0 everywhere - an ink board does not round
   spacing scale: 8 / 12 / 16 / 24 / 32 / 48 px
   motion: interaction feedback only (CA copy flash) - no idle animation, restraint is the point
*/

@font-face {
  font-family: "Permanent Marker";
  src: url("assets/fonts/permanent-marker-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #fff;
  background-image:
    linear-gradient(#e4e4e0 1px, transparent 1px),
    linear-gradient(90deg, #e4e4e0 1px, transparent 1px);
  background-size: 56px 56px;
  color: #141210;
  font-family: "Space Mono", ui-monospace, monospace;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 16px;
}

.shop {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 40px);
  min-height: 0;
}

.butcher {
  width: clamp(140px, 24vw, 300px);
  height: auto;
  flex-shrink: 0;
}

.board {
  background: #fafaf6;
  border: 2px solid #141210;
  box-shadow: 7px 7px 0 rgba(20,18,16,0.16);
  transform: rotate(-1deg);
  padding: 20px 24px 18px;
  width: min(92vw, 420px);
}

.board-head h1 {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1;
}

.tagline {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(20,18,16,0.7);
}

.cuts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px dashed rgba(20,18,16,0.35);
}

.cuts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(20,18,16,0.35);
}

.cuts .name {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(12px, 2.4vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cuts .dots {
  flex: 1;
  border-bottom: 2px dotted rgba(20,18,16,0.4);
  margin-bottom: 4px;
}

.cuts .price {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.special {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px solid #141210;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.special-label {
  font-family: "Permanent Marker", cursive;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(20,18,16,0.75);
}

.ca {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  color: #141210;
  background: transparent;
  border: 2px solid #141210;
  border-bottom: 4px solid #ccff00;
  padding: 5px 10px;
  cursor: pointer;
}
.ca:hover { background: #ccff00; }

.chrome {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.6em;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(20,18,16,0.75);
  padding-top: 10px;
}
.ticker { font-weight: 700; color: #141210; }
.chrome a { color: #141210; text-decoration: none; border-bottom: 1px solid rgba(20,18,16,0.4); }
.chrome a:hover { border-bottom-color: #141210; }
.sep { color: rgba(20,18,16,0.3); }

@media (max-width: 720px) {
  html, body { overflow: auto; }
  .shop { flex-direction: column; gap: 10px; padding: 8px 0; }
  .butcher { width: clamp(110px, 40vw, 180px); }
  .board { padding: 16px 18px 14px; }
  .chrome { text-align: center; }
}
