.hex-page { padding-block: 2rem 5rem; }
.hex-page .breadcrumbs { margin-bottom: 3rem; }
.hex-page a { text-underline-offset: .25em; }
.hex-page a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.hex-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.hex-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.02; margin-block: 1.25rem; overflow-wrap: anywhere; }
.hex-subtitle { font: 1.25rem/1.5 var(--mono); }
.hex-page p, .hex-page li { line-height: 1.7; }
.hex-deck { font-size: 1.25rem; max-width: 48ch; }
.hex-hero figure { margin: 0; max-width: 27rem; justify-self: center; }
.hex-page img { display: block; width: 100%; height: auto; }
.hex-page figcaption { color: var(--muted); font-size: .875rem; margin-top: .8rem; line-height: 1.6; }
.hex-status { border-left: 2px solid var(--focus); padding-left: 1rem; margin-block: 1.5rem; max-width: 60ch; }
.hex-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.hex-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.hex-section { border-top: 1px solid var(--rule); padding-top: 2.5rem; margin-top: 4rem; }
.hex-section h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 24ch; line-height: 1.15; }
.hex-section > p, .hex-print p { max-width: 70ch; }
.hex-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.hex-facts div { border-top: 1px solid var(--rule); padding-top: 1rem; }
.hex-facts dt { font: .85rem/1.5 var(--mono); color: var(--muted); }
.hex-facts dd { margin: .5rem 0 0; font-size: 1.25rem; }
.hex-sequence { padding-left: 1.5rem; max-width: 72ch; }
.hex-sequence li { padding: .5rem 0 .5rem .5rem; }
.hex-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.hex-gallery figure { margin: 0; min-width: 0; }
.hex-gallery a { display: block; border: 1px solid var(--rule); }
.hex-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.hex-editions h3 { font-size: 1.5rem; }
.hex-editions section { border-top: 1px solid var(--rule); }
@media (max-width: 52rem) {
  .hex-hero { grid-template-columns: 1fr; }
  .hex-hero figure { justify-self: start; width: min(100%, 23rem); }
  .hex-facts, .hex-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 32rem) {
  .hex-facts, .hex-gallery, .hex-editions { grid-template-columns: 1fr; }
  .hex-gallery { gap: 2.5rem; }
}
@media (forced-colors: active) {
  .hex-status { border-color: CanvasText; }
}
@media print {
  html, body, .hex-page { background: white !important; color: black !important; }
  .utility-rail, .site-footer, .breadcrumbs { display: none !important; }
  .hex-page { width: 100%; padding: 0; }
  .hex-hero { grid-template-columns: 2fr 1fr; gap: 1rem; }
  .hex-hero h1 { font-size: 32pt; }
  .hex-page p, .hex-page li, .hex-page figcaption, .hex-page dt { color: black; font-size: 10pt; }
  .hex-page h2 { font-size: 20pt; }
  .hex-section { margin-top: 1.5rem; padding-top: 1rem; border-color: #777; }
  .hex-page figure, .hex-facts div, .hex-editions section { break-inside: avoid; }
  .hex-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .hex-actions { display: block; }
  .hex-actions a { display: block; color: black; border: 0; background: white; padding: 0; text-transform: none; }
  .hex-download::after { display: block; font-family: var(--sans); }
  .hex-download::after { content: " — https://recluse.studio/assets/wiberg-hex/wiberg-hex-printable-play-pack.pdf"; overflow-wrap: anywhere; }
}
