.pack-reference {
  --felt: #102c2d;
  --ivory: #fff7df;
  --brass: #e9c988;
  --fine-rule: #c9a96970;
  background: var(--paper);
}
.comparison { position: relative; isolation: isolate; background: var(--felt); color: var(--ivory); }
.tabletop-art, .tabletop-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tabletop-art { z-index: -2; overflow: hidden; pointer-events: none; }
.tabletop-art img { object-fit: cover; object-position: center; }
.tabletop-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a2525b5 0%, #0a2525b0 37%, #0a252542 56%, #0a25251a 86%);
}
.table-interior { max-width: 1240px; padding-block: clamp(28px, 3vw, 53px) 32px; }
.reference-edition, .reference-edition .eyebrow, .table-intro, .deck-key-note .container,
.case-title .eyebrow, .scale-sides { display: flex; align-items: center; }
.reference-edition, .table-intro, .scale-sides { justify-content: space-between; }
.reference-edition { gap: 12px; }
.reference-edition .eyebrow { gap: 11px; color: #f2d8a5; letter-spacing: 1.9px; font-size: 11px; }
.reference-edition .eyebrow > span:nth-child(2) { color: #b79562; }
.edition-diamond { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid #edcb8b; outline: 1px solid #cda96a90; outline-offset: 2px; background: #b99b5d; box-shadow: inset 0 0 0 2px #274545; margin-inline: 3px; }
.reference-edition time { color: #d1d9c8; font: 500 11px/1.5 var(--mono); }
.comparison h1 { font-size: clamp(51px, 5.35vw, 86px); line-height: 1.04; letter-spacing: -.062em; margin: 12px 0 8px; }
.comparison h1 em, .case-title h2 em { font-weight: 500; }
.comparison h1 em { color: #f6dca1; }
.table-intro { gap: 16px; padding-bottom: clamp(21px, 1.9vw, 30px); }
.table-intro p { color: #e0e5d6; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.35; }
.table-intro a, .deck-key-note a, .walkthrough-link, .launch-footnote a {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 650; text-decoration: none;
}
.table-intro a { color: #f5deae; font-size: 15px; white-space: nowrap; border-bottom: 1px solid #ba9c67; }
.table-intro a:hover, .deck-key-note a:hover, .walkthrough-link:hover, .launch-footnote a:hover {
  text-decoration: underline; text-underline-offset: .25em;
}
.comparison-table { display: block; width: 100%; border-spacing: 0; container-type: inline-size; }
.comparison-table tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.set-row {
  --rotation: -6deg; --deal-delay: 0ms; --deal-x: 0cqw; --deal-y: 0px;
  display: grid; grid-template-rows: subgrid; grid-row: span 4;
  position: relative; isolation: isolate; padding: 0 clamp(14px,1.6vw,27px) 8px;
  text-align: left; border-block: 1px solid var(--fine-rule);
}
.set-row + .set-row { border-left: 1px solid #bcc7a32d; }
.set-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, #0b25253d 63%, #0b2525bc 85%);
}
.set-row[data-set="BD-02"] { --rotation: -2.5deg; --deal-x: -25cqw; --deal-delay: 125ms; }
.set-row[data-set="BD-03"] { --rotation: 3deg; --deal-x: -50cqw; --deal-delay: 250ms; }
.set-row[data-set="BD-04"] { --rotation: 6.5deg; --deal-x: -75cqw; --deal-delay: 375ms; }
.set-row > * { padding: 0; min-width: 0; }
.set-id { display: flex; align-items: center; gap: 12px; padding-top: 13px; color: #ead2a5; font: 500 12px/1.3 var(--mono); letter-spacing: 1.7px; }
.set-id::after { content: ""; width: 26px; border-top: 1px solid var(--fine-rule); }
.set-title { font-weight: 500; }
.set-title a { display: block; color: inherit; text-decoration: none; }
.set-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.set-title a:focus-visible { outline: none; }
.set-title a:focus-visible::after { outline: 3px solid #ffdd94; outline-offset: -3px; }
.sleeve-bay {
  display: grid; place-items: center; width: 100%; padding-block: clamp(14px,1.3vw,22px) clamp(21px,1.9vw,31px);
}
.sleeve-deal { display: block; width: clamp(109px,11vw,177px); aspect-ratio: 5 / 7; }
.sleeve-face {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 5.5% / 4%;
  transform: rotate(var(--rotation)); background: #233b35;
  box-shadow: 1px 1px 0 #cdb387, 2px 3px 0 #503d2e, 4px 7px 7px #03111180, 8px 15px 16px #03111174;
}
.sleeve-face svg { display: block; width: 100%; height: 100%; }
.sleeve-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse at var(--foil-x, 28%) var(--foil-y, 22%), #fff4c6a8 0%, #edd48448 18%, #f5ce7630 28%, transparent 56%);
  mix-blend-mode: screen;
}
.pack-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 500 clamp(22px,2.15vw,34px)/1.1 var(--serif); letter-spacing: -.045em; }
.pack-arrow { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid #a4ae9570; border-radius: 50%; color: #edce90; }
.field-label { color: #d3c5a3; font: 500 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 1.1px; }
.set-partner, .set-focus { position: relative; font-size: 17px; line-height: 1.3; }
.set-partner { margin-top: 14px; border-top: 1px solid #c7c9a94a; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1px 10px; padding-top: 12px; }
.set-partner strong { font-weight: 650; }
.partner-print { grid-column: 2; color: #cfdbce; font: 500 10px/1.5 var(--mono); }
.set-focus { padding: 10px 0 9px; color: #ebefdf; }
.set-focus .field-label { margin-right: 9px; }
.set-row:focus-within .pack-name { color: #ffe3a6; }
.set-row:focus-within :is(.set-partner, .set-focus) { background-color: #ddbd6c18; box-shadow: -3px 0 #ddb66e; }
.set-row:focus-within .sleeve-face { transform: translateY(-6px) rotate(0deg); }
.set-row:focus-within .sleeve-face::after { opacity: .85; }
.set-row:focus-within .pack-arrow { background: #efd297; color: #1b3532; }
@media (hover: hover) and (pointer: fine) {
  .set-row:hover .sleeve-face { transform: translateY(-8px) rotate(0deg); box-shadow: 2px 3px 0 #806847, 7px 12px 13px #04111199, 11px 24px 24px #04111188; }
  .set-row:hover .sleeve-face::after { opacity: .85; }
  .set-row:hover .pack-name { color: #ffe3a6; }
  .set-row:hover :is(.set-partner, .set-focus) { background-color: #ddbd6c18; box-shadow: -3px 0 #ddb66e; }
  .set-row:hover .pack-arrow { background: #efd297; color: #1b3532; }
}
@media (prefers-reduced-motion: no-preference) {
  .sleeve-deal { animation: deal-sleeve 800ms cubic-bezier(.21,.66,.24,1) var(--deal-delay) backwards; }
  .sleeve-face { transition: transform 180ms ease-out, box-shadow 180ms; }
  .sleeve-face::after { transition: opacity 160ms; }
  @keyframes deal-sleeve {
    from { transform: translate(var(--deal-x),var(--deal-y)) rotate(-14deg) scale(.86); }
    78% { transform: translate(0,-4px) rotate(2deg); }
    to { transform: none; }
  }
}
.deck-key-note { color: #303d32; background: #e8ddbc; border-block: 1px solid #c5b486; }
.deck-key-note .container { max-width: 1240px; gap: 14px; padding-block: 18px; }
.key-sign { display: grid; place-items: center; flex: none; color: #755528; }
.deck-key-note strong { font-weight: 650; }
.deck-key-note div span:not(.key-sign) { margin-left: 7px; }
.deck-key-note a { margin-left: auto; white-space: nowrap; font-size: 15px; }
.paper-pages { max-width: 1240px; }
.memory-case { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); grid-template-areas: "title board" "link board"; align-items: center; gap: 18px clamp(45px,6vw,95px); padding-block: clamp(42px,4.9vw,78px); }
.case-title { grid-area: title; align-self: end; }
.case-title .eyebrow { gap: 9px; color: #85542d; }
.case-title .eyebrow span { color: #a58b6f; }
.case-title h2 { font-size: clamp(40px,4.3vw,68px); line-height: 1.03; letter-spacing: -.06em; margin: 12px 0 16px; max-width: 12ch; }
.case-title h2 em { color: #49634d; }
.case-title p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 37ch; }
.walkthrough-link { grid-area: link; align-self: start; justify-self: start; color: var(--pine); font-size: 16px; border-bottom: 1px solid #879b85; }
.case-board { grid-area: board; border: 1px solid #c7c0a4; border-radius: 3px; background: #fcfaf0; box-shadow: 0 3px 0 -1px #efe9d6, 0 4px 0 -1px #c2b99b; }
.memory-scale {
  margin: 0; padding: 18px 22px 12px; border-radius: 2px 2px 0 0; color: #f2e6c8; background: #203e3b;
  background-image: repeating-linear-gradient(130deg, transparent 0 3px, #fff8dc05 3px 4px);
  border-bottom: 3px double #ad9368;
}
.scale-sides { color: #e2d4ae; font: 500 10px/1.35 var(--mono); text-transform: uppercase; letter-spacing: 1.1px; }
.gauge-track { position: relative; }
.counter-lane { position: absolute; inset: 0; pointer-events: none; }
.marker-position { display: block; position: absolute; left: 64.285714%; top: 5px; transform: translateX(-50%); font-size: 14px; }
.memory-case[data-phase="ready"] .marker-position { left: 21.428571%; }
.marker-position .memory-counter { display: block; }
.scale-stops { position: relative; padding-top: 38px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.scale-stops::before { content: ""; position: absolute; top: 20px; left: 7.14%; right: 7.14%; height: 3px; background: #988761; box-shadow: 0 1px 0 #0a2626, 0 -1px 0 #d8c69c; }
.scale-stops span { position: relative; font: 500 16px/1.5 var(--mono); }
.scale-stops span::before { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid #ccb58b; background: #294642; border-radius: 50%; top: -20px; left: 50%; transform: translateX(-50%); }
.scale-stops .start-stop::before { width: 15px; height: 15px; top: -24px; box-shadow: inset 0 0 0 3px #294642, inset 0 0 0 4px #bbac83; }
.center-stop { color: #d3c39d; }
.scale-stops .center-stop::before { border-radius: 0; transform: translateX(-50%) rotate(45deg); }
.end-stop { color: #ffe0a1; }
.case-steps { list-style: none; counter-reset: instruction; margin: 0; padding: 4px 22px; }
.case-steps li { counter-increment: instruction; position: relative; padding: 9px 0 9px 33px; color: #526154; line-height: 1.4; }
.case-steps li + li { border-top: 1px solid #dedbc9; }
.case-steps li::before { content: counter(instruction,decimal-leading-zero); position: absolute; top: 12px; left: 0; color: #826643; font: 500 11px/1.5 var(--mono); }
.case-steps strong { color: #253e33; font-weight: 650; }
.memory-case[data-phase="pay"] li:nth-child(1), .memory-case[data-phase="resolve"] li:nth-child(2), .memory-case[data-phase="check"] li:nth-child(3) { background-color: #e6d7ad55; }
.field-directory { display: grid; grid-template-columns: .65fr 2fr; gap: 24px 36px; padding-block: 21px 32px; border-top: 2px solid #50654e; }
.field-directory h2 { font-size: 33px; letter-spacing: -.055em; line-height: 1.15; }
.field-directory ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; list-style: none; padding: 0; }
.field-directory a { display: grid; grid-template-columns: 1fr auto; text-decoration: none; border-bottom: 1px solid var(--line); padding: 0 0 10px; margin-bottom: 12px; }
.field-directory strong { font-size: 18px; font-weight: 650; }
.field-directory a span { color: var(--muted); grid-row: 2; font-size: 15px; }
.field-directory a svg { grid-area: 1 / 2 / 3; align-self: center; }
.field-directory a:hover strong { text-decoration: underline; }
.launch-footnote { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 16px; color: var(--muted); }
.launch-footnote p { font-size: 14px; max-width: 76ch; }
.launch-footnote div { display: flex; flex-wrap: wrap; gap: 14px; }
.launch-footnote a { color: var(--pine); font-size: 13px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .set-row { padding-inline: 10px; }
  .pack-arrow { width: 20px; height: 20px; }
  .set-partner, .set-focus { font-size: 15px; }
  .memory-case { gap: 30px; }
}
@media (max-width: 760px) {
  .tabletop-art::after {
    background: linear-gradient(180deg, #0a2525ad 0%, #0a2525ad 32%, #0a252559 43%);
  }
  .table-interior { padding-block: 21px 16px; }
  .reference-edition .eyebrow { font-size: 9px; gap: 7px; letter-spacing: 1.1px; }
  .reference-edition time { display: none; }
  .edition-diamond { width: 7px; height: 7px; outline-offset: 1.5px; }
  .comparison h1 { font-size: clamp(38px, 10vw, 60px); line-height: 1; margin: 11px 0; text-wrap: balance; }
  .table-intro { gap: 12px; align-items: end; padding-bottom: 14px; }
  .table-intro p { font-size: 15px; max-width: 31ch; line-height: 1.25; }
  .table-intro a { gap: 3px; font-size: 13px; }
  .comparison-table tbody { display: block; }
  .comparison-table .set-row {
    --mobile-row: max(112px, 6.6rem);
    display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto;
    min-height: var(--mobile-row); align-content: center; padding: 10px 9px 10px clamp(84px,23vw,120px);
    border: 0; border-top: 1px solid var(--fine-rule); --deal-x: 0px;
  }
  .set-row[data-set="BD-02"] { --deal-y: calc(-1 * var(--mobile-row)); }
  .set-row[data-set="BD-03"] { --deal-y: calc(-2 * var(--mobile-row)); }
  .set-row[data-set="BD-04"] { --deal-y: calc(-3 * var(--mobile-row)); }
  .comparison-table .set-row:last-child { border-bottom: 1px solid var(--fine-rule); }
  .set-row::before { background: linear-gradient(90deg, transparent 10%, #0b252594 30%, #0b252572 80%, #0b25252e); }
  .set-id { padding-top: 0; font-size: 10px; letter-spacing: 1.25px; gap: 7px; }
  .set-id::after { width: 17px; }
  .sleeve-bay { position: absolute; top: 50%; left: 2px; width: clamp(65px,18.3vw,86px); padding: 0; transform: translateY(-50%); }
  .sleeve-deal { width: 100%; }
  .pack-name { font-size: clamp(21px,5.7vw,28px); line-height: 1.2; margin-top: 1px; }
  .pack-arrow { height: 20px; width: 20px; }
  .pack-arrow svg { width: 12px; height: 12px; }
  .field-label { font-size: 9px; letter-spacing: .6px; }
  .set-partner, .set-focus { font-size: 14px; line-height: 1.28; }
  .set-partner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 5px; border: 0; margin: 2px 0 0; padding: 0; }
  .partner-print { font-size: 9px; }
  .set-focus { margin-top: 3px; padding: 0; }
  .set-focus .field-label { margin-right: 5px; }
  .deck-key-note .container { display: grid; grid-template-columns: 20px 1fr; gap: 3px 10px; align-items: start; padding-block: 12px; line-height: 1.3; }
  .key-sign { padding-top: 1px; }
  .deck-key-note strong { font-size: 16px; }
  .deck-key-note div span:not(.key-sign) { display: block; margin: 2px 0 0; font-size: 14px; }
  .deck-key-note a { grid-column: 2; margin: 2px 0 0; font-size: 14px; width: fit-content; }
  .memory-case { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-block: 31px 35px; }
  .case-title { align-self: stretch; }
  .case-title h2 { font-size: clamp(35px,8vw,50px); max-width: none; margin: 7px 0 9px; }
  .case-title p:not(.eyebrow) { font-size: 16px; }
  .walkthrough-link { font-size: 15px; }
  .memory-scale { padding: 14px 12px 9px; }
  .case-steps { padding-inline: 13px; }
  .case-steps li { font-size: 15px; padding: 8px 0 8px 26px; }
  .case-steps li::before { top: 10px; }
  .field-directory { display: block; padding-block: 15px; }
  .field-directory h2 { font-size: 28px; margin-bottom: 14px; }
  .field-directory ul { grid-template-columns: 1fr; }
  .field-directory a { margin-bottom: 8px; padding-bottom: 7px; }
  .launch-footnote { display: grid; gap: 6px; }
}
@media (max-width: 355px) {
  .table-intro { align-items: start; flex-direction: column; gap: 5px; }
  .set-partner .partner-print { font-size: 8.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .set-row:hover .sleeve-face, .set-row:focus-within .sleeve-face { transform: rotate(var(--rotation)); }
}
@media print {
  .comparison, .memory-scale, .sleeve-face, .deck-key-note { print-color-adjust: exact; }
  .set-row, .case-board { break-inside: avoid; }
}
