/* Homepage collection rows and closer looks at the games. */
@media (min-width: 1001px) {
  .home-page .home-hero .hero__inner { max-width: none; padding-inline: clamp(28px, 4vw, 64px); }
}

.home-shelf--boxes { border-top: 1px solid var(--line); }
.home-shelf__grid { display: grid; gap: 28px; }
.home-shelf__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-shelf__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf-game { min-width: 0; display: flex; flex-direction: column; }
.shelf-game__visual { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: #fff; }
.shelf-game__visual img { width: 100%; height: 100%; object-fit: contain; }
.shelf-game__visual--box { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); }
.shelf-game__visual--box img { padding: 8px; }
.shelf-game__body { display: flex; flex: 1; flex-direction: column; padding-top: 24px; }
.shelf-game__category { font-family: 'Archivo', sans-serif; font-size: .62rem; font-weight: 800; line-height: 1.55; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 12px; }
.shelf-game h3 { font-size: clamp(1.2rem, 1.75vw, 1.55rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 14px; }
.shelf-game h3 a:hover { color: var(--pink); }
.shelf-game__body > p:not([class]) { color: var(--text-dim); font-size: .96rem; line-height: 1.6; margin-bottom: 20px; }
.shelf-game__facts { font-size: .78rem; line-height: 1.6; font-weight: 700; margin-top: auto; padding-bottom: 14px; }
.shelf-game__facts span { padding-inline: 3px; }
.shelf-game__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 800; line-height: 1.35; }
.shelf-game__link:hover { color: var(--pink); }
.shelf-game__link span { font-size: 1.25rem; }
.shelf-game--deck { border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); }
.shelf-game--deck .shelf-game__visual { border-radius: 17px 17px 0 0; }
.shelf-game--deck .shelf-game__body { padding: 26px 24px 14px; }
.shelf-game--deck h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.shelf-game--deck .shelf-game__category { min-height: 1.6em; }

.game-spotlight { --spotlight-accent: var(--pink); --spotlight-muted: var(--text-dim); --spotlight-line: var(--line); }
.game-spotlight__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.game-spotlight__grid > * { min-width: 0; }
.game-spotlight__product { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 18px; }
.game-spotlight .eyebrow { color: var(--spotlight-accent); font-size: .66rem; line-height: 1.6; letter-spacing: .12em; }
.home-page .game-spotlight h2 { font-size: clamp(2.5rem, 4.2vw, 3.65rem); }
.game-spotlight__intro { font-family: 'Archivo', sans-serif; font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.35; margin: 22px 0 16px; }
.game-spotlight__copy > p:not(.game-spotlight__intro) { color: var(--spotlight-muted); font-size: 1rem; line-height: 1.65; }
.game-steps { list-style: none; counter-reset: game-step; display: grid; gap: 22px; margin: 28px 0; padding: 0; }
.game-steps li { counter-increment: game-step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.game-steps li::before { content: counter(game-step, decimal-leading-zero); font-family: 'Archivo', sans-serif; font-weight: 800; font-size: .74rem; color: var(--spotlight-accent); border-top: 2px solid currentColor; padding-top: 4px; }
.game-steps h3 { font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; padding-top: 1px; margin-bottom: 5px; }
.game-steps p { color: var(--spotlight-muted); font-size: .92rem; line-height: 1.55; }
.game-spotlight__occasion { border-top: 1px solid var(--spotlight-line); padding-top: 22px; }
.game-spotlight__copy .btn { margin-top: 28px; }
.game-spotlight__copy > .home-text-link { display: flex; margin-top: 22px; font-size: .95rem; }
.game-spotlight--missions { --spotlight-accent: #9de67f; --spotlight-muted: #c4d0c5; --spotlight-line: #38443b; background: #142019; color: #fff; border-top: 1px solid #38443b; }
.game-spotlight--missions .btn--ink { background: #b4f390; color: #142019; border-color: #b4f390; }
.game-spotlight--missions .btn--ink:hover { background: #fff; border-color: #fff; }
.mission-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 26px 26px 0; }
.mission-samples figure { margin: 0; min-width: 0; }
.mission-samples img { width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: contain; border-radius: 10px; }
.mission-samples figcaption { text-align: center; font-size: .7rem; line-height: 1.4; font-weight: 700; color: #d4e0d5; padding-top: 12px; }
.game-spotlight--cards .game-spotlight__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.deck-details { display: grid; gap: 20px; margin-top: 26px; }
.deck-details > div { border-top: 1px solid var(--line); padding-top: 18px; }
.deck-details dt { font-family: 'Archivo', sans-serif; font-size: .98rem; font-weight: 800; line-height: 1.4; margin-bottom: 6px; }
.deck-details dd { color: var(--text-dim); font-size: .94rem; line-height: 1.6; }
.edition-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.edition-pair--single { grid-template-columns: minmax(0, 1fr); }
.edition-card { margin: 0; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
.edition-card:nth-child(2) { margin-top: 68px; }
.edition-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.edition-card figcaption { border-top: 4px solid #f4d128; padding: 22px 20px 24px; }
.edition-card__label { display: block; font-size: .63rem; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.edition-card h3 { font-size: 1.4rem; line-height: 1.1; margin-bottom: 14px; }
.edition-card p { font-size: .9rem; line-height: 1.6; color: var(--text-dim); }
.edition-pair__note { grid-column: 1 / -1; font-size: .78rem; color: var(--text-dim); text-align: center; padding-top: 6px; }
.game-spotlight--hearts { --spotlight-accent: #745d00; background: color-mix(in srgb, #ffd928 9%, var(--ink)); }
[data-theme="dark"] .game-spotlight--hearts { --spotlight-accent: #ffd928; }
.hearts-prompt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 24px 36px 0; margin: 0; }
.hearts-prompt img { width: 100%; max-width: 180px; height: auto; aspect-ratio: 3 / 5; object-fit: contain; border-radius: 10px; }
.hearts-prompt .eyebrow { font-size: .58rem; margin-bottom: 12px; }
.hearts-prompt figcaption > p { font-family: 'Archivo', sans-serif; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.game-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.game-specs li { padding: 7px 12px; border: 1px solid color-mix(in srgb, #9a7c00 28%, var(--line)); border-radius: 30px; font-size: .77rem; font-weight: 700; }

@media (max-width: 1100px) and (min-width: 901px) {
  .game-spotlight__grid { gap: 32px; }
  .edition-pair { gap: 12px; }
  .edition-card figcaption { padding: 18px 15px; }
  .edition-card h3 { font-size: 1.25rem; }
  .hearts-prompt { padding-inline: 16px; gap: 20px; }
}
@media (max-width: 1000px) {
  .home-shelf__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .shelf-game h3 { font-size: 1.55rem; }
  .home-shelf__grid--three { gap: 18px; }
  .shelf-game--deck .shelf-game__body { padding-inline: 18px; }
  .shelf-game--deck h3 { font-size: 1.4rem; }
}
@media (max-width: 900px) {
  .game-spotlight__grid, .game-spotlight--cards .game-spotlight__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .game-spotlight__art, .hearts-preview, .edition-pair { width: 100%; max-width: 680px; margin-inline: auto; }
  .game-spotlight__copy { max-width: 680px; }
  .home-page .game-spotlight h2 { font-size: clamp(2.3rem, 6.5vw, 3.6rem); }
  .game-spotlight__intro { font-size: 1.4rem; }
  .mission-samples { max-width: 530px; margin-inline: auto; }
  .game-spotlight--cards .edition-pair { grid-row: 1; }
  .edition-card:nth-child(2) { margin-top: 36px; }
  .hearts-prompt { max-width: 490px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .home-shelf__grid--four { gap: 34px 20px; }
  .home-shelf__grid--three { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .shelf-game__visual--box { border-radius: 12px; }
  .shelf-game__visual--box img { padding: 0; }
  .shelf-game__body { padding-top: 18px; }
  .shelf-game h3 { font-size: clamp(1.1rem, 4.2vw, 1.5rem); }
  .shelf-game__category { font-size: .57rem; letter-spacing: .05em; margin-bottom: 10px; }
  .shelf-game__body > p:not([class]) { font-size: .9rem; line-height: 1.5; margin-bottom: 16px; }
  .shelf-game__facts { font-size: .69rem; padding-bottom: 10px; }
  .shelf-game__facts span { padding-inline: 1px; }
  .shelf-game__link { font-size: .78rem; gap: 5px; }
  .shelf-game--deck .shelf-game__body { padding: 24px 24px 14px; }
  .shelf-game--deck h3 { font-size: 1.8rem; }
  .shelf-game--deck .shelf-game__category { font-size: .63rem; }
  .shelf-game--deck .shelf-game__body > p:not([class]) { font-size: 1rem; line-height: 1.6; }
  .shelf-game--deck .shelf-game__facts { font-size: .78rem; }
  .shelf-game--deck .shelf-game__link { font-size: .92rem; }
  .mission-samples { gap: 14px; padding: 20px 10px 0; }
  .mission-samples figcaption { font-size: .64rem; }
  .game-spotlight .eyebrow { font-size: .6rem; letter-spacing: .09em; }
  .game-spotlight__intro { font-size: 1.25rem; }
  .game-spotlight__copy > p:not(.game-spotlight__intro) { font-size: 1rem; }
  .game-spotlight__copy .btn { max-width: 100%; font-size: .86rem; padding-inline: 20px; }
  .game-steps { gap: 22px; }
  .game-steps li { gap: 12px; grid-template-columns: 27px minmax(0, 1fr); }
  .edition-pair { gap: 16px; }
  .edition-card { border-radius: 12px; }
  .edition-card:nth-child(2) { margin-top: 28px; }
  .edition-card figcaption { padding: 17px 14px 20px; }
  .edition-card h3 { font-size: 1.25rem; }
  .edition-card p { font-size: .84rem; line-height: 1.5; }
  .edition-card__label { font-size: .57rem; }
  .edition-pair__note { font-size: .75rem; text-align: left; }
  .hearts-prompt { padding: 24px 16px 0; gap: 22px; }
  .hearts-prompt .eyebrow { font-size: .53rem; }
  .hearts-prompt figcaption > p { font-size: 1.2rem; }
}
@media (max-width: 360px) {
  .home-shelf__grid--four { column-gap: 16px; }
  .shelf-game__link { font-size: .73rem; }
  .shelf-game--deck .shelf-game__body { padding-inline: 20px; }
  .edition-pair { gap: 12px; }
  .edition-card figcaption { padding-inline: 10px; }
  .edition-card h3 { font-size: 1.08rem; }
  .edition-card p { font-size: .8rem; }
  .mission-samples { padding-inline: 0; gap: 12px; }
  .hearts-prompt { padding-inline: 8px; gap: 16px; }
  .hearts-prompt figcaption > p { font-size: 1.08rem; }
}
