/* The studio's paintings and the actual playable builds share a spread.
   The artwork already has a feathered alpha channel. */
.painted-home .album-tests .album-heading {
  margin-bottom: clamp(2.1rem, 3.8vw, 4.2rem);
}
.workshop-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.77fr) minmax(11rem, .73fr) minmax(0, 1.08fr);
  grid-template-areas: "world play story";
  align-items: center;
  gap: clamp(.85rem, 2.1vw, 2.6rem);
}
.workshop-feature + .workshop-feature {
  grid-template-columns: minmax(0, 1.08fr) minmax(11rem, .73fr) minmax(0, 1.77fr);
  grid-template-areas: "story play world";
  margin-top: clamp(3.2rem, 6.5vw, 7rem);
}
.workshop-story { grid-area: story; min-width: 0; }
.workshop-story h3, .workshop-caption h3 {
  margin: .55rem 0 .85rem;
  line-height: .99;
  font-weight: 420;
  font-size: clamp(2.25rem, 3.8vw, 4.25rem);
}
.workshop-story h3 a, .workshop-edition-link { color: inherit; text-decoration: none; }
.workshop-story h3 a:hover, .workshop-edition-link:hover h3 { color: var(--pigment); }
.workshop-story > .album-link { margin-top: .9rem; }
.workshop-blurb { color: #23393b; max-width: 42ch; text-wrap: pretty; }
.workshop-world { grid-area: world; display: block; min-width: 0; }
.workshop-world img, .workshop-cover .paper-art, .workshop-play .paper-art,
.workshop-cover .paper-face, .workshop-play .paper-face {
  display: block; width: 100%; height: auto;
}
.workshop-world img { width: 109%; max-width: 109%; margin-left: -5.5%; }
.workshop-play { grid-area: play; min-width: 0; width: 100%; max-width: 16.25rem; justify-self: center; }
.workshop-play > a {
  display: flex; flex-direction: column; align-items: center; color: var(--ink);
  text-decoration: none;
}
.workshop-play > a:focus-visible { outline: 2px solid #20464b; outline-offset: 4px; }
.workshop-frame-note { display: flex; flex-direction: column; align-items: center; margin-top: .35rem; }
.workshop-frame-title { color: #23393b; font: italic 420 1.09rem/1.35 var(--serif); }
.workshop-frame-link {
  position: relative; isolation: isolate; display: inline-block; width: fit-content; padding: .4rem .1rem;
  font: 600 1rem/1.45 var(--sans);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.workshop-frame-link::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: .08em -.65em; opacity: 0;
  background: linear-gradient(104deg,#365f64 0%,var(--deep-ink) 23% 74%,#42656a);
  mask: var(--dry-brush) center / 100% 100% no-repeat;
  transform: rotate(-1.5deg) scaleX(.9); transition: opacity .16s ease, transform .2s ease-out;
}
.workshop-play a:is(:hover, :focus-visible, :active) .workshop-frame-link { color: white; text-decoration: none; }
.workshop-play a:is(:hover, :focus-visible, :active) .workshop-frame-link::before { opacity: 1; transform: rotate(-.9deg) scaleX(1); }
.workshop-frame-link span { display: inline-block; margin-left: .22rem; }
.workshop-upcoming .album-heading { margin-bottom: clamp(2rem, 4vw, 4.6rem); }
.workshop-editions {
  display: grid; grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: clamp(.9rem, 2.35vw, 2.8rem); row-gap: clamp(3.2rem, 5.2vw, 6rem); align-items: start;
}
.workshop-edition, .workshop-cover, .workshop-caption { display: block; min-width: 0; }
.workshop-edition-link { display: block; }
.workshop-edition-link:focus-visible { outline-offset: .45rem; }
.workshop-cover { width: 100%; }
.workshop-caption { margin-top: .9rem; }
.workshop-caption h3 { margin: .45rem 0 .65rem; font-size: clamp(2rem,3.55vw,3.8rem); }
.workshop-caption .workshop-blurb { max-width: 45ch; }
.workshop-edition.game-mrowisko { grid-column: 1/-1; }
.workshop-edition.game-mrowisko .workshop-edition-link {
  display: grid; align-items: center; grid-template-columns: minmax(0,1.95fr) minmax(0,1fr);
  gap: clamp(2rem, 4vw, 4.7rem);
}
.workshop-edition.game-mrowisko .workshop-caption { margin-top: 0; }
.workshop-edition.game-mrowisko h3 { font-size: clamp(2.9rem,5.6vw,6.1rem); }
.workshop-edition.game-cross-valley { grid-column: 1/8; }
.workshop-edition.game-kameleon { grid-column: 8/13; padding-top: clamp(2rem,5.5vw,6.5rem); }
.workshop-edition.game-kolorowy-las { grid-column: 1/6; padding-top: clamp(1.7rem,3.5vw,3.7rem); }
.workshop-edition.game-one-man-army { grid-column: 6/13; }
@media (min-width: 44.01rem) and (max-width: 60rem) {
  .workshop-feature, .workshop-feature + .workshop-feature {
    grid-template-columns: minmax(0,1.72fr) minmax(0,1fr);
    grid-template-areas: "world play" "story play";
    gap: .45rem clamp(1.6rem, 4.8vw, 4rem);
  }
  .workshop-feature + .workshop-feature { grid-template-columns: minmax(0,1fr) minmax(0,1.72fr); grid-template-areas: "play world" "play story"; }
  .workshop-play { width: min(100%,14rem); }
  .workshop-story h3 { font-size: clamp(2.4rem,4.7vw,3.15rem); }
  .workshop-story .workshop-blurb { max-width: 42ch; }
}
@media (max-width: 44rem) {
  .workshop-feature, .workshop-feature + .workshop-feature {
    grid-template-columns: minmax(0,1.25fr) minmax(0,.84fr);
    grid-template-areas: "world world" "story play";
    align-items: center; gap: .6rem clamp(1rem,3.5vw,1.7rem);
  }
  .workshop-feature + .workshop-feature { margin-top: clamp(3rem,8vw,4.5rem); }
  .workshop-world { width: min(100%,35rem); justify-self: center; }
  .workshop-world img { width: 100%; max-width: 100%; margin: 0; }
  .workshop-story h3 { font-size: clamp(2rem,6.5vw,3rem); }
  .workshop-play { max-width: 12.5rem; }
  .workshop-editions { grid-template-columns: minmax(0,1fr); gap: 2.9rem; }
  .workshop-editions .workshop-edition { grid-column: auto; padding-top: 0; }
  .workshop-edition.game-mrowisko .workshop-edition-link { display: block; }
  .workshop-edition.game-mrowisko .workshop-caption { margin-top: .9rem; }
  .workshop-edition.game-kameleon, .workshop-edition.game-kolorowy-las { width: 91%; }
  .workshop-edition.game-kameleon { justify-self: end; }
  .workshop-edition.game-mrowisko h3 { font-size: clamp(2.4rem,8.5vw,3.55rem); }
}
@media (max-width: 29rem) {
  .workshop-feature, .workshop-feature + .workshop-feature {
    grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
    grid-template-areas: "world world" "genre genre" "title title" "blurb play" "action play";
    align-items: start; column-gap: .85rem; row-gap: 0;
  }
  .workshop-story { display: contents; }
  .workshop-story .album-genre { grid-area: genre; margin-top: .65rem; }
  .workshop-story h3 { grid-area: title; margin: .4rem 0 .75rem; }
  .workshop-story .workshop-blurb { grid-area: blurb; }
  .workshop-story > .album-link { grid-area: action; align-self: start; }
  .workshop-play { align-self: start; }
  .workshop-frame-link { font-size: .95rem; }
}
@media (max-width: 25.5rem) {
  .workshop-feature, .workshop-feature + .workshop-feature {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "world" "genre" "title" "blurb" "action" "play";
  }
  .workshop-play { width: 100%; max-width: 22rem; margin-top: 1.1rem; }
  .workshop-play > a { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: .75rem; align-items: center; }
  .workshop-frame-note { align-items: flex-start; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .workshop-frame-link::before { transition: none; } }
@media (forced-colors: active) {
  .workshop-frame-link::before { display: none; }
  .workshop-play a:is(:hover, :focus-visible, :active) .workshop-frame-link { color: LinkText; text-decoration: underline; }
}
