/* The album starts below the studio's opening slideshow. */
.album-tests, .album-upcoming, .album-gallery, .album-game-tail, .album-documents {
  padding-block: clamp(4rem, 7.7vw, 8rem);
}
.album-shelf, .album-archive, .album-studio, .album-letter {
  padding-block: clamp(3.1rem, 6vw, 6.2rem) clamp(4rem, 8vw, 8rem);
}
.game-zaczarowana-polana { --pigment: #746529; }
.game-orbitalny-szrot { --pigment: #346779; }
.game-cross-valley { --pigment: #924c31; }
.game-kameleon { --pigment: #68576b; }
.game-kolorowy-las { --pigment: #536842; }
.game-mrowisko { --pigment: #885337; }
.game-one-man-army { --pigment: #686044; }
.album-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem 2rem; }
.album-heading h2, .album-documents h2, .album-game-tail h2, .album-landscape-copy h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.65rem); line-height: 1.02; letter-spacing: -.061em;
}
.album-title { margin-bottom: clamp(1.7rem, 4vw, 4.5rem); }
.album-title h1, .album-letter h1, .album-game-story h1 { font-size: clamp(3.55rem, 8vw, 7.6rem); font-weight: 400; line-height: .96; letter-spacing: -.069em; }
.album-title > a { margin-bottom: 1.6rem; }
.album-title .album-intro { margin-top: 1.65rem; max-width: 39rem; }
.album-link, .album-back, .album-email {
  position: relative; display: inline-block; width: fit-content; color: var(--pigment); text-decoration: none;
}
.album-link, .album-back { padding-block: .3em .42em; font: 600 1.04rem/1.35 var(--sans); }
.album-link::after, .album-email::after {
  content: ""; pointer-events: none; position: absolute; inset: auto -1% .04em; height: .17em;
  background: currentColor; mask: url("/obrazy/slad-tuszu.webp") center / 100% 100% no-repeat;
  transition: transform .24s; transform-origin: left center;
}
.album-link:hover::after, .album-email:hover::after { transform: scale(1.025, 1.65); }
.album-back::before { content: "←"; margin-right: .55rem; font-family: var(--sans); }
.album-back:hover { text-decoration: underline; }
.album-genre { display: block; color: var(--pigment); font: 600 .97rem/1.4 var(--sans); }
.album-blurb, .album-spread-copy > p:not(.album-genre), .album-landscape-copy p, .album-letter-main p { max-width: 42ch; color: var(--quiet); }
.album-intro { font-size: clamp(1.09rem, 1.45vw, 1.32rem); line-height: 1.63; color: var(--ink); }
.album-blurb { margin-top: .75rem; }
.album-spread h3 a, .album-featured h3 a, .album-shelf h2 a, .album-edition h2 a { color: inherit; text-decoration: none; }
.album-spread h3 a:hover, .album-featured h3 a:hover, .album-shelf h2 a:hover, .album-edition h2 a:hover { color: var(--pigment); }
.album-tests { padding-bottom: clamp(3.2rem, 5vw, 5.3rem); }
.album-tests .album-heading { margin-bottom: clamp(.2rem, 2vw, 1.5rem); }
.album-spread { display: grid; align-items: center; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.6rem, 5.5vw, 6.5rem); }
.album-spread + .album-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); margin-top: clamp(.7rem, 2vw, 2rem); }
.album-spread + .album-spread .album-world { grid-column: 2; grid-row: 1; }
.album-spread + .album-spread .album-spread-copy { grid-column: 1; grid-row: 1; justify-self: center; }
.album-world, .album-figure-link, .album-entry-thumb, .album-hero-study > a, .album-cast-item {
  display: block; min-width: 0; 
}
.album-world img, .album-figure-link img, .album-entry-thumb img, .album-hero-study img,
.album-cast-item img, .album-letter-main figure img { width: 100%; height: auto; mix-blend-mode: multiply; }
.album-world img {
  mask-image: linear-gradient(90deg, transparent, black 2.8%, black 97.2%, transparent), linear-gradient(transparent, black 2.8%, black 97%, transparent);
  mask-composite: intersect;
}
.album-spread-copy { padding-block: 1.2rem; }
.album-spread h3 { margin: .58rem 0 1.1rem; max-width: 11ch; font-size: clamp(2.7rem, 5.6vw, 5.9rem); font-weight: 410; line-height: .98; }
.album-spread-copy > .album-link { margin-top: 1rem; }
.album-upcoming, .album-documents, .album-foot { position: relative; isolation: isolate; overflow: hidden; }
.album-upcoming { background: linear-gradient(162deg,#eef1e8 0%, #f5f4ed 50%, #faf8f1 100%); }
.album-upcoming::before, .album-documents::before, .album-foot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 70%; height: 75%; top: -23%; right: -17%;
  background: #5b7876; opacity: .14; transform: rotate(4deg); mask: url("/obrazy/smuga-piora.webp") center / 100% 100% no-repeat;
}
.album-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.1rem, 6vw, 7rem); margin-top: clamp(2.1rem, 3.8vw, 4rem); align-items: start; }
.album-featured h3, .album-edition h2, .album-shelf h2 { font-size: clamp(1.95rem, 3.6vw, 3.5rem); }
.album-print { display: block; position: relative; width: fit-content; max-width: 100%; }
.album-print img { width: 100%; height: auto; }
.album-featured > .album-genre, .album-edition > .album-genre { margin-block: 1.15rem .35rem; }
.album-index { display: flex; flex-direction: column; }
.album-entry { display: grid; grid-template-columns: minmax(5rem, 34%) 1fr; gap: clamp(.7rem, 1.4vw, 1.5rem); text-decoration: none; align-items: center; padding: .65rem 0; border-top: 1px solid #77867e4d; }
.album-entry:last-child { border-bottom: 1px solid #77867e4d; }
.album-entry-thumb img { height: clamp(4.5rem, 6.7vw, 7.8rem); object-fit: contain; }
.album-entry-title { display: block; font: 430 clamp(1.35rem, 2.25vw, 2.25rem)/1.08 var(--serif); letter-spacing: -.04em; }
.album-entry .album-genre { margin-top: .25rem; }
.album-entry:hover .album-entry-title, .album-cast-item:hover span { color: var(--pigment); text-decoration: underline; text-decoration-thickness: 1px; }
.album-shelf-list, .album-editions { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(3rem, 6vw, 6.5rem) clamp(1.3rem, 4vw, 4.4rem); align-items: start; }
.album-shelf-item { grid-column: span 2; }
.album-shelf-item:nth-child(-n + 2), .album-shelf-item:nth-last-child(-n + 2) { grid-column: span 3; }
.album-shelf-item:nth-child(2) { margin-top: clamp(1.1rem, 3.6vw, 4rem); }
.album-figure-link { margin: -.5rem -.5rem .3rem; }
.album-figure-link img { max-height: 24rem; object-fit: contain; }
.album-shelf-copy .album-genre { margin-bottom: .35rem; }
.album-shelf-item:nth-child(n + 3):nth-child(-n + 5) h2 { font-size: clamp(1.9rem, 2.8vw, 2.9rem); }
.album-editions { grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(3rem, 7vw, 7.3rem) clamp(1.6rem, 5vw, 5.7rem); }
.album-edition { grid-column: span 5; }
.album-edition:nth-child(1), .album-edition:nth-child(4) { grid-column: span 7; }
.album-edition:nth-child(2) { margin-top: clamp(2rem, 7vw, 7.5rem); }
.album-edition:nth-child(4) { margin-top: clamp(1rem, 4vw, 4rem); }
.album-edition:last-child { grid-column: 2 / span 7; }
.album-edition h2, .album-shelf-copy h2 { margin-top: .2rem; }
.album-game-head { padding: clamp(1.9rem, 3.6vw, 3.6rem) 0 clamp(3rem, 5.8vw, 6rem); }
.album-game-spread { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.12fr); align-items: center; gap: clamp(1.6rem, 4.4vw, 5rem); margin-top: clamp(1rem, 2.4vw, 2rem); }
.album-game-story h1 { margin: .55rem 0 1.25rem; font-size: clamp(3.35rem, 6.9vw, 7.25rem); }
.album-game-story .album-intro { max-width: 44ch; }
.album-jumps, .album-doc-links > div { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.album-jumps { margin-top: 1.15rem; }
.album-hero-study { text-align: center; }
.album-hero-study img { max-height: 32rem; object-fit: contain; }
.album-hero-study figcaption, .album-cover figcaption, .album-landscapes figcaption {
  color: var(--pigment); font: italic 440 clamp(1.02rem,1.35vw,1.25rem)/1.45 var(--serif); letter-spacing: -.02em;
}
.album-hero-study figcaption { margin-top: .45rem; }
.album-film { --film-paper: #edf2eb; position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 6.4vw, 6.6rem); background: var(--film-paper); }
.album-film::before { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: -25% 35% -10% -15%; opacity: .16; background: var(--pigment); mask: url("/obrazy/smuga-piora.webp") center/100% 100% no-repeat; transform: rotate(-24deg); }
.album-film-inner { display: grid; align-items: center; grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); gap: clamp(2rem, 6.5vw, 7rem); }
.album-film h2 { font-size: clamp(2.65rem, 4.8vw, 4.9rem); }
.album-film-note, .album-film .film-credits { margin-top: 1rem; }
.album-film .film-credits h3 { margin-bottom: .45rem; }
.album-film .film-credits a { text-decoration-thickness: 1px; }
.album-film .film-credits p, .album-film-note { max-width: 42ch; }
.album-film video { display: block; width: 100%; height: auto; max-height: min(73vh, 37rem); aspect-ratio: 16 / 9; background: #182b2e; object-fit: contain; box-shadow: 0 .45rem 1.5rem #24333314; }
.album-film.tall-film { --film-paper: #f0f0e2; }
.tall-film .album-film-inner { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); max-width: 62rem; }
.album-film.tall-film video { justify-self: center; aspect-ratio: 9/16; width: min(100%, 19rem, 41vh); max-height: none; }
.album-gallery .album-heading { margin-bottom: clamp(1.7rem, 3.5vw, 3.4rem); }
.album-gallery-pair, .album-portraits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.4rem, 4vw, 4.6rem); align-items: start; }
.album-gallery-pair .album-shot:nth-child(2) { margin-top: clamp(1.3rem, 5vw, 5rem); }
.album-portraits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.3rem, 4.4vw, 5rem); }
.album-shot { min-width: 0; }
.album-shot > a { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
.album-shot img { width: 100%; height: auto; }
.album-portraits img { max-height: 35rem; width: auto; object-fit: contain; }
.album-shot figcaption, .album-cover figcaption, .album-landscapes figcaption { margin-top: .75rem; }
.album-shot figcaption { color: var(--quiet); max-width: 52ch; }
.album-game-tail { padding-top: 0; }
.album-tail-inner { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); align-items: center; gap: clamp(1.6rem, 7vw, 8rem); border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 4rem); }
.album-cover { max-width: 32rem; }
.album-tail-inner h2 { margin-bottom: .85rem; font-size: clamp(2rem, 3.8vw, 3.65rem); }
.album-tail-inner .album-doc-links { margin-block: .2rem .55rem; }
.album-landscapes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(1.4rem, 4vw, 4.4rem); margin-top: clamp(2.5rem, 5vw, 5rem); }
.album-landscapes figure:first-child { grid-area: 1/1/3/2; }
.album-landscapes figure:nth-child(2) { grid-area: 2/2; }
.album-landscape-copy { grid-area: 1/2; }
.album-landscape-copy h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.album-landscape-copy p { margin: .9rem 0 .55rem; }
.album-landscapes img { width: 100%; height: auto; }
.album-cast { margin-top: clamp(4rem, 8vw, 8.5rem); }
.album-cast > div:last-child { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 3vw, 3.5rem); }
.album-cast-item { text-align: center; text-decoration: none; padding-top: 1rem; }
.album-cast-item span { display: block; font: 440 clamp(1.5rem, 2.4vw, 2.3rem)/1.1 var(--serif); letter-spacing: -.04em; }
.album-cast-item small { color: var(--quiet); font: 600 .96rem/1.5 var(--sans); }
.album-letter-main { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(1.8rem, 5vw, 6rem); }
.album-letter-main > div { min-width: 0; }
.album-letter-main .album-intro { color: var(--ink); }
.album-email { margin: .65rem 0 1.4rem; padding-bottom: .16em; font: 415 clamp(1.7rem, 3.6vw, 3.9rem)/1.25 var(--serif); letter-spacing: -.055em; overflow-wrap: anywhere; }
.album-email::after { height: .08em; }
.album-documents { background: #f0f2eb; }
.album-documents .wrap > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.6rem 4rem; margin-top: clamp(1.7rem, 3vw, 3rem); }
.album-doc-links h3 { margin-bottom: .65rem; }
.album-foot { background: #e6ece6; }
.album-foot::before { width: 105%; height: 200%; left: -38%; top: -30%; opacity: .15; }
.album-foot > .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem 2.1rem; padding-block: clamp(2.2rem, 4vw, 4rem); }
.album-foot-mark img { width: auto; height: 2.55rem; }
.album-foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.55rem; }
.album-foot nav a, .album-foot-mail { padding-block: .35rem; font: 600 1rem/1.4 var(--sans); text-decoration-thickness: 1px; }
.album-foot nav a { text-decoration: none; }
.album-foot nav a:hover { text-decoration: underline; }
@media (max-width: 65rem) and (min-width: 44.01rem) {
  .album-shelf-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .album-shelf-list .album-shelf-item { grid-column: auto; }
}
@media (max-width: 44rem) {
  .album-heading { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .album-archive .album-title h1 { font-size: clamp(2.55rem, 13.3vw, 3.55rem); }
  .album-spread, .album-spread + .album-spread, .album-pair, .album-film-inner, .tall-film .album-film-inner,
  .album-game-spread, .album-tail-inner, .album-landscapes, .album-letter-main { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  .album-spread, .album-spread + .album-spread { gap: .2rem; }
  .album-spread + .album-spread { margin-top: 2rem; }
  .album-spread + .album-spread .album-world, .album-spread + .album-spread .album-spread-copy { grid-column: auto; grid-row: auto; justify-self: stretch; }
  .album-spread-copy { padding: .1rem 0 .65rem; }
  .album-spread h3 { max-width: none; margin-block: .3rem .6rem; }
  .album-upcoming .album-pair { gap: 2rem; margin-top: 1.4rem; }
  .album-index { margin-top: 0; }
  .album-entry { grid-template-columns: 6rem 1fr; }
  .album-shelf-list, .album-editions { grid-template-columns: minmax(0,1fr); gap: 2.8rem; }
  .album-shelf-list .album-shelf-item, .album-editions .album-edition { grid-column: 1; margin: 0; }
  .album-figure-link img { max-height: 17rem; }
  .album-game-head { padding-bottom: 2.6rem; }
  .album-game-spread { margin-top: 1.55rem; }
  .album-game-story h1 { margin-block: .55rem .85rem; }
  .album-hero-study { max-width: 31rem; width: 100%; margin-inline: auto; }
  .album-film-copy h2 br { display: none; }
  .album-film.tall-film video { width: min(100%, 17.5rem, 40vh); }
  .album-gallery-pair, .album-portraits { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .album-gallery-pair .album-shot:nth-child(2) { margin-top: 0; }
  .album-portraits .album-shot { max-width: 27rem; margin-inline: auto; }
  .album-portraits .album-shot > a { margin-inline: auto; }
  .album-portraits img { max-height: 29rem; }
  .album-cover { max-width: 28rem; }
  .album-tail-inner { gap: 1.8rem; }
  .album-landscapes { gap: 1.7rem; }
  .album-landscapes figure:first-child, .album-landscapes figure:nth-child(2),
  .album-landscape-copy { grid-area: auto; }
  .album-landscape-copy { order: -1; }
  .album-cast > div:last-child { grid-template-columns: 1fr; gap: 1rem; }
  .album-cast-item img { max-height: 15rem; object-fit: contain; }
  .album-letter h1 { margin-bottom: 1.45rem; }
  .album-letter-main figure { max-width: 24rem; margin-inline: auto; }
  .album-documents .wrap > div { grid-template-columns: 1fr; }
  .album-foot > .wrap { align-items: flex-start; flex-direction: column; gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .album-link::after, .album-email::after { transition: none; } }
@media (forced-colors: active) { .album-link, .album-email { text-decoration: underline; } }

/* Original watercolor impressions on the open margins of the album. The white
   of the paintings still belongs to the paper, even on a coloured ground. */
.album-tests, .album-upcoming, .album-shelf, .folio-archive, .album-studio, .album-letter {
  position: relative; isolation: isolate; overflow: clip;
}
.album-tests::before, .album-tests::after, .album-upcoming::before, .album-upcoming::after,
.album-shelf::before, .album-shelf::after, .folio-opening::before, .folio-middle::before,
.folio-middle::after, .folio-close::before, .studio-opening::before, .studio-land::before,
.studio-players::before, .album-letter::before, .album-letter::after, .album-documents::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1;
  background: var(--wash) center / contain no-repeat; mix-blend-mode: multiply;
}
.album-tests::before {
  --wash: url("/obrazy/album/ochra.webp"); width: min(58vw,58rem); height: min(35vw,31rem);
  top: -6%; right: max(-17rem,-15%); opacity: .46; transform: rotate(164deg);
}
.album-tests::after {
  --wash: url("/obrazy/album/granat.webp"); width: min(69vw,63rem); height: min(42vw,31rem);
  bottom: -6%; left: -21%; opacity: .59; transform: rotate(-15deg);
}
.album-upcoming {
  background: linear-gradient(164deg, #f7f6ed, #faf9f2 60%, var(--paper));
}
.album-upcoming::before {
  --wash: url("/obrazy/album/szmaragd.webp"); mask: none; width: min(55vw,48rem); height: min(42vw,37rem);
  left: -17%; top: -8%; right: auto; opacity: .67; transform: rotate(44deg);
}
.album-upcoming::after {
  --wash: url("/obrazy/album/ochra.webp"); right: -17%; bottom: -12%; width: min(56vw,59rem); height: min(38vw,38rem);
  opacity: .30; transform: rotate(-18deg);
}
.album-shelf { padding-top: clamp(2.9rem, 5.2vw, 5.5rem); }
.album-shelf::before {
  --wash: url("/obrazy/album/granat.webp"); width: min(66vw,67rem); height: min(32vw,31rem); right: -5%; top: -2.7rem;
  transform: rotate(173deg); opacity: .78;
}
.album-shelf::after {
  --wash: url("/obrazy/album/szmaragd.webp"); width: min(42vw,44rem); height: min(46vw,51rem);
  left: -17%; top: 41%; opacity: .41; transform: rotate(22deg);
}
.album-shelf .album-title { margin-bottom: clamp(2.5rem,5vw,5.2rem); }
.album-shelf-list { grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(3.1rem, 6vw, 6rem) clamp(2rem,4vw,4.7rem); }
.album-shelf-list .album-shelf-item { margin-top: 0; grid-column: span 2; }
.album-shelf-list .album-shelf-item:nth-child(-n + 2),
.album-shelf-list .album-shelf-item:nth-last-child(-n + 2) { grid-column: span 3; }
.album-shelf-item .album-figure-link {
  margin: 0 0 .85rem; width: fit-content; max-width: 100%; display: flex; align-items: flex-end; justify-content: flex-start;
  height: clamp(11.5rem,20vw,19rem); aspect-ratio: auto;
}
.album-shelf-list .album-shelf-item:nth-child(-n + 2) .album-figure-link { height: clamp(14rem,24vw,22rem); }
.album-shelf-item .album-figure-link img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left bottom;
}
.album-shelf-copy .album-blurb { max-width: 44ch; }
.album-shelf-copy h2 { margin-top: .45rem; }
.folio-opening, .folio-middle, .folio-close, .studio-opening, .studio-land, .studio-players { position: relative; isolation: isolate; }
.folio-opening { padding-block: clamp(2.8rem,5.3vw,5.7rem) clamp(3.5rem,6vw,6.7rem); }
.folio-opening::before {
  --wash: url("/obrazy/album/ochra.webp"); width: min(74vw,72rem); height: min(47vw,43rem);
  right: max(-21%,-22rem); top: -2rem; opacity: .8; transform: rotate(151deg);
}
.folio-opening .album-title { margin-bottom: clamp(2rem,4vw,4.2rem); }
.folio-entry { min-width: 0; }
.folio-entry h2 { font-size: clamp(2.45rem,4.5vw,4.7rem); line-height: .99; margin: .55rem 0 .85rem; }
.folio-entry h2 a { color: inherit; text-decoration: none; }
.folio-entry h2 a:hover { color: var(--pigment); }
.folio-entry .album-print { width: 100%; }
.folio-entry .album-blurb { max-width: 38ch; margin-top: 0; color: var(--ink); }
.folio-opening .folio-entry {
  display: grid; align-items: center; grid-template-columns: minmax(0,1.66fr) minmax(0,.84fr); gap: clamp(2rem,5.8vw,7.2rem);
}
.folio-opening .folio-entry h2 { font-size: clamp(3rem,6.4vw,6.7rem); }
.folio-middle { background: linear-gradient(177deg,#f3f1e9,#f7f7f0 70%,var(--paper)); padding-block: clamp(3.6rem,6.4vw,7rem); }
.folio-middle::before {
  --wash: url("/obrazy/album/wrzos.webp"); width: 70%; height: 75%; top: -11%; right: -17%; opacity: .54;
  transform: rotate(19deg);
}
.folio-middle::after {
  --wash: url("/obrazy/album/szmaragd.webp"); width: 45%; height: 62%; bottom: -7%; left: -15%; opacity: .52;
  transform: rotate(142deg);
}
.folio-middle > .wrap { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(2.4rem,7.6vw,8.5rem); }
.folio-middle .folio-entry:nth-child(2) { display: flex; flex-direction: column-reverse; gap: 1.4rem; align-self: end; padding-top: clamp(2.8rem,6vw,6.7rem); }
.folio-middle .folio-entry:first-child .folio-caption { margin-top: 1.4rem; }
.folio-close { padding-block: clamp(3.7rem,7vw,7.6rem); }
.folio-close::before {
  --wash: url("/obrazy/album/granat.webp"); width: min(75vw,73rem); height: min(43vw,43rem);
  right: -18%; bottom: 1%; transform: rotate(-36deg); opacity: .47;
}
.folio-close .folio-entry { display: grid; align-items: center; grid-template-columns: minmax(0,.78fr) minmax(0,1.42fr); gap: clamp(2rem,6vw,7rem); }
.folio-close .folio-entry + .folio-entry { margin-top: clamp(3.4rem,6.4vw,7rem); grid-template-columns: minmax(0,1.19fr) minmax(0,1fr); }
.folio-close .folio-entry:first-child .album-print { grid-area: 1/2; }
.folio-close .folio-entry:first-child .folio-caption { grid-area: 1/1; }
.album-studio { padding: 0; }
.studio-opening { padding-block: clamp(2.7rem,5.3vw,5.6rem); }
.studio-opening::before {
  --wash: url("/obrazy/album/granat.webp"); right: -16%; top: -23%; width: min(70vw,71rem); height: 130%;
  opacity: .56; transform: rotate(165deg);
}
.studio-opening > .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(1.8rem, 5vw, 6rem); }
.studio-opening .album-title { margin: 0; }
.studio-opening > .wrap > img { width: 100%; height: auto; mix-blend-mode: multiply; }
.studio-opening .album-intro { max-width: 36ch; }
.studio-land { padding-block: clamp(3.5rem,6.5vw,7rem); background: linear-gradient(160deg,#f2f2e7,#faf9f3 60%,var(--paper)); }
.studio-land::before {
  --wash: url("/obrazy/album/szmaragd.webp"); left: -15%; bottom: 0; width: min(63vw,63rem); height: 100%;
  opacity: .72; transform: rotate(-17deg);
}
.studio-land .album-landscapes { grid-template-columns: minmax(0,.82fr) minmax(0,.91fr) minmax(0,.8fr); gap: clamp(1.3rem,3.8vw,4.5rem); margin-block: 0; align-items: center; }
.studio-land .album-landscape-copy { grid-area: 1/1; }
.studio-land .album-landscapes figure:first-child { grid-area: 1/2; align-self: start; transform: rotate(-2.2deg); }
.studio-land .album-landscapes figure:nth-child(2) { grid-area: 1/3; margin-top: clamp(2.9rem,6vw,6.4rem); transform: rotate(2.2deg); }
.studio-land figure img { box-shadow: .1rem .35rem .7rem #363b2720; }
.studio-players { padding: clamp(2.8rem,5.4vw,5.6rem) 0 clamp(4rem,7vw,7rem); }
.studio-players::before {
  --wash: url("/obrazy/album/wrzos.webp"); width: 60%; height: 100%; right: -17%; bottom: -20%; opacity: .45; transform: rotate(167deg);
}
.studio-players .album-cast { margin-top: 0; }
.studio-players .album-cast > div:last-child { align-items: end; gap: clamp(2rem,5vw,6rem); margin-top: clamp(1.5rem,3vw,3rem); }
.studio-players .album-cast-item img { height: clamp(11rem,17vw,17.5rem); width: 100%; object-fit: contain; margin-bottom: .95rem; }
.album-letter {
  padding-block: clamp(3.2rem,7vw,8rem); background: linear-gradient(116deg,var(--paper) 22%,#faf6ef 90%);
}
.album-letter::before {
  --wash: url("/obrazy/album/wrzos.webp"); width: min(72vw,74rem); height: 140%; right: -11%; top: -28%;
  opacity: .70; transform: rotate(14deg);
}
.album-letter::after {
  --wash: url("/obrazy/album/granat.webp"); width: min(51vw,49rem); height: 57%; left: -22%; bottom: -20%; opacity: .54;
  transform: rotate(-23deg);
}
.album-letter .album-letter-main { grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(2rem,4vw,4.5rem); }
.album-letter h1 { margin-bottom: clamp(1.3rem,2.4vw,2.7rem); }
.album-letter .letter-vignette { width: 100%; max-width: 38rem; justify-self: end; position: relative; padding: 0 0 6% 14%; }
.album-letter .letter-vignette img { width: 100%; }
.album-letter .letter-vignette img:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 25%; height: auto; }
.album-documents::before {
  mask: none; --wash: url("/obrazy/album/ochra.webp"); width: 51%; height: 152%; right: -17%; top: -23%;
  opacity: .61; transform: rotate(182deg);
}
/* One uninterrupted painted sheet per page. The scans overlap top-to-bottom at
   the original tide lines, so the ground follows content of any height. */
.painted-home, .painted-letter, .album-shelf, .folio-archive, .album-studio {
  --ground: url("/obrazy/album/podmalowka-ziemna.webp");
  --veil-left: rgb(252 251 247 / .49);
  --veil-right: rgb(252 251 247 / .37);
  --ground-width: max(100%, 59rem);
  --ground-start: 0%;
  background-color: #e7e4cc;
  background-image:
    linear-gradient(to bottom, var(--paper), transparent 3.8rem, transparent calc(100% - 6.5rem), var(--ink-join,#e6e6db)),
    linear-gradient(105deg, var(--veil-left), var(--veil-right)),
    var(--ground);
  background-size: 100% 100%, 100% 100%, var(--ground-width) auto;
  background-position: center, center, center var(--ground-start);
  background-repeat: no-repeat, no-repeat, repeat-y;
}
.painted-home { --ground-start: 12%; --veil-right: rgb(252 251 247 / .53); }
.album-shelf {
  --ground: url("/obrazy/album/podmalowka-barwna.webp"); --ground-width: max(130%,68rem);
  --veil-left: rgb(252 251 247 / .56); --veil-right: rgb(252 251 247 / .44);
}
.folio-archive {
  --ground: url("/obrazy/album/podmalowka-barwna.webp"); --ground-start: 73%; --ground-width: max(135%,67rem);
  --veil-left: rgb(249 241 226 / .48); --veil-right: rgb(252 251 247 / .57);
}
.album-studio { --ground-start: 63%; --veil-left: rgb(252 251 247 / .34); --veil-right: rgb(252 251 247 / .49); }
.painted-letter { --ground-start: 25%; --veil-left: rgb(252 251 247 / .52); --veil-right: rgb(252 251 247 / .32); }
.painted-home .album-upcoming, .folio-middle, .studio-land, .album-letter, .painted-letter .album-documents { background: transparent; }
.painted-home .album-spread-copy > p:not(.album-genre), .painted-home .album-blurb,
.album-shelf-copy .album-blurb, .album-landscape-copy p, .album-letter-main p { color: #23393b; }
.album-shelf-item .album-figure-link img, .studio-players .album-cast-item img,
.album-letter .letter-vignette img, .album-world img, .album-entry-thumb img { mix-blend-mode: normal; }
.album-world img { mask-image: none; }
.folio-opening::before { top: -6rem; right: -23%; opacity: .67; }
.folio-opening .folio-caption { position: relative; isolation: isolate; }
.folio-opening .folio-caption::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1; inset: -22% -15%;
  background: radial-gradient(ellipse closest-side at center,#fcf5e4d1 0%, #fbf3e7ad 44%, transparent 100%);
}
@media (min-width: 44.01rem) and (max-width: 62rem) {
  .album-shelf-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .album-shelf-list .album-shelf-item:nth-child(n) { grid-column: auto; }
  .studio-land .album-landscapes { grid-template-columns: 1fr 1fr; }
  .studio-land .album-landscape-copy { grid-area: 1/1/2/3; }
  .studio-land .album-landscapes figure:first-child { grid-area: 2/1; }
  .studio-land .album-landscapes figure:nth-child(2) { grid-area: 2/2; }
}
@media (max-width: 44rem) {
  .album-tests::before { width: 87vw; height: 55vw; top: -1.5%; right: -29%; opacity: .5; }
  .album-tests::after { width: 95vw; height: 65vw; bottom: -4%; left: -37%; }
  .album-upcoming::before { width: 85vw; height: 62vw; left: -32%; top: -4%; opacity: .61; }
  .album-upcoming::after { width: 82vw; height: 64vw; right: -32%; bottom: -6%; }
  .album-shelf::before { width: 83vw; height: 42vw; top: -1.25rem; right: -30%; opacity: .65; }
  .album-shelf::after { width: 70vw; height: 64vw; left: -38%; top: 43%; }
  .album-shelf .album-title { margin-bottom: 2.4rem; }
  .album-shelf-list { grid-template-columns: minmax(0,1fr); gap: 2.9rem; }
  .album-shelf-list .album-shelf-item:nth-child(n) { grid-column: auto; }
  .album-shelf-list .album-shelf-item:nth-child(n) .album-figure-link { height: clamp(11.2rem,52vw,15.2rem); margin-bottom: .65rem; }
  .folio-opening .album-title h1 { font-size: clamp(2.55rem,13.3vw,3.8rem); }
  .folio-opening::before { width: 100vw; height: 69vw; top: -1rem; right: -41%; opacity: .65; }
  .folio-opening .folio-entry, .folio-close .folio-entry, .folio-close .folio-entry + .folio-entry,
  .folio-middle > .wrap, .studio-opening > .wrap, .album-letter .album-letter-main {
    grid-template-columns: minmax(0,1fr); gap: 1.3rem;
  }
  .folio-entry h2 { margin: .45rem 0 .65rem; }
  .folio-close .folio-entry:first-child .album-print, .folio-close .folio-entry:first-child .folio-caption { grid-area: auto; }
  .folio-middle > .wrap { gap: 2.9rem; }
  .folio-middle .folio-entry:nth-child(2) { display: block; padding: 0; }
  .folio-middle .folio-entry .folio-caption { margin-top: 1.2rem; }
  .folio-middle::before { width: 77%; height: 52%; top: -8%; right: -28%; }
  .folio-middle::after { width: 66%; bottom: -7%; }
  .folio-close::before { width: 90%; height: 48%; right: -40%; }
  .studio-opening { padding-bottom: 2.6rem; }
  .studio-opening > .wrap > img { width: min(86%,24rem); justify-self: end; }
  .studio-opening::before { width: 86%; height: 64%; right: -30%; top: 25%; }
  .studio-land .album-landscapes { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.15rem; }
  .studio-land .album-landscape-copy { grid-area: 1/1/2/3; margin-bottom: .7rem; }
  .studio-land .album-landscapes figure:first-child { grid-area: 2/1; }
  .studio-land .album-landscapes figure:nth-child(2) { grid-area: 2/2; margin-top: 2.2rem; }
  .studio-land::before { width: 88%; height: 65%; bottom: -11%; left: -31%; }
  .studio-players .album-cast > div:last-child { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem .85rem; }
  .studio-players .album-cast-item:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .studio-players .album-cast-item img { height: clamp(7rem,27vw,12rem); margin-bottom: .65rem; }
  .studio-players .album-cast-item:nth-child(2) img { height: clamp(9rem,43vw,15rem); }
  .studio-players::before { width: 90%; height: 70%; right: -39%; bottom: -5%; }
  .album-letter .letter-vignette { width: min(90%,29rem); margin: 0; }
  .album-letter::before { width: 100%; height: 80%; right: -24%; top: 35%; opacity: .68; }
  .album-letter::after { width: 83vw; height: 43%; bottom: -13%; left: -48%; }
  .album-documents::before { width: 68%; height: 100%; top: 7%; right: -34%; }
}
