/* A compact pair of animals with floating cut notes. */
.cut-guide { padding-bottom:1.5rem; }
.cut-guide + .section { padding-top:1.5rem; }
.cuts.cuts--premium { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; max-width:960px; margin-inline:auto; padding:0; border:0; background:none; }
.cut-explorer { --cut-explorer-ready:1; --cut-line:var(--ink-soft); --cut-metal:var(--ember); min-width:0; }
.cut-atlas { padding:0; }
.cut-chart.cut-chart--engraved { padding:0; margin:0; border:0; border-radius:0; background:none; }
.cut-chart--engraved svg { display:block; width:100%; height:auto; overflow:visible; }
.animal-body, .animal-head, .animal-legs, .animal-ear, .animal-horn, .animal-snout {
  fill: var(--paper);
  stroke: var(--cut-line);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.animal-far { fill: var(--paper); stroke-opacity: 0.6; }
.animal-outline { fill: none; stroke: var(--cut-line); stroke-width: 2; pointer-events: none; }
.animal-engraving { fill: none; stroke: var(--cut-line); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.animal-engraving .animal-eye, .animal-tuft { fill: var(--cut-line); stroke: none; }
.animal-tail { stroke-width: 2.2; }
.animal-hatching { opacity: 0.45; pointer-events: none; }
[data-cut-explorer="beef"] .animal-hatching { fill: url(#beef-etch); }
[data-cut-explorer="pork"] .animal-hatching { fill: url(#pork-etch); }
.cut-chart--engraved pattern path { fill: none; stroke: var(--cut-line); stroke-width: 1; }
.animal-ground { display:none; }
.cut-region { fill:transparent; stroke:var(--cut-line); stroke-width:1.5; }
.cut-chart.cut-chart--engraved .primal text { display:none; }
.cut-explorer.is-enhanced .primal { cursor: pointer; }
.cut-explorer .primal.is-current .cut-region { fill: color-mix(in srgb, var(--mustard) 22%, transparent); stroke: var(--cut-metal); }
.cut-explorer .primal.is-current text { fill: var(--ink); }

.cut-explorer .primal:focus-visible .cut-region { stroke:var(--ember); stroke-width:5; }
.cut-explorer .primal:focus-visible { outline:none; }
.cut-reading { padding:1rem; background:var(--cream); }
/* On a phone the sections run under 44px, so each animal keeps its list of
   cuts beneath it as the full size way in (WCAG 2.5.5). From 48rem every
   section is 44px or larger and the list steps aside. */
.cut-explorer.is-enhanced .cut-reading { padding:.75rem .375rem 0; background:none; }
@media (min-width:48rem) { .cut-explorer.is-enhanced .cut-reading { display:none; } }
.cut-popup { position:fixed; z-index:150; width:min(16rem,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:.75rem 1rem; background:var(--cream); color:var(--ink); border:1px solid var(--seam-rule); box-shadow:0 3px 12px color-mix(in srgb,var(--ink) 10%,transparent); pointer-events:auto; }
.cut-popup strong { display:block; font:750 1.15rem/1.4 var(--font-ui); text-transform:capitalize; }
.cut-popup p { margin:.45rem 0 0; font-size:.95rem; line-height:1.6; }

@media screen and (prefers-reduced-motion:no-preference) {
  .cut-region { transition:fill 180ms ease,stroke 180ms ease; }
  .cut-popup:not([hidden]) { animation:cut-note-in 140ms ease-out; }
  @keyframes cut-note-in { from { opacity:0; translate:0 3px; } to { opacity:1; translate:0 0; } }
}

@media (forced-colors:active) {
  .cut-explorer .primal.is-current .cut-region { fill:Highlight; stroke:Highlight; }
  .cut-explorer .primal.is-current text { fill:HighlightText; }
  .cut-popup { border:1px solid CanvasText; }
}
