/* Hallmark v2.0.0 | playful | Hum 1/3 | Split Studio / Corridor | draw 343f62 | signature: an original ivory domino junction on green felt */
/* Critique: let the dominoes hold the right side and keep the action visibly prelaunch. */
/* Waive 44c/79: the tabletop shape leaves space below at desktop widths so its art and the next band both breathe. */
/* Waive 77: pricing and availability are a single short statement for a prelaunch game. */
@import url("/tokens.css");

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.07rem; line-height: 1.55; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.03; margin: 0; letter-spacing: -.045em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: clamp(4.1rem, 8vw, 7.8rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.4rem); }
h3 { font-size: 1.45rem; letter-spacing: -.025em; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; padding: .65rem 1rem; background: var(--tile); transform: translateY(-150%); z-index: 2; }
.skip:focus { transform: translateY(0); }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.6rem; flex-wrap: wrap; padding-block: 1rem; }
.header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.brand img { border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a, .brand { min-height: 44px; align-content: center; }
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(2.75rem, 7vw, 6rem); min-height: min(48rem, calc(100svh - 77px)); }
.hero-copy { display: grid; justify-items: start; gap: 1.45rem; }
.hero p { max-width: 28ch; font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.4; }
.button { display: inline-flex; min-height: 54px; align-items: center; padding: .75rem 1.25rem; background: var(--gold); border: 1px solid var(--ink); border-radius: .75rem; box-shadow: 0 4px var(--gold-edge); font-weight: 750; text-decoration: none; }
.button:hover { background: var(--tile); }
.button:active { transform: translateY(3px); box-shadow: 0 1px var(--gold-edge); }
.felt { position: relative; container-type: inline-size; aspect-ratio: 1.15; border-radius: 1.75rem; overflow: clip; background: var(--felt); isolation: isolate; box-shadow: 0 10px 0 var(--paper-depth); }
.ring { position: absolute; inset: 6%; border: 1px solid var(--edge); border-radius: 1.15rem; }
.ring::after { content: ""; position: absolute; inset: .5rem; border: 1px solid var(--edge); opacity: .4; border-radius: .85rem; }
.tile { position: absolute; display: grid; grid-template-rows: 1fr 1fr; width: 13cqw; height: 25cqw; border-radius: 1.8cqw; background: var(--tile); color: var(--ink); box-shadow: inset 0 -1cqw var(--edge), .8cqw 1.1cqw 1.7cqw var(--shadow); padding: .45cqw; }
.tile i { display: grid; place-content: center; }
.tile i + i { border-top: .24cqw solid var(--edge); }
.tile i::before { content: ""; width: 1.53cqw; height: 1.53cqw; border-radius: 100%; background: currentColor; translate: var(--dot-x, 0) var(--dot-y, 0); box-shadow: var(--pips); }
.six, .four { --dot-x: -2.65cqw; --dot-y: -2.65cqw; }
.six { --pips: 5.3cqw 0, 0 2.65cqw, 5.3cqw 2.65cqw, 0 5.3cqw, 5.3cqw 5.3cqw; }
.four { --pips: 5.3cqw 0, 0 5.3cqw, 5.3cqw 5.3cqw; }
.three, .five, .two { --dot-x: -2.65cqw; --dot-y: 2.65cqw; }
.three { --pips: 2.65cqw -2.65cqw, 5.3cqw -5.3cqw; }
.five { --pips: 5.3cqw 0, 0 -5.3cqw, 5.3cqw -5.3cqw, 2.65cqw -2.65cqw; }
.two { --pips: 5.3cqw -5.3cqw; }
.engine { top: 30%; left: 41%; transform: rotate(-29deg); z-index: 2; }
.north { top: 12%; left: 24%; transform: rotate(142deg); }
.east { top: 29%; left: 62%; transform: rotate(-86deg); }
.south { top: 54%; left: 35%; transform: rotate(18deg); }
.next { top: 71%; left: 22%; transform: rotate(61deg); }
.marker { position: absolute; top: 57%; left: 61%; background: var(--gold); border-radius: .55rem; padding: .35rem .7rem; font-size: clamp(.78rem, 2.8cqw, 1rem); transform: rotate(10deg); box-shadow: 0 3px var(--gold-edge); }

@media (max-width: 44rem) {
  :root { --wrap: calc(100% - 2rem); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem 3.5rem; }
  .hero h1 { font-size: clamp(3.8rem, 12vw, 6rem); }
  .hero h1 br { display: none; }
  .hero-copy { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.play-band { background: var(--paper-depth); border-block: 1px solid var(--line); }
.play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.play { align-items: center; }
.play figure { margin: 0; justify-self: center; width: min(100%, 20rem); }
.play img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1.6rem; box-shadow: 0 8px var(--edge); }
.play p, .release p { max-width: 45ch; margin-top: .9rem; }
.play-notes { display: grid; gap: 1.3rem; margin-top: 2rem; }
.play-notes > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: end; padding-block: clamp(4rem, 8vw, 8.5rem); }
.release a { display: inline-flex; align-items: center; min-height: 44px; }
.learn { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.learn p { max-width: 49ch; margin-top: 1rem; }
.learn .button { flex-shrink: 0; }
.doc li { margin-block: .65rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.doc th, .doc td { text-align: left; padding: .8rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc caption { text-align: left; margin-bottom: .7rem; }
.footer { border-top: 1px solid var(--line); }
.doc { max-width: 49rem; padding-block: clamp(2.5rem, 5vw, 5rem); }
.doc h1 { font-size: clamp(3rem, 8vw, 6.8rem); }
.doc h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: .9rem; }
.doc > p, .doc section p { margin-block: .9rem; max-width: 67ch; }
.doc section { margin-top: 2.5rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
details p { max-width: 63ch; }
summary { display: list-item; min-height: 44px; padding: .6rem .25rem; cursor: pointer; font-weight: 700; }
summary:hover { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 44rem) {
  .play, .release { grid-template-columns: minmax(0, 1fr); }
  .learn { flex-direction: column; align-items: flex-start; }
}

.guide-links { margin-block: 1.5rem; border-block: 1px solid var(--line); padding-block: .6rem; }
.turns li { padding-inline-start: .35rem; }
.worksheet { max-width: 65rem; }
.worksheet .button { cursor: pointer; font: inherit; font-weight: 700; }
.sheet-scroll { overflow-x: auto; }
.score-grid { min-width: 42rem; table-layout: fixed; }
.score-grid th, .score-grid td { border: 1px solid var(--line); height: 2rem; }
.score-grid thead th { height: 4rem; }
.score-grid tfoot { background: var(--paper-depth); }
@media print {
  @page { margin: 12mm; }
  .header, .footer, .skip, .screen-only { display: none; }
  body { background: white; color: black; font: 11pt/1.3 system-ui, sans-serif; }
  .worksheet { width: 100%; padding: 0; }
  .worksheet h1 { font-size: 26pt; }
  .worksheet .sheet-scroll { overflow: visible; }
  .worksheet .score-grid { min-width: 0; width: 100%; font-size: 9pt; }
  .score-grid th, .score-grid td { height: 8mm; padding: 1.5mm; border-color: #777; }
  .score-grid thead th { height: 13mm; }
}
